:root {
  color-scheme: dark;
  --studio-blue: #2d7eff;
  --studio-blue-light: #8bc7ff;
  --studio-ink: #07090d;
  --studio-panel: rgba(15, 18, 24, .94);
  --studio-line: rgba(150, 191, 235, .18);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.studio-body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
  background: #050608;
}

.studio-body .icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-dashboard-view {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

.studio-dashboard-view .dashboard-sidebar {
  height: 100vh;
  height: 100dvh;
}

.studio-dashboard-view .sidebar-nav {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.studio-dashboard-view .sidebar-nav::-webkit-scrollbar {
  display: none;
}

.studio-dashboard-view .sidebar-link,
.studio-dashboard-view .sidebar-auth-actions a,
.studio-dashboard-view .sidebar-credits,
.studio-topbar a,
.studio-result-actions a {
  text-decoration: none;
}

.studio-dashboard-view .sidebar-auth-actions a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #b9c0ca;
  border: 1px solid #30343c;
  border-radius: 7px;
  background: #111419;
  font-size: 12px;
  font-weight: 750;
}

.studio-dashboard-view .sidebar-auth-actions a .icon {
  width: 15px;
  height: 15px;
}

@media (min-width: 981px) {
  .studio-dashboard-view .dashboard-sidebar.collapsed .sidebar-auth-actions a span {
    display: none;
  }

  .studio-dashboard-view .dashboard-sidebar.collapsed .sidebar-auth-actions a:first-child {
    width: 40px;
    min-height: 40px;
    padding: 0;
  }

  .studio-dashboard-view .dashboard-sidebar.collapsed .sidebar-auth-actions a:last-child {
    display: none;
  }
}

.studio-dashboard-view .sidebar-credits {
  display: block;
}

.studio-dashboard-view .dashboard-plans-button,
.studio-dashboard-view .dashboard-login-button,
.studio-dashboard-view .dashboard-register-button,
.studio-dashboard-view .dashboard-credit-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.studio-dashboard-view .profile-menu a {
  min-height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c5c9d0;
  font-size: 11px;
  font-weight: 700;
}

.studio-dashboard-view .profile-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .055);
}

.studio-dashboard-view .profile-menu a .icon {
  width: 15px;
  height: 15px;
}

.studio-shell {
  height: 100vh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-color: rgba(72, 137, 212, .52) #080a0e;
  scrollbar-width: thin;
}

.studio-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
}

.studio-top-center {
  min-width: 0;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  justify-self: center;
}

.studio-top-center a,
.studio-top-center > span {
  min-height: 36px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8d949e;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 730;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.studio-top-center > span {
  color: #edf6ff;
  border-color: rgba(91, 167, 255, .28);
  background: rgba(26, 89, 171, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 0 20px rgba(22, 140, 255, .1);
}

.studio-top-center a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .045);
}

.studio-top-center .icon {
  width: 14px;
  height: 14px;
  color: var(--studio-blue-light);
  filter: drop-shadow(0 0 6px rgba(45, 126, 255, .62));
}

.studio-stage {
  position: relative;
  height: calc(100vh - 78px);
  height: calc(100dvh - 78px);
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: var(--studio-ink);
}

.studio-stage:not(.is-running):not(.has-result) {
  height: calc(100vh - 78px);
  height: calc(100dvh - 78px);
  min-height: 560px;
}

.studio-background,
.studio-background video,
.studio-background-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.studio-background {
  z-index: -3;
  overflow: hidden;
  background: #07090d;
}

.studio-background video {
  z-index: 0;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0;
  filter: saturate(.78) contrast(1.06) brightness(.72);
  transform: scale(1.015);
  will-change: opacity, filter;
  transition: opacity 520ms cubic-bezier(.32, .72, .28, 1), filter 420ms ease;
}

.studio-background video.is-active {
  z-index: 1;
  opacity: 1;
}

.studio-background video.is-leaving {
  z-index: 2;
  opacity: 0;
}

.studio-background-shade {
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .16) 30%, rgba(0, 0, 0, .62) 73%, #020202 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .45), transparent 35%, transparent 65%, rgba(0, 0, 0, .45)),
    radial-gradient(circle at 50% 45%, transparent 0 26%, rgba(0, 0, 0, .3) 76%);
}

.studio-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 36%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .7) 68%, #020202 100%);
  pointer-events: none;
}

.studio-hero {
  position: absolute;
  z-index: 2;
  top: clamp(54px, 10vh, 112px);
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  color: #fff;
  text-align: center;
  transform: translateX(-50%);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(.2, .72, .25, 1);
}

