:root {
  /* Luxe: black, champagne gold, elegant serif. One dark theme everywhere. */
  --bg: #0e0c0b; --fg: #f3e9df; --card: #16120f; --muted: #a99a8b;
  --accent: #d4b47c; --accent-strong: #e7cf9f; --accent-soft: #221a13; --line: #3a3027; --danger: #e8907e;
  --serif: 'Cormorant Garamond', Georgia, serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 Jost, system-ui, sans-serif; }
.wrap { max-width: 28rem; min-height: 100dvh; margin: 0 auto; padding: 2rem 1rem; }
h1, h2, p { margin: 0; }
.stack > * + * { margin-top: .75rem; }
.stack-lg > * + * { margin-top: 2rem; }
.pt { padding-top: 1.5rem; } .pt-xl { padding-top: 4rem; }
.center { text-align: center; }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.display { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; line-height: 1.2; }
.display-sm { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; }
.eyebrow { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.eyebrow.muted { color: var(--muted); letter-spacing: .08em; }
.muted { color: var(--muted); } .small { font-size: .875rem; } .strong { font-weight: 500; }
.btn { display: block; width: 100%; padding: .8rem 1rem; border-radius: 999px; font: inherit; font-weight: 500;
       text-align: center; cursor: pointer; border: 1px solid transparent; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline { background: var(--card); color: var(--fg); border-color: var(--line); }
.btn.is-disabled { opacity: .5; cursor: default; }
.input { width: 100%; padding: .8rem 1rem; border-radius: 999px; border: 1px solid var(--line);
         background: var(--card); color: var(--fg); font: inherit; font-size: 16px; }
.input:focus { outline: none; border-color: var(--accent); }
.check { display: flex; gap: .75rem; align-items: center; font-size: .95rem; }
.check input { width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
.divider { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .8rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.note { background: var(--accent-soft); border-radius: 1rem; padding: 1rem; font-size: .9rem; }
.note h2 { font-size: 1rem; font-weight: 500; margin-bottom: .25rem; }
.alert { border: 1px solid var(--danger); color: var(--danger); border-radius: .75rem; padding: .75rem 1rem; font-size: .9rem; }
.empty { border: 1px dashed var(--line); background: var(--card); border-radius: 1rem; padding: 2rem 1.25rem; }
.card { border: 1px solid var(--line); background: var(--card); border-radius: 1rem; padding: 1rem; }
.list { list-style: none; padding: 0; margin-inline: 0; margin-block-end: 0; }
.link { background: none; border: 0; padding: 0; font: inherit; font-size: .875rem; color: var(--accent); text-decoration: underline; cursor: pointer; }
.link.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tips { margin: 0; margin-top: .75rem; padding-left: 1.2rem; color: var(--muted); font-size: .95rem; }
.tips li + li { margin-top: .25rem; }
.crop-box > * + * { margin-top: .75rem; }
.crop-stage { width: 100%; height: 60vh; max-height: 26rem; background: #111; border-radius: 1rem; overflow: hidden; }
.crop-stage img { display: block; max-width: 100%; }
.crop-tools { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { flex: 1; white-space: nowrap; padding: .55rem .5rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; font-size: .875rem; cursor: pointer; }
.consent { align-items: flex-start; }
.consent input { margin-top: .2rem; flex: none; }
.success { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: .75rem; padding: .75rem 1rem; font-size: .9rem; }
.eye-photo { display: block; width: 100%; border-radius: 1rem; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { padding: 0; margin-bottom: .25rem; }
.field { display: block; }
.field > span:first-child { display: block; font-size: .9rem; margin-bottom: .35rem; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 55%, calc(100% - .95rem) 55%; background-size: .35rem .35rem; background-repeat: no-repeat; }
.unsure { font-style: normal; font-size: .75rem; color: var(--accent); margin-left: .4rem; }
.profile-chip { align-items: center; text-decoration: none; color: inherit; }
a.btn { box-sizing: border-box; }
.code-login summary { cursor: pointer; color: var(--accent); font-size: .9rem; text-align: center; padding: .25rem 0; }
.code-login[open] summary { margin-bottom: .75rem; }
a.plain { display: flex; text-decoration: none; color: inherit; }
a.card.plain.stack { display: block; }
.shade-list { list-style: none; padding: 0; margin-inline: 0; margin-block-end: 0; }
.shade-row { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 7.6rem 1.6rem; gap: .4rem; align-items: center; }
.shade-row + .shade-row { margin-top: .5rem; }
.shade-row .input { padding: .6rem .8rem; font-size: 16px; min-width: 0; }
.shade-row select.input { padding-right: 1.9rem; background-position: calc(100% - 1rem) 55%, calc(100% - .7rem) 55%; }
.shade-row input[type=color] { width: 2.6rem; height: 2.6rem; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: none; overflow: hidden; }
.shade-row input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.shade-row input[type=color]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.remove { border: 0; background: none; color: var(--muted); font-size: 1.4rem; cursor: pointer; }
.swatch-grid { list-style: none; padding: 0; margin-inline: 0; margin-block-end: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem .75rem; }
.swatch-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; }
.swatch { width: 3.75rem; height: 3.75rem; border-radius: 50%; border: 1px solid var(--line); margin-bottom: .3rem; }
.swatch-shimmer, .swatch-metallic { background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), transparent 55%) !important; }
.swatch-glitter { background-image: radial-gradient(rgba(255,255,255,.7) 1px, transparent 1.5px) !important; background-size: 6px 6px !important; }
.swatch-strip { display: flex; height: .9rem; border-radius: 999px; overflow: hidden; margin-top: .6rem; }
.swatch-strip span { flex: 1; }
.center-link { display: block; width: 100%; text-align: center; padding: .25rem 0; }
.looks { list-style: none; padding: 0; margin-inline: 0; margin-block-end: 0; }
.looks > li + li { margin-top: 1rem; }
.look > * + * { margin-top: .75rem; }
.look-head { align-items: center; }
.tag { flex: none; font-size: .75rem; padding: .2rem .6rem; border-radius: 999px; background: var(--accent-soft); color: var(--fg); }
.tag-photos { background: #e4ecf7; color: #2b3a52; }
.tag-evening { background: #2b2024; color: #f3e9ec; }
.tag-something-new { background: #efe6f8; color: #3e2b52; }
.look-map { margin: 0; }
.eye-map { display: block; width: 100%; height: auto; }
.eye-skin { fill: #f3ddd2; }
.eye-brow { fill: none; stroke: #7a5a48; stroke-width: 11; stroke-linecap: round; }
.eye-white { fill: #f7f2ee; }
.eye-pupil { fill: #1a1416; }
.eye-glint { fill: #fff; }
.eye-lash { fill: none; stroke: #241a18; stroke-width: 2.6; stroke-linecap: round; }
.eye-liner { fill: none; stroke-width: 5; stroke-linecap: round; }
.eye-lower { fill: none; stroke-width: 4.5; stroke-linecap: round; }
.eye-leader { stroke: #5a4a44; stroke-width: 1; stroke-dasharray: 3 3; }
.eye-num circle { fill: #fff; stroke: #3a2e2a; stroke-width: 1.2; }
.eye-num text { font: 600 12px system-ui, sans-serif; fill: #241a18; text-anchor: middle; }
.steps { list-style: none; padding: 0; margin-inline: 0; margin-block-end: 0; }
.steps li { display: flex; align-items: flex-start; gap: .75rem; padding: .35rem 0; font-size: .95rem; line-height: 1.35; }
.swatch-split { flex: none; display: flex; gap: 2px; width: 2.1rem; height: 2.1rem; border-radius: .4rem; overflow: hidden; }
.swatch-split > span { flex: 1; }
.tip { background: var(--accent-soft); border-radius: .75rem; padding: .7rem .9rem; font-size: .9rem; }
details.card summary { cursor: pointer; }
details.card[open] summary { margin-bottom: 1rem; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: -1rem 0 1.5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.brand { font-family: var(--serif); font-size: 1.05rem; color: var(--fg); text-decoration: none; white-space: nowrap; }
.topnav { display: flex; align-items: center; gap: .9rem; font-size: .875rem; }
.topnav a, .topnav button { color: var(--muted); text-decoration: none; background: none; border: 0; padding: .35rem 0; font: inherit; cursor: pointer; }
.topnav a[aria-current] { color: var(--fg); font-weight: 500; }
.topnav button { color: var(--accent); }
.footer { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.footer a { color: inherit; }
.plans { display: grid; gap: .75rem; }
.plan { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.plan .price { font-family: var(--serif); font-size: 1.4rem; }
.badge { display: inline-block; font-size: .75rem; padding: .1rem .55rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.test-banner { border: 2px dashed #c98a1a; background: #fff6e0; color: #6b4a00; border-radius: .75rem; padding: .75rem 1rem; font-size: .9rem; }
.danger-zone { border-color: var(--danger); }
.btn-danger { background: var(--danger); color: #fff; }
.legal h2 { font-size: 1.05rem; font-weight: 500; margin-top: 1.5rem; }
.legal p, .legal li { font-size: .95rem; }
.legal ul { padding-left: 1.2rem; }
.draft-banner { border: 2px dashed var(--danger); border-radius: .75rem; padding: .75rem 1rem; font-size: .9rem; }
.benefits { margin: 0; padding-left: 1.2rem; }
.stack > a.link { display: block; width: fit-content; }

.shop summary, details.card summary { cursor: pointer; }
.shop-list { list-style: none; padding: 0; margin: .5rem 0; }
.shop-list li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .45rem 0; border-top: 1px solid var(--line); }
.shop-list li:first-child { border-top: 0; }
.shop-links { display: flex; gap: .6rem; flex: none; }
.promo { text-decoration: none; color: inherit; }
textarea.input { border-radius: 1rem; min-height: 6rem; resize: vertical; }
.reply { white-space: pre-wrap; background: var(--accent-soft); border-radius: .75rem; padding: .8rem 1rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.admin-table td, .admin-table th { text-align: left; padding: .35rem .25rem; border-top: 1px solid var(--line); vertical-align: top; }
a.card.plain.stack > span:not(.row) { display: block; }
.topnav { gap: .7rem; font-size: .8rem; }
.topnav a, .topnav button { white-space: nowrap; }
@media (max-width: 400px) { .brand { font-size: .95rem; } }

.view-switch { display: flex; gap: .25rem; padding: .2rem; margin-bottom: .5rem; background: var(--accent-soft); border-radius: 999px; width: fit-content; }
.view-switch button { border: 0; background: none; padding: .35rem .9rem; border-radius: 999px; font: inherit; font-size: .8rem; color: var(--muted); cursor: pointer; }
.view-switch button[aria-pressed="true"] { background: var(--card); color: var(--fg); font-weight: 500; }
.photo-map { display: block; width: 100%; height: auto; border-radius: 22px; overflow: hidden; }
.look-map[data-view="photo"] .eye-map { display: none; }
.look-map[data-view="diagram"] .photo-map { display: none; }
.tint { opacity: .62; }
.tint-multiply { mix-blend-mode: multiply; }
.tint-screen { mix-blend-mode: screen; opacity: .55; }
.tint-strong { opacity: .8; }
.photo-num circle { fill: rgba(255,255,255,.92); stroke: #3a2e2a; stroke-width: 1; vector-effect: non-scaling-stroke; }
.photo-num text { font-family: system-ui, sans-serif; font-weight: 600; fill: #241a18; text-anchor: middle; }

/* ---------- Luxe theme ---------- */
body { background: radial-gradient(120% 420px at 50% 0, #2b2119 0%, var(--bg) 70%) no-repeat, var(--bg); }
.display { font-size: 2.3rem; line-height: 1.08; letter-spacing: .005em; }
.display-sm { font-size: 1.6rem; line-height: 1.15; }
.eyebrow { letter-spacing: .3em; color: var(--accent); }
.eyebrow.muted { color: var(--muted); letter-spacing: .2em; }
.strong { font-weight: 500; letter-spacing: .01em; }
.btn { border-radius: 2px; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; padding: 1rem; }
.btn-primary { background: linear-gradient(180deg, #ecd6a6, #b8945a); color: #1a1410; box-shadow: 0 8px 24px rgba(212,180,124,.15); }
.btn-outline { background: transparent; color: var(--accent-strong); border-color: #5a4a36; }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.input { border-radius: 2px; background: #110e0c; border-color: var(--line); }
.input:focus { border-color: var(--accent); }
textarea.input { border-radius: 2px; }
.card, .empty { border-radius: 4px; background: var(--card); border-color: var(--line); }
.empty { border-style: solid; }
.note, .tip, .success { background: var(--accent-soft); border-radius: 4px; }
.success { border-color: #5a4a36; color: var(--accent-strong); }
.alert { border-radius: 4px; }
.tip .strong { color: var(--accent); }
.link { color: var(--accent); text-underline-offset: 3px; }
.tag, .tag-photos, .tag-evening, .tag-something-new { background: transparent; color: var(--accent); border: 1px solid var(--accent); border-radius: 0;
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; padding: .2rem .55rem; }
.badge { border-radius: 0; background: transparent; border: 1px solid var(--accent); color: var(--accent); letter-spacing: .14em; text-transform: uppercase; font-size: .62rem; }
.test-banner { background: #1d1810; color: #e7cf9f; border-color: #8a6d3b; border-radius: 4px; }
.draft-banner { border-radius: 4px; }
.topbar { border-color: var(--line); }
.brand { font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.brand i { color: var(--accent); font-style: normal; }
.topnav { gap: .65rem; }
.topnav a, .topnav button { letter-spacing: .1em; text-transform: uppercase; font-size: .62rem; }
.topbar { flex-wrap: wrap; row-gap: .25rem; }
.topnav a[aria-current] { color: var(--accent-strong); }
.footer { letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; }
.view-switch { background: #1d1813; border-radius: 2px; }
.view-switch button { border-radius: 2px; text-transform: uppercase; letter-spacing: .14em; font-size: .65rem; }
.view-switch button[aria-pressed="true"] { background: var(--accent); color: #1a1410; }
.swatch-split { border-radius: 50%; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--line); }
.swatch { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--line); border: 0; }
.steps li + li { border-top: 1px solid #2a221d; }
.look-map .eye-map, .photo-map { border-radius: 4px; }
.reply { background: var(--accent-soft); border-left: 2px solid var(--accent); border-radius: 0; }
.plan .price { font-family: var(--serif); font-size: 2rem; }
.plan.card:has(input[value=yearly]) { border-color: var(--accent); }
select.input option { background: #16120f; }
.shop-list li { border-color: #2a221d; }
.check input { accent-color: var(--accent); }

/* Splash page */
.splash { margin: -2rem -1rem 0; }
.splash > section { padding: 2.5rem 1.25rem; border-top: 1px solid #231d19; }
.splash .hero { text-align: center; padding-top: 2.75rem; border-top: 0; }
.splash .hero h1 { font-family: var(--serif); font-weight: 500; font-size: 2.75rem; line-height: 1.05; margin: .9rem 0; }
.splash .hero h1 em { color: var(--accent-strong); }
.splash .hero .sub { color: #b9aa9b; max-width: 30ch; margin: 0 auto; }
.splash .hero .btn { margin-top: 1.6rem; }
.splash .hero .signin { margin-top: .75rem; font-size: .85rem; color: #b9aa9b; }
.splash .frame { margin-top: 1.75rem; padding: .75rem; border: 1px solid var(--line); background: var(--card); border-radius: 4px; }
.splash h2 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; text-align: center; margin-bottom: 1.4rem; }
.how { list-style: none; padding: 0; margin: 0; }
.how li { display: flex; gap: 1rem; align-items: flex-start; }
.how li + li { margin-top: 1.4rem; }
.how .n { font-family: var(--serif); font-size: 2.1rem; color: var(--accent); line-height: 1; width: 2.2rem; flex: none; }
.how b { display: block; font-weight: 500; }
.splash .share-perks { padding: 1.1rem 1.25rem; gap: .6rem; }
.share-perks .perk { display: flex; gap: .6rem; align-items: center; justify-content: center; margin: 0; font-size: .9rem; }
.share-perks .perk svg { flex: none; color: var(--accent); }
.how span { color: var(--muted); font-size: .9rem; }
.splash .plans .plan { display: block; text-align: center; padding: 1.25rem; }
.splash .plans .plan.plus { border-color: var(--accent); background: linear-gradient(180deg, #221a13, #16120f); }
.splash .plans ul { list-style: none; padding: 0; margin: .75rem 0 0; color: #cbbcac; font-size: .9rem; }
.splash .plans li { padding: .15rem 0; }
.splash .start { scroll-margin-top: 1rem; }

.revenue-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: .75rem; }
.revenue-totals > div { display: flex; flex-direction: column; gap: .15rem; }
.revenue-totals .display-sm { color: var(--accent-strong); }
.admin-table tr.strong td { font-weight: 600; }
.admin-table.muted { color: var(--muted, inherit); opacity: .8; }
.admin-table td .muted { font-size: .8em; }
.admin-table td:not(:first-child), .admin-table th:not(:first-child) { white-space: nowrap; }

/* ---------- Swipe carousel of looks ---------- */
.looks-head { align-items: baseline; }
.greeting { font-weight: 400; }
.greeting b { font-weight: 700; }
.carousel-wrap { margin: 0 -1rem; }
.carousel { list-style: none; margin: 0; padding: .5rem 12% 1rem; display: flex; gap: .85rem; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding: 0 12%; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 76%; scroll-snap-align: center; transition: transform .25s ease, opacity .25s ease; }
.carousel-wrap.is-live .slide:not(.is-current) { transform: scale(.93); opacity: .7; }
.slide-card { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--fg);
  background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow, none); }
.slide-art { display: block; overflow: hidden; background: var(--accent-soft); }
.slide-art .look-map { margin: 0; }
.slide-art .eye-map, .slide-art .photo-map { display: block; width: 100%; height: auto; border-radius: 0 !important; }
.slide-chip { position: absolute; top: .8rem; left: .8rem; z-index: 2; display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(255,255,255,.88); color: #2b2326; border-radius: 999px; padding: .25rem .6rem; font-size: .75rem; font-weight: 600; backdrop-filter: blur(6px); }
.slide-text { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .85rem 1rem 1rem; }
.slide-name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
.carousel-dots { display: flex; justify-content: center; gap: .4rem; margin: -.25rem 0 1rem; }
.carousel-dots span { width: 6px; height: 6px; border-radius: 999px; background: var(--line); transition: width .2s, background .2s; }
.carousel-dots span.on { width: 18px; background: var(--accent); }
.look-details { padding: 0 1rem; }
.look-details > li { scroll-margin-top: 1rem; }
.carousel-wrap.is-live .look-details > li + li { margin-top: 0; }

/* ---------- Top avatar and bottom nav ---------- */
.avatar { display: inline-grid !important; place-items: center; width: 2.2rem; height: 2.2rem; padding: 0 !important; border-radius: 50% !important;
  background: var(--accent-soft) !important; color: var(--accent-strong) !important; font-weight: 700 !important; font-size: .95rem !important; }
.bottomnav { position: fixed; z-index: 20; left: 50%; transform: translate(-50%, var(--nav-shift, 0px)); bottom: max(.75rem, env(safe-area-inset-bottom)); transition: opacity .15s;
  width: min(26rem, calc(100% - 1.5rem)); display: flex; align-items: center; justify-content: space-around;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .5rem; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.bottomnav a { display: flex; flex-direction: column; align-items: center; gap: .1rem; color: var(--muted); text-decoration: none;
  font-size: .65rem; font-weight: 600; padding: .25rem .4rem; min-width: 3.2rem; }
.bottomnav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bottomnav a[aria-current] { color: var(--accent-strong); }
.bottomnav a.scan { width: 3.6rem; height: 3.6rem; min-width: 0; margin-top: -1.6rem; border-radius: 50%; justify-content: center; background: var(--accent);
  color: #fff; box-shadow: 0 10px 22px rgba(245,128,157,.45), 0 0 0 5px var(--bg); }
.bottomnav a.scan svg { width: 26px; height: 26px; }
body:has(.bottomnav) .wrap { padding-bottom: 7rem; }
/* Center tab (Check my look): a raised round button with a small label under it. */
.bottomnav a.tab-center { gap: .2rem; }
.bottomnav .tab-bubble { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-top: -1.7rem; border-radius: 50%;
  background: var(--accent); color: #fff; box-shadow: 0 10px 22px rgba(245,128,157,.45), 0 0 0 5px var(--bg); }
.bottomnav .tab-bubble svg { width: 24px; height: 24px; }
.bottomnav a.tab-center[aria-current] .tab-bubble { box-shadow: 0 10px 22px rgba(245,128,157,.45), 0 0 0 5px var(--bg), 0 0 0 7px var(--accent); }
.bottomnav a { flex: 1 1 0; min-width: 0; white-space: nowrap; }
.check-pick-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); flex: none; }
.me-journal .btn .icon { vertical-align: -3px; margin-right: .25rem; }
.bottomnav.is-tucked { opacity: 0; pointer-events: none; }
@media (hover: hover) { .bottomnav.is-tucked { opacity: 1; pointer-events: auto; } } /* only hide for on-screen keyboards */

/* ---------- Shop ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-link { padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--fg);
  text-decoration: none; font-size: .875rem; font-weight: 600; }
.chip-link.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.toggle-link { display: inline-flex; align-items: center; gap: .6rem; color: var(--fg); text-decoration: none; font-size: .9rem; }
.toggle { width: 2.4rem; height: 1.4rem; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; flex: none; }
.toggle::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1rem; height: 1rem; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle-link.on .toggle { background: var(--accent); }
.toggle-link.on .toggle::after { left: 1.2rem; }
.product-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem .9rem; }
.product-grid li:nth-child(even) { margin-top: 1.75rem; }
.product-tile { display: flex; flex-direction: column; gap: .3rem; text-decoration: none; color: var(--fg); }
.product-art { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; }
.product-art img { width: 100%; height: 100%; object-fit: cover; }
.product-icon { width: 46%; height: auto; fill: none; stroke: #7a5a62; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.product-icon .fill { fill: rgba(255,255,255,.75); }
.product-star { position: absolute; top: .55rem; right: .55rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: var(--accent-strong); font-size: .8rem; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.product-name { font-weight: 600; line-height: 1.25; }
.product-hero { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: var(--accent-soft); margin: 0 -.25rem; }
.product-hero img { width: 100%; height: 100%; object-fit: cover; }
.product-hero .product-icon { width: 30%; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .75rem; }
.check-grid .check { font-size: .875rem; }
.shop-list a.strong { color: var(--fg); text-decoration: none; }
.shop-list a.strong:hover { color: var(--accent-strong); }
.product-art { aspect-ratio: 1 / 1; }
.product-grid li:nth-child(even) { margin-top: 1.25rem; }

/* ---------- Sponsored carousel ---------- */
.promos { margin-inline: -1rem; }
.promo-track { list-style: none; margin: 0; padding: .25rem 1rem .5rem; display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding: 0 1rem; scrollbar-width: none; }
.promo-track::-webkit-scrollbar { display: none; }
.promo-slide { flex: 0 0 100%; scroll-snap-align: start; }
[data-promo-carousel] .promo-slide { flex-basis: 86%; }
.promo { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; text-decoration: none; color: var(--fg); }
.promo-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.promo-body { padding: 1rem; }
.promo-dots { margin: .25rem 0 0; }
.promo-dots { gap: 0; }
.promo-dots button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.promo-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--line); transition: width .2s, background .2s; }
.promo-dots button.on::before { width: 18px; background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .promo-dots button::before { transition: none; } }

/* ---------- Routine and journal ---------- */
.routine-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.routine-avatar { width: 7rem; height: 7rem; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--accent-soft);
  color: var(--accent-strong); font-size: 2.6rem; font-weight: 700; box-shadow: 0 0 0 6px var(--card), var(--shadow, none); }
.routine-avatar img { width: 100%; height: 100%; object-fit: cover; }
.routine-points { color: var(--muted); margin-top: .5rem; }
.routine-points .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); vertical-align: middle; margin-right: .2rem; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 6.5rem; padding: .8rem; border-radius: 20px; text-decoration: none; }
.tile b { font-size: 1.9rem; font-weight: 600; line-height: 1; }
.tile small { font-size: .8rem; font-weight: 500; opacity: .7; }
.tile-lilac { background: #efeafb; color: #5b4a8e; }
.tile-peach { background: #fdeceb; color: #c4485f; }
.tile-mint { background: #e6f5e4; color: #3d7a46; }
.progress-label { font-size: 1.05rem; }
.progress-label b { color: var(--accent-strong); font-weight: 600; }
.progress { height: 8px; border-radius: 999px; background: var(--accent-soft); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .4s; }
.task-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.task { display: flex; gap: .8rem; align-items: flex-start; width: 100%; text-align: left; padding: .85rem 1rem; border-radius: 18px;
  border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; cursor: pointer; }
.task-check { flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 2px solid var(--line); margin-top: .1rem; display: grid; place-items: center; }
.task.is-done { background: var(--accent-soft); border-color: transparent; }
.task.is-done .task-check { background: var(--accent); border-color: var(--accent); }
.task.is-done .task-check::after { content: "✓"; color: #fff; font-size: .8rem; font-weight: 700; }
.btn-sm { width: auto; padding: .5rem 1rem; font-size: .9rem; }
.glasses { display: flex; gap: .2rem; font-size: 1.35rem; }
.glasses span { filter: grayscale(1); opacity: .3; }
.glasses span.on { filter: none; opacity: 1; }
.checkin { background: #f4f1fd; border-color: transparent; }
.challenge { background: #fff4ec; border-color: transparent; }
.opened { align-items: center; padding: .4rem 0; border-top: 1px solid var(--line); }
.warn { color: var(--danger); font-weight: 600; }
.swatch-row { display: flex; gap: .3rem; }
.swatch-row span { width: 1.6rem; height: 1.6rem; border-radius: 50%; box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--line); }
.journal-card { background: linear-gradient(160deg, #ffe8ee, var(--card) 60%); }
.journal-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.journal-strip a { display: flex; flex-direction: column; gap: .2rem; text-decoration: none; color: var(--muted); text-align: center; }
.journal-strip img, .journal-strip .journal-swatches { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.journal-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.journal-tile { display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: var(--fg); }
.journal-tile img, .journal-tile .journal-swatches { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.journal-cap { display: flex; flex-direction: column; }
.journal-swatches { display: flex; overflow: hidden; background: var(--accent-soft); }
.journal-swatches span { flex: 1; }
.journal-photo { display: block; width: 100%; border-radius: 24px; }
.photo-drop { position: relative; display: grid; place-items: center; min-height: 13rem; border: 2px dashed rgba(245,128,157,.5); border-radius: 24px;
  background: var(--card); cursor: pointer; overflow: hidden; text-align: center; }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-drop img { width: 100%; max-height: 22rem; object-fit: cover; }
.photo-drop-hint { display: flex; flex-direction: column; gap: .3rem; padding: 1.5rem; }
.photo-drop-icon { font-size: 2.2rem; }
.hearts { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; }
.hearts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hearts label { font-size: 1.8rem; color: var(--line); cursor: pointer; line-height: 1; }
.hearts input:checked ~ label, .hearts label:hover, .hearts label:hover ~ label { color: var(--accent); }
.hearts input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }
.hearts-shown { color: var(--accent); font-size: 1.2rem; letter-spacing: .1em; }
.wore-btn { font-size: .95rem; }
.promo-body > span:not(.row) { display: block; }
.name-step .wordmark-sm { font-size: 3rem; margin: 0; }

/* ---------- Bag page ---------- */
.section-title { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; text-align: center; margin-top: 2.5rem !important; }
.section-title + * { margin-top: 1rem !important; }
.profile-chip { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--fg); }
.profile-thumb { flex: none; width: 4.5rem; height: 4.5rem; border-radius: 18px; object-fit: cover; background: var(--accent-soft); }
.profile-thumb-empty { display: grid; place-items: center; font-size: 1.6rem; }
.profile-text { flex: 1; display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.name-row { align-items: center; }
.name-row .input { flex: 1; }
.picks-teaser { align-items: center; }

/* Admin lists with a thumbnail on the left */
.admin-item { display: flex; gap: .9rem; align-items: flex-start; text-decoration: none; color: var(--fg); }
.admin-item-body { flex: 1; min-width: 0; }
.admin-thumb { flex: none; width: 4.5rem; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-thumb-wide { width: 6.5rem; aspect-ratio: 16 / 9; background: var(--accent-soft); text-decoration: none; text-align: center; }
.admin-item .tag { display: inline-block; white-space: nowrap; margin: .1rem 0; }

/* Feedback, survey and home-screen hint */
.topnav .feedback-link { font-size: .9rem; }
.install-hint { display: flex; gap: .9rem; align-items: flex-start; }
.install-hint[hidden] { display: none; }
.install-hint img { border-radius: 12px; flex: none; }
.survey-q > p { margin-bottom: .25rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .75rem; }
.stat-grid > div { display: flex; flex-direction: column; gap: .15rem; }
.feedback-item img { max-width: 100%; border-radius: 12px; }
.install-hint [hidden] { display: none !important; }

/* Top bar: wordmark + one avatar button that opens the account menu (stays on one line on any phone) */
.topbar { flex-wrap: nowrap !important; }
.usermenu { position: relative; flex: none; }
.usermenu summary { list-style: none; cursor: pointer; }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu[open] summary { box-shadow: 0 0 0 3px var(--accent-soft); }
.usermenu-panel { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 30; min-width: 12rem; display: flex; flex-direction: column;
  padding: .4rem; background: var(--card, #fff); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 30px rgba(60, 20, 35, .14); }
.usermenu-panel a, .usermenu-panel button { display: block; width: 100%; text-align: left; padding: .7rem .9rem; border: 0; border-radius: 12px;
  background: none; color: var(--fg); font: inherit; font-size: .95rem; text-decoration: none; cursor: pointer; }
.usermenu-panel a:hover, .usermenu-panel button:hover, .usermenu-panel a[aria-current] { background: var(--accent-soft); }
.usermenu-panel form { margin: 0; border-top: 1px solid var(--line); margin-top: .25rem; padding-top: .25rem; }
.usermenu-panel button { color: var(--muted); }

/* Palette thumbnails: official photo, or a mini palette drawn from the shades in pan order */
.bag-palette { display: flex; gap: .9rem; align-items: center; text-decoration: none; color: var(--fg); }
.bag-palette-body { flex: 1; min-width: 0; gap: .35rem; }
.palette-thumb { flex: none; width: 4.25rem; height: 4.25rem; display: grid; gap: 3px; padding: 6px; align-content: center;
  border-radius: 14px; background: #2b2326; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.palette-thumb .pan { aspect-ratio: 1; border-radius: 4px; box-shadow: inset 0 -2px 3px rgba(0,0,0,.18); }
.palette-thumb .pan-shimmer, .palette-thumb .pan-metallic, .palette-thumb .pan-glitter {
  background-image: radial-gradient(circle at 30% 28%, rgba(255,255,255,.75), rgba(255,255,255,0) 55%); }
.palette-thumb .pan-satin { background-image: radial-gradient(circle at 30% 28%, rgba(255,255,255,.35), rgba(255,255,255,0) 60%); }
.palette-thumb-photo { padding: 0; background: var(--accent-soft); overflow: hidden; display: block; }
.palette-thumb-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Rewards and badges on the Routine page */
.reward-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem; }
.reward { display: flex; flex-direction: column; gap: .5rem; padding: .9rem; border-radius: 16px; border: 1px solid var(--line); }
.reward.is-ready { border-color: var(--accent); }
.reward-top { display: flex; justify-content: space-between; gap: .75rem; align-items: flex-start; }
.reward-cost { font-weight: 700; white-space: nowrap; color: var(--accent-strong, var(--accent)); }
.reward .btn { align-self: flex-start; }
.reward .name-row .input { flex: 1; min-width: 0; }
.badges { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.badges li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem; opacity: .4; filter: grayscale(1); }
.badges li.earned { opacity: 1; filter: none; }
.badge-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--accent-soft); font-size: 1.3rem; }
.badges .small { font-size: .7rem; line-height: 1.2; }

/* Add a palette: brand typeahead and a brand's palettes to pick from */
.typeahead { position: relative; }
.typeahead-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 25; list-style: none; margin: .3rem 0 0; padding: .3rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 30px rgba(60, 20, 35, .14); }
.typeahead-list li { padding: .65rem .8rem; border-radius: 10px; cursor: pointer; }
.typeahead-list li:hover, .typeahead-list li[aria-selected="true"] { background: var(--accent-soft); }
.pick-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; max-height: 22rem; overflow-y: auto; }
.pick { display: flex; flex-direction: column; gap: .1rem; width: 100%; text-align: left; padding: .65rem .85rem; border-radius: 14px;
  border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; text-decoration: none; cursor: pointer; }
.pick.is-ready { border-color: var(--accent); }
.pick.is-ready .small { color: var(--accent-strong, var(--accent)); }
.pick.is-picked { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }

/* New-item alerts (menu dot, makeup artist invites and looks) */
.usermenu summary.avatar { position: relative; }
.avatar-dot { position: absolute; top: 0; right: 0; width: .7rem; height: .7rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.new-alert { border-color: var(--accent) !important; }
.new-alert .dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); vertical-align: .1rem; }
.card.is-new { border-color: var(--accent); }

/* "Brushes and extras" on a look card: a tappable row, not a plain disclosure. */
.shop-cta { border: 1.5px solid var(--accent); border-radius: 18px; padding: .2rem .9rem; background: var(--accent-soft, rgba(212, 180, 124, .08)); }
.shop-cta > summary { list-style: none; display: flex; align-items: center; gap: .7rem; padding: .6rem 0; }
.shop-cta > summary::-webkit-details-marker { display: none; }
.shop-cta-icon { font-size: 1.4rem; line-height: 1; }
.shop-cta-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; gap: .15rem; }
.shop-cta-text .small { color: var(--accent-strong, var(--accent)); }
.shop-cta-thumbs { display: flex; }
.shop-cta-thumbs img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--card, #fff); background: #fff; margin-left: -8px; }
.shop-cta-chevron { font-size: 1.5rem; line-height: 1; color: var(--accent-strong, var(--accent)); transition: transform .2s; }
.shop-cta[open] .shop-cta-chevron { transform: rotate(90deg); }
.shop-cta[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: .4rem; }

/* Tagline under the wordmark (Jeff picked Cinzel, Dec 2) */
.brand { display: inline-flex; flex-direction: column; align-items: center; }
.brand-word { white-space: nowrap; }
.tagline { font-family: 'Cinzel', serif; font-weight: 500; font-size: .62rem; letter-spacing: .3em; padding-left: .3em; text-transform: uppercase;
  color: var(--muted); font-style: normal; line-height: 1; margin-top: .3rem; white-space: nowrap; }
.tagline-lg { font-size: .9rem; letter-spacing: .32em; margin: .6rem 0 1.25rem; }

/* Share a look */
.share-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.share-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.share-toast { position: fixed; left: 50%; bottom: 6.5rem; transform: translate(-50%, 1rem); z-index: 40; width: min(24rem, calc(100% - 2rem));
  background: #2b2326; color: #fff; border-radius: 16px; padding: .8rem 1rem; font-size: .9rem; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.share-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Face guide */
.face-map[data-view="photo"] .face-diagram { display: none; }
.face-map[data-view="diagram"] .photo-map { display: none; }
.face-map .photo-map { max-height: 72vh; width: auto; max-width: 100%; margin-inline: auto; }
.face-diagram { max-width: 340px; margin-inline: auto; }
.face-bg { fill: var(--accent-soft, #f6e7e1); }
.face-skin { fill: #f1d2c3; }
.face-hair { fill: #5b4236; }
.face-brow { fill: none; stroke: #6b4c3c; stroke-width: 5; stroke-linecap: round; }
.face-eye { stroke: #3a2a24; stroke-width: 1.4; }
.face-iris { fill: #6b4c3c; }
.face-line { fill: none; stroke: #b88c78; stroke-width: 1.6; stroke-linecap: round; }
.face-lips { fill: #c98579; }
.face-diagram .tint { mix-blend-mode: normal; opacity: .7; }
.face-diagram .tint-screen { opacity: .95; }
.face-step-n { flex: none; display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; font-size: .8rem; font-weight: 700; background: var(--c); color: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.face-steps li:last-child .face-step-n { color: #8a6a3a; }
.face-cta { align-items: center; text-decoration: none; color: inherit; }
.face-cta-icon { flex: none; font-size: 1.6rem; }
.face-cta-text { flex: 1; display: flex; flex-direction: column; gap: .15rem; }
.tint.tint-light { opacity: .4; }
.tint.tint-glow { opacity: .85; }
.face-diagram .tint.tint-light { opacity: .45; }
.face-diagram .tint.tint-glow { opacity: 1; }
/* Sponsored palette try-ons */
.promo-try-cta { display: flex; align-items: center; gap: .5rem; margin-top: .35rem; color: var(--accent-strong); }
.mini-swatches { display: inline-flex; }
.mini-swatches span { width: 1.1rem; height: 1.1rem; border-radius: 999px; border: 2px solid var(--card); margin-left: -.35rem; }
.mini-swatches span:first-child { margin-left: 0; }
.tryon-brand { justify-content: flex-start; gap: .5rem; }
.tryon-palette { padding: 0; overflow: hidden; }
.tryon-palette > .row { padding: 1rem 1rem 0; }
.tryon-img { aspect-ratio: 16 / 9; }
.tryon-swatches { list-style: none; margin: 0; padding: 0 1rem 1rem; display: flex; gap: .6rem; overflow-x: auto; scrollbar-width: none; }
.tryon-swatches li { display: flex; flex-direction: column; align-items: center; gap: .25rem; flex: 0 0 auto; width: 3.4rem; text-align: center; }
.tryon-swatches .swatch { width: 2.6rem; height: 2.6rem; border-radius: 999px; }
.tryon-swatches .small { font-size: .7rem; line-height: 1.2; }
.tryon-cta .btn { text-align: center; }
.sponsor-stats { display: flex; flex-wrap: wrap; gap: .25rem .9rem; }
.sponsor-table { width: 100%; border-collapse: collapse; }
.sponsor-table th, .sponsor-table td { text-align: left; padding: .3rem .25rem; border-bottom: 1px solid var(--line); font-weight: normal; }
.sponsor-table thead th { font-weight: 600; }
/* Shop the gap */
.gap-head, .gap-body { display: flex; flex-direction: column; gap: .3rem; }
.gap-head .display-sm { margin: 0; }
.gap-covered { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.gap-covered li { font-size: .78rem; padding: .2rem .65rem; border-radius: 999px; background: var(--accent-soft); color: var(--fg); }
.gap-covered li span { color: var(--accent-strong); font-weight: 700; }
.gap-list { list-style: none; padding: 0; margin: 0; }
.gap-item { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 0; border-top: 1px solid var(--line); }
.gap-item:first-child { border-top: 0; padding-top: .25rem; }
.gap-swatch { flex: none; width: 3rem; height: 3rem; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--line), 0 6px 14px rgba(0, 0, 0, .12); }
.gap-body .shop-links { flex-wrap: wrap; margin-top: .15rem; }
.gap-teaser { display: flex; align-items: center; gap: .9rem; }
.gap-dots { display: flex; flex: none; }
.gap-dots span { width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid var(--card); margin-left: -.45rem; }
.gap-dots span:first-child { margin-left: 0; }
.gap-teaser .gap-text { flex: 1; min-width: 0; }
.gap-teaser .gap-text { line-height: 1.35; }

/* Pro accounts */
.pro-client { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.pro-client .who { display: flex; flex-direction: column; min-width: 0; }
.pro-client .who span { overflow: hidden; text-overflow: ellipsis; }
.from-artist { border-left: 3px solid var(--accent); padding-left: .75rem; white-space: pre-wrap; }

/* Brand QR codes and trend reports (admin) */
.qr-thumb { flex: none; width: 6rem; background: #fff; border-radius: 10px; padding: .25rem; line-height: 0; }
.qr-thumb img { width: 100%; height: auto; }
.code-link { font-size: .78rem; word-break: break-all; }
.brand-welcome { text-align: left; margin-bottom: 1rem; }
.trend-table .num { text-align: right; width: 3.5rem; }
.trend-bar-cell { width: 45%; }
.trend-bar { display: inline-block; height: .55rem; border-radius: 99px; background: var(--accent); margin-right: .4rem; vertical-align: middle; min-width: 2px; }
.trend-ask { display: flex; flex-direction: column; gap: .6rem; }
@media (max-width: 420px) { .brand-code { flex-direction: column; } }
/* Plus & Premium, gifts, invites */
.tier .plans { gap: 0; }
.tier .plan { padding: .7rem 0; border-top: 1px solid var(--line); }
.tier-premium { border-color: var(--accent); }
.gift-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.gift-option { position: relative; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .7rem .4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--card); cursor: pointer; text-align: center; font-size: .9rem; }
.gift-option input { position: absolute; opacity: 0; pointer-events: none; }
.gift-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.gift-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.gift-card { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; padding: 2rem 1.25rem; border: 1px solid var(--accent); border-radius: 22px; background: linear-gradient(160deg, var(--card), var(--accent-soft)); }
.gift-card .display { margin: 0; }
.gift-note { font-family: var(--serif); font-style: italic; font-size: 1.1rem; margin: 0; }
.gift-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.35rem; letter-spacing: .12em; padding: .5rem 1rem; border: 1px dashed var(--accent); border-radius: 10px; background: var(--card); margin: .25rem 0; }
.copy-link { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; word-break: break-all; padding: .6rem .75rem; border-radius: 10px; background: var(--accent-soft); margin: 0; }
button.chip-link { font: inherit; font-size: .875rem; cursor: pointer; }
@media print {
    .no-print, .bottomnav, .topbar, header.site, .footer { display: none !important; }
    .gift-card { border-width: 2px; }
}

/* ---------- Admin: section menu, and full width on computers ---------- */
.admin-nav { font-size: .9rem; }
.admin-nav ul { list-style: none; margin: 0; padding: 0; }
.admin-nav a { color: var(--muted); text-decoration: none; }
.admin-nav a:hover { color: var(--fg); }
.admin-nav a[aria-current], .admin-nav a[data-active] { color: var(--accent-strong, var(--accent)); font-weight: 600; }
.admin-main { min-width: 0; }
/* Phones: one scrolling row of section links above the page. */
@media (max-width: 959.98px) {
  .admin-nav { display: flex; gap: .4rem; overflow-x: auto; margin: -.5rem -1rem 1.5rem; padding: 0 1rem .25rem; scrollbar-width: none; }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav ul { display: contents; }
  .admin-nav-title, .admin-nav-back { display: none; }
  .admin-nav a { display: block; white-space: nowrap; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: .82rem; }
  .admin-nav a[aria-current] { border-color: var(--accent); }
  .admin-nav a[data-active] { font-weight: inherit; color: var(--muted); } /* no scroll highlight in the row */
}
/* Computers: wide page, sticky sidebar, multi-column grids. */
@media (min-width: 960px) {
  body.is-admin .wrap { max-width: 92rem; padding-inline: 2rem; }
  body.is-admin .bottomnav { display: none; }
  body.is-admin:has(.bottomnav) .wrap { padding-bottom: 3rem; }
  .admin-shell { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); gap: 2.5rem; align-items: start; }
  .admin-nav { position: sticky; top: 1.25rem; max-height: calc(100dvh - 2.5rem); overflow-y: auto; padding: 1rem 0; }
  .admin-nav-title { margin: 0 0 .4rem; }
  .admin-nav ul + .admin-nav-title { margin-top: 1.25rem; }
  .admin-nav li a { display: block; padding: .3rem .75rem; margin-left: -.75rem; border-radius: .5rem; }
  .admin-nav li a:hover { background: var(--accent-soft); }
  .admin-nav a[aria-current], .admin-nav a[data-active] { background: var(--accent-soft); }
  .admin-nav-back { margin-top: 1.5rem; font-size: .85rem; }
  /* Single-item pages (a form, a client) stay at a comfortable reading width. */
  .admin-main > :not(.admin-wide) { max-width: 46rem; }
  /* Main admin page: two columns of sections, wide ones across. */
  .admin-dash { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.25rem; align-items: start; }
  .admin-dash > * + * { margin-top: 0; }
  .admin-dash > .span-all { grid-column: 1 / -1; }
  .admin-dash section { scroll-margin-top: 1.25rem; }
  .admin-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
  .admin-links > * + * { margin-top: 0; }
  /* Lists of things (palettes, products, codes, slots, trend tables) as a grid of cards. */
  .admin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr)); gap: 1rem; align-items: start; }
  .admin-cards > * + *, .admin-cards > li + li { margin-top: 0; }
  .admin-wide > header.stack { max-width: 52rem; }
  .admin-btn-auto { width: auto; justify-self: start; display: inline-block; padding-inline: 1.5rem; }
}
@media (min-width: 1500px) {
  .admin-dash { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Build plan pieces (Dec 3): line icons, brushes, brow tip, check my look, feature switches ---------- */
.icon { display: inline-block; vertical-align: -.2em; flex: none; }
.profile-thumb-empty .icon, .face-cta-icon .icon, .badge-icon .icon, .photo-drop-icon .icon { color: var(--accent-strong); }
.glasses span { filter: none; color: var(--line); opacity: 1; }
.glasses span.on { color: var(--accent-strong); }
.error-icon { color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.photo-choice .check { align-items: flex-start; }
.photo-choice .check input { margin-top: .2rem; }

.brushes { border-top: 1px solid var(--line); padding-top: .75rem; }
.brushes h3 { margin: 0 0 .25rem; }
.brush-list { list-style: none; padding: 0; margin: 0; }
.brush-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .65rem; align-items: center; padding: .5rem 0; }
.brush-row + .brush-row { border-top: 1px solid var(--line); }
.brush-row > .icon { color: var(--muted); }
.brush-text { display: flex; flex-direction: column; line-height: 1.3; }
.brush-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .1rem; text-align: right; }
.brush-actions form { margin: 0; }
.brush-actions button { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; }
.brush-row.owned .brush-text .strong { color: var(--muted); }
.check-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; }
.fold { border-top: 1px solid var(--line); padding-top: .6rem; }
.fold > summary { cursor: pointer; display: flex; align-items: baseline; gap: .4rem; }
.fold[open] > summary { margin-bottom: .4rem; }
.brow-tip > summary .strong { color: var(--accent-strong); }
.disclosure { margin-top: .25rem; }

.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .7rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list.good .icon { color: var(--accent-strong); margin-top: .15rem; }
.check-list .n { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--fg); color: var(--bg); font-size: .8rem; font-weight: 700; }

.feature-list { display: flex; flex-direction: column; }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.switch { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; align-items: center; padding: .7rem 0; cursor: pointer; }
.switch input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { width: 2.6rem; height: 1.5rem; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; }
.switch-track::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .2s; }
.switch input:checked + .switch-track { background: var(--fg); }
.switch input:checked + .switch-track::after { left: 1.3rem; }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--accent); outline-offset: 2px; }
.feature-text { display: flex; flex-direction: column; line-height: 1.35; }

/* ---------- Look detail kit (Dec 4): brushes + extras with a tick circle, step dots and one Shop pill ---------- */
.look-kit { border-top: 1px solid var(--line); padding-top: .8rem; }
.kit-head { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
.kit-head h3 { margin: 0; }
.kit-split { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .85rem; }
.kit-list { list-style: none; padding: 0; margin: .15rem 0 0; }
.kit-row { display: flex; align-items: center; gap: .75rem; padding: .65rem 0; }
.kit-list .kit-row + .kit-row { border-top: 1px solid var(--line); }
.kit-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; gap: .15rem; }
.kit-text a.strong { color: var(--fg); text-decoration: none; }
.kit-tick-form { margin: 0; flex: none; }
.kit-tick { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--nude, var(--line)); background: var(--card);
            display: grid; place-items: center; padding: 0; cursor: pointer; }
.kit-tick svg { width: 13px; height: 13px; fill: none; stroke: transparent; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.kit-tick:hover svg { stroke: var(--muted); }
.kit-tick[aria-pressed="true"] { background: var(--espresso, var(--fg)); border-color: var(--espresso, var(--fg)); }
.kit-tick[aria-pressed="true"] svg { stroke: var(--card); }
.kit-row.owned .kit-text .strong { color: var(--muted); font-weight: 600; }
.kit-row.owned .step-dot { border-color: var(--nude, var(--line)); color: var(--muted); }
.kit-inbag { white-space: nowrap; flex: none; }
.kit-steps { display: flex; align-items: center; gap: .3rem; }
.step-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.4px solid var(--espresso, var(--fg)); display: inline-grid; place-items: center;
            font-size: .66rem; font-weight: 700; line-height: 1; color: var(--espresso, var(--fg)); background: var(--card); }
.shop-pill { flex: none; display: inline-flex; align-items: center; gap: .25rem; font-size: .8rem; font-weight: 700; color: var(--accent);
             border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); background: color-mix(in srgb, var(--accent) 6%, var(--card));
             border-radius: 999px; padding: .25rem .85rem; text-decoration: none; cursor: pointer; white-space: nowrap; list-style: none; }
.shop-pill::-webkit-details-marker { display: none; }
.shop-pill svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.shop-menu { position: relative; flex: none; }
.shop-menu[open] .shop-pill svg { transform: rotate(180deg); }
.shop-menu-list { position: absolute; right: 0; top: calc(100% + .35rem); z-index: 20; min-width: 10rem; background: var(--card);
                  border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 30px rgba(59, 42, 34, .16); padding: .35rem; }
.shop-menu-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem .65rem; border-radius: 9px;
                    font-size: .88rem; color: var(--fg); text-decoration: none; }
.shop-menu-list a:hover, .shop-menu-list a:focus-visible { background: var(--accent-soft); }
.shop-menu-list svg { width: 10px; height: 10px; fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-linecap: round; }
.look-actions { display: flex; gap: .6rem; }
.look-actions > .btn { flex: 1; width: auto; font-size: .92rem; padding: .7rem .6rem; }
.brow-shop { padding: .25rem 0 0; }
.gap-shop { display: flex; align-items: center; gap: .9rem; margin-top: .25rem; }
.intro { padding-top: 2.5rem; }
.intro .wordmark-sm { font-size: 3rem; margin: 0; }
.intro-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; }
.gap-shop .shop-menu-list { left: 0; right: auto; }
.intro .link { align-self: center; }

/* ---------- Singles and Build your own palette (Dec 4) ---------- */
.single-head, .build-head { display: flex; align-items: center; gap: .8rem; }
.single-head .swatch { flex: none; width: 44px; height: 44px; }
.single-advice h3 { margin: .4rem 0 0; }
.single-advice .gap-swatch { flex: none; }
.build-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .9rem; }
.build-slot { display: flex; flex-direction: column; gap: .5rem; }
.build-slot p { margin: 0; }
.build-swatch { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 3px var(--card), 0 0 0 4px var(--line); }
.build-swatch .step-dot { position: absolute; right: -6px; bottom: -4px; }
.stack-xs { display: flex; flex-direction: column; gap: .1rem; }
.build-slot.owned { background: var(--accent-soft); }
.build-owned { display: flex; align-items: center; gap: .35rem; color: var(--fg); }
.build-teaser .build-dots { display: flex; }
.build-teaser .build-dots span { width: 20px; height: 20px; border-radius: 50%; margin-left: -6px; box-shadow: 0 0 0 2px var(--card); }
.build-teaser .build-dots span:first-child { margin-left: 0; }

/* Give a gift without an account (Dec 4 2026) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gift-cta { align-items: center; gap: .85rem; padding: .95rem 1.1rem; }
.gift-cta svg { flex: none; color: var(--accent); }
.gift-cta .gift-cta-text { flex: 1; display: flex; flex-direction: column; gap: .1rem; text-align: left; }
.gift-cta .chev { color: var(--muted, inherit); font-size: 1.3rem; line-height: 1; }
.share-perks a.perk { color: inherit; text-decoration: none; }
.share-perks a.perk span { text-decoration: underline; text-underline-offset: 3px; }

/* Welcome: logo and the three short steps */
.splash .hero .brand-logo { display: block; width: min(220px, 60vw); height: auto; margin: 0 auto; }
.how.how-simple { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.how.how-simple li { margin: 0; flex-direction: column; align-items: center; justify-content: flex-start; gap: .5rem; padding: 1rem .5rem; text-align: center; }
.how.how-simple svg { flex: none; color: var(--accent-strong); }
.how.how-simple b { font-weight: 600; font-size: .92rem; line-height: 1.25; }

/* Sticky landing page (Jeff, Dec 4 2026): one screen, one button, for people coming from ads. */
.sticky-hero { margin-top: -1rem; min-height: calc(100svh - 3rem); display: flex; flex-direction: column; align-items: center; text-align: center; }
.sticky-logo { display: block; width: min(124px, 34vw); height: auto; margin: 0 auto; }
.sticky-note { margin-top: .6rem; font-size: .85rem; color: var(--accent-strong); font-weight: 600; }
.sticky-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4.2svh, 2.4rem); line-height: 1.04; margin: .6rem 0 0; }
.sticky-sub { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--accent-strong); margin-top: .35rem; }
.sticky-top { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sticky-map { width: 100%; max-width: min(370px, 41svh); margin-top: .9rem; }
.sticky-map .look-map { margin: 0; }
.sticky-actions { width: 100%; max-width: 420px; padding-top: 1rem; display: grid; gap: .45rem; }
.sticky-cta { font-size: 1.05rem; padding-top: 1rem; padding-bottom: 1rem; }
.sticky-page .sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; max-width: 520px; margin: 0 auto; max-height: 92svh; overflow-y: auto;
    background: var(--card); border-radius: 22px 22px 0 0; padding: .9rem 1.25rem 1.75rem; box-shadow: 0 -12px 34px rgba(59, 42, 34, .2);
    display: grid; gap: .8rem; text-align: center; transform: translateY(105%); transition: transform .25s ease; visibility: hidden; }
.sticky-page .sheet:target, .sticky-page .sheet.is-open { transform: none; visibility: visible; }
.sticky-page .sheet .stack { text-align: left; }
.sticky-page .sheet .check { justify-content: center; }
.sheet-handle { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto .3rem; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 39; background: rgba(29, 22, 18, .35); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.sticky-page:has(.sheet:target) .sheet-backdrop, .sticky-page:has(.sheet.is-open) .sheet-backdrop { opacity: 1; pointer-events: auto; }
body.sheet-up { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .sticky-page .sheet, .sheet-backdrop { transition: none; } }
.splash .hero h1 em { display: inline-block; font-size: .62em; margin-top: .35rem; }
.nowrap { white-space: nowrap; }

/* Sticky page: numbered swatches under the eye map, and the zones filling in one at a time (Jeff, Dec 4 2026). */
.sticky-swatches { list-style: none; margin: .9rem 0 0; padding: 0 4%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6%; }
.sticky-swatches li { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.sticky-swatch { display: block; width: 100%; max-width: 62px; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .12), 0 0 0 3px var(--card), 0 0 0 4px var(--line); }
.sticky-swatch-n { font: 700 .8rem/1 system-ui, sans-serif; color: var(--fg); }
@keyframes zone-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes swatch-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.sticky-map.is-filling [data-n] { opacity: 0; animation: zone-in .6s ease forwards; }
.sticky-map.is-filling .sticky-swatches [data-n] { animation-name: swatch-in; }
.sticky-map.is-filling [data-n="1"] { animation-delay: .4s; }
.sticky-map.is-filling [data-n="2"] { animation-delay: 1.1s; }
.sticky-map.is-filling [data-n="3"] { animation-delay: 1.8s; }
.sticky-map.is-filling [data-n="4"] { animation-delay: 2.5s; }
.sticky-map.is-filling [data-n="5"] { animation-delay: 3.2s; }
.sticky-map.is-filling [data-n="6"] { animation-delay: 3.9s; }
@media (prefers-reduced-motion: reduce) { .sticky-map.is-filling [data-n] { opacity: 1; animation: none; } }

/* Mascara: always the last numbered step of a look */
.eye-mascara line { stroke: #241a18; stroke-width: 2; stroke-linecap: round; }
.swatch-mascara { background: linear-gradient(135deg, #3a2a24, #120c0a); }
.mascara-edit { margin-top: .3rem; }
.mascara-edit > summary { cursor: pointer; display: inline; list-style: none; }
.mascara-edit > summary::-webkit-details-marker { display: none; }
.mascara-form { gap: .4rem; margin: .4rem 0 .2rem; }
.mascara-form input[type=text] { flex: 1; min-width: 0; padding: .45rem .6rem; font-size: .9rem; }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }

/* Check my look: one verdict, then a few short lines */
.verdict { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; margin: 0; }
.verdict .dot { flex: none; width: .8rem; height: .8rem; border-radius: 50%; background: var(--accent); }
.verdict-ready .dot { background: #6e8a5c; }
.verdict-almost .dot { background: #b98d3e; }
.verdict-reset .dot { background: #9a5a4e; }
.check-say { margin: 0; }
.check-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.check-tips li { display: flex; gap: .55rem; align-items: flex-start; }
.check-tips .opt { font-weight: 600; }
.simple-look .steps { margin-top: .4rem; }
/* "Find my shades" progress (palettes/lookup) */
.lookup-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.lookup-steps li { position: relative; padding-left: 1.75rem; color: var(--muted); transition: color .3s; }
.lookup-steps li::before { content: ''; position: absolute; left: 0; top: .3rem; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid var(--line); }
.lookup-steps li.is-now { color: var(--fg); font-weight: 500; }
.lookup-steps li.is-now::before { border-color: var(--accent); border-top-color: transparent; animation: lookup-spin 0.9s linear infinite; }
.lookup-steps li.is-done { color: var(--fg); }
.lookup-steps li.is-done::before { background: var(--accent); border-color: var(--accent); }
.lookup-bar { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.lookup-bar span { display: block; height: 100%; width: 35%; background: var(--accent); animation: lookup-slide 1.6s ease-in-out infinite; }
@keyframes lookup-spin { to { transform: rotate(360deg); } }
@keyframes lookup-slide { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
@media (prefers-reduced-motion: reduce) { .lookup-steps li.is-now::before, .lookup-bar span { animation: none; } }

.preload-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .4rem .75rem; }
.preload-brand { display: flex; gap: .5rem; align-items: center; font-size: .95rem; cursor: pointer; }

/* "Before you start": prep at the top of every look */
.prep-note { background: var(--accent-soft); border-radius: .75rem; padding: .6rem .8rem; display: grid; gap: .35rem; }
.prep-note p { margin: 0; }
.prep-actions { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }

/* No-photo eye profile: describe your eye (Dec 5 2026) */
.describe fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.describe legend { padding: 0; margin-bottom: .25rem; }
.describe [hidden] { display: none !important; }
.describe-dots { display: flex; gap: .4rem; list-style: none; padding: 0; margin-top: .75rem; }
.describe-dots li { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.describe-dots li.is-on { background: var(--accent); }
.swatch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem .5rem; }
.swatch-choice, .shape-choice, .pick-choice { position: relative; cursor: pointer; }
.swatch-choice input, .shape-choice input, .pick-choice input { position: absolute; opacity: 0; pointer-events: none; }
.swatch-choice { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; }
.swatch-eye, .swatch-skin { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%; border: 2px solid var(--line); transition: transform .15s; }
.swatch-eye { background: radial-gradient(circle, #1f1611 0 26%, var(--iris) 28% 66%, color-mix(in srgb, var(--iris) 65%, #000) 70% 100%); }
.swatch-unsure { background: var(--card); color: var(--muted); font-size: 1.3rem; font-weight: 500; }
.swatch-choice input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); transform: scale(1.04); }
.swatch-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 4px; }
.shape-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.shape-choice, .pick-choice { display: flex; border: 1px solid var(--line); background: var(--card); border-radius: 1rem; padding: .75rem; line-height: 1.3; }
.shape-choice { flex-direction: column; align-items: center; text-align: center; gap: .2rem; }
.shape-choice .eye-shape { color: var(--fg); margin-bottom: .2rem; }
.shape-q { display: grid; place-items: center; width: 80px; height: 56px; font: 500 2rem var(--serif); color: var(--muted); }
.shape-choice:has(input:checked), .pick-choice:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.shape-choice:has(input:focus-visible), .pick-choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.helper .chip { display: block; width: 100%; white-space: normal; text-align: left; padding: .7rem 1rem; border-radius: 1rem; }
.helper .success { margin-top: .5rem; }
.describe-nav .link { display: block; margin: 0 auto; }
.photo-cta { text-align: center; }
a.photo-add { align-items: center; gap: 1rem; justify-content: flex-start; }
.sticky-describe { justify-self: center; }
