/* ==========================================================================
   Watch Outside US — "Neon Prime Time"
   Deep-night purple, neon pink / cyan / yellow, marquee type, bulb accents.
   ========================================================================== */

:root {
  --bg: #0b0518;
  --bg-2: #120a24;
  --bg-3: #1a0f31;
  --card: #180d2d;
  --card-2: #1f1238;
  --ink: #f7f2ff;
  --ink-2: #d9cff0;
  --dim: #a495c4;
  --faint: #7d6f9c;
  --line: #2c1b4a;
  --line-2: #3b2560;
  --pink: #ff2d95;
  --pink-soft: rgba(255, 45, 149, 0.16);
  --cyan: #22e0ff;
  --cyan-soft: rgba(34, 224, 255, 0.14);
  --yellow: #ffd23f;
  --yellow-soft: rgba(255, 210, 63, 0.15);
  --green: #35ffa8;
  --green-soft: rgba(53, 255, 168, 0.14);
  --red: #ff5d5d;
  --violet: #a078ff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.85);
  --glow-pink: 0 0 0 1px rgba(255, 45, 149, 0.5), 0 0 24px -6px rgba(255, 45, 149, 0.55);
  --glow-cyan: 0 0 0 1px rgba(34, 224, 255, 0.45), 0 0 26px -8px rgba(34, 224, 255, 0.5);
  --maxw: 1200px;
  --head-h: 64px;
  --font-display: 'Bungee', 'Arial Black', system-ui, sans-serif;
  --font-ui: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

@font-face {
  font-family: 'Bungee';
  src: url('/assets/fonts/bungee.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: 'Outfit';
  src: url('/assets/fonts/outfit.woff2') format('woff2');
  font-display: swap;
  font-weight: 300 800;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }

body {
  margin: 0;
  background:
    radial-gradient(1200px 620px at 15% -10%, rgba(255, 45, 149, 0.16), transparent 60%),
    radial-gradient(900px 520px at 88% 4%, rgba(34, 224, 255, 0.14), transparent 62%),
    radial-gradient(800px 600px at 50% 100%, rgba(160, 120, 255, 0.12), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--cyan); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--pink); text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: 0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.85rem); }
