/* The Movieshelf Journal — same screening-room palette as the landing page, tuned for long reading. */
:root {
  color-scheme: dark;
  --bg: #07080c; --bg2: #0c0e15; --card: #10121a; --card2: #161926;
  --line: rgba(206, 216, 255, .09); --line2: rgba(206, 216, 255, .17);
  --fg: #eef0f8; --text: #cfd3e2; --mute: #969cb2; --dim: #61677c;
  --accent: #6b8aff; --accent2: #a3b4ff; --beam: #ffb547; --green: #2fd15b;
  --display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box }
html { background: var(--bg); scroll-padding-top: 100px; overflow-x: clip }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg) }
a { color: inherit }
img { display: block; max-width: 100%; height: auto }
::selection { background: var(--accent); color: #fff }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; border-radius: 6px }
.wrap { max-width: 1200px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)) }
h1, h2, h3 { font-family: var(--display); font-variation-settings: "opsz" 96; margin: 0; text-wrap: balance; letter-spacing: -.025em; line-height: 1.05; font-weight: 700 }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0 }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute) }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--beam); box-shadow: 0 0 14px var(--beam) }
.lede { color: var(--mute); font-size: clamp(17px, 1.4vw, 20px); max-width: 60ch }

/* nav (same as landing) */
.nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 50; display: flex; justify-content: center; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); margin-top: 12px }
.nav-in { display: flex; align-items: center; gap: 22px; padding: 8px 8px 8px 18px; border-radius: 99px; width: min(900px, 100%); background: rgba(12, 13, 19, .74); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4) }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 760; font-size: 20px; letter-spacing: -.03em }
.logo svg { width: 28px; height: 28px }
.nav nav { display: flex; gap: 2px; margin-left: auto }
.nav nav a { text-decoration: none; color: var(--mute); font-size: 14.5px; font-weight: 500; padding: 8px 13px; border-radius: 99px; transition: color .2s, background .2s }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--fg); background: rgba(255, 255, 255, .06) }
.btn { display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 99px; padding: 11px 20px; white-space: nowrap }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 30px -10px rgba(107, 138, 255, .8) }
@media (max-width: 820px) { .nav nav { display: none } .nav .btn { margin-left: auto } }
.store { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: #000; text-decoration: none; border-radius: 15px; padding: 10px 20px 10px 16px; transition: transform .35s var(--ease); flex: none }
.store:hover { transform: translateY(-2px) }
.store svg { width: 22px; height: 26px }
.store span { display: flex; flex-direction: column; line-height: 1.05 }
.store small { font-size: 11px; font-weight: 500 }
.store b { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.02em }

/* index */
.index-head { padding-block: clamp(60px, 9vw, 110px) 40px; position: relative }
.index-head::before { content: ""; position: absolute; left: 50%; top: -120px; width: min(900px, 100vw); height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 181, 71, .10), transparent); pointer-events: none; z-index: -1 }
.index-head h1 { font-size: clamp(44px, 6.4vw, 92px); margin: 18px 0 20px }
.index-head h1 em { color: var(--beam) }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px }
.chips a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line2); color: var(--mute); transition: all .2s }
.chips a:hover { color: var(--fg); border-color: var(--accent) }
.chips a[aria-current] { background: var(--fg); color: #000; border-color: var(--fg) }
.lead { margin-bottom: 28px }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr } }
.card { position: relative; display: flex; flex-direction: column; border-radius: 24px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .4s var(--ease) }
.card:hover { border-color: var(--line2); transform: translateY(-3px) }
.card-img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--card2) }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease) }
.card:hover .card-img img { transform: scale(1.04) }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1 }
.card h3 { font-size: 22px; letter-spacing: -.02em }
.card h2 { font-size: clamp(28px, 3.4vw, 44px) }
.card h2 a, .card h3 a { text-decoration: none }
.card h2 a::after, .card h3 a::after { content: ""; position: absolute; inset: 0 }
.card p { margin: 0; color: var(--mute); font-size: 15.5px }
.card .meta { margin-top: auto; padding-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .04em }
.pill { position: relative; z-index: 2; align-self: flex-start; text-decoration: none; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--beam); background: rgba(255, 181, 71, .12); padding: 4px 10px; border-radius: 7px }
.card.big { display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch }
.card.big .card-img { aspect-ratio: auto; min-height: 340px }
.card.big .card-body { padding: clamp(24px, 3vw, 44px); justify-content: center; gap: 16px }
.card.big p { font-size: 17px }
@media (max-width: 860px) { .card.big { grid-template-columns: 1fr } .card.big .card-img { aspect-ratio: 16/9; min-height: 0 } }
.pager { display: flex; justify-content: space-between; align-items: center; padding-block: 40px; font-family: var(--mono); font-size: 13px; color: var(--mute) }
.pager a { color: var(--fg); text-decoration: none; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line2) }
.empty { color: var(--mute); padding-block: 40px }

