/* VELL — the studio. Every value comes from the prompt; the phone layout (no value given there) is ours. */
@font-face { font-family: Figtree; src: url(/fonts/figtree.woff2) format('woff2'); font-weight: 300 600; font-display: swap; }
@font-face { font-family: Syne; src: url(/fonts/syne.woff2) format('woff2'); font-weight: 700 800; font-display: swap; }

:root {
  --glass: rgba(38,36,40,.30);
  --glass-2: rgba(255,255,255,.10);
  --line: rgba(255,255,255,.30);
  --line-strong: rgba(255,255,255,.75);
  --ink: #fff; --ink-2: rgba(255,255,255,.72); --ink-3: rgba(255,255,255,.5);
  --glow: 0 0 0 1px rgba(255,255,255,.85), 0 0 18px rgba(255,255,255,.35);
  --bx: 0px; --by: 0px; --mx: 0px; --build: 1; --height: 1; --real: none;
  --ease: cubic-bezier(.7,0,.2,1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #cfd2d4; overflow: hidden; color: #fff;
  font-family: Figtree, system-ui, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
svg { display: block; }
.glass { position: absolute; background: var(--glass); border: 1px solid var(--line); border-radius: 22px;
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 18px 40px -18px rgba(0,0,0,.35); }
.pill-on { box-shadow: var(--glow); background: rgba(255,255,255,.14); }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── 4. Scene ── */
#scene { position: fixed; inset: 0; overflow: hidden; }
#grade { position: absolute; inset: -3%; transition: filter .9s ease; }
#bg { position: absolute; inset: 0; background: url(/img/loft.webp) center / cover; transform: translate3d(var(--bx), var(--by), 0) scale(1.04);
  transition: transform .6s cubic-bezier(.2,.7,.2,1); }
#tint { position: absolute; inset: 0; mix-blend-mode: soft-light; transition: background .9s; }
#vignette { position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(20,18,22,.38) 100%),
  linear-gradient(180deg, rgba(20,20,24,.22), transparent 18%, transparent 70%, rgba(20,20,24,.35)); }

/* ── 5. Stage ── */
#stage { position: fixed; left: 50%; top: 50%; width: 1600px; height: 900px; transform: translate(-50%,-50%) scale(var(--s, 1)); transform-origin: 50% 50%; }

/* ── 6. Model ── */
#modelWrap { position: absolute; left: 800px; top: 72px; width: 440px; height: 663px; margin-left: -220px; transform-origin: 50% 100%; transition: transform 1s cubic-bezier(.65,0,.2,1); }
#modelWrap.mid { transform: translateY(345px) scale(1.5); }
#modelWrap.portrait { transform: translateY(940px) scale(2.4); }
#modelInner { position: absolute; inset: 0; transform: translate3d(var(--mx),0,0) scaleX(var(--build)) scaleY(var(--height)); transform-origin: 50% 100%; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
#breath { position: absolute; inset: 0; transform-origin: 50% 100%; animation: breath 5.5s ease-in-out infinite; }
@keyframes breath { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.006); } }
#figs { position: absolute; inset: 0; }
.fig { position: absolute; inset: 0; background: center bottom / contain no-repeat; filter: var(--real); }
.fig.in { clip-path: inset(0 0 100% 0); animation: wipe 1.05s cubic-bezier(.7,0,.25,1) forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
#shadow { position: absolute; left: 50%; bottom: -6px; width: 300px; height: 34px; margin-left: -150px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30,28,26,.55), rgba(30,28,26,0)); filter: blur(4px); }
#scan { position: absolute; left: -10%; right: -10%; top: 0; height: 2px; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, #fff 25%, #fff 75%, transparent);
  box-shadow: 0 0 22px 6px rgba(255,255,255,.55), 0 0 60px 18px rgba(214,226,255,.35); }