h3 { font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
strong { color: #fff; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; background: rgba(255,255,255,0.07); padding: 0.1em 0.35em; border-radius: 4px; }

.wrap { width: min(100% - 36px, var(--maxw)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: var(--pink); color: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, rgba(11, 5, 24, 0.96), rgba(11, 5, 24, 0.86));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  isolation: isolate;
}
.head-inner { display: flex; align-items: center; gap: 14px; min-height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--pink), var(--violet) 55%, var(--cyan));
  color: #fff; box-shadow: var(--glow-pink);
}
.brand-mark .icon { width: 21px; height: 21px; }
.brand-txt { font-family: var(--font-display); font-size: 0.92rem; letter-spacing: 0.02em; white-space: nowrap; }
.brand-txt span { color: var(--yellow); }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; flex: 1 1 auto; min-width: 0; }
.nav-direct, .nav-drop > summary {
  font-family: var(--font-ui); font-weight: 600; font-size: 0.9rem; color: var(--ink-2);
  padding: 8px 11px; border-radius: 9px; cursor: pointer; list-style: none; white-space: nowrap;
  border: 1px solid transparent;
}
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-direct:hover, .nav-drop > summary:hover { color: #fff; background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.nav-direct[data-active='true'], .nav-drop > summary[data-active='true'] {
  color: #fff; background: var(--pink-soft); border-color: rgba(255, 45, 149, 0.45);
}
.nav-cta {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 0.86rem; color: #1a0016; white-space: nowrap;
  background: linear-gradient(135deg, var(--yellow), var(--pink));
  padding: 9px 14px; border-radius: 999px; box-shadow: 0 8px 18px -8px var(--pink);
}
.nav-cta:hover { color: #1a0016; text-decoration: none; filter: brightness(1.08); }
.nav-cta .icon { width: 16px; height: 16px; }

.nav-drop { position: relative; }
.drop-panel {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 70;
  display: grid; gap: 22px; padding: 20px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow);
  min-width: min(880px, calc(100vw - 40px));
}
.drop-panel.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 440px; }
.drop-panel.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 660px; }
.drop-panel.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); min-width: 860px; }
.nav-drop:nth-of-type(3) .drop-panel, .nav-drop:nth-of-type(4) .drop-panel { right: 0; left: auto; }
.drop-head { font-family: var(--font-display); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink); margin: 0 0 8px; }
.drop-link { display: flex; gap: 9px; align-items: flex-start; padding: 6px 8px; border-radius: 9px; color: var(--ink-2); }
.drop-link:hover { background: rgba(255, 255, 255, 0.06); color: #fff; text-decoration: none; }
.drop-ic { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; color: var(--cyan); }
.drop-t { display: block; font-weight: 600; font-size: 0.88rem; line-height: 1.3; }
.drop-note { display: block; font-size: 0.74rem; color: var(--faint); line-height: 1.35; margin-top: 2px; }

.head-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--ink-2); cursor: pointer;
}
.icon-btn:hover { color: #fff; border-color: var(--pink); text-decoration: none; }
.icon-btn .icon { width: 18px; height: 18px; }
.nav-burger-btn { display: none; }

/* ---------- drawer ---------- */
.drawer {
  position: fixed; inset: var(--head-h) 0 0 auto; width: min(360px, 90vw); z-index: 120;
  background: var(--bg-2); border-left: 1px solid var(--line-2);
  display: flex; flex-direction: column; overflow: hidden;
  animation: slideIn 0.22s ease-out;
}
.drawer[hidden] { display: none; }
@keyframes slideIn { from { transform: translateX(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--font-display); }
.drawer-body { overflow-y: auto; padding: 12px 16px 40px; overscroll-behavior: contain; }
.drawer-cta { display: grid; gap: 8px; margin-bottom: 14px; }
.drawer-group { border-bottom: 1px solid var(--line); padding: 6px 0; }
.drawer-group > summary { padding: 10px 4px; font-weight: 700; cursor: pointer; list-style: none; }
.drawer-group > summary::-webkit-details-marker { display: none; }
.drawer-head2, .drawer-head { color: var(--dim); }
.drawer-group .drawer-head { font-family: var(--font-display); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink); margin: 10px 4px 4px; }
.drawer-link { display: flex; gap: 9px; align-items: center; padding: 8px 4px; color: var(--ink-2); font-size: 0.92rem; }
.drawer-link:hover { color: #fff; text-decoration: none; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(4, 1, 12, 0.6); z-index: 110; }
.drawer-backdrop[hidden] { display: none; }
body.nav-open { overflow: hidden; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.95rem;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn .icon { width: 17px; height: 17px; }
.btn-primary { background: linear-gradient(135deg, var(--pink), var(--violet) 60%, var(--cyan)); color: #100018; box-shadow: 0 10px 26px -12px var(--pink); }
.btn-primary:hover { color: #100018; filter: brightness(1.08); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--cyan); color: #fff; }
.btn-sm { padding: 8px 13px; font-size: 0.82rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 5vw, 60px) 0 clamp(20px, 3vw, 34px); position: relative; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: center; }
.kicker {
  font-family: var(--font-ui); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--yellow); margin: 0 0 12px;
}
.hero h1 em { font-style: normal; color: var(--pink); text-shadow: 0 0 26px rgba(255, 45, 149, 0.5); }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--ink-2); max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-art { display: grid; place-items: center; min-height: 190px; }
.tv-screen {
  display: grid; place-items: center; width: 260px; height: 168px; border-radius: 18px;
  background: linear-gradient(160deg, var(--card-2), var(--bg-3));
  border: 2px solid var(--line-2); box-shadow: var(--glow-cyan), inset 0 0 40px rgba(34, 224, 255, 0.12);
  position: relative; overflow: hidden;
}
.tv-screen::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 4px);
  opacity: 0.5;
}
.tv-inner { font-family: var(--font-display); font-size: 1.35rem; color: var(--pink); letter-spacing: 0.1em; text-shadow: 0 0 18px var(--pink); }
.bulb { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 12px var(--yellow); animation: blink 1.8s infinite; }
.bulb.b1 { top: -14px; left: 30px; }
.bulb.b2 { top: -14px; right: 40px; animation-delay: 0.6s; }
.bulb.b3 { bottom: -14px; left: 50%; animation-delay: 1.2s; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .bulb { animation: none; } html { scroll-behavior: auto; } }

