/* ============================================================
   WATCHMAN FORGE — Collections pages
   /collections and its four shelves. Tokens come from main.css;
   the panels copy the app's own Collections screens: navy cards
   (#0c131d, edge var(--a-line)), gold for names, scores and fill bars,
   gold-edged buttons. Demo data only, all of it invented.
   ============================================================ */

/* The app's body font, inside its panels (OFL, see /assets/webfonts/LICENSE.txt) */
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/webfonts/atkinson-hyperlegible-latin-400.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/webfonts/atkinson-hyperlegible-latin-700.woff2) format('woff2'); }

/* The app's own palette, read from its source (2026-11-07) */
:root {
  --a-card: var(--a-card); --a-raised: #101a26; --a-line: #1f2c3b; --a-track: #18222e;
  --a-text: #e9f4fb; --a-mist: #93a0b6; --a-gold: #f3c969; --a-gold-hi: #ffdf9e;
  --a-gold-fill: rgba(243, 201, 105, 0.10); --a-gold-line: rgba(243, 201, 105, 0.55);
}

.bg-raised { background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tag {
  display: inline-flex; align-items: center; vertical-align: middle; white-space: nowrap;
  font-size: 0.72rem; font-weight: 600; line-height: 1; letter-spacing: 0.02em;
  padding: 5px 9px; border-radius: 999px;
  color: var(--brand-hi); background: var(--brand-soft); border: 1px solid var(--brand-line);
}
.tag-soon { color: var(--gold); background: var(--gold-soft); border-color: var(--gold-line); }
.cx-link { font-weight: 600; color: var(--brand-hi); }
.cx-link:hover { color: var(--text); }

/* The app's Collections tabs, as the page's own sub-menu */
.coll-tabs { display: flex; width: max-content; max-width: 100%; margin-bottom: clamp(32px, 5vw, 56px);
  border: 1px solid var(--a-line); border-radius: 16px; background: var(--a-card); overflow-x: auto; scrollbar-width: none; }
.coll-tabs::-webkit-scrollbar { display: none; }
.coll-tabs a { flex: none; padding: 12px 18px; border-left: 1px solid var(--a-line); font-size: 0.92rem; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.coll-tabs a:first-child { border-left: 0; }
.coll-tabs a:hover { color: var(--text); }
.coll-tabs a[aria-current="page"] { color: var(--a-gold-hi); background: var(--a-gold-fill); }
@media (max-width: 440px) { .coll-tabs { width: 100%; } .coll-tabs a { flex: 1 1 auto; padding: 11px 4px; font-size: 0.78rem; text-align: center; } }

/* Page hero: copy on the left, a working piece of the app on the right */
.cx-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + clamp(28px, 5vw, 64px)) 0 var(--section-py); }
.cx-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 52% at 76% 46%, rgba(240,198,102,0.10), transparent 70%),
    radial-gradient(40% 40% at 88% 86%, rgba(61,177,181,0.08), transparent 70%);
}
.cx-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.cx-hero h1 { font-size: clamp(2rem, 5.4vw, 3.15rem); line-height: 1.07; margin-bottom: 24px; }
.cx-hero h1 span { display: block; text-wrap: balance; }
.cx-hero .lead { font-size: clamp(1.08rem, 1.7vw, 1.25rem); line-height: 1.6; color: var(--text-2); max-width: 30em; }
.cx-hero .lead strong { color: var(--text); }
.cx-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 960px) { .cx-hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* A section's opening: eyebrow, title, one paragraph */
.cx-head { max-width: 40em; margin-bottom: clamp(36px, 5vw, 60px); }
.cx-head .section-sub { margin-top: 18px; }
.cx-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.cx-split.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.cx-split.flip > :first-child { order: 2; }
@media (max-width: 960px) { .cx-split, .cx-split.flip { grid-template-columns: minmax(0, 1fr); } .cx-split.flip > :first-child { order: 0; } }
.cx-copy .section-title { margin-bottom: 18px; }
.cx-copy > p:not(.eyebrow) { color: var(--text-2); font-size: 1.06rem; line-height: 1.7; max-width: 32em; }
.cx-copy > p + p, .cx-rules + p { margin-top: 14px; }
.cx-rules + p { margin-top: 20px; color: var(--text-3); }

/* Rules the feature keeps, with a gold check; the last one can be "coming" */
.cx-rules { display: grid; gap: 12px; margin-top: 26px; }
.cx-rules li { position: relative; padding-left: 32px; color: var(--text-2); line-height: 1.55; }
.cx-rules li strong { color: var(--text); font-weight: 600; }
.cx-rules li::before { content: ''; position: absolute; left: 2px; top: 0.2em; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--gold-line); background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.3l2.5 2.4 5-5.2' fill='none' stroke='%23f0c666' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.cx-rules li.soon::before { border-style: dashed; background: none; }

/* Three steps across, each with a drawn gold icon */
.cx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cx-steps li { padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.cx-steps svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(240,198,102,0.35)); }
.cx-steps h3 { margin: 16px 0 8px; font-family: var(--font-title); font-size: 1.16rem; letter-spacing: 0.01em; }
.cx-steps p { color: var(--text-2); font-size: 0.97rem; line-height: 1.6; }
@media (max-width: 860px) { .cx-steps { grid-template-columns: minmax(0, 1fr); } }