/* post */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none }
.progress i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent), var(--beam)); transform-origin: left; transform: scaleX(0) }
.post-head { padding-block: clamp(48px, 7vw, 90px) 34px; max-width: 920px; position: relative }
.post-head::before { content: ""; position: absolute; left: 50%; top: -140px; width: min(800px, 100vw); height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(107, 138, 255, .12), transparent); pointer-events: none; z-index: -1 }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--dim); margin-bottom: 22px }
.crumbs a { color: var(--mute); text-decoration: none } .crumbs a:hover { color: var(--fg) }
.post-head h1 { font-size: clamp(38px, 5.4vw, 70px) }
.dek { font-size: clamp(18px, 1.7vw, 22px); color: var(--text); margin: 22px 0 0; max-width: 62ch; text-wrap: pretty }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; font-size: 14.5px }
.byline > span { display: flex; flex-direction: column; line-height: 1.3 }
.byline small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim) }
.byline .sep { width: 1px; height: 32px; background: var(--line2) }
.byline > span:first-of-type + span { flex-direction: column }
.av { width: 42px; height: 42px; border-radius: 50%; display: grid !important; place-items: center; font-family: var(--display); font-weight: 800; background: conic-gradient(from 200deg, var(--accent), #ff3d6e, var(--beam), var(--accent)); flex: none }
.av.lg { width: 58px; height: 58px; font-size: 22px }
.post-cover { margin-bottom: 50px }
.post-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 50px 100px -40px #000 }
.post-grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 64px; justify-content: center }
@media (max-width: 1060px) { .post-grid { grid-template-columns: minmax(0, 720px) } .toc { display: none } }
.toc { position: sticky; top: 110px; align-self: start; font-size: 14px }
.toc b { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 500 }
.toc ol { list-style: none; padding: 0; margin: 14px 0 0; border-left: 1px solid var(--line2) }
.toc li a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--mute); text-decoration: none; line-height: 1.35; transition: color .2s, border-color .2s }
.toc li a:hover { color: var(--fg) }
.toc li a.on { color: var(--fg); border-left-color: var(--accent) }
.toc-app { margin-top: 30px; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px }
.toc-app svg { width: 34px; height: 34px }
.toc-app p { margin: 0; color: var(--mute); font-size: 14px }
.toc-app .store { transform: scale(.88); transform-origin: left }