/* ---------- finder ---------- */
.finder { padding: 0 0 8px; }
.finder-form {
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line-2); border-radius: 18px; padding: 18px; box-shadow: var(--shadow);
  width: min(100% - 36px, var(--maxw)); margin-inline: auto;
}
.ff-row { display: grid; grid-template-columns: 2fr 1.3fr 1.3fr auto; gap: 12px; align-items: end; }
.ff-field { display: grid; gap: 6px; min-width: 0; }
.ff-field > span { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.ff-field input, .ff-field select {
  width: 100%; padding: 11px 12px; font-family: var(--font-ui); font-size: 0.95rem;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); border-radius: 10px;
}
.ff-field input:focus, .ff-field select:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
.ff-note { font-size: 0.76rem; color: var(--faint); margin: 10px 2px 0; }
.finder-out { width: min(100% - 36px, var(--maxw)); margin: 16px auto 0; }
.finder-out[hidden] { display: none; }
.fo-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.fo-head h2 { margin: 0; font-size: 1.1rem; }

/* ---------- sections ---------- */
.section { padding: clamp(26px, 4vw, 52px) 0; }
.section.tight { padding-top: 18px; }
.section.alt { background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0)); border-block: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.sec-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; }
.sec-more .icon { width: 15px; height: 15px; }
.sec-lede { color: var(--dim); max-width: 74ch; margin-top: -6px; }
.mt { margin-top: 26px; }
.fine { font-size: 0.82rem; color: var(--faint); }
.dim { color: var(--dim); }