#scan.go { animation: scan 1.05s cubic-bezier(.7,0,.25,1) forwards; }
@keyframes scan { 0% { top: 0; opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* hotspots */
#hotspots { position: absolute; inset: 0; transition: opacity .4s; }
#modelWrap:not(.full) #hotspots { opacity: 0; pointer-events: none; }
.hs { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(255,255,255,.25); border: 1px solid #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; transition: transform .3s; }
.hs::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.hs::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid #fff; animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hs:hover { transform: scale(1.18); }
.hs .tip { position: absolute; left: 34px; top: 50%; white-space: nowrap; font-size: 13px; padding: 6px 10px; border-radius: 10px; color: #fff;
  background: rgba(30,30,34,.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line);
  opacity: 0; transform: translate(-6px, -50%); transition: opacity .25s, transform .25s; pointer-events: none; }
.hs:hover .tip, .hs:focus-visible .tip { opacity: 1; transform: translate(0, -50%); }

/* ── 7. Top bar ── */
#logo { position: absolute; left: 30px; top: 22px; display: flex; align-items: baseline; gap: 18px; color: #fff; }
#logo .wm { font-family: Syne, Figtree, sans-serif; font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -.02em; }
#logo .sub { font-size: 15px; letter-spacing: .06em; }
#tabs { left: 410px; top: 22px; width: 720px; height: 54px; border-radius: 30px; padding: 4px; display: flex; }
#tabs button { position: relative; flex: 1; height: 44px; border-radius: 24px; font-size: 16px; letter-spacing: .05em; color: var(--ink-2); transition: color .3s; z-index: 1; }
#tabs button.on { color: #fff; }
#tabInd { position: absolute; top: 4px; height: 44px; border-radius: 24px; transition: left .55s var(--ease), width .55s var(--ease); }
#icons { position: absolute; right: 28px; top: 24px; display: flex; gap: 12px; }
.ib { position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; }
.ib.lang { font-size: 14px; font-weight: 600; letter-spacing: .06em; }
#favBtn.is-fav .ic { fill: #fff; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #fff; color: #1d1c20;
  font-size: 12px; font-weight: 600; display: grid; place-items: center; transform: scale(0); transition: transform .35s cubic-bezier(.3,1.8,.5,1); }
.badge.has { transform: scale(1); }
.badge.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
#moreMenu { right: 28px; top: 84px; width: 210px; padding: 8px; border-radius: 16px; display: flex; flex-direction: column; transform-origin: 100% 0;
  transform: scale(.9); opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s; z-index: 30; }
#moreMenu.open { transform: none; opacity: 1; pointer-events: auto; }
#moreMenu > * { text-align: left; padding: 11px 12px; border-radius: 10px; font-size: 15px; color: var(--ink-2); }
#moreMenu > *:hover { background: var(--glass-2); color: #fff; }
#moreMenu .bosi { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; font-size: 13px; color: #fff; }

/* ── 8. Profile ── */
#profile { left: 24px; top: 96px; width: 476px; height: 124px; display: flex; align-items: center; gap: 20px; padding: 0 16px; }
#avatar { width: 98px; height: 98px; flex: none; border-radius: 18px; border: 1.5px solid rgba(255,255,255,.85); box-shadow: 0 0 18px rgba(255,255,255,.35);
  background-color: rgba(255,255,255,.08); background-repeat: no-repeat; }