/* prose */
.prose { color: var(--text); font-size: 18.5px; line-height: 1.72; min-width: 0 }
.prose > * + * { margin-top: 1.1em }
.prose h2 { position: relative; color: var(--fg); font-size: clamp(28px, 3vw, 38px); margin-top: 2.2em; margin-bottom: .2em; scroll-margin-top: 100px }
.prose h3 { color: var(--fg); font-size: 23px; margin-top: 1.8em }
.anchor { position: absolute; left: -1.1em; color: var(--dim); text-decoration: none; opacity: 0; font-weight: 400; transition: opacity .2s }
.prose h2:hover .anchor { opacity: 1 }
.prose a { color: var(--accent2); text-decoration-thickness: 1px; text-underline-offset: 3px }
.prose a:hover { color: var(--fg) }
.prose strong { color: var(--fg) }
.prose em { font-size: 1.08em; color: var(--fg) }
.prose ul, .prose ol { padding-left: 1.3em }
.prose li + li { margin-top: .45em }
.prose li::marker { color: var(--accent2) }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--beam); font-family: var(--serif); font-style: italic; font-size: 1.3em; color: var(--fg) }
.prose code { font-family: var(--mono); font-size: .85em; background: var(--card2); padding: 2px 6px; border-radius: 6px }
.prose figure { margin: 2em 0 }
.prose figure img { border-radius: 18px; border: 1px solid var(--line) }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--dim) }
.table { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--card) }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px }
.prose th, .prose td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top }
.prose th { color: var(--fg); font-family: var(--display); font-weight: 650; background: var(--card2) }
.prose tr:last-child td { border-bottom: 0 }
.prose td:first-child { color: var(--fg); font-weight: 600 }
.tldr { border-radius: 22px; padding: 24px 26px; background: linear-gradient(160deg, rgba(107, 138, 255, .14), rgba(107, 138, 255, .03)); border: 1px solid rgba(107, 138, 255, .35) }
.tldr > p:first-child { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase }
.tldr > p:first-child strong { color: var(--accent2); font-weight: 500 }
.tldr ol { margin: 12px 0 0 }
.note { border-radius: 18px; padding: 18px 22px; background: rgba(255, 181, 71, .08); border: 1px solid rgba(255, 181, 71, .28); color: var(--fg); font-size: 16.5px }
.also { font-size: 16px; color: var(--mute) }
.cta-card { display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: center; margin-block: 2em; padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line2); box-shadow: 0 30px 60px -40px #000 }
.cta-card .cta-icon { width: 58px; height: 58px; border-radius: 15px; background: #0b0c12; display: grid; place-items: center; border: 1px solid var(--line2) }
.cta-card .cta-icon svg { width: 34px; height: 34px }
.cta-card b { display: block; color: var(--fg); font-size: 17px; font-family: var(--display) }
.cta-card p { margin: 4px 0 0 !important; font-size: 15px; color: var(--mute) }
.cta-card .store { grid-column: 2 }
@media (max-width: 560px) { .cta-card { grid-template-columns: 1fr } .cta-card .store { grid-column: 1 } }
.faq { border-top: 1px solid var(--line) }
.faq details { border-bottom: 1px solid var(--line) }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; color: var(--fg); font-weight: 650; font-size: 18px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; font-weight: 400; transition: transform .35s var(--ease), background .3s }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); border-color: var(--accent) }
.faq details > div { padding: 0 0 20px; color: var(--mute) }
.cta-end, .index .cta-end { margin-block: 3em 1em; padding: clamp(28px, 4vw, 48px); border-radius: 28px; text-align: left; position: relative; overflow: hidden;
  background: radial-gradient(90% 120% at 100% 0%, rgba(107, 138, 255, .28), transparent 60%), radial-gradient(70% 90% at 0% 100%, rgba(255, 181, 71, .14), transparent 60%), var(--card); border: 1px solid rgba(107, 138, 255, .35) }
.cta-end > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 560px }
.cta-end .cta-h { font-size: clamp(30px, 3.6vw, 46px); color: var(--fg); margin: 0 }
.cta-end .cta-h em { color: var(--beam) }
.cta-end p { margin: 0 !important; color: var(--text) }
.prose .cta-end h2 { margin: 0 }
.author-box { display: flex; gap: 18px; align-items: flex-start; max-width: 824px; margin-top: 60px; padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line) }
.author-box p { margin: 6px 0 0; color: var(--mute); font-size: 15.5px }
.related { padding-block: 70px 30px }
.related h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 26px }