/* ---------- cards ---------- */
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.tcard {
  background: linear-gradient(160deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.tcard:hover { border-color: rgba(255, 45, 149, 0.5); transform: translateY(-2px); }
.tcard-main { display: flex; gap: 12px; align-items: center; padding: 13px 14px; color: var(--ink); }
.tcard-main:hover { text-decoration: none; color: var(--ink); }
.tcard-link { display: flex; align-items: center; gap: 12px; padding: 14px; color: var(--ink); }
.tcard-logo { flex: 0 0 auto; }
.logo { border-radius: 10px; object-fit: contain; background: rgba(255, 255, 255, 0.06); padding: 4px; }
.logo-mono {
  display: inline-grid; place-items: center; font-family: var(--font-display); font-size: 0.9rem;
  color: var(--yellow); background: rgba(255, 255, 255, 0.06); border-radius: 10px; width: 40px; height: 40px;
}
.logo-24 { width: 24px; height: 24px; border-radius: 6px; padding: 2px; }
.logo-24.logo-mono { font-size: 0.6rem; }
.logo-48 { width: 48px; height: 48px; }
.logo-96 { width: 96px; height: 96px; }
.tcard-body { min-width: 0; display: grid; gap: 2px; }
.tcard-name { font-weight: 700; font-size: 1rem; }
.tcard-sub, .tcard-tag { font-size: 0.8rem; color: var(--dim); }
.tcard-tag { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tcard-score { margin-left: auto; flex: 0 0 auto; }
.tcard-badges { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 12px; }

.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.catcard {
  display: grid; gap: 3px; padding: 16px; color: var(--ink); border-radius: var(--radius);
  background: linear-gradient(150deg, var(--card-2), var(--card)); border: 1px solid var(--line);
}
.catcard:hover { border-color: var(--cyan); text-decoration: none; }
.cat-ic { color: var(--cyan); }
.cat-ic .icon { width: 24px; height: 24px; }
.cat-t { font-weight: 700; font-size: 1.02rem; margin-top: 4px; }
.cat-n { font-size: 0.74rem; color: var(--yellow); letter-spacing: 0.06em; text-transform: uppercase; }
.cat-b { font-size: 0.84rem; color: var(--dim); }

.kindgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.kindcard {
  display: flex; align-items: center; gap: 12px; padding: 14px; color: var(--ink);
  border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
}
.kindcard:hover { border-color: var(--pink); text-decoration: none; }
.kind-ic { color: var(--pink); }
.kind-ic .icon { width: 22px; height: 22px; }
.kind-t { display: block; font-weight: 700; }
.kind-n { display: block; font-size: 0.78rem; color: var(--dim); }

.solgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.solcard {
  display: grid; gap: 4px; padding: 16px; border-radius: var(--radius); color: var(--ink);
  background: linear-gradient(150deg, var(--card-2), var(--card)); border: 1px solid var(--line);
}
.solcard:hover { border-color: var(--yellow); text-decoration: none; }
.sol-kind { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--cyan); }
.sol-t { font-family: var(--font-display); font-size: 1rem; }
.sol-b { font-size: 0.84rem; color: var(--dim); }
.sol-p { font-weight: 700; color: var(--yellow); font-size: 0.86rem; }

.artgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.artcard {
  display: grid; gap: 5px; padding: 16px; border-radius: var(--radius); color: var(--ink);
  background: linear-gradient(150deg, var(--card), var(--card-2)); border: 1px solid var(--line);
}
.artcard:hover { border-color: var(--violet); text-decoration: none; }
.art-k { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--pink); }
.art-t { font-weight: 700; font-size: 1rem; }
.art-b { font-size: 0.84rem; color: var(--dim); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
table.grid { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.grid th, table.grid td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.grid thead th {
  font-family: var(--font-display); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dim); background: rgba(255, 255, 255, 0.04); white-space: nowrap;
}
table.grid tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
table.grid tr:last-child td { border-bottom: 0; }
table.grid .c-name a { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
table.grid .c-name a:hover { color: var(--pink); text-decoration: none; }
.c-rank { width: 42px; color: var(--faint); text-align: center !important; }
.c-score, .c-num { text-align: right !important; }
.c-price, .c-kind, .c-diff { white-space: nowrap; color: var(--dim); }
table.simple th { color: var(--ink-2); font-family: var(--font-ui); font-size: 0.8rem; text-transform: none; letter-spacing: 0; }
table.facts { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
table.facts th { text-align: left; color: var(--dim); font-weight: 600; padding: 7px 10px 7px 0; width: 40%; vertical-align: top; border-bottom: 1px solid var(--line); }
table.facts td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.table-note { font-size: 0.8rem; color: var(--faint); margin-top: 8px; }
.yes { color: var(--green); font-weight: 700; }
.part { color: var(--yellow); font-weight: 700; }
.no { color: var(--red); font-weight: 700; }
.unk { color: var(--faint); }

/* ---------- badges & pills ---------- */
.badge {
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; border: 1px solid transparent;
}
.b-good { background: var(--green-soft); color: var(--green); border-color: rgba(53, 255, 168, 0.35); }
.b-ok { background: var(--cyan-soft); color: var(--cyan); border-color: rgba(34, 224, 255, 0.35); }
.b-warn { background: var(--yellow-soft); color: var(--yellow); border-color: rgba(255, 210, 63, 0.35); }
.b-bad { background: rgba(255, 93, 93, 0.14); color: var(--red); border-color: rgba(255, 93, 93, 0.35); }
.b-ink { background: rgba(255, 255, 255, 0.06); color: var(--ink-2); border-color: var(--line-2); }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; padding: 3px 8px; border-radius: 8px; font-weight: 800; font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.pill-good { background: var(--green); color: #04220f; }
.pill-ok { background: var(--cyan); color: #04212b; }
.pill-mid { background: var(--yellow); color: #241a00; }
.pill-bad { background: var(--red); color: #2a0505; }
.pill-na { background: rgba(255, 255, 255, 0.08); color: var(--dim); }
.diff { font-size: 0.78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.diff-good { background: var(--green-soft); color: var(--green); }
.diff-ok { background: var(--yellow-soft); color: var(--yellow); }
.diff-bad { background: rgba(255, 93, 93, 0.14); color: var(--red); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); color: var(--ink-2); font-size: 0.85rem;
}
a.chip:hover { border-color: var(--cyan); color: #fff; text-decoration: none; }
.chip-good { color: var(--green); border-color: rgba(53, 255, 168, 0.3); }
.chip-bad { color: var(--red); border-color: rgba(255, 93, 93, 0.3); }
.chip-warn { color: var(--yellow); border-color: rgba(255, 210, 63, 0.3); }

/* ---------- item pages ---------- */
.item-head { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.item-side { display: grid; gap: 16px; position: sticky; top: calc(var(--head-h) + 16px); }
.side-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.side-box h2 { font-family: var(--font-ui); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.score-big { font-size: 1.5rem; display: flex; align-items: baseline; gap: 8px; }
.item-art { position: relative; }
.item-score { display: block; margin-top: 12px; }
.answer-box {
  border-left: 3px solid var(--pink); background: linear-gradient(90deg, var(--pink-soft), transparent 70%);
  padding: 14px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 0 0 18px;
}
.answer-box p:last-child { margin: 0; }
.answer-box .kicker { margin-bottom: 6px; color: var(--pink); }
.prose { max-width: 72ch; }
.prose > .table-wrap { max-width: none; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; color: var(--ink-2); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.bullets li { margin-bottom: 6px; }
.yes-list li::marker { color: var(--green); }
.no-list li::marker { color: var(--red); }
.howto li { margin-bottom: 10px; }
.quote { border-left: 3px solid var(--cyan); padding: 4px 0 4px 14px; color: var(--ink-2); font-style: italic; }
.code { background: #0d0619; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; overflow-x: auto; font-size: 0.86rem; }

.route-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.route { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.route-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin-bottom: 6px; }
.route-region { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--green); }
.route p { font-size: 0.88rem; color: var(--ink-2); }

/* score breakdown */
.scorebreak { margin: 12px 0 8px; display: grid; gap: 8px; }
.sb-row { display: grid; grid-template-columns: 1fr 90px; gap: 10px; align-items: center; }
.sb-row dt { font-size: 0.78rem; color: var(--dim); }
.sb-row dd { display: flex; align-items: center; gap: 8px; margin: 0; }
.sb-bar { width: 56px; height: 8px; }
.sb-bg { fill: rgba(255, 255, 255, 0.09); }
.sb-fill.good { fill: var(--green); }
.sb-fill.ok { fill: var(--cyan); }
.sb-fill.mid { fill: var(--yellow); }
.sb-fill.bad { fill: var(--red); }
.sb-num { font-size: 0.78rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* faq */
.faq-list { display: grid; gap: 8px; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq[open] { border-color: rgba(255, 45, 149, 0.4); }
.faq > summary { padding: 12px 14px; font-weight: 600; cursor: pointer; list-style: none; display: flex; gap: 10px; }
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::before { content: '+'; color: var(--pink); font-weight: 800; }
.faq[open] > summary::before { content: '−'; }
.faq-a { padding: 0 14px 14px 34px; color: var(--ink-2); font-size: 0.94rem; }
.faq-a p { margin: 0 0 0.7em; }

/* sources */
.sources { font-size: 0.86rem; color: var(--ink-2); padding-left: 1.2em; }
.sources li { margin-bottom: 6px; }
.src-type { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cyan); border: 1px solid rgba(34, 224, 255, 0.3); border-radius: 6px; padding: 1px 5px; margin-left: 6px; }
.src-date { color: var(--faint); font-size: 0.78rem; }

/* related */
.related { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.related h2 { font-family: var(--font-ui); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.related a { font-weight: 600; }
.related .dim { display: block; font-size: 0.78rem; }

.promo {
  background: linear-gradient(160deg, rgba(255, 45, 149, 0.16), rgba(34, 224, 255, 0.08));
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px;
}
.promo h2 { font-size: 1.2rem; }
.promo .btn { margin-top: 8px; }

/* breadcrumbs */
.crumbs { width: min(100% - 36px, var(--maxw)); margin: 10px auto 0; font-size: 0.8rem; color: var(--dim); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--dim); }
.crumbs a:hover { color: var(--cyan); }
.crumb-sep { color: var(--faint); }
[aria-current='page'] { color: var(--ink-2); }

/* stat bar */
.statbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 22px 0 0; }
.stat { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.stat-n { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--yellow); }
.stat-l { display: block; font-size: 0.76rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; }

/* article */
.article { max-width: 78ch; }
.article h1 { max-width: 22ch; }
.article .prose { max-width: none; }

/* a-z */
.az-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.az-nav a { padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--ink-2); font-weight: 700; }
.az-nav a:hover { border-color: var(--pink); color: #fff; text-decoration: none; }
.az-group { margin-bottom: 22px; }
.az-group h2 { color: var(--pink); font-size: 1.1rem; }
.az-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; }
.az-list li { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); border: 1px solid transparent; }
.az-list li:hover { border-color: var(--line-2); }
.az-list a { font-weight: 600; }
.az-list .dim { font-size: 0.74rem; margin-left: auto; }
.cgroup { margin-bottom: 18px; }
.cgroup h2 { font-size: 1rem; color: var(--cyan); }
.empty { color: var(--dim); }

/* shots */
.shot { margin: 16px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { font-size: 0.78rem; color: var(--faint); padding: 8px 12px; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 34px 0 18px; margin-top: 30px; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot-name { font-family: var(--font-display); font-size: 1rem; color: var(--yellow); margin-bottom: 8px; }
.foot-blurb { font-size: 0.84rem; color: var(--dim); max-width: 42ch; }
.foot-meta { font-size: 0.76rem; color: var(--faint); }
.foot-col h2 { font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-col a { color: var(--ink-2); font-size: 0.86rem; }
.foot-col a:hover { color: #fff; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--faint); }
.foot-legal a { color: var(--dim); }
.foot-note { flex: 1 1 320px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .item-head, .two-col { grid-template-columns: 1fr; }
  .item-side { position: static; }
  .foot-top { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (max-width: 1000px) {
  .main-nav, .nav-cta { display: none; }
  .nav-burger-btn { display: grid; }
  .ff-row { grid-template-columns: 1fr 1fr; }
  .ff-row .btn { grid-column: span 2; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .ff-row { grid-template-columns: 1fr; }
  .ff-row .btn { grid-column: auto; }
  .tgrid, .catgrid, .solgrid, .artgrid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  table.grid { font-size: 0.84rem; }
  table.grid th, table.grid td { padding: 8px 9px; }
  .c-kind, .c-price { display: none; }
  .statbar { grid-template-columns: 1fr 1fr; }
}

/* finder result helper */
.promo-tight { margin-bottom: 14px; }
.foot-sisters { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; flex-basis: 100%; color: var(--faint); }
.foot-sisters a { color: var(--dim); }

/* official-route empty state (always-rendered #official section) */
.route-empty { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 8px; }
.route-empty p { margin: 0; font-size: 0.9rem; color: var(--ink-2); max-width: 78ch; }
.route-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- gate strip + polish (2026-11-22 wave) ---- */
.gate-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.gate { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px; color: var(--ink-2);
  background: color-mix(in srgb, var(--ink) 7%, transparent); border: 1px solid var(--line); }
.gate .gate-ic { display: inline-flex; color: var(--green); }
.gate .gate-ic .icon { width: 14px; height: 14px; }
.answer-box { position: relative; overflow: hidden; }
.answer-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--green), transparent); }
.hero { position: relative; }
.hero::after { content: ""; position: absolute; inset: auto 0 -40% 0; height: 60%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--green) 14%, transparent), transparent 70%); }
.tcard { transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.tcard:hover { border-color: color-mix(in srgb, var(--green) 45%, var(--line)); transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--green) 10%, transparent); }
.pill-good { box-shadow: 0 0 12px color-mix(in srgb, var(--green) 35%, transparent); }
.solcard:hover, .catcard:hover, .kindcard:hover, .artcard:hover { border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.chip:hover { border-color: color-mix(in srgb, var(--green) 50%, var(--line)); color: var(--ink); }
.btn-primary { box-shadow: 0 2px 18px color-mix(in srgb, var(--green) 25%, transparent); }
@media (prefers-reduced-motion: reduce) { .tcard { transition: none; } .tcard:hover { transform: none; } }

/* step-by-step watch paths (goal table + per-goal details) */
details.how-path { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; margin: 10px 0; background: var(--card); }
details.how-path summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: revert; }
details.how-path[open] summary { border-bottom: 1px solid var(--line); }
details.how-path ol.steps { margin: 14px 0 6px; padding-left: 22px; display: grid; gap: 8px; }
details.how-path ol.steps li::marker { color: var(--cyan); font-weight: 700; }
