:root {
  --bg: #080808;
  --panel: #111111;
  --panel-2: #181818;
  --hover: #222222;
  --text: #f3f3f1;
  --muted: #8e8e8b;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.18);
  --sidebar: 255px;
  --sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body { margin: 0; min-width: 320px; min-height: 100vh; overflow-x: hidden; color: var(--text); background: var(--bg); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, textarea, select { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, textarea:focus-visible { outline: 2px solid rgba(255,255,255,.72); outline-offset: 2px; }
img { display: block; }
.app-shell { min-height: 100vh; }

.sidebar { position: fixed; z-index: 60; inset: 0 auto 0 0; width: var(--sidebar); background: #070707; border-right: 1px solid var(--line); }
.sidebar-head { height: 58px; display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.sidebar-toggle { width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #b7b7b4; cursor: pointer; }
.sidebar-toggle:hover { background: var(--hover); color: white; }
.logo { display: inline-flex; align-items: center; gap: 9px; border: 0; padding: 0; background: transparent; cursor: pointer; color: #e8e8e5; font-size: 15px; font-weight: 600; letter-spacing: -.035em; }
.logo-mark { position: relative; width: 22px; height: 22px; border: 1px solid rgba(255,255,255,.65); border-radius: 7px; }
.logo-mark::before, .logo-mark::after { content: ""; position: absolute; top: 5px; width: 3px; height: 11px; background: #f1f1ef; border-radius: 9px; transform: skew(-8deg); }
.logo-mark::before { left: 6px; }
.logo-mark::after { right: 6px; height: 8px; top: 8px; opacity: .62; }
.side-scroll { height: calc(100vh - 58px); display: flex; flex-direction: column; padding: 2px 8px 10px; overflow-y: auto; scrollbar-width: none; }
.side-scroll::-webkit-scrollbar { display: none; }
.nav-group { display: grid; gap: 1px; }
.nav-label { margin: 22px 8px 8px; color: #555552; font-size: 11px; font-weight: 500; }
.nav-item { width: 100%; height: 36px; display: flex; align-items: center; gap: 9px; padding: 0 9px; border: 0; border-radius: 9px; color: #bdbdb9; background: transparent; cursor: pointer; text-align: left; font-size: 14px; transition: color 150ms ease-out, background-color 150ms ease-out; }
.nav-item:hover { color: white; background: rgba(255,255,255,.055); }
.nav-item.is-active { color: #fff; background: #252525; box-shadow: inset 0 0 0 1px rgba(255,255,255,.035); }
.nav-icon { width: 19px; height: 19px; flex: 0 0 19px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 5px; color: #dadad7; }
.nav-icon svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-meta { margin-left: auto; color: #5d5d59; font-size: 10px; }
.sidebar-foot { margin-top: auto; display: grid; gap: 4px; }
.plan-row { height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 0 9px; border-radius: 9px; color: #b7b7b2; background: #141414; font-size: 12px; }
.plan-row strong { color: #eee; font-weight: 500; }
.account-button { height: 44px; border: 1px solid var(--line); border-radius: 10px; color: #111; background: #efefed; cursor: pointer; font-size: 13px; font-weight: 600; }
.main { min-height: 100vh; margin-left: var(--sidebar); }

.home-stage { position: relative; height: min(940px, 75vh); min-height: 690px; overflow: hidden; background: #050505; }
.gallery-wall { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 12px; padding: 34px 34px 22px; }
.gallery-wall::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: rgba(0,0,0,.47); box-shadow: inset 0 -120px 120px rgba(0,0,0,.34); }
.gallery-tile { position: relative; min-width: 0; overflow: hidden; border: 0; border-radius: 23px; padding: 0; background: #171717; cursor: pointer; isolation: isolate; }
.gallery-tile.wide { grid-column: span 2; }
.gallery-tile.tall { grid-row: span 2; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms ease-out, filter 260ms ease-out; }
.gallery-tile::after { content: ""; position: absolute; inset: auto 0 0; height: 50%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(0,0,0,.65)); opacity: .62; }
.gallery-tile:hover img { transform: scale(1.018); filter: brightness(1.06); }
.tile-detail { position: absolute; z-index: 1; left: 15px; right: 15px; bottom: 13px; display: flex; justify-content: space-between; align-items: end; gap: 10px; opacity: 0; transform: translateY(4px); transition: opacity 180ms ease-out, transform 180ms ease-out; }
.gallery-tile:hover .tile-detail { opacity: 1; transform: translateY(0); }
.tile-detail strong { display: block; font-size: 12px; font-weight: 500; }
.tile-detail span { display: block; margin-top: 4px; color: rgba(255,255,255,.62); font: 9px var(--mono); }
.tile-type { width: 26px; height: 26px; display: grid !important; place-items: center; flex: 0 0 26px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(0,0,0,.24); backdrop-filter: blur(8px); }

.floating-composer { position: absolute; z-index: 8; left: 50%; top: 50%; width: min(848px, calc(100% - 64px)); height: 118px; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.25); border-radius: 32px; background: rgba(160,160,160,.47); box-shadow: 0 18px 50px rgba(0,0,0,.48), inset 0 0 0 .5px rgba(255,255,255,.36); -webkit-backdrop-filter: blur(32px) saturate(.72); backdrop-filter: blur(32px) saturate(.72); }
.prompt-input { width: 100%; height: 62px; resize: none; overflow: hidden; padding: 17px 20px 7px; border: 0; outline: 0; color: rgba(255,255,255,.93); background: transparent; font-size: 16px; line-height: 1.45; }
.prompt-input::placeholder { color: rgba(255,255,255,.68); }
.composer-row { height: 52px; display: flex; align-items: center; gap: 7px; padding: 6px 10px 10px; }
.circle-control, .composer-pill, .generate-control { height: 36px; border: 1px solid rgba(255,255,255,.16); background: rgba(25,25,25,.22); cursor: pointer; transition: background-color 150ms ease-out, transform 150ms ease-out; }
.circle-control { width: 36px; display: grid; place-items: center; flex: 0 0 36px; border-radius: 50%; font-size: 21px; line-height: 1; font-weight: 300; }
.composer-pill { display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; border-radius: 999px; color: rgba(255,255,255,.92); font-size: 13px; }
.composer-pill svg, .circle-control svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.composer-spacer { flex: 1; }
.generate-control { width: 36px; display: grid; place-items: center; flex: 0 0 36px; border: 0; border-radius: 50%; color: #0b0b0b; background: rgba(255,255,255,.9); font-size: 16px; }
.circle-control:hover, .composer-pill:hover { background: rgba(20,20,20,.38); }
.generate-control:hover { background: white; transform: scale(1.04); }
.circle-control:active, .composer-pill:active, .generate-control:active, .nav-item:active { transform: scale(.97); }
.advanced-popover { position: absolute; right: 54px; top: 108px; width: 250px; display: none; padding: 8px; border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(22,22,22,.93); box-shadow: 0 20px 60px rgba(0,0,0,.55); backdrop-filter: blur(22px); }
.advanced-popover.is-open { display: block; animation: pop-in 170ms ease-out both; transform-origin: top right; }
.setting-row { min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 9px; color: #d5d5d1; font-size: 12px; }
.setting-row + .setting-row { border-top: 1px solid var(--line); }
.setting-row span:last-child { color: #8f8f8a; font: 10px var(--mono); }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

.home-after { padding: 42px 34px 80px; border-top: 1px solid var(--line); background: #0b0b0b; }
.section-kicker { color: #777773; font-size: 12px; }
.tool-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.tool-card { position: relative; min-height: 190px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; padding: 18px; color: white; background: #171717; cursor: pointer; text-align: left; }
.tool-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .48; transition: transform 260ms ease-out, opacity 180ms ease-out; }
.tool-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 20%,rgba(0,0,0,.82)); }
.tool-card:hover img { transform: scale(1.025); opacity: .62; }
.tool-card span, .tool-card strong { position: relative; z-index: 1; display: block; }
.tool-card span { color: rgba(255,255,255,.55); font-size: 11px; }
.tool-card strong { margin-top: 104px; font-size: 14px; font-weight: 500; }

.studio { min-height: 100vh; background: #090909; }
.studio-head { height: 58px; position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 0 22px; border-bottom: 1px solid var(--line); background: rgba(9,9,9,.86); backdrop-filter: blur(18px); }
.studio-head h1 { margin: 0; font-size: 14px; font-weight: 550; letter-spacing: -.02em; }
.mode-tabs { display: flex; gap: 3px; }
.mode-tabs button, .view-filter { height: 30px; padding: 0 10px; border: 0; border-radius: 8px; color: #777773; background: transparent; cursor: pointer; font-size: 12px; }
.mode-tabs button.is-active, .view-filter.is-active { color: #eee; background: #202020; }
.studio-status { margin-left: auto; color: #777773; font: 10px var(--mono); }
.studio-stage { position: relative; min-height: calc(100vh - 58px); padding: 20px 20px 164px; }
.output-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.output-grid.video-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.output-card { position: relative; min-width: 0; overflow: hidden; padding: 0; border: 1px solid transparent; border-radius: 16px; background: #161616; cursor: pointer; aspect-ratio: 1.08; }
.video-grid .output-card { aspect-ratio: .82; }
.output-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease-out; }
.output-card:hover img { transform: scale(1.018); }
.output-card.is-active { border-color: rgba(255,255,255,.82); box-shadow: 0 0 0 2px #090909 inset; }
.output-info { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; padding: 42px 12px 11px; color: white; background: linear-gradient(transparent,rgba(0,0,0,.72)); font-size: 11px; }
.output-info span:last-child { color: rgba(255,255,255,.6); font: 9px var(--mono); }
.studio-composer { position: fixed; left: calc(var(--sidebar) + (100vw - var(--sidebar))/2); top: auto; bottom: 24px; transform: translateX(-50%); }
.studio-composer .prompt-input { height: 62px; }
.studio-composer .advanced-popover { top: auto; bottom: 108px; }
.selected-strip { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 9px; border-radius: 10px; color: #aaa; background: rgba(12,12,12,.35); font-size: 11px; }
.selected-strip img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }

.collection { min-height: 100vh; padding: 34px; background: #0a0a0a; }
.collection-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.collection h1 { margin: 0; font-size: 22px; font-weight: 520; letter-spacing: -.035em; }
.collection p { max-width: 520px; margin: 8px 0 0; color: #7c7c78; font-size: 12px; line-height: 1.55; }
.collection-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.collection-card { position: relative; overflow: hidden; min-height: 290px; border: 0; border-radius: 16px; padding: 0; background: #151515; cursor: pointer; }
.collection-card img { width: 100%; height: 100%; object-fit: cover; }
.collection-card .output-info { text-align: left; }
.empty-state { min-height: 360px; display: grid; place-items: center; border: 1px dashed var(--line-strong); border-radius: 18px; color: #6f6f6b; font-size: 13px; }
.toast { position: fixed; z-index: 100; right: 20px; bottom: 20px; max-width: 330px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 11px; color: #e5e5e2; background: rgba(31,31,31,.94); box-shadow: 0 16px 50px rgba(0,0,0,.44); opacity: 0; transform: translateY(10px); pointer-events: none; font-size: 12px; transition: opacity 170ms ease-out, transform 170ms ease-out; }
.toast.show { opacity: 1; transform: none; }

@media (max-width: 2399px) {
  .gallery-wall { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .output-grid, .output-grid.video-grid, .collection-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 1450px) {
  .gallery-wall { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1040px) {
  :root { --sidebar: 226px; }
  .gallery-wall { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 24px; }
  .output-grid, .output-grid.video-grid, .collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  :root { --sidebar: 0px; }
  .sidebar { inset: 0 0 auto; width: 100%; height: 60px; border-right: 0; border-bottom: 1px solid var(--line); background: rgba(8,8,8,.92); backdrop-filter: blur(18px); }
  .sidebar-head { height: 60px; padding: 0 14px; }
  .sidebar-head .logo span:last-child { display: none; }
  .side-scroll { position: fixed; z-index: 80; top: 60px; left: 8px; width: min(280px,calc(100vw - 16px)); height: calc(100vh - 68px); display: none; padding: 9px; border: 1px solid var(--line-strong); border-radius: 15px; background: rgba(14,14,14,.96); box-shadow: 0 24px 80px rgba(0,0,0,.62); backdrop-filter: blur(22px); }
  .sidebar.is-open .side-scroll { display: flex; animation: pop-in 160ms ease-out both; transform-origin: top left; }
  .main { margin-left: 0; padding-top: 60px; }
  .home-stage { height: 507px; min-height: 507px; }
  .gallery-wall { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(3,1fr); gap: 8px; padding: 18px; }
  .gallery-tile { border-radius: 10px; }
  .gallery-tile.wide { grid-column: span 1; }
  .gallery-tile.tall { grid-row: span 2; }
  .gallery-tile:nth-child(n+8) { display: none; }
  .gallery-wall::after { background: rgba(0,0,0,.48); }
  .tile-detail { display: none; }
  .floating-composer { top: 54%; width: calc(100% - 40px); height: 114px; border-radius: 28px; }
  .prompt-input { height: 64px; padding: 15px 17px 6px; font-size: 16px; }
  .composer-row { height: 48px; padding: 4px 9px 9px; }
  .composer-pill { padding: 0 9px; }
  .composer-pill .hide-mobile { display: none; }
  .advanced-popover { right: 8px; top: 106px; width: 230px; }
  .home-after { padding: 24px 18px 60px; }
  .tool-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tool-card { min-height: 126px; border-radius: 15px; padding: 14px; }
  .tool-card strong { margin-top: 64px; font-size: 13px; }
  .studio-head { height: 52px; padding: 0 13px; }
  .studio-status { display: none; }
  .studio-stage { min-height: calc(100vh - 112px); padding: 12px 12px 150px; }
  .output-grid, .output-grid.video-grid, .collection-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .output-card, .collection-card { border-radius: 11px; }
  .studio-composer { left: 50%; bottom: 12px; }
  .collection { padding: 22px 13px 60px; }
  .collection-head { display: block; }
  .collection-card { min-height: 220px; }
  .toast { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
@media (hover: none) { .tile-detail { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}




/* Immersive landing: one native scroll timeline, 80vh from landing to Explore. */
html { scrollbar-gutter: stable; }
.plan-row { border: 1px solid var(--line); }
.landing-journey { position: relative; height: 180svh; background: #020202; }
.landing-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; background: #020202; }
.particle-canvas { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
.explore-reveal { position: absolute; inset: 0; z-index: 1; background: #080808; }
.explore-heading { position: absolute; z-index: 2; top: 26px; left: 28px; right: 28px; display: flex; align-items: center; gap: 18px; opacity: 0; }
.explore-heading h1 { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: -.025em; }
.explore-heading span { color: #858581; font-size: 12px; }
.landing-stage .gallery-wall { padding: 70px 24px 24px; grid-template-columns: repeat(5,minmax(0,1fr)); grid-template-rows: repeat(3,minmax(0,1fr)); gap: 12px; }
.landing-stage .gallery-wall::after { display: none; }
.landing-stage .gallery-tile { opacity: 0; border-radius: 18px; transform-origin: center; }
.landing-stage .gallery-tile.wide { grid-column: span 2; }
.landing-stage .gallery-tile.tall { grid-row: span 2; }
.landing-stage .floating-composer { top: 49%; width: min(808px,calc(100% - 80px)); height: 124px; border-radius: 28px; background: rgba(39,39,39,.72); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 24px 90px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.075); backdrop-filter: blur(28px) saturate(0); -webkit-backdrop-filter: blur(28px) saturate(0); }
.landing-stage .prompt-input { height: 69px; padding: 20px 22px 8px; font-size: 16px; }
.landing-stage .composer-row { height: 52px; padding: 6px 12px 10px; gap: 8px; }
.floating-composer .prompt-input::placeholder { color: #b6b6b6; }
.floating-composer .circle-control,.floating-composer .composer-pill { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.025); }
.composer-pill { white-space: nowrap; }
.model-control { position: relative; min-width: 0; display: flex; height: 36px; align-items: center; border-radius: 999px; }
.model-control select { max-width: 170px; height: 36px; padding: 0 29px 0 10px; appearance: none; border: 1px solid transparent; border-radius: 999px; color: #cecece; background: transparent; font-size: 12px; cursor: pointer; text-overflow: ellipsis; }
.model-control select:hover { background: rgba(255,255,255,.04); }
.model-control .chevron { position: absolute; right: 10px; pointer-events: none; }
.chevron { font-size: 13px; color: #8a8a8a; }
select:focus-visible { outline: 2px solid #aaa; outline-offset: 2px; }
option { color: #eee; background: #242424; }
.generate-control svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.generate-control:disabled { opacity: .5; cursor: wait; }
.landing-caption { position: absolute; z-index: 7; left: 50%; top: calc(49% + 86px); transform: translateX(-50%); color: #636363; font-size: 11px; letter-spacing: .005em; white-space: nowrap; pointer-events: none; }
.explore-hint { position: absolute; z-index: 7; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 12px; align-items: center; padding: 12px; border: 0; color: #898989; background: transparent; font-size: 11px; cursor: pointer; }
.explore-hint span { font-size: 18px; color: #ccc; }
.explore-hint:hover { color: #eee; }
.advanced-popover { top: 116px; }
.setting-row select { padding: 6px; max-width: 110px; border: 1px solid #353535; border-radius: 6px; color: #c2c2c2; background: #232323; font-size: 11px; }
.reference-strip:empty { display: none; }
.reference-strip { position: absolute; left: 12px; bottom: calc(100% + 12px); display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 24px); }
.reference-chip { display: flex; align-items: center; gap: 8px; height: 42px; max-width: 190px; padding: 4px 9px 4px 4px; border: 1px solid #444; border-radius: 10px; background: rgba(30,30,30,.95); font-size: 10px; cursor: pointer; }
.reference-chip img { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; }
.reference-chip span:first-of-type { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reference-chip span:last-child { color: #aaa; font-size: 16px; }
.explore-browse { position: relative; z-index: 4; min-height: 100vh; padding: 28px 24px 50px; background: #080808; }
.browse-toolbar { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; flex-wrap: wrap; }
.browse-toolbar h2 { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: -.02em; }
.category-filters { display: flex; gap: 4px; }
.view-filter { white-space: nowrap; }
.browse-create { display: flex; align-items: center; gap: 9px; margin-left: auto; height: 32px; padding: 0 11px; border: 1px solid #303030; border-radius: 10px; background: #171717; font-size: 11px; cursor: pointer; }
.browse-create svg { width: 13px; height: 13px; stroke: currentColor; fill: none; }
.browse-gallery { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); grid-auto-rows: 240px; gap: 12px; grid-auto-flow: dense; }
.browse-gallery .gallery-tile { border-radius: 18px; }
.browse-gallery [hidden] { display: none; }
.gallery-note { margin: 36px 0 0; text-align: center; font-size: 11px; color: #646464; }
.studio-composer { background: rgba(43,43,43,.83); border-color: rgba(255,255,255,.19); }
.studio-composer .advanced-popover { top: auto; bottom: 128px; }
.review-record { position: fixed; z-index: 200; bottom: 14px; right: 14px; background: #222; color: #ddd; border: 1px solid #555; border-radius: 9px; padding: 9px 12px; font-size: 11px; cursor: pointer; }
.scene-fallback::after { content: ''; position: absolute; z-index: 3; inset: 0; pointer-events: none; opacity: .65; background-image: radial-gradient(1px 1px at 10% 20%,#aaa 50%,transparent),radial-gradient(1px 1px at 80% 75%,#777 50%,transparent),radial-gradient(1px 1px at 45% 90%,#aaa 50%,transparent); background-size: 143px 197px,209px 131px,163px 181px; }
.landing-journey[data-phase='explore'] .scene-fallback::after { display: none; }
@media (min-width: 2400px) { .landing-stage .gallery-wall { grid-template-columns: repeat(5,minmax(0,1fr)); } .browse-gallery { grid-auto-rows: 330px; } }
@media (max-width: 1450px) { .browse-gallery { grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: 220px; } .landing-stage .gallery-wall { grid-template-columns: repeat(4,minmax(0,1fr)); } .landing-stage .gallery-tile:nth-child(n+10) { display: none; } .landing-stage .gallery-tile:nth-child(6) { grid-row: span 1; } }
@media (max-width: 1040px) { .browse-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); } .landing-stage .floating-composer { width: calc(100% - 48px); } .landing-stage .gallery-wall { grid-template-columns: repeat(3,minmax(0,1fr)); } .landing-stage .gallery-tile.wide { grid-column: span 1; } }
@media (max-width: 720px) {
  .landing-journey { height: calc(180svh - 60px); }
  .landing-stage { top: 60px; height: calc(100svh - 60px); }
  .landing-stage .floating-composer { top: 47%; width: calc(100% - 28px); height: 128px; border-radius: 24px; }
  .landing-stage .prompt-input { height: 72px; padding: 17px 17px 6px; font-size: 16px; }
  .landing-stage .composer-row { gap: 5px; padding: 6px 9px 10px; }
  .landing-stage .circle-control,.landing-stage .composer-pill,.landing-stage .generate-control { height: 36px; }
  .composer-pill { gap: 5px; padding: 0 8px; font-size: 12px; }
  .composer-pill svg { width: 13px; }
  .model-control select { max-width: 110px; padding: 0 20px 0 5px; font-size: 11px; }
  .model-control .chevron { right: 5px; }
  .landing-caption { top: calc(47% + 88px); font-size: 10px; }
  .explore-hint { bottom: 22px; }
  .explore-heading { top: 22px; left: 14px; right: 14px; }
  .explore-heading span { display: none; }
  .landing-stage .gallery-wall { padding: 59px 12px 12px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .landing-stage .gallery-tile { border-radius: 13px; }
  .landing-stage .gallery-tile:nth-child(n+6) { display: none; }
  .landing-stage .gallery-tile.wide { grid-column: span 1; }
  .explore-browse { padding: 22px 12px 40px; }
  .browse-toolbar { gap: 14px; }
  .browse-toolbar h2 { width: 100%; font-size: 13px; }
  .category-filters { width: 100%; overflow-x: auto; gap: 0; }
  .browse-create { display: none; }
  .browse-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 190px; gap: 8px; }
  .browse-gallery .gallery-tile { border-radius: 13px; }
  .browse-gallery .gallery-tile.wide { grid-column: span 1; }
  .browse-gallery .gallery-tile:nth-child(n) { display: block; }
  .browse-gallery .gallery-tile[hidden] { display: none; }
  .studio-composer { top: auto; bottom: 12px; height: 124px; width: calc(100% - 24px); }
  .studio-composer .prompt-input { height: 72px; }
  .studio-head { top: 60px; }
  .advanced-popover { top: 118px; }
}
@media (max-width: 360px) { .composer-pill .chevron { display: none; } .model-control select { max-width: 92px; } .composer-row { gap: 3px; } }
@media (prefers-reduced-transparency: reduce) { .floating-composer,.landing-stage .floating-composer { background: #282828; backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (prefers-contrast: more) { .floating-composer,.landing-stage .floating-composer { background: #1a1a1a; border-color: #999; } .prompt-input::placeholder { color: #ddd; } }
@media (prefers-reduced-motion: reduce) { .landing-journey { height: 145svh; } .landing-stage .gallery-tile,.landing-stage .floating-composer { will-change: auto; } }

.prompt-input { overflow-y: auto; scrollbar-width: thin; }

/* Bright physical glass rim, with a soft neutral halo. */
.landing-stage .floating-composer { border-color: rgba(245,248,255,.72); box-shadow: 0 0 3px rgba(255,255,255,.65), 0 0 22px rgba(225,235,255,.16), 0 0 52px rgba(225,235,255,.06), inset 0 1px 0 rgba(255,255,255,.25); }

.landing-stage .gallery-wall { transform-origin: 50% 50%; }
/* Scroll-linked transforms must not become browser scroll anchors. */
.home { overflow-anchor: none; }

/* Reference composer: ink-black center, delicate silver edge, quiet right controls. */
.landing-stage .floating-composer { border-radius: 26px; background: rgba(0,0,0,.94); border: 1px solid rgba(222,231,240,.5); box-shadow: 0 0 2px rgba(240,247,255,.4), 0 0 16px rgba(213,229,244,.10), 0 0 44px rgba(213,229,244,.055), inset 0 0 0 1px rgba(255,255,255,.025); backdrop-filter: blur(24px); }
.landing-stage .prompt-input::placeholder { color: #8a8a8a; }
.landing-stage .composer-row > [data-action='attach'] { order: 1; background: #101010; border-color: transparent; }
.landing-stage .composer-spacer { order: 2; }
.landing-stage .composer-pill { order: 3; background: transparent; border-color: transparent; }
.landing-stage .model-control { order: 4; }
.landing-stage .composer-row > [data-action='settings'] { order: 5; border-color: transparent; background: transparent; }
.landing-stage .generate-control { order: 6; background: #c7c7c7; }
@media (max-width:720px) { .landing-stage .floating-composer { border-radius:24px; } .landing-stage .composer-row { gap:3px; } }

/* Homepage editorial sections. The existing canvas and composer remain unchanged. */
.hero-intro { top: auto; bottom: calc(51% + 95px); width: min(800px,calc(100% - 40px)); text-align: center; white-space: normal; color: #f5f5f5; }
.hero-intro h1 { margin: 0; font-size: clamp(30px,3.4vw,48px); line-height: 1.1; letter-spacing: -.045em; font-weight: 550; }
.hero-intro p { margin: 14px auto 0; max-width: 590px; color: #a4a4a4; font-size: 14px; line-height: 1.5; }
.hero-quick { position: absolute; z-index: 7; top: calc(49% + 86px); left: 50%; transform: translateX(-50%); width: min(808px,calc(100% - 40px)); display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hero-quick button { border: 1px solid #343434; border-radius: 999px; background: rgba(20,20,20,.78); color: #aaa; padding: 8px 12px; font-size: 11px; cursor: pointer; transition: border-color .18s ease, color .18s ease; }
.hero-quick button:hover { border-color: #797979; color: white; }
.explore-reveal { background: #080808; }
.home-content { position: relative; z-index: 4; margin-top: -24svh; background: linear-gradient(to bottom, transparent, #080808 24svh); }
.home-section { max-width: 1500px; margin: 0 auto; padding: 110px 5.5% 0; }
.create-section { padding-top: 32svh; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-eyebrow { display: block; color: #858585; font-size: 10px; font-weight: 600; letter-spacing: .16em; }
.section-heading h2, .home-cta h2 { margin: 14px 0 0; font-size: clamp(28px,3.2vw,44px); line-height: 1.08; font-weight: 500; letter-spacing: -.045em; }
.section-heading > p, .demo-note { color: #898989; font-size: 13px; line-height: 1.5; margin: 0 0 3px; }
.demo-note { margin-top: 10px; }
.starter-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.starter-small-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.starter-card, .made-card { position: relative; overflow: hidden; display: block; padding: 0; border: 1px solid #292929; border-radius: 16px; background: #191919; color: white; text-align: left; cursor: pointer; }
.starter-card { min-height: 220px; }
.starter-featured { min-height: 454px; }
.starter-card img, .made-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .35s ease; }
.starter-card::after, .made-card::after { content: ''; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.78)); pointer-events: none; }
.starter-overlay, .made-overlay { position: absolute; z-index: 1; bottom: 0; left: 0; right: 0; padding: 20px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.starter-overlay strong, .made-overlay strong { display: block; font-size: 16px; font-weight: 500; }
.starter-overlay small { display: block; margin-bottom: 10px; font-size: 9px; letter-spacing: .15em; color: #ddd; }
.starter-overlay span span { display: block; margin-top: 7px; color: #ddd; font-size: 12px; }
.starter-featured .starter-overlay { padding: 28px; }
.starter-featured .starter-overlay strong { font-size: 26px; }
.starter-arrow { font-size: 17px; }
.text-link { border: 0; background: none; color: #b8b8b8; font-size: 12px; cursor: pointer; }
.text-link:hover { color: white; }
.made-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.made-card { aspect-ratio: 1.15; }
.made-overlay { display: block; }
.made-overlay span { display: block; margin-top: 7px; color: #ddd; font-size: 11px; }
.feature-list { display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid #303030; }
.feature-list > div { padding: 24px 20px 10px 0; }
.feature-list > div + div { padding-left: 20px; border-left: 1px solid #292929; }
.feature-list > div > span { color: #777; font-size: 10px; }
.feature-list h3 { margin: 38px 0 10px; font-size: 14px; font-weight: 500; }
.feature-list p { margin: 0; color: #8d8d8d; font-size: 12px; line-height: 1.6; }
.home-cta { max-width: 1500px; margin: 110px auto 0; padding: 100px 5.5% 120px; border-top: 1px solid #292929; text-align: center; }
.home-cta h2 { margin-bottom: 28px; }
.home-cta button { border: 0; border-radius: 999px; padding: 13px 20px; background: #ededed; color: #111; font-size: 12px; font-weight: 600; cursor: pointer; }
.home-cta button span { margin-left: 12px; }
.explore-page { padding: 48px 5% 80px; }
.explore-page-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 32px; }
.explore-page-head h1 { margin: 0; font-size: 32px; letter-spacing: -.04em; font-weight: 500; }
.explore-page-head p { margin: 8px 0 0; color: #999; font-size: 13px; }
@media (hover:hover) and (pointer:fine) { .starter-card:hover img,.made-card:hover img { transform: scale(1.035); } }
@media (max-width: 900px) { .feature-list { grid-template-columns: repeat(3,1fr); } .feature-list > div { border-bottom: 1px solid #292929; } .feature-list > div:nth-child(4) { padding-left: 0; border-left: 0; } }
@media (max-width: 720px) {
  .hero-intro { top: auto; bottom: calc(53% + 86px); width: calc(100% - 36px); }
  .hero-intro h1 { font-size: 30px; }
  .hero-intro p { font-size: 12px; max-width: 330px; }
  .hero-quick { top: calc(47% + 82px); width: calc(100% - 22px); gap: 6px; }
  .hero-quick button { font-size: 10px; padding: 7px 9px; }
  .home-section { padding: 80px 16px 0; }
  .create-section { padding-top: 32svh; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 22px; }
  .starter-grid { grid-template-columns: 1fr; gap: 8px; }
  .starter-small-grid { gap: 8px; }
  .starter-featured { min-height: 300px; }
  .starter-card:not(.starter-featured) { min-height: 160px; }
  .starter-overlay { padding: 14px; }
  .starter-overlay strong { font-size: 13px; }
  .made-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .made-card { aspect-ratio: .85; }
  .made-overlay { padding: 12px; }
  .made-overlay strong { font-size: 13px; }
  .feature-list { grid-template-columns: 1fr 1fr; }
  .feature-list > div:nth-child(n) { padding: 20px 14px 20px 0; border-left: 0; }
  .feature-list > div:nth-child(even) { padding-left: 16px; border-left: 1px solid #292929; }
  .feature-list h3 { margin-top: 22px; }
  .home-cta { margin-top: 80px; padding: 80px 16px 100px; }
  .explore-page { padding: 32px 14px 60px; }
}
/* Bring the first section into the final portion of the starfield transition. */
.home-content { margin-top: -55svh; background: linear-gradient(to bottom, transparent, #080808 55svh); }
.create-section { padding-top: 8svh; }
@media (max-width: 720px) { .create-section { padding-top: 8svh; } }

/* Composer controls and floating menus */
.landing-stage .composer-row > * { order: initial !important; }
.composer-row { position: relative; }
.composer-glass, .quantity-control { height: 34px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(65,65,65,.26); color: #e5e5e5; font-size: 12px; }
.composer-glass { display: flex; align-items: center; gap: 7px; padding: 0 11px; white-space: nowrap; cursor: pointer; }
.composer-glass:hover, .quantity-control button:hover:not(:disabled) { background: rgba(255,255,255,.1); }
.upload-control span:first-child { font-size: 18px; line-height: 1; }
.menu-anchor { position: relative; flex: 0 0 auto; }
.composer-menu { position: absolute; z-index: 30; bottom: calc(100% + 13px); left: 0; width: 230px; padding: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 17px; background: rgba(30,30,30,.9); box-shadow: 0 18px 55px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.06); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transform: translateY(5px) scale(.98); transform-origin: bottom left; transition: opacity 160ms ease, transform 160ms ease, visibility 160ms; }
.composer-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.composer-menu button { color: #eee; border: 0; background: transparent; cursor: pointer; font-size: 12px; }
.auto-row { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 9px 10px 14px; border-bottom: 1px solid rgba(255,255,255,.12) !important; }
.auto-toggle { width: 30px; height: 18px; border-radius: 20px; background: #555; padding: 2px; display: flex; align-items: center; }
.auto-toggle.on { background: #ddd; justify-content: flex-end; }
.auto-toggle i { display: block; width: 14px; height: 14px; border-radius: 50%; background: #111; }
.ratio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding-top: 8px; }
.ratio-grid button { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 8px; text-align: left; }
.ratio-grid button:hover, .quality-option:hover:not(:disabled) { background: rgba(255,255,255,.09); }
.ratio-indicator { width: 13px; height: 13px; border: 1px solid #858585; border-radius: 3px; }
.ratio-indicator.selected { background: #eee; border-color: #eee; box-shadow: inset 0 0 0 3px #333; }
.quality-menu { width: 270px; }
.quality-option { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 11px; border-radius: 10px; text-align: left; }
.quality-option strong, .quality-option small { display: block; }
.quality-option strong { font-size: 13px; font-weight: 500; }
.quality-option small { margin-top: 5px; color: #aaa; font-size: 11px; line-height: 1.35; }
.quality-option:disabled { opacity: .42; cursor: not-allowed; }
.quality-check { color: #eee; padding-left: 12px; }
.quantity-control { display: flex; align-items: center; flex: 0 0 auto; overflow: hidden; }
.quantity-control button { width: 28px; height: 32px; border: 0; background: transparent; color: #eee; font-size: 15px; cursor: pointer; }
.quantity-control button:disabled { opacity: .35; cursor: default; }
.quantity-control span { min-width: 17px; text-align: center; }
@media (max-width:720px) {
 .composer-row { gap: 3px !important; }
 .composer-glass { padding: 0 7px; gap: 3px; font-size: 11px; }
 .upload-label { display: none; }
 .quantity-control button { width: 22px; }
 .quantity-control span { min-width: 13px; }
 .mode-control { padding: 0 6px; }
 .mode-control span { display: none; }
 .model-control select { max-width: 72px; padding-left: 3px; padding-right: 13px; font-size: 10px; }
 .model-control .chevron { right: 2px; }
 .composer-row > [data-action='settings'] { width: 26px; }
 .quality-menu { left: auto; right: -100px; }
 .ratio-menu { left: -35px; }
}
@media (prefers-reduced-motion:reduce) { .composer-menu { transition: none; } }
.composer-menu { background: rgba(28,28,28,.97); }
@media (max-width:720px) {
 .composer-row > [data-action='settings'] { position: absolute; right: 11px; bottom: 58px; width: 30px; height: 30px; }
 .model-control { flex: 0 0 69px; }
 .model-control select { width: 69px; max-width: 69px; }
 .landing-stage .prompt-input, .studio-composer .prompt-input { padding-right: 44px; }
}
@media (max-width:720px) { .quality-menu { left: -75px; right: auto; } }
.pricing-page { min-height:100vh; background:#0b0b0b; padding:70px 36px 100px; }
.pricing-wrap { max-width:1370px; margin:auto; }
.pricing-head { text-align:center; margin-bottom:42px; }
.pricing-head h1 { margin:0; font-size:clamp(32px,4vw,48px); letter-spacing:-.045em; font-weight:600; }
.pricing-head p { color:#909090; font-size:14px; margin:12px 0 26px; }
.billing-switch,.pricing-tabs { display:inline-flex; gap:3px; background:#1c1c1c; padding:4px; border:1px solid #303030; border-radius:11px; }
.billing-switch button,.pricing-tabs button { border:0; border-radius:8px; padding:9px 18px; background:transparent; color:#a5a5a5; cursor:pointer; font-size:12px; }
.billing-switch button[aria-pressed=true],.pricing-tabs button[aria-selected=true] { background:#393939; color:#fff; }
.pricing-head .pricing-disclaimer,.pricing-disclaimer { color:#777; font-size:11px; margin:14px 0 0; }
.pricing-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.pricing-card { position:relative; padding:25px 22px; border:1px solid #303030; border-radius:16px; background:#161616; min-height:390px; }
.pricing-featured { border-color:#aaa; background:#1a1a1a; }
.plan-tag { position:absolute; right:14px; top:16px; border-radius:20px; padding:5px 8px; background:#333; color:#ddd; font-size:10px; }
.pricing-card h2 { margin:0 0 9px; font-size:21px; font-weight:550; }
.pricing-card > p { min-height:42px; color:#999; font-size:12px; line-height:1.5; }
.price-placeholder { margin-top:26px; font-size:27px; font-weight:550; letter-spacing:-.03em; }
.price-note { display:block; margin-top:5px; color:#888; font-size:11px; }
.plan-button { width:100%; margin:24px 0; height:40px; border:1px solid #444; border-radius:9px; background:#292929; cursor:pointer; font-size:12px; font-weight:600; }
.plan-button.primary { background:#eee; color:#111; border-color:#eee; }
.plan-features { padding-top:19px; border-top:1px solid #303030; color:#ccc; font-size:12px; }
.plan-features > span { display:block; color:#777; font-size:9px; letter-spacing:.09em; margin-bottom:16px; }
.plan-features div { display:flex; gap:9px; margin:13px 0; line-height:1.4; }
.plan-features b { color:#aaa; font-weight:400; }
.pricing-comparison { margin:100px auto 0; }
.pricing-comparison h2 { font-size:28px; font-weight:550; letter-spacing:-.035em; margin:0; }
.pricing-comparison > p { color:#888; font-size:13px; margin:12px 0 25px; }
.pricing-tabs { margin-bottom:20px; }
.compare-table { width:100%; overflow-x:auto; border-top:1px solid #333; }
.compare-row { min-width:650px; display:grid; grid-template-columns:2fr repeat(4,1fr); gap:10px; padding:18px 12px; border-bottom:1px solid #292929; color:#999; font-size:12px; }
.compare-row span:first-child { color:#ddd; }
.compare-header { color:#eee; font-weight:600; }
@media(max-width:1100px) { .pricing-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:720px) { .pricing-page { padding:44px 15px 70px; } .pricing-grid { grid-template-columns:1fr; } .pricing-card { min-height:0; } .pricing-comparison { margin-top:70px; } }
/* A quiet champagne starfield gives Pricing its own atmosphere. */
.pricing-page { position:relative; isolation:isolate; background:#080706; }
.pricing-space { position:fixed; inset:0 0 0 var(--sidebar); z-index:-1; pointer-events:none; background:#080706; }
.pricing-space canvas { opacity:.66; }
.pricing-card { background:rgba(20,19,17,.91); border-color:rgba(202,184,150,.19); }
.pricing-featured { background:rgba(31,28,23,.94); border-color:rgba(218,197,157,.64); }
.pricing-head h1 { color:#f5f0e7; }
.pricing-space.scene-fallback { background:radial-gradient(ellipse at 70% 30%,rgba(116,81,38,.19),transparent 65%),#080706; }
@media(max-width:720px) { .pricing-space { inset:60px 0 0; } }
/* Supplied navigation artwork. Keep labels and selected states quiet. */
.nav-item { min-height:40px; height:40px; gap:10px; }
.nav-icon.nav-artwork { width:28px; height:28px; flex-basis:28px; border:0; border-radius:8px; overflow:hidden; background:transparent; }
.nav-artwork img { width:28px; height:28px; object-fit:contain; }
.empty-workspace { padding:40px 32px; min-height:100vh; }
.empty-workspace h1 { margin:0; font-size:25px; letter-spacing:-.035em; font-weight:500; }
@media(max-width:720px) { .empty-workspace { padding:28px 18px; } }
/* Larger sidebar navigation for legibility. */
.nav-item { min-height:46px; height:46px; font-size:15px; gap:12px; }
.nav-icon.nav-artwork { width:34px; height:34px; flex-basis:34px; }
.nav-artwork img { width:34px; height:34px; }
.nav-icon:not(.nav-artwork) { width:25px; height:25px; flex-basis:25px; }
.nav-icon:not(.nav-artwork) svg { width:16px; height:16px; }
.nav-label { font-size:12px; }
/* Readable navigation and a compact desktop rail. */
.nav-item { height:52px; min-height:52px; font-size:16px; gap:12px; }
.nav-icon.nav-artwork { width:40px; height:40px; flex-basis:40px; }
.nav-artwork img { width:40px; height:40px; }
.nav-icon:not(.nav-artwork) { width:30px; height:30px; flex-basis:30px; }
.nav-icon:not(.nav-artwork) svg { width:18px; height:18px; }
.sidebar-toggle { width:32px; height:32px; flex:0 0 32px; }
.sidebar-toggle svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
.logo { font-size:17px; }
.plan-row { font-size:14px; min-height:40px; }
.account-button { font-size:14px; }
@media(min-width:721px) {
 body.nav-collapsed { --sidebar:70px; }
 .nav-collapsed .sidebar-head { padding:0 18px; }
 .nav-collapsed .sidebar-head .logo, .nav-collapsed .nav-label, .nav-collapsed .nav-item > span:not(.nav-icon), .nav-collapsed .sidebar-foot .plan-row, .nav-collapsed .sidebar-foot .account-button { display:none; }
 .nav-collapsed .nav-item { justify-content:center; padding:0; }
 .nav-collapsed .sidebar-foot { margin-top:auto; }
 .nav-collapsed .sidebar-toggle svg { transform:scaleX(-1); }
}
@media(max-width:720px) { .sidebar-head .logo span:last-child { display:inline; } }
/* Pricing and credits in the sidebar footer. */
.sidebar-foot { gap:7px; }
.pricing-nav { min-width:0; width:100%; min-height:58px; display:flex; align-items:center; gap:10px; padding:7px 10px; color:#f5f2fb; border:1px solid rgba(180,157,229,.45); border-radius:14px; background:linear-gradient(105deg,#17151e 0%,#171322 55%,#42315d 100%); box-shadow:inset 0 1px 1px rgba(255,255,255,.13); text-align:left; cursor:pointer; }
.pricing-nav:hover { border-color:rgba(214,197,248,.7); }
.pricing-crown { width:39px; height:39px; display:grid; place-items:center; flex:0 0 39px; border:1px solid rgba(193,174,229,.2); border-radius:10px; background:rgba(13,11,18,.6); box-shadow:inset 0 1px 5px rgba(200,178,255,.16); }
.pricing-crown svg { width:22px; height:22px; fill:#cbb1f4; }
.pricing-name { font-size:16px; font-weight:500; }
.pricing-badge { margin-left:auto; padding:7px 9px; border-radius:999px; background:rgba(20,15,29,.75); color:#d0b9f5; font-size:11px; font-weight:600; white-space:nowrap; }
.pricing-chevron { font-size:22px; line-height:1; color:#d8c9eb; }
.sidebar-foot .plan-row { min-height:50px; padding:0 14px; border:1px solid #303032; border-radius:12px; background:#171719; font-size:15px; }
.sidebar-foot .account-button { min-height:50px; border-radius:12px; font-size:15px; }
@media(min-width:721px) { .nav-collapsed .pricing-nav { justify-content:center; padding:6px; min-height:50px; } .nav-collapsed .pricing-name,.nav-collapsed .pricing-badge,.nav-collapsed .pricing-chevron { display:none; } }

/* The supplied Video artwork has extra transparent canvas; scale its visible mark to the shared icon size. */
.nav-item[data-route="video"] .nav-artwork img { transform:scale(1.4); }
/* Normalize the transparent originals to a 36px visible mark without clipping. */
.nav-item:is([data-route="home"],[data-route="explore"],[data-route="create"],[data-route="projects"],[data-route="brand-kits"],[data-route="library"]) .nav-artwork img { transform:translateY(.3px) scale(var(--nav-art-scale,1.27)); }
.nav-item[data-route="home"] { --nav-art-scale:1.14; }
.nav-item[data-route="explore"] { --nav-art-scale:1.25; }
.nav-item[data-route="brand-kits"] { --nav-art-scale:1.25; }

:root { --commerce-surface:var(--panel,#171717); --commerce-border:var(--line); --commerce-muted:var(--muted,#999); --commerce-radius:12px; }
.credit-estimate { padding:7px 8px 1px; color:var(--commerce-muted); font-size:10px; line-height:1.5; }
.generate-control:disabled,.plan-button:disabled { opacity:.4; cursor:not-allowed; }
.price-placeholder small { font-size:15px; font-weight:400; color:var(--commerce-muted); }
.topup-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:24px; }
.topup-grid .pricing-card { min-height:0; padding:24px; }
.topup-grid h3 { font-size:21px; font-weight:500; margin:0; }
.model-price-list>div,.credit-history>div { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 0; border-bottom:1px solid var(--commerce-border); font-size:14px; }
.model-price-list small,.credit-history small { display:block; margin-top:6px; color:var(--commerce-muted); font-size:12px; }
.model-price-list>div>span:last-child { text-align:right; color:var(--commerce-muted); }
.credits-page { max-width:1050px; padding:60px 40px; margin:auto; }
.credits-page h1 { font-size:36px; font-weight:500; letter-spacing:-.04em; }
.credits-page h2 { margin-top:48px; font-size:23px; font-weight:500; }
.credits-page>p { color:var(--commerce-muted); }
.credits-page .balance-total { font-size:48px; color:var(--text,#eee); }
.balance-total small { font-size:14px; color:var(--commerce-muted); }
.auth-page { max-width:560px; }
.auth-page form { margin-top:32px; }
.auth-page label { display:grid; gap:8px; margin-top:20px; color:var(--commerce-muted); font-size:14px; }
.auth-page input { width:100%; padding:14px; border:1px solid var(--commerce-border); border-radius:var(--commerce-radius); background:var(--commerce-surface); color:var(--text,#eee); }
.auth-page form>div { display:flex; gap:12px; }
.auth-page form p { font-size:12px; color:var(--commerce-muted); }
.auth-page [data-auth-error] { color:var(--text,#eee); line-height:1.5; }
.actual-outputs { padding:0 0 24px; }
.actual-outputs h2 { font-size:20px; font-weight:500; }
.actual-outputs article { padding:16px; margin:10px 0; border:1px solid var(--commerce-border); border-radius:var(--commerce-radius); }
.actual-outputs small { color:var(--commerce-muted); text-transform:capitalize; }
.actual-outputs a { display:block; margin-top:12px; color:var(--text,#eee); font-size:14px; }
@media(max-width:720px) { .topup-grid { grid-template-columns:1fr; } .credits-page { padding:28px 18px; } .model-price-list>div { align-items:start; } .credit-estimate { font-size:9px; } }


/* Pricing hierarchy: summary card, separate action, open feature list. */
.plan-column { position:relative; min-width:0; }
.pricing-grid { align-items:start; gap:16px; }
.plan-column .pricing-card { position:relative; min-height:300px; height:300px; padding:26px 24px; display:flex; flex-direction:column; border-radius:16px; }
.plan-column .pricing-card h2 { margin:0 0 7px; font-size:23px; font-weight:500; letter-spacing:-.025em; }
.plan-column .plan-credit-allowance { margin:0; color:var(--text); font-size:14px; line-height:1.5; }
.plan-column .plan-summary { margin:10px 0 0; color:var(--commerce-muted); font-size:13px; line-height:1.5; }
.plan-card-price { margin-top:auto; }
.plan-column .price-placeholder { margin:0; font-size:32px; line-height:1.2; font-weight:500; }
.plan-column .price-placeholder small { font-size:12px; }
.plan-column .price-note { display:block; margin-top:7px; font-size:11px; }
.plan-recommendation { position:absolute; z-index:1; bottom:calc(100% - 12px); left:0; right:0; height:36px; padding-top:6px; border:1px solid var(--commerce-border); border-radius:16px 16px 0 0; background:var(--commerce-surface); text-align:center; font-size:11px; color:var(--text); }
.plan-column .pricing-featured { z-index:2; }
.plan-column .plan-get { display:flex; justify-content:center; align-items:center; gap:10px; height:40px; margin:12px 0 28px; border-radius:999px; font-size:13px; font-weight:500; }
.plan-column .plan-get:disabled { opacity:.75; }
.plan-detail-list { padding:0 16px; margin:0; list-style:none; }
.plan-detail-list li { display:flex; align-items:baseline; gap:12px; min-height:36px; margin-bottom:6px; font-size:13px; line-height:1.65; color:var(--text); }
.plan-detail-list li>span:first-child { flex:0 0 14px; color:var(--commerce-muted); }
.plan-availability { margin-top:28px; text-align:center; }
@media(max-width:720px) { .pricing-grid { row-gap:40px; } .plan-column .pricing-card { height:260px; min-height:260px; } .plan-detail-list { padding:0 8px; } }

.plan-capacity-list li { display:flex; flex-direction:column; gap:1px; min-height:44px; margin-bottom:14px; }
.plan-capacity-list strong { font-size:18px; font-weight:500; font-variant-numeric:tabular-nums; }
.plan-capacity-list small { color:var(--commerce-muted); font-size:11px; }
.plan-capacity-list .capacity-unavailable { color:var(--commerce-muted); }
.capacity-note { max-width:760px; margin:28px auto; text-align:center; line-height:1.7; }
.plan-shared-tools { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:16px 26px; padding:24px 0; border-top:1px solid var(--commerce-border); border-bottom:1px solid var(--commerce-border); font-size:12px; color:var(--commerce-muted); }
.plan-shared-tools strong { color:var(--text); font-weight:500; }
.plan-capacity-list li>span:first-child { color:var(--text); flex:auto; } .plan-capacity-list .capacity-unavailable>span:first-child { color:var(--commerce-muted); }

.plan-capacity-list li { padding-bottom:12px; border-bottom:1px solid var(--commerce-border); }
.plan-capacity-list li:last-child { border-bottom:0; }
.pricing-topups { margin-top: 64px; }
.pricing-topups > p { margin-bottom: 0; }
.pricing-page .topup-grid { gap: 16px; margin-top: 22px; }
.pricing-page .topup-grid .pricing-card { padding: 26px; border-radius: 16px; }
.pricing-page .topup-grid .pricing-card > p { min-height: 0; margin: 10px 0 0; }
.pricing-page .topup-grid .plan-button { margin: 24px 0 0; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
@media (max-width: 720px) {
  .pricing-topups { margin-top: 50px; }
}
/* Clear purchase actions. */
.pricing-page .plan-column .plan-get,
.pricing-page .topup-grid .topup-action,
.credits-page .topup-grid .topup-action {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; border-radius: 999px; font-size: 15px; font-weight: 650;
  color: #f8f7f5; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.pricing-page .plan-column .plan-get.primary { background: #f1efeb; color: #171615; border-color: #fff; }
.pricing-page .plan-get span, .topup-action span { font-size: 20px; line-height: 1; }
.pricing-page .plan-get:hover, .topup-action:hover { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.55); }
.pricing-page .plan-get.primary:hover { background: #fff; }
.pricing-page .plan-get:focus-visible, .topup-action:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.pricing-page .topup-grid .topup-action { margin: 24px 0 0; }
@media (prefers-reduced-motion: reduce) { .pricing-page .plan-get, .topup-action { transition: none; } }
/* Neutral liquid glass: translucent body, polished rim, soft reflections. */
.pricing-page .pricing-card {
  isolation: isolate;
  overflow: hidden;
  color: #f6f7fa;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(240,246,255,.17), transparent 62%),
    linear-gradient(150deg, rgba(194,205,224,.12), rgba(111,123,145,.07) 45%, rgba(12,15,21,.25));
  border: 1px solid rgba(230,239,255,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), inset 0 -1px 0 rgba(255,255,255,.07), 0 16px 40px rgba(0,0,0,.22);
  -webkit-backdrop-filter: blur(18px) saturate(65%);
  backdrop-filter: blur(18px) saturate(65%);
}
.pricing-page .pricing-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.09), transparent 32%, transparent 72%, rgba(228,238,255,.05));
}
.pricing-page .pricing-featured {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(227,235,255,.27), transparent 65%),
    linear-gradient(150deg, rgba(190,207,242,.2), rgba(116,139,179,.12) 50%, rgba(24,31,45,.33));
  border-color: rgba(221,234,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(220,232,255,.15), 0 0 30px rgba(191,211,249,.14), 0 18px 45px rgba(0,0,0,.25);
}
.pricing-page .plan-recommendation {
  background: linear-gradient(120deg, rgba(208,222,250,.24), rgba(139,159,193,.12));
  border-color: rgba(221,234,255,.5);
  color: #f1f5ff;
  -webkit-backdrop-filter: blur(18px) saturate(65%);
  backdrop-filter: blur(18px) saturate(65%);
}
.pricing-page .plan-summary,
.pricing-page .price-note,
.pricing-page .topup-grid .pricing-card > p { color: #b9bec9; }
.pricing-page .plan-column .plan-get,
.pricing-page .topup-grid .topup-action {
  background: linear-gradient(160deg, rgba(236,242,255,.22), rgba(174,188,211,.12));
  border-color: rgba(230,239,255,.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 20px rgba(0,0,0,.15);
}
.pricing-page .plan-column .plan-get.primary { background: #eef2fa; color: #171b23; border-color: #fff; }
.pricing-page .plan-get:hover, .pricing-page .topup-action:hover { background-color: rgba(235,242,255,.13); border-color: rgba(255,255,255,.7); }
/* Keep composer pricing/status metadata out of the visible interface. */
.credit-estimate { display:none !important; }
/* Project workspace: restrained silver glass, clear hierarchy. */
.ws-page,.ws-project-page{min-height:100vh;padding:48px clamp(20px,4vw,64px);background:radial-gradient(ellipse at 75% 0,rgba(178,194,203,.075),transparent 55%),#0b0c0d}.ws-page svg,.ws-project-page svg,.ws-dialog svg,.ws-nav-recent svg{width:18px;height:18px;flex-shrink:0}.ws-page-head,.ws-project-heading,.ws-toolbar,.ws-project-toolbar,.ws-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.ws-page-head{margin-bottom:36px}.ws-page h1,.ws-project-page h1{font-size:32px;letter-spacing:-1.2px;font-weight:500;margin:10px 0}.ws-page p,.ws-project-page p{color:#92999d;font-size:13px;line-height:1.6}.ws-eyebrow{font-size:10px;letter-spacing:2px;color:#9da8af}.ws-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:10px 16px;border:1px solid #ffffff24;border-radius:12px;background:linear-gradient(135deg,#ffffff12,#ffffff04);color:#e9edef;cursor:pointer;font-size:12px;backdrop-filter:blur(20px)}.ws-primary{background:linear-gradient(140deg,#f3f6f7,#bbc5cb);color:#15191c;font-weight:600;border-color:#ffffff90;box-shadow:0 6px 24px #0004}.ws-button:hover{filter:brightness(1.15)}.ws-toolbar{flex-wrap:wrap;margin-bottom:22px}.ws-tabs{display:flex;gap:4px;flex-wrap:wrap}.ws-tabs button,.ws-folders button,.ws-text,.ws-breadcrumb button{background:transparent;border:0;color:#8f999f;padding:10px 13px;cursor:pointer;border-radius:10px;font-size:12px}.ws-tabs button[aria-pressed=true],.ws-folders button[aria-pressed=true]{background:#ffffff12;color:#fff;box-shadow:inset 0 0 0 1px #ffffff15}.ws-search{display:flex;align-items:center;gap:10px;border:1px solid #ffffff18;border-radius:11px;padding:10px 13px;margin-left:auto;color:#8d989e}.ws-search input{background:none;border:0;outline:none;color:#eee;width:180px;font:inherit;font-size:12px}.ws-toolbar select,.ws-context-bar select{background:#1a1e21;border:1px solid #ffffff18;border-radius:9px;padding:10px;color:#ccd3d7;font:inherit;font-size:12px}.ws-folders{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:26px}.ws-folders button{display:flex;align-items:center;gap:7px}.ws-project-grid,.ws-workflow-grid,.ws-brand-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ws-project-card,.ws-brand-card,.ws-asset-card{overflow:hidden;border:1px solid #ffffff24;border-radius:19px;background:linear-gradient(145deg,#ffffff12,#ffffff03);box-shadow:inset 0 1px #ffffff16,0 15px 40px #0003;backdrop-filter:blur(24px)}.ws-project-open,.ws-asset-open{padding:0;border:0;background:transparent;color:inherit;width:100%;text-align:left;cursor:pointer}.ws-project-cover{height:170px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 90%,#64758060,transparent 70%),#171c20}.ws-project-cover img{width:100%;height:100%;object-fit:cover}.ws-cover-art{display:grid;place-items:center;height:100%;color:#abbcc8}.ws-cover-art svg{width:44px;height:44px}.ws-cover-label{position:absolute;bottom:13px;left:16px;font-size:10px;color:#d0d8dd}.ws-project-info{padding:17px 17px 0}.ws-project-info h3,.ws-asset-card h3{font-size:14px;font-weight:500;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ws-project-info p{display:flex;justify-content:space-between;font-size:11px}.ws-card-footer{display:flex;justify-content:space-between;align-items:center;padding:0 12px 12px 17px;font-size:10px;color:#78858d}.ws-star{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:9px;background:transparent;color:#7c8a93;cursor:pointer}.ws-star.is-selected{color:#e6d8ae}.ws-star.is-selected svg{fill:#e6d8ae33}.ws-empty{text-align:center;padding:70px 20px}.ws-empty-symbol{width:58px;height:58px;border:1px solid #ffffff20;border-radius:18px;display:grid;place-items:center;margin:0 auto 22px;background:#ffffff08;color:#aab8c1}.ws-empty h2{font-size:23px;font-weight:400;letter-spacing:-.6px}.ws-empty p{margin:12px auto 25px;max-width:400px}.ws-storage-note{margin-top:40px;font-size:10px;color:#68737b}.ws-workflow-card{position:relative;height:290px;padding:0;text-align:left;overflow:hidden;border-radius:20px;border:1px solid #ffffff30;background:#202326;color:#fff;cursor:pointer}.ws-workflow-card img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.ws-workflow-card:hover img{transform:scale(1.04)}.ws-workflow-caption{position:absolute;inset:0;padding:24px;display:flex;flex-direction:column;justify-content:end;background:linear-gradient(transparent 10%,#000c)}.ws-workflow-caption span{font-size:9px;letter-spacing:2px;color:#c9d0d4}.ws-workflow-caption h2{font-size:21px;font-weight:500;margin:10px 0 0;letter-spacing:-.6px}.ws-workflow-caption p{color:#c5cbd0;margin-bottom:0;font-size:11px}.ws-workflow-arrow{position:absolute;right:19px;top:19px;width:32px;height:32px;display:grid;place-items:center;background:#ffffff18;border:1px solid #ffffff40;border-radius:50%;backdrop-filter:blur(12px)}.ws-toolbar-note{font-size:11px;color:#718089}.ws-section-head{margin:40px 0 15px}.ws-section-head h2{font-size:17px;font-weight:500}.ws-recent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ws-resume{display:flex;align-items:center;gap:12px;padding:16px;text-align:left;border:1px solid #ffffff20;border-radius:14px;background:#ffffff06;color:#e1e7ea;cursor:pointer}.ws-resume strong,.ws-resume small{display:block;font-size:12px;font-weight:400}.ws-resume small{font-size:10px;color:#84929b;margin-top:6px}.ws-resume>svg{margin-left:auto}.ws-nav-recent{display:flex;align-items:center;gap:10px;width:100%;padding:9px 13px;background:none;border:0;color:#7f8a91;text-align:left;font-size:11px;cursor:pointer}.ws-nav-recent span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ws-recent-nav{margin:22px 0}.ws-project-header{margin-bottom:28px}.ws-breadcrumb{display:flex;align-items:center;gap:12px;color:#677780;font-size:11px}.ws-breadcrumb button{padding:0}.ws-project-heading{margin-top:20px}.ws-project-heading [data-save-status]{font-size:10px;color:#84958f}.ws-project-actions{display:flex;gap:8px}.ws-project-toolbar{border-bottom:1px solid #ffffff13;padding-bottom:15px}.ws-project-results{padding-top:22px;padding-bottom:300px}.ws-composer-dock{position:fixed;z-index:15;bottom:22px;left:calc(var(--sidebar) + (100vw - var(--sidebar))/2);transform:translateX(-50%);width:min(860px,calc(100vw - var(--sidebar) - 50px));border:1px solid #ffffff30;border-radius:24px;background:linear-gradient(135deg,#8b989b35,#252d3055);backdrop-filter:blur(32px);box-shadow:0 20px 70px #0009,inset 0 1px #ffffff30}.ws-composer-dock .floating-composer{position:relative;left:auto;bottom:auto;top:auto;transform:none;width:100%;height:auto;min-height:150px;border:0;background:transparent;box-shadow:none;backdrop-filter:none;border-radius:0 0 24px 24px}.ws-context-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 15px;border-bottom:1px solid #ffffff12;gap:10px}.ws-context-bar label{font-size:10px;color:#9caab2}.ws-context-bar select{margin-left:8px;padding:6px;border:0;background:#ffffff08}.ws-context-bar .ws-button{min-height:30px;padding:5px 10px;background:none;border:0;font-size:11px}.ws-context-bar>div{display:flex}.ws-brief-label{display:flex;justify-content:space-between;align-items:center;padding:10px 18px 0;font-size:9px;letter-spacing:1.4px;color:#a8b5bd}.ws-brief-label .ws-button{padding:0;min-height:24px;border:0;background:none;font-size:10px;color:#b9c5cc;letter-spacing:0}.ws-composer-dock .prompt-input{height:72px;overflow:auto;font-size:14px}.ws-generate.generate-control{width:auto;min-width:112px;border-radius:12px;gap:8px;display:flex;padding:0 13px;flex-shrink:0;font-size:12px;font-weight:600}.ws-generate svg{width:15px}.ws-brief-steps{display:flex;justify-content:center;gap:25px;font-size:11px;color:#8b989f}.ws-brief-steps b{font-weight:400;margin-right:6px;color:#ced9df}.ws-asset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.ws-asset-card{position:relative}.ws-asset-preview{height:200px;position:relative;background:#13191c;display:grid;place-items:center}.ws-asset-preview img,.ws-asset-preview video{width:100%;height:100%;object-fit:cover}.ws-asset-open>div:last-child{padding:15px}.ws-asset-open p{font-size:10px;margin:7px 0 0}.ws-asset-card>.ws-star{position:absolute;right:8px;top:8px;background:#0008;backdrop-filter:blur(10px)}.ws-video-label{position:absolute;bottom:10px;left:10px;display:flex;align-items:center;gap:7px;font-size:10px}.ws-dialog{color:#e8edef;width:min(520px,calc(100vw - 30px));max-height:90vh;overflow:auto;padding:24px;border:1px solid #ffffff35;border-radius:23px;background:linear-gradient(135deg,#30383df5,#13191df5);box-shadow:0 30px 100px #000b;backdrop-filter:blur(32px)}.ws-dialog::backdrop{background:#0009;backdrop-filter:blur(8px)}.ws-dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px}.ws-dialog header h2{font-size:19px;font-weight:500;margin:0}.ws-dialog .ws-icon{padding:6px;min-height:32px}.ws-dialog label{display:flex;flex-direction:column;gap:9px;color:#b5c1c8;font-size:11px;margin-bottom:18px}.ws-dialog input,.ws-dialog select,.ws-dialog textarea{width:100%;background:#0003;border:1px solid #ffffff25;border-radius:10px;padding:12px;color:#eef3f5;font:inherit;font-size:13px;outline-color:#d4e0e6}.ws-dialog textarea{min-height:100px;resize:vertical}.ws-form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.ws-form-note{color:#8f9da6;font-size:11px}.ws-dialog-actions{display:flex;justify-content:end;gap:10px;margin-top:25px}.ws-dialog-actions button[type=button]{background:none}.ws-dialog-wide{width:min(1050px,calc(100vw - 30px))}.ws-asset-detail{display:grid;grid-template-columns:1.5fr 1fr;gap:25px}.ws-detail-media{background:#080b0d;border-radius:14px;min-height:320px;display:grid;place-items:center;overflow:hidden}.ws-detail-media img,.ws-detail-media video{max-width:100%;max-height:65vh}.ws-asset-detail aside{padding:10px}.ws-asset-detail h3{font-size:21px;overflow-wrap:anywhere}.ws-asset-detail p,.ws-asset-detail dd{color:#b4c0c7;font-size:12px;line-height:1.6}.ws-asset-detail dt{margin-top:20px;font-size:10px;color:#788b96}.ws-asset-detail dd{margin:7px 0;white-space:pre-wrap}.ws-detail-actions{display:grid;gap:9px;margin-top:25px}.ws-pick-asset{padding:0;border:1px solid #ffffff20;border-radius:12px;overflow:hidden;background:#ffffff08;color:#ccd8df;text-align:left;cursor:pointer}.ws-pick-asset img{width:100%;height:140px;object-fit:cover}.ws-pick-asset span{display:block;padding:10px;font-size:11px}.ws-brand-card{padding:24px}.ws-brand-mark{width:50px;height:50px;display:grid;place-items:center;border:1px solid #ffffff40;border-radius:15px;background:#ffffff15;font-size:22px}.ws-brand-card h2{font-size:20px;font-weight:500}.ws-brand-card>span{display:block;color:#81939e;font-size:12px;line-height:1.6;min-height:50px;margin-bottom:20px;white-space:pre-wrap}.ws-brand-choices{display:grid;gap:10px}.ws-archive-banner,.ws-job-list article{padding:16px;border:1px solid #ffffff20;border-radius:12px;font-size:12px;color:#aebcc5;margin:15px 0}.ws-job-list article{display:flex;align-items:center;gap:15px}.ws-status-dot{width:7px;height:7px;border-radius:50%;background:#b9d0d0}.ws-job-list p{margin:4px 0}.ws-text{display:flex;align-items:center;gap:8px}
@media(min-width:1500px){.ws-workflow-card{height:350px}}@media(max-width:1100px){.ws-workflow-grid,.ws-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ws-recent-grid{grid-template-columns:1fr}.ws-project-heading{align-items:start;flex-direction:column}.ws-toolbar-note{display:none}}@media(max-width:720px){.ws-page,.ws-project-page{padding:85px 18px 25px}.ws-page-head{align-items:start;flex-direction:column;gap:14px}.ws-page h1{font-size:29px}.ws-workflow-grid,.ws-project-grid,.ws-brand-grid{grid-template-columns:1fr 1fr;gap:10px}.ws-workflow-card{height:240px}.ws-workflow-caption{padding:15px}.ws-workflow-caption h2{font-size:17px}.ws-workflow-caption p{font-size:10px}.ws-search{margin:0;width:100%}.ws-search input{width:100%}.ws-asset-grid{grid-template-columns:1fr 1fr}.ws-composer-dock{left:50%;width:calc(100vw - 24px);bottom:12px}.ws-project-actions{flex-wrap:wrap}.ws-project-actions .ws-button{font-size:10px;padding:8px 11px}.ws-brief-steps{gap:10px;font-size:9px}.ws-project-results{padding-bottom:330px}.ws-composer-dock .composer-row{height:auto;flex-wrap:wrap}.ws-composer-dock .model-control{max-width:130px}.ws-generate.generate-control{margin-left:auto;min-width:95px}.ws-asset-detail{grid-template-columns:1fr}.ws-detail-media{min-height:180px}.ws-form-row{grid-template-columns:1fr}.ws-dialog{padding:18px}.ws-context-bar{padding:8px}.ws-context-bar select{max-width:150px}.ws-project-cover{height:130px}.ws-project-info{padding:12px 12px 0}.ws-project-info h3{font-size:12px}.ws-project-info p{font-size:9px}.ws-asset-preview{height:160px}.ws-asset-card h3{font-size:12px}}

.sidebar-foot .account-credits-label{display:inline-flex;align-items:center;gap:8px;line-height:1}
.sidebar-foot .account-credits-label svg{display:block;width:16px;height:16px;flex:none;color:inherit}

.startup-state{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:32px;text-align:center;gap:16px}.startup-state h1{font-size:28px;font-weight:500;letter-spacing:-.6px;margin:0}.startup-state p{max-width:420px;margin:0;color:var(--muted);line-height:1.65;font-size:14px}

/* GPT Image space miniatures: transparent artwork, consistent optical size. */
.sidebar .nav-icon.nav-space-art,.sidebar .pricing-crown.nav-space-art{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}
.sidebar .nav-space-art img{display:block;width:44px;height:44px;object-fit:contain;transform:none;transition:transform .18s ease}
@media(hover:hover) and (pointer:fine){.sidebar :is(.nav-item,.pricing-nav):hover .nav-space-art img{transform:translateY(-1px)}}
@media(prefers-reduced-motion:reduce){.sidebar .nav-space-art img{transition:none;transform:none!important}}

/* Medium-weight labels balance the soft, dimensional navigation icons. */
.sidebar .nav-item{color:#c9cad1}
.sidebar .nav-text,.sidebar .pricing-name{display:flex;align-items:center;align-self:center;min-height:40px;font-family:var(--sans);font-size:15px;font-weight:550;letter-spacing:-.02em;line-height:1.1}
.sidebar .nav-item.is-active{color:#f4f3f8}
.sidebar .nav-item.is-active .nav-text{font-weight:600}
.sidebar .nav-item:hover{color:#fff}
