/* FINE AIF STUDIO™ · Glossy Vanity design system
   Glossy black is the stage, pink chrome is the light, pearl is the paper.
   Leopard and rhinestones are jewelry: small and deliberate. */

@font-face { font-family: 'FA Display'; src: url(/fonts/display-600-italic.woff2) format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'FA Display'; src: url(/fonts/display-800-italic.woff2) format('woff2'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'FA Display'; src: url(/fonts/display-900-italic.woff2) format('woff2'); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'FA Wide'; src: url(/fonts/wide-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'FA Wide'; src: url(/fonts/wide-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'FA Wide'; src: url(/fonts/wide-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'FA Body'; src: url(/fonts/body-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'FA Body'; src: url(/fonts/body-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'FA Body'; src: url(/fonts/body-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'FA Body'; src: url(/fonts/body-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --hot: #F52B91; --fuchsia: #E50978; --blush: #F8C8DC; --black: #0B080B; --pearl: #FFF1F7;
  --night: #150d13; --night-2: #1e131a; --ink: #1a1217; --muted: #c9a5b7; --muted-dark: #8a5c73;
  --line: rgba(248,200,220,.16); --line-strong: rgba(248,200,220,.3);
  --display: 'FA Display', 'Didot', 'Bodoni 72', Georgia, serif;
  --wide: 'FA Wide', 'Arial Black', system-ui, sans-serif;
  --body: 'FA Body', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --chrome: linear-gradient(180deg, #ffd0e6 0%, #ff6cb4 22%, #F52B91 48%, #E50978 64%, #a8004a 100%);
  --chrome-edge: conic-gradient(from 210deg, #fff, #ff8cc4 40deg, #E50978 120deg, #ffd6ea 180deg, #F52B91 250deg, #fff 320deg, #fff);
  --leopard: url(/brand/leopard.svg);
  --pad: max(16px, env(safe-area-inset-left, 0px));
  --pad-r: max(16px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--black); color: var(--pearl); font-family: var(--body); font-size: 15.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { /* the vanity glow behind everything */
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(700px 420px at 88% -8%, rgba(245,43,145,.26), transparent 70%), radial-gradient(520px 380px at -6% 70%, rgba(229,9,120,.14), transparent 70%), var(--black);
}
img { max-width: 100%; display: block; }
a { color: var(--blush); }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(255,140,196,.75); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.center { text-align: center; }
.kick { font-family: var(--wide); font-weight: 700; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--hot); }
.lbl { font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--blush); margin: 0 0 8px; }
.lbl span { font-family: var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 600; font-size: 12px; }

/* ---------- Buttons ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none; position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 13px 24px; border-radius: 999px;
  font-family: var(--wide); font-weight: 700; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: var(--chrome);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(90,0,40,.35), 0 12px 28px -12px rgba(245,43,145,.9);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.btn::after { /* chrome light sweep */
  content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 62%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:active { transform: scale(.97); }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); } .btn:hover::after { transform: translateX(120%); } }
.btn.pearl { background: linear-gradient(180deg, #fff, #ffe0ee); color: var(--fuchsia); box-shadow: inset 0 1px 0 #fff, 0 10px 24px -12px rgba(255,255,255,.45); }
.btn.ghost { background: rgba(255,241,247,.04); color: var(--pearl); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn.small { min-height: 38px; padding: 9px 16px; font-size: 10px; }
.btn.big { min-height: 54px; padding: 16px 30px; font-size: 12.5px; }
.btn[disabled] { filter: saturate(.4) brightness(.8); cursor: not-allowed; transform: none; }
.btn.eat { width: 100%; min-height: 60px; font-size: 14px; letter-spacing: .12em; }
.btn.eat.busy { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: inset 0 1.5px 0 rgba(255,255,255,.7), 0 0 0 8px rgba(245,43,145,.18), 0 12px 28px -12px rgba(245,43,145,.9); } }

/* ---------- Header ---------- */
.hd { position: sticky; top: 0; z-index: 40; background: linear-gradient(180deg, rgba(25,16,22,.94), rgba(11,8,11,.86)); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.hd::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--leopard) center / 36px; opacity: .55; }
.hd-in { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 8px var(--pad-r) 8px var(--pad); }
.hd-logo img { height: 54px; width: auto; filter: drop-shadow(0 6px 16px rgba(245,43,145,.45)); }
.hd-nav { display: flex; gap: 2px; margin-left: auto; }
.hd-nav a { font-family: var(--wide); font-weight: 700; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 10px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.hd-nav a:hover { color: #fff; }
.hd-nav a.active { color: #fff; background: rgba(245,43,145,.16); box-shadow: inset 0 0 0 1px rgba(245,43,145,.55); }
.menu-pill { display: none; }

/* ---------- Phone menu ---------- */
.menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; padding: calc(16px + env(safe-area-inset-top, 0px)) var(--pad-r) calc(22px + env(safe-area-inset-bottom, 0px)) var(--pad); background: rgba(11,8,11,.97); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(320px 280px at 100% 0, rgba(245,43,145,.45), transparent 70%), radial-gradient(280px 240px at 0 100%, rgba(229,9,120,.25), transparent 70%); }
.menu-top { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.menu-top img { height: 52px; width: auto; }
.menu-x { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); font-size: 26px; line-height: 1; cursor: pointer; }
.menu-links { position: relative; display: grid; gap: 4px; }
.menu-links a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 4px; text-decoration: none; border-bottom: 1px solid rgba(248,200,220,.08); opacity: 0; transform: translateY(14px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.menu.open .menu-links a { opacity: 1; transform: none; }
.menu.open .menu-links a:nth-child(2) { transition-delay: .04s; } .menu.open .menu-links a:nth-child(3) { transition-delay: .08s; }
.menu.open .menu-links a:nth-child(4) { transition-delay: .12s; } .menu.open .menu-links a:nth-child(5) { transition-delay: .16s; } .menu.open .menu-links a:nth-child(6) { transition-delay: .2s; }
.menu-links span { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 34px; line-height: 1.1; color: var(--pearl); }
.menu-links small { font-family: var(--wide); font-weight: 700; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.menu-links a.active span { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu-foot { position: relative; margin-top: auto; padding-top: 26px; display: grid; gap: 12px; text-align: center; }
.menu-foot p { font-family: var(--wide); font-size: 9.5px; letter-spacing: .2em; color: var(--muted); }

/* ---------- Page ---------- */
main { max-width: 1280px; margin: 0 auto; padding: 26px var(--pad-r) 60px var(--pad); }
.view { display: none; }
.view.active { display: block; animation: rise .45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sec-h { margin-bottom: 18px; }
.sec-h h1, .sec-h h2 { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(32px, 4.4vw, 52px); line-height: 1; margin-top: 6px; }
.sec-h .sub { color: var(--muted); margin-top: 8px; max-width: 640px; }
.page-h { padding-top: 6px; }
.foot { text-align: center; padding: 26px 16px calc(32px + env(safe-area-inset-bottom, 0px)); font-family: var(--wide); font-size: 9.5px; letter-spacing: .22em; color: var(--muted-dark); }

/* ---------- Home ---------- */
.home-hero { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 20px; align-items: center; min-height: 420px; padding: 10px 0 18px; }
.brandline { font-family: var(--wide); font-weight: 800; font-size: 13px; letter-spacing: .28em; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brandline sup { font-size: .6em; }
.greet { margin-top: 14px; font-family: var(--wide); font-weight: 800; font-size: 12px; letter-spacing: .2em; color: var(--blush); }
.hero-h { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(44px, 6.4vw, 86px); line-height: .92; margin: 10px 0 14px; letter-spacing: -.01em; }
.hero-h em { display: block; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; filter: drop-shadow(0 6px 20px rgba(245,43,145,.35)); }
.hero-tag { color: var(--muted); font-size: 17px; }
.fan { position: relative; height: 400px; perspective: 1000px; }
.fan figure { position: absolute; margin: 0; width: 34%; aspect-ratio: 3/4.3; padding: 5px; border-radius: 16px; background: var(--chrome-edge); box-shadow: 0 30px 50px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); transform-style: preserve-3d; transition: transform .6s var(--ease); will-change: transform; }
.fan figure img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.fan figure::after { content: ''; position: absolute; inset: 5px; border-radius: 12px; background: linear-gradient(125deg, rgba(255,255,255,.28), transparent 35%); pointer-events: none; }
.fan figure:nth-child(1) { left: 0; top: 70px; --r: -12deg; }
.fan figure:nth-child(2) { left: 22%; top: 18px; --r: -4deg; z-index: 2; }
.fan figure:nth-child(3) { left: 44%; top: 34px; --r: 5deg; z-index: 3; }
.fan figure:nth-child(4) { left: 64%; top: 86px; --r: 13deg; z-index: 1; }
.fan figure { transform: rotate(var(--r)) translate3d(var(--px, 0), var(--py, 0), 0); animation: bob 6s ease-in-out infinite; }
.fan figure:nth-child(2) { animation-delay: -1.5s; } .fan figure:nth-child(3) { animation-delay: -3s; } .fan figure:nth-child(4) { animation-delay: -4.5s; }
@keyframes bob { 50% { margin-top: -10px; } }
.spark { position: absolute; width: 18px; height: 18px; background: #fff; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); filter: drop-shadow(0 0 8px #ff8cc4); animation: twinkle 3.4s ease-in-out infinite; pointer-events: none; }
.sp1 { right: 8%; top: 20px; } .sp2 { right: 46%; top: 6px; width: 12px; height: 12px; animation-delay: 1.1s; } .sp3 { right: 2%; bottom: 60px; width: 14px; height: 14px; animation-delay: 2.2s; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(25deg); } }
.heart { position: absolute; width: 22px; height: 20px; background: var(--chrome); clip-path: path('M11 20 C-6 8 2 -4 11 4 C20 -4 28 8 11 20 Z'); filter: drop-shadow(0 4px 10px rgba(245,43,145,.6)); animation: floaty 7s ease-in-out infinite; pointer-events: none; }
.h1 { left: 46%; bottom: 20px; } .h2 { right: 30%; top: 50%; width: 14px; height: 13px; clip-path: path('M7 13 C-4 5 1 -3 7 3 C13 -3 18 5 7 13 Z'); animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(-8deg); } }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 6px; }
.door { position: relative; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 14px; align-items: end; min-height: 280px; padding: 22px; border-radius: 28px; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.door::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--leopard) center / 44px; }
@media (hover: hover) { .door:hover { transform: translateY(-4px); } }
.door:active { transform: scale(.99); }
.door-copy { display: grid; gap: 8px; align-content: end; order: 1; }
.door-art { order: 2; position: relative; height: 100%; min-height: 200px; }
.door-tag { font-family: var(--wide); font-weight: 800; font-size: 10px; letter-spacing: .16em; }
.door h2 { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(30px, 3.2vw, 42px); line-height: .98; }
.door-copy > p:not(.door-tag) { font-size: 14px; }
.door .btn { justify-self: start; margin-top: 6px; }
.d-scratch { background: radial-gradient(260px 200px at 100% 0, #ffd6ea, transparent 70%), linear-gradient(170deg, #fffafd 0%, #ffe0ee 100%); color: var(--ink); box-shadow: inset 0 0 0 1px #fff, 0 30px 60px -30px rgba(245,43,145,.8); }
.d-scratch .door-tag { color: var(--fuchsia); }
.d-scratch .door-copy > p:not(.door-tag) { color: #6e4659; }
.blank { position: absolute; inset: 0; border-radius: 18px; border: 2px dashed rgba(229,9,120,.45); background: repeating-linear-gradient(135deg, rgba(245,43,145,.06) 0 9px, transparent 9px 18px); display: grid; place-items: center; padding: 14px; transform: rotate(3deg); }
.typing { font-family: var(--display); font-style: italic; font-weight: 800; color: var(--fuchsia); font-size: 17px; line-height: 1.2; text-align: center; }
.typing::after { content: '|'; margin-left: 2px; animation: blink 1s steps(1) infinite; color: var(--hot); font-style: normal; }
@keyframes blink { 50% { opacity: 0; } }
.d-her { background: radial-gradient(300px 220px at 100% 0, rgba(245,43,145,.38), transparent 70%), linear-gradient(170deg, #2a1b24, var(--black)); color: var(--pearl); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px #000; }
.d-her .door-tag { color: var(--hot); }
.d-her .door-copy > p:not(.door-tag) { color: #e3bdcf; }
.d-her .door-art figure { position: absolute; margin: 0; width: 78%; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 18px 30px -12px #000; transition: transform .5s var(--ease); }
.d-her .door-art figure img { width: 100%; height: 100%; object-fit: cover; }
.d-her .door-art figure:nth-child(1) { right: 0; top: 0; transform: rotate(8deg); }
.d-her .door-art figure:nth-child(2) { right: 18%; top: 16px; transform: rotate(-6deg); }
@media (hover: hover) { .d-her:hover .door-art figure:nth-child(1) { transform: rotate(12deg) translateX(8px); } .d-her:hover .door-art figure:nth-child(2) { transform: rotate(-9deg) translateX(-6px); } }
.d-her .door-art .name { position: absolute; left: 0; bottom: 6px; z-index: 3; font-family: var(--wide); font-weight: 700; font-size: 9px; letter-spacing: .14em; background: #fff; color: var(--black); padding: 6px 10px; border-radius: 999px; box-shadow: 0 8px 16px -6px #000; }
.explain { margin: 18px auto 0; max-width: 860px; text-align: center; font-size: 14px; color: var(--muted); }
.explain b { color: var(--hot); }
.home-lb { margin-top: 54px; }
.home-lb .center { margin-top: 26px; }

/* ---------- Lookbook covers ---------- */
.lb-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
.lb-grid.big { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.cover { appearance: none; border: 0; padding: 0; cursor: pointer; text-align: left; position: relative; display: block; width: 100%; aspect-ratio: 3/4.4; border-radius: 18px; overflow: hidden; background: #000; color: #fff; isolation: isolate;
  box-shadow: 0 24px 40px -22px #000; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .8s var(--ease); }
.cover::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,8,11,.6) 0%, transparent 24%, transparent 52%, rgba(11,8,11,.92) 100%); }
.cover .shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(240px 200px at var(--mx, 30%) var(--my, 20%), rgba(255,255,255,.28), transparent 60%); opacity: 0; transition: opacity .3s; }
.cover .issue { position: absolute; z-index: 3; top: 10px; left: 12px; right: 12px; display: flex; justify-content: space-between; font-family: var(--wide); font-weight: 700; font-size: 8.5px; letter-spacing: .16em; }
.cover .t { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 4px; }
.cover .t b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(22px, 2.3vw, 30px); line-height: .95; letter-spacing: .01em; }
.cover .t span { font-size: 11.5px; color: #f6dbe8; line-height: 1.3; }
.cover .use { position: absolute; z-index: 4; left: 50%; top: 44%; transform: translate(-50%, -50%) scale(.9); font-family: var(--wide); font-weight: 700; font-size: 9px; letter-spacing: .14em; padding: 8px 12px; border-radius: 999px; background: rgba(11,8,11,.7); backdrop-filter: blur(6px); white-space: nowrap; opacity: 0; transition: opacity .25s, transform .25s var(--ease); }
@media (hover: hover) { .cover:hover { --ty: -6px; } .cover:hover .shine { opacity: 1; } .cover:hover img { transform: scale(1.08); } .cover:hover .use { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.cover.on { box-shadow: 0 0 0 3px var(--hot), 0 0 0 7px rgba(245,43,145,.22), 0 0 44px rgba(245,43,145,.65); --ty: -6px; }
.cover.on .use { opacity: 1; transform: translate(-50%, -50%) scale(1); background: var(--chrome); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.cover.on::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.5) 46%, transparent 60%); animation: sweep 1.1s var(--ease) 1; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.cover .gem { position: absolute; z-index: 4; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 25%, #ffc2df 42%, #F52B91 78%); box-shadow: 0 0 10px rgba(255,255,255,.85); opacity: 0; transform: scale(0); transition: opacity .25s, transform .35s var(--ease); }
.cover .gem.a { left: 7px; top: 7px; } .cover .gem.b { right: 7px; top: 7px; } .cover .gem.c { left: 7px; bottom: 7px; } .cover .gem.d { right: 7px; bottom: 7px; }
.cover.on .gem { opacity: 1; transform: scale(1); }

/* studio mini lookbook */
.mini-lb { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 7px; }
.mini-lb .cover { aspect-ratio: 3/4; border-radius: 12px; }
.mini-lb .cover .issue, .mini-lb .cover .t span, .mini-lb .cover .use { display: none; }
.mini-lb .cover .t { left: 6px; right: 6px; bottom: 6px; }
.mini-lb .cover .t b { font-size: 10.5px; font-family: var(--wide); font-style: normal; font-weight: 700; letter-spacing: .06em; }
.mini-lb .cover .gem { width: 8px; height: 8px; }

/* ---------- Studio workspace ---------- */
.ws { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 26px; align-items: start; }
.ws-controls { display: grid; gap: 22px; padding: 20px; border-radius: 28px; background: linear-gradient(180deg, rgba(30,19,26,.92), rgba(15,10,14,.96)); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 40px 80px -40px rgba(245,43,145,.35); }
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.mode button { appearance: none; border: 0; cursor: pointer; border-radius: 999px; min-height: 44px; padding: 10px 6px; font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: transparent; transition: background .25s, color .25s; }
.mode button[aria-selected="true"] { background: var(--chrome); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 8px 20px -10px rgba(245,43,145,.9); }
/* HUMANIZE HER™: a third tab when it is switched on (two tabs otherwise, exactly as before) */
.mode:has(#modeHz:not(.hidden)) { grid-template-columns: repeat(3, 1fr); border-radius: 22px; }
.mode:has(#modeHz:not(.hidden)) button { border-radius: 18px; line-height: 1.25; }
.hz-box { display: grid; gap: 16px; }
.hz-hero { display: grid; gap: 8px; text-align: center; }
.hz-title { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 26px; line-height: 1.1; }
.hz-title span { display: block; font-family: var(--wide); font-style: normal; font-weight: 700; font-size: 10.5px; letter-spacing: .12em; line-height: 1.5; color: var(--blush); margin-top: 8px; text-wrap: balance; }
.hz-hook { font-family: var(--wide); font-weight: 800; font-size: 11.5px; letter-spacing: .06em; line-height: 1.45; color: var(--hot); text-wrap: balance; }
.hz-desc { font-size: 13px; line-height: 1.55; color: var(--muted); text-align: center; }
/* The transformation: her inspiration -> Humanizer magic -> her next era */
.hz-stage { scroll-margin-top: 110px; display: grid; grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr); align-items: start; gap: 4px; }
.hz-stage > .hz-magic { align-self: start; margin-top: calc(18px + 33%); }
.hz-frame { margin: 0; display: grid; gap: 8px; min-width: 0; }
.hz-frame figcaption { font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; }
.hz-frame figcaption b { color: var(--hot); margin-right: 4px; }
.hz-drop, .hz-pick, .hz-out-body { position: relative; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; }
.hz-drop { display: grid; place-content: center; justify-items: center; gap: 6px; padding: 12px; text-align: center; cursor: pointer; border: 2px dashed rgba(245,43,145,.55); background: radial-gradient(circle at 50% 38%, rgba(245,43,145,.16), rgba(255,255,255,.02) 72%); }
.hz-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hz-drop.drop-on { background: rgba(245,43,145,.18); box-shadow: 0 0 0 2px var(--hot); }
.hz-drop b { font-size: 14px; color: #fff; }
.hz-drop small { font-size: 11px; line-height: 1.35; color: var(--muted); }
.hz-drop .hz-fmt { font-size: 10px; opacity: .75; }
.hz-plus { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--chrome); color: #fff; font-size: 26px; line-height: 1; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 24px -10px rgba(245,43,145,.9); }
.hz-pick { border: 1.5px solid var(--hot); background: rgba(255,255,255,.04); }
.hz-pick img { width: 100%; height: 100%; object-fit: contain; display: block; background: #0b080b; cursor: zoom-in; }
.hz-swap { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); appearance: none; border: 0; cursor: pointer; min-height: 44px; padding: 10px 16px; border-radius: 999px; background: rgba(11,8,11,.74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.hz-out-body { display: grid; border: 1.5px solid var(--line); background: linear-gradient(160deg, rgba(245,43,145,.10), rgba(255,255,255,.02)); }
.hz-stage[data-state="done"] .hz-out-body { border-color: var(--hot); box-shadow: 0 0 0 3px rgba(245,43,145,.2), 0 18px 40px -18px rgba(245,43,145,.7); }
.hz-wait { display: grid; place-content: center; justify-items: center; gap: 8px; padding: 14px; text-align: center; }
.hz-wait b { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 17px; line-height: 1.2; }
.hz-wait small { font-size: 11px; line-height: 1.35; color: var(--muted); }
.hz-spark { font-size: 26px; color: var(--hot); animation: hzTwinkle 2.4s ease-in-out infinite; }
.hz-shimmer { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%); background-size: 220% 100%; animation: hzShimmer 1.6s linear infinite; pointer-events: none; }
.hz-result { appearance: none; border: 0; padding: 0; cursor: zoom-in; position: absolute; inset: 0; width: 100%; height: 100%; background: none; }
.hz-result img { width: 100%; height: 100%; object-fit: contain; display: block; background: #0b080b; }
.hz-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.hz-chip { appearance: none; display: block; padding: 0; width: 40px; height: 52px; border-radius: 10px; overflow: hidden; border: 1.5px solid var(--line); background: rgba(255,255,255,.06); cursor: pointer; }
.hz-chip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hz-chip.on { border-color: var(--hot); box-shadow: 0 0 0 2px rgba(245,43,145,.3); }
.hz-chip.dev { cursor: default; animation: hzTwinkle 1.4s ease-in-out infinite; }
.hz-chip.miss { cursor: default; opacity: .3; }
.hz-magic { display: grid; justify-items: center; gap: 6px; }
.hz-magic small { font-family: var(--wide); font-weight: 700; font-size: 7.5px; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; text-align: center; color: var(--muted); max-width: 64px; }
.hz-trail { position: relative; width: 40px; height: 12px; }
.hz-trail i { position: absolute; top: 3px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #ff7ec4; box-shadow: 0 0 8px rgba(245,43,145,.95); opacity: 0; animation: hzTravel 1.8s ease-in-out infinite; }
.hz-trail i:nth-child(2) { animation-delay: .6s; }
.hz-trail i:nth-child(3) { animation-delay: 1.2s; }
.hz-arrow { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--chrome); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 8px 20px -8px rgba(245,43,145,.95); animation: hzPulse 2.4s ease-in-out infinite; }
.hz-arrow::after { content: ''; position: absolute; left: 9px; top: 10px; width: 8px; height: 8px; border-top: 2.5px solid #fff; border-right: 2.5px solid #fff; transform: rotate(45deg); }
@keyframes hzTravel { 0% { left: 0; opacity: 0; transform: scale(.6); } 30% { opacity: 1; } 100% { left: 34px; opacity: 0; transform: scale(1.15); } }
@keyframes hzPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes hzShimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes hzTwinkle { 0%, 100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.08); } }
.prompt-label.hz-free { font-family: var(--wide); font-weight: 700; font-size: 10.5px; letter-spacing: .1em; color: var(--hot); }
.hz-disclose { font-size: 11.5px; line-height: 1.5; color: var(--muted); text-align: center; }
body.hz-mode .ws-controls { gap: 30px; }
body.hz-mode .hz-direct { gap: 12px; }
@media (min-width: 981px) {
  body.hz-mode .ws { grid-template-columns: minmax(0, 1fr); }
  body.hz-mode .ws-controls { width: min(100%, 880px); justify-self: center; padding: 30px 36px; }
  body.hz-mode .ws-results { position: static; }
  body.hz-mode .hz-stage { grid-template-columns: minmax(0, 240px) 92px minmax(0, 240px); justify-content: center; }
  body.hz-mode .hz-magic small { max-width: none; font-size: 8.5px; }
}
/* Phones: the journey reads top to bottom, and the big button waits at the end instead of floating over the form */
@media (max-width: 980px) {
  body.hz-mode .eat-step { position: static; margin: 0; padding: 0; background: none; border-radius: 0; }
  body.hz-mode .eat-step .step-h { display: flex; }
}
@media (max-width: 560px) {
  .hz-stage { grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr); gap: 3px; }
  .hz-stage > .hz-magic { margin-top: calc(14px + 30%); }
  .hz-trail { width: 30px; }
  .hz-magic small { font-size: 6px; letter-spacing: .04em; max-width: 50px; }
  .hz-arrow { width: 26px; height: 26px; }
  .hz-arrow::after { left: 7px; top: 8px; }
  .hz-frame figcaption { font-size: 8.5px; letter-spacing: .1em; }
  .hz-drop { padding: 8px; gap: 4px; }
  .hz-drop b { font-size: 12.5px; }
  .hz-drop .hz-fmt { display: none; }
  .hz-plus { width: 40px; height: 40px; font-size: 22px; }
  .hz-swap { min-height: 44px; padding: 8px 10px; font-size: 8.5px; bottom: 6px; }
  .hz-swap { letter-spacing: .05em; padding: 8px 12px; }
  .hz-wait b { font-size: 14px; }
  body.hz-mode .hz-desc { display: none; }
  body.hz-mode .qual-line { display: none; }
  body.hz-mode .qual { min-height: 0; }
  body.hz-mode .formats { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px 6px; }
  body.hz-mode .formats::-webkit-scrollbar { display: none; }
  body.hz-mode .fmt { flex: 0 0 76px; min-height: 0; padding: 10px 4px 8px; }
  .hz-frame figcaption { min-height: 2.8em; display: flex; align-items: flex-end; justify-content: center; text-align: center; }
  body.hz-mode .qual { padding: 10px 12px; gap: 4px; }
  body.hz-mode .vision textarea { min-height: 76px; }
  body.hz-mode #lookDesc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  body.hz-mode .qualities { grid-template-columns: 1fr 1fr; gap: 8px; }
  body.hz-mode .ws-controls { gap: 22px; }
}
@media (max-width: 360px) {
  .hz-swap { white-space: normal; width: calc(100% - 12px); line-height: 1.25; padding: 6px 8px; }
}
.hz-sum { margin: 0 0 8px; text-align: center; font-size: 12px; color: var(--muted); }
.hz-sum a { color: var(--hot); font-weight: 700; }
.hz-real { scroll-margin-top: 110px; }
.hz-zoom { display: grid; place-items: center; padding: 64px 16px 24px; background: rgba(11,8,11,.94); }
.hz-zoom img { max-width: 100%; max-height: calc(100vh - 100px); object-fit: contain; border-radius: 14px; }
.v-method { margin: 4px 0 0; display: inline-block; justify-self: start; padding: 5px 11px; border-radius: 999px; background: rgba(245,43,145,.12); border: 1px solid rgba(245,43,145,.35); color: var(--blush); font-family: var(--wide); font-weight: 700; font-size: 10px; letter-spacing: .08em; }
@media (max-width: 430px) { .mode:has(#modeHz:not(.hidden)) button { min-height: 52px; padding: 8px 4px; font-size: 9px; letter-spacing: .05em; } }
@media (prefers-reduced-motion: reduce) { .hz-trail i, .hz-arrow, .hz-spark, .hz-shimmer, .hz-chip.dev { animation: none; } .hz-trail i:first-child { opacity: 1; left: 17px; } }
.mode-line { margin-top: -12px; font-size: 13px; color: var(--muted); }
.step { display: grid; gap: 12px; }
.step-h { display: flex; align-items: baseline; gap: 10px; }
.step-h b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 30px; line-height: 1; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step-h span { font-family: var(--wide); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.vision { display: grid; gap: 6px; padding: 14px 16px 10px; border-radius: 20px; background: linear-gradient(180deg, #fffafd, #ffe9f3); color: var(--ink); box-shadow: inset 0 0 0 1px #fff, 0 16px 36px -18px rgba(245,43,145,.8); cursor: text; }
.vision-hint { font-size: 12px; color: var(--muted-dark); }
.vision textarea { width: 100%; min-height: 130px; resize: vertical; border: 0; background: transparent; color: var(--ink); font-size: 16px; line-height: 1.5; padding: 0; }
.vision textarea::placeholder { color: #c194aa; }
.vision textarea:focus { outline: none; }
.vision:focus-within { box-shadow: inset 0 0 0 2px var(--hot), 0 16px 36px -18px rgba(245,43,145,.9); }
.counter { font-size: 11.5px; color: var(--muted-dark); text-align: right; min-height: 0; }

.her-box { display: grid; gap: 10px; padding: 14px; border-radius: 20px; background: rgba(245,43,145,.07); border: 1px solid rgba(245,43,145,.28); }
.her-box .btn { justify-self: start; }
.her-pick { display: grid; gap: 8px; }
.her-chip { appearance: none; display: flex; align-items: center; gap: 12px; cursor: pointer; text-align: left; padding: 8px 12px 8px 8px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1.5px solid var(--line); }
.her-chip img, .her-chip .face { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex: none; background: var(--leopard) center / 40px; }
.her-chip b { display: block; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 19px; line-height: 1.1; }
.her-chip small { font-size: 11.5px; color: var(--muted); }
.her-chip.on { border-color: var(--hot); box-shadow: 0 0 0 3px rgba(245,43,145,.22); }
.her-chip.on small { color: var(--hot); font-weight: 700; }
.her-chip[disabled] { opacity: .55; cursor: default; }
.tiny { font-size: 12.5px; color: var(--muted); }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.tile { appearance: none; cursor: pointer; position: relative; overflow: hidden; aspect-ratio: 3/4; border-radius: 14px; border: 0; padding: 0; background: #000; color: #fff; display: grid; place-items: end start; transition: transform .25s var(--ease); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,8,11,.88)); }
.tile span { position: relative; z-index: 1; padding: 8px; font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .06em; }
.tile.on { box-shadow: 0 0 0 3px var(--hot), 0 0 24px rgba(245,43,145,.6); }

.feature-cards { display: grid; gap: 10px; }
.feat { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.feat-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; min-height: 64px; }
.feat-ic { width: 40px; height: 40px; border-radius: 13px; flex: none; }
.feat-ic.chrome { background: radial-gradient(circle at 32% 28%, #fff 0 12%, transparent 30%), var(--chrome); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.feat-ic.leo { background: var(--leopard) center / 44px; box-shadow: inset 0 0 0 2px var(--hot), 0 0 16px rgba(245,43,145,.45); }
.feat-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.feat-txt b { font-family: var(--wide); font-weight: 800; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.feat-txt small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.feat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw { width: 50px; height: 30px; border-radius: 999px; background: rgba(255,255,255,.14); position: relative; flex: none; transition: background .25s; }
.sw::after { content: ''; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: left .25s var(--ease); }
.feat input:checked + .sw { background: var(--chrome); box-shadow: 0 0 16px rgba(245,43,145,.5); }
.feat input:checked + .sw::after { left: 24px; }
.feat input:focus-visible + .sw { outline: 3px solid rgba(255,140,196,.75); outline-offset: 3px; }
.feat.engine { background: radial-gradient(260px 120px at 100% 0, rgba(245,43,145,.22), transparent 70%), rgba(255,255,255,.035); border-color: rgba(245,43,145,.35); }
.feat.engine.on { box-shadow: 0 0 0 1.5px var(--hot), 0 0 30px -6px rgba(245,43,145,.7); }
.engine-board { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; padding: 0 14px 14px; }
.engine-board img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; }

.count { display: grid; grid-template-columns: repeat(8, minmax(0,1fr)); gap: 6px; }
.count button { appearance: none; cursor: pointer; aspect-ratio: 1; min-height: 36px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.05); font-weight: 800; font-size: 14px; transition: background .2s, color .2s, transform .2s; }
.count button.on { background: var(--pearl); color: var(--black); transform: scale(1.06); }
.more summary { cursor: pointer; font-family: var(--wide); font-weight: 700; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.more[open] summary { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { appearance: none; cursor: pointer; min-height: 36px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-weight: 700; font-size: 13px; }
.chip.on { background: var(--pearl); color: var(--black); }
.eat-bar { display: grid; gap: 8px; }
.eat-sub { text-align: center; font-size: 12px; color: var(--muted); }
.form-msg { min-height: 20px; font-size: 13.5px; font-weight: 700; color: #ff8cc4; text-align: center; }
.form-msg:empty { min-height: 0; }

/* ---------- The shoot ---------- */
.ws-results { min-width: 0; position: sticky; top: 90px; }
.shoot-head { display: grid; gap: 6px; margin-bottom: 14px; }
.shoot-title { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; }
.shoot-title em { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shoot-line { font-family: var(--wide); font-weight: 700; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blush); min-height: 1em; }
.prog { height: 5px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: var(--chrome); transition: width .5s var(--ease); box-shadow: 0 0 12px rgba(245,43,145,.8); }
.film { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; align-items: start; }
.shot { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #140d12; border: 1px solid var(--line); aspect-ratio: 9/16; }
.shot.pending { display: grid; place-items: center; background: radial-gradient(circle at 50% 44%, rgba(245,43,145,.22), transparent 62%), #140d12; }
.shot.pending::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.05) 50%, transparent 70%) 0 0 / 220% 100%; animation: glint 2.4s linear infinite; }
@keyframes glint { to { background-position: -220% 0; } }
.shot.pending .tag { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-family: var(--wide); font-weight: 700; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--blush); }
.shot.pending .num { position: absolute; top: 10px; left: 12px; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 20px; color: rgba(248,200,220,.35); }
.lens { position: relative; width: 58%; max-width: 120px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, #ff8cc4, #E50978, #ffd6ea, #F52B91, #a8004a, #ff8cc4); box-shadow: 0 0 0 4px #2a1c25, 0 0 0 5px rgba(248,200,220,.25), 0 0 34px rgba(245,43,145,.55); animation: spin 3.2s linear infinite; }
.lens i { position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4a2a3a, #0B080B 72%); box-shadow: inset 0 0 12px #000; animation: iris 1.8s ease-in-out infinite alternate; }
.lens::after { content: ''; position: absolute; width: 16%; height: 16%; left: 30%; top: 26%; border-radius: 50%; background: rgba(255,255,255,.85); filter: blur(2px); animation: spin 3.2s linear infinite reverse; }
.lens.idle { width: 84px; animation-duration: 9s; margin: 0 auto 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes iris { from { inset: 20%; } to { inset: 33%; } }
.shot.landed { box-shadow: 0 0 0 1.5px rgba(245,43,145,.55), 0 20px 40px -20px rgba(245,43,145,.6); display: grid; grid-template-rows: minmax(0, 1fr) auto; aspect-ratio: auto; }
.shot.landed.fresh { animation: land .7s var(--ease) both; }
.shot.landed .pic-btn { appearance: none; border: 0; padding: 0; background: none; cursor: zoom-in; display: block; aspect-ratio: 9/16; overflow: hidden; }
.shot.landed .pic-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) { .shot.landed .pic-btn:hover img { transform: scale(1.04); } }
.shot.landed .flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 2; }
.shot.landed.fresh .flash { animation: flash .9s ease-out 1; }
@keyframes flash { 0% { opacity: .95; } 100% { opacity: 0; } }
@keyframes land { from { opacity: 0; transform: scale(.95) translateY(8px); filter: blur(6px) brightness(1.6); } to { opacity: 1; transform: none; filter: none; } }
.shot .dl { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 10px 8px; font-family: var(--wide); font-weight: 700; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: #fff; background: var(--chrome); }
.shot .dl::before { content: ''; width: 13px; height: 13px; background: currentColor; -webkit-mask: var(--dl-ic) center / contain no-repeat; mask: var(--dl-ic) center / contain no-repeat; }
:root { --dl-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 3h2v10l4-4 1.4 1.4L12 16.8 5.6 10.4 7 9l4 4z'/%3E%3Cpath d='M4 19h16v2H4z'/%3E%3C/svg%3E"); }
.shot.missed { display: grid; place-items: center; padding: 16px; text-align: center; background: radial-gradient(circle at 50% 40%, rgba(245,43,145,.12), transparent 60%), #160e13; border-style: dashed; border-color: rgba(245,43,145,.4); }
.shot.missed b { display: block; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 18px; line-height: 1.1; }
.shot.missed span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.shoot-empty { text-align: center; padding: 50px 20px; border-radius: 26px; border: 1.5px dashed var(--line-strong); color: var(--muted); }
.shoot-empty p { max-width: 380px; margin: 0 auto; }

/* ---------- Camera Roll (pearl paper) ---------- */
.pearl-page { --pp: 1; }
.view.pearl-page.active { background: radial-gradient(400px 240px at 90% 0, #ffd6ea, transparent 70%), linear-gradient(180deg, #fff8fc, #fdeaf3); color: var(--ink); border-radius: 30px; padding: 26px clamp(14px, 3vw, 30px) 30px; }
.pearl-page .sec-h .sub { color: var(--muted-dark); }
.roll-set { position: relative; margin-bottom: 22px; padding: 22px 16px 24px; border-radius: 18px; background: #120c10; color: var(--pearl); box-shadow: 0 24px 46px -26px rgba(11,8,11,.8); }
.roll-set::before, .roll-set::after { content: ''; position: absolute; left: 12px; right: 12px; height: 8px; background: repeating-linear-gradient(90deg, #fdeaf3 0 10px, transparent 10px 22px); border-radius: 2px; opacity: .9; }
.roll-set::before { top: 6px; } .roll-set::after { bottom: 6px; }
.roll-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 6px 2px 12px; font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--blush); }
.roll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.roll-grid .shot { border-radius: 10px; }
.stamp { position: absolute; right: 8px; bottom: 54px; z-index: 2; font-family: 'Courier New', ui-monospace, monospace; font-weight: 700; font-size: 11px; color: #ff7fbf; text-shadow: 0 0 6px rgba(245,43,145,.95); pointer-events: none; }
.empty { text-align: center; padding: 50px 20px; display: grid; gap: 10px; justify-items: center; }
.empty h2 { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 32px; }
.empty p { color: var(--muted-dark); }

/* ---------- FINE AIDENTITIES (comp cards) ---------- */
.comp { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.cc { position: relative; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, #fffafd, #ffe6f1); color: var(--ink); box-shadow: 0 30px 50px -28px #000; transition: transform .35s var(--ease); }
@media (hover: hover) { .cc:hover { transform: translateY(-4px) rotate(-.6deg); } }
.cc .ph { position: relative; aspect-ratio: 4/4.8; background: var(--leopard) center / 70px; }
.cc .ph img { width: 100%; height: 100%; object-fit: cover; }
.cc .tag { position: absolute; left: 10px; top: 10px; font-family: var(--wide); font-weight: 700; font-size: 8.5px; letter-spacing: .16em; padding: 6px 9px; border-radius: 999px; background: rgba(11,8,11,.78); color: #fff; }
.cc .meta { padding: 12px 14px 16px; display: grid; gap: 8px; }
.cc .meta small { font-family: var(--wide); font-weight: 700; font-size: 8.5px; letter-spacing: .16em; color: var(--fuchsia); }
.cc .meta b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 26px; line-height: 1; }
.cc .meta p { font-size: 12.5px; color: var(--muted-dark); }
.cc .meta .btn { justify-self: start; }
.cc.add { display: grid; place-items: center; text-align: center; padding: 26px 18px; background: rgba(245,43,145,.06); color: var(--pearl); border: 2px dashed rgba(245,43,145,.5); box-shadow: none; min-height: 300px; }
.cc.add b { display: block; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 28px; }
.cc.add p { color: var(--muted); font-size: 13px; margin: 8px 0 14px; }

/* ---------- Cards, forms, account ---------- */
.acct { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.card { padding: 22px; border-radius: 24px; background: linear-gradient(180deg, rgba(30,19,26,.92), rgba(15,10,14,.96)); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.card.wide { grid-column: 1 / -1; }
.card h2 { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 26px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--blush); }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(255,241,247,.05); color: var(--pearl); font-size: 16px; }
.input:focus { outline: none; border-color: var(--hot); box-shadow: 0 0 0 4px rgba(245,43,145,.2); }
.card .btn { justify-self: start; }
.code-out { padding: 14px; border-radius: 14px; border: 1.5px dashed var(--hot); text-align: center; }
.code { font-family: ui-monospace, Menlo, monospace; font-weight: 700; letter-spacing: .08em; color: var(--blush); font-size: 18px; }
.tbl { overflow-x: auto; }
.list { width: 100%; border-collapse: collapse; font-size: 14px; }
.list th { text-align: left; font-family: var(--wide); font-size: 9px; letter-spacing: .14em; color: var(--muted); padding: 0 8px 10px; border-bottom: 1px solid var(--line); }
.list td { padding: 11px 8px; border-bottom: 1px solid rgba(248,200,220,.08); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(245,43,145,.16); color: var(--blush); }
.pill.used { background: rgba(255,255,255,.06); color: var(--muted); }
.engine-out { display: grid; gap: 6px; font-size: 14px; }

/* ---------- Overlays ---------- */
body.locked { overflow: hidden; }
.overlay { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 18px; background: rgba(11,8,11,.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
#lightbox.overlay { padding: 0; place-items: stretch; background: rgba(11,8,11,.96); }
.lightbox { width: 100%; height: 100dvh; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: max(14px, env(safe-area-inset-top)) var(--pad-r) 0 var(--pad); }
.lightbox img { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 16px; }
.lb-bar { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 0 calc(14px + env(safe-area-inset-bottom)); }
.lb-meta { font-family: var(--wide); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-actions { display: flex; gap: 8px; flex: none; }
.modal { width: min(560px, 100%); max-height: calc(100dvh - 36px); overflow: auto; }
.modal h2 { font-size: 30px; }
.ok-no { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; }
.ok-no div { padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--muted); }
.ok-no b { display: block; color: var(--blush); }
.drop { display: grid; place-items: center; min-height: 80px; padding: 18px; border-radius: 18px; border: 2px dashed rgba(245,43,145,.5); color: var(--blush); font-weight: 700; cursor: pointer; text-align: center; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bring-thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.bring-thumbs img { width: 60px; height: 60px; object-fit: cover; border-radius: 10px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Sign in / Join ---------- */
.gate { min-height: 100vh; display: grid; place-items: center; padding: calc(30px + env(safe-area-inset-top)) var(--pad-r) 40px var(--pad); }
.gate-inner { width: 100%; max-width: 440px; display: grid; gap: 14px; text-align: center; position: relative; }
.gate-logo { width: min(300px, 76vw); margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(245,43,145,.45)); }
.gate h1 { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(34px, 8vw, 46px); line-height: 1; }
.gate h1 em { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gate .lede { color: var(--muted); }
.gate-card { text-align: left; margin-top: 6px; }
.gate-card .btn { width: 100%; justify-self: stretch; }
.gate-alt { color: var(--muted); font-size: 14.5px; }
.gate-foot { font-family: var(--wide); font-size: 9.5px; letter-spacing: .22em; color: var(--muted-dark); margin-top: 18px; }
.gate .form-msg { text-align: left; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .lb-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 980px) {
  .hd-nav { display: none; }
  .menu-pill { display: inline-flex; margin-left: auto; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 0; cursor: pointer; font-family: var(--wide); font-weight: 700; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--chrome); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 8px 20px -10px rgba(245,43,145,.9); }
  .menu-pill i { width: 14px; height: 10px; position: relative; border-top: 2px solid #fff; border-bottom: 2px solid #fff; }
  .menu-pill i::after { content: ''; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid #fff; }
  .hd-logo img { height: 46px; }
  .home-hero { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .fan { height: 300px; margin-top: 6px; }
  .doors { grid-template-columns: 1fr; }
  .ws { grid-template-columns: 1fr; }
  .ws-results { position: static; }
  .eat-step { position: sticky; bottom: 0; z-index: 20; margin: 0 -20px -20px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(15,10,14,0), rgba(15,10,14,.96) 22%); border-radius: 0 0 28px 28px; }
  .eat-step .step-h { display: none; }
}
@media (max-width: 560px) {
  main { padding-top: 18px; }
  .hero-h { font-size: 46px; }
  .fan { height: 240px; }
  .fan figure { width: 40%; }
  .fan figure:nth-child(1) { left: -2%; top: 40px; } .fan figure:nth-child(2) { left: 18%; top: 6px; } .fan figure:nth-child(3) { left: 40%; top: 20px; } .fan figure:nth-child(4) { left: 61%; top: 50px; }
  .door { grid-template-columns: minmax(0, 1fr) 36%; min-height: 230px; padding: 18px; border-radius: 24px; }
  .door-art { min-height: 150px; }
  .door h2 { font-size: 30px; }
  .door-copy > p:not(.door-tag) { font-size: 13px; }
  .typing { font-size: 13px; }
  .lb-grid, .lb-grid.big { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .mini-lb { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; }
  .mini-lb::-webkit-scrollbar { display: none; }
  .mini-lb .cover { flex: 0 0 76px; scroll-snap-align: start; }
  .ws-controls { padding: 18px; border-radius: 24px; gap: 20px; }
  .eat-step { margin: 0 -18px -18px; padding-left: 18px; padding-right: 18px; }
  .tiles { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .film, .roll-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .comp { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .cc .meta b { font-size: 21px; }
  .ok-no { grid-template-columns: 1fr; }
  .lb-meta { display: none; }
  .lb-actions { flex: 1; } .lb-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Review fixes ---------- */
.menu { background: radial-gradient(320px 280px at 100% 0, rgba(245,43,145,.35), transparent 70%), #0B080B; }
.menu-links span { font-size: clamp(28px, 8.4vw, 36px); }
.mini-lb .cover .t b { font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.mini-lb .cover .gem { display: none; }
.mini-lb .cover.on { box-shadow: 0 0 0 2.5px var(--hot), 0 0 22px rgba(245,43,145,.7); }
.shot.pending .tag { padding: 0 8px; font-size: 8px; }
.cover .t b { font-size: clamp(18px, 1.75vw, 27px); overflow-wrap: anywhere; }
.lb-grid.big .cover .t b { font-size: clamp(24px, 3vw, 38px); }
@media (min-width: 981px) {
  .mini-lb { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; }
  .mini-lb .cover { aspect-ratio: 4/3.6; }
  .mini-lb .cover .t b { font-size: 11px; }
}


/* ---------- The FINE AIF doll ---------- */
.mascot { position: fixed; z-index: 35; right: max(10px, env(safe-area-inset-right)); bottom: calc(6px + env(safe-area-inset-bottom)); width: var(--doll-w, 150px); pointer-events: none; transition: opacity .35s, transform .35s var(--ease); }
.mascot-doll { pointer-events: auto; position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.doll-bob { display: block; animation: dollBob 4.6s ease-in-out infinite; }
.doll-sway { display: block; position: relative; transform-origin: 50% 92%; animation: dollSway 7.2s ease-in-out infinite; }
.doll-sway img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgba(0,0,0,.55)) drop-shadow(0 0 22px rgba(245,43,145,.4)); user-select: none; -webkit-user-drag: none; }
@keyframes dollBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes dollSway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.8deg); } }
.doll-glow { position: absolute; left: 14%; right: 14%; bottom: -2px; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(245,43,145,.6), transparent); filter: blur(4px); z-index: -1; animation: dollGlow 4.6s ease-in-out infinite; }
@keyframes dollGlow { 50% { transform: scale(.8); opacity: .55; } }
/* Eyelids: placed over her eyes in the photo, they close for a split second */
.lid { position: absolute; border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%; transform-origin: 50% 0; transform: scaleY(0);
  background: linear-gradient(180deg, #a4603c 0%, #96532f 75%, #5a2c17 100%); box-shadow: 0 1px 0 rgba(20,8,4,.85); filter: blur(.25px); transition: transform .07s ease-in; }
.lid.l { left: 40.8%; top: 14.4%; width: 6.1%; height: 2.2%; }
.lid.r { left: 52.2%; top: 14.1%; width: 5.8%; height: 2.3%; }
.mascot.blink .lid { transform: scaleY(1); transition-duration: .05s; }
/* Tap: a happy bounce */
.mascot.bounce .mascot-doll { animation: dollBounce .75s cubic-bezier(.3,1.6,.5,1) 1; }
@keyframes dollBounce { 0% { transform: translateY(0) scale(1); } 25% { transform: translateY(-26px) scale(1.05, .97); } 50% { transform: translateY(0) scale(.97, 1.03); } 70% { transform: translateY(-9px); } 100% { transform: none; } }
.mascot.bounce .doll-glow { animation: none; }
/* Speech bubble */
.bubble { pointer-events: auto; position: absolute; right: 70%; bottom: 74%; width: max-content; max-width: 220px; padding: 10px 14px; border-radius: 18px 18px 4px 18px;
  background: linear-gradient(180deg, #fff, #ffe3ef); color: var(--ink); font-family: var(--wide); font-weight: 800; font-size: 10.5px; letter-spacing: .03em; line-height: 1.4;
  box-shadow: 0 16px 30px -14px rgba(245,43,145,.85), inset 0 0 0 1px #fff; opacity: 0; transform: translateY(8px) scale(.9); transform-origin: 100% 100%; transition: opacity .25s, transform .3s var(--ease); }
.bubble.show { opacity: 1; transform: none; }
.mascot-min { pointer-events: auto; position: absolute; top: 2%; right: -2px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(11,8,11,.85); color: var(--pearl); cursor: pointer; font-size: 18px; line-height: 1; }
.mascot.min { --doll-w: 62px; }
.mascot.min .bubble, .mascot.min .mascot-min { display: none; }
.mascot.min .mascot-doll { border-radius: 50%; }
/* Step aside while she works */
body.typing .mascot:not(.bounce), body.shooting .mascot:not(.bounce) { opacity: 0; transform: translateY(24px); }
body.typing .mascot .mascot-doll, body.shooting .mascot:not(.bounce) .mascot-doll { pointer-events: none; }
@media (max-width: 980px) {
  .mascot { --doll-w: 96px; }
  .mascot.min { --doll-w: 52px; }
  .bubble { max-width: 170px; font-size: 9.5px; right: 82%; }
  body.in-studio .mascot, body.in-camera-roll .mascot { display: none; }
  body.in-home .mascot { position: absolute; top: calc(70px + env(safe-area-inset-top, 0px)); bottom: auto; }
  body.in-home .mascot .bubble { top: calc(100% + 132px); bottom: auto; right: 0; border-radius: 18px 4px 18px 18px; transform-origin: 100% 0; }
}
@media (prefers-reduced-motion: reduce) { .doll-bob, .doll-sway, .doll-glow { animation: none; } }

.mascot-mute { pointer-events: auto; position: absolute; top: calc(2% + 36px); right: -2px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(11,8,11,.85); color: var(--pearl); cursor: pointer; font-size: 13px; line-height: 1; display: grid; place-items: center; }
.mascot.min .mascot-mute { display: none; }
@media (max-width: 980px) { .mascot-mute { width: 26px; height: 26px; font-size: 11px; top: calc(2% + 30px); } }

/* ---------- Photo format + image quality (primary settings) ---------- */
:root { --bubblegum: #ff7ec4; }
.setting { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.set-h { padding: 0; display: grid; gap: 2px; margin-bottom: 10px; }
.set-h b { font-family: var(--wide); font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.set-h span { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 17px; color: var(--blush); }
.formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fmt, .qual { appearance: none; cursor: pointer; text-align: left; color: var(--pearl); border: 1.5px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border-radius: 16px; transition: border-color .2s, box-shadow .25s, transform .2s var(--ease), background .25s; -webkit-tap-highlight-color: transparent; }
.fmt { display: grid; justify-items: center; gap: 4px; padding: 12px 6px 10px; min-height: 92px; text-align: center; }
.fmt-shape { height: 30px; display: grid; place-items: center; }
.fmt-shape i { display: block; border-radius: 4px; border: 2px solid var(--muted); transition: border-color .2s, background .2s; }
.fmt-name { font-weight: 800; font-size: 12.5px; line-height: 1.15; }
.fmt-ratio { font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .1em; color: var(--muted); }
.qualities { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qual { display: grid; align-content: start; gap: 8px; padding: 14px; min-height: 140px; position: relative; overflow: hidden; }
.qual-top { display: grid; gap: 3px; }
.qual-top b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 24px; line-height: 1; }
.qual-tag { font-family: var(--wide); font-weight: 700; font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--hot); }
.qual-line { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.qual.hd::before { content: 'HD'; position: absolute; right: 10px; top: 10px; font-family: var(--wide); font-weight: 800; font-size: 9px; letter-spacing: .12em; padding: 4px 7px; border-radius: 999px; background: var(--chrome); color: #fff; }
@media (hover: hover) { .fmt:hover, .qual:hover { transform: translateY(-2px); border-color: rgba(255,126,196,.6); } }
.fmt:active, .qual:active { transform: scale(.97); }
.fmt.on, .qual.on {
  border-color: var(--bubblegum); background: radial-gradient(160px 90px at 50% 0, rgba(255,126,196,.28), transparent 70%), linear-gradient(180deg, rgba(255,126,196,.14), rgba(245,43,145,.06));
  box-shadow: 0 0 0 1.5px var(--bubblegum), 0 0 0 5px rgba(255,126,196,.18), 0 12px 26px -12px rgba(245,43,145,.85), inset 0 1px 0 rgba(255,255,255,.35);
}
.fmt.on .fmt-shape i { border-color: var(--bubblegum); background: rgba(255,126,196,.25); }
.fmt.on .fmt-ratio, .qual.on .qual-line { color: var(--pearl); }
.fmt.on::after, .qual.on::after { content: '✓'; position: absolute; }
.fmt { position: relative; }
.fmt.on::after { top: 6px; right: 8px; font-size: 11px; font-weight: 900; color: var(--bubblegum); }
.qual.on::after { left: auto; right: 12px; bottom: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #fff; background: var(--chrome); }
@media (max-width: 560px) {
  .formats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .fmt { min-height: 86px; padding: 10px 4px 9px; border-radius: 14px; }
  .fmt-name { font-size: 11.5px; }
  .qualities { grid-template-columns: 1fr; }
  .qual { min-height: 0; }
}

/* Long style names (DOLLHOUSE) stay on one line */
.cover .t b { white-space: nowrap; overflow: visible; text-overflow: clip; }
.cover .t b.long { font-size: clamp(16px, 1.45vw, 22px); letter-spacing: -.01em; }
.lb-grid.big .cover .t b.long { font-size: clamp(22px, 2.5vw, 32px); }
.mini-lb .cover .t b, .mini-lb .cover .t b.long { text-overflow: clip; overflow: visible; }
.mini-lb .cover .t b.long { font-size: 8px; letter-spacing: 0; }
@media (max-width: 560px) { .lb-grid .cover .t b.long { font-size: 19px; } }

/* ---------- Prompt under each photo + Reuse ---------- */
.shot.landed .used { display: grid; gap: 6px; padding: 10px 10px 12px; background: #1a1117; border-top: 1px solid var(--line); }
.used-lbl { font-family: var(--wide); font-weight: 700; font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--blush); }
.used-txt { margin: 0; max-height: 5.6em; overflow-y: auto; font-size: 12px; line-height: 1.4; color: #ecd3df; overflow-wrap: anywhere; white-space: pre-wrap; user-select: text; scrollbar-width: thin; }
.reuse { appearance: none; justify-self: start; cursor: pointer; min-height: 34px; padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--bubblegum, #ff7ec4); background: transparent; color: var(--pearl); font-family: var(--wide); font-weight: 700; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; transition: background .2s, transform .2s; }
.reuse:hover { background: rgba(255,126,196,.15); } .reuse:active { transform: scale(.96); }
.shot.landed .pic-btn { position: relative; }
.pic-btn .stamp { bottom: 8px; right: 8px; }
.reuse { white-space: nowrap; }

/* ---------- TAKE HER ---------- */
.take-modal { width: min(640px, 100%); gap: 16px; }
.take-modal h2 em { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.refs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.ref:not(.main) span { background: rgba(11,8,11,.78); }
.ref { position: relative; margin: 0; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; border: 1.5px solid var(--line); }
.ref img { width: 100%; height: 100%; object-fit: cover; }
.ref.main { border-color: var(--bubblegum, #ff7ec4); box-shadow: 0 0 0 3px rgba(255,126,196,.2); }
.ref span { position: absolute; left: 4px; bottom: 4px; font-family: var(--wide); font-weight: 700; font-size: 8px; letter-spacing: .1em; padding: 3px 6px; border-radius: 999px; background: var(--chrome); color: #fff; }
.ref-x { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(11,8,11,.8); color: #fff; cursor: pointer; font-size: 14px; line-height: 1; }
.ref-add { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ref-pick { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.ref.sel { border-color: var(--hot); box-shadow: 0 0 0 3px rgba(245,43,145,.45); }
.ref-grip { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: rgba(11,8,11,.8); color: #fff; font-size: 14px; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.ref.dragging { opacity: .55; outline: 2px dashed var(--hot); outline-offset: 2px; }
.refs.is-dragging .ref-grip { cursor: grabbing; }
.ref-tip { margin: 6px 0 0; color: var(--muted); }
.ref-tools { margin-top: 8px; padding: 10px; border-radius: 14px; background: rgba(245,43,145,.08); border: 1px solid rgba(245,43,145,.3); display: grid; gap: 8px; }
.ref-tools-t { margin: 0; font-weight: 700; font-size: 13px; color: #fbe6f0; }
.ref-tools-b { display: flex; flex-wrap: wrap; gap: 6px; }
.ref-tools-b .btn { flex: 1 1 auto; min-height: 44px; }
.ref-tools-b .btn:disabled { opacity: .4; }
.gp-sheet > .gp-device { grid-row: 4; justify-self: start; cursor: pointer; }
/* Reference Library (2B-1) */
.gp-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.gp-tabs::-webkit-scrollbar { display: none; }
.gp-tabs button { flex: none; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #fbe6f0; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.gp-tabs button[aria-selected="true"] { background: var(--hot); border-color: var(--hot); color: #fff; }
.gp-name { position: absolute; left: 8px; right: 54px; bottom: 10px; padding: 4px 8px; border-radius: 8px; background: rgba(11,8,11,.82); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.gp-pin { position: absolute; top: 8px; right: 8px; font-size: 16px; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.lib-ctl { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(245,43,145,.07); border: 1px solid rgba(245,43,145,.28); }
.lib-ctl .lib-h { margin: 0; font-weight: 700; font-size: 13px; color: #fbe6f0; }
.lib-ctl input { min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.35); color: #fff; font: inherit; font-size: 15px; }
.lib-ctl .lib-b { display: flex; flex-wrap: wrap; gap: 6px; }
.lib-ctl .lib-b .btn { flex: 1 1 auto; min-height: 44px; }
.lib-ctl .lib-note { margin: 0; font-size: 12px; color: var(--blush); }
.lib-ctl .lib-note:empty { display: none; }
.gp-sheet .gp-preview { grid-template-rows: minmax(0, 1fr) auto auto; }
.gp-preview .lib-ctl { max-height: 40dvh; overflow-y: auto; }
body:not(.lib-on) .lib-only { display: none; }
/* ===================== TAKE HER · The Private Fitting Room =====================
   Phone: her photo fills the screen; the editor is a sheet with three positions (peek · half · full).
   Desktop (1100px+): her photo on the left, the editor on the right. Colors unchanged. */
#takeModal.overlay { padding: 0; place-items: stretch; display: grid; grid-template-rows: auto minmax(0, 1fr); background: var(--black); height: var(--fr-vh, 100dvh); }
.fr-bar { display: flex; align-items: center; gap: 8px; padding: calc(8px + env(safe-area-inset-top, 0px)) var(--pad-r) 8px var(--pad); border-bottom: 1px solid var(--line); background: rgba(11,8,11,.94); }
.fr-brand { display: grid; line-height: 1.1; min-width: 0; }
.fr-brand small { font-family: var(--wide); font-weight: 700; font-size: 10px; letter-spacing: .16em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr-brand h2 { margin: 0; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 22px; white-space: nowrap; }
.fr-saved { margin-left: auto; font-size: 13px; font-weight: 700; color: #7ee2b0; white-space: nowrap; }
.fr-saved.warn { color: var(--blush); }
.fr-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,.05); color: #fff; display: grid; place-items: center; font-size: 17px; cursor: pointer; }
.fr-saved.hidden + .fr-icon { margin-left: auto; }
.fr-main { position: relative; min-height: 0; }
.take-stage { position: absolute; inset: 0; background: #000; overflow: hidden; }
.take-stage > img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; cursor: zoom-in; }
.fr-cap { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; pointer-events: none; }
.fr-who { display: grid; gap: 1px; padding: 8px 12px; border-radius: 14px; background: rgba(11,8,11,.8); }
.fr-who b { font-size: 14px; }
.fr-who span { font-size: 13px; color: var(--blush); }
.fr-zoom { pointer-events: auto; flex: none; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(11,8,11,.8); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; }
.fr-strip:not(.hidden) ~ .fr-cap { top: 96px; }
/* session strip: only shots started from this draft */
.fr-strip { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px var(--pad-r) 8px var(--pad); background: rgba(11,8,11,.92); border-bottom: 1px solid var(--line); }
.fr-strip .lbl { margin: 0; display: grid; line-height: 1.15; font-family: var(--body); letter-spacing: 0; text-transform: none; }
.fr-strip .lbl b { font-family: var(--wide); font-weight: 800; font-size: 11px; letter-spacing: .12em; color: var(--blush); }
.fr-strip .lbl span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.fr-thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.fr-thumbs::-webkit-scrollbar { display: none; }
.fr-shot { position: relative; flex: none; width: 48px; height: 64px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #000; cursor: pointer; }
.fr-shot img { width: 100%; height: 100%; object-fit: cover; }
.fr-shot.on { border-color: var(--hot); }
.fr-shot .t { position: absolute; left: 0; right: 0; bottom: 0; font-size: 10px; font-weight: 800; text-align: center; background: rgba(11,8,11,.82); color: #fff; }
.fr-shot.dev { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #2a1622 0 8px, #331a29 8px 16px); cursor: default; }
.fr-shot.dev i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--blush); border-top-color: transparent; animation: fr-spin 1s linear infinite; }
.fr-shot.miss { display: grid; place-items: center; font-size: 10px; color: var(--muted); border: 1px dashed var(--line-strong); cursor: default; }
@keyframes fr-spin { to { transform: rotate(360deg); } }
.fr-c1t { flex: none; border: 0; border-radius: 999px; min-height: 44px; padding: 8px 14px; background: var(--chrome); color: #fff; font-weight: 800; font-size: 14px; white-space: nowrap; cursor: pointer; }
/* the sheet */
#takeModal .fr-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; width: auto; max-height: none; margin: 0; padding: 0; gap: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; border-radius: 24px 24px 0 0; border: 0; border-top: 1px solid var(--line-strong); box-shadow: 0 -18px 50px -10px rgba(0,0,0,.75); transition: height .28s var(--ease); }
.fr-sheet[data-pos="peek"] { height: 196px; }
.fr-sheet[data-pos="half"] { height: 60%; }
.fr-sheet[data-pos="full"] { height: calc(100% - 6px); }
.fr-head { display: grid; gap: 8px; padding: 4px var(--pad-r) 8px var(--pad); }
.fr-headrow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; min-height: 44px; }
.fr-peekbtn { justify-self: start; white-space: nowrap; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 3px 12px 3px 3px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(11,8,11,.7); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; }
.fr-peekbtn img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.fr-sheet[data-pos="peek"] .fr-peekbtn { visibility: hidden; }
.fr-grab { border: 0; background: none; min-height: 44px; padding: 6px 18px 2px; display: grid; justify-items: center; gap: 4px; color: var(--muted); font-size: 13px; cursor: pointer; }
.fr-grab i { width: 44px; height: 5px; border-radius: 999px; background: rgba(248,200,220,.5); }
.fr-done { justify-self: end; min-height: 44px; }
.fr-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.fr-tabs button { border: 0; background: none; border-radius: 12px; min-height: 56px; padding: 6px 2px; display: grid; gap: 1px; justify-items: center; align-content: center; color: #fff; cursor: pointer; }
.fr-tabs b { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 18px; line-height: 1.1; }
.fr-tabs small { font-size: 12px; color: var(--muted); }
.fr-tabs button[aria-selected="true"] { background: var(--chrome); }
.fr-tabs button[aria-selected="true"] small { color: #fff; }
.fr-msg:empty { display: none; }
.fr-msg { margin: 0; font-size: 14px; }
.fr-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 4px var(--pad-r) calc(24px + env(safe-area-inset-bottom, 0px)) var(--pad); }
.fr-sheet[data-pos="peek"] .fr-body { display: none; }
.fr-sec { display: grid; gap: 12px; }
.fr-sec > * { min-width: 0; }
.fr-eyebrow { margin: 0; font-family: var(--wide); font-weight: 700; font-size: 11px; letter-spacing: .16em; color: var(--hot); }
.fr-sec h3 { margin: -6px 0 0; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 25px; line-height: 1.15; text-wrap: balance; }
.fr-sub { margin: -4px 0 0; font-size: 15px; line-height: 1.5; color: #fbe6f0; }
.fr-flabel { margin: 0; font-family: var(--wide); font-weight: 700; font-size: 11px; letter-spacing: .12em; color: var(--blush); }
.fr-hint { margin: 0; font-size: 14px; color: var(--muted); }
.fr-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.fr-count { font-size: 14px; font-weight: 700; color: var(--blush); }
#takeModal .ref-tip { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
#takeModal .ref-tools-t { font-size: 14px; }
#takeModal textarea#takePrompt { font-size: 16px; min-height: 200px; }
#takeModal .ep-head { display: block; margin-bottom: 6px; }
#takeModal .counter { font-size: 13px; }
#takeModal .tag-chip { min-height: 44px; font-size: 14px; }
#takeModal .ep-warn { font-size: 14px; }
#takeModal .ref-map-h { font-size: 13px; }
#takeModal .ref-map-chip { font-size: 13px; }
.fr-peekrow { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.fr-peekrow::-webkit-scrollbar { display: none; }
.fr-peekrow > span { flex: none; font-size: 14px; font-weight: 700; color: var(--muted); }
.fr-pk { flex: none; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; }
.fr-pk img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.fr-next { justify-self: end; }
.fr-sum { margin: 0; display: grid; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.fr-sum div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; border-top: 1px solid var(--line); font-size: 15px; }
.fr-sum div:first-child { border-top: 0; }
.fr-sum dt { color: var(--muted); }
.fr-sum dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.fr-edit { justify-self: start; }
.fr-settings { display: grid; gap: 14px; }
.fr-promise { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 12px; border-radius: 16px; background: linear-gradient(180deg, rgba(245,43,145,.14), rgba(245,43,145,.05)); border: 1px solid rgba(245,43,145,.35); font-size: 20px; }
.fr-promise b { display: block; font-size: 15px; }
.fr-promise p { margin: 2px 0 0; font-size: 14px; color: var(--blush); }
#takeModal .cost-line { font-size: 14px; }
#takeModal .modal-actions { display: flex; gap: 10px; align-items: center; }
#takeModal #takeGo { flex: 1; min-height: 54px; }
.fr-back { position: absolute; left: 50%; bottom: 210px; transform: translateX(-50%); z-index: 4; border: 0; border-radius: 999px; min-height: 48px; padding: 10px 20px; background: #fff; color: #200; font-weight: 800; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.6); white-space: nowrap; cursor: pointer; }
/* while typing on a phone: the tabs fold away so the prompt keeps the room above the keyboard */
.fr-sheet.fr-typing .fr-tabs { display: none; }
.fr-sheet.fr-typing .fr-done { display: inline-flex; }
/* the prompt area matches the Fitting Room (dark), so the map and hints read clearly */
#takeModal .edit-prompt { padding: 0; background: none; box-shadow: none; color: inherit; gap: 10px; }
#takeModal .edit-prompt:focus-within { box-shadow: none; }
#takeModal .ep-box textarea { background: rgba(0,0,0,.42); color: var(--pearl); border: 1px solid var(--line-strong); }
#takeModal .ep-box textarea:focus { border-color: var(--hot); }
#takeModal .ep-box textarea::placeholder { color: rgba(248,200,220,.6); }
/* Photo Peek viewer (her photo or any attached reference) */
.fr-inspect { position: absolute; inset: 0; z-index: 10; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(0,0,0,.96); }
.fr-ins-top, .fr-ins-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) var(--pad-r) 10px var(--pad); }
.fr-ins-foot { justify-content: flex-end; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
.fr-ins-top b { font-size: 15px; }
.fr-ins-img { min-height: 0; display: grid; place-items: center; padding: 0 8px; }
.fr-ins-img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
/* Saved TAKE HER draft bar: part of the site header, so it never floats over another page */
.draft-bar { display: flex; align-items: center; gap: 10px; max-width: 1280px; margin: 0 auto; padding: 6px var(--pad-r) 8px var(--pad); }
.draft-bar img { width: 34px; height: 44px; border-radius: 8px; object-fit: cover; object-position: center 20%; flex: none; }
.draft-bar > div { min-width: 0; display: grid; line-height: 1.25; }
.draft-bar b { font-size: 14px; }
.draft-bar span { font-size: 13px; color: var(--blush); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.draft-bar .btn { margin-left: auto; flex: none; min-height: 44px; }
.draft-x { flex: none; width: 44px; height: 44px; border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer; }
@media (max-width: 380px) {
  .fr-brand h2 { font-size: 20px; }
  .fr-saved .txt { display: none; }
  .fr-tabs b { font-size: 16px; }
  .fr-tabs small { font-size: 11.5px; }
  .fr-strip { grid-template-columns: auto 1fr; }
  .fr-strip .fr-c1t { grid-row: 1; grid-column: 2; justify-self: end; }
  .fr-strip .fr-thumbs { grid-column: 1 / -1; }
  .fr-strip:not(.hidden) ~ .fr-cap { top: 140px; }
}
@media (min-width: 1100px) {
  .fr-main { display: grid; grid-template-columns: minmax(0, 1fr) min(560px, 44vw); }
  .take-stage { position: relative; inset: auto; display: grid; grid-template-rows: auto minmax(0, 1fr); background: radial-gradient(ellipse at 50% 40%, #2a1422, #0d080c 70%); }
  .fr-strip { position: relative; }
  .take-stage > img { width: 100%; height: 100%; object-fit: contain; padding: 24px; grid-row: 2; }
  .fr-cap { top: auto; bottom: 34px; left: 50%; transform: translateX(-50%); width: min(460px, 90%); }
  .fr-strip:not(.hidden) ~ .fr-cap { top: auto; }
  #takeModal .fr-sheet { position: relative; height: auto !important; border-radius: 0; border-top: 0; border-left: 1px solid var(--line-strong); box-shadow: none; }
  .fr-headrow, .fr-back { display: none !important; }
  .fr-head { padding-top: 14px; }
  .fr-sheet[data-pos="peek"] .fr-body { display: block; }
}
@media (prefers-reduced-motion: reduce) { #takeModal .fr-sheet { transition: none; } .fr-shot.dev i { animation: none; } }
.ref-map { margin-top: 8px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(248,200,220,.14); display: grid; gap: 6px; }
.ref-map-h { margin: 0; font-size: 12px; font-weight: 700; color: var(--blush); }
.ref-map-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ref-map-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 8px 4px 4px; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid var(--line); font-size: 12px; color: #fbe6f0; }
.ref-map-chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none; }
.ref-map-chip b { font-weight: 800; }
.ref-map-chip q { quotes: '“' '”'; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 14em; }
.ref-map-chip.miss { border-color: rgba(255,120,120,.6); color: #ffc2c2; }
.ref-map-chip.maybe { border-style: dashed; }
.ref-zone { position: relative; border-radius: 16px; transition: box-shadow .15s, background .15s; }
.ref-zone .drop-hint { display: none; }
.ref-zone.drop-on { background: rgba(245,43,145,.1); box-shadow: 0 0 0 2px var(--hot); }
.ref-zone.drop-on .drop-hint { display: grid; place-items: center; position: absolute; inset: 0; margin: 0; z-index: 3; border-radius: 16px; background: rgba(11,8,11,.72); color: #fff; font-weight: 800; font-size: 16px; pointer-events: none; }
.gp-usage { grid-column: 1 / -1; margin: 0 0 4px; font-size: 12px; color: var(--blush); }
.ref-add label.btn { cursor: pointer; }
.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; max-height: 240px; overflow-y: auto; margin-top: 10px; padding: 8px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.pick { appearance: none; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; aspect-ratio: 3/4; cursor: pointer; background: #000; }
.pick img { width: 100%; height: 100%; object-fit: cover; }
.pick.on { border-color: var(--bubblegum, #ff7ec4); box-shadow: 0 0 0 3px rgba(255,126,196,.25); }
.pres { margin: -4px 0 0; font-family: var(--wide); font-weight: 700; font-size: 10px; letter-spacing: .1em; color: var(--blush); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 560px) { .refs { grid-template-columns: repeat(4, minmax(0, 1fr)); } .take-modal { padding: 18px; } .lb-actions .btn { padding-left: 10px; padding-right: 10px; } }
@media (max-width: 380px) { .refs { grid-template-columns: repeat(3, minmax(0, 1fr)); } } /* the smallest phones: roomier cards for ⠿ and × */
.chips.runs { margin: 0 0 14px; }
/* TAKE HER: one quality, shown as a name, not a choice */
.qual.only { cursor: default; min-height: 0; padding-right: 48px; }
.qual.only .qual-top b { font-size: 21px; }
@media (hover: hover) { .qual.only:hover { transform: none; } }
.qual.only:active { transform: none; }

/* ---------- Visible actions on every photo tile: download, heart, TAKE HER ---------- */
:root {
  --heart-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.8 4.5c2.1 0 3.6 1.1 5.2 3 1.6-1.9 3.1-3 5.2-3 3.8 0 5.9 3.9 4.4 7.3C19.5 16.4 12 21 12 21zm0-2.4c2.2-1.5 6.3-4.6 7.7-7.6 1-2.2-.3-4.5-2.7-4.5-1.6 0-2.7 1-4.2 3l-.8 1-.8-1C9.7 7.5 8.6 6.5 7 6.5c-2.4 0-3.7 2.3-2.7 4.5 1.4 3 5.5 6.1 7.7 7.6z'/%3E%3C/svg%3E");
  --heart-on-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.8 4.5c2.1 0 3.6 1.1 5.2 3 1.6-1.9 3.1-3 5.2-3 3.8 0 5.9 3.9 4.4 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E");
}
.shot .acts { display: flex; align-items: stretch; gap: 6px; padding: 6px; background: #120c10; border-top: 1px solid var(--line); }
.shot .act { appearance: none; border: 0; cursor: pointer; flex: none; display: grid; place-items: center; width: 40px; min-height: 40px; border-radius: 12px; color: var(--pearl); background: rgba(255,255,255,.07); text-decoration: none; -webkit-tap-highlight-color: transparent; transition: transform .15s var(--ease), background .2s, color .2s; }
.shot .act:active { transform: scale(.9); }
.shot .act::before { content: ''; width: 19px; height: 19px; background: currentColor; }
.shot .act.dl-ic::before { -webkit-mask: var(--dl-ic) center / contain no-repeat; mask: var(--dl-ic) center / contain no-repeat; }
.shot .act.fave-btn::before { -webkit-mask: var(--heart-ic) center / contain no-repeat; mask: var(--heart-ic) center / contain no-repeat; }
.shot .act.fave-btn.on { color: var(--hot); background: rgba(245,43,145,.16); }
.shot .act.fave-btn.on::before { -webkit-mask-image: var(--heart-on-ic); mask-image: var(--heart-on-ic); animation: heartpop .35s var(--ease); }
.shot .act.take { flex: 1; width: auto; padding: 0 8px; color: #fff; background: var(--chrome); font-family: var(--wide); font-weight: 800; font-size: 9.5px; letter-spacing: .12em; white-space: nowrap; }
.shot .act.take::before { display: none; }
@media (hover: hover) { .shot .act:hover { background: rgba(255,255,255,.14); } .shot .act.take:hover { filter: brightness(1.08); } }
@keyframes heartpop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.stamp { bottom: 60px; }
.lb-fave.on, .lb-fave[aria-pressed="true"] { color: var(--hot); box-shadow: inset 0 0 0 1.5px var(--hot); }
.fave-set { padding-top: 26px; }
/* Keep the action row inside narrow phone tiles */
.shot.landed { grid-template-columns: minmax(0, 1fr); }
.shot .acts { gap: 5px; padding: 5px; min-width: 0; }
.shot .act { width: 36px; min-height: 38px; border-radius: 11px; }
.shot .act::before { width: 18px; height: 18px; }
.shot .act.take { min-width: 0; padding: 0 6px; font-size: 9px; letter-spacing: .07em; overflow: hidden; text-overflow: clip; }
.lb-actions .btn { white-space: nowrap; }
@media (max-width: 560px) { .lb-actions { gap: 6px; } .lb-actions .btn { font-size: 10px; letter-spacing: .08em; padding-left: 8px; padding-right: 8px; } }

/* ---------- Owner only: engine credits ---------- */
.credits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.credit-tile { display: grid; gap: 6px; padding: 16px; border-radius: 18px; border: 1.5px solid var(--line); background: rgba(255,255,255,.04); }
.credit-tile small { font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--blush); }
.credit-tile b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 30px; line-height: 1; }
.credit-tile span { color: var(--muted); font-size: 14px; }
.credit-tile .credit-ok { color: #7be0a6; font-weight: 700; }
.credit-tile.low { border-color: #ffb020; background: rgba(255,176,32,.1); }
.credit-tile.critical { border-color: #ff3b3b; background: rgba(255,59,59,.14); animation: ownerpulse 1.4s ease-in-out infinite; }
.credit-warn { font-size: 15px; line-height: 1.35; color: #fff; }
.owner-alert { position: sticky; top: 0; z-index: 60; display: block; margin: 0; padding: 12px 16px; text-align: center; font-weight: 800; font-size: 14px; line-height: 1.35; color: #1a1000; background: #ffb020; text-decoration: none; box-shadow: 0 6px 20px -6px rgba(0,0,0,.6); }
.owner-alert.critical { color: #fff; background: #e01e1e; animation: ownerpulse 1.4s ease-in-out infinite; }
@keyframes ownerpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,59,59,.0); } 50% { box-shadow: 0 0 0 6px rgba(255,59,59,.45); } }
@media (prefers-reduced-motion: reduce) { .owner-alert.critical, .credit-tile.critical { animation: none; } }

/* ---------- Privacy Policy and Terms of Service ---------- */
.legal-body { background: var(--black); }
.legal { max-width: 760px; margin: 0 auto; padding: 28px 18px calc(48px + env(safe-area-inset-bottom, 0px)); line-height: 1.6; }
.legal-logo img { width: 92px; height: auto; display: block; margin-bottom: 18px; }
.legal h1 { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(34px, 7vw, 52px); line-height: 1.05; margin: 6px 0 4px; }
.legal h2 { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 24px; margin: 30px 0 8px; color: var(--pearl); }
.legal p, .legal li { color: rgba(255,241,247,.86); font-size: 15.5px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal a { color: var(--blush); }
.legal-date { color: var(--muted); font-size: 13px; }
.legal-lede { font-size: 17px !important; color: var(--pearl) !important; margin-top: 14px; }
.legal-foot { margin-top: 36px; font-size: 14px; }
.legal .flag { display: inline; padding: 1px 6px; border-radius: 6px; background: #ffd34d; color: #1a1000; font-weight: 700; font-size: 13.5px; }
.legal p.flag { display: block; padding: 10px 12px; margin: 10px 0; line-height: 1.45; }
.legal-draft { position: sticky; top: 0; z-index: 50; display: grid; gap: 4px; padding: 12px 18px; background: #ffd34d; color: #1a1000; text-align: center; font-size: 13.5px; line-height: 1.4; }
.legal-draft mark { background: #1a1000; color: #ffd34d; padding: 0 4px; border-radius: 4px; }
.legal-links { margin-top: 8px; font-size: 12.5px; }
.legal-links a, .foot .legal-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.legal-agree { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; }
.legal-agree a { color: var(--blush); }
.legal h3 { font-family: var(--wide); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blush); margin: 18px 0 6px; }

/* ---------- Membership + Studio Credits ---------- */
.credit-pill { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 10px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--pearl); text-decoration: none; font-family: var(--wide); font-weight: 800; font-size: 11px; letter-spacing: .08em; white-space: nowrap; }
.credit-pill b { font-weight: 800; }
.cost-line { margin: 4px 0 10px; padding: 9px 12px; border-radius: 12px; background: rgba(245,43,145,.1); color: var(--blush); font-size: 13px; line-height: 1.4; }
#view-membership { max-width: 980px; margin: 0 auto; }
.mem-status { margin: 0 0 18px; padding: 18px; border-radius: 22px; background: linear-gradient(180deg, rgba(30,19,26,.92), rgba(15,10,14,.96)); border: 1.5px solid rgba(245,43,145,.5); display: grid; gap: 8px; }
.mem-bal { font-family: var(--wide); font-weight: 800; letter-spacing: .08em; font-size: 13px; }
.mem-bal b { font-family: var(--display); font-style: italic; font-size: 34px; letter-spacing: 0; color: #fff; margin-left: 6px; }
.mem-costs { margin: 2px 0 6px; padding-left: 18px; color: var(--muted); font-size: 14px; }
.mem-hero { text-align: center; padding: 30px 18px 34px; border-radius: 30px; background: radial-gradient(520px 260px at 50% 0, rgba(245,43,145,.35), transparent 70%), linear-gradient(180deg, #1c1018, #0e090c); border: 1px solid var(--line); }
.mem-logo { width: 110px; height: auto; margin: 0 auto 10px; display: block; filter: drop-shadow(0 10px 24px rgba(245,43,145,.45)); }
.mem-title { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 6.4vw, 54px); line-height: 1.05; margin: 10px auto 18px; max-width: 760px; }
.mem-offer { display: grid; gap: 8px; justify-items: center; margin: 0 auto; max-width: 440px; padding: 22px 18px; border-radius: 24px; background: linear-gradient(180deg, #fff8fc, #ffe3f0); color: var(--ink); box-shadow: 0 24px 50px -24px rgba(245,43,145,.7); }
.mem-tag { font-family: var(--wide); font-weight: 800; font-size: 10.5px; letter-spacing: .2em; color: var(--fuchsia); }
.mem-price b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 64px; line-height: 1; }
.mem-price span { font-weight: 700; color: var(--muted-dark); }
.mem-credits { font-family: var(--wide); font-weight: 800; font-size: 12px; letter-spacing: .12em; }
.mem-cta { display: grid; justify-items: center; gap: 6px; width: 100%; margin-top: 6px; }
.mem-cta .btn { width: 100%; max-width: 380px; }
.mem-note { font-size: 13.5px; color: var(--muted-dark); text-align: center; }
.mem-body { padding: 26px 4px 10px; max-width: 760px; margin: 0 auto; }
.mem-body p { color: rgba(255,241,247,.88); font-size: 16px; line-height: 1.6; margin: 0 0 10px; }
.mem-h { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(24px, 4.6vw, 32px); margin: 30px 0 12px; line-height: 1.15; }
.mem-strong { font-weight: 800; color: #fff !important; }
.mem-perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.perk { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.perk b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.perk p { font-size: 14.5px !important; margin: 0 !important; color: var(--muted) !important; }
.mem-join { margin: 34px 0 10px; padding: 24px 18px; border-radius: 24px; text-align: center; background: radial-gradient(400px 200px at 50% 0, rgba(245,43,145,.3), transparent 70%), #140c11; border: 1.5px solid rgba(245,43,145,.45); display: grid; gap: 8px; justify-items: center; }
.mem-join-h { font-family: var(--wide); font-weight: 800; letter-spacing: .16em; font-size: 14px; color: #fff !important; }
.mem-join-sub { font-weight: 700; color: var(--blush) !important; }
.mem-join .mem-note { color: var(--muted); }
.mem-fine { font-size: 12.5px !important; color: var(--muted) !important; max-width: 520px; }
/* ---------- Prompt Library ---------- */
.plib { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.plib-card { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 22px; background: linear-gradient(180deg, rgba(30,19,26,.92), rgba(15,10,14,.96)); border: 1px solid var(--line); }
.plib-card small { font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .16em; color: var(--hot); }
.plib-card h3 { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 22px; line-height: 1.1; }
.plib-desc { color: var(--muted); font-size: 14px; }
.plib-text { font-size: 14px; line-height: 1.5; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); white-space: pre-wrap; max-height: 180px; overflow: auto; }
.plib-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.plib-form { display: grid; gap: 10px; }
.plib-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: end; }
.plib-row .check { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.plib-owner { display: grid; gap: 8px; margin-top: 8px; }
.plib-orow { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.04); }
.plib-orow small { color: var(--muted); }
@media (max-width: 560px) { .credit-pill { padding: 7px 10px; font-size: 10px; margin-right: 6px; } }
.mem-legal { font-size: 11.5px !important; line-height: 1.45; color: var(--muted-dark); text-align: center; max-width: 420px; margin: 4px auto 0 !important; }
.mem-join .mem-legal { color: var(--muted) !important; }
.mem-legal a { color: inherit; text-decoration: underline; }

/* ---------- FINE AIF Prompt Shop (public) ---------- */
.shop-body { background: radial-gradient(700px 360px at 50% -80px, rgba(245,43,145,.35), transparent 70%), var(--black); min-height: 100vh; }
.shop { max-width: 760px; margin: 0 auto; padding: 26px 18px 30px; text-align: center; }
.shop-logo img { width: 104px; height: auto; display: block; margin: 0 auto 10px; filter: drop-shadow(0 10px 24px rgba(245,43,145,.45)); }
.shop-title { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(32px, 7vw, 50px); line-height: 1.05; margin: 10px 0; }
.shop-muted { color: var(--muted); font-size: 16px; }
.shop-note { color: var(--muted); font-size: 13.5px; margin-top: 10px; }
.shop-foot { text-align: center; padding: 24px 16px calc(30px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--muted); }
.shop-foot a { color: var(--blush); }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 18px; text-align: left; }
.pack-card, .pack-hero { display: grid; gap: 8px; justify-items: start; padding: 22px; border-radius: 26px; background: linear-gradient(180deg, #fff8fc, #ffe3f0); color: var(--ink); box-shadow: 0 24px 50px -24px rgba(245,43,145,.7); }
.pack-hero { justify-items: center; text-align: center; margin-top: 14px; }
.pack-tag { font-family: var(--wide); font-weight: 800; font-size: 10px; letter-spacing: .2em; color: var(--fuchsia); }
.pack-name { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 26px; line-height: 1.1; }
.pack-name.big { font-size: clamp(30px, 7vw, 46px); }
.pack-price b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 44px; line-height: 1; }
.pack-price span { color: var(--muted-dark); font-weight: 700; }
.pack-desc { font-size: 15.5px; line-height: 1.5; color: inherit; opacity: .85; }
.pack-count { font-family: var(--wide); font-weight: 700; font-size: 11px; letter-spacing: .1em; color: var(--fuchsia); }
.pack-buy { width: 100%; max-width: 380px; margin-top: 6px; }
.pack-points { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; font-size: 13px; color: var(--muted-dark); }
.pack-points li::before { content: '💗 '; }
.pack-preview { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #ffd34d; color: #1a1000; font-weight: 800; font-size: 12px; }
.pack-acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 14px 0 4px; }
.pack-items { display: grid; gap: 12px; margin-top: 18px; text-align: left; }
.pack-item { display: grid; gap: 8px; padding: 18px; border-radius: 20px; background: linear-gradient(180deg, rgba(30,19,26,.92), rgba(15,10,14,.96)); border: 1px solid var(--line); }
.pack-item small { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 20px; color: rgba(248,200,220,.45); }
.pack-item h3 { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 22px; }
.pack-item .btn { justify-self: start; }
/* in-studio shop section */
.shop-sec { margin-top: 30px; }
.shop-sec .pack-grid { margin-top: 12px; }
.pack-editor { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pe-h { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 20px; }
#shopSec .tiny a { color: var(--blush); }
.recover-steps { text-align: left; display: grid; gap: 10px; padding-left: 20px; font-size: 15px; line-height: 1.5; }
.recover-steps a { color: var(--fuchsia); }
.pack-hero .btn.ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(229,9,120,.4); }

.shop-form { text-align: left; margin: 16px auto 0; max-width: 440px; }
.su-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.su-agree a { color: var(--blush); }
.su-agree input { margin-top: 3px; }
.shop-sub { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 26px; margin: 28px 0 4px; }
.pack-card.redeem { margin-top: 22px; text-align: left; }
.pack-card.redeem .input { width: 100%; }
.shop .pack-grid { margin-top: 14px; }
.pack-hero .shop-note { color: var(--muted-dark); }
.pack-hero .shop-note a { color: var(--fuchsia); font-weight: 700; }
.pub-shop { display: flex; gap: 10px; align-items: center; font-size: 15px; padding: 10px 12px; border-radius: 14px; background: rgba(245,43,145,.1); }
.live-box { display: grid; gap: 6px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line); margin-bottom: 8px; }
.live-box .btn { justify-self: start; }
.live-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 13px; }
.live-steps .bad { color: #ffb4b4; }

/* ---------- Mobile menu: grouped, compact, iPhone-friendly ---------- */
.menu { padding: 0 var(--pad-r) calc(18px + env(safe-area-inset-bottom, 0px)) var(--pad); }
.menu-top { position: sticky; top: 0; z-index: 2; margin: 0 calc(-1 * var(--pad-r)) 6px calc(-1 * var(--pad)); padding: calc(12px + env(safe-area-inset-top, 0px)) var(--pad-r) 10px var(--pad); background: linear-gradient(180deg, rgba(11,8,11,.98) 70%, rgba(11,8,11,0)); }
.menu-top img { height: 40px; }
.menu-x { width: 44px; height: 44px; font-size: 24px; color: var(--pearl); box-shadow: inset 0 0 0 1px var(--line); }
.menu-links { gap: 2px; }
.menu-sec { margin: 14px 4px 4px; font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--hot); }
.menu-sec:first-child { margin-top: 2px; }
.menu-links a { align-items: center; justify-content: flex-start; gap: 12px; min-height: 48px; padding: 10px 12px; border: 0; border-radius: 14px; }
.menu-links a::before { content: ''; flex: none; width: 22px; height: 22px; background: var(--hot); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.menu-links a span { flex: 1; min-width: 0; font-family: inherit; font-style: normal; font-weight: 700; font-size: 16px; line-height: 1.25; color: var(--pearl); overflow-wrap: anywhere; }
.menu-links a small { flex: none; max-width: 40%; text-align: right; font-size: 8.5px; letter-spacing: .14em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-links a.active { background: rgba(245,43,145,.14); box-shadow: inset 3px 0 0 var(--hot); }
.menu-links a.active span { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; }
@media (hover: hover) { .menu-links a:hover { background: rgba(255,255,255,.05); } }
.menu-links a:active { background: rgba(245,43,145,.18); }
.menu-foot { padding-top: 16px; gap: 8px; }
.menu-foot .btn { min-height: 48px; }
.menu-links a[data-ic='studio'] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 4.6L18.5 9l-4.7 1.6L12 15l-1.8-4.4L5.5 9l4.7-1.4z'/%3E%3Cpath d='M19 15l.8 2 2 .8-2 .8-.8 2-.8-2-2-.8 2-.8z'/%3E%3C/svg%3E"); }
.menu-links a[data-ic='lookbook'] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A1.5 1.5 0 0 1 5.5 4H11v16H5.5A1.5 1.5 0 0 1 4 18.5z'/%3E%3Cpath d='M20 5.5A1.5 1.5 0 0 0 18.5 4H13v16h5.5a1.5 1.5 0 0 0 1.5-1.5z'/%3E%3C/svg%3E"); }
.menu-links a[data-ic='prompts'] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h14v12H9l-4 4z'/%3E%3Cpath d='M9 9h6M9 12h4'/%3E%3C/svg%3E"); }
.menu-links a[data-ic='shop'] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E"); }
.menu-links a[data-ic='aids'] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='4'/%3E%3Cpath d='M4.5 20c1.4-3.6 4.2-5 7.5-5s6.1 1.4 7.5 5'/%3E%3C/svg%3E"); }
.menu-links a[data-ic='roll'] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='14' rx='3'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3Cpath d='M8 6l1.5-2h5L16 6'/%3E%3C/svg%3E"); }
.menu-links a[data-ic='faves'] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-9.2-9.2C1.6 7.4 3.8 4.5 7 4.5c2 0 3.5 1.1 5 3 1.5-1.9 3-3 5-3 3.2 0 5.4 2.9 4.2 6.3C19.5 15.4 12 20 12 20z'/%3E%3C/svg%3E"); }
.menu-links a[data-ic='packs'] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7.5 10.5L12 15l4.5-4.5'/%3E%3Cpath d='M5 19h14'/%3E%3C/svg%3E"); }
.menu-links a[data-ic='member'] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4h12l3 5-9 11L3 9z'/%3E%3Cpath d='M3 9h18M9 4l3 5 3-5M12 9v11'/%3E%3C/svg%3E"); }
.menu-links a[data-ic='account'] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M6.5 18.5c1.3-2 3.2-3 5.5-3s4.2 1 5.5 3'/%3E%3C/svg%3E"); }
.menu-links a[data-ic='owner'] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l4.5 4L12 5l4.5 7L21 8l-2 11H5z'/%3E%3C/svg%3E"); }

/* ---------- Owner alert: one compact line, tap for details (owner only) ---------- */
.owner-alert { position: relative; top: auto; z-index: 5; margin: 8px var(--pad-r) 0 var(--pad); padding: 0; border-radius: 14px; background: rgba(255,176,32,.14); box-shadow: inset 0 0 0 1px rgba(255,176,32,.6); color: #ffe2a8; animation: none; text-align: left; font-weight: 700; }
.owner-alert.critical { background: rgba(224,30,30,.16); box-shadow: inset 0 0 0 1px rgba(255,90,90,.7); color: #ffd0d0; animation: none; }
.oa-line { appearance: none; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 8px 12px; border: 0; background: none; color: inherit; font: inherit; font-size: 13px; cursor: pointer; text-align: left; }
.oa-line span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oa-more { flex: none; font-family: var(--wide); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.1); }
.oa-detail { display: grid; gap: 8px; padding: 0 12px 12px; font-size: 13.5px; font-weight: 500; line-height: 1.4; }
.oa-detail .btn { justify-self: start; }
/* ---------- Signature Look descriptions ---------- */
.cover .t span { font-size: 11px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.look-desc { margin: 8px 2px 0; font-size: 13px; line-height: 1.4; color: var(--muted); min-height: 2.8em; }
.look-card { display: grid; gap: 8px; align-content: start; min-width: 0; }
.look-cap { margin: 0 2px; font-size: 12.5px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.pearl-page .look-cap { color: var(--muted-dark); }
.owner-alert { z-index: 55; }

/* ---------- TAKE HER: YOUR EDIT PROMPT ---------- */
.edit-prompt { display: grid; gap: 8px; padding: 16px; border-radius: 20px; background: linear-gradient(180deg, #fffafd, #ffe9f3); color: var(--ink); box-shadow: inset 0 0 0 1px #fff, 0 16px 36px -18px rgba(245,43,145,.8); }
.edit-prompt:focus-within { box-shadow: inset 0 0 0 2px var(--hot), 0 16px 36px -18px rgba(245,43,145,.9); }
.ep-head { font-family: var(--wide); font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--hot); }
.ep-help { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted-dark); }
.ep-box { position: relative; }
.ep-box textarea { display: block; width: 100%; min-height: 210px; max-height: 55dvh; resize: vertical; padding: 12px; border-radius: 14px; border: 1px solid rgba(245,43,145,.25); background: #fff; color: var(--ink); font-size: 16px; line-height: 1.5; }
.ep-box textarea::placeholder { color: #c194aa; }
.ep-box textarea:focus { outline: none; border-color: var(--hot); }
.ep-foot { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.ep-foot .counter { flex: none; font-variant-numeric: tabular-nums; font-size: 12px; }
.counter.over { color: #d0112b; font-weight: 700; }
.ep-warn { margin: 0; padding: 8px 10px; border-radius: 10px; background: #ffe1e6; color: #a50d22; font-size: 13px; font-weight: 600; }
.tag-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; padding: 2px 0; }
.tag-chips::-webkit-scrollbar { display: none; }
.tag-chip { flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 3px 10px 3px 3px; border-radius: 999px; border: 1px solid rgba(245,43,145,.3); background: #fff; color: var(--hot); font-weight: 700; font-size: 13px; cursor: pointer; }
.tag-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.tag-pop { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 3; display: grid; gap: 2px; max-height: 210px; overflow-y: auto; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 14px 34px -10px rgba(11,8,11,.45), 0 0 0 1px rgba(245,43,145,.25); }
.tag-opt { display: grid; grid-template-columns: 40px auto 1fr; align-items: center; gap: 10px; min-height: 48px; padding: 4px 8px 4px 4px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font-size: 15px; }
.tag-opt:hover, .tag-opt:focus-visible { background: #ffe9f3; }
.tag-opt img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.tag-opt b { color: var(--hot); }
.tag-opt span { color: var(--muted-dark); font-size: 13px; }
.tag-tip { margin: 4px 6px; font-size: 12px; color: var(--muted-dark); }

/* ---------- My Studio Gallery picker (sheet over TAKE HER) ---------- */
.overlay.gp-overlay { z-index: 80; padding: 0; place-items: end center; }
.gp-sheet { position: relative; width: min(760px, 100%); height: min(92vh, 900px); height: min(92dvh, 900px); display: grid; grid-template-rows: auto auto auto auto minmax(0, 1fr) auto; gap: 10px; padding: 18px var(--pad-r, 18px) 0 var(--pad, 18px); border-radius: 24px 24px 0 0; background: linear-gradient(180deg, #1e131a, #0f0a0e); border: 1px solid var(--line); box-shadow: 0 -20px 60px -20px rgba(0,0,0,.8); overflow: hidden; }
@media (min-width: 761px) { .overlay.gp-overlay { place-items: center; padding: 18px; } .gp-sheet { border-radius: 24px; } }
.gp-top { grid-row: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.gp-sheet > .gp-tabs { grid-row: 2; }
.gp-sheet > .form-msg { grid-row: 3; }
.gp-grid { grid-row: 5; min-height: 0; }
.gp-sheet > .gp-actions { grid-row: 6; }
.gp-close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: #fff; font-size: 18px; cursor: pointer; }
.gp-close:focus-visible { outline: 2px solid var(--bubblegum, #ff7ec4); outline-offset: 2px; }
.gp-retry { margin-top: 12px; }
.gp-top h2 { font-size: 26px; margin: 0; }
.gp-top .kick { margin: 0 0 2px; }
.gp-count { margin: 4px 0 0; font-size: 13px; font-weight: 700; color: var(--blush); }
.gp-sheet .form-msg:empty { display: none; }
.gp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; align-content: start; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-bottom: 12px; }
@media (min-width: 620px) { .gp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gp-empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; }
.gp-tile { position: relative; }
.gp-pick { display: block; width: 100%; padding: 0; border: 3px solid transparent; border-radius: 16px; overflow: hidden; background: #000; cursor: pointer; }
.gp-pick img { display: block; width: 100%; height: auto; min-height: 80px; object-fit: cover; }
.gp-tile.on .gp-pick { border-color: var(--bubblegum, #ff7ec4); box-shadow: 0 0 0 3px rgba(255,126,196,.3); }
.gp-tile.added .gp-pick { opacity: .45; cursor: default; }
.gp-badge:empty { display: none; }
.gp-badge { position: absolute; top: 8px; left: 8px; min-width: 30px; height: 30px; padding: 0 9px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--hot); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.gp-badge[data-tag]::after { content: attr(data-tag); margin-left: 6px; font-size: 11px; font-weight: 700; opacity: .9; }
.gp-badge[data-tag] { display: inline-flex; align-items: center; }
.gp-tile.added .gp-badge { background: rgba(11,8,11,.85); font-size: 12px; }
.gp-zoom { position: absolute; right: 8px; bottom: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(11,8,11,.75); color: #fff; font-size: 18px; cursor: pointer; }
.gp-actions { display: flex; gap: 10px; padding: 12px 0 calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: inherit; }
.gp-actions .btn { flex: 1; min-height: 48px; }
.gp-actions .btn:disabled { opacity: .5; }
.gp-preview { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; padding: max(14px, env(safe-area-inset-top)) var(--pad-r, 18px) 0 var(--pad, 18px); background: rgba(11,8,11,.97); }
.gp-preview img { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 16px; }
.gp-preview .gp-actions { border-top: 0; }

/* ---------- Bring Her picks ---------- */
.bring-thumbs .bt { position: relative; margin: 0; width: 72px; height: 72px; }
.bring-thumbs .bt img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.bring-thumbs .bt span { position: absolute; left: 4px; bottom: 4px; font-family: var(--wide); font-weight: 700; font-size: 8px; letter-spacing: .1em; padding: 3px 6px; border-radius: 999px; background: var(--chrome); color: #fff; }
.bring-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.take-modal .modal-actions #takeReset { margin-right: auto; }
.take-modal > *, .edit-prompt > *, .ep-foot { min-width: 0; }
.edit-prompt { grid-template-columns: minmax(0, 1fr); }

/* ---------- Developing cards hold the exact space of a landed card (photo + action row), so nothing jumps ---------- */
#sessionShots .shot.pending { aspect-ratio: auto; }
.shot.pending > .pend-sp, .shot.pending > .lens { grid-area: 1 / 1; }
.shot.pending > .pend-sp { display: block; width: 100%; aspect-ratio: 9 / 16; margin-bottom: 49px; }
.shot.pending > .lens { align-self: center; margin-bottom: 49px; }
.shot.pending .tag { bottom: 63px; }
/* The headline and status line keep a fixed height, so a longer message never pushes the gallery down */
.shoot-title { line-height: 1.05; min-height: 1.1em; }
.shoot-line { line-height: 1.35; min-height: 1.35em; }
@media (max-width: 980px) { .shoot-title { min-height: 2.1em; } .shoot-line { min-height: 4.05em; } }

/* ---------- Photo viewer: VIEW PROMPT ---------- */
#lightbox .lightbox { display: flex; flex-direction: column; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
#lightbox .lightbox > img { flex: 1 1 0; min-height: 0; height: auto; }
#lightbox .lightbox.open > img { flex: none; height: min(62dvh, 760px); }
#lightbox .lb-bar { position: sticky; bottom: 0; z-index: 2; margin-top: auto; background: linear-gradient(180deg, rgba(11,8,11,0), rgba(11,8,11,.97) 22%); }
.lb-panel { flex: none; width: min(760px, 100%); margin: 16px auto 4px; padding: 18px 18px 16px; border-radius: 20px; background: linear-gradient(180deg, rgba(74,16,44,.92), rgba(32,9,22,.96)); border: 1px solid rgba(245,43,145,.35); box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 24px 50px -24px rgba(245,43,145,.7); display: grid; gap: 12px; animation: rise .35s var(--ease) both; }
.lb-panel-h { margin: 0; font-family: var(--wide); font-weight: 700; font-size: 12px; letter-spacing: .18em; color: var(--bubblegum, #ff7ec4); }
.lb-prompt { margin: 0; font-size: 16px; line-height: 1.6; color: #fbe6f0; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }
.lb-prompt.empty { color: var(--muted); font-style: italic; }
.lb-panel-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.lb-panel-acts .btn { min-height: 44px; }
.lb-panel-note:empty { display: none; }
.lb-panel-note { margin: 0; font-size: 12px; color: var(--muted); }
@media (max-width: 560px) {
  #lightbox .lb-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  #lightbox .lb-actions .btn { padding: 0 4px; min-height: 46px; font-size: 9.5px; letter-spacing: .06em; white-space: normal; line-height: 1.15; text-align: center; display: grid; place-items: center; }
  .lb-panel-acts .btn { flex: 1; }
}

/* =====================================================================
   Photo viewer: split panel (photo 60% · details 40%), stacked on phones
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#lightbox.overlay { padding: 0; place-items: stretch; background: rgba(11,8,11,.97); }
.viewer { display: grid; grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr); grid-template-rows: minmax(0, 1fr); width: 100%; height: 100dvh; overflow: hidden; }
.v-photo { min-width: 0; min-height: 0; height: 100dvh; overflow: hidden; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: max(18px, env(safe-area-inset-top)) 20px 18px max(20px, env(safe-area-inset-left)); }
.v-photo img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; }
.v-side { min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; gap: 16px;
  padding: max(22px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) 24px;
  background: linear-gradient(180deg, #24101b, #170b12 60%, #12090e); border-left: 1px solid rgba(245,43,145,.22); color: var(--pearl); }
.v-head { display: grid; gap: 4px; padding-right: 110px; }
.v-type { margin: 0; font-family: var(--wide); font-weight: 700; font-size: 10.5px; letter-spacing: .18em; color: var(--hot); }
.v-title { margin: 0; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 26px; line-height: 1.1; }
/* FINE AIF signature: visible in a normal screenshot of the viewer, never drawn on the photo or its download */
.v-engine { margin: 2px 0 0; font-family: var(--wide); font-weight: 700; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blush); }
.v-scan { justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 0; padding: 8px 14px 8px 10px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,214,234,.16), rgba(245,43,145,.1)); border: 1px solid rgba(255,140,196,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.v-scan > span { display: grid; gap: 1px; line-height: 1.2; }
.v-scan b { font-family: var(--wide); font-weight: 800; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.v-scan small { font-size: 11.5px; color: var(--blush); }
.v-scan-ic { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--chrome); position: relative; overflow: hidden; }
.v-scan-ic::before { content: ''; position: absolute; left: 5px; right: 5px; top: 5px; bottom: 5px; border: 1.5px solid rgba(255,255,255,.9); border-radius: 4px; }
.v-scan-ic::after { content: ''; position: absolute; left: 3px; right: 3px; top: 12px; height: 2px; background: #fff; box-shadow: 0 0 6px #fff; }
.v-take { flex-direction: column; gap: 3px; }
.v-take-l { display: inline-flex; align-items: center; gap: 8px; }
.v-take-sub { font-family: var(--body); font-weight: 700; font-size: 11.5px; letter-spacing: 0; text-transform: none; color: #A8065A; }
.v-info { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 8px 0 0; font-size: 13.5px; }
.v-info dt { color: var(--muted); }
.v-info dd { margin: 0; color: #fbe6f0; font-weight: 600; overflow-wrap: anywhere; }
.v-close { position: fixed; z-index: 3; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px; border: 1px solid rgba(248,200,220,.35); background: rgba(11,8,11,.72); color: #fff; font-size: 15px; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.v-close span { font-family: var(--wide); font-weight: 700; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.v-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v-acts .btn { min-height: 48px; padding: 10px 12px; font-size: 11px; }
.v-acts .v-sub { min-height: 44px; font-size: 10.5px; }
.v-acts .v-rerun { grid-column: auto; }
.v-ic { width: 17px; height: 17px; flex: none; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.v-ic.ic-dl { -webkit-mask-image: var(--dl-ic); mask-image: var(--dl-ic); }
.v-ic.ic-heart { -webkit-mask-image: var(--heart-ic); mask-image: var(--heart-ic); }
.v-fave.on .v-ic.ic-heart { -webkit-mask-image: var(--heart-on-ic); mask-image: var(--heart-on-ic); color: var(--hot); }
.v-ic.ic-take { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.4 6.9L21 9.3l-5.3 4.3L17.6 21 12 16.9 6.4 21l1.9-7.4L3 9.3l6.6-.4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.4 6.9L21 9.3l-5.3 4.3L17.6 21 12 16.9 6.4 21l1.9-7.4L3 9.3l6.6-.4z'/%3E%3C/svg%3E"); }
.v-ic.ic-txt { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v2H4zm0 6h16v2H4zm0 6h10v2H4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v2H4zm0 6h16v2H4zm0 6h10v2H4z'/%3E%3C/svg%3E"); }
.v-ic.ic-trash, .del-ic::before { -webkit-mask-image: var(--trash-ic); mask-image: var(--trash-ic); }
:root { --trash-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l1 2h4v2H4V5h4zm-3 6h12l-1 12H7zm4 2v8h1.6v-8zm2.4 0v8H14v-8z'/%3E%3C/svg%3E"); }
.v-del { grid-column: auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 10px 12px; border-radius: 999px; border: 1px solid rgba(248,200,220,.16); background: rgba(255,255,255,.03); color: var(--muted); font-family: var(--wide); font-weight: 700; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.v-acts .v-rerun.hidden + .v-del { grid-column: 1 / -1; }
.v-head .v-used { margin-top: 4px; }
.v-del .v-ic { width: 14px; height: 14px; }
.v-del:hover { color: #ffb3c9; }
.v-guide { border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(248,200,220,.14); }
.v-guide summary { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 14px; cursor: pointer; list-style: none; font-weight: 700; font-size: 13.5px; color: var(--blush); }
.v-guide summary::-webkit-details-marker { display: none; }
.v-guide-t { display: grid; gap: 2px; }
.v-guide-t b { font-size: 14px; color: #fff; }
.v-guide-t small { font-weight: 500; font-size: 12px; color: var(--blush); }
.v-chev { margin-left: auto; width: 28px; height: 28px; flex: none; border-radius: 50%; background: rgba(245,43,145,.18); position: relative; transition: transform .2s; }
.v-chev::before { content: ''; position: absolute; left: 50%; top: 45%; width: 8px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(-50%, -50%) rotate(45deg); }
.v-guide[open] .v-chev { transform: rotate(180deg); }
.v-guide summary:hover, .v-guide summary:focus-visible { background: rgba(245,43,145,.08); border-radius: 14px; outline: none; }
.v-guide summary i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid currentColor; font-style: normal; font-family: Georgia, serif; font-weight: 700; font-size: 12px; }

.v-guide dl { display: grid; gap: 2px; margin: 0; padding: 0 14px 14px; font-size: 13px; line-height: 1.45; }
.v-guide dt { margin-top: 8px; font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--hot); }
.v-guide dd { margin: 0; color: #ecd3df; }
.v-prompt { margin-top: auto; display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: linear-gradient(180deg, rgba(74,16,44,.85), rgba(40,10,26,.9)); border: 1px solid rgba(245,43,145,.32); scroll-margin-top: 70px; }
.v-present { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #fbe6f0; font-family: inherit; font-size: 12.5px; font-weight: 600; line-height: 1; cursor: pointer; }
.v-present-dot { width: 10px; height: 10px; border-radius: 50%; background: #6b5b63; }
.v-present[aria-pressed="true"] { border-color: rgba(245,43,145,.6); background: rgba(245,43,145,.16); }
.v-present[aria-pressed="true"] .v-present-dot { background: var(--hot); box-shadow: 0 0 8px var(--hot); }
.v-present-note { margin: 4px 0 0; font-size: 12px; color: var(--blush); }
.presenting .v-info { display: none; }
.v-used { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(248,200,220,.14); }
.v-used-h { margin: 0; font-family: var(--wide); font-weight: 700; font-size: 10.5px; letter-spacing: .16em; color: var(--bubblegum, #ff7ec4); }
.v-used-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.v-used-row a { position: relative; display: block; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; border: 1.5px solid var(--line); background: #000; }
.v-used-row a.her { border-color: var(--bubblegum, #ff7ec4); }
.v-used-row img { width: 100%; height: 100%; object-fit: cover; }
.v-used-row span { position: absolute; left: 4px; bottom: 4px; padding: 2px 6px; border-radius: 999px; background: rgba(11,8,11,.82); color: #fff; font-size: 10px; font-weight: 800; }
.v-used-row .gone { display: grid; place-items: center; aspect-ratio: 3/4; border-radius: 10px; border: 1.5px dashed var(--line); color: var(--muted); font-size: 10px; text-align: center; padding: 4px; }
.v-used-note { margin: 0; font-size: 12px; color: var(--muted); }
.v-used-note:empty { display: none; }
.presenting .v-used { display: none; }
.v-prompt-h { margin: 0; font-family: var(--wide); font-weight: 700; font-size: 11px; letter-spacing: .18em; color: var(--bubblegum, #ff7ec4); }
.v-prompt-txt { margin: 0; font-size: 14.5px; line-height: 1.55; color: #fbe6f0; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; outline: none; }
.v-prompt-txt.clamp { max-height: 7.75em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.v-prompt-txt.empty { color: var(--muted); font-style: italic; }
.v-more { justify-self: start; min-height: 32px; padding: 4px 0; border: 0; background: none; color: var(--blush); font-weight: 700; font-size: 12.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.v-prompt-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.v-prompt-acts .btn { flex: 1; min-height: 44px; }
.v-note:empty { display: none; }
.v-note { margin: 0; font-size: 12px; color: var(--muted); }
@media (max-width: 820px) {
  /* a slim top band keeps Close readable without covering the photo or the prompt */
  #lightbox::before { content: ''; position: fixed; z-index: 2; left: 0; right: 0; top: 0; height: calc(64px + env(safe-area-inset-top)); background: linear-gradient(180deg, rgba(11,8,11,.98) 70%, rgba(11,8,11,0)); pointer-events: none; }
  .v-prompt { scroll-margin-top: calc(76px + env(safe-area-inset-top)); }
  .viewer { display: block; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .v-photo { display: block; height: auto; overflow: visible; padding: calc(66px + env(safe-area-inset-top)) var(--pad-r) 0 var(--pad); }
  .v-photo img { height: auto; max-height: 76svh; margin: 0 auto; width: auto; }
  .v-side { overflow: visible; border-left: 0; margin-top: 14px; border-radius: 22px 22px 0 0; border-top: 1px solid rgba(245,43,145,.25); padding: 20px var(--pad-r) calc(28px + env(safe-area-inset-bottom)) var(--pad); }
  .v-head { padding-right: 0; }
  .v-title { font-size: 22px; }
  .v-prompt { margin-top: 0; }
}

/* ---------- Confirm sheet + toast ---------- */
.overlay.ask-overlay { z-index: 95; }
.ask { width: min(420px, 100%); }
.ask h2 { font-size: 24px; margin: 0; }
.btn.danger { background: linear-gradient(180deg, #ff6f8e, #c2133f); box-shadow: 0 10px 24px -12px rgba(194,19,63,.9); }
.toast { position: fixed; z-index: 99; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 12px 14px 12px 18px; border-radius: 999px; background: #2a1220; color: #fff; font-size: 14px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.7), 0 0 0 1px rgba(245,43,145,.35); }
.toast button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--pearl); color: var(--fuchsia); font-family: var(--wide); font-weight: 700; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }

/* =====================================================================
   My Camera Roll as a photo library
   ===================================================================== */
.lib-bar { position: sticky; top: 62px; z-index: 5; display: grid; gap: 10px; margin: 0 0 14px; padding: 12px; border-radius: 18px; background: rgba(255,248,252,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px -18px rgba(138,0,60,.45), 0 0 0 1px rgba(229,9,120,.12); }
.lib-row { display: flex; gap: 8px; align-items: center; }
.lib-search { flex: 1; min-width: 0; }
.lib-search input { width: 100%; min-height: 44px; padding: 0 14px 0 38px; border-radius: 999px; border: 1px solid rgba(229,9,120,.22); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c0508a'%3E%3Cpath d='M10 4a6 6 0 104.5 10l4.8 4.8 1.4-1.4-4.8-4.8A6 6 0 0010 4zm0 2a4 4 0 110 8 4 4 0 010-8z'/%3E%3C/svg%3E") 12px center / 18px no-repeat; color: var(--ink); font-size: 16px; }
.lib-search input:focus { outline: none; border-color: var(--hot); box-shadow: 0 0 0 3px rgba(245,43,145,.15); }
.lib-btn, .lib-sort select { flex: none; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(229,9,120,.22); background: #fff; color: var(--fuchsia); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.lib-btn b { margin-left: 6px; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--hot); color: #fff; font-size: 11px; }
.lib-btn b:empty { display: none; }
.lib-sort select { appearance: none; -webkit-appearance: none; padding-right: 30px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E50978'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") right 8px center / 18px no-repeat; }
.lib-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -2px; padding: 0 2px; }
.lib-chips::-webkit-scrollbar { display: none; }
.lib-chips .chip { flex: none; min-height: 38px; border-color: rgba(229,9,120,.2); background: #fff; color: var(--ink); font-size: 13px; }
.lib-chips .chip.on { background: var(--chrome); color: #fff; border-color: transparent; }
.lib-chips .trash-chip { color: var(--muted-dark); }
.lib-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.lib-filters label { display: grid; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--muted-dark); }
.lib-filters select, .lib-filters input { min-height: 42px; padding: 0 10px; border-radius: 12px; border: 1px solid rgba(229,9,120,.22); background: #fff; color: var(--ink); font-size: 16px; }
.lib-count { margin: 0; font-size: 12.5px; color: var(--muted-dark); }
.lib-count:empty { display: none; }
.lib-trash-note { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--muted-dark); font-size: 13.5px; }
.lib-day { margin-bottom: 22px; }
.lib-day-h { margin: 0 2px 10px; font-family: var(--wide); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--fuchsia); }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; align-items: start; }
@media (max-width: 560px) { .lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .lib-bar { position: static; padding: 10px; gap: 8px; } .lib-row { flex-wrap: wrap; } .lib-search { flex: 1 0 100%; } .lib-btn, .lib-sort { flex: 1; } .lib-sort select { width: 100%; } .lib-btn, .lib-sort select { padding: 0 11px; font-size: 13px; } }
.lib-sentinel { height: 1px; }
.shot.lib-card { border-radius: 14px; }
/* compact prompt preview: two lines, tap for the whole prompt */
.shot.landed .used { gap: 6px; padding: 8px 9px 8px; }
.used-txt { appearance: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-height: none; margin: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; font-size: 11.5px; line-height: 1.4; color: #ecd3df; white-space: normal; overflow-wrap: anywhere; }
.used-none { font-size: 11px; color: var(--muted); font-style: italic; }
.used-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.used-foot .reuse { min-height: 30px; padding: 5px 11px; font-size: 8.5px; }
.del-ic { appearance: none; flex: none; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: rgba(201,165,183,.7); cursor: pointer; }
.del-ic::before { content: ''; width: 15px; height: 15px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; -webkit-mask-image: var(--trash-ic); mask-image: var(--trash-ic); }
.del-ic:hover { color: #ffb3c9; background: rgba(255,255,255,.05); }
.del-forever { appearance: none; min-height: 30px; padding: 4px 6px; border: 0; background: none; color: #ff9db6; font-size: 11.5px; text-decoration: underline; cursor: pointer; }
.shot.trashed .pic-btn img { opacity: .7; }
/* Two-column phone cards: keep TAKE HER fully readable next to Download and the heart */
@media (max-width: 560px) {
  .shot .acts { gap: 4px; padding: 5px; }
  .shot .act { width: 36px; min-height: 38px; }
  .shot .act.take { font-size: 8.5px; letter-spacing: .04em; padding: 0 4px; }
}

/* ---------- Camera Roll: photo-first cards + tap tip ---------- */
.card-foot { display: flex; justify-content: flex-end; padding: 0 5px 4px; background: #120c10; }
.card-foot .del-ic { width: 28px; height: 26px; }
.card-foot .del-ic::before { width: 14px; height: 14px; }
.lib-tip { display: flex; align-items: flex-start; gap: 10px; margin: -4px 0 16px; padding: 10px 14px; border-radius: 14px; background: linear-gradient(180deg, #fff, #ffeef6); border: 1px solid rgba(229,9,120,.18); color: var(--muted-dark); font-size: 13px; line-height: 1.45; }
.lib-tip p { margin: 0; }
.lib-tip b { display: block; color: var(--fuchsia); font-size: 13.5px; }
.lib-tip-ic { flex: none; width: 30px; height: 30px; margin-top: 1px; border-radius: 50%; background: rgba(245,43,145,.1); position: relative; }
.lib-tip-ic::before { content: ''; position: absolute; inset: 6px; background: var(--hot); -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 11.2V5.5a1.5 1.5 0 013 0v4.6l4.3.9c1 .2 1.7 1.1 1.6 2.1l-.5 5.1A2 2 0 0115.4 20H11a2 2 0 01-1.6-.8l-3.7-4.9a1.3 1.3 0 012-1.6zM10.5 1a4.5 4.5 0 014.4 5.4l-1.5-.4a3 3 0 10-5.8 0l-1.5.4A4.5 4.5 0 0110.5 1z'/%3E%3C/svg%3E"); mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 11.2V5.5a1.5 1.5 0 013 0v4.6l4.3.9c1 .2 1.7 1.1 1.6 2.1l-.5 5.1A2 2 0 0115.4 20H11a2 2 0 01-1.6-.8l-3.7-4.9a1.3 1.3 0 012-1.6zM10.5 1a4.5 4.5 0 014.4 5.4l-1.5-.4a3 3 0 10-5.8 0l-1.5.4A4.5 4.5 0 0110.5 1z'/%3E%3C/svg%3E"); }
.tap-hint { position: absolute; left: 8px; bottom: 8px; z-index: 1; padding: 5px 10px; border-radius: 999px; background: rgba(11,8,11,.72); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; pointer-events: none; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* ---------- CREATE HER: step guidance ---------- */
.step-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.fav-badge { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px; border-radius: 999px; background: linear-gradient(180deg, rgba(255,214,234,.16), rgba(245,43,145,.14)); border: 1px solid rgba(245,43,145,.4); color: var(--blush); font-family: var(--wide); font-weight: 700; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.step-help { margin: 6px 0 10px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.prompt-guide { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px dashed rgba(248,200,220,.28); font-size: 12.5px; line-height: 1.5; color: #ecd3df; }
.prompt-guide b { display: block; margin-bottom: 2px; color: var(--blush); font-size: 13px; }

/* ---------- Card VIEW PROMPT, studio tip, compact CREATE HER helper ---------- */
.card-foot { justify-content: space-between; align-items: center; gap: 6px; padding: 0 5px 5px 5px; }
.card-prompt { appearance: none; flex: 1; min-width: 0; min-height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(248,200,220,.28); background: rgba(255,255,255,.04); color: var(--blush); font-family: var(--wide); font-weight: 700; font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.card-prompt:hover { background: rgba(255,126,196,.12); }
.studio-tip { margin: 8px 0 0; background: linear-gradient(180deg, rgba(74,16,44,.55), rgba(40,10,26,.6)); border-color: rgba(245,43,145,.3); color: #ecd3df; font-size: 12.5px; }
.studio-tip b { color: var(--bubblegum, #ff7ec4); font-size: 13px; }
.studio-tip .lib-tip-ic { width: 26px; height: 26px; background: rgba(245,43,145,.18); }
.studio-tip .lib-tip-ic::before { inset: 5px; }
.step .step-help { margin: 4px 0 8px; font-size: 13.5px; line-height: 1.5; color: var(--muted); font-weight: 400; }
.prompt-label { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--blush); }
/* Sideways phones (short screens): the filter bar scrolls away instead of covering half the photos. */
@media (max-height: 500px) and (orientation: landscape) { .lib-bar { position: static; } }

/* ---------- FINE AID education (copy update): guidance, price block, saved notice. Current palette only. ---------- */
.bring-list { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; line-height: 1.4; }
.bring-why { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--blush); }
@media (max-width: 420px) { .ok-no { grid-template-columns: 1fr; } }
.bring-cost { display: grid; gap: 4px; }
.bring-cost p { margin: 0; }
.bring-cost b { color: #fff; }
.bring-cost a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.cc .meta small.cc-hint { flex-basis: 100%; font-family: var(--body); font-weight: 600; font-size: 12px; letter-spacing: 0; color: var(--muted-dark); }
.aid-home { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 18px; padding: 14px 16px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(245,43,145,.18), rgba(245,43,145,.08)); border: 1px solid rgba(245,43,145,.45); }
.aid-home p { margin: 0; flex: 1 1 260px; font-size: 15px; line-height: 1.45; }
.aid-home p b { font-family: var(--display); font-style: italic; font-size: 20px; margin-right: 4px; }
.aid-home-acts { display: flex; align-items: center; gap: 6px; }
.aid-home-acts .btn { min-height: 44px; }
.aid-home-x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,.05); color: #fff; cursor: pointer; }
/* FINE AID card: Take her was pale text on the light card (1.07:1). Dark ink + thin pink edge, this card only
   (same treatment as .pack-hero .btn.ghost); a deeper focus ring so keyboard focus shows on the light card. */
#wardrobe .cc-actions .btn.ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(229,9,120,.4); }
#wardrobe .cc-actions .btn.ghost:focus-visible { outline-color: var(--fuchsia); }
/* FINE AID Vault: count line, full state, "taking longer than usual". Current palette only. */
.vault-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: -6px 0 16px; font-size: 14px; color: var(--blush); }
.vault-line b { font-family: var(--display); font-style: italic; font-size: 18px; color: #fff; }
.vault-line .vault-count { font-weight: 700; color: #fff; }
.cc .meta p.cc-checking { font-size: 12px; color: var(--muted-dark); }
.cc.cc-full p { font-size: 13px; line-height: 1.45; }
#bringForm.vault-full .drop { opacity: .45; pointer-events: none; }
.vault-rows { display: grid; gap: 12px; }
.vault-row { display: grid; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.vault-row p { margin: 0; font-size: 13.5px; overflow-wrap: anywhere; }
.vault-acts, .vault-never { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vault-acts .input { min-height: 44px; flex: 1 1 200px; }
.vault-alert .oa-line { text-decoration: none; color: inherit; }

/* ---------------- TAKE HER · The Editing Room (owner switch). Classes use the er- prefix. */
.er { max-width: 1180px; margin: 0 auto; padding: 18px var(--pad-r) 60px var(--pad); }
.er-head { text-align: center; margin: 4px 0 18px; }
.er-head h1 { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(38px, 8vw, 64px); line-height: .95; margin: 6px 0; background: linear-gradient(180deg, #fff 30%, #ffc2df); -webkit-background-clip: text; background-clip: text; color: transparent; }
.er-head h1 sup { font-size: .32em; vertical-align: super; -webkit-text-fill-color: var(--blush); }
.er-tag { margin: 0 0 14px; color: var(--blush); font-size: 15px; }
.er-steps { list-style: none; display: inline-flex; gap: 6px; margin: 0; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.er-steps li { font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 8px 13px; border-radius: 999px; }
.er-steps li b { color: var(--hot); margin-right: 4px; }
.er-steps li.on { color: #fff; background: rgba(245,43,145,.18); box-shadow: inset 0 0 0 1px rgba(245,43,145,.6); }
.er:not([data-screen="pick"]) .er-tag, .er:not([data-screen="pick"]) .er-head .kick { display: none; }
.er:not([data-screen="pick"]) .er-head h1 { font-size: clamp(28px, 6vw, 40px); }

/* Pick her */
.er-picker { border-radius: 28px; padding: 16px; background: linear-gradient(180deg, var(--night-2), var(--night)); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(0,0,0,.9); }
.er-pk-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.er-search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 46px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-strong); }
.er-search span { color: var(--hot); font-size: 18px; }
.er-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 16px; }
.er-count { margin: 0; color: var(--muted); font-size: 12.5px; }
.er-tabs { display: flex; gap: 8px; margin: 12px -16px 14px; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; }
.er-tabs::-webkit-scrollbar { display: none; }
.er-tabs .chip { flex: none; font-size: 13px; min-height: 40px; }
.er-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.er-ph { position: relative; appearance: none; border: 0; padding: 0; cursor: pointer; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #1b1218; box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s var(--ease), box-shadow .2s; }
.er-ph img { width: 100%; height: 100%; object-fit: cover; }
.er-ph:hover, .er-ph:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--hot); outline: none; }
.er-ph-t { position: absolute; left: 6px; bottom: 6px; font-family: var(--wide); font-weight: 700; font-size: 7px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 7px; border-radius: 999px; background: rgba(11,8,11,.72); color: #fff; }
.er-ph-f { position: absolute; top: 6px; right: 6px; font-size: 13px; }
.er-more { display: flex; margin: 14px auto 0; }
.er-empty { text-align: center; padding: 26px 10px 10px; display: grid; justify-items: center; gap: 6px; }
.er-empty p { margin: 0 0 6px; color: var(--muted); }

/* Direct her */
.er-edit { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 22px; align-items: start; }
.er-edit > *, .er-panel > * { min-width: 0; }
.er-photo { position: sticky; top: 96px; }
.er-frame { position: relative; margin: 0 auto; width: fit-content; max-width: 100%; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 0 0 2px var(--hot), 0 30px 60px -30px rgba(245,43,145,.7); }
.er-frame-pic { appearance: none; border: 0; padding: 0; display: block; background: none; cursor: zoom-in; }
.er-frame-pic img { display: block; width: auto; max-width: 100%; height: auto; max-height: 68vh; }
.er-her { position: absolute; top: 10px; left: 10px; font-family: var(--wide); font-weight: 700; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: rgba(11,8,11,.72); color: #fff; pointer-events: none; }
.er-swap { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); appearance: none; border: 0; cursor: pointer; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: rgba(11,8,11,.74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.er-from { margin: 8px 0 0; text-align: center; color: var(--muted); font-size: 12.5px; }
.er-journey { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.er-jr-h { font-family: var(--wide); font-weight: 700; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 4px; flex: none; }
.er-jr { appearance: none; border: 0; background: none; padding: 0; cursor: pointer; display: grid; justify-items: center; gap: 3px; flex: none; color: var(--muted); }
.er-jr img { width: 40px; height: 58px; object-fit: cover; border-radius: 9px; opacity: .65; box-shadow: inset 0 0 0 1px var(--line); }
.er-jr.on img { opacity: 1; box-shadow: 0 0 0 2px var(--hot); }
.er-jr small { font-size: 10.5px; }
.er-jr.on small { color: #fff; font-weight: 700; }
.er-journey > i { font-style: normal; color: var(--hot); flex: none; }
.er-panel { display: grid; gap: 12px; }
.er-block { border-radius: 22px; padding: 14px 16px; background: linear-gradient(180deg, var(--night-2), var(--night)); box-shadow: inset 0 0 0 1px var(--line); }
.er-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; font-family: var(--wide); font-weight: 800; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.er-h b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 22px; letter-spacing: 0; color: var(--hot); }
.er-h small { font-family: var(--body); font-weight: 400; font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.er-refs-box > summary { list-style: none; cursor: pointer; margin: 0; }
.er-refs-box > summary::-webkit-details-marker { display: none; }
.er-refs-box > summary::after { content: '＋'; margin-left: auto; color: var(--hot); font-size: 18px; }
.er-refs-box[open] > summary::after { content: '–'; }
.er-refs-box[open] > summary { margin-bottom: 10px; }
.er-set-sum { display: flex; align-items: center; gap: 16px; }
.er-set-sum span { display: grid; }
.er-set-sum small { font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.er-set-sum b { font-size: 14px; }
.er-set-edit { margin-left: auto; appearance: none; cursor: pointer; min-height: 42px; padding: 8px 18px; border-radius: 999px; border: 0; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1.5px var(--line-strong); color: #fff; font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; }
#er #frSettings { margin-top: 14px; }
.er-go { display: grid; gap: 6px; }
.er-cost { margin: 0; text-align: center; font-size: 13px; color: var(--blush); }
.er-carry { border-radius: 22px; padding: 14px 16px; background: linear-gradient(180deg, rgba(245,43,145,.2), rgba(229,9,120,.06)); box-shadow: inset 0 0 0 1.5px rgba(245,43,145,.55); }
.er-carry > b { font-family: var(--wide); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.er-carry p { margin: 6px 0 10px; font-size: 13.5px; color: var(--blush); }
.er-carry-row { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; }
.er-carry-row .chip { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; min-height: 40px; }
/* the shared TAKE HER editor while it lives in the Editing Room (same look as in the Fitting Room) */
#er .edit-prompt { padding: 0; background: none; box-shadow: none; color: inherit; gap: 10px; }
#er .edit-prompt:focus-within { box-shadow: none; }
#er .ep-box textarea { background: var(--pearl); color: var(--ink); border: 1px solid transparent; }
#er .ep-box textarea:focus { border-color: var(--hot); box-shadow: 0 0 0 3px rgba(245,43,145,.35); }
#er .ep-box textarea::placeholder { color: #b98aa1; }
#er textarea#takePrompt { font-size: 16px; min-height: 120px; }
#er .ep-head { display: none; }
#er .counter, #er .ref-map-h, #er .ref-map-chip { font-size: 13px; }
#er .tag-chip { min-height: 40px; font-size: 13.5px; }
#er .ep-warn, #er .ref-tip, #er .ref-tools-t { font-size: 13.5px; }
#er .ref-zone { padding: 0; }
#er #takeMsg:empty { display: none; }

/* The result: before → after */
.er-stage { display: grid; grid-template-columns: minmax(0, 360px) 96px minmax(0, 360px); justify-content: center; gap: 12px; align-items: start; }
.er-rs { margin: 0; display: grid; gap: 8px; justify-items: center; }
.er-rs figcaption { text-align: center; font-family: var(--wide); font-weight: 700; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.er-rs figcaption b { color: var(--hot); margin-right: 4px; }
.er-rs-pic { position: relative; appearance: none; border: 0; padding: 0; cursor: zoom-in; border-radius: 24px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--line-strong); min-height: 120px; min-width: 100px; }
.er-rs-pic img { display: block; width: auto; max-width: 100%; height: auto; max-height: 62vh; }
.er-rs.new .er-rs-pic { box-shadow: 0 0 0 2px var(--hot), 0 30px 60px -30px rgba(245,43,145,.8); }
.er-dev { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 16px; text-align: center; font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blush); background: radial-gradient(circle at 50% 40%, rgba(245,43,145,.22), transparent 70%), #120b10; }
.er-dev i { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(245,43,145,.25); border-top-color: var(--hot); animation: er-spin 1s linear infinite; }
@keyframes er-spin { to { transform: rotate(360deg); } }
#erAfter:not([src]) { width: 240px; aspect-ratio: 9 / 16; }
.er-magic { align-self: center; display: grid; justify-items: center; gap: 8px; }
.er-arrow { width: 48px; height: 48px; border-radius: 50%; background: var(--chrome); box-shadow: 0 10px 24px -8px rgba(245,43,145,.9); position: relative; }
.er-arrow::after { content: ''; position: absolute; left: 15px; top: 16px; width: 12px; height: 12px; border-top: 3px solid #fff; border-right: 3px solid #fff; transform: rotate(45deg); }
.er-magic small { font-family: var(--wide); font-weight: 700; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; line-height: 1.4; }
.er-shots { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 16px auto 0; max-width: 760px; }
.er-shots-h { flex: 1 0 100%; margin: 0 0 2px; text-align: center; font-size: 13px; color: var(--blush); font-weight: 700; }
.er-shot { appearance: none; border: 0; padding: 0; cursor: pointer; position: relative; width: 64px; height: 92px; border-radius: 12px; overflow: hidden; background: #1b1218; box-shadow: inset 0 0 0 1px var(--line-strong); display: grid; place-items: center; color: var(--muted); font-size: 11px; }
.er-shot img { width: 100%; height: 100%; object-fit: cover; }
.er-shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 0; font-family: var(--wide); font-weight: 700; font-size: 7px; letter-spacing: .1em; text-align: center; color: #fff; background: rgba(11,8,11,.7); }
.er-shot.on { box-shadow: 0 0 0 3px var(--hot); }
.er-shot.dev i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(245,43,145,.25); border-top-color: var(--hot); animation: er-spin 1s linear infinite; }
.er-dir { text-align: center; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 19px; margin: 18px auto 4px; max-width: 640px; overflow-wrap: anywhere; }
.er-dir:empty { display: none; }
.er-saved { text-align: center; margin: 0 0 14px; font-size: 12.5px; color: var(--muted); }
.er-actions { max-width: 560px; margin: 0 auto; display: grid; gap: 10px; }
.er-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.er-row .btn { padding: 12px 8px; font-size: 9.5px; }
.er-row .btn.off { opacity: .45; pointer-events: none; }
.er-help { margin: 2px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.er-help b { color: var(--blush); }
.er-zoom { position: fixed; inset: 0; z-index: 80; background: rgba(5,3,5,.95); display: grid; place-items: center; padding: 60px 12px 12px; }
.er-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; }
.er-zoom .btn { position: absolute; top: 12px; right: 12px; }
/* owner switch */
.er-owner { margin: 14px 0 6px; padding: 12px 14px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.er-owner-h { margin: 0 0 8px; }
.er-owner-opts { display: flex; gap: 14px; flex-wrap: wrap; }
.er-owner-opts label { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; cursor: pointer; }

@media (max-width: 980px) {
  .er-edit { grid-template-columns: 1fr; gap: 14px; }
  .er-photo { position: static; }
  .er-frame-pic img { max-height: 46vh; }
  .er-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .er { padding-top: 12px; }
  .er-head { margin-bottom: 14px; }
  .er-tag { font-size: 14px; margin-bottom: 10px; }
  .er-steps li { padding: 7px 9px; font-size: 8.5px; letter-spacing: .1em; }
  .er-picker { padding: 12px; border-radius: 22px; margin: 0 -4px; }
  .er-tabs { margin: 10px -12px 12px; padding: 0 12px 2px; }
  .er-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .er-ph { border-radius: 12px; }
  .er-count { width: 100%; text-align: right; margin-top: -4px; }
  .er-frame { border-radius: 20px; }
  .er-frame-pic img { max-height: 34vh; }
  .er-block { padding: 12px 13px; border-radius: 18px; }
  #er textarea#takePrompt { min-height: 96px; }
  .er-set-sum { gap: 12px; }
  .er-set-sum b { font-size: 13px; }
  .er-stage { grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr); gap: 4px; }
  .er-arrow { width: 34px; height: 34px; }
  .er-arrow::after { left: 9px; top: 11px; width: 10px; height: 10px; }
  .er-magic small { font-size: 6.5px; letter-spacing: .06em; }
  .er-rs figcaption { font-size: 8.5px; letter-spacing: .08em; min-height: 2.6em; display: flex; align-items: flex-end; justify-content: center; }
  .er-rs-pic { border-radius: 16px; min-width: 0; }
  .er-rs-pic img { max-height: 46vh; }
  #erAfter:not([src]) { width: 100%; }
  .er-dir { font-size: 16px; margin-top: 12px; }
  .er-row { grid-template-columns: 1fr 1fr; }
  .er-row .btn:last-child { grid-column: span 2; }
  .er-her { font-size: 7px; padding: 4px 7px; top: 7px; left: 7px; }
}
.er-steps li { white-space: nowrap; }
#er textarea#takePrompt { height: 132px; }
@media (max-width: 560px) { #er textarea#takePrompt { height: 112px; } .er-steps { gap: 2px; padding: 4px; } .er-steps li { padding: 7px 8px; font-size: 8px; letter-spacing: .08em; } }
@media (max-width: 340px) { .er-steps li { padding: 6px 6px; font-size: 7.5px; letter-spacing: .04em; } }

/* ---------------- TAKE HER · The Edit Board + the Contact Sheet (approved design B) */
.er-edit { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
.er-desk { display: grid; gap: 14px; min-width: 0; }
.er-desk > * { min-width: 0; }
.er-canvas { margin: 0; display: grid; justify-items: center; gap: 8px; }
.er-canvas figcaption { font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.er-canvas figcaption b { color: var(--hot); }
#er .er-frame { padding: 3px; border-radius: 24px; background: var(--chrome-edge); box-shadow: 0 30px 60px -28px rgba(245,43,145,.75); overflow: visible; }
#er .er-frame-pic img { border-radius: 21px; max-height: 58vh; }
.er-panel { position: sticky; top: 96px; }
.er-dh { margin: 0 0 8px; }
.er-dh span { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 22px; }
.er-ideas { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.er-ideas .chip.mini { min-height: 36px; padding: 6px 12px; font-size: 12.5px; }
/* the reference tray: her real references as pearl cards pinned with pink tape */
.er-tray { border-radius: 22px; padding: 14px 14px 12px; background: radial-gradient(120% 140% at 0% 0%, rgba(245,43,145,.14), transparent 60%), linear-gradient(180deg, #24151e, #170e14); box-shadow: inset 0 0 0 1px var(--line-strong); }
.er-tray-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 4px; }
.er-tray-h b { font-family: var(--wide); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.er-tray-h span { font-size: 12px; color: var(--muted); text-align: right; }
#er .ref-zone { border-radius: 14px; }
#er #refs { display: flex; flex-wrap: nowrap; gap: 16px; overflow-x: auto; padding: 14px 6px 8px; scrollbar-width: none; }
#er #refs::-webkit-scrollbar { display: none; }
#er #refs .ref.main { display: none; }
#er #refs .ref { flex: none; width: 96px; aspect-ratio: auto; overflow: visible; padding: 5px 5px 26px; border: 0; border-radius: 6px; background: var(--pearl); box-shadow: 0 10px 20px -8px rgba(0,0,0,.75); transform: rotate(-2deg); }
#er #refs .ref:nth-child(odd) { transform: rotate(1.6deg); }
#er #refs .ref:nth-child(3n) { transform: rotate(-1deg); }
#er #refs .ref::before { content: ''; position: absolute; z-index: 1; top: -8px; left: 50%; width: 40px; height: 14px; transform: translateX(-50%) rotate(-3deg); background: rgba(245,43,145,.55); border-radius: 2px; pointer-events: none; }
#er #refs .ref-pick { height: auto; }
#er #refs .ref-pick img { display: block; height: auto; aspect-ratio: 3 / 4; border-radius: 3px; }
#er #refs .ref > span:not(.ref-grip) { left: 0; right: 0; bottom: 5px; padding: 0; text-align: center; background: none; color: var(--fuchsia); font-size: 9.5px; font-weight: 800; letter-spacing: .08em; }
#er #refs .ref-x { top: -10px; right: -10px; width: 28px; height: 28px; background: var(--black); box-shadow: 0 0 0 1.5px var(--line-strong); z-index: 2; }
#er #refs .ref-grip { top: 8px; left: 8px; }
#er #refs .ref.sel { box-shadow: 0 0 0 3px var(--hot), 0 10px 20px -8px rgba(0,0,0,.75); }
#er .ref-add { margin-top: 6px; }
#er .ref-tip { font-size: 12px; }
/* the Proof Archive (this visit only) */
.er-journey { display: grid; gap: 6px; margin: 0; }
.er-jr-h { margin: 0; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.er-jr-h b { font-family: var(--wide); font-size: 8.5px; letter-spacing: .16em; color: var(--blush); }
.er-jr-h span { font-size: 11px; color: var(--muted); }
.er-jr-row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 8px 6px 2px; }
#er .er-jr { position: relative; }
#er .er-jr img { width: 44px; height: 62px; border-radius: 4px; background: var(--pearl); padding: 2px; }
#er .er-jr em { position: absolute; top: -7px; left: -7px; font-style: normal; font-family: var(--wide); font-weight: 800; font-size: 8px; background: var(--black); color: var(--hot); padding: 2px 5px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line-strong); }
/* the floating studio assistant never covers the Editing Room on phones */
body.in-take #mascot { display: none !important; }
.er-orig { margin: 0 0 10px; font-size: 12.5px; min-height: 38px; }

/* The Contact Sheet: pearl proof paper, numbered frames, pink SELECT (page decoration only) */
.cs-paper { border-radius: 10px; background: linear-gradient(180deg, #fff6fa, #ffe8f2); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.4); overflow: hidden; }
.cs-band { position: relative; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 15px 16px 13px; background: #120b10; color: var(--blush); font-family: var(--wide); font-weight: 700; font-size: 8.5px; letter-spacing: .16em; }
.cs-band::before, .cs-band::after { content: ''; position: absolute; left: 0; right: 0; height: 5px; background: repeating-linear-gradient(90deg, transparent 0 8px, rgba(255,241,247,.35) 8px 14px); }
.cs-band::before { top: 3px; } .cs-band::after { bottom: 3px; }
.cs-done { padding: 4px 9px; border-radius: 3px; background: rgba(255,241,247,.12); color: var(--blush); }
.cs-done.on { background: var(--hot); color: #fff; }
.cs-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 22px; padding: 20px; align-items: start; }
.cs-body > * { min-width: 0; }
.cs-hero { display: grid; justify-items: center; gap: 12px; }
.cs-frame { position: relative; margin: 0; background: #fff; padding: 6px 6px 0; border: 0; border-radius: 2px; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 10px 22px -12px rgba(60,0,30,.45); }
.cs-big { width: fit-content; max-width: 100%; padding: 8px 8px 30px; }
.cs-pic { display: block; border: 0; padding: 0; background: #1a1016; cursor: zoom-in; min-width: 160px; min-height: 220px; position: relative; }
.cs-pic img { display: block; width: auto; max-width: 100%; height: auto; max-height: 66vh; }
.cs-pic .er-dev { border-radius: 0; }
.cs-num { position: absolute; left: 10px; bottom: 7px; font-family: var(--wide); font-weight: 800; font-size: 11px; letter-spacing: .1em; color: var(--fuchsia); }
.cs-mark { position: absolute; right: -10px; bottom: 34px; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 22px; color: var(--hot); padding: 2px 14px; border: 3px solid var(--hot); border-radius: 50%; transform: rotate(-9deg); background: rgba(255,246,250,.85); pointer-events: none; }
.cs-orig-tag { position: absolute; top: 14px; left: 14px; font-family: var(--wide); font-weight: 800; font-size: 8px; letter-spacing: .14em; padding: 5px 10px; border-radius: 999px; background: var(--pearl); color: var(--fuchsia); box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.cs-tools { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cs-tools .btn { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px rgba(229,9,120,.35); }
.cs-tools .btn[aria-pressed="true"] { background: var(--hot); color: #fff; }
.cs-side { display: grid; gap: 12px; }
.cs-h { margin: 0 0 8px; font-family: var(--wide); font-weight: 800; font-size: 9px; letter-spacing: .16em; color: var(--muted-dark); }
.cs-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 12px; }
.cs-proof { cursor: pointer; padding-bottom: 0; display: grid; }
.cs-proof img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.cs-proof > span { display: block; font-family: var(--wide); font-weight: 800; font-size: 8.5px; letter-spacing: .12em; color: var(--muted-dark); padding: 5px 0 6px; text-align: center; }
.cs-proof.on { outline: 3px solid var(--hot); outline-offset: 4px; border-radius: 6px; }
.cs-proof.on > span { color: var(--hot); }
.cs-proof.dev, .cs-proof.miss { aspect-ratio: 9 / 18; display: grid; place-items: center; align-content: center; gap: 6px; color: var(--muted-dark); font-size: 11px; }
.cs-proof.dev i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(245,43,145,.25); border-top-color: var(--hot); animation: er-spin 1s linear infinite; }
.cs-brief { border-radius: 8px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(229,9,120,.18); }
.cs-brief > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 14px; min-height: 44px; }
.cs-brief > summary::-webkit-details-marker { display: none; }
.cs-brief > summary span { font-family: var(--wide); font-weight: 800; font-size: 9.5px; letter-spacing: .16em; color: var(--fuchsia); }
.cs-brief > summary small { font-size: 12px; color: var(--muted-dark); }
.cs-brief > summary::after { content: '＋'; color: var(--hot); font-weight: 800; }
.cs-brief[open] > summary::after { content: '–'; }
.cs-brief-in { padding: 0 14px 14px; }
.cs-brief-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cs-small { display: grid; cursor: zoom-in; }
.cs-small img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.cs-small span { font-family: var(--wide); font-weight: 800; font-size: 7.5px; letter-spacing: .08em; color: var(--muted-dark); padding: 5px 0 6px; text-align: center; }
.cs-note { margin: 12px 0 0; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 16px; line-height: 1.5; color: #3a1028; padding: 6px 10px; background: repeating-linear-gradient(180deg, transparent 0 23px, rgba(229,9,120,.14) 23px 24px); overflow-wrap: anywhere; }
.cs-saved { margin: 0; font-size: 12px; color: var(--muted-dark); }
#erResult .er-actions { max-width: 640px; margin: 16px auto 0; }
#erResult .er-row .btn { font-size: 9.5px; }

@media (max-width: 980px) {
  .er-edit, .cs-body { grid-template-columns: 1fr; }
  .er-panel { position: static; }
}
@media (max-width: 560px) {
  #er .er-frame-pic img { max-height: 32vh; }
  .er-canvas figcaption { font-size: 8.5px; }
  .er-tray { padding: 12px 12px 10px; border-radius: 18px; }
  .er-tray-h span { font-size: 11px; }
  #er #refs { gap: 13px; padding-top: 12px; }
  #er #refs .ref { width: 72px; padding-bottom: 22px; }
  #er .ref-tip { display: none; }
  #er .ref-add .btn { min-height: 38px; font-size: 9px; padding: 8px 12px; }
  .er-ideas { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 10px -13px 0; padding: 0 13px; }
  .er-ideas .chip { flex: none; }
  .er-dh span { font-size: 19px; }
  /* the Contact Sheet, compact: the edit stays big, proofs swipe, The Brief folds */
  .cs-band { font-size: 7.5px; gap: 6px; padding: 13px 12px 11px; }
  .cs-band > span:first-child { display: none; }
  .cs-body { padding: 12px; gap: 12px; }
  .cs-big { padding: 6px 6px 26px; }
  .cs-pic img { max-height: 58vh; }
  .cs-mark { font-size: 16px; right: -6px; bottom: 30px; }
  .cs-strip { display: flex; overflow-x: auto; scrollbar-width: none; gap: 12px; padding: 4px 4px 8px; }
  .cs-strip::-webkit-scrollbar { display: none; }
  .cs-proof { flex: none; width: 74px; }
  .cs-brief-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .cs-note { font-size: 15px; }
  #erResult .er-actions { margin-top: 12px; }
}

#er .ref-add { flex-wrap: nowrap; }
#er .ref-add .btn { flex: 1; }
@media (max-width: 560px) { #er .edit-prompt .fr-hint { display: none; } }
@media (max-width: 560px) { .cs-tools { flex-wrap: nowrap; gap: 6px; } .cs-tools .btn { min-height: 40px; padding: 8px 12px; font-size: 9px; } }