/* footer */
.foot { margin-top: 80px; border-top: 1px solid var(--line); padding-block: 50px 40px }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 40px }
.foot-cols div { display: flex; flex-direction: column; gap: 9px }
.foot-cols b { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 500; margin-bottom: 4px }
.foot-cols a { color: var(--mute); text-decoration: none; font-size: 15px } .foot-cols a:hover { color: var(--fg) }
@media (max-width: 640px) { .foot-cols { grid-template-columns: 1fr 1fr } }
.legal { margin-top: 40px; color: var(--dim); font-size: 12.5px; max-width: 90ch }
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; animation: none !important } }


/* ---------- fixes: badge contrast inside articles, sticky contents ---------- */
.store, .prose .store, .prose a.store:hover { color: #000; text-decoration: none }
.store small { color: #3b3f4a }
.toc { max-height: calc(100vh - 130px); overflow-y: auto; scrollbar-width: none }
.toc::-webkit-scrollbar { display: none }
.toc-m { display: none }
@media (max-width: 1060px) {
  .toc-m { display: block; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 78px); z-index: 40; margin: 0 0 1.6em; border-radius: 16px; background: rgba(16, 18, 26, .88); border: 1px solid var(--line2); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 14px 40px -18px rgba(0, 0, 0, .8); font-size: 15px }
  .toc-m summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer }
  .toc-m summary::-webkit-details-marker { display: none }
  .tm-l { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--beam) }
  .tm-c { color: var(--fg); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
  .tm-i { width: 9px; height: 9px; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease) }
  .toc-m[open] .tm-i { transform: rotate(225deg) translateY(-2px) }
  .toc-m ol { list-style: none; margin: 0 !important; padding: 4px 8px 10px; max-height: 55vh; overflow-y: auto; border-top: 1px solid var(--line) }
  .toc-m li + li { margin-top: 0 }
  .toc-m li a { display: block; padding: 9px 10px; border-radius: 10px; color: var(--mute); text-decoration: none; line-height: 1.35 }
  .toc-m li a.on { color: var(--fg); background: rgba(107, 138, 255, .12) }
  .toc-m .bar { position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--line) }
}

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease) }
.js .rv.in { opacity: 1; transform: none }

/* ---------- callouts ---------- */
.callout { --c: var(--accent2); position: relative; margin-block: 2em; padding: 20px 22px 20px 24px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 10%, var(--card)), var(--card) 60%); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); overflow: hidden }
.callout::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--c); box-shadow: 0 0 18px var(--c) }
.callout.tip { --c: var(--beam) } .callout.warning { --c: #ff6b6b } .callout.takeaways { --c: var(--green) }
.co-head { display: flex; align-items: center; gap: 10px; color: var(--c); font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase }
.co-head svg { width: 18px; height: 18px }
.co-body { margin-top: 10px; font-size: 16.5px }
.co-body > * + * { margin-top: .7em }
.co-body > :first-child { margin-top: 0 } .co-body > :last-child { margin-bottom: 0 }
.callout.takeaways ul { list-style: none; padding: 0 }
.callout.takeaways li { position: relative; padding-left: 28px }
.callout.takeaways li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg) }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-block: 2em }
.stat { padding: 20px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden }
.stat::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(107, 138, 255, .22), transparent) }
.stat .v { font-family: var(--display); font-size: clamp(32px, 4vw, 44px); font-weight: 700; color: var(--fg); letter-spacing: -.03em; line-height: 1 }
.stat:nth-child(2n) .v { color: var(--beam) }
.stat .l { color: var(--text); font-size: 15px; line-height: 1.35 }
.stat small { color: var(--dim); font-size: 12.5px }

