/* PixKit 03 — porcelain surfaces, polished graphite and quiet depth. */
:root {
  --header-height: 86px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
html { overflow-x: clip; scrollbar-gutter: stable; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  --bg: #101114; --panel: #191b20; --panel2: #23262c; --ink: #f3f4f6;
  --muted: #a2a7b2; --line: #ffffff12; --button: #f4f5f7; --buttonInk: #181a1f;
  --raised: linear-gradient(150deg, #2c2f36, #1a1c21 75%);
  --well: #101216; --edge: #ffffff14;
  --surface-shadow: 0 2px 3px #0002, 0 12px 30px -15px #0009;
  --card-shadow: 0 2px 4px #0003, 0 20px 40px -22px #000b;
  --inset: inset 0 1px 0 #ffffff0c;
  --header-surface: #14161bec;
  background: var(--bg); overflow-x: clip;
}
body.light {
  --bg: #f8f9fb; --panel: #fff; --panel2: #eff1f4; --ink: #1b1e24;
  --muted: #737b88; --line: #e7e9ee; --button: #24262c; --buttonInk: #fff;
  --raised: linear-gradient(155deg, #fff 18%, #f3f5f8 100%);
  --well: #f0f2f5; --edge: #fff;
  --surface-shadow: 0 2px 3px #202a3c04, 0 9px 22px -13px #27334f26;
  --card-shadow: 0 2px 4px #202a3c08, 0 18px 32px -22px #27334f45;
  --inset: inset 0 1px 0 #fff;
  --header-surface: #ffffffeb;
  background: radial-gradient(ellipse 80% 420px at 50% 80px, #fff, transparent), var(--bg);
}
body, .topbar, .bottom-nav, .panel, .modal { transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
button, a { transition: background .22s, border-color .22s, box-shadow .28s, opacity .22s, transform .35s var(--ease-out); }
button:active { transform: translateY(1px) scale(.98); }
button:disabled { transform: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid #7e8798; outline-offset: 4px; }
#main:focus { outline: none; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 12px 20px; z-index: 150; background: var(--ink); color: var(--bg); border-radius: 12px; }
.skip-link:focus { top: 12px; }

/* The only desktop navigation bar lives at the top, outside page motion. */
.sidebar { display: none !important; }
.shell { margin-left: 0; padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px)); }
.topbar {
  position: fixed; inset: 0 0 auto; height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 32px 0; display: block; z-index: 70;
  transform: none; animation: none; border-bottom: 1px solid var(--line);
  background: var(--header-surface); backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2); box-shadow: 0 4px 20px #101b3003;
}
.topbar-inner { height: 100%; max-width: 1470px; margin: auto; display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar-left { gap: 11px; flex-shrink: 0; }
.header-wordmark { display: inline-flex; font-size: 33px; font-weight: 730; letter-spacing: -1.9px; }
.header-edition { border-left: 1px solid var(--line); padding-left: 12px; max-width: 66px; font-size: 8px; letter-spacing: 1.1px; line-height: 1.7; color: var(--muted); }
.back-button { width: 32px; height: 36px; border: 0; background: transparent !important; box-shadow: none !important; }
.topnav { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 100px; background: var(--well); box-shadow: inset 0 1px 2px #101a2c08; margin: 0 auto; flex-shrink: 0; }
.topnav-item { height: 39px; padding: 0 15px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 40px; font-size: 12px; font-weight: 520; color: var(--muted); white-space: nowrap; border: 1px solid transparent; }
.topnav-item .icon { width: 15px; height: 15px; }
.topnav-item:hover { color: var(--ink); }
.topnav-item.active { background: var(--raised); color: var(--ink); border-color: var(--edge); box-shadow: 0 3px 7px #15203312, var(--inset); }
.header-actions { margin-left: 0; gap: 9px; flex-shrink: 0; }
.iconbtn, .circle-button, .avatar { background: var(--raised); border: 1px solid var(--edge); box-shadow: var(--surface-shadow), var(--inset); }
.header-search, .header-actions>.avatar { height: 38px; width: 38px; border-radius: 50%; }
.theme-toggle { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 11px 0 5px; background: var(--raised); border: 1px solid var(--edge); box-shadow: var(--surface-shadow), var(--inset); border-radius: 100px; }
.theme-glyph { height: 27px; width: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--well); box-shadow: inset 0 1px 2px #00000008; }
.theme-glyph .icon { width: 15px; height: 15px; }
.theme-label { font-size: 10px; font-weight: 550; }
.balance { border: 1px solid var(--edge); background: var(--raised); height: 38px; padding: 5px 5px 5px 11px; font-size: 11px; box-shadow: var(--surface-shadow), var(--inset); }
.balance-plus { height: 25px; width: 25px; background: linear-gradient(145deg, #4c5059, #1a1b21); color: #fff; box-shadow: inset 0 1px 0 #ffffff40, 0 2px 4px #0003; }
.balance>.icon { width: 14px; }
.desktop-create { display: inline-flex; gap: 7px; align-items: center; justify-content: center; flex-shrink: 0; height: 42px; padding: 0 15px; border-radius: 15px; color: #fff; font-size: 12px; font-weight: 550; background: linear-gradient(155deg, #565962 0%, #24262c 50%, #111217 100%); border: 1px solid #50535d; box-shadow: inset 0 1px 1px #ffffff45, 0 2px 3px #0002, 0 6px 12px -6px #0006; }
.desktop-create .icon { width: 19px; height: 19px; }
.content { max-width: 1420px; padding: 40px 38px 55px; animation: none; transform: none; }
.route-enter { animation: pageFade .32s ease both; }
/* Opacity only: a transformed ancestor would trap mobile fixed action bars. */
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }
.eyebrow { font-size: 10px; letter-spacing: 1.8px; }
.page-title p, .discovery-head p { font-size: 13px; line-height: 1.7; }
.footer { color: var(--muted); font-size: 10px; padding-top: 26px; }
.footer button { font-size: 10px; }

/* Sculpted controls, built from lightweight native shapes. */
.object-icon { display: block; position: relative; height: 78px; width: 82px; flex-shrink: 0; perspective: 400px; }
.object-icon::after { content: ''; position: absolute; bottom: 2px; left: 14px; width: 57px; height: 9px; border-radius: 50%; background: #12203822; filter: blur(5px); transform: rotate(-8deg); }
.object-layer { display: grid; place-items: center; position: absolute; border-radius: 13px; height: 55px; width: 51px; left: 15px; top: 8px; transition: transform .6s var(--ease-out); }
.object-layer.back { background: linear-gradient(135deg, #fff, #b8beca 65%, #e6eaf1); border: 1px solid #ffffffb0; box-shadow: 2px 3px 0 #8f96a6, 5px 8px 12px #16243822; transform: rotate(-18deg) translate(-4px, -3px); }
.object-layer.front { z-index: 2; background: linear-gradient(145deg, #626773 0%, #292d35 30%, #14171d 67%, #434855); border: 1px solid #ffffff55; box-shadow: inset 1px 1px 2px #ffffff48, 2px 3px 0 #090b10, 4px 8px 10px #16243835; transform: rotate(9deg); color: #fff; }
.object-layer.front .icon { width: 28px; height: 28px; stroke-width: 1.3; filter: drop-shadow(0 1px 1px #0008); }
.object-spark { position: absolute; z-index: 3; top: -2px; right: 0; font-style: normal; font-size: 29px; color: #e5e9ef; text-shadow: 1px 2px 0 #9ba3b4, 2px 4px 5px #18223930; transform: rotate(12deg); }
.object-video .object-layer { width: 60px; height: 44px; top: 15px; left: 10px; border-radius: 12px; }
.object-video .front { transform: rotate(-10deg); }
.object-video .back { transform: rotate(10deg) translate(1px, -6px); }
.film-dots { position: absolute; inset: 5px 7px auto; height: 3px; background: repeating-linear-gradient(90deg, #ffffff7a 0 4px, transparent 4px 10px); border-radius: 3px; }
.play-triangle { width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 12px solid #f7f8fb; margin-left: 4px; filter: drop-shadow(0 2px 2px #0007); }
.object-video .object-spark { right: -2px; top: 0; font-size: 24px; }
.object-audio .disc { height: 59px; width: 59px; left: 2px; top: 3px; border-radius: 50%; background: repeating-radial-gradient(circle at center, #373d48 0 1px, #171b24 2px 4px); border: 1px solid #777f8d; box-shadow: 2px 3px 0 #07090d, 4px 6px 10px #10182830; transform: rotate(-15deg); }
.object-audio .disc:after { content: ''; width: 13px; height: 13px; border-radius: 50%; background: linear-gradient(120deg, #fff, #a8b1c2); box-shadow: inset 0 0 0 4px #c7cedb; }
.object-audio .front { left: 22px; top: 16px; width: 45px; height: 48px; transform: rotate(12deg); background: linear-gradient(140deg, #fff, #ccd3de 44%, #8b96a8); color: #333a47; box-shadow: inset 1px 1px 2px #fff, 2px 3px 0 #8c96a7, 4px 8px 10px #16243822; }
.sound-bar { position: absolute; z-index: 3; height: 12px; width: 3px; background: linear-gradient(#d1d9e7, #788396); border-radius: 3px; right: 2px; top: 26px; transform: rotate(12deg); box-shadow: 1px 1px 0 #ffffff70; }
.sound-bar.b2 { right: -4px; top: 20px; height: 22px; }
.sound-bar.b3 { right: -10px; top: 28px; height: 10px; }
.object-editor .front { background: linear-gradient(140deg, #fff 5%, #d7dde6 50%, #adb7c7); box-shadow: inset 1px 1px 2px #fff, 2px 3px 0 #8c96a7, 4px 8px 10px #16243822; }
.object-editor .back { background: linear-gradient(145deg, #4a4f5c, #20242d); border-color: #888e9a; }
.object-slider { position: absolute; top: 12px; width: 3px; height: 30px; border-radius: 4px; background: #6a7485; box-shadow: 1px 0 0 #ffffff8c; }
.object-slider:after { content: ''; width: 9px; height: 9px; position: absolute; left: -3px; top: 6px; background: linear-gradient(135deg,#5c6575,#1b202a); border-radius: 3px; box-shadow: inset 0 1px 0 #ffffff50, 0 2px 3px #0005; }
.s1 { left: 13px; }.s2 { left: 25px; }.s3 { left: 37px; }.s2:after { top: 17px; }.s3:after { top: 3px; }

/* Discovery: airy white space with real photographs and controlled depth. */
.discovery-head { min-height: 140px; margin-bottom: 29px; }
.discovery-head h1 { font-size: clamp(35px, 3.3vw, 49px); line-height: 1.08; letter-spacing: -1.9px; font-weight: 580; }
.discovery-head h1 em { font-size: 1.05em; color: #7b8390; letter-spacing: -1.5px; }
.discovery-head .eyebrow { display: inline-flex; align-items: center; gap: 7px; background: var(--panel); padding: 6px 10px; border: 1px solid var(--line); border-radius: 40px; font-size: 8px; letter-spacing: 1.2px; margin-bottom: 17px; box-shadow: var(--inset); }
.discovery-head .eyebrow:before { content: '✦'; color: var(--ink); font-size: 12px; letter-spacing: 0; }
.discovery-head p { margin-top: 12px; }
.discovery-sculpture { position: relative; width: 166px; height: 143px; flex-shrink: 0; margin: 0 45px 0 25px; }
.sculpture-orb { position: absolute; left: 44px; top: 17px; width: 87px; height: 87px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(ellipse at 30% 23%, #fff 0%, #e2e7ef 15%, #939ead 35%, #353e4d 53%, #111722 65%, #9ba8ba 88%, #eff3fa); box-shadow: inset -3px -5px 5px #fff9, 8px 15px 15px -10px #0006; transform: rotate(-15deg); }
.sculpture-orb>span { font-size: 53px; color: #f2f5fc; text-shadow: 2px 3px 0 #657185, 3px 5px 7px #0005; transform: rotate(15deg); margin-top: -6px; }
.sculpture-ring { position: absolute; z-index: 2; width: 158px; height: 61px; top: 35px; left: 7px; border: 2px solid #b3bdcc; border-bottom-color: #667284; border-right-color: #fff; border-radius: 50%; transform: rotate(-29deg); box-shadow: 0 1px 0 #fff8, inset 0 1px 0 #ffffff80; }
.sculpture-satellite { position: absolute; z-index: 3; width: 19px; height: 19px; top: 23px; right: 9px; border-radius: 50%; background: radial-gradient(circle at 28% 25%, #fff, #cad2df 30%, #4e5c72 65%, #202838); box-shadow: 1px 3px 3px #0003; }
.sculpture-floor { position: absolute; left: 45px; bottom: 13px; width: 90px; height: 10px; border-radius: 50%; background: #17264122; filter: blur(7px); }
.feature-grid { gap: 18px; height: 380px; }
.feature-main, .feature-small { border-radius: 24px; box-shadow: var(--card-shadow); border: 1px solid #ffffff2b; }
.feature-main:before, .feature-small:before { content: ''; pointer-events: none; position: absolute; inset: 0; border-radius: inherit; border: 1px solid #ffffff24; z-index: 4; }
.feature-side { gap: 18px; }
.feature-copy { padding: 32px; }
.feature-copy>strong { font-size: 40px; }
.feature-copy>strong em { font-size: 44px; }
.feature-copy>span:not(.tag):not(.feature-cta) { font-size: 11px; color: #e1e2e7; }
.feature-cta { background: linear-gradient(160deg, #fff, #dfe3e9); border: 1px solid #ffffffd9; box-shadow: inset 0 1px 0 #fff, 0 3px 0 #9ca3ae, 0 7px 17px #0004; border-radius: 12px; font-size: 12px; padding: 12px 17px; gap: 18px; transition: transform .35s var(--ease-out), box-shadow .35s; }
.feature-small-copy { inset: auto 25px 24px; }
.feature-small-copy strong { font-size: 24px; }
.feature-small-copy small { font-size: 9px; letter-spacing: 1.5px; }
.feature-small-copy>.icon { width: 32px; height: 32px; padding: 7px; border: 1px solid #ffffff40; border-radius: 50%; background: #ffffff15; backdrop-filter: blur(15px); }
.creation-shortcuts { display: grid; gap: 15px; margin: 24px 0 34px; border: 0; border-radius: 0; background: transparent; overflow: visible; }
.creation-shortcuts>button { display: flex; gap: 12px; position: relative; padding: 19px 20px 19px 14px; min-height: 112px; background: var(--raised); border: 1px solid var(--edge); border-radius: 22px; box-shadow: var(--card-shadow), var(--inset); overflow: visible; text-align: left; }
.creation-shortcuts>button:last-child { border-right: 1px solid var(--edge); }
.creation-shortcuts>button:hover { background: var(--raised); }
.creation-label { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.creation-label strong { font-size: 15px; font-weight: 600; letter-spacing: -.2px; }
.creation-label small { font-size: 10px; color: var(--muted); white-space: nowrap; }
.shortcut-plus { height: 23px; width: 23px; flex-shrink: 0; position: absolute; top: 13px; right: 13px; border-radius: 50%; color: var(--muted); display: grid; place-items: center; background: var(--well); box-shadow: inset 0 1px 2px #00000005; }
.shortcut-plus .icon { width: 12px; height: 12px; }
.feed-heading { margin-top: 42px; }
.feed-heading h2 { font-size: 27px; letter-spacing: -.8px; }
.feed-heading>div>span { font-size: 11px; }
.category-rail { gap: 9px; padding: 4px 2px 7px; margin: 20px -2px; }
.chip { border-radius: 100px; padding: 9px 17px; font-size: 11px; border-color: var(--line); background: var(--panel); box-shadow: 0 2px 3px #1c263a03; }
.chip.active { background: linear-gradient(145deg, #555963, #202329); color: #fff; border-color: #565b66; box-shadow: inset 0 1px 0 #ffffff26, 0 3px 7px #11182720; }
.gallery.masonry { column-gap: 18px; }
.look-card { margin-bottom: 18px; border-radius: 20px; box-shadow: var(--card-shadow); animation: none; border: 1px solid #00000006; transition: transform .45s var(--ease-out), box-shadow .4s; }
.look-image { aspect-ratio: 3/4.05; }
.look-tall .look-image { aspect-ratio: 3/4.8; }
.look-image:after { content: ''; pointer-events: none; position: absolute; inset: 0; border: 1px solid #ffffff22; border-radius: 19px; }
.look-shade { background: linear-gradient(0deg, #090b13e6 0%, #090b1350 28%, transparent 58%, #090b1329); }
.look-caption { left: 18px; right: 18px; bottom: 19px; }
.look-caption>strong { font-size: 19px; line-height: 1.23; letter-spacing: -.3px; font-weight: 550; }
.look-model { font-size: 7px; letter-spacing: 1.5px; color: #e3e6ed; }
.look-card-action { opacity: 1; max-height: 35px; transform: none; font-size: 10px; margin-top: 12px; color: #f4f5f9; }
.look-card-action>.icon { border-radius: 50%; height: 22px; width: 22px; padding: 5px; background: #ffffff20; border: 1px solid #ffffff30; }
.look-category { border-radius: 100px; padding: 5px 9px; font-size: 9px; background: #0e142d30; }
.favorite { width: 34px; height: 34px; right: 11px; top: 11px; background: #ffffff25; border-color: #ffffff45; box-shadow: inset 0 1px 0 #ffffff30, 0 3px 8px #0002; }
.favorite.on { background: #f4f5f8e6; color: #272b33; border-color: #fff; }
.all-looks { border-radius: 15px; background: var(--raised); box-shadow: var(--surface-shadow), var(--inset); font-size: 12px; border-color: var(--edge); padding: 19px; }
.collection-tiles>button { border-radius: 17px; padding: 10px; background: var(--raised); border-color: var(--edge); box-shadow: var(--surface-shadow), var(--inset); }
.collection-tiles img { width: 52px; height: 59px; border-radius: 11px; box-shadow: 0 4px 7px #0002; }
.collection-tiles span { font-size: 12px; }
.collection-tiles>button.selected { border-color: #9099aa; }
.search-field { border-radius: 14px; background: var(--panel); box-shadow: inset 0 1px 3px #1b263008; }
.search-field input { font-size: 12px; }
.resume-draft { background: var(--raised); box-shadow: var(--surface-shadow), var(--inset); border-color: var(--edge); border-radius: 17px; }
.agent-banner { background: var(--raised); border-color: var(--edge); border-radius: 26px; box-shadow: var(--card-shadow), var(--inset); padding: 33px; }
.agent-banner-art img { border: 4px solid var(--panel); box-shadow: 0 3px 4px #0002, 6px 18px 25px -9px #14203e40; border-radius: 18px; transition: transform .6s var(--ease-out); }
.agent-banner h2 { font-size: 32px; }
.agent-banner p { font-size: 12px; }
.model-discovery .model-symbol { border-color: var(--edge); background: var(--raised); box-shadow: var(--surface-shadow), var(--inset); }

/* Consistent elevation across the working screens. */
.btn { min-height: 46px; padding: 12px 19px; border-radius: 14px; font-size: 12px; background: var(--raised); box-shadow: var(--surface-shadow), var(--inset); border-color: var(--edge); }
.btn.primary { color: #fff; border: 1px solid #555b65; background: linear-gradient(160deg, #555b66 0%, #282c34 43%, #14171e 100%); box-shadow: inset 0 1px 1px #ffffff40, inset 0 -1px 0 #050810, 0 2px 3px #0002, 0 9px 15px -9px #11182b7a; }
.btn.primary:hover { opacity: 1; background: linear-gradient(160deg, #656d7a, #353b46 43%, #1b202a); }
.btn.primary:active { box-shadow: inset 0 1px 5px #0006, 0 2px 3px #0002; }
.btn.subtle { box-shadow: none; background: none; border: 0; }
.btn.small { border-radius: 10px; }
.panel, .result-area, .editor-stage-panel, .model-card { border-radius: 22px; background: var(--panel); border-color: var(--edge); box-shadow: var(--card-shadow), var(--inset); }
.panel { padding: 27px; }
.model-card { padding: 24px; }
.model-card .model-symbol { border: 1px solid var(--edge); background: var(--raised); box-shadow: var(--surface-shadow), var(--inset); border-radius: 13px; }
.model-card h3 { font-size: 15px; }
.model-card p { font-size: 12px; }
.mode-tabs { background: var(--well); border-color: transparent; border-radius: 16px; padding: 5px; box-shadow: inset 0 1px 3px #00000008; }
.mode-tabs>button { padding: 11px 8px; border-radius: 12px; font-size: 12px; border: 1px solid transparent; }
.mode-tabs>button.active { background: var(--raised); border-color: var(--edge); box-shadow: 0 3px 7px #14203015, var(--inset); }
.textarea-wrap { border-radius: 16px; box-shadow: inset 0 1px 3px #10172c06; }
input, textarea, select { border-radius: 13px; }
.upload-tile { border-color: #a4adbd70; border-radius: 17px; background: var(--raised); min-height: 118px; }
.upload-tile>.icon { box-sizing: content-box; height: 19px; width: 19px; padding: 12px; border-radius: 13px; background: var(--raised); box-shadow: var(--surface-shadow), var(--inset); border: 1px solid var(--edge); color: var(--ink); margin-bottom: 7px; }
.upload-tile strong { font-size: 12px; }.upload-tile small { color: var(--muted); }
.parameter-list { background: var(--panel); border-radius: 17px; box-shadow: var(--surface-shadow); border-color: var(--line); }
.parameter-list>button, .parameter-switch { min-height: 70px; padding: 15px 16px; }
.parameter-list>button:last-child, .parameter-switch:last-child { border-bottom: 0; }
.parameter-list strong { font-size: 13px; }.parameter-list small { font-size: 10px; }
.parameter-icon { width: 33px; height: 33px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--raised); box-shadow: var(--surface-shadow), var(--inset); border: 1px solid var(--edge); }
.parameter-icon .icon { width: 17px; height: 17px; }
.switch { background: var(--well); border: 1px solid var(--line); box-shadow: inset 0 1px 3px #0002; }
.switch.on { background: linear-gradient(145deg, #606977, #242a35); }
.switch:after { box-shadow: 0 1px 4px #0005, inset 0 1px 0 #fff; }
.result-area { top: calc(var(--header-height) + 24px); }
.studio-empty { background: radial-gradient(ellipse at 50% 30%, #93a5c21a, transparent 65%); }
.empty-collage img { border: 5px solid var(--panel); border-radius: 17px; box-shadow: 0 5px 5px #101c3012, 0 25px 35px -18px #1f2e4c70; }
.generate-button { min-height: 53px; border-radius: 15px; }
.look-showcase-image { padding: 19px; border-radius: 28px; background: linear-gradient(145deg, var(--panel), var(--panel2)); border: 1px solid var(--edge); box-shadow: var(--card-shadow), var(--inset); }
.look-showcase-image>img { border-radius: 16px; filter: drop-shadow(0 9px 9px #11182720); object-fit: contain; }
.look-frame-picker>button { border-radius: 13px; background: var(--raised); box-shadow: var(--surface-shadow), var(--inset); border-color: var(--edge); }
.look-frame-picker>button.selected { border-color: #8b97aa; }
.look-steps i { background: var(--raised); box-shadow: var(--surface-shadow), var(--inset); border: 1px solid var(--edge); }
.look-cta>.primary { min-height: 53px; }
.image-arrow { border-radius: 50%; height: 36px; width: 36px; box-shadow: 0 3px 8px #0002; }
.image-arrow:active { transform: translateY(-50%) scale(.96); }
.task-feature { border-radius: 24px; background: var(--raised); border-color: var(--edge); box-shadow: var(--card-shadow), var(--inset); }
.task-feature-art { overflow: hidden; }
.task-list, .settings-group { border-radius: 20px; border-color: var(--edge); box-shadow: var(--surface-shadow), var(--inset); background: var(--panel); }
.task-row { padding: 19px; }
.task-icon, .draft-mark, .profile-avatar { background: var(--raised); box-shadow: inset 0 1px 1px var(--edge), 0 2px 3px #14203c08, 0 7px 10px -5px #14203c30; border: 1px solid var(--edge); border-radius: 14px; color: var(--ink); }
.task-icon>.icon { filter: drop-shadow(0 1px 0 #ffffff30); }
.assistant-strip { border-radius: 19px; background: var(--raised); border-color: var(--edge); box-shadow: var(--surface-shadow), var(--inset); }
.assistant-hero { border-radius: 25px; background: var(--raised); border-color: var(--edge); box-shadow: var(--card-shadow), var(--inset); }
.assistant-orb { background: radial-gradient(circle at 28% 22%, #fff, #c7cedb 19%, #758097 35%, #2a3241 54%, #111621 70%, #8a95aa); box-shadow: inset -3px -4px 4px #ffffff55, 0 14px 20px -10px #1a2c4f60; }
.assistant-orb:after { border-color: #9eacc16b; }
.persona-card { border-radius: 25px; box-shadow: var(--card-shadow); }
.persona-cta { font-size: 12px; }
.chat-window { border-radius: 24px; border-color: var(--edge); box-shadow: var(--card-shadow); }
.bubble { box-shadow: 0 2px 3px #00000005; }
.work-card { border-radius: 20px; box-shadow: var(--card-shadow); border-color: var(--edge); }
.work-meta { padding: 18px; }
.work-meta h3 { font-size: 13px; }
.work-meta p { font-size: 10px; }
.wallet-card { border-radius: 26px; padding: 32px; background: linear-gradient(135deg, #535e6b, #242a35 35%, #151a23 70%, #3b4555); border: 1px solid #6c788c; box-shadow: inset 0 1px 1px #ffffff70, 0 4px 6px #0002, 0 22px 40px -20px #12213c77; }
.wallet-shine { background: linear-gradient(122deg, transparent 20%, #ffffff04 31%, #ffffff30 32%, #ffffff0a 43%, transparent 45%), radial-gradient(ellipse at 90% 0, #a2b7d369, transparent 60%); }
.wallet-card .btn.primary { background: linear-gradient(155deg, #fff, #d8dfe9); color: #222b39; border-color: #e7edf7; box-shadow: inset 0 1px 0 #fff, 0 3px 0 #9ba6b8, 0 9px 15px #0004; }
.invite-card { border-radius: 22px; background: var(--raised); border-color: var(--edge); box-shadow: var(--surface-shadow), var(--inset); }
.plan-card { border-radius: 23px; background: var(--raised); border-color: var(--edge); box-shadow: var(--card-shadow), var(--inset); }
.plan-card.selected { border-color: #8792a5; background: var(--raised); box-shadow: var(--card-shadow), 0 0 0 3px #8392a614, var(--inset); }
.plan-ribbon { background: linear-gradient(120deg, #616c7d, #252e3e); color: #fff; }
.settings-row { padding: 20px; }
.settings-row strong { font-size: 13px; }.settings-row small { font-size: 11px; }
#profile-theme-icon { display: inline-flex; flex: 0 0 21px; }

/* Layered sheets with a calm arrival and dismissal. */
.modal-backdrop { background: #121b2c40; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: backdropIn .22s; }
.modal { background: var(--bg); border-radius: 28px; border: 1px solid var(--edge); box-shadow: inset 0 1px 0 var(--edge), 0 12px 24px #10182c14, 0 40px 90px #10182c38; animation: modalArrival .4s var(--ease-out); }
.modal-head { background: var(--bg); border-color: var(--line); padding: 24px 27px 20px; }
.modal-body { padding: 25px 27px 29px; }
.modal-head h2 { letter-spacing: -.5px; }
.modal-head>.iconbtn { border-radius: 50%; width: 32px; height: 32px; }
.modal-head>.iconbtn>.icon { width: 15px; height: 15px; }
.create-options>button { padding: 15px 20px; min-height: 111px; border-radius: 21px; background: var(--raised); border-color: var(--edge); box-shadow: var(--surface-shadow), var(--inset); gap: 21px; }
.create-options>button>.object-icon { flex: 0 0 82px; margin: 0 4px; }
.create-options>button>span:not(.object-icon) { flex: 1; }
.create-options strong { font-size: 20px; letter-spacing: -.4px; }
.create-options small { font-size: 11px; }
.create-options>button>.icon { width: 18px; height: 18px; color: var(--muted); }
.option-list>button, .ratio-options>button { background: var(--raised); border-radius: 16px; border-color: var(--edge); box-shadow: var(--surface-shadow), var(--inset); }
.option-list>button.selected, .ratio-options>button.selected { border-color: #8792a5; }
.model-list-item { border-radius: 14px; margin: 4px 0; }
.model-list-item.selected { background: var(--panel); box-shadow: var(--surface-shadow), var(--inset); }
.model-list-item .model-symbol { border-color: var(--edge); background: var(--raised); box-shadow: var(--surface-shadow), var(--inset); }
.model-list-item .auto-symbol { background: var(--ink); color: var(--bg); }
.tarot-picker>button { border-radius: 15px; box-shadow: 2px 3px 0 #798395, 4px 7px 0 #abb3c0, 6px 14px 18px #0e1c3933; transition: transform .45s var(--ease-out); }
#toast, .undo-toast { border-radius: 14px; box-shadow: 0 6px 26px #15243b25; }
.modal-backdrop.is-closing { pointer-events: none; animation: backdropOut .18s ease forwards; }
.modal-backdrop.is-closing .modal { animation: modalDeparture .18s ease forwards; }
@keyframes modalArrival { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes modalDeparture { to { opacity: 0; transform: translateY(16px) scale(.985); } }
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes backdropOut { to { opacity: 0; } }

@media(hover:hover) and (pointer:fine) {
  .creation-card:hover { transform: translateY(-5px); box-shadow: 0 3px 5px #14203c06, 0 20px 30px -16px #14203c33; }
  .creation-card:hover .object-layer.front, .create-options>button:hover .object-layer.front { transform: translateY(-4px) rotate(-3deg); }
  .creation-card:hover .object-layer.back { transform: rotate(-25deg) translate(-8px,-5px); }
  .look-card:hover { transform: translateY(-4px); box-shadow: 0 6px 10px #10204014, 0 25px 35px -20px #1020405c; }
  .feature-main:hover .feature-cta { transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, 0 5px 0 #a1a8b3, 0 12px 20px #0005; }
  .feature-small:hover, .collection-tiles>button:hover { transform: translateY(-3px); }
  .btn:hover:not(:disabled):not(.subtle), .desktop-create:hover, .iconbtn:hover, .circle-button:hover { transform: translateY(-2px); }
  .agent-banner:hover .agent-banner-art img:first-child { transform: rotate(-13deg) translateX(5px) translateY(-4px); }
  .agent-banner:hover .agent-banner-art img:last-child { transform: rotate(13deg) translateX(-5px) translateY(-4px); }
  .persona-card:hover>img { transform: scale(1.035); }
  .tarot-picker>button:hover { transform: translateY(-12px) rotate(-3deg); }
  .create-options>button:hover { transform: translateX(3px); }
}
@media(min-width:1600px) {
  .content { padding-top: 46px; }.feature-grid { height: 420px; }.gallery.masonry { columns: 4; }
  .feature-copy { padding: 38px; }.feature-copy>strong { font-size: 44px; }.feature-copy>strong em { font-size: 47px; }
}
@media(max-width:1370px) {
  .topbar { padding-left: 25px; padding-right: 25px; }.topbar-inner { gap: 15px; }
  .header-edition { display: none; }.topnav-item { padding: 0 12px; font-size: 11px; }
  .desktop-create { padding: 0; width: 42px; }.desktop-create>span { display: none; }
  .theme-label { display: none; }.theme-toggle { width: 38px; padding: 0; justify-content: center; }
  .content { padding: 35px 30px 50px; }.creation-shortcuts>button { padding-left: 9px; gap: 6px; }
  .creation-label strong { font-size: 14px; }.creation-label small { font-size: 9px; }
}
@media(max-width:1120px) {
  :root { --header-height: 75px; }
  .topbar-inner { max-width: 980px; }.topnav, .desktop-create { display: none; }
  .header-actions { margin-left: auto; }.header-edition, .theme-label { display: inline; }
  .theme-toggle { padding: 0 11px 0 5px; width: auto; }.header-wordmark { font-size: 31px; }
  .content { max-width: 1060px; padding-bottom: 125px; }
  .bottom-nav {
    display: flex; align-items: center; justify-content: space-between; gap: 3px; position: fixed;
    bottom: max(17px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
    width: 440px; max-width: calc(100% - 32px); height: 73px; padding: 8px 11px;
    border-radius: 25px; border: 1px solid #ffffff20; background: #242831e6; color: #fff;
    backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: inset 0 1px 0 #ffffff18, 0 3px 8px #0002, 0 16px 30px -12px #0007; z-index: 60;
  }
  .light .bottom-nav { background: #fffffff0; border-color: #fff; box-shadow: inset 0 1px 0 #fff, 0 2px 5px #1722380a, 0 16px 35px -10px #15274130; }
  .bottom-nav>button { width: 67px; height: 53px; flex-shrink: 0; border-radius: 15px; font-size: 10px; gap: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #b5bdcc; }
  .light .bottom-nav>button { color: #838b98; }
  .bottom-nav>button.active { background: #ffffff14; color: #fff; box-shadow: inset 0 1px 0 #ffffff10; }
  .light .bottom-nav>button.active { background: #f0f2f6; color: #242c38; box-shadow: inset 0 1px 1px #15274106; }
  .bottom-nav>button>.icon { width: 20px; height: 20px; stroke-width: 1.65; }
  .bottom-nav>button.create-nav, .light .bottom-nav>button.create-nav { width: 49px; height: 49px; margin: 0 6px; border-radius: 17px; color: #fff; border: 1px solid #687181; background: linear-gradient(150deg, #67707e, #2b3341 46%, #121824); box-shadow: inset 0 1px 1px #ffffff66, 0 3px 0 #0b101b, 0 7px 11px #101a3030; }
  .bottom-nav>button.create-nav>.icon { width: 25px; height: 25px; }
  .bottom-nav>button:active { transform: scale(.94); }
  .gallery.masonry { columns: 3; }
  .creation-shortcuts { gap: 12px; }.creation-shortcuts>button { padding: 15px 10px; flex-direction: column; align-items: flex-start; gap: 7px; }
  .creation-shortcuts .object-icon { margin: 0 auto; }.creation-label { padding-left: 5px; gap: 3px; }
  .creation-label strong { font-size: 15px; }.creation-label small { font-size: 10px; }
  .feature-grid { height: 365px; }.feature-copy>strong { font-size: 36px; }.feature-copy>strong em { font-size: 39px; }
  #toast, .undo-toast { bottom: 108px; }
}
@media(max-width:800px) {
  :root { --header-height: 72px; }
  .topbar { padding-left: 19px; padding-right: 19px; }.topbar-inner { gap: 7px; }.topbar-left { gap: 6px; }
  .header-wordmark { font-size: 30px; letter-spacing: -1.65px; }.header-edition { display: none; }
  .header-actions { gap: 7px; }.header-actions>.avatar { width: 34px; height: 34px; }.header-search { display: inline-flex; width: 34px; height: 34px; }
  .theme-toggle { height: 34px; width: 34px; padding: 0; justify-content: center; }.theme-label { display: none; }.theme-glyph { width: 27px; height: 27px; background: transparent; box-shadow: none; }
  .balance { height: 34px; font-size: 11px; gap: 5px; padding: 4px 4px 4px 8px; }.balance-plus { height: 23px; width: 23px; }.balance>.icon { height: 12px; width: 12px; }
  .back-button { width: 24px; padding: 0; }.back-button>.icon { width: 18px; }
  .content { padding: 25px 20px 118px; }
  .page-title { margin-bottom: 26px; }.page-title h1 { font-size: 31px; }.page-title p { font-size: 12px; }
  .discovery-head { min-height: 0; gap: 8px; margin-bottom: 22px; align-items: center; }
  .discovery-head h1 { font-size: clamp(27px, 6.9vw, 38px); line-height: 1.13; letter-spacing: -1.1px; max-width: 340px; }
  .discovery-head h1 em { font-size: 1.07em; letter-spacing: -.8px; }
  .discovery-head .eyebrow { font-size: 7px; letter-spacing: .95px; padding: 4px 8px; margin-bottom: 12px; }
  .discovery-head .eyebrow:before { font-size: 10px; }.discovery-head p { font-size: 11px; max-width: 260px; margin-top: 10px; line-height: 1.65; }
  .discovery-sculpture { width: 78px; height: 106px; margin: -20px -7px 0 -20px; transform: scale(.66); transform-origin: center right; }
  .sculpture-orb { left: -14px; top: 6px; }.sculpture-ring { left: -49px; top: 25px; }.sculpture-satellite { right: -11px; top: 10px; }.sculpture-floor { left: -13px; bottom: -3px; }
  .feature-grid { height: 333px; gap: 14px; margin: 0 -20px; padding: 0 20px 8px; overflow-y: hidden; scroll-padding: 20px; }
  .feature-main { min-width: 86%; height: 320px; border-radius: 22px; scroll-snap-align: start; }
  .feature-small { min-width: 77%; height: 320px; border-radius: 22px; scroll-snap-align: start; }
  .feature-copy { padding: 23px; }.feature-copy>strong { font-size: 31px; }.feature-copy>strong em { font-size: 34px; }
  .feature-copy>.tag { border-radius: 100px; padding: 5px 9px; font-size: 8px; top: 19px; left: 21px; }
  .feature-cta { font-size: 11px; min-height: 39px; border-radius: 10px; padding: 9px 13px; gap: 13px; margin-top: 15px; }
  .feature-number { bottom: 27px; }.feature-small-copy { inset: auto 23px 26px; }.feature-small-copy strong { font-size: 27px; max-width: 190px; }
  .feature-small-copy small { font-size: 8px; }.feature-small-copy>.icon { width: 30px; height: 30px; }
  .creation-shortcuts { gap: 9px; margin: 14px 0 29px; grid-template-columns: repeat(4,minmax(0,1fr)); }
  .creation-shortcuts>button { padding: 12px 3px 14px; border-radius: 17px; align-items: center; min-height: 116px; gap: 0; }
  .creation-shortcuts .object-icon { width: 65px; height: 64px; transform: scale(.78); transform-origin: center top; margin-bottom: -7px; }
  .creation-shortcuts .object-icon:after { bottom: -10px; }
  .creation-label { text-align: center; padding: 0; gap: 0; }.creation-label strong { font-size: 12px; letter-spacing: -.2px; font-weight: 600; }.creation-label small { display: none; }
  .shortcut-plus { display: none; }
  .feed-heading { margin-top: 29px; align-items: flex-start; gap: 13px; }.feed-heading h2 { font-size: 22px; max-width: 240px; line-height: 1.17; letter-spacing: -.6px; }.feed-heading>div>span { font-size: 10px; line-height: 1.6; margin-top: 8px; }
  .feed-heading>.btn.subtle { font-size: 9px; min-height: 24px; gap: 4px; }.feed-heading>.btn>.icon { width: 12px; }
  .category-rail { margin: 19px -20px 17px; padding: 3px 20px 7px; gap: 8px; }.chip { font-size: 11px; min-height: 36px; padding: 8px 14px; }
  .gallery.masonry { columns: 2; column-gap: 11px; }.look-card { border-radius: 17px; margin-bottom: 12px; }.look-image:after { border-radius: 16px; }
  .look-caption { bottom: 15px; left: 12px; right: 12px; }.look-caption>strong { font-size: 16px; letter-spacing: -.25px; line-height: 1.22; }
  .look-model { font-size: 6px; letter-spacing: 1px; margin-bottom: 7px; }.look-category { font-size: 7px; padding: 4px 6px; }.look-card-top { top: 11px; left: 11px; right: 11px; }
  .look-card-action { font-size: 8px; gap: 7px; margin-top: 9px; }.look-card-action>.icon { height: 18px; width: 18px; padding: 4px; }
  .favorite { height: 29px; width: 29px; top: 9px; right: 9px; }.favorite>.icon { width: 13px; height: 13px; }
  .all-looks { font-size: 12px; padding: 16px; border-radius: 15px; gap: 10px; }.all-looks>span { font-size: 10px; }
  .collection-tiles { gap: 10px; }.collection-tiles>button { border-radius: 15px; padding: 8px; }.collection-tiles img { width: 40px; height: 49px; border-radius: 8px; }.collection-tiles span { font-size: 11px; }
  .agent-banner { border-radius: 22px; padding: 24px 18px; margin-top: 34px; gap: 20px; }.agent-banner-art img { border-width: 3px; border-radius: 13px; }
  .agent-banner h2 { font-size: 24px; }.agent-banner p { font-size: 11px; }.agent-banner .eyebrow { font-size: 7px; }
  .model-discovery { padding-top: 24px; }.model-discovery>span { font-size: 11px; }
  .resume-draft { padding: 15px; border-radius: 15px; }.resume-draft strong { font-size: 12px; }.resume-draft small { font-size: 10px; }
  .footer { margin-top: 36px; gap: 14px; font-size: 9px; }.footer button { font-size: 9px; }
  .bottom-nav { height: 70px; width: 400px; border-radius: 23px; padding: 8px 10px; }
  .bottom-nav>button { flex: 1; min-width: 0; width: auto; height: 50px; font-size: 9px; gap: 4px; }.bottom-nav>button.create-nav { flex: 0 0 47px; height: 47px; margin: 0 7px; }
  .studio-title h1 { font-size: 29px; }.panel { padding: 22px; border-radius: 20px; }.composer { padding: 0; background: transparent; border: 0; box-shadow: none; }
  .mode-tabs { border-radius: 15px; margin-bottom: 23px; }.mode-tabs>button { border-radius: 11px; font-size: 12px; min-height: 39px; }
  .textarea-wrap textarea, .chat-input-wrap>input, .modal-body input, .modal-body textarea, .modal-body select, .route-prompt .panel textarea, .route-prompt .panel select, #music-style, .search-field input { font-size: 16px; }
  .field-label { font-size: 13px; }.upload-help { font-size: 10px; }.upload-tile { min-height: 120px; }.upload-tile strong { font-size: 12px; }
  .parameter-list>button, .parameter-switch { padding: 15px 14px; min-height: 70px; gap: 12px; }.parameter-list strong { font-size: 13px; }.parameter-list small { font-size: 10px; }.parameter-list em { font-size: 11px; }
  .parameter-icon { width: 33px; height: 33px; }
  .composer-submit { position: fixed; bottom: 0; left: 0; right: 0; padding: 13px 20px max(13px,env(safe-area-inset-bottom)); z-index: 65; background: var(--header-surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 25px #17223806; }
  .composer-submit>span { font-size: 8px; }.generate-button { font-size: 13px; min-height: 50px; border-radius: 15px; }
  .result-area { position: relative; top: auto; border-radius: 20px; margin-top: 10px; scroll-margin-top: calc(var(--header-height) + 16px); }.studio-empty { min-height: 420px; }
  .look-page { gap: 28px; }.look-showcase-image { border-radius: 24px; padding: 14px; height: min(59vh, 540px); min-height: 320px; }.look-showcase-image>img { border-radius: 13px; }
  .look-image-caption { bottom: 23px; left: 24px; font-size: 6px; }.look-frame-picker { margin-top: 16px; gap: 10px; }.look-frame-picker>button { padding: 6px 11px 6px 6px; border-radius: 12px; font-size: 10px; }
  .look-setup h1 { font-size: 31px; }.look-intro { font-size: 12px; }.look-facts { font-size: 10px; }.look-steps>span { font-size: 10px; gap: 7px; }.look-steps i { width: 22px; height: 22px; font-size: 10px; }
  .look-cta>.primary { position: fixed; left: 20px; width: calc(100% - 40px); bottom: max(19px,env(safe-area-inset-bottom)); z-index: 65; border-radius: 15px; min-height: 51px; box-shadow: inset 0 1px 1px #ffffff40, 0 3px 4px #0002, 0 12px 25px #17223833; }
  .look-cta>.primary>span { font-size: 12px; }.look-cta>p { font-size: 10px; }
  .route-create, .route-tool { padding-bottom: 145px; }.route-look { padding-bottom: 108px; }.route-editor { padding-bottom: 35px; }
  body[data-route="create"] .bottom-nav, body[data-route="look"] .bottom-nav, body[data-route="tool"] .bottom-nav, body[data-route="agent"] .bottom-nav, body[data-route="editor"] .bottom-nav { display: none; }
  .task-feature { border-radius: 20px; }.task-feature-art { height: 165px; }.task-feature>div:last-child { padding: 17px 15px; }.task-feature h2 { font-size: 18px; }.task-feature .tag { font-size: 7px; }
  .task-feature>div:last-child>span:last-child { font-size: 10px; }.task-row { padding: 18px 15px; }.task-icon { border-radius: 13px; width: 42px; height: 42px; }.task-name strong { font-size: 13px; }.task-name small { font-size: 10px; }.task-price { font-size: 10px; }
  .assistant-strip { padding: 19px 16px; }.assistant-strip small { font-size: 10px; }.assistant-strip strong { font-size: 12px; }
  .assistant-hero { border-radius: 22px; padding: 25px 21px; }.assistant-hero p { font-size: 11px; }.assistant-start { font-size: 11px; }
  .persona-card { border-radius: 21px; height: 370px; }.persona-copy>strong { font-size: 30px; }.persona-copy>span:not(.eyebrow):not(.persona-cta) { font-size: 10px; }.persona-cta { font-size: 10px; }
  .route-agent { padding: 0; }.chat-window { height: calc(100dvh - var(--header-height) - env(safe-area-inset-top, 0px)); border-radius: 0; box-shadow: none; }.chat-head { padding: 16px 20px; }.chat-head strong { font-size: 13px; }.chat-head small { font-size: 10px; }.trial-bar { font-size: 10px; }.trial-bar>button { font-size: 10px; }
  .chat-composer { background: var(--panel); }.chat-input-wrap>input { font-size: 16px; }.bubble { font-size: 13px; }
  .work-card { border-radius: 17px; }.work-meta { padding: 14px 12px; }.work-meta h3 { font-size: 12px; }.work-meta p { font-size: 9px; }.work-kind { font-size: 8px; }
  .wallet-card { padding: 28px; border-radius: 23px; }.wallet-amount { font-size: 56px; }.wallet-footnote { font-size: 10px; }.wallet-card .eyebrow { font-size: 8px; }
  .settings-group { border-radius: 18px; }.settings-row { padding: 19px 17px; }.settings-row strong { font-size: 13px; }.settings-row small { font-size: 11px; }
  .plan-card { padding: 25px 23px; border-radius: 21px; }.plan-includes { font-size: 11px; }.credit-count { font-size: 40px; }.plan-card>.btn { font-size: 13px; min-height: 47px; }
  .editor-stage-panel { top: auto; border-radius: 20px; }.editor-stage-heading { font-size: 11px; }.editor-local-note { font-size: 10px; }.editor-empty p { font-size: 12px; }
  .modal-backdrop { padding: 0; align-items: flex-end; }
  .modal { width: 100%; max-height: 91dvh; border-radius: 29px 29px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); animation: sheetArrival .4s var(--ease-out); }
  .modal-head { padding: 25px 23px 18px; }.modal-head h2 { font-size: 21px; }.modal-body { padding: 23px 23px 29px; }.modal-intro { font-size: 12px; }.sheet-handle { width: 36px; height: 4px; top: 10px; background: #8993a440; }
  .create-options>button { min-height: 108px; padding: 13px 16px; gap: 14px; border-radius: 19px; }.create-options>button>.object-icon { transform: scale(.88); flex-basis: 79px; width: 79px; margin: 0; }.create-options strong { font-size: 21px; }.create-options small { font-size: 11px; line-height: 1.6; }
  .create-editor { font-size: 11px; line-height: 1.6; padding-top: 19px; }.model-list-item strong { font-size: 13px; }.model-list-item small { font-size: 10px; }.model-list-item { padding: 14px 9px; }
  .option-list strong { font-size: 14px; }.option-list small { font-size: 11px; }.ratio-options { gap: 10px; }.ratio-options>button { border-radius: 15px; }
  .modal-backdrop.is-closing .modal { animation: sheetDeparture .18s ease forwards; }
  #toast, .undo-toast { font-size: 12px; bottom: 104px; }
  .light .feature-main { color: #fff; }
}
@keyframes sheetArrival { from { opacity: .5; transform: translateY(65px); } to { opacity: 1; transform: none; } }
@keyframes sheetDeparture { to { opacity: 0; transform: translateY(35px); } }
@media(max-width:480px) {
  body:not([data-route="home"]) .header-search { display: none; }
}
@media(max-width:370px) {
  .topbar { padding-left: 14px; padding-right: 14px; }.header-wordmark { font-size: 27px; }.header-actions { gap: 5px; }.header-actions>.avatar, .header-search { width: 31px; height: 31px; }.theme-toggle { width: 31px; height: 31px; }.balance { font-size: 10px; height: 32px; }.balance-plus { height: 21px; width: 21px; }
  .content { padding-left: 16px; padding-right: 16px; }.discovery-sculpture { display: none; }.discovery-head h1 { font-size: 30px; }.discovery-head p { max-width: 270px; }
  .feature-grid { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }.feature-copy { padding: 21px; }.feature-copy>strong { font-size: 29px; }.feature-copy>strong em { font-size: 31px; }
  .creation-shortcuts { gap: 7px; }.creation-shortcuts>button { border-radius: 15px; }.creation-label strong { font-size: 11px; }.creation-shortcuts .object-icon { transform: scale(.72); margin-left: -2px; }
  .category-rail { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }.look-caption { left: 11px; right: 11px; }.look-caption>strong { font-size: 15px; }.look-card-action { font-size: 7px; gap: 5px; }.look-model { font-size: 5px; }.look-category { font-size: 6px; }
  .bottom-nav { max-width: calc(100% - 26px); padding: 8px; }.bottom-nav>button { font-size: 8px; }.bottom-nav>button.create-nav { flex-basis: 44px; height: 44px; margin: 0 4px; }
  .look-steps>span { font-size: 9px; gap: 5px; }.look-cta>.primary { left: 16px; width: calc(100% - 32px); }.composer-submit { padding-left: 16px; padding-right: 16px; }
  .persona-card { height: 345px; }.persona-copy>strong { font-size: 27px; }.persona-copy>span:not(.eyebrow):not(.persona-cta) { font-size: 9px; }.create-options>button { gap: 10px; }.create-options small { font-size: 10px; }
}
@media(prefers-reduced-motion:reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .modal-backdrop.is-closing { opacity: 0; }
}