.studio-hero h1 {
  --desktop-neon-pointer-x: 50%;
  --desktop-neon-pointer-y: 50%;
  position: relative;
  max-width: 100%;
  margin: 0;
  display: inline-block;
  color: transparent;
  background: linear-gradient(104deg, #fffefa 0%, #fff8e8 35%, #f4ead7 68%, #d7cbb8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(34px, 4.1vw, 66px);
  font-weight: 620;
  letter-spacing: -.052em;
  padding-bottom: .14em;
  line-height: 1.08;
  white-space: nowrap;
  filter:
    drop-shadow(0 4px 25px rgba(0, 0, 0, .72))
    drop-shadow(0 0 12px rgba(255, 248, 224, .28))
    drop-shadow(0 0 28px rgba(237, 222, 192, .12));
}

.studio-hero-title::after {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  color: transparent;
  background: radial-gradient(
    ellipse 120px 78px at var(--desktop-neon-pointer-x) var(--desktop-neon-pointer-y),
    #fffefa 0%,
    #fff6df 30%,
    #eadfc9 54%,
    transparent 76%
  );
  background-clip: text;
  -webkit-background-clip: text;
  opacity: 0;
  filter:
    drop-shadow(0 0 4px rgba(255, 253, 246, .98))
    drop-shadow(0 0 12px rgba(255, 246, 222, .8))
    drop-shadow(0 0 28px rgba(229, 211, 178, .5));
  pointer-events: none;
  transition: opacity 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .studio-hero-title:hover::after {
    opacity: 1;
  }
}

.studio-hero > span {
  max-width: 620px;
  margin: 17px auto 0;
  display: block;
  color: rgba(255, 250, 238, .94);
  font-size: 14px;
  font-weight: 540;
  line-height: 1.55;
  text-shadow: 0 0 10px rgba(255, 244, 218, .28), 0 2px 15px #000;
}

.studio-prompt-presets {
  position: absolute;
  z-index: 4;
  top: calc(50% + 178px);
  left: 50%;
  width: min(880px, calc(100% - 56px));
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  transform: translateX(-50%);
  transition: opacity 260ms ease, transform 360ms ease;
}

.studio-prompt-presets button {
  min-height: 30px;
  padding: 0 12px;
  color: rgba(255, 249, 235, .9);
  border: 1px solid rgba(171, 203, 236, .15);
  border-radius: 999px;
  background: rgba(11, 14, 19, .56);
  backdrop-filter: blur(12px);
  font: inherit;
  font-size: 10px;
  font-weight: 680;
  text-shadow: 0 0 8px rgba(255, 244, 218, .24);
  cursor: pointer;
  transition: .16s ease;
}

.studio-prompt-presets button:hover {
  color: #fffdf7;
  border-color: rgba(112, 181, 255, .48);
  background: rgba(18, 50, 88, .66);
  box-shadow: 0 0 18px rgba(29, 128, 255, .18);
}

.studio-stage.uses-motion-control .studio-prompt-presets {
  opacity: 0;
  pointer-events: none;
}

.studio-composer {
  position: absolute;
  z-index: 12;
  top: 48%;
  left: 50%;
  width: min(1040px, calc(100% - 52px));
  display: flex;
  align-items: stretch;
  gap: 9px;
  border-top: 0;
  transform: translate(-50%, -4%);
  transition:
    top 620ms cubic-bezier(.2, .75, .2, 1),
    bottom 620ms cubic-bezier(.2, .75, .2, 1),
    transform 620ms cubic-bezier(.2, .75, .2, 1),
    width 420ms ease;
}

.studio-mode-rail {
  width: 88px;
  flex: 0 0 88px;
  padding: 5px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  border: 1px solid rgba(154, 188, 224, .14);
  border-radius: 18px;
  background: rgba(12, 15, 20, .9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .045);
  backdrop-filter: blur(20px) saturate(.9);
}

.studio-mode-rail button {
  min-height: 58px;
  padding: 7px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  color: #747c87;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  font: inherit;
  font-size: 10px;
  font-weight: 790;
  cursor: pointer;
  transition: .17s ease;
}

.studio-mode-rail button .icon {
  width: 17px;
  height: 17px;
}

.studio-mode-rail button:hover {
  color: #dce9f7;
  background: rgba(255, 255, 255, .035);
}

.studio-mode-rail button.active {
  color: #fff;
  border-color: rgba(91, 165, 248, .24);
  background: linear-gradient(150deg, rgba(49, 119, 202, .24), rgba(22, 31, 43, .62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 18px rgba(22, 140, 255, .1);
}

.studio-mode-rail button.active .icon {
  color: var(--studio-blue-light);
  filter: drop-shadow(0 0 7px rgba(45, 126, 255, .62));
}

.studio-composer-surface {
  min-width: 0;
  flex: 1;
  padding: 12px 13px 12px 16px;
  overflow: visible;
  border: 1px solid rgba(157, 190, 226, .17);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(30, 35, 43, .95), rgba(12, 15, 20, .96) 72%);
  box-shadow: 0 24px 65px rgba(0, 0, 0, .54), inset 0 1px 0 rgba(255, 255, 255, .055);
  backdrop-filter: blur(26px) saturate(.82);
}

.studio-reference-list {
  min-height: 56px;
  margin: 0 0 7px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.studio-reference-item {
  position: relative;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(138, 192, 255, .28);
  border-radius: 9px;
  background: #090c11;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .28);
}

.studio-reference-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.studio-reference-item button {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  background: rgba(4, 7, 11, .82);
  cursor: pointer;
}

.studio-reference-item button .icon {
  width: 10px;
  height: 10px;
}

.studio-reference-backdrop { position:fixed; inset:0; z-index:119; background:rgba(2,5,9,.78); backdrop-filter:blur(12px); }
.studio-reference-modal { position:fixed; left:50%; top:50%; z-index:120; width:min(920px,calc(100vw - 32px)); height:min(680px,calc(100dvh - 32px)); display:grid; grid-template-rows:auto auto minmax(0,1fr) auto; color:#eef4fb; border:1px solid rgba(144,181,222,.2); border-radius:18px; background:#11161d; box-shadow:0 35px 100px rgba(0,0,0,.7); overflow:hidden; transform:translate(-50%,-50%); }
.studio-reference-modal[hidden],.studio-reference-backdrop[hidden]{display:none!important}
.studio-reference-modal>header { min-height:72px; padding:14px 18px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid rgba(255,255,255,.08); }
.studio-reference-modal>header span { color:#718095; font-size:9px; font-weight:850; letter-spacing:.14em; }
.studio-reference-modal>header h2 { margin:4px 0 0; font-size:18px; }
.studio-reference-modal>header button { width:36px; height:36px; display:grid; place-items:center; color:#9ca7b4; border:1px solid rgba(255,255,255,.09); border-radius:50%; background:#1a2028; cursor:pointer; }
.studio-reference-tabs { padding:10px 16px; display:flex; gap:6px; border-bottom:1px solid rgba(255,255,255,.07); background:#151b22; }
.studio-reference-tabs button { min-height:34px; padding:0 17px; color:#9ba6b3; border:1px solid transparent; border-radius:18px; background:transparent; font-weight:750; cursor:pointer; }
.studio-reference-tabs button.active { color:#101318; background:#f4f6f8; }
.studio-reference-library { min-height:0; padding:14px 16px; overflow:auto; }
.studio-reference-library:has(.studio-reference-upload-card:not([hidden])) { display:flex; padding:14px; overflow:hidden; }
.studio-reference-upload-card { width:100%; height:100%; min-height:340px; flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:11px; color:#e9eef5; border:1px dashed rgba(136,178,226,.4); border-radius:14px; background:radial-gradient(circle at 50% 42%,rgba(48,99,158,.16),transparent 38%),#1b2129; cursor:pointer; transition:border-color .18s ease,background .18s ease,box-shadow .18s ease; }
.studio-reference-upload-card:hover { border-color:rgba(104,177,255,.72); background:radial-gradient(circle at 50% 42%,rgba(48,116,199,.25),transparent 42%),#1d252f; box-shadow:inset 0 0 55px rgba(43,116,202,.08); }
.studio-reference-upload-card .icon { width:36px; height:36px; }
.studio-reference-upload-card strong { font-size:14px; }
.studio-reference-upload-card small { color:#7e8996; font-size:9px; }
.studio-reference-search { height:42px; display:grid; grid-template-columns:22px minmax(0,1fr) auto; align-items:center; gap:7px; padding:0 5px 0 12px; border:1px solid rgba(255,255,255,.1); border-radius:9px; background:#0d1116; }
.studio-reference-search input { min-width:0; color:#fff; border:0; outline:0; background:transparent; }
.studio-reference-search button { height:32px; padding:0 16px; color:#fff; border:0; border-radius:7px; background:#2679d8; cursor:pointer; }
.studio-reference-library-status { min-height:18px; margin:10px 2px; color:#8290a0; font-size:10px; }
.studio-reference-library-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.studio-reference-library-grid button { position:relative; min-width:0; aspect-ratio:1; padding:0; overflow:hidden; border:1px solid rgba(255,255,255,.08); border-radius:11px; background:#0b0f14; cursor:pointer; }
.studio-reference-library-grid img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .2s ease,filter .2s ease; }
.studio-reference-library-grid button:hover img { transform:scale(1.04); filter:brightness(1.08); }
.studio-reference-library-grid button span { position:absolute; right:7px; bottom:7px; width:25px; height:25px; display:grid; place-items:center; color:#fff; border-radius:50%; background:#277bdc; font-size:18px; }
.studio-reference-modal>footer { min-height:58px; padding:9px 16px; display:flex; align-items:center; justify-content:space-between; border-top:1px solid rgba(255,255,255,.08); }
.studio-reference-modal>footer span { color:#8995a3; font-size:10px; }
.studio-reference-modal>footer button { min-height:36px; padding:0 22px; color:#fff; border:1px solid #3989e6; border-radius:8px; background:#2577d2; font-weight:760; cursor:pointer; }

@media (max-width:700px){.studio-reference-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-reference-modal{height:calc(100dvh - 16px);width:calc(100vw - 16px)}}

@media (max-width:1279px) and (min-width:981px){
  .studio-camera-grid[data-section="camera"]{grid-template-columns:repeat(2,minmax(0,1fr))}
  .studio-camera-grid[data-section="genre"] .studio-genre-grid{grid-template-columns:minmax(300px,1.15fr) minmax(250px,.85fr)}
}
@media (max-width:980px){
  .studio-camera-grid[data-section="genre"] .studio-genre-grid{grid-template-columns:1fr}
  .studio-camera-grid[data-section="genre"] .studio-genre-option{min-height:58px;grid-template-columns:54px minmax(0,1fr) 17px}
}

/* Ajustes finales de responsive para los selectores editoriales actuales. */
@media (max-width:1279px) {
  .studio-camera-grid[data-section="camera"] { grid-template-columns:minmax(0,1fr); }
}

@media (max-width:700px) {
  .studio-camera-backdrop { position:fixed; }
  .studio-camera-modal {
    position:fixed;
    inset:0;
    width:100%;
    height:100dvh;
    max-height:none;
    border:0;
    border-radius:0;
    transform:none;
  }
  .studio-camera-modal:not([hidden]) { animation:none; }
  .studio-camera-header { min-height:54px; padding:8px 10px 8px 13px; }
  .studio-camera-header span { font-size:8px; }
  .studio-camera-header h2 { font-size:17px; }
  .studio-camera-header button { width:40px; height:40px; }
  .studio-visual-workspace { grid-template-rows:auto minmax(0,1fr); }
  .studio-visual-nav { position:relative; z-index:3; padding:5px; gap:4px; }
  .studio-visual-nav button {
    min-height:52px;
    padding:6px 4px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:3px;
    text-align:center;
  }
  .studio-visual-nav button > img { width:18px; height:18px; margin:0; }
  .studio-visual-nav button strong { font-size:11px; }
  .studio-visual-nav button small { display:none; }
  .studio-visual-section-header { min-height:54px; padding:8px 11px; }
  .studio-visual-section-header span { font-size:8px; }
  .studio-visual-section-header h3 { font-size:16px; }
  .studio-visual-section-header p { display:none; }
  .studio-camera-grid { overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
  .studio-camera-grid[data-section="camera"] .studio-style-wheel {
    min-height:138px;
    grid-template-columns:40px minmax(0,1fr) 40px;
    gap:5px;
  }
  .studio-camera-grid[data-section="camera"] .studio-style-wheel .studio-camera-option {
    min-height:98px;
    flex-basis:min(84%,340px);
    grid-template-columns:88px minmax(0,1fr) 15px;
    gap:8px;
  }
  .studio-camera-grid[data-section="camera"] .studio-style-wheel .studio-camera-option-visual { width:88px; height:78px; }
  .studio-camera-grid[data-section="camera"] .studio-style-wheel:has([data-visual-group="focalLength"]) .studio-camera-option { flex-basis:min(88%,360px); }
  .studio-style-wheel { min-height:280px; }
  .studio-style-wheel .studio-camera-options { height:220px; }
  .studio-wheel-arrow { width:44px; min-width:44px; height:38px; border-radius:19px; }
  .studio-camera-grid[data-section="genre"] { padding:8px; }
  .studio-genre-grid { min-height:510px; display:flex; flex-direction:column; gap:14px; }
  .studio-genre-hero { width:min(170px,52vw); flex:0 0 auto; }
  .studio-genre-hero strong { font-size:18px; }
  .studio-genre-wheel { width:100%; min-height:280px; grid-template-rows:38px 188px 38px; gap:8px; }
  .studio-genre-wheel .studio-genre-option { min-height:58px; grid-template-columns:50px minmax(0,1fr) 17px; }
  .studio-camera-footer { flex:0 0 auto; padding:8px; gap:7px; background:#0d1219; }
  .studio-camera-footer > p { display:none; }
  .studio-camera-footer > div { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:7px; }
  .studio-camera-footer button { min-height:46px; }
  .studio-reference-modal {
    inset:0;
    width:100%;
    height:100dvh;
    border:0;
    border-radius:0;
    transform:none;
  }
  .studio-reference-modal > header { min-height:60px; padding:10px 12px; }
  .studio-reference-modal > header h2 { font-size:16px; }
  .studio-reference-modal > header button { width:40px; height:40px; }
  .studio-reference-tabs { padding:8px; overflow-x:auto; }
  .studio-reference-tabs button { min-height:40px; flex:1 0 auto; }
  .studio-reference-library { padding:10px; }
  .studio-reference-library-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .studio-reference-search { height:auto; min-height:46px; grid-template-columns:20px minmax(0,1fr); padding:5px 8px; }
  .studio-reference-search button { grid-column:1 / -1; width:100%; min-height:40px; }
  .studio-reference-upload-card { min-height:0; }
  .studio-reference-modal > footer { min-height:56px; padding:8px 10px; }
  .studio-reference-modal > footer button { min-height:40px; }
}

.studio-motion-reference {
  margin: 0 0 8px;
}

.studio-motion-reference[hidden],
.studio-motion-upload[hidden],
.studio-motion-selected[hidden] {
  display: none !important;
}

.studio-motion-upload,
.studio-motion-selected {
  min-height: 54px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eef4fb;
  border: 1px dashed rgba(96, 168, 255, .38);
  border-radius: 12px;
  background: linear-gradient(110deg, rgba(24, 72, 126, .2), rgba(11, 17, 25, .54));
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.studio-motion-upload {
  cursor: pointer;
}

.studio-motion-upload:hover,
.studio-motion-upload:focus-within {
  border-color: rgba(112, 185, 255, .72);
  background: linear-gradient(110deg, rgba(30, 92, 162, .29), rgba(12, 20, 30, .62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 0 22px rgba(38, 128, 233, .13);
}

.studio-motion-upload-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  color: #a8d3ff;
  border: 1px solid rgba(118, 184, 255, .3);
  border-radius: 10px;
  background: rgba(31, 103, 181, .2);
}

.studio-motion-upload-icon .icon {
  width: 17px;
  height: 17px;
}

.studio-motion-upload > span:nth-child(2),
.studio-motion-selected > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.studio-motion-upload strong,
.studio-motion-selected strong {
  overflow: hidden;
  font-size: 11px;
  font-weight: 780;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-motion-upload small,
.studio-motion-selected small {
  overflow: hidden;
  color: #8997a8;
  font-size: 9px;
  font-weight: 620;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-motion-upload-plus {
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: #8bc6ff;
}

.studio-motion-selected {
  border-style: solid;
}

.studio-motion-selected video {
  width: 64px;
  height: 38px;
  flex: 0 0 64px;
  object-fit: cover;
  border: 1px solid rgba(144, 194, 255, .23);
  border-radius: 8px;
  background: #05080c;
}

.studio-motion-selected > span {
  flex: 1;
}

.studio-motion-selected button {
  width: 28px;
  height: 28px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #dce7f3;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.studio-motion-selected button:hover,
.studio-motion-selected button:focus-visible {
  color: #fff;
  border-color: rgba(112, 181, 255, .45);
  background: rgba(38, 100, 170, .22);
  outline: 0;
}

.studio-motion-selected button .icon {
  width: 13px;
  height: 13px;
}

.studio-prompt-field {
  display: block;
}

.studio-prompt-field > span {
  display: block;
  color: #747d89;
  font-size: 9px;
  font-weight: 780;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.studio-prompt-field textarea {
  width: 100%;
  min-height: 58px;
  max-height: 118px;
  margin: 3px 0 0;
  padding: 4px 2px;
  resize: none;
  color: #f2f5f9;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
}

.studio-prompt-field textarea::placeholder {
  color: #737b86;
}

.studio-body label.studio-prompt-field:has(textarea:focus-visible),
.studio-body label.studio-picker-search:has(input:focus-visible),
.studio-body .studio-picker-search input:focus-visible,
.studio-body .studio-prompt-field textarea:focus,
.studio-body .studio-prompt-field textarea:focus-visible {
  border-color: transparent;
  outline: 0;
  outline-offset: 0;
  box-shadow: none;
}

.studio-composer-footer {
  min-width: 0;
  padding-top: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 0;
}

.studio-control-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: visible;
}

.studio-upload-button,
.studio-control-pill {
  height: 34px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c4cad2;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.studio-upload-button {
  min-width: 49px;
  padding: 0 9px;
  justify-content: center;
  font-size: 9px;
  font-weight: 760;
  cursor: pointer;
}

.studio-video-edit-upload {
  min-width: 112px;
  color: #d7eaff;
  border-color: rgba(75, 157, 250, .28);
  background: rgba(36, 105, 185, .15);
}

.studio-video-edit-upload[hidden] { display: none !important; }

.studio-upload-button:hover,
.studio-control-pill:hover,
.studio-control-pill:focus-within,
.studio-picker.is-open .studio-picker-trigger {
  color: #fff;
  border-color: rgba(106, 174, 255, .35);
  background: rgba(44, 103, 169, .14);
}

.studio-picker-trigger:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(44, 132, 236, .15);
}

.studio-picker-trigger:disabled {
  opacity: .5;
  cursor: wait;
}

.studio-upload-button .icon,
.studio-control-pill .icon {
  width: 14px;
  height: 14px;
  color: #96c9ff;
}

.studio-control-pill {
  position: relative;
  min-width: 62px;
  padding: 0 8px 0 9px;
  font: inherit;
  cursor: pointer;
}

.studio-picker {
  position: relative;
  flex: 0 0 auto;
}

.studio-picker.is-open {
  z-index: 90;
}

.studio-picker-trigger {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.studio-picker-trigger strong {
  max-width: 152px;
  overflow: hidden;
  color: inherit;
  font-size: 10px;
  font-weight: 750;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-model-trigger {
  min-width: 154px;
}

.studio-model-picker.is-motion-control .studio-model-trigger {
  min-width: 208px;
}

.studio-picker-logo {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 7px;
  background: rgba(246, 248, 251, .96);
  box-shadow: inset 0 1px 0 #fff, 0 4px 10px rgba(0, 0, 0, .22);
}

.studio-picker-logo img {
  width: 15px;
  height: 15px;
  display: block;
  object-fit: contain;
}

.studio-picker-trigger .studio-picker-leading-icon {
  flex: 0 0 auto;
}

.studio-format-symbol-wrap {
  width: 22px;
  height: 18px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  color: #aab5c1;
}

.studio-picker-trigger .studio-format-symbol-wrap {
  color: #96c9ff;
}

.studio-aspect-symbol {
  display: block;
  box-sizing: border-box;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.studio-aspect-symbol[data-aspect-symbol="1:1"] {
  width: 11px;
  height: 11px;
}

.studio-aspect-symbol[data-aspect-symbol="4:5"] {
  width: 10px;
  height: 13px;
}

.studio-aspect-symbol[data-aspect-symbol="9:16"] {
  width: 8px;
  height: 14px;
}

.studio-aspect-symbol[data-aspect-symbol="16:9"] {
  width: 17px;
  height: 10px;
}

.studio-picker-trigger .studio-picker-chevron {
  width: 10px;
  height: 10px;
  margin-left: auto;
  color: #727c88;
  transform: rotate(90deg);
  transition: color 160ms ease, transform 180ms ease;
}

.studio-picker.is-open .studio-picker-chevron {
  color: #b9d9ff;
  transform: rotate(-90deg);
}

.studio-picker-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  width: 360px;
  padding: 10px;
  color: #e9edf3;
  border: 1px solid rgba(152, 188, 228, .16);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(23, 29, 38, .985), rgba(10, 13, 18, .995) 74%);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .64), inset 0 1px 0 rgba(255, 255, 255, .055), 0 0 0 1px rgba(0, 0, 0, .35);
  backdrop-filter: blur(24px) saturate(.9);
  transform-origin: left bottom;
}

.studio-picker-menu:not([hidden]) {
  animation: studio-picker-in 170ms cubic-bezier(.2, .75, .2, 1) both;
}

@keyframes studio-picker-in {
  from { opacity: 0; transform: translateY(7px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.studio-picker-menu-compact {
  width: 168px;
  padding: 8px;
}

.studio-duration-control .studio-picker-menu {
  right: 0;
  left: auto;
  transform-origin: right bottom;
}

.studio-picker-search {
  height: 38px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 9px;
  background: rgba(0, 0, 0, .24);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.studio-picker-search:focus-within {
  border-color: rgba(86, 159, 247, .42);
  box-shadow: 0 0 0 3px rgba(41, 125, 224, .1);
}

.studio-picker-search .icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: #717b88;
}

.studio-picker-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: #eef3f8;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 11px;
}

.studio-picker-search input::placeholder {
  color: #69727e;
}

.studio-picker-section-title {
  margin: 13px 5px 6px;
  color: #707a87;
  font-size: 8px;
  font-weight: 820;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.studio-picker-menu-compact .studio-picker-section-title {
  margin-top: 4px;
}

.studio-picker-options {
  display: grid;
  gap: 3px;
}

.studio-picker-option {
  width: 100%;
  min-height: 40px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c6cdd6;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.studio-picker-option:hover,
.studio-picker-option:focus-visible {
  color: #fff;
  border-color: rgba(109, 168, 235, .13);
  outline: 0;
  background: rgba(58, 111, 172, .13);
}

.studio-picker-option:active {
  transform: scale(.99);
}

.studio-picker-option[aria-selected="true"] {
  color: #fff;
  border-color: rgba(69, 145, 235, .2);
  background: linear-gradient(105deg, rgba(38, 105, 185, .2), rgba(36, 57, 81, .16));
}

.studio-picker-option-format[aria-selected="true"] .studio-format-symbol-wrap {
  color: #8ec5ff;
}

.studio-picker-option-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 10px;
  background: #f4f6f8;
  box-shadow: inset 0 1px 0 #fff, 0 7px 17px rgba(0, 0, 0, .24);
}

.studio-picker-option-logo img {
  width: 27px;
  height: 27px;
  display: block;
  object-fit: contain;
}

.studio-picker-option-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 5px;
}

.studio-picker-option-copy strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-picker-option-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.studio-picker-option-title strong {
  min-width: 0;
}

.studio-picker-option-badge {
  padding: 2px 5px;
  flex: 0 0 auto;
  color: #071109;
  border-radius: 4px;
  background: #baff22;
  box-shadow: 0 0 12px rgba(173, 255, 30, .28);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .035em;
  line-height: 1.1;
}

.studio-picker-option-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.studio-picker-option-meta span {
  padding: 2px 5px;
  color: #8993a0;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 4px;
  background: rgba(255, 255, 255, .025);
  font-size: 7px;
  font-weight: 780;
  letter-spacing: .035em;
  line-height: 1.1;
  text-transform: uppercase;
}

.studio-picker-option-check {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: grid;
  place-items: center;
  color: transparent;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  background: rgba(0, 0, 0, .18);
}

.studio-picker-option-check .icon {
  width: 10px;
  height: 10px;
}

.studio-picker-option[aria-selected="true"] .studio-picker-option-check {
  color: #f7fbff;
  border-color: #438fe7;
  background: #2876cb;
  box-shadow: 0 0 14px rgba(38, 130, 235, .38);
}

.studio-picker-menu-compact .studio-picker-option {
  min-height: 36px;
  padding: 6px 7px 6px 9px;
}

.studio-picker-menu-compact .studio-picker-option-copy {
  display: block;
}

.studio-picker-menu-compact .studio-picker-option-copy strong {
  display: block;
  font-size: 10px;
}

.studio-picker-empty {
  margin: 8px 4px 5px;
  padding: 13px 8px;
  color: #7c8693;
  border: 1px dashed rgba(255, 255, 255, .08);
  border-radius: 8px;
  font-size: 10px;
  text-align: center;
}

.studio-camera-trigger {
  min-width: 108px;
  justify-content: flex-start;
}

.studio-camera-trigger > img {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  filter: invert(82%) sepia(20%) saturate(1064%) hue-rotate(179deg) brightness(102%);
}

.studio-camera-trigger > strong {
  font-size: 10px;
  font-weight: 750;
  line-height: 1;
}

.studio-camera-trigger .studio-picker-chevron {
  width: 10px;
  height: 10px;
  margin-left: auto;
  color: #727c88;
  transform: rotate(90deg);
  transition: color 160ms ease, transform 180ms ease;
}

.studio-camera-trigger[aria-expanded="true"] {
  color: #fff;
  border-color: rgba(106, 174, 255, .4);
  background: rgba(44, 103, 169, .17);
}

.studio-camera-trigger[aria-expanded="true"] .studio-picker-chevron {
  color: #b9d9ff;
  transform: rotate(-90deg);
}

.studio-camera-backdrop {
  position: absolute;
  z-index: 100;
  inset: 0;
  background: rgba(3, 6, 10, .74);
  backdrop-filter: blur(9px) saturate(.72);
}

.studio-camera-backdrop:not([hidden]) {
  display: block;
  animation: studio-camera-backdrop-in 180ms ease both;
}

.studio-camera-modal {
  position: absolute;
  z-index: 110;
  top: 50%;
  left: 50%;
  width: min(1160px, calc(100% - 40px));
  max-height: calc(100% - 36px);
  overflow: hidden;
  color: #edf3f9;
  border: 1px solid rgba(154, 189, 226, .18);
  border-radius: 18px;
  background: rgba(13, 17, 23, .97);
  box-shadow: 0 32px 90px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .055);
  transform: translate(-50%, -50%);
}

.studio-camera-modal:not([hidden]) {
  display: flex;
  flex-direction: column;
  animation: studio-camera-modal-in 220ms cubic-bezier(.2, .75, .2, 1) both;
}

.studio-camera-header {
  min-height: 70px;
  padding: 14px 16px 13px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.studio-camera-header > div {
  display: grid;
  gap: 3px;
}

.studio-camera-header span {
  color: #6f7a87;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .14em;
}

.studio-camera-header h2 {
  margin: 0;
  color: #f8fbff;
  font-size: 21px;
  font-weight: 790;
  letter-spacing: -.025em;
}

.studio-camera-header button {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #9aa4af;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  background: rgba(255, 255, 255, .045);
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.studio-camera-header button:hover {
  color: #fff;
  border-color: rgba(108, 174, 249, .34);
  background: rgba(42, 104, 174, .16);
}

.studio-camera-header button .icon {
  width: 15px;
  height: 15px;
}

.studio-visual-workspace {
  min-height: 0;
  display: grid;
  grid-template-columns: 204px minmax(0, 1fr);
  flex: 1;
  overflow: hidden;
}

.studio-visual-nav {
  min-width: 0;
  padding: 14px 11px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-right: 1px solid rgba(255, 255, 255, .07);
  background: #0a0e14;
}

.studio-visual-nav button {
  width: 100%;
  min-height: 66px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #838e9b;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.studio-visual-nav button:hover,
.studio-visual-nav button:focus-visible {
  color: #dcecff;
  border-color: rgba(99, 155, 218, .17);
  outline: 0;
  background: #0e1620;
}

.studio-visual-nav button.active {
  color: #f4f9ff;
  border-color: rgba(74, 151, 239, .3);
  background: #111d2a;
  box-shadow: inset 3px 0 0 #3388e8, 0 8px 24px rgba(0, 0, 0, .16);
}

.studio-visual-nav button > img {
  width: 20px;
  height: 20px;
  margin: auto;
  opacity: .56;
  filter: invert(1);
}

.studio-visual-nav button.active > img {
  opacity: 1;
  filter: invert(73%) sepia(40%) saturate(1770%) hue-rotate(181deg) brightness(105%);
}

.studio-visual-nav button > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.studio-visual-nav button strong {
  font-size: 13px;
  font-weight: 780;
}

.studio-visual-nav button small {
  overflow: hidden;
  color: #65707d;
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-visual-nav button.active small {
  color: #91a7bf;
}

.studio-visual-panel {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0c1118;
}

.studio-visual-section-header {
  min-height: 70px;
  padding: 13px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  background: #0e141c;
}

.studio-visual-section-header > div {
  display: grid;
  gap: 3px;
}

.studio-visual-section-header span {
  color: #4d94e4;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .13em;
}

.studio-visual-section-header h3 {
  margin: 0;
  color: #edf5ff;
  font-size: 18px;
  font-weight: 770;
  letter-spacing: -.02em;
}

.studio-visual-section-header p {
  max-width: 400px;
  margin: 0;
  color: #768391;
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

.studio-camera-grid {
  min-height: 0;
  padding: 14px;
  display: grid;
  flex: 1;
  gap: 10px;
  overflow: auto;
  align-content: start;
  background: #0b1016;
  scrollbar-width: thin;
  scrollbar-color: rgba(95, 150, 211, .35) transparent;
}

.studio-camera-grid[data-section="camera"] {
  grid-template-columns: minmax(0, 1fr);
}

.studio-camera-grid[data-section="style"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.studio-camera-grid[data-section="genre"] {
  display: block;
}

.studio-camera-group {
  position: relative;
  min-width: 0;
  padding: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 12px;
  background: #0f151d;
}
.studio-carousel-ghost {
  position:absolute!important;
  z-index:20;
  margin:0!important;
  pointer-events:none!important;
  will-change:transform;
}

.studio-camera-group:first-child {
  border-radius: 12px;
}

.studio-camera-group:last-child {
  border-radius: 12px;
}

.studio-camera-group > h3 {
  margin: 0 0 10px;
  color: #7a8490;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
}

.studio-camera-options {
  display: grid;
  gap: 7px;
}

.studio-camera-grid[data-section="camera"] .studio-camera-options {
  grid-template-columns: none;
}

.studio-camera-option {
  width: 100%;
  min-height: 72px;
  padding: 8px 9px;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) 17px;
  align-items: center;
  gap: 9px;
  color: #aeb7c2;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 15px;
  background: rgba(255, 255, 255, .035);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.studio-camera-option:hover,
.studio-camera-option:focus-visible {
  color: #fff;
  border-color: rgba(91, 159, 238, .28);
  outline: 0;
  background: rgba(42, 89, 143, .12);
}

.studio-camera-option:active {
  transform: scale(.99);
}

.studio-camera-option[aria-checked="true"] {
  color: #fff;
  border-color: rgba(73, 155, 248, .5);
  background: rgba(29, 91, 160, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 0 20px rgba(28, 121, 229, .12);
}

.studio-camera-option-visual {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  background: rgba(0, 0, 0, .26);
  overflow: hidden;
}

.studio-camera-grid:is([data-section="style"],[data-section="camera"]) .studio-camera-option {
  min-height: 94px;
  padding: 7px;
  grid-template-columns: 92px minmax(0, 1fr) 17px;
}

.studio-camera-grid:is([data-section="style"],[data-section="camera"]) .studio-camera-option-visual {
  width: 92px;
  height: 76px;
}

.studio-camera-option-visual img {
  width: 25px;
  height: 25px;
  display: block;
  opacity: .66;
  filter: invert(1);
}

.studio-camera-grid[data-section="camera"] .studio-camera-option[data-visual-value="auto"] .studio-camera-option-visual {
  background:radial-gradient(circle at 50% 42%,rgba(54,126,211,.24),rgba(8,14,21,.96) 68%);
}
.studio-camera-grid[data-section="camera"] .studio-camera-option[data-visual-value="auto"] .studio-camera-option-visual img {
  width:31px;
  height:31px;
  opacity:.88;
  filter:invert(86%) sepia(18%) saturate(703%) hue-rotate(178deg) brightness(105%);
}

.studio-camera-option-visual.is-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  filter: saturate(.86) contrast(1.05) brightness(.82);
  transition: filter 160ms ease, opacity 160ms ease, transform 220ms ease;
}

.studio-camera-option[data-visual-value="fine-film"] .studio-camera-option-visual img,
.studio-camera-option[data-visual-value="digital-cinema"] .studio-camera-option-visual img {
  object-position:center 42%;
  transform:translateY(-5%);
}
.studio-camera-option[data-visual-value="fine-film"]:hover .studio-camera-option-visual img,
.studio-camera-option[data-visual-value="digital-cinema"]:hover .studio-camera-option-visual img {
  transform:translateY(-5%) scale(1.035);
}

.studio-camera-option:hover .studio-camera-option-visual.is-photo img { opacity: 1; filter: saturate(1) contrast(1.04); transform: scale(1.035); }

.studio-camera-option[aria-checked="true"] .studio-camera-option-visual img {
  opacity: .94;
  filter: invert(82%) sepia(25%) saturate(1637%) hue-rotate(178deg) brightness(103%);
}

.studio-camera-option[aria-checked="true"] .studio-camera-option-visual.is-photo img { opacity: 1; filter: saturate(1.08) contrast(1.04); }

.studio-camera-option-number {
  color: #dce6f2;
  font-size: 23px;
  font-weight: 730;
  letter-spacing: -.04em;
  line-height: 1;
}

.studio-camera-option[data-visual-group="focalLength"] { grid-template-columns:minmax(0,1fr) 17px!important; grid-template-rows:54px auto; text-align:center; }
.studio-camera-option[data-visual-group="focalLength"] .studio-camera-option-visual { width:100%!important; height:54px!important; grid-column:1 / -1; border:0; background:transparent; }
.studio-camera-option[data-visual-group="focalLength"] .studio-camera-option-number { font-size:30px; letter-spacing:-.055em; }
.studio-camera-option[data-visual-group="focalLength"] .studio-camera-option-copy { grid-column:1; justify-items:center; }
.studio-camera-option[data-visual-group="focalLength"] .studio-camera-option-copy strong { display:none; }
.studio-camera-option[data-visual-group="focalLength"] .studio-camera-option-copy small { font-size:10px; }
.studio-camera-option[data-visual-group="focalLength"] .studio-camera-option-check { grid-column:2; grid-row:2; }

.studio-camera-option-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.studio-camera-option-copy strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-camera-option-copy small {
  color: #6f7985;
  font-size: 10px;
  line-height: 1.25;
}

.studio-camera-option-check {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  color: transparent;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
}

.studio-camera-option-check .icon {
  width: 10px;
  height: 10px;
}

.studio-camera-option[aria-checked="true"] .studio-camera-option-check {
  color: #fff;
  border-color: #438fe7;
  background: #2876cb;
  box-shadow: 0 0 12px rgba(38, 130, 235, .34);
}

.studio-genre-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.studio-genre-option {
  min-width: 0;
  min-height: 158px;
  padding: 6px 6px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17px;
  grid-template-rows: 92px auto;
  align-items: center;
  gap: 10px;
  color: #9da8b4;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 11px;
  background: #101721;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.studio-genre-option:hover,
.studio-genre-option:focus-visible {
  color: #fff;
  border-color: rgba(83, 157, 241, .3);
  outline: 0;
  background: #121e2b;
}

.studio-genre-option:active {
  transform: translateY(1px);
}

.studio-genre-option[aria-checked="true"] {
  color: #fff;
  border-color: rgba(62, 148, 246, .55);
  background: #13243a;
  box-shadow: inset 0 3px 0 #3287e8, 0 12px 26px rgba(0, 0, 0, .18);
}

.studio-genre-icon {
  width: 100%;
  height: 92px;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 9px;
  background: #090e14;
  overflow: hidden;
}

.studio-genre-icon img {
  width: 19px;
  height: 19px;
  opacity: .58;
  filter: invert(1);
}

.studio-genre-icon.is-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
  filter: saturate(.82) contrast(1.08) brightness(.75);
  transition: filter 160ms ease, opacity 160ms ease, transform 220ms ease;
}

.studio-genre-option:hover .studio-genre-icon.is-photo img { opacity: 1; filter: saturate(1) contrast(1.05); transform: scale(1.025); }

.studio-genre-option[aria-checked="true"] .studio-genre-icon img {
  opacity: 1;
  filter: invert(73%) sepia(40%) saturate(1770%) hue-rotate(181deg) brightness(105%);
}

.studio-genre-option[aria-checked="true"] .studio-genre-icon.is-photo img { opacity: 1; filter: saturate(1.08) contrast(1.04); }

.studio-genre-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.studio-genre-copy strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-genre-copy small {
  color: #687482;
  font-size: 10px;
  line-height: 1.3;
}

.studio-genre-check {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  color: transparent;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
}

.studio-genre-check .icon {
  width: 10px;
  height: 10px;
}

.studio-genre-option[aria-checked="true"] .studio-genre-check {
  color: #fff;
  border-color: #438fe7;
  background: #2876cb;
  box-shadow: 0 0 12px rgba(38, 130, 235, .3);
}

/* Selectores editoriales dinámicos: tres ruedas para estilo y una portada
   protagonista con carrusel lateral para género. */
.studio-style-wheel { display:grid; grid-template-rows:auto 30px minmax(0,1fr) 30px; align-items:center; }
.studio-style-wheel .studio-camera-options { height:390px; padding:3px; display:flex; flex-direction:column; justify-content:center; gap:9px; overflow:hidden; cursor:grab; touch-action:none; }
.studio-style-wheel .studio-camera-option { flex:0 0 104px; opacity:.38; transform:scale(.9); filter:saturate(.65); transition:opacity .2s ease,transform .2s ease,filter .2s ease,border-color .2s ease; }
.studio-style-wheel .studio-camera-option[aria-checked="true"] { opacity:1; transform:scale(1); filter:none; }
.studio-style-wheel .studio-camera-option:hover { opacity:.82; transform:scale(.96); filter:none; }
.studio-camera-grid[data-section="camera"] .studio-style-wheel {
  min-height:132px;
  display:grid;
  grid-template-columns:104px 38px minmax(0,1fr) 38px;
  grid-template-rows:1fr;
  gap:10px;
  align-items:center;
}
.studio-camera-grid[data-section="camera"] .studio-style-wheel > h3 { margin:0; }
.studio-camera-grid[data-section="camera"] .studio-style-wheel .studio-camera-options {
  width:100%;
  height:auto;
  padding:3px;
  display:flex;
  flex-direction:row;
  justify-content:center;
  gap:12px;
  overflow:hidden;
  cursor:grab;
  touch-action:none;
}
.studio-camera-options.is-dragging,
.studio-genre-wheel-list.is-dragging { cursor:grabbing; transition:none!important; }
.studio-camera-options.is-dragging .studio-camera-option,
.studio-genre-wheel-list.is-dragging .studio-genre-option { pointer-events:none; }
.studio-camera-options img,
.studio-genre-wheel-list img { user-select:none; -webkit-user-drag:none; }
.studio-camera-grid[data-section="camera"] .studio-style-wheel .studio-camera-option {
  min-width:0;
  min-height:108px;
  flex:0 0 clamp(310px,52%,460px);
  grid-template-columns:110px minmax(0,1fr) 17px;
  gap:12px;
  padding:8px;
  opacity:.3;
  transform:scale(.9);
}
.studio-camera-grid[data-section="camera"] .studio-style-wheel .studio-camera-option-visual {
  width:110px;
  height:90px;
}
.studio-camera-grid[data-section="camera"] .studio-style-wheel .studio-camera-option-copy strong {
  overflow:visible;
  font-size:13px;
  line-height:1.2;
  text-overflow:clip;
  white-space:normal;
}
.studio-camera-grid[data-section="camera"] .studio-style-wheel .studio-camera-option-copy small {
  font-size:11px;
  line-height:1.35;
}
.studio-camera-grid[data-section="camera"] .studio-style-wheel .studio-camera-option[aria-checked="true"] { opacity:1; transform:scale(1); z-index:1; }
.studio-camera-grid[data-section="camera"] .studio-style-wheel:has([data-visual-group="focalLength"]) .studio-camera-options { justify-content:center; }
.studio-camera-grid[data-section="camera"] .studio-style-wheel:has([data-visual-group="focalLength"]) .studio-camera-option { flex-basis:min(62%,520px); }
.studio-camera-option-number.is-counting-up { animation:studio-focal-count-up 720ms cubic-bezier(.16,.78,.2,1) both; }
.studio-camera-option-number.is-counting-down { animation:studio-focal-count-down 720ms cubic-bezier(.16,.78,.2,1) both; }
.studio-camera-grid[data-section="camera"] .studio-camera-options.is-sliding-next .studio-camera-option {
  animation:studio-camera-slide-next 680ms cubic-bezier(.16,.78,.2,1) both;
}
.studio-camera-grid[data-section="camera"] .studio-camera-options.is-sliding-previous .studio-camera-option {
  animation:studio-camera-slide-previous 680ms cubic-bezier(.16,.78,.2,1) both;
}
.studio-camera-grid[data-section="camera"] .studio-camera-options:is(.is-sliding-next,.is-sliding-previous) .studio-camera-option:nth-child(2) { animation-delay:70ms; }
.studio-camera-grid[data-section="camera"] .studio-camera-options:is(.is-sliding-next,.is-sliding-previous) .studio-camera-option:nth-child(3) { animation-delay:140ms; }
.studio-camera-grid[data-section="camera"] .studio-style-wheel .studio-wheel-arrow { justify-self:center; }
.studio-camera-grid[data-section="camera"] .studio-style-wheel .studio-wheel-arrow.is-previous .icon { transform:rotate(180deg); }
.studio-camera-grid[data-section="camera"] .studio-style-wheel .studio-wheel-arrow.is-next .icon { transform:none; }
@keyframes studio-focal-count-up {
  from { opacity:0; transform:translateY(48px) scale(.88); filter:blur(5px); }
  45% { opacity:.75; }
  to { opacity:1; transform:translateY(0); filter:blur(0); }
}
@keyframes studio-focal-count-down {
  from { opacity:0; transform:translateY(-48px) scale(.88); filter:blur(5px); }
  45% { opacity:.75; }
  to { opacity:1; transform:translateY(0); filter:blur(0); }
}
@keyframes studio-camera-slide-next {
  from { translate:120px 0; }
  to { translate:0 0; }
}
@keyframes studio-camera-slide-previous {
  from { translate:-120px 0; }
  to { translate:0 0; }
}
.studio-wheel-arrow { position:relative; z-index:5; width:44px; height:30px; justify-self:center; display:grid; place-items:center; color:#c9d5e3; border:1px solid rgba(139,171,207,.2); border-radius:15px; background:#202832; cursor:pointer; box-shadow:0 0 0 7px #0c1118,0 7px 18px rgba(0,0,0,.55),inset 0 1px rgba(255,255,255,.08); isolation:isolate; }
.studio-wheel-arrow .icon { width:15px; height:15px; stroke-width:1.8; }
.studio-wheel-arrow.is-previous .icon { transform:rotate(-90deg); }
.studio-wheel-arrow.is-next .icon { transform:rotate(90deg); }
.studio-wheel-arrow:hover { color:#fff; border-color:rgba(85,161,248,.48); background:#263a51; }

.studio-camera-grid[data-section="genre"] { display:block; padding:14px; }
.studio-genre-grid { height:100%; min-height:430px; display:grid; grid-template-columns:minmax(330px,1.25fr) minmax(270px,.75fr); gap:28px; align-items:center; }
.studio-genre-hero { position:relative; width:min(430px,90%); aspect-ratio:1; justify-self:center; overflow:hidden; border:1px solid rgba(255,255,255,.12); border-radius:50%; background:#090d12; box-shadow:0 30px 70px rgba(0,0,0,.48),0 0 0 10px rgba(255,255,255,.018); }
.studio-genre-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 52%,rgba(3,6,10,.92)); }
.studio-genre-hero img { width:100%; height:100%; display:block; object-fit:cover; }
.studio-genre-hero>span { position:absolute; z-index:1; left:13%; right:13%; bottom:10%; display:grid; gap:5px; text-align:center; }
.studio-genre-hero strong { color:#fff; font-size:25px; }
.studio-genre-hero small { color:#b7c1cd; font-size:11px; }
.studio-genre-wheel { min-height:0; display:grid; grid-template-rows:34px 354px 34px; gap:8px; align-items:center; isolation:isolate; }
.studio-genre-wheel-list { position:relative; z-index:1; display:flex; flex-direction:column; justify-content:center; gap:7px; overflow:hidden; cursor:grab; touch-action:none; }
.studio-genre-wheel .studio-genre-option { min-height:58px; padding:5px 8px; display:grid; grid-template-columns:54px minmax(0,1fr) 17px; grid-template-rows:auto; opacity:.34; transform:scale(.92); border-color:transparent; background:transparent; }
.studio-genre-wheel .studio-genre-option[aria-checked="true"] { opacity:1; transform:scale(1.04); border-color:rgba(62,148,246,.45); background:#152438; box-shadow:none; }
@media (hover:hover) and (pointer:fine) {
  .studio-genre-wheel .studio-genre-option:hover { opacity:.8; transform:scale(.97); }
}
.studio-genre-wheel .studio-genre-icon { width:54px; height:48px; grid-column:auto; border-radius:50%; }
.studio-genre-wheel .studio-genre-copy strong { font-size:14px; }
.studio-genre-wheel .studio-genre-copy small { display:none; }

@media (max-width:800px){.studio-genre-grid{grid-template-columns:1fr;gap:12px}.studio-genre-hero{width:min(260px,75%)}.studio-genre-wheel{grid-template-rows:30px 190px 30px}.studio-style-wheel .studio-camera-options{height:310px}}

@media (max-width:800px) {
  .studio-camera-grid[data-section="camera"] .studio-style-wheel {
    grid-template-columns:34px minmax(0,1fr) 34px;
    grid-template-rows:auto 1fr;
  }
  .studio-camera-grid[data-section="camera"] .studio-style-wheel > h3 { grid-column:1 / -1; }
  .studio-camera-grid[data-section="camera"] .studio-style-wheel .studio-camera-options { height:auto; }
  .studio-camera-grid[data-section="camera"] .studio-style-wheel .studio-camera-option { flex-basis:min(72%,360px); }
}

.studio-camera-footer {
  min-height: 76px;
  padding: 12px 16px 13px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.studio-camera-footer > p {
  min-width: 0;
  margin: 0;
  display: grid;
  gap: 3px;
}

.studio-camera-footer > p span {
  color: #68727e;
  font-size: 10px;
  font-weight: 790;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.studio-camera-footer > p strong {
  overflow: hidden;
  color: #cdd6e0;
  font-size: 12px;
  font-weight: 690;
  text-overflow: ellipsis;
  white-space: normal;
}

.studio-camera-footer > div {
  display: flex;
  gap: 7px;
}

.studio-camera-footer button {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 9px;
  font: inherit;
  font-size: 11px;
  font-weight: 780;
  cursor: pointer;
}

.studio-camera-reset {
  color: #aab3be;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .035);
}

.studio-camera-reset:hover,
.studio-camera-reset:focus-visible {
  color: #fff;
  border-color: rgba(136, 185, 239, .26);
  outline: 0;
  background: rgba(87, 130, 178, .1);
}

.studio-camera-apply {
  color: #fff;
  border: 1px solid rgba(76, 158, 249, .5);
  background: #1c6cc2;
  box-shadow: 0 8px 20px rgba(10, 91, 180, .22);
}

.studio-camera-apply:hover,
.studio-camera-apply:focus-visible {
  border-color: #82bdff;
  outline: 0;
  background: #287bd3;
  box-shadow: 0 9px 24px rgba(14, 104, 204, .3);
}

.studio-camera-footer button .icon {
  width: 13px;
  height: 13px;
}

@keyframes studio-camera-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes studio-camera-modal-in {
  from { opacity: 0; transform: translate(-50%, -47%) scale(.975); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.studio-generate-button {
  min-width: 168px;
  min-height: 62px;
  padding: 8px 15px 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  color: #f8fbff;
  border: 1px solid #4898ff;
  border-radius: 12px;
  background: linear-gradient(135deg, #164f99 0%, #146cc7 48%, #2592f2 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 0 #082c59, 0 15px 32px rgba(0, 84, 185, .34), 0 0 24px rgba(37, 146, 242, .2);
  font: inherit;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.studio-generate-button:hover {
  filter: brightness(1.12) saturate(1.08);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 9px 0 #082c59, 0 19px 38px rgba(0, 84, 185, .42), 0 0 32px rgba(55, 157, 255, .3);
}

.studio-generate-button:active {
  transform: translateY(5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 3px 0 #082c59, 0 9px 22px rgba(0, 84, 185, .32);
}

.studio-generate-button:disabled {
  opacity: .68;
  filter: saturate(.45);
  cursor: wait;
}

.studio-generate-button > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .055em;
  line-height: 1;
}

.studio-generate-button > span .icon {
  width: 15px;
  height: 15px;
}

.studio-generate-button > strong {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #dcebff;
  font-size: 11px;
  line-height: 1;
}

.studio-generate-button > strong small {
  color: rgba(226, 239, 255, .78);
  font-size: 8px;
  font-weight: 720;
  letter-spacing: .025em;
}

.studio-generate-button > strong img,
.studio-generation-meta img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(94, 179, 255, .64));
}

.studio-generation {
  position: absolute;
  z-index: 7;
  top: 44%;
  left: 50%;
  width: min(420px, calc(100% - 40px));
  display: grid;
  justify-items: center;
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
  animation: studio-panel-in 460ms cubic-bezier(.18, .8, .22, 1) both;
}

.studio-generation-orbit {
  position: relative;
  width: 92px;
  height: 92px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
}

.studio-generation-orbit::before,
.studio-generation-orbit::after,
.studio-generation-orbit > span {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(89, 169, 255, .2);
  border-top-color: #5aa9ff;
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(22, 140, 255, .12);
  animation: studio-orbit 2.4s linear infinite;
}

.studio-generation-orbit::after {
  inset: 8px;
  border-top-color: transparent;
  border-right-color: #87c5ff;
  animation-duration: 1.7s;
  animation-direction: reverse;
}

.studio-generation-orbit > span {
  inset: -8px;
  border-color: transparent;
  border-bottom-color: rgba(54, 135, 255, .36);
  animation-duration: 3.2s;
}

.studio-generation-orbit img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: grayscale(1) sepia(.12) saturate(.35) brightness(2.3) drop-shadow(0 0 11px rgba(255, 245, 220, .52));
}

.studio-generation > p {
  margin: 0 0 8px;
  color: #70b6ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .16em;
}

.studio-generation h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 31px);
  letter-spacing: -.035em;
}

.studio-generation > span {
  margin-top: 10px;
  color: #98a6b5;
  font-size: 12px;
  line-height: 1.5;
}

.studio-generation-progress {
  width: 100%;
  height: 4px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(154, 190, 227, .13);
}

.studio-generation-progress > span {
  width: 12%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #1e6ac3, #79bfff);
  box-shadow: 0 0 15px rgba(48, 151, 255, .62);
  transition: width 700ms cubic-bezier(.2, .72, .22, 1);
}

.studio-generation-meta {
  width: 100%;
  margin-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7f8b99;
  font-size: 10px;
}

.studio-generation-meta b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #c8dff8;
}

.studio-generation > button {
  margin-top: 19px;
  padding: 7px 10px;
  color: #8f9aaa;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: transparent;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}

.studio-generation > button:hover {
  color: #fff;
  border-bottom-color: #5faaff;
}

.studio-result {
  position: absolute;
  z-index: 8;
  top: 28px;
  bottom: 190px;
  left: 50%;
  width: min(940px, calc(100% - 64px));
  min-height: 0;
  padding: 15px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  border: 1px solid rgba(148, 188, 229, .17);
  border-radius: 16px;
  background: rgba(8, 11, 16, .76);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .045);
  backdrop-filter: blur(18px) saturate(.82);
  transform: translateX(-50%);
  animation: studio-result-in 540ms cubic-bezier(.18, .8, .22, 1) both;
}

.studio-result > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.studio-result > header > div > span {
  color: #62aaff;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .13em;
}

.studio-result h2 {
  margin: 4px 0 0;
  color: #f5f8fc;
  font-size: 16px;
}

.studio-result-model {
  padding: 6px 9px;
  color: #bcdcff;
  border: 1px solid rgba(94, 169, 255, .26);
  border-radius: 7px;
  background: rgba(32, 92, 157, .14);
  font-size: 9px;
  font-weight: 760;
}

.studio-result-frame {
  min-height: 0;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 11px;
  background: #05070a;
}

.studio-result-frame img,
.studio-result-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #05070a;
}

.studio-result-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.studio-result-actions a,
.studio-result-actions button {
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #dbe7f4;
  border: 1px solid rgba(136, 187, 243, .24);
  border-radius: 8px;
  background: rgba(25, 52, 83, .48);
  font: inherit;
  font-size: 10px;
  font-weight: 760;
  cursor: pointer;
}

.studio-result-actions a:hover,
.studio-result-actions button:hover {
  color: #fff;
  border-color: rgba(113, 181, 255, .55);
  background: rgba(31, 91, 159, .44);
}

.studio-result-actions .icon {
  width: 14px;
  height: 14px;
}

.studio-toast {
  position: absolute;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100% - 44px));
  padding: 11px 14px;
  color: #e6f1fc;
  border: 1px solid rgba(95, 169, 250, .32);
  border-radius: 9px;
  background: rgba(10, 19, 30, .94);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .46), 0 0 20px rgba(22, 140, 255, .14);
  font-size: 11px;
  line-height: 1.45;
  animation: studio-toast-in 240ms ease-out both;
}

.studio-toast.error {
  color: #ffdce3;
  border-color: rgba(255, 101, 133, .36);
  background: rgba(38, 13, 20, .95);
}

.studio-projects {
  position: relative;
  min-height: 410px;
  padding: 64px clamp(22px, 4vw, 58px) 54px;
  overflow: hidden;
  color: #f2f6fb;
  border-top: 0;
  background: linear-gradient(180deg, #020202 0, #050505 88px, #080808 210px);
  isolation: isolate;
}

.studio-projects::before {
  content: none;
}

.studio-projects-header {
  margin-bottom: 21px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}

.studio-projects-header > div {
  min-width: 0;
}

.studio-projects-header > div > span {
  display: block;
  color: #5e9ee9;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .16em;
}

.studio-projects-header h2 {
  margin: 5px 0 0;
  color: #f7fbff;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 820;
  letter-spacing: -.035em;
  line-height: 1;
}

.studio-projects-header p {
  margin: 9px 0 0;
  color: #8f99a6;
  font-size: 12px;
  line-height: 1.45;
}

.studio-projects-header > a {
  min-height: 38px;
  padding: 0 13px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bedcff;
  border: 1px solid rgba(81, 156, 240, .28);
  border-radius: 10px;
  background: rgba(24, 74, 132, .16);
  font-size: 11px;
  font-weight: 760;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.studio-projects-header > a:hover,
.studio-projects-header > a:focus-visible {
  color: #fff;
  border-color: rgba(117, 188, 255, .62);
  outline: 0;
  background: rgba(32, 103, 183, .28);
  box-shadow: 0 0 20px rgba(34, 124, 226, .18);
}

.studio-projects-header > a .icon {
  width: 14px;
  height: 14px;
}

.studio-projects-status {
  min-height: 18px;
  margin: -8px 0 12px;
  color: #7fa8d6;
  font-size: 10px;
  font-weight: 680;
}

.studio-projects-status.warning {
  color: #d7b26a;
}

.studio-projects-grid {
  width: 100%;
  padding: 2px 2px 16px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(230px, 23vw, 310px);
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scrollbar-color: rgba(70, 137, 214, .55) rgba(255, 255, 255, .045);
  scrollbar-width: thin;
}

.studio-projects-grid.is-message {
  padding-right: 0;
  display: block;
  overflow: visible;
}

.studio-project-card {
  min-width: 0;
  scroll-snap-align: start;
}

.studio-project-card > a {
  min-width: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}

.studio-project-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(118, 151, 190, .2);
  border-radius: 11px;
  background: #0c1016;
  box-shadow: 0 15px 30px rgba(0, 0, 0, .24);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.studio-project-card-media::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(4, 7, 12, .72));
  pointer-events: none;
}

.studio-project-card-media > img:not(.credit-icon),
.studio-project-card-media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.studio-project-card-media > img.studio-project-image,
.studio-project-card-media.is-vertical > video {
  object-fit: contain;
  background: #05070a;
}

.studio-project-card > a:hover .studio-project-card-media,
.studio-project-card > a:focus-visible .studio-project-card-media {
  border-color: rgba(78, 157, 248, .58);
  box-shadow: 0 17px 36px rgba(0, 0, 0, .34), 0 0 22px rgba(29, 120, 224, .14);
  transform: translateY(-2px);
}

.studio-project-card > a:focus-visible {
  outline: 0;
}

.studio-project-card > a:hover .studio-project-card-media > img,
.studio-project-card > a:hover .studio-project-card-media > video {
  filter: saturate(1.08) contrast(1.025);
  transform: scale(1.025);
}

.studio-project-card > a:hover .studio-project-card-media > img.studio-project-image,
.studio-project-card > a:hover .studio-project-card-media.is-vertical > video {
  transform: none;
}

.studio-project-kind,
.studio-project-duration,
.studio-project-credit-cost,
.studio-project-open {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.studio-project-kind {
  left: 9px;
  bottom: 9px;
  min-height: 21px;
  padding: 0 7px;
  color: #f3f8ff;
  border: 1px solid rgba(129, 190, 255, .34);
  border-radius: 5px;
  background: rgba(11, 69, 137, .8);
  box-shadow: 0 0 12px rgba(29, 127, 236, .15);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .08em;
}

.studio-project-kind.image {
  border-color: rgba(119, 173, 235, .28);
  background: rgba(25, 51, 83, .84);
}

.studio-project-duration {
  right: 9px;
  bottom: 9px;
  min-height: 21px;
  padding: 0 7px;
  color: #e5ebf2;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 5px;
  background: rgba(5, 8, 13, .76);
  font-size: 8px;
  font-weight: 750;
}

.studio-project-credit-cost {
  top: 9px;
  left: 9px;
  min-height: 23px;
  padding: 0 7px;
  gap: 4px;
  color: #f0f6ff;
  border: 1px solid rgba(117, 176, 240, .22);
  border-radius: 6px;
  background: rgba(5, 12, 21, .76);
  font-size: 8px;
  font-weight: 780;
}

.studio-project-credit-cost img {
  position: static;
  width: 12px;
  height: 12px;
  object-fit: contain;
}

.studio-project-open {
  top: 9px;
  right: 9px;
  width: 28px;
  height: 28px;
  color: #d9ebff;
  border: 1px solid rgba(116, 180, 250, .32);
  border-radius: 50%;
  background: rgba(7, 27, 51, .76);
  opacity: .76;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.studio-project-open .icon {
  width: 13px;
  height: 13px;
}

.studio-project-card > a:hover .studio-project-open,
.studio-project-card > a:focus-visible .studio-project-open {
  opacity: 1;
  background: rgba(15, 78, 151, .9);
  transform: translateX(2px);
}

.studio-project-media-fallback {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: none;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #718096;
  background: radial-gradient(circle at 50% 35%, rgba(32, 83, 142, .22), transparent 47%), #0a0d12;
  font-size: 10px;
  font-weight: 680;
}

.studio-project-media-fallback .icon {
  width: 24px;
  height: 24px;
}

.studio-project-card-media.has-media-error > img,
.studio-project-card-media.has-media-error > video {
  display: none;
}

.studio-project-card-media.has-media-error .studio-project-media-fallback {
  display: grid;
}

.studio-project-card-copy {
  min-width: 0;
  margin-top: 10px;
  display: grid;
  gap: 4px;
}

.studio-project-card-copy strong,
.studio-project-card-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-project-card-copy strong {
  color: #edf2f8;
  font-size: 12px;
  font-weight: 740;
}

.studio-project-card-copy small {
  color: #778391;
  font-size: 10px;
}

.studio-project-card-skeleton > span {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 11px;
  background: linear-gradient(100deg, #10141a 15%, #18202a 35%, #10141a 55%);
  background-size: 220% 100%;
  animation: studio-project-skeleton 1.4s linear infinite;
}

.studio-project-card-skeleton > i {
  width: 72%;
  height: 10px;
  margin-top: 10px;
  display: block;
  border-radius: 999px;
  background: #12171e;
}

.studio-project-card-skeleton > i:last-child {
  width: 48%;
  height: 8px;
  margin-top: 6px;
  opacity: .72;
}

.studio-projects-empty {
  min-height: 178px;
  padding: 25px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border: 1px dashed rgba(104, 157, 216, .22);
  border-radius: 13px;
  background: rgba(14, 20, 28, .52);
}

.studio-projects-empty-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #8bc5ff;
  border: 1px solid rgba(101, 174, 252, .28);
  border-radius: 11px;
  background: rgba(30, 95, 169, .16);
  box-shadow: 0 0 22px rgba(34, 127, 232, .1);
}

.studio-projects-empty-icon .icon {
  width: 18px;
  height: 18px;
}

.studio-projects-empty > strong {
  margin-top: 11px;
  color: #edf5ff;
  font-size: 14px;
}

.studio-projects-empty > p {
  max-width: 520px;
  margin: 7px 0 0;
  color: #7f8b99;
  font-size: 11px;
  line-height: 1.5;
}

.studio-projects-empty-actions {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.studio-projects-empty-actions a,
.studio-projects-empty-actions button {
  min-height: 36px;
  padding: 0 14px;
  color: #e7f2ff;
  border: 1px solid rgba(89, 164, 249, .32);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(32, 101, 179, .48), rgba(12, 47, 91, .66));
  font: inherit;
  font-size: 10px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.studio-projects-empty-actions a:hover,
.studio-projects-empty-actions button:hover,
.studio-projects-empty-actions a:focus-visible,
.studio-projects-empty-actions button:focus-visible {
  border-color: rgba(139, 201, 255, .62);
  outline: 0;
  background: linear-gradient(145deg, rgba(42, 125, 219, .64), rgba(14, 62, 123, .78));
}

@keyframes studio-project-skeleton {
  to { background-position: -220% 0; }
}

.studio-stage.is-running .studio-hero,
.studio-stage.has-result .studio-hero {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -26px);
}

.studio-stage.is-running .studio-prompt-presets,
.studio-stage.has-result .studio-prompt-presets {
  opacity: 0;
  pointer-events: none;
}

.studio-stage.is-running .studio-composer,
.studio-stage.has-result .studio-composer {
  top: auto;
  bottom: 22px;
  width: min(1100px, calc(100% - 52px));
  transform: translateX(-50%);
}

.studio-stage.is-running .studio-composer-surface,
.studio-stage.has-result .studio-composer-surface {
  background: linear-gradient(150deg, rgba(27, 32, 40, .97), rgba(10, 13, 18, .98) 72%);
}

.studio-stage.is-running .studio-background video,
.studio-stage.has-result .studio-background video {
  filter: saturate(.54) contrast(1.04) brightness(.36) blur(1px);
}

.studio-stage.is-running .studio-background-shade,
.studio-stage.has-result .studio-background-shade {
  background: rgba(4, 6, 10, .65);
}

@keyframes studio-orbit {
  to { transform: rotate(360deg); }
}

@keyframes studio-panel-in {
  from { opacity: 0; transform: translate(-50%, -44%) scale(.96); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes studio-result-in {
  from { opacity: 0; transform: translate(-50%, 18px) scale(.985); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@keyframes studio-toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1279px) {
  .studio-top-center {
    display: none;
  }

  .studio-camera-grid[data-section="style"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-genre-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .studio-dashboard-view {
    display: block;
  }

  .studio-shell {
    width: 100%;
  }

  .studio-stage {
    height: calc(100vh - 78px);
    height: calc(100dvh - 78px);
  }

  .studio-hero {
    top: clamp(42px, 8vh, 80px);
  }

  .studio-composer {
    width: min(920px, calc(100% - 28px));
  }

  .studio-result {
    width: calc(100% - 32px);
  }

  .studio-camera-modal {
    width: calc(100% - 28px);
  }

  .studio-visual-workspace {
    grid-template-columns: 176px minmax(0, 1fr);
  }

  .studio-camera-group,
  .studio-camera-group:first-child,
  .studio-camera-group:last-child {
    border-radius: 10px;
  }
}

@media (max-width: 720px) {
  .studio-stage:not(.is-running):not(.has-result) {
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    min-height: 560px;
  }

  .studio-projects {
    min-height: 380px;
    padding: 52px 16px 44px;
  }

  .studio-projects-header {
    margin-bottom: 18px;
    align-items: center;
  }

  .studio-projects-header p {
    max-width: 250px;
  }

  .studio-projects-header > a {
    min-height: 34px;
    padding: 0 10px;
  }

  .studio-projects-grid {
    width: calc(100% + 16px);
    padding-right: 16px;
    grid-auto-columns: min(78vw, 300px);
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .studio-projects-grid::-webkit-scrollbar {
    display: none;
  }

  .studio-projects-grid.is-message {
    width: 100%;
  }

  .studio-hero {
    top: 38px;
  }

  .studio-hero > span {
    max-width: 500px;
    font-size: 12px;
  }

  .studio-composer {
    top: 43%;
    width: calc(100% - 20px);
    flex-direction: column;
  }

  .studio-mode-rail {
    width: 174px;
    flex-basis: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    align-self: center;
    border-radius: 12px;
  }

  .studio-mode-rail button {
    min-height: 34px;
    padding: 5px 9px;
    grid-template-columns: auto auto;
    gap: 5px;
    border-radius: 8px;
  }

  .studio-mode-rail button .icon {
    width: 14px;
    height: 14px;
  }

  .studio-composer-surface {
    padding: 11px;
    border-radius: 14px;
  }

  .studio-prompt-field textarea {
    min-height: 52px;
    font-size: 13px;
  }

  .studio-composer-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .studio-control-row {
    width: 100%;
    flex-wrap: wrap;
  }

  .studio-model-menu {
    left: -55px;
    width: min(360px, calc(100vw - 32px));
  }

  .studio-generate-button {
    width: 100%;
    min-height: 56px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 5px 0 #082c59, 0 12px 24px rgba(0, 84, 185, .32);
  }

  .studio-prompt-presets {
    display: none;
  }

  .studio-stage.is-running .studio-composer,
  .studio-stage.has-result .studio-composer {
    bottom: 10px;
    width: calc(100% - 20px);
  }

  .studio-result {
    top: 14px;
    bottom: 280px;
    padding: 10px;
  }

  .studio-visual-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .studio-visual-nav {
    padding: 7px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .studio-visual-nav button {
    min-height: 48px;
    padding: 7px 8px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 7px;
  }

  .studio-visual-nav button.active {
    box-shadow: inset 0 -3px 0 #3388e8;
  }

  .studio-visual-nav button > img {
    width: 17px;
    height: 17px;
  }

  .studio-visual-section-header {
    min-height: 61px;
    padding: 10px 13px;
  }

  .studio-visual-section-header p {
    max-width: 300px;
  }

}

@media (max-width: 620px) {
  .studio-stage {
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    min-height: 500px;
  }

  .studio-topbar .dashboard-breadcrumb span,
  .studio-topbar .dashboard-plans-button,
  .studio-topbar .dashboard-credit-pill > span,
  .studio-topbar .dashboard-auth-actions .dashboard-register-button {
    display: none;
  }

  .studio-topbar .dashboard-breadcrumb strong {
    font-size: 13px;
  }

  .studio-projects-header > div > span {
    font-size: 8px;
  }

  .studio-projects-header h2 {
    font-size: 25px;
  }

  .studio-projects-header p {
    font-size: 10px;
  }

  .studio-projects-header > a {
    font-size: 10px;
  }

  .studio-hero {
    top: 30px;
    width: calc(100% - 28px);
  }

  .studio-hero h1 {
    font-size: clamp(23px, 7.2vw, 38px);
  }

  .studio-hero > span {
    margin-top: 12px;
    font-size: 11px;
  }

  .studio-composer {
    top: 39%;
  }

  .studio-model-trigger {
    min-width: 148px;
  }

  .studio-picker-trigger strong {
    max-width: 130px;
  }

  .studio-generation {
    top: 34%;
  }

  .studio-result {
    bottom: 286px;
    width: calc(100% - 20px);
  }

  .studio-result > header {
    align-items: flex-start;
  }

  .studio-result-model {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .studio-toast {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
  }

  .studio-camera-modal {
    width: calc(100% - 14px);
    max-height: calc(100% - 14px);
    border-radius: 14px;
  }

  .studio-camera-header {
    min-height: 60px;
    padding: 11px 11px 10px 14px;
  }

  .studio-camera-header h2 {
    font-size: 19px;
  }

  .studio-camera-header button {
    width: 34px;
    height: 34px;
  }

  .studio-camera-grid {
    padding: 7px;
    gap: 7px;
  }

  .studio-camera-grid[data-section="camera"],
  .studio-camera-grid[data-section="style"] {
    grid-template-columns: 1fr;
  }

  .studio-genre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .studio-genre-option {
    min-height: 62px;
    padding: 8px;
    grid-template-columns: 32px minmax(0, 1fr) 15px;
    gap: 7px;
  }

  .studio-genre-icon {
    width: 32px;
    height: 32px;
  }

  .studio-genre-icon img {
    width: 17px;
    height: 17px;
  }

  .studio-genre-copy small {
    display: none;
  }

  .studio-camera-group {
    padding: 10px;
  }

  .studio-camera-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-camera-option {
    min-height: 58px;
    padding: 7px;
    grid-template-columns: 34px minmax(0, 1fr) 15px;
    gap: 6px;
    border-radius: 11px;
  }

  .studio-camera-option-visual {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .studio-camera-option-visual img {
    width: 20px;
    height: 20px;
  }

  .studio-camera-option-number {
    font-size: 18px;
  }

  .studio-camera-option-copy small {
    display: none;
  }

  .studio-visual-nav button small,
  .studio-visual-section-header p {
    display: none;
  }

  .studio-camera-option-check {
    width: 15px;
    height: 15px;
  }

  .studio-camera-footer {
    min-height: 0;
    padding: 10px 11px 11px 14px;
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .studio-camera-footer > p strong {
    white-space: normal;
  }

  .studio-camera-footer > div,
  .studio-camera-footer button {
    flex: 1;
  }
}

@media (max-height: 700px) and (min-width: 721px) {
  .studio-hero {
    top: 34px;
  }

  .studio-hero > span {
    display: none;
  }

  .studio-composer {
    top: 40%;
  }

  .studio-prompt-presets {
    top: calc(50% + 134px);
  }

  .studio-result {
    top: 14px;
    bottom: 176px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-composer,
  .studio-hero,
  .studio-prompt-presets,
  .studio-generation-progress > span,
  .studio-background video,
  .studio-project-card-media,
  .studio-project-card-media > img,
  .studio-project-card-media > video {
    transition: none;
  }

  .studio-generation,
  .studio-result,
  .studio-toast,
  .studio-camera-backdrop:not([hidden]),
  .studio-camera-modal:not([hidden]),
  .studio-generation-orbit::before,
  .studio-generation-orbit::after,
  .studio-generation-orbit > span,
  .studio-project-card-skeleton > span {
    animation: none;
  }

}

/* Debe permanecer tras los breakpoints históricos del modal. */
@media (max-width:1279px) and (min-width:981px){
  .studio-camera-grid[data-section="camera"]{grid-template-columns:repeat(2,minmax(0,1fr))}
  .studio-camera-grid[data-section="genre"] .studio-genre-grid{grid-template-columns:minmax(300px,1.15fr) minmax(250px,.85fr)}
}
@media (max-width:980px){
  .studio-camera-grid[data-section="genre"] .studio-genre-grid{grid-template-columns:1fr}
  .studio-camera-grid[data-section="genre"] .studio-genre-option{min-height:58px;grid-template-columns:54px minmax(0,1fr) 17px}
}