/* ---------- steps timeline ---------- */
.prose .steps { list-style: none; padding: 0; margin-block: 2em; position: relative }
.steps::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--accent), var(--beam)); opacity: .45 }
.prose .steps li + li { margin-top: 14px }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; position: relative }
.step .n { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--card2); border: 1px solid var(--line2); font-family: var(--mono); font-size: 14px; color: var(--accent2); position: relative; z-index: 1 }
.step > div { padding: 12px 20px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line) }
.prose .step h3.st { margin: 0 0 6px; font-size: 20px }
.step p { margin: 0; font-size: 16.5px } .step p + p, .step ul { margin-top: .6em }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-block: 2em }
.mcard { padding: 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); transition-delay: calc(var(--i) * 60ms) }
.mcard:hover { border-color: var(--line2); transform: translateY(-3px) }
.prose .mcard h3.ct { margin: 0 0 8px; font-size: 19px }
.prose .mcard h3.ct::before { content: ""; display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--beam); margin-bottom: 14px }
.mcard:nth-child(3n+2) h3.ct::before { background: var(--accent) } .mcard:nth-child(3n) h3.ct::before { background: var(--green) }
.mcard p { margin: 0; font-size: 15.5px; color: var(--text) }

/* ---------- versus ---------- */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; margin-block: 2em }
.vs-col { padding: 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-size: 16px }
.vs-col.alt { border-color: rgba(255, 181, 71, .3); background: linear-gradient(160deg, rgba(255, 181, 71, .08), var(--card) 60%) }
.vs-h { display: block; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--fg); margin-bottom: 8px }
.vs-col ul { margin: 0; padding-left: 1.1em } .vs-col p { margin: 0 }
.vs-mid { align-self: center; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); border: 1px solid var(--line2); font-family: var(--serif); font-style: italic; color: var(--mute) }
@media (max-width: 640px) { .versus { grid-template-columns: 1fr } .vs-mid { justify-self: center; margin-block: -26px; z-index: 1 } }

/* ---------- checklist ---------- */
.checklist { margin-block: 2em; padding: 20px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line2) }
.cl-h { display: block; font-family: var(--display); font-size: 19px; color: var(--fg); margin-bottom: 6px }
.prose .checklist ul { list-style: none; padding: 0; margin: 0 }
.prose .checklist li + li { margin-top: 0 }
.checklist label { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); cursor: pointer; font-size: 16.5px }
.checklist li:last-child label { border-bottom: 0 }
.checklist input { position: absolute; opacity: 0; pointer-events: none }
.checklist .box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line2); margin-top: 3px; display: grid; place-items: center; transition: background .25s, border-color .25s }
.checklist .box::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #07080c; border-bottom: 2px solid #07080c; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .25s var(--ease) }
.checklist input:checked + .box { background: var(--green); border-color: var(--green) }
.checklist input:checked + .box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1) }
.checklist input:checked ~ span:last-child { color: var(--dim); text-decoration: line-through; text-decoration-color: var(--dim) }
.checklist input:focus-visible + .box { outline: 2px solid var(--accent2); outline-offset: 2px }
.cl-n { display: block; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--mute) }