.who { min-width: 0; }
.nameRow { display: flex; align-items: center; gap: 8px; }
#name { font-size: 28px; font-weight: 400; white-space: nowrap; border-radius: 8px; padding: 0 4px; margin-left: -4px; outline: none; }
#name.editing { box-shadow: 0 0 0 1px #fff; background: rgba(255,255,255,.14); }
.rb { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.rb .ic { width: 18px; height: 18px; }
.glass2 { background: var(--glass-2); border: 1px solid var(--line); }
#shuffle { transition: transform .5s; }
.meta { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.meta i { width: 1px; height: 16px; background: var(--line); }
.wx { position: relative; display: flex; align-items: center; gap: 6px; }
.wx .ic { width: 18px; height: 18px; }
.wx::after { content: attr(data-tip); position: absolute; top: 28px; left: 0; white-space: nowrap; font-size: 13px; padding: 6px 10px; border-radius: 10px;
  background: rgba(30,30,34,.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .25s; pointer-events: none; }
.wx:hover::after, .wx:focus-visible::after { opacity: 1; }

/* ── 9. Style menu and Randomize ── */
#side { left: 24px; top: 236px; width: 172px; height: 470px; padding: 10px; display: flex; flex-direction: column; gap: 2px;
  transition: transform .6s var(--ease); }
#side button { position: relative; z-index: 1; height: 54px; border-radius: 16px; font-size: 16px; display: flex; align-items: center; gap: 14px; padding: 0 14px; color: var(--ink-2); transition: color .3s; }
#side button:hover, #side button.on { color: #fff; }
#sideInd { position: absolute; left: 10px; width: 152px; height: 54px; border-radius: 16px; transition: top .45s var(--ease); }
#rand { left: 24px; top: 722px; width: 220px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px;
  transition: transform .6s var(--ease); }
#rand .ic { transition: transform .8s; }
.off-style #side { transform: translateX(-240px); }
.off-style #rand { transform: translateX(-280px); }

/* ── 10. Right panel ── */
#panel { left: 1112px; top: 96px; width: 464px; height: 680px; padding: 22px 18px 18px; overflow: hidden; }
.view { position: absolute; inset: 22px 18px 18px; display: flex; flex-direction: column; opacity: 0; transform: translateX(30px); pointer-events: none;
  transition: transform .55s var(--ease), opacity .4s; }
.view.on { opacity: 1; transform: none; pointer-events: auto; }
.view h3 { margin: 0 0 10px; font-size: 17px; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; display: flex; justify-content: space-between; align-items: baseline; }
.view h3 small { font-size: 12px; color: var(--ink-3); text-transform: none; letter-spacing: 0; }
#chips { display: flex; justify-content: space-between; }
.chip { width: 58px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; line-height: 1.2; color: var(--ink-2); }
.chip .tile { width: 48px; height: 48px; border-radius: 14px; background: var(--glass-2); border: 1px solid var(--line); display: grid; place-items: center; transition: box-shadow .3s; }
.chip .ic { width: 24px; height: 24px; }
.chip.on { color: #fff; }
.chip.on .tile { box-shadow: var(--glow); }
#grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; height: 296px; margin-top: 16px; align-content: start; }
.card { position: relative; height: 142px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; cursor: pointer;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); transition: transform .3s, box-shadow .3s, opacity .3s; }
.card .im { position: absolute; inset: -20%; background: center top / auto 104% no-repeat; transition: transform .5s; }
.card:hover { transform: translateY(-3px); }
.card:hover .im { transform: scale(1.06); }
.card .nm { position: absolute; left: 6px; right: 6px; bottom: 6px; font-size: 11px; padding: 4px 6px; border-radius: 8px; text-align: center; white-space: nowrap; overflow: hidden;
  background: rgba(30,30,34,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: translateY(140%); transition: transform .3s; }
.card:hover .nm, .card:focus-visible .nm { transform: none; }
.card.on { box-shadow: var(--glow), 0 0 0 3px rgba(255,255,255,.25); }
.card .fv { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #1d1c20; display: grid; place-items: center;
  transform: scale(0); transition: transform .35s cubic-bezier(.3,1.8,.5,1); }
.card .fv .ic { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.card.fav .fv { transform: scale(1); }
.card.out { opacity: 0; transform: scale(.85); }
.card.gone { display: none; }
.card.enter { animation: cardIn .5s cubic-bezier(.2,.7,.2,1) backwards; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.card.roul { box-shadow: var(--glow); }
#acc { margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.row { border-radius: 12px; background: var(--glass-2); border: 1px solid var(--line); }
.row > button { width: 100%; height: 38px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.row > button small { color: var(--ink-3); margin-left: 6px; text-transform: none; }
.row > button .ic { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.row.open > button .ic { transform: rotate(180deg); }
.row .body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.row.open .body { grid-template-rows: 1fr; }
.row .body > div { overflow: hidden; }
.item { display: flex; align-items: center; gap: 10px; padding: 0 10px 10px 14px; font-size: 14px; }
.item .n { flex: 1; min-width: 0; }
.item .n small { display: block; color: var(--ink-3); font-size: 12px; }
.item .p { font-weight: 500; }
.item .add { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 16px; line-height: 1; transition: background .25s, color .25s; }
.item .add.in { background: #fff; color: #1d1c20; }
.none { margin: 0; padding: 0 14px 12px; font-size: 14px; color: var(--ink-3); }

/* tune, sliders, options */
.swatches { display: flex; gap: 10px; margin-bottom: 14px; }
.sw { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); }
.sw.on { box-shadow: 0 0 0 3px #fff; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.opt { border-radius: 12px; padding: 9px 14px; font-size: 14px; background: var(--glass-2); border: 1px solid var(--line); transition: box-shadow .3s; }
.opt.on { box-shadow: var(--glow); }
.lbl { margin: 4px 0 8px; font-size: 13px; color: var(--ink-3); }
.sl { margin-bottom: 16px; }
.sl label { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 8px; }
.sl b { font-weight: 600; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; --p: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #fff var(--p), rgba(255,255,255,.28) var(--p)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #fff var(--p), rgba(255,255,255,.28) var(--p)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; border: 5px solid rgba(255,255,255,.45); background-clip: padding-box; box-shadow: 0 0 12px rgba(255,255,255,.6); }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 5px solid rgba(255,255,255,.45); background-clip: padding-box; box-shadow: 0 0 12px rgba(255,255,255,.6); }
#helix { width: 300px; height: 120px; align-self: center; margin-bottom: 10px; }
.rows { margin: 0 0 18px; }
.rows div { display: flex; justify-content: space-between; padding: 11px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
.rows dt { color: var(--ink-2); } .rows dd { margin: 0; }
.outline { height: 46px; border-radius: 14px; border: 1.5px solid #fff; font-size: 15px; transition: background .25s, color .25s; }
.outline:hover { background: #fff; color: #1d1c20; }
#radar { width: 250px; height: 210px; align-self: center; margin-bottom: 8px; overflow: visible; }
.bio { min-height: 220px; margin: 0 0 16px; padding: 16px; border-radius: 16px; background: var(--glass-2); border: 1px solid var(--line); font-size: 16px; line-height: 1.6; }
.bio.typing::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: #fff; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ── 11. Bottom controls ── */
#ctrl { left: 504px; top: 742px; width: 592px; height: 54px; border-radius: 18px; padding: 4px; display: flex; gap: 4px; }
#ctrl button { flex: 1; height: 44px; border-radius: 14px; font-size: 17px; display: flex; align-items: center; justify-content: center; gap: 12px; transition: opacity .25s, background .25s; }
#ctrl button:not(.pill-on):hover { background: var(--glass-2); }
#ctrl button:disabled { opacity: .4; cursor: default; }
#real { left: 24px; top: 796px; width: 452px; height: 88px; padding: 16px 20px; }
#real .sl { margin: 0; }
#real .sl label { font-size: 16px; margin-bottom: 4px; }
#real .ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
#filt { left: 494px; top: 796px; width: 640px; height: 88px; display: flex; align-items: center; gap: 16px; padding: 0 16px; }
.fdrop { position: relative; display: flex; flex-direction: column; gap: 6px; }
.ft { font-size: 15px; }
#fBtn { width: 156px; height: 38px; border-radius: 12px; background: var(--glass-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-size: 14px; }
#fBtn .ic { width: 16px; height: 16px; transition: transform .3s; }
#fBtn[aria-expanded=true] .ic { transform: rotate(180deg); }
#fList { left: 0; bottom: 46px; width: 180px; padding: 6px; border-radius: 14px; display: flex; flex-direction: column; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s, transform .25s; z-index: 20; }
#fList.open { opacity: 1; transform: none; pointer-events: auto; }
#fList button { text-align: left; padding: 9px 10px; border-radius: 9px; font-size: 14px; color: var(--ink-2); }
#fList button:hover, #fList button.on { background: var(--glass-2); color: #fff; }
#thumbs { display: flex; gap: 10px; flex: 1; transition: transform .35s; }
.th { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background-repeat: no-repeat; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.th i { position: absolute; inset: 0; mix-blend-mode: soft-light; }
.th:hover { transform: translateY(-3px); }
.th.on { box-shadow: var(--glow); }
#fNext { width: 36px; height: 36px; }
#save { left: 1302px; top: 796px; width: 274px; height: 88px; padding: 14px; }
#saveBtn { position: relative; width: 100%; height: 100%; border-radius: 16px; border: 1.5px solid #fff; font-size: 17px; letter-spacing: .06em; overflow: hidden;
  box-shadow: 0 0 18px rgba(255,255,255,.35), inset 0 0 14px rgba(255,255,255,.15); transition: background .25s, color .25s; }
#saveBtn:hover { background: #fff; color: #1d1c20; }
#saveBtn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: rgba(255,255,255,.75); transform: skewX(-20deg); opacity: 0; }
#saveBtn.shine::after { animation: shine .9s ease forwards; }
@keyframes shine { 0% { left: -40%; opacity: 1; } 100% { left: 120%; opacity: 0; } }
#lib { left: 504px; top: 560px; width: 592px; height: 170px; padding: 16px 18px; transform: translateY(20px) scale(.97); opacity: 0; pointer-events: none; transition: transform .4s, opacity .4s; z-index: 15; }
#lib.open { transform: none; opacity: 1; pointer-events: auto; }
#lib h3 { margin: 0 0 10px; font-size: 15px; font-weight: 400; letter-spacing: .06em; display: flex; justify-content: space-between; }
#lib h3 small { font-size: 12px; color: var(--ink-3); letter-spacing: 0; }
#libRow { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
#libRow .empty { margin: 30px 0 0; font-size: 14px; color: var(--ink-3); }
.sv { width: 72px; height: 104px; flex: none; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.06)) ; overflow: hidden; position: relative; animation: pop .45s cubic-bezier(.3,1.6,.5,1); }
.sv span { position: absolute; inset: 0; background: center top / auto 104% no-repeat; }
.sv.slot { visibility: hidden; animation: none; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.flyer { position: fixed; z-index: 50; pointer-events: none; background: center bottom / contain no-repeat; transition: all .8s cubic-bezier(.7,0,.2,1); }
#toast { left: 50%; top: 96px; transform: translate(-50%, -20px); opacity: 0; padding: 10px 18px; border-radius: 30px; display: flex; align-items: center; gap: 10px; font-size: 15px;
  pointer-events: none; transition: transform .35s cubic-bezier(.3,1.4,.5,1), opacity .3s; z-index: 60; }
#toast.on { transform: translate(-50%, 0); opacity: 1; }
#toast .ic { width: 18px; height: 18px; }

/* ── Phone (ours: the prompt has a single 1600×900 canvas; on a tall narrow screen it would be unreadable) ──
   The stage becomes a 520 px wide column that scrolls: model first, then the controls, then the panels. */
body.phone { overflow-y: auto; overflow-x: hidden; height: auto; }
body.phone #stage { position: relative; left: 0; top: 0; width: 520px; height: 2040px; transform: scale(var(--s)); transform-origin: 0 0; }
body.phone #logo { left: 16px; top: 20px; gap: 10px; }
body.phone #logo .wm { font-size: 36px; }
body.phone #logo .sub { font-size: 12px; }
body.phone #icons { right: 14px; top: 16px; gap: 8px; }
body.phone .ib { width: 44px; height: 44px; }
body.phone #moreMenu { right: 14px; top: 68px; }
body.phone #tabs { left: 10px; top: 76px; width: 500px; height: 50px; }
body.phone #tabs button { font-size: 12.5px; letter-spacing: .03em; height: 40px; }
body.phone #tabInd { height: 40px; }
body.phone #side { left: 10px; top: 136px; width: 500px; height: 64px; flex-direction: row; padding: 5px; gap: 0; }
body.phone #side button { flex: 1; height: 54px; padding: 0; justify-content: center; }
body.phone #side button span { display: none; }
body.phone #sideInd { top: 5px !important; height: 54px; width: 60px; transition: left .45s var(--ease); }
body.phone.off-style #side { transform: none; opacity: .35; pointer-events: none; }
body.phone #modelWrap { left: 260px; top: 214px; }
body.phone #ctrl { left: 10px; top: 890px; width: 500px; }
body.phone #ctrl button { font-size: 14px; gap: 6px; }
body.phone #ctrl .ic { width: 18px; height: 18px; }
body.phone #lib { left: 10px; top: 708px; width: 500px; }
body.phone #panel { left: 10px; top: 956px; width: 500px; }
body.phone #profile { left: 10px; top: 1648px; width: 500px; }
body.phone #real { left: 10px; top: 1784px; width: 500px; }
body.phone #filt { left: 10px; top: 1884px; width: 500px; padding: 0 10px; gap: 8px; }
body.phone #fBtn { width: 130px; }
body.phone #thumbs { gap: 6px; overflow: hidden; }
body.phone .th { width: 46px; height: 46px; flex: none; }
body.phone #rand { left: 10px; top: 1984px; width: 220px; height: 48px; transform: none; }
body.phone.off-style #rand { transform: none; }
body.phone #save { left: 240px; top: 1976px; width: 270px; height: 64px; padding: 6px; }
body.phone #toast { position: fixed; top: 12px; transform: translate(-50%, -20px) scale(var(--ts, 1)); }
body.phone #toast.on { transform: translate(-50%, 0); }
body.phone .hs .tip { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.view[data-view="outfits"] { overflow-y: auto; scrollbar-width: none; }
.view[data-view="outfits"]::-webkit-scrollbar { display: none; }
#grid { flex: none; }
body.phone #logo .sub { display: none; }