/* An app panel: one of the app's cards, at website size */
.ap { position: relative; border-radius: 26px; border: 1px solid var(--a-line);
  --text: var(--a-text); --text-2: var(--a-mist); --text-3: #7f8ca2; --gold: var(--a-gold);
  color: var(--text); font-family: 'Atkinson Hyperlegible', var(--font-body);
  background: radial-gradient(120% 60% at 50% 0%, #0a1424 0%, #070b13 65%);
  box-shadow: 0 40px 80px -34px rgba(0,0,0,0.9), 0 0 0 1px rgba(0,0,0,0.35); }
.ap-card { border-radius: 14px; border: 1px solid var(--a-line); background: var(--a-card); }
.ap-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; padding: 0 18px;
  border-radius: 12px; border: 1px solid var(--a-gold-line); background: var(--a-gold-fill); color: var(--a-gold-hi); font-weight: 700; font-size: 1rem;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease; }
.ap-btn:hover { background: rgba(243,201,105,0.16); border-color: rgba(243,201,105,0.8); color: var(--a-gold-hi); }
.ap-btn:active { transform: translateY(1px); }
.ap-btn svg { width: 18px; height: 18px; }
.ap-bar { display: block; height: 6px; border-radius: 6px; background: var(--a-track); overflow: hidden; }
.ap-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #c99a3a, #ffdf9e); transition: width .6s var(--ease); }
.ap-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--a-mist); }
.ap-head { font-family: var(--font-black); font-size: 1.375rem; line-height: 1.15; color: var(--a-gold); }
.ap-plain { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--a-line); background: var(--a-raised); font-weight: 700; font-size: 0.9rem; color: var(--a-text); }
.ap-save { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border-radius: 10px; background: #3fb3b5; color: #031a1c; font-weight: 700; font-size: 0.9rem; }
.pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--a-line); font-size: 0.72rem; color: var(--a-mist); white-space: nowrap; }
.pill.hot { border-color: var(--a-gold-line); color: #ffd27a; }
.ap-note { margin-top: 14px; font-size: 0.82rem; color: var(--text-3); text-align: center; }

/* A quiet, bordered aside: honest notes */
.cx-honest { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; max-width: 860px; margin: 0 auto;
  padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(240,198,102,0.05), transparent 60%), var(--surface); }