/* ---------- bars ---------- */
.prose .bars { margin-block: 2em; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line) }
.bars figcaption { margin: 0 0 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute) }
.bar { display: grid; grid-template-columns: minmax(90px, 30%) 1fr auto; gap: 14px; align-items: center; padding: 7px 0; font-size: 15px }
.bl { color: var(--fg) }
.track { height: 12px; border-radius: 99px; background: var(--card2); overflow: hidden }
.track i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width 1.4s var(--ease) }
.bar:nth-child(odd) .track i { background: linear-gradient(90deg, #e08a1e, var(--beam)) }
.track i { width: var(--w) }
.js .bars:not(.in) .track i { width: 0 }
.bv { font-family: var(--mono); font-size: 13px; color: var(--mute); white-space: nowrap }
@media (max-width: 520px) { .bar { grid-template-columns: 1fr auto; gap: 6px 10px } .track { grid-column: 1 / -1; order: 3 } }

/* ---------- shelf illustration ---------- */
.prose .shelf { margin-block: 2.2em; padding: 26px 22px 18px; border-radius: 20px; background: radial-gradient(120% 90% at 50% 0%, #1a1d2b, var(--card) 70%); border: 1px solid var(--line) }
.sh-row { display: flex; align-items: flex-end; gap: 4px; height: 210px; overflow-x: auto; scrollbar-width: none; padding-inline: 4px }
.sh-row::-webkit-scrollbar { display: none }
.sp { flex: 0 0 auto; width: 34px; height: var(--h); border-radius: 4px 4px 2px 2px; display: flex; flex-direction: column; align-items: center; padding: 8px 0; gap: 8px; position: relative; transform-origin: bottom; transition: transform .7s var(--ease), opacity .7s, box-shadow .3s; transition-delay: calc(var(--i) * 45ms); box-shadow: inset -3px 0 0 rgba(0, 0, 0, .25), inset 2px 0 0 rgba(255, 255, 255, .08) }
.js .shelf:not(.in) .sp { transform: translateY(14px); opacity: 0 }
.sp.bluray { background: linear-gradient(90deg, #1b4fc4, #2a63e0 45%, #1a49b6) }
.sp.uhd { background: linear-gradient(90deg, #0b0b0e, #1c1c22 45%, #0b0b0e) }
.sp.dvd { background: linear-gradient(90deg, #2c303b, #3d4250 45%, #2a2e38) }
.sp em { font-family: var(--mono); font-style: normal; font-size: 8.5px; letter-spacing: .06em; color: rgba(255, 255, 255, .75); writing-mode: vertical-rl; transform: rotate(180deg) }
.sp.uhd em { color: #e6c27a }
.sp b { font-family: var(--display); font-size: 12px; font-weight: 600; color: #fff; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: calc(100% - 50px) }
.sp.hi { box-shadow: 0 0 0 2px var(--beam), 0 0 26px rgba(255, 181, 71, .55) }
.shelf.in .sp.hi { transform: translateY(-14px) }
.sh-board { height: 12px; margin-top: 0; border-radius: 3px; background: linear-gradient(#3a2b1e, #22180f); box-shadow: 0 10px 22px -10px #000 }
.shelf figcaption { margin-top: 14px; font-size: 14px; color: var(--mute); text-align: center }

/* ---------- pull quote ---------- */
.prose blockquote.pull { margin: 2.2em 0; padding: 6px 0 6px 0; border: 0; text-align: center; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.2; color: var(--fg) }
.pull p::before, .pull p::after { content: ""; display: block; width: 40px; height: 2px; margin: 0 auto 18px; background: var(--beam) }
.pull p::after { margin: 18px auto 0 }

/* ---------- phone illustrations ---------- */
.prose .phone-fig { display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 4vw, 44px); align-items: center; margin: 2.6em 0; padding: clamp(22px, 3.5vw, 36px); border-radius: 26px; position: relative; overflow: hidden; background: radial-gradient(90% 120% at 0% 50%, rgba(107, 138, 255, .18), transparent 60%), var(--card); border: 1px solid var(--line2) }
.phone-fig figcaption { margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16.5px; color: var(--text) }
.phone-fig figcaption b { font-family: var(--display); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.1; color: var(--fg); letter-spacing: -.02em }
.prose .pf-link { color: var(--beam); text-decoration: none; font-weight: 600 }
@media (max-width: 600px) { .prose .phone-fig { grid-template-columns: 1fr; justify-items: center; text-align: left } }
.pm { width: 220px; aspect-ratio: 9 / 19.5; border-radius: 36px; padding: 7px; background: linear-gradient(145deg, #2a2d39, #0e0f15); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .08); position: relative; transform: rotate(-3deg); transition: transform .8s var(--ease) }
.phone-fig:hover .pm { transform: rotate(0) translateY(-4px) }
.island { position: absolute; top: 15px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 99px; background: #000; z-index: 3 }
.ps { position: absolute; inset: 7px; border-radius: 30px; overflow: hidden; background: #0a0b10; font-family: var(--body); color: var(--fg); font-size: 11px; line-height: 1.3 }
.ps img { display: block; width: 100%; border: 0 }
/* scan */
.ps.scan .cam { position: absolute; inset: 0; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.9); transform: scale(1.25) translate(-6%, 8%) }
.ps-top { position: absolute; top: 40px; left: 0; right: 0; display: flex; justify-content: center }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px); font-weight: 600; font-size: 10px }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 8px #ff4d4d; animation: blink 1.2s infinite }
@keyframes blink { 50% { opacity: .3 } }
.reticle { position: absolute; left: 14%; right: 14%; top: 36%; height: 20%; }
.reticle i { position: absolute; width: 18px; height: 18px; border: 2.5px solid #fff; border-radius: 3px }
.reticle i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0 } .reticle i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0 }
.reticle i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0 } .reticle i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0 }
.laser { position: absolute; left: 6%; right: 6%; height: 2px; top: 50%; background: #ff3b3b; box-shadow: 0 0 10px 2px rgba(255, 59, 59, .7); animation: laser 2.2s var(--ease) infinite alternate }
@keyframes laser { from { top: 12% } to { top: 88% } }
.tray { position: absolute; left: 8px; right: 8px; bottom: 10px; padding: 9px; border-radius: 20px; background: rgba(16, 18, 26, .92); border: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 8px }
.thumbs { display: flex; gap: 5px; align-items: center }
.thumbs img { width: 30px; height: 40px; object-fit: cover; border-radius: 4px }
.plus { font-family: var(--mono); font-size: 10px; color: var(--mute); margin-left: 4px }
.ps .btn { display: block; text-align: center; padding: 7px; border-radius: 99px; background: var(--accent); color: #fff; font-weight: 700; font-size: 11px }
/* collection */
.ps.coll { padding: 40px 10px 10px }
.ps-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 2px }
.ps-head b { font-family: var(--display); font-size: 18px; letter-spacing: -.02em }
.ps-head small { color: var(--mute); font-size: 9.5px }
.chips { display: flex; gap: 4px; margin: 9px 0; overflow: hidden }
.chips span { flex: 0 0 auto; padding: 4px 8px; border-radius: 99px; background: #171a25; color: var(--mute); font-size: 9.5px; font-weight: 600 }
.chips .on { background: var(--fg); color: #000 }
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px }
.cv { position: relative; border-radius: 5px; overflow: hidden; aspect-ratio: 2 / 3; transition: opacity .5s, transform .6s var(--ease); transition-delay: calc(var(--i) * 70ms + 200ms) }
.js .phone-fig:not(.in) .cv { opacity: 0; transform: scale(.9) }
.cv img { height: 100%; object-fit: cover }
.cv em { position: absolute; left: 3px; bottom: 3px; padding: 1px 4px; border-radius: 3px; font: 700 7.5px/1.4 var(--mono); font-style: normal; color: #fff; background: #1d56d6 }
.cv em.uhd { background: #000; color: #e6c27a } .cv em.dvd { background: #4a4f5d }
/* detail */
.ps.det { padding: 36px 12px 12px; display: flex; flex-direction: column; gap: 4px }
.ps.det .hero { width: 58%; margin: 0 auto 6px; border-radius: 8px; overflow: hidden; box-shadow: 0 14px 30px -10px #000 }
.dt { font-family: var(--display); font-size: 17px; text-align: center }
.dm { color: var(--mute); text-align: center; font-size: 9.5px }
.loc { margin-top: 8px; padding: 9px; border-radius: 14px; background: #141722; border: 1px solid rgba(255, 181, 71, .35); display: flex; flex-direction: column; gap: 3px }
.loc small { font-family: var(--mono); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: var(--beam) }
.loc b { font-size: 10.5px }
.mini { display: flex; gap: 2px; align-items: flex-end; height: 26px; margin-top: 4px }
.mini i { flex: 1; height: 80%; border-radius: 1.5px; background: #2b3040 }
.mini i:nth-child(3n) { height: 92% } .mini i:nth-child(4n) { height: 70% }
.mini i.on { height: 100%; background: var(--beam); box-shadow: 0 0 8px var(--beam); animation: pulse 1.8s infinite }
@keyframes pulse { 50% { opacity: .55 } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr 1fr } .stat:last-child:nth-child(odd) { grid-column: 1 / -1 } }
.sh-row { position: relative }
.store b { color: #000 !important } .store small { color: #3b3f4a !important } .store svg { color: #000 }