.cx-honest svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cx-honest h2 { font-family: var(--font-body); font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.cx-honest p { color: var(--text-2); line-height: 1.7; }
@media (max-width: 560px) { .cx-honest { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* The bridge back to the Watch: every shelf page ends here */
.cx-bridge { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(32px, 6vw, 64px); border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(70% 90% at 100% 50%, rgba(61,177,181,0.12), transparent 70%), var(--surface); }
.cx-bridge .section-title { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin-bottom: 16px; }
.cx-bridge p:not(.eyebrow) { color: var(--text-2); line-height: 1.7; max-width: 34em; }
.cx-bridge-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cx-bridge-list { display: grid; gap: 10px; }
.cx-bridge-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(5,6,11,0.5); }
.cx-bridge-list svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cx-bridge-list b { display: block; font-size: 0.97rem; font-weight: 600; color: var(--text); }
.cx-bridge-list span { display: block; font-size: 0.86rem; color: var(--text-3); }
@media (max-width: 860px) { .cx-bridge { grid-template-columns: minmax(0, 1fr); } }

/* Join, at the foot of each page */
.cx-join { max-width: 820px; margin: 0 auto; text-align: center;
  padding: clamp(44px, 7vw, 80px) clamp(16px, 5vw, 64px);
  border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(80% 70% at 50% 0%, rgba(240,198,102,0.10), transparent 70%), var(--surface); }
.cx-join .section-sub { margin: 18px auto 32px; }
.cx-join .wl { max-width: 500px; margin: 0 auto; text-align: left; }
.cx-join .wl-fine { text-align: center; }
@media (max-width: 480px) { .cx-join { padding-left: 12px; padding-right: 12px; } }

@media (prefers-reduced-motion: reduce) {
  .ap-bar i { transition: none; }
}


/* ============================================================
   FRAGRANCES — the atomizer, the assistant, the label lookup
   ============================================================ */

/* The atomizer: a bottle you can wear. Bottle and precision rail on the left, the app's numbers on the right. */
.atom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 18px; }
.atom-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 58px; align-items: stretch; align-self: start; height: 440px;
  border-radius: 16px; background: radial-gradient(70% 60% at 45% 62%, #1a2230, #0a0f17 75%); overflow: hidden; }
.atom-svg { width: 100%; height: 100%; max-height: 380px; align-self: center; }
.atom-liqg { transition: transform .7s var(--ease); }
.atom-head { transition: transform .09s ease-out; }
.atom-head.press { transform: translateY(3.5px); }
.atom-mist circle, .atom-mist ellipse { opacity: 0; transform-box: fill-box; transform-origin: center; }
.atom-mist circle { fill: #fff8e6; }
.atom-mist ellipse { transform-origin: left center; }
.atom-mist.go ellipse { animation: plume 1s ease-out forwards; }
.atom-mist.go circle { animation: mist 1s ease-out forwards; }
.atom-mist circle:nth-child(2) { animation-delay: .03s; } .atom-mist circle:nth-child(3) { animation-delay: .06s; }
.atom-mist circle:nth-child(4) { animation-delay: .09s; } .atom-mist circle:nth-child(5) { animation-delay: .12s; }
.atom-mist circle:nth-child(6) { animation-delay: .15s; } .atom-mist circle:nth-child(7) { animation-delay: .18s; }
.atom-mist circle:nth-child(8) { animation-delay: .21s; } .atom-mist circle:nth-child(9) { animation-delay: .24s; } .atom-mist circle:nth-child(10) { animation-delay: .1s; }
@keyframes mist {
  0%   { opacity: 0; transform: translate(0, 0) scale(.5); }
  12%  { opacity: .75; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.8); }
}
@keyframes plume {
  0%   { opacity: 0; transform: scale(.25, .3); }
  18%  { opacity: .85; }
  100% { opacity: 0; transform: translate(14px, -3px) scale(2.4, 1.9); }
}

/* The precision rail: ticks every half millilitre, scrolling past a fixed pointer, so one wear is a visible step */
.atom-rail { position: relative; border-left: 1px solid rgba(61,177,181,0.22); background: linear-gradient(90deg, rgba(61,177,181,0.06), transparent); }
.atom-scale { position: absolute; inset: 34px 0 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); }
.atom-ticks { position: absolute; left: 0; right: 0; top: calc(50% - 17px); transition: transform .7s var(--ease); will-change: transform; }
.atom-ticks span { position: absolute; left: 0; height: 1px; width: 10px; background: rgba(92,197,200,0.45); }
.atom-ticks span.major { width: 18px; background: rgba(92,197,200,0.85); }
.atom-ticks span b { position: absolute; left: 24px; top: -0.62em; font-size: 0.72rem; font-weight: 600; line-height: 1.2; color: rgba(150,162,180,0.9); font-variant-numeric: tabular-nums; }
.atom-pointer { position: absolute; left: -1px; right: 4px; top: calc(50% + 17px); height: 0; border-top: 1px solid var(--gold); filter: drop-shadow(0 0 4px var(--a-gold-line)); }
.atom-pointer::before { content: ''; position: absolute; left: -5px; top: -5px; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold); }
.atom-unit { position: absolute; top: 12px; left: 0; right: 0; text-align: center; text-transform: lowercase; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; color: var(--text-3); }

.atom-read { display: flex; flex-direction: column; padding: 10px 8px 4px 18px; }
.atom-name { font-size: 1.45rem; font-weight: 700; line-height: 1.2; }
.atom-house { color: var(--text-2); font-size: 0.98rem; }
.atom-stats { margin: 16px 0 16px; border-top: 1px solid var(--a-line); }
.atom-stats div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--a-line); }
.atom-stats dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.atom-stats dd { font-size: 1.3rem; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1.25; }
.atom-stats .tick { animation: ddtick .7s ease-out; }
@keyframes ddtick { 0% { color: #fff3d0; text-shadow: 0 0 14px rgba(240,198,102,0.9); } 100% { color: inherit; text-shadow: none; } }
.atom-stats dd small { font-size: 0.72rem; font-weight: 600; color: var(--text-2); margin-left: 2px; }
.atom-pct { display: flex; justify-content: space-between; gap: 10px; margin: 8px 0 14px; font-size: 0.92rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.atom-rate { margin-top: 14px; font-size: 0.86rem; line-height: 1.5; color: var(--text-2); }
.atom-rate b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.atom-ctrl { display: grid; gap: 12px; margin-top: 14px; }
.atom-spw { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.9rem; color: var(--text-2); }
.atom-spw input { width: 64px; min-height: 38px; padding: 0 8px; border-radius: 10px; border: 1.5px solid var(--a-line); background: var(--a-raised); color: var(--text); font-weight: 700; text-align: center; }
.atom-full { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; font-size: 0.9rem; color: var(--text-2); }
.atom-full output { font-weight: 700; color: var(--a-gold); font-variant-numeric: tabular-nums; }
.atom-full input { grid-column: 1 / -1; width: 100%; accent-color: var(--a-gold); }
.atom-log { min-height: 2.9em; margin-top: 12px; font-size: 0.86rem; line-height: 1.45; color: var(--text-3); }
.atom-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.atom-reset { font-size: 0.82rem; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.atom-reset:hover { color: var(--text-2); }
html:not(.js) .atom-js { display: none; }
@media (max-width: 1100px) and (min-width: 961px) { .atom { grid-template-columns: minmax(0, 1fr); } .atom-stage { height: 340px; } }
@media (max-width: 620px) {
  .atom { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .atom-stage { height: 320px; }
  .atom-read { padding: 14px 6px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .atom-liqg, .atom-ticks { transition: none; }
  .atom-stats .tick { animation: none; }
  .atom-mist.go circle, .atom-mist.go ellipse { animation: none; }
}

/* The fragrance assistant: one ask, one pick from your own shelf */
.fa { padding: 22px; }
.fa-ask { pointer-events: none; }
.fa-ask svg { fill: var(--a-gold-hi); }
.fa-q { width: fit-content; max-width: 80%; margin: 18px 0 0 auto; padding: 11px 16px; border-radius: 18px 18px 6px 18px;
  background: #13324a; color: var(--text); font-size: 0.97rem; }
.fa-a { margin-top: 12px; padding: 16px; }
.fa-pick { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; }
.fa-img { display: grid; place-items: center; aspect-ratio: 1 / 1.1; border-radius: 14px; background: radial-gradient(70% 60% at 50% 70%, #1a2230, #0a0f17); }
.fa-img svg { height: 84%; width: auto; }
.fa-tagline { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.fa-name { margin-top: 2px; font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.fa-house { font-size: 0.9rem; color: var(--text-2); }
.fa-why { margin-top: 14px; color: var(--text-2); font-size: 0.95rem; line-height: 1.6; }
@media (max-width: 480px) {
  .fa { padding: 14px; }
  .fa-pick { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
    }

/* Look it up: the photo, cut out, and the card that fills itself */
.lk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 18px; }
.lk-cut { position: relative; min-height: 380px; border-radius: 20px; overflow: hidden; touch-action: pan-y; }
.lk-cut svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lk-cut .lk-after { clip-path: inset(0 0 0 var(--cut, 50%)); }
.lk-cut input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.lk-handle { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 2px; margin-left: -1px; background: var(--gold); pointer-events: none;
  box-shadow: 0 0 10px rgba(240,198,102,0.8); }
.lk-handle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  border: 1.5px solid var(--gold); background: rgba(5,6,11,0.8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M12 10l-5 5 5 5M18 10l5 5-5 5' fill='none' stroke='%23f0c666' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 30px no-repeat; }
.lk-cut input:focus-visible ~ .lk-handle::after { box-shadow: 0 0 0 3px var(--brand); }
.lk-tag { position: absolute; bottom: 12px; padding: 5px 10px; border-radius: 99px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; pointer-events: none;
  background: rgba(5,6,11,0.72); color: var(--text-2); border: 1px solid var(--line-strong); }
.lk-tag-a { left: 12px; } .lk-tag-b { right: 12px; color: var(--gold); border-color: var(--gold-line); }
html:not(.js) .lk-handle, html:not(.js) .lk-cut input { display: none; }
.lk-card { padding: 20px; display: flex; flex-direction: column; }
.lk-name { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.lk-house { color: var(--text-2); font-size: 0.95rem; }
.lk-rows { margin-top: 16px; display: grid; gap: 12px; }
.lk-rows div { padding-top: 12px; border-top: 1px solid var(--a-line); }
.lk-rows dt { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.lk-rows dd { margin-top: 4px; font-size: 0.95rem; line-height: 1.5; color: var(--text); }
.lk-rows dd i { font-style: normal; color: var(--text-3); }
.lk-notes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lk-notes span { padding: 4px 10px; border-radius: 99px; font-size: 0.8rem; border: 1px solid var(--a-line); color: var(--text-2); }
.lk-notes span.top { border-color: rgba(92,197,200,0.45); color: #bfe9ea; }
.lk-notes span.heart { border-color: rgba(240,198,102,0.5); color: var(--a-gold-hi); }
.lk-notes span.base { border-color: rgba(228,114,60,0.5); color: #f5c3a6; }
.lk-dig { margin-top: 16px; }
.lk-dig svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.lk-reviews { margin-top: 12px; display: grid; gap: 8px; }
.lk-reviews li { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.025); border: 1px solid var(--a-line); font-size: 0.9rem; line-height: 1.5; color: var(--text-2); }
.lk-reviews li::before { content: '\201C'; color: var(--gold); margin-right: 2px; }
.lk-reviews li::after { content: '\201D'; color: var(--gold); margin-left: 1px; }
@media (max-width: 720px) { .lk { grid-template-columns: minmax(0, 1fr); padding: 12px; } .lk-cut { min-height: 0; aspect-ratio: 1 / 1.05; } }


/* ============================================================
   GAMES — the Quest Log: the Hall, a guide, the Warden, the shelf
   ============================================================ */
html:not(.js) .js-only { display: none; }

/* The Quest Log's top and its Hall of Trophies, as the app shows them */
.ql { padding: 22px 22px 24px; overflow: hidden; }
.ql-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 12px; }
.ql-title { font-family: var(--font-black); font-size: 2.1rem; line-height: 1.05; color: var(--text); }
.ql-gt { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.92rem; font-weight: 600; }
.ql-g { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; font-size: 0.66rem; font-weight: 800; color: #2a1c06; background: linear-gradient(140deg, #f7da94, #c99a45); }
.ql-gt b { color: var(--gold); font-variant-numeric: tabular-nums; }
.ql-sync { flex: none; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--a-line); font-size: 0.8rem; color: var(--text-2); white-space: nowrap; }
.ql-hall { margin: 20px -22px 0; padding: 18px 22px 8px; border-top: 1px solid rgba(240,198,102,0.22);
  background: linear-gradient(180deg, rgba(240,198,102,0.09), rgba(240,198,102,0.02) 70%, transparent); }
.ql-hall-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.ql-hall-head span { font-family: var(--font-title); font-size: 1.02rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.ql-hall-head small { font-size: 0.8rem; color: var(--text-2); }
.ql-plaques { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.plq { text-align: center; }
.plq-art { position: relative; aspect-ratio: 3 / 4; padding: 3px; border-radius: 10px;
  background: linear-gradient(140deg, #8a6428, #f3d27a 40%, #b98a3b 70%, #f7da94);
  box-shadow: 0 14px 30px -12px rgba(240,198,102,0.45), 0 0 0 1px rgba(0,0,0,0.4); }
.plq-art svg { display: block; width: 100%; height: 100%; border-radius: 7px; }
.plq-art::after { content: ''; position: absolute; inset: 3px; border-radius: 7px; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,244,214,0.32) 50%, transparent 58%) 160% 0 / 260% 100% no-repeat;
  animation: sheen 7s ease-in-out infinite; }
.plq:nth-child(2) .plq-art::after { animation-delay: 1.2s; }
.plq:nth-child(3) .plq-art::after { animation-delay: 2.4s; }
@keyframes sheen { 0%, 62% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
.plq-medal { position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fbe6ad, #d6a64e 55%, #8a6428); box-shadow: 0 4px 10px rgba(0,0,0,0.5), 0 0 0 2px #0a0c10; }
.plq-medal svg { width: 60%; height: 60%; }
.plq-name { margin-top: 8px; font-size: 0.86rem; font-weight: 600; line-height: 1.25; }
.plq-date { margin-top: 2px; font-size: 0.76rem; color: var(--text-3); }
.ql-quest { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--a-line); }
.ql-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 12px; }
.cov { display: block; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; box-shadow: 0 6px 14px -6px rgba(0,0,0,0.8); }
.cov svg { display: block; width: 100%; height: 100%; }
.ql-row b { font-size: 1.02rem; font-weight: 700; }
.chip-guide { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; font-size: 0.72rem; font-weight: 600; vertical-align: 2px;
  border: 1px solid var(--a-gold-line); color: var(--a-gold-hi); }
.ql-row p { margin: 2px 0 8px; font-size: 0.84rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.ql-row .ap-bar { height: 6px; }
@media (max-width: 480px) {
  .ql { padding: 18px 16px 20px; }
  .ql-hall { margin: 18px -16px 0; padding: 16px 16px 6px; }
  .ql-title { font-size: 1.75rem; }
  .ql-sync { padding: 6px 9px; font-size: 0.72rem; }
  .ql-plaques { gap: 10px; }
  .plq-name { font-size: 0.78rem; }
  .plq-date { font-size: 0.7rem; }
}

/* A game page: its Guide, with boxes a sync can tick */
.gd { padding: 20px; }
.gd-head { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; }
.gd-name { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.gd-meta { margin: 3px 0 9px; font-size: 0.86rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.gd-tabs { display: flex; margin-top: 18px; border-bottom: 1px solid var(--a-line); }
.gd-tabs span { padding: 10px 14px; margin-bottom: -1px; font-size: 0.92rem; font-weight: 500; color: var(--text-3); border-bottom: 2px solid transparent; }
.gd-tabs span.on { color: var(--gold); border-color: var(--gold); }
.gd-chapter { margin: 18px 0 2px; }
.gd-steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--a-line); }
.gd-box { position: relative; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 1.5px solid #33445a; transition: background-color .3s ease, border-color .3s ease; }
.gd-steps li.done .gd-box { border-color: var(--gold); background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.3l3.2 3.1 6.6-6.8' fill='none' stroke='%232a1c06' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.gd-steps li.just .gd-box { animation: boxpop .55s var(--ease); }
@keyframes boxpop { 0% { transform: scale(.6); box-shadow: 0 0 0 0 var(--a-gold-line); } 60% { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(240,198,102,0); } 100% { transform: none; } }
.gd-steps b { display: block; font-size: 0.97rem; font-weight: 600; line-height: 1.4; transition: color .3s ease; }
.gd-steps li.done b { color: var(--text-2); }
.gd-steps small { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 5px; font-size: 0.8rem; color: var(--text-3); }
.gd-ach { color: var(--gold); font-weight: 600; }
.gd-two { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-hi); }
.gd-two svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gd-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.gd-toast { min-height: 1.5em; margin-top: 12px; font-size: 0.86rem; color: var(--text-2); }
@media (prefers-reduced-motion: reduce) { .gd-steps li.just .gd-box { animation: none; } .plq-art::after { animation: none; } }

/* Ask the Warden */
.wd { padding: 20px; }
.wd-head { display: flex; align-items: center; gap: 14px; }
.wd-sigil { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold-line);
  background: radial-gradient(circle, rgba(61,177,181,0.2), transparent 70%); }
.wd-sigil svg, .wd-mic svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wd-name { font-size: 1.08rem; font-weight: 700; }
.wd-sub { font-size: 0.84rem; color: var(--text-3); }
.wd-mic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; border: 1px solid var(--a-gold-line); background: var(--a-gold-fill); }
.wd-a { margin-top: 12px; padding: 16px; }
.wd-a > p { font-size: 0.97rem; line-height: 1.6; }
.wd-plan { display: grid; gap: 8px; margin-top: 12px; }
.wd-plan li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--a-line); background: rgba(255,255,255,0.025);
  font-size: 0.92rem; line-height: 1.5; color: var(--text-2); }
.wd-plan li span { font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.wd-sum { margin-top: 12px; font-size: 0.9rem; color: var(--text-2); }
.wd-sum b { color: var(--gold); }

/* The Games shelf: a universe search, Want / Playing / Played, a score */
.sh { padding: 20px; }
.sh-search { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 8px 0 14px; border-radius: 14px; border: 1px solid var(--a-line); background: var(--a-card); }
.sh-search svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--text-3); stroke-width: 1.8; stroke-linecap: round; }
.sh-q { flex: 1; color: var(--text); }
.sh-uni { margin: 16px 0 4px; font-size: 0.84rem; color: var(--text-3); }
.sh-uni b { color: var(--text); font-weight: 600; }
.sh-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 8px 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--a-line); }
.sh-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.sh-list .cov { grid-row: span 2; }
.sh-t b { display: block; font-size: 0.97rem; font-weight: 600; line-height: 1.3; }
.sh-t small { font-size: 0.8rem; color: var(--text-3); }
.sh-score { font: 600 1.4rem var(--font-serif); color: var(--gold); text-align: right; font-variant-numeric: tabular-nums; }
.sh-score.none { color: var(--text-3); }
.sh-state { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.sh-state button { padding: 5px 12px; border-radius: 99px; border: 1px solid var(--a-line); font-size: 0.8rem; font-weight: 500; color: var(--text-2); transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.sh-state button:hover { color: var(--text); border-color: #33445a; }
.sh-state button[aria-pressed="true"] { border-color: var(--a-gold-line); background: var(--a-gold-fill); color: var(--a-gold-hi); }

/* Two short notes side by side */
.cx-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cx-notes .cx-honest { max-width: none; margin: 0; }
@media (max-width: 860px) { .cx-notes { grid-template-columns: minmax(0, 1fr); } }


/* ============================================================
   MOVIES & TV — the ranked shelf, Up Next, picks, look-up, talk
   ============================================================ */
.pst { display: block; aspect-ratio: 2 / 3; border-radius: 5px; overflow: hidden; background: var(--a-card);
  box-shadow: 0 6px 14px -6px rgba(0,0,0,0.85), inset 0 0 0 1px rgba(255,255,255,0.06); }
.pst svg, .pst img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* The ranked shelf: "Your ranking", a poster grid with round rank badges */
.mv { padding: 20px; }
.mv-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mv-title { font-family: var(--font-black); font-size: 2.05rem; line-height: 1.05; color: var(--gold); }
.mv-count { font-size: 0.84rem; color: var(--text-3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { padding: 6px 13px; border-radius: 99px; border: 1px solid var(--a-line); font-size: 0.84rem; font-weight: 500; color: var(--text-2);
  transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.chips button:hover { color: var(--text); border-color: #33445a; }
.chips button[aria-pressed="true"] { border-color: var(--a-gold-line); background: var(--a-gold-fill); color: var(--a-gold-hi); }
.mv .chips { margin: 14px 0 0; }
.mv-head { margin: 18px 0 12px; }
.mv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 12px; }
.mv-grid li { position: relative; min-width: 0; }
.mv-grid .pst { border-radius: 10px; box-shadow: 0 12px 22px -12px rgba(0,0,0,0.95); }
.mv-grid li.mv-me .pst { box-shadow: 0 0 0 2px var(--a-gold), 0 12px 22px -12px rgba(0,0,0,0.95); }
.mv-n { position: absolute; top: 6px; left: 6px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px;
  background: rgba(5,8,14,0.86); border: 1px solid var(--a-gold-line); font-size: 0.75rem; font-weight: 700; color: var(--a-gold-hi); font-variant-numeric: tabular-nums; }
.mv-grid b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; font-size: 0.86rem; font-weight: 700; line-height: 1.25; }
.mv-grid small { display: block; margin-top: 2px; font-size: 0.76rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.mv-sheet { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: var(--a-raised); border: 1px solid var(--a-line); }
.mv-sheet .pst { border-radius: 6px; }
.mv-sheet b { font-weight: 700; } .mv-sheet small { margin-left: 8px; font-size: 0.8rem; color: var(--text-2); }
.mv-sheet label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.mv-sheet label span { letter-spacing: 0; text-transform: none; font-size: 0.86rem; font-weight: 400; }
.mv-sheet output { font-weight: 700; color: var(--a-gold); font-variant-numeric: tabular-nums; }
.mv-sheet input { flex: 1 1 120px; min-width: 0; accent-color: var(--a-gold); }
@media (max-width: 480px) { .mv { padding: 16px; } .mv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; } .chips button { padding: 5px 10px; font-size: 0.8rem; } }

/* Up next: three text tiles; Want to watch is a poster grid; a title's sheet moves it */
.un { padding: 20px; }
.un-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.un-slots li { min-width: 0; display: flex; }
.un-tile { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 76px; padding: 10px 12px; border-radius: 12px; text-align: left;
  border: 1px solid var(--a-line); background: var(--a-raised); }
button.un-tile:hover { border-color: #33445a; }
.un-tile b { font-size: 0.88rem; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; hyphens: auto; }
.un-tile small { margin-top: 3px; font-size: 0.76rem; color: var(--text-2); }
.un-tile.empty { align-items: center; border-style: dashed; background: none; font-size: 0.82rem; color: var(--text-3); text-align: center; }
.un-h { margin: 20px 0 10px; }
.un-h small { font-family: 'Atkinson Hyperlegible', var(--font-body); font-size: 0.8rem; color: var(--text-2); }
.un-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.un-poster { display: block; width: 100%; text-align: left; }
.un-poster .pst { border-radius: 10px; box-shadow: 0 12px 22px -12px rgba(0,0,0,0.95); transition: transform .15s ease; }
.un-poster:hover .pst { transform: translateY(-2px); }
.un-poster b { display: block; margin-top: 7px; font-size: 0.84rem; font-weight: 700; line-height: 1.25; }
.un-sheet { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--a-raised); border: 1px solid var(--a-line); }
.un-sheet[hidden] { display: none; }
.un-sheet .pst { border-radius: 6px; }
.un-sheet b { display: block; font-weight: 700; } .un-sheet small { font-size: 0.8rem; color: var(--text-2); }
.un-sheet .ap-btn { width: auto; min-height: 40px; margin-top: 8px; font-size: 0.88rem; }
.un-msg { min-height: 1.5em; margin-top: 10px; font-size: 0.86rem; color: var(--text-2); }
.un-msg:empty { min-height: 0; margin: 0; }
.un-rows li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--a-line); font-size: 0.92rem; }
.un-rows li:last-child { border-bottom: 0; }
.un-rows small { color: var(--text-2); }

/* The assistant's three picks */
.mp { padding: 20px; }
.mp-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.mp-pick { display: flex; flex-direction: column; min-width: 0; }
.mp-pick .pst { border-radius: 10px; }
.mp-name { margin-top: 9px; font-size: 0.88rem; font-weight: 600; line-height: 1.3; }
.mp-meta { font-size: 0.76rem; color: var(--text-3); margin-bottom: 10px; }
.mp-add { margin-top: auto; min-height: 38px; padding: 0 6px; border-radius: 10px; font-size: 0.8rem; }
.mp-add[aria-pressed="true"] { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold); }

/* Look it up */
.ml { padding: 20px; }
.ml-res { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; margin-top: 14px; padding: 16px; }
.ml-res .pst { border-radius: 8px; }
.ml-name { font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.ml .lk-rows { margin-top: 10px; gap: 9px; }
.ml .lk-rows div { padding-top: 9px; }
.ml-btns { display: flex; gap: 8px; margin-top: 14px; }
.ml-choose { margin-top: 14px; }
.ml-pick { margin-bottom: 10px; font-size: 0.88rem; color: var(--text-2); }
.ml-opts { display: flex; align-items: flex-end; gap: 10px; }
.ml-save { margin-left: auto; }
@media (max-width: 420px) { .ml-res { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 14px; } }

/* Talk it through */
.tk { padding: 20px; }
.tk-msgs { display: grid; gap: 8px; }
.tk-bot, .tk-me { width: fit-content; max-width: 84%; padding: 10px 14px; font-size: 0.94rem; line-height: 1.5; }
.tk-bot { border-radius: 18px 18px 18px 6px; background: #121b27; border: 1px solid var(--a-line); }
.tk-me { margin-left: auto; border-radius: 18px 18px 6px 18px; background: #13324a; }
.tk-notes { margin-top: 16px; padding: 16px 18px; }
.tk-notes .ap-label { color: var(--a-gold); }
.tk-notes ul { display: grid; gap: 6px; margin: 8px 0 14px; }
.tk-notes ul:last-child { margin-bottom: 0; }
.tk-notes li { position: relative; padding-left: 20px; font-size: 0.94rem; line-height: 1.5; color: var(--text); }
.tk-notes li::before { content: ''; position: absolute; left: 3px; top: 0.6em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }


/* ============================================================
   THE OVERVIEW — the four doors, and Collectibles in full
   ============================================================ */
.cx-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 24px 64px; align-items: end; }
.cx-intro h1 { margin-bottom: 0; }
.cx-intro .lead { margin-bottom: 6px; }
@media (max-width: 860px) { .cx-intro { grid-template-columns: minmax(0, 1fr); } }

.ci { padding: 20px; }
.ci-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ci-title { font-family: var(--font-black); font-size: 2.05rem; line-height: 1.05; color: var(--gold); }
.ci-add { width: auto; min-height: 42px; border-radius: 99px; font-size: 0.92rem; pointer-events: none; }
.ci-sel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 10px; margin-top: 16px; }
.ci-sel span { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--a-line); background: var(--a-card); font-size: 0.92rem; white-space: nowrap; }
.ci-sel span::after { content: ''; width: 7px; height: 7px; margin: -4px 2px 0 10px; border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2); transform: rotate(45deg); }
.ci-sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; font-size: 0.92rem; color: var(--text-2); }
.ci-sum b { font-size: 1.12rem; color: var(--gold); }
.ci-checked { margin-top: 4px; font-size: 0.8rem; color: var(--text-3); }
.ci-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.ci-card { min-width: 0; }
.ci-img { aspect-ratio: 1; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); }
.ci-img svg { display: block; width: 100%; height: 100%; }
.ci-name { margin-top: 10px; font-size: 0.95rem; font-weight: 700; line-height: 1.3; }
.ci-cat { margin-top: 2px; font-size: 0.8rem; color: var(--text-3); line-height: 1.4; }
.ci-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
@media (max-width: 420px) { .ci { padding: 16px; } .ci-title { font-size: 1.75rem; } .ci-grid { gap: 10px; } .ci-sel span { font-size: 0.84rem; padding: 0 11px; } }

/* ── 2026-11-07, matched to the app's source ── */
.fa-new { margin-top: 10px; padding: 14px 16px; }
.fa-new .fa-name { font-size: 1.05rem; }
.ql-sync { display: inline-flex; align-items: center; gap: 6px; }
.ql-sync svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
button.ql-sync { border: 1.5px solid var(--a-line); background: var(--a-raised); font-weight: 700; color: var(--text); padding: 9px 14px; font-size: 0.86rem; }
button.ql-sync:hover { border-color: #33445a; }
.gd-one { color: var(--text-3); }
.gd-src { margin-top: 10px; font-size: 0.8rem; color: var(--text-3); }
.plq-name { margin-top: 24px; }
.sh-uni .pill { margin-left: 6px; vertical-align: 1px; }
.ml-opts [data-art] { width: 56px; padding: 0; border-radius: 7px; transition: box-shadow .15s ease, transform .15s ease; }
.ml-opts [data-art][aria-pressed="true"] { box-shadow: 0 0 0 2px var(--a-gold), 0 0 14px rgba(243,201,105,0.45); }
.ml-opts [data-art]:hover { transform: translateY(-2px); }
.ci-miss { margin-top: 10px; }
.ci-ready { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 14px; padding: 10px 34px 10px 14px; border-radius: 12px;
  background: var(--a-gold-fill); border: 1px solid var(--a-gold-line); font-size: 0.84rem; color: var(--text-2); }
.ci-ready b { color: var(--a-gold-hi); }
.ci-ready svg { width: 15px; height: 15px; fill: none; stroke: #ffd27a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ci-ready::after { content: ''; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 1.5px solid var(--a-gold-hi); border-bottom: 1.5px solid var(--a-gold-hi); transform: rotate(45deg); }
.ci-chips span { padding: 3px 10px; border-radius: 99px; font-size: 0.72rem; border: 1px solid var(--a-line); color: var(--a-mist); }
.ci-chips .hot { border-color: var(--a-gold-line); color: #ffd27a; }
.fa-mode { margin-top: 12px; }
.fa-wear { margin-top: 14px; }
.fa-wear:disabled { cursor: default; color: var(--a-gold-hi); }
.fa-img2 { display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8%; }
.fa-img2 svg { height: 66%; }
.fa-img2 svg + svg { margin-left: -16%; }
.sh-menus { margin-top: 10px; }
.sh-uni { display: flex; align-items: center; gap: 10px; margin: 16px 0 2px; }
.sh-uni > div { flex: 1; min-width: 0; }
.sh-uni b { display: block; font-weight: 700; }
.sh-uni small { font-size: 0.8rem; color: var(--text-3); }
.sh-uni .pill { margin-left: 0; }
.sh-group { margin-top: 16px; }
@media (max-width: 480px) { .sh-state button { padding: 4px 9px; font-size: 0.76rem; } }
