/* ===== The Hasan Piker Effect — poster edition (navy, heavy type, pink) =====
   Layered on top of styles.css: re-themes every existing component through its CSS variables,
   then adds the chapter layout, navigation and motion. */
@font-face { font-family: "Outfit"; src: url("fonts/outfit-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-wght-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }

/* dark-theme rules from styles.css, keyed to html.v2 so they apply whatever the host page sets data-theme to */
.theme-btn .i-sun, html.v2 .theme-btn .i-moon { display: none; }
html.v2 .theme-btn .i-sun { display: block; }
html.v2 .only-dark { display: block !important; }
html.v2 .only-light { display: none !important; }
html.v2 {
  color-scheme: dark;
  --bg: #121212; --ink: #ececec; --ink-2: #c8c8c8; --ink-3: #9a9a9a; --rule: #333; --grid: #262626;
  --ctx: #4f4f4f; --ctx-ink: #8f8f8f; --hl-soft: rgba(228,87,46,.22); --hl-ink: #f07a52;
  --empty: #424242; --empty2: #2a2a2a; --tri: #1b1b1b; --win: #3fbf74; --win-ink: #5fd38d; --adv: #2f6b47; --adv-ink: #e6f4ea; --win-text: #0b2615; --win-soft: rgba(63,191,116,.16); --c-own: #b39ae6; --c-dna: #575757; --c-dna-ink: #ececec; --c-unk: #5a5a5a; --c-step0: #7c7c7c; --rival: #8a9bb3; --spag: #3b3b3b; --land: #262626;
}
html.v2 .top { background: rgba(18,18,18,.96); }
html.v2 .banner { color: #e9d9a0; background: #2b2410; border-bottom-color: #43391a; }
html.v2 .lab { stroke: var(--bg); }
html.v2 .tip { background: #1e1e1e; color: var(--ink); border-color: #444; }
html.v2 .scrolly .step { background: rgba(26,26,26,.96); box-shadow: 0 2px 12px rgba(0,0,0,.5); }
html.v2 .st-n, html.v2 .mp-watch { color: var(--bg); }
html.v2 .mp-tag { color: #333; border-color: #777; }
html.v2 .credits { background: #1c1a17; }
html.v2 .credits li { border-top-color: #34302a; }
html.v2 .mapselect { background: var(--bg); color: var(--ink); }
html.v2 .lang option { color: var(--ink); background: var(--bg); }
html.v2 .sq.none { border-color: #666; }
html.v2 mark.hlm { background-image: linear-gradient(to right, rgba(228,87,46,.38), rgba(228,87,46,.38)); }
html.v2 .mp-watch { background: #242424; color: var(--ink); border: 1px solid #3a3a3a; }
html.v2 .mp-watch:hover { border-color: var(--hl); }
html.v2 .mp-tag { color: #cfcfcf; border-color: #6a6a6a; }
.mp-watch, html.v2 .mp-watch { border: 1px solid; transition: background-color .15s, border-color .15s; }
html.v2 .mp-watch { background: #2a1715; border-color: #4d2522; color: #ff5a52; }
html.v2 .mp-watch span { color: #ecd0ce; }
html.v2 .mp-watch:hover { background: #351c1a; border-color: #ff4e45; }
html.v2 .mp-watch .mp-tag { color: #f0b2ae; border-color: #7a3a36; }
html.v2 .scrolly mark.hlm, html.v2 .scrolly-static mark.hlm { background-image: linear-gradient(to right, rgba(63,191,116,.32), rgba(63,191,116,.32)); }
html.v2 .cr-thanks { border-top-color: #4a443b; }
html.v2 .donate-btn { border-color: #5fd38d; color: #5fd38d; }
html.v2 .donate-btn:hover { background: #5fd38d; color: #0b2615; }
html.v2 .ab .scrolly mark.hlm, html.v2 .ab .scrolly-static mark.hlm { background-image: linear-gradient(to right, rgba(63,191,116,.42), rgba(63,191,116,.42)); }
html.v2 { --pi-ie: #f07a52; --pi-don: #5a9cf0; --pi-oth: #4c4a45; }
/* end mirrored dark rules */

html.v2, html.v2[data-theme="dark"] {
  color-scheme: dark;
  --navy-0: #03041a; --navy-1: #070a2c; --navy-2: #0e1250; --navy-3: #1a1f86;
  --bg: #080b30; --card: rgba(18, 22, 84, .55); --card-b: rgba(143, 160, 255, .18);
  --ink: #ffffff; --ink-2: #c9cbf3; --ink-3: #8d92d3; --rule: rgba(143, 160, 255, .2); --grid: rgba(143, 160, 255, .12);
  --hl: #ff4f8b; --hl-ink: #ff7fab; --hl-soft: rgba(255, 79, 139, .16);
  --win: #2fd17a; --win-ink: #5fe39f; --win-text: #03210f; --win-soft: rgba(47, 209, 122, .15); --adv: #1d6e47; --adv-ink: #e9fff2;
  --lose: #ff4d5e; --amber: #ffb547;
  --rival: #8fa0ff; --ctx: #3d4392; --ctx-ink: #9aa0e0; --spag: #2c3184; --land: #161b5e; --empty: #282d72; --empty2: #1b1f5a; --tri: rgba(143, 160, 255, .06);
  --c-dna: #4c5299; --c-dna-ink: #fff; --c-step0: #7d83c9; --c-unk: #4c5299; --c-own: #b9a2ff;
  --display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --serif: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --stage: var(--navy-1);
}
html.v2 { background: var(--navy-1); scroll-padding-top: 76px; }
html.v2 body { background: transparent; color: var(--ink); font-family: var(--sans); font-size: 17px; }
/* background: navy gradient, a field of + marks, and three slow glows */
.bgfx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cpath d='M48 43v10M43 48h10' stroke='%233b44b8' stroke-width='1.4' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E"),
    radial-gradient(120% 90% at 85% 100%, #1b1f8f 0%, rgba(27, 31, 143, 0) 60%),
    linear-gradient(160deg, #03041a 0%, #070a2c 45%, #0c1050 100%); }
.glow { position: absolute; border-radius: 50%; opacity: .45; will-change: transform; background: radial-gradient(closest-side, var(--gc) 0%, rgba(0, 0, 0, 0) 100%) !important; }
.g1 { width: 46vw; height: 46vw; left: -12vw; top: -14vw; --gc: #2c34d9; animation: drift1 26s ease-in-out infinite alternate; opacity: .35; }
.g2 { width: 38vw; height: 38vw; right: -10vw; top: 30vh; --gc: #ff2f7d; opacity: .16; animation: drift2 32s ease-in-out infinite alternate; }
.g3 { width: 50vw; height: 50vw; left: 20vw; bottom: -30vw; --gc: #3b2fd9; opacity: .28; animation: drift1 38s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(8vw, 6vh) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-6vw, -10vh) scale(.9); } }

/* ---------- header ---------- */
html.v2 .top { background: rgba(5, 7, 32, .62); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; flex-wrap: nowrap; gap: 14px; padding: 10px 22px; }
html.v2 body.scrolled .top { border-bottom-color: var(--rule); background: rgba(5, 7, 32, .82); }
html.v2 .brand-logo { height: 30px; width: auto; display: block; }
.chap-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 14px 6px 8px; border-radius: 999px; border: 1px solid var(--rule); background: rgba(255, 255, 255, .04); color: var(--ink); font: 700 14px/1 var(--display); cursor: pointer; letter-spacing: .01em; transition: background .2s, border-color .2s, transform .15s; max-width: 60vw; }
.chap-btn:hover { background: rgba(255, 79, 139, .12); border-color: rgba(255, 79, 139, .5); }
.chap-btn:active { transform: scale(.97); }
.chap-n { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--hl); color: #fff; font-weight: 800; font-size: 12.5px; }
.chap-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chap-i { flex: none; opacity: .8; }
html.v2 .nav { flex: 1; justify-content: flex-end; }
html.v2 .nav a { color: var(--ink-2); font: 600 13.5px var(--display); letter-spacing: .02em; border: 0; padding: 6px 2px; }
html.v2 .nav a:hover, html.v2 .nav a[aria-current="page"] { color: #fff; }
.prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.prog i { display: block; height: 100%; background: linear-gradient(90deg, #ff4f8b, #ff8ab4 60%, #8fa0ff); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(255, 79, 139, .7); }
html.v2 .banner { background: rgba(255, 181, 71, .1); color: #ffd79a; border-bottom: 1px solid rgba(255, 181, 71, .2); text-align: center; font-size: 12.5px; }

/* chapter menu (overlay) */
.chap-menu { position: fixed; inset: 0; z-index: 60; background: rgba(3, 4, 26, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; transition: opacity .25s ease; display: flex; justify-content: center; align-items: flex-start; overflow-y: auto; }
.chap-menu[hidden] { display: none; }
.chap-menu.open { opacity: 1; }
.cm-in { width: min(820px, 100%); padding: 28px 24px 40px; }
.cm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cm-k { margin: 0; font: 700 12px var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.cm-x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; color: #fff; font-size: 18px; cursor: pointer; }
.cm-x:hover { border-color: var(--hl); color: var(--hl); }
.cm-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cm-list li { opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .35s ease; transition-delay: calc(var(--i) * 30ms); }
.chap-menu.open .cm-list li { opacity: 1; transform: none; }
.cm-list a { display: flex; align-items: baseline; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-b); text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.cm-list a:hover, .cm-list a:focus-visible { border-color: var(--hl); background: rgba(255, 79, 139, .1); transform: translateX(4px); }
.cm-list a.on { border-color: rgba(255, 79, 139, .6); }
.cm-n { font: 800 15px var(--display); color: var(--hl); min-width: 26px; }
.cm-t { font: 800 clamp(18px, 2.4vw, 24px)/1.1 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.cm-meth { display: inline-block; margin-top: 22px; color: var(--ink-2); font: 600 15px var(--display); text-decoration: none; border-bottom: 1px solid var(--rule); }
body.menu-open { overflow: hidden; }
@media (max-width: 600px) { .cm-list { grid-template-columns: 1fr; } .cm-list a { padding: 13px 16px; } }

/* chapter rail (wide screens) */
.rail { display: none; }
@media (min-width: 1360px) {
  .rail { display: flex; flex-direction: column; gap: 4px; position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 15; }
  .rail a { display: flex; align-items: center; gap: 10px; height: 26px; text-decoration: none; color: var(--ink-3); }
  .rail a i { display: block; width: 14px; height: 2px; border-radius: 2px; background: currentColor; opacity: .55; transition: width .25s, background .25s, opacity .25s; }
  .rail a span { font: 700 12px var(--display); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; pointer-events: none; background: rgba(5, 7, 32, .85); padding: 4px 8px; border-radius: 6px; }
  .rail a span b { color: var(--hl); }
  .rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: none; }
  .rail a.on { color: #fff; }
  .rail a.on i { width: 30px; background: var(--hl); opacity: 1; box-shadow: 0 0 10px rgba(255, 79, 139, .8); }
  .rail a:not(.on) span { color: var(--ink-2); }
  body:not(.scrolled) .rail a:not(:hover) span { opacity: 0; }
}

/* ---------- page + chapters ---------- */
html.v2 .page { max-width: 700px; padding: 0 22px 60px; }
html.v2 .page p, html.v2 .page li { font-family: var(--sans); font-size: 18px; line-height: 1.65; color: var(--ink-2); }
html.v2 .page h2 { font-family: var(--display); }
.bleed, .ch-head .poster, .hero-t, html.v2 .tl-cols, html.v2 .tl-res, html.v2 .tl-fn, html.v2 .tl-src, html.v2 .fig.wide {
  margin-left: calc(50% - min(580px, 50vw - 22px)) !important; margin-right: calc(50% - min(580px, 50vw - 22px)) !important; width: auto !important; max-width: none !important; }
html.v2 .fig.wide { margin-inline: calc((100% - min(1160px, calc(100vw - 44px))) / 2); width: min(1160px, calc(100vw - 44px)); padding: 0; }
.ch { position: relative; padding: 110px 0 30px; }
.ch + .ch::before { content: ""; position: absolute; top: 40px; left: 50%; width: min(1160px, calc(100vw - 44px)); transform: translateX(-50%); height: 1px; background: linear-gradient(90deg, transparent, var(--rule) 20%, var(--rule) 80%, transparent); }
.ch-head { margin: 0 0 30px; }
.ch-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ch-num { font: 900 15px/1 var(--display); color: #fff; background: var(--hl); border-radius: 8px; padding: 6px 9px; box-shadow: 0 6px 22px rgba(255, 79, 139, .45); }
.ch-kick { font: 700 13px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.poster { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.012em; line-height: .96; color: #fff; margin: 0; text-wrap: balance; }
.ch-head .poster { font-size: clamp(36px, 6.4vw, 76px); width: min(1160px, calc(100vw - 44px)); margin-inline: calc((100% - min(1160px, calc(100vw - 44px))) / 2); }
.poster em { font-style: normal; color: var(--hl); text-shadow: 0 0 34px rgba(255, 79, 139, .35); }
.ch-sub { font: 500 20px/1.45 var(--sans) !important; color: var(--ink-2) !important; margin: 18px 0 0; max-width: 40ch; }

/* reveal on scroll */
html.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .rv { opacity: 1; transform: none; transition: none; } .glow { animation: none !important; } }

/* ---------- 01 hero ---------- */
.ch-hero { padding-top: 0; }
.hero { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 5vh, 64px) 0 clamp(8px, 2vh, 24px); }
.hero-fx { position: absolute; inset: -40px calc((100% - 100vw) / 2) -60px; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity 1.2s ease;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 70px, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 70px, #000 78%, transparent 100%); }
.hero-fx.on { opacity: 1; }
.hero-fx canvas { display: block; }
.hero-in { position: relative; }
.hero-in { position: relative; text-align: center; }
.hero-in .hero-dek, .hero-in .dateline { margin-inline: auto !important; }
.hero-kick { font: 700 13px var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--hl-ink); margin-bottom: 18px; }
html.v2 .page h1.hero-t { font-size: clamp(56px, min(12.5vw, 17.5vh), 176px); line-height: .84; margin-top: 0; margin-bottom: 0; letter-spacing: -.02em; }
.hero-t span { display: inline-block; }
.hero-t em { display: inline-block; background: linear-gradient(100deg, #ff4f8b 10%, #ff9cc1 45%, #ff4f8b 80%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s ease-in-out infinite; text-shadow: none; }
@keyframes shine { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
html.v2 .hero-dek { font: 400 21px/1.5 var(--sans); color: var(--ink-2); max-width: 36em; margin: 28px 0 14px; }
html.v2 .dateline { border-top: 1px solid var(--rule); color: var(--ink-3); font-size: 13.5px; margin: 0; padding-top: 12px; max-width: 36em; }
html.v2 .dl-upd { color: var(--ink); }
.hero-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px; color: var(--ink-3); text-decoration: none; font: 700 12px var(--display); letter-spacing: .2em; text-transform: uppercase; }
.hero-cue i { width: 22px; height: 36px; border: 2px solid var(--ink-3); border-radius: 12px; position: relative; }
.hero-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--hl); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* newcomers */
.nc { padding-top: 8px; }
.nc-hero { display: flex; align-items: center; gap: 26px; margin-bottom: 34px; }
.nc-n { font: 900 clamp(120px, 20vw, 220px)/.8 var(--display); color: var(--win); letter-spacing: -.04em; text-shadow: 0 0 60px rgba(47, 209, 122, .35); font-variant-numeric: tabular-nums; }
.nc-l .poster { font-size: clamp(30px, 4.6vw, 54px); }
.nc-l p { margin: 10px 0 0; font-size: 17px !important; color: var(--ink-3) !important; }
html.v2 .tl-cols { width: min(1160px, calc(100vw - 44px)); margin-inline: calc((100% - min(1160px, calc(100vw - 44px))) / 2); gap: 18px; }
html.v2 .tl-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1099px) { html.v2 .tl-cols { grid-template-columns: minmax(0, 1fr); } }
html.v2 .tl-col { min-width: 0; }
html.v2 .tl-col h3 { overflow-wrap: anywhere; }
html.v2 .tl-col { background: var(--card); border: 1px solid var(--card-b); border-radius: 22px; padding: 22px 22px 10px; }
html.v2 .tl-col h3 { font: 800 15px var(--display); letter-spacing: .14em; color: var(--ink-2); border-bottom: 1px solid var(--rule); padding-bottom: 12px; }
html.v2 .tl-col h3 .tl-cn { font: 900 30px var(--display); color: var(--win); vertical-align: -4px; margin-inline-end: 6px; }
html.v2 .tl-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
html.v2 .tl-list li { min-width: 0; }
html.v2 .tl-w { overflow-wrap: anywhere; }
html.v2 .tl-list li { padding: 8px 0; border: 0; }
html.v2 .tl-list .av { width: 50px; height: 50px; box-shadow: 0 0 0 3px var(--win), 0 0 18px rgba(47, 209, 122, .35); background: var(--empty2); color: var(--win-ink); font: 800 15px var(--display); }
html.v2 .tl-n b { font: 700 16px var(--display); color: #fff; }
html.v2 .tl-seat { font: 700 10.5px var(--display); color: var(--ink-3); letter-spacing: .08em; }
/* RTL: the seat tag is an LTR run, so put its separator dot on the side that faces the name */
[dir="rtl"] .tl-n .tl-seat::before { content: none; }
[dir="rtl"] .tl-n .tl-seat::after { content: "·"; margin: 0 .45em; font-weight: 400; }
[dir="rtl"] .topline .tl-n .tl-seat::after { content: none; }
html.v2 .tl-o { font-size: 13.5px; color: var(--ink-3); }
html.js .nc-body .tl-list li { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i, 0) * 50ms); }
html.js .nc-body.in .tl-list li, html.js .nc-body .rv.in .tl-list li { opacity: 1; transform: none; }
html.v2 .tl-res { width: min(1160px, calc(100vw - 44px)); margin-inline: calc((100% - min(1160px, calc(100vw - 44px))) / 2); background: var(--card); border: 1px solid var(--card-b); border-radius: 22px; padding: 6px 22px; margin-top: 18px; }
html.v2 .tl-rr { border-color: var(--rule); }
html.v2 .tl-rr:last-child { border-bottom: 0; }
html.v2 .tl-rr dt { font: 800 13px var(--display); letter-spacing: .14em; color: var(--ink-2); }
html.v2 .tl-rr dt .tl-cn { font: 900 22px var(--display); color: #fff; }
html.v2 .tl-rn b { font: 700 15.5px var(--display); color: #fff; }
html.v2 .tl-st-lead { color: var(--win-ink); } html.v2 .tl-st-trail { color: var(--amber); }
html.v2 .tl-fn { width: min(1160px, calc(100vw - 44px)); margin-inline: calc((100% - min(1160px, calc(100vw - 44px))) / 2); color: var(--ink-3) !important; font-size: 13px !important; }
@media (max-width: 760px) { html.v2 .tl-list { grid-template-columns: 1fr; } .nc-hero { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* ---------- 02 money ---------- */
.pks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 18px; }
.pk { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--card-b); border-radius: 22px; padding: 22px 22px 20px; }
.pk::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 79, 139, .22), transparent 70%); }
.pk-w::after { background: radial-gradient(circle, rgba(47, 209, 122, .2), transparent 70%); }
.pk-v { font: 900 clamp(44px, 5.6vw, 68px)/1 var(--display); color: var(--hl); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pk-w .pk-v { color: var(--win); }
.pk-l { margin-top: 10px; font: 500 15.5px/1.4 var(--sans); color: var(--ink-2); max-width: 26ch; }
.beat { margin: 6px 0 36px; }
.beat-bar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: rgba(255, 77, 94, .85); }
.beat-bar .b-w { width: 0; background: linear-gradient(90deg, #1fb866, #2fd17a); box-shadow: 0 0 18px rgba(47, 209, 122, .5); transition: width 1.6s cubic-bezier(.2, .7, .2, 1) .2s; }
.beat.in .b-w, html:not(.js) .beat .b-w { width: var(--w); }
.beat-leg { display: flex; justify-content: space-between; gap: 18px; margin-top: 10px; font-size: 15px; color: var(--ink-2); flex-wrap: wrap; }
.beat-leg b { font: 800 18px var(--display); color: #fff; }
.beat-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-end: 8px; vertical-align: 1px; }
.sw-w { background: var(--win); } .sw-l { background: var(--lose); }
.pi2 { margin: 10px 0 0; padding: 26px 26px 18px; background: rgba(6, 8, 38, .55); border: 1px solid var(--card-b); border-radius: 26px; }
.pi2 > .hed { font: 900 clamp(22px, 2.6vw, 30px)/1.1 var(--display) !important; text-transform: uppercase; letter-spacing: -.005em; }
.pi2-ctl { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 14px 0 12px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--rule); }
.seg button { font: 700 13.5px var(--display); letter-spacing: .01em; color: var(--ink-2); background: transparent; border: 0; border-radius: 999px; padding: 8px 14px; min-height: 36px; cursor: pointer; transition: background .2s, color .2s; }
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { background: var(--hl); color: #fff; box-shadow: 0 4px 16px rgba(255, 79, 139, .45); }
.seg button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.pi2-leg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font: 600 13.5px var(--display); color: var(--ink-2); margin-bottom: 4px; }
.lg-i { display: inline-flex; align-items: center; gap: 8px; }
.lg-sw { width: 14px; height: 14px; border-radius: 4px; }
.lg-ring { width: 13px; height: 13px; border-radius: 50%; border: 3px solid; }
.lg-gap { flex: 0 0 8px; }
.pi2-box svg { display: block; width: 100%; height: auto; overflow: visible; }
.pi2-ax line { stroke: var(--grid); }
.pi2-ax text { fill: var(--ink-3); font: 600 12px var(--display); }
.pc { cursor: pointer; outline: none; }
.pc .bar-o, .pc .bar-i { transition: filter .2s; }
.pc-v { fill: #fff; font: 800 15px var(--display); paint-order: stroke; stroke: rgba(5, 7, 32, .7); stroke-width: 3px; }
.pc-n { fill: #fff; font: 700 12px var(--display); }
.pc-s { fill: var(--ink-3); font: 700 10px var(--display); letter-spacing: .06em; }
.pc .av-bg { fill: var(--empty2); }
.pc .av-ring { stroke-width: 3px; }
.pc-w .av-ring { filter: drop-shadow(0 0 5px rgba(47, 209, 122, .7)); }
html.v2 { --lost-ring: rgba(185, 189, 240, .45); }
.pc-l .av-ring { stroke-width: 2px; }
.pc-l .pc-av image { filter: saturate(.35) brightness(.9); }
.pc-l:hover .pc-av image, .pc-l:focus-visible .pc-av image { filter: none; }
.pc .av-ini { fill: var(--ink-2); font-family: var(--display); font-weight: 800; }
.pc-av { transition: transform .2s; }
.hov .pc { opacity: .45; transition: opacity .2s; }
.hov .pc.on { opacity: 1; }
.pc.on .bar-o, .pc:focus-visible .bar-o { filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 79, 139, .6)); }
.pc:focus-visible .av-ring { stroke: #fff; }
.pi2-note, .pi2-none { margin: 10px 0 0 !important; }
@media (max-width: 760px) {
  .pks { grid-template-columns: 1fr; gap: 12px; }
  .pi2 { padding: 18px 14px 14px; border-radius: 20px; }
  .seg button { padding: 7px 11px; font-size: 12.5px; }
  .pc-n { font-size: 13.5px; } .pc-s { font-size: 10.5px; } .pc-v { font-size: 14px; }
}

/* ---------- 04 impact ---------- */
.imp { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; margin: 6px 0 8px; }
.imp-c { position: relative; background: var(--card); border: 1px solid var(--card-b); border-radius: 22px; padding: 24px 22px; overflow: hidden; }
.imp-v { font: 900 clamp(40px, 5vw, 64px)/1 var(--display); color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.imp-don .imp-v { color: var(--win); }
.imp-l { margin-top: 10px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.imp-l b.up { color: var(--win-ink); }
.imp-c .tl-spark { margin-top: 14px; }
.imp-ic { position: absolute; right: 18px; bottom: 16px; width: 54px; height: 54px; opacity: .22; background: var(--hl); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.ic-phone { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.ic-door { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 21V4c0-.6.4-1 1-1h12c.6 0 1 .4 1 1v17h2v2H3v-2zm10-10v2h2v-2z'/%3E%3C/svg%3E"); }
html.v2 .tl-src { width: min(1160px, calc(100vw - 44px)); margin-inline: calc((100% - min(1160px, calc(100vw - 44px))) / 2); font-size: 12.5px !important; color: var(--ink-3) !important; }
html.v2 .tl-spark .sp-bar { fill: var(--ctx); }
html.v2 .tl-spark .sp-a .sp-bar { fill: var(--win); }
html.v2 .tl-spark text { fill: var(--ink-3); font-family: var(--display); }
html.v2 .tl-spark .tl-sp-c, html.v2 .tl-spark .tl-sp-a { fill: var(--win-ink); }
@media (max-width: 860px) { .imp { grid-template-columns: 1fr; } }

/* ---------- shared: test cards, figures, text ---------- */
html.v2 .keys { gap: 16px; margin: 6px 0 10px; }
html.v2 .key { background: var(--card); border: 1px solid var(--card-b); border-top: 0; border-radius: 22px; padding: 22px; }
html.v2 .key .v { font: 900 64px/1 var(--display); color: var(--hl); letter-spacing: -.03em; }
html.v2 .key .v small { font: 700 22px var(--display); color: var(--ink-3); }
html.v2 .key .l { font: 700 17px/1.3 var(--display); color: #fff; margin-top: 10px; }
html.v2 .key .t { font-size: 13.5px; color: var(--ink-3); line-height: 1.45; }
html.v2 .why summary { color: var(--hl-ink); font-family: var(--display); }
html.v2 .fig { margin: 30px 0 36px; }
html.v2 .fig .hed { font: 800 23px/1.2 var(--display); color: #fff; letter-spacing: -.005em; }
html.v2 .fig .chat { font-family: var(--sans); font-size: 15px; color: var(--ink-2); }
html.v2 .fig .src { font-family: var(--sans); color: var(--ink-3); font-size: 12.5px; }
html.v2 .fig.wide:not(.pi2), html.v2 .fig.wide.pi2 { background: rgba(6, 8, 38, .5); border: 1px solid var(--card-b); border-radius: 26px; padding: 26px; }
html.v2 .panel-t { font: 800 15px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
html.v2 .lab { fill: var(--ink-2); font-family: var(--display); }
html.v2 .lab.dark { fill: #fff; }
html.v2 .lab.hl { fill: var(--hl-ink); }
html.v2 .ax text { fill: var(--ink-3); font-family: var(--display); }
html.v2 .ax line, html.v2 .ax path { stroke: var(--grid); }
html.v2 .ax .domain { display: none; }
html.v2 details summary { color: var(--ink-3); font-family: var(--display); font-weight: 600; cursor: pointer; }
html.v2 .tablewrap table { color: var(--ink-2); }
html.v2 .tablewrap th { color: #fff; border-color: var(--rule); }
html.v2 .tablewrap td { border-color: var(--rule); }
html.v2 .pq { border-inline-start: 0; padding: 30px 0; margin: 40px 0; text-align: left; position: relative; }
html.v2 .pq::before { content: "“"; position: absolute; top: -40px; left: -6px; font: 900 140px/1 var(--display); color: var(--hl); opacity: .9; }
html.v2 .pq p { font: 900 clamp(28px, 4vw, 42px)/1.12 var(--display) !important; text-transform: uppercase; color: #fff !important; letter-spacing: -.01em; }
html.v2 .tip { background: rgba(10, 13, 54, .97); color: #fff; border: 1px solid rgba(255, 79, 139, .55); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); font-family: var(--sans); font-size: 13.5px; padding: 10px 12px; }
html.v2 .tip b { font-family: var(--display); }
.tip-seat { color: var(--ink-3); font: 700 11px var(--display); letter-spacing: .06em; }
.tip-res { font: 700 11.5px var(--display); letter-spacing: .04em; text-transform: uppercase; }
.tip-w { color: var(--win-ink); } .tip-l { color: var(--lose); } .tip-p { color: var(--amber); }
.tip-rank { color: var(--ink-3); font-size: 12px; }
html.v2 .sb-head { border-color: var(--rule); color: var(--ink-3); font-family: var(--display); }
html.v2 .sb-row { border-color: var(--rule); }
html.v2 .sb-name b { font-family: var(--display); color: #fff; }
html.v2 .sb-bar { background: linear-gradient(90deg, #1fb866, #2fd17a); border-radius: 0 6px 6px 0; box-shadow: 0 0 14px rgba(47, 209, 122, .35); }
html.v2 .sb-val { font-family: var(--display); font-weight: 800; color: var(--win-ink); }
html.v2 .sb-av { box-shadow: 0 0 0 2px var(--win); }
html.v2 .sb-tick { border-color: var(--grid); }
html.v2 .sb-tick:first-child { border-color: var(--ink-3); }
html.v2 .to-map b { border-bottom-color: rgba(255, 255, 255, .35); }

/* map */
html.v2 .mapbox { background: rgba(6, 8, 38, .4); border-radius: 18px; }
html.v2 .mappanel { background: var(--card); border: 1px solid var(--card-b); border-radius: 18px; }
html.v2 .mp-hint { color: var(--ink-3) !important; }
html.v2 .mapselect { background: var(--navy-2); color: #fff; border: 1px solid var(--rule); border-radius: 999px; padding: 8px 14px; font-family: var(--display); }
html.v2 .mp-watch { background: rgba(255, 255, 255, .05); border-color: var(--rule); }
html.v2 .mdot circle { transition: r .2s; }
html.v2 .gen-sum { color: var(--ink-2); }
html.v2 .gen-w { color: var(--win-ink); }

/* scrollytelling */
html.v2 .scrolly .step { background: rgba(10, 13, 54, .92); border: 1px solid var(--card-b); border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); color: #fff; font-family: var(--sans); backdrop-filter: blur(6px); }
html.v2 mark.hlm { background-image: linear-gradient(to right, rgba(255, 79, 139, .45), rgba(255, 79, 139, .45)); color: #fff; }
html.v2 .st-n { background: var(--hl); color: #fff; }
html.v2 .st-step { border-color: var(--rule); }

/* credits + footer */
html.v2 .credits { background: var(--card); border: 1px solid var(--card-b); border-top: 4px solid var(--hl); border-radius: 22px; margin-top: 10px; }
html.v2 .credits .kick { display: none; }
html.v2 .credits h2 { font: 900 30px/1.1 var(--display); text-transform: uppercase; }
html.v2 .credits li { border-top-color: var(--rule); }
html.v2 .credits li b { font-family: var(--display); color: #fff; }
html.v2 .credits li a { color: var(--hl-ink); }
html.v2 .special { background: var(--card); border: 1px solid var(--card-b); border-radius: 18px; }
html.v2 .special a { color: var(--hl-ink); }
html.v2 .donate { border-color: var(--rule); }
html.v2 .donate-btn { background: var(--hl); color: #fff; border-color: var(--hl); border-radius: 999px; font-family: var(--display); }
html.v2 .foot { border-color: var(--rule); color: var(--ink-3); }
html.v2 .foot-logo.only-light { display: none; }
html.v2 .foot-logo.only-dark { display: inline-block; }

/* methods page */
html.v2 #view-methods .page, html.v2 #view-assets .page { padding-top: 50px; }
html.v2 #view-methods h1, html.v2 #view-assets h1 { font: 900 clamp(40px, 6vw, 72px)/.96 var(--display); text-transform: uppercase; }
html.v2 #view-methods h2 { font: 800 24px var(--display); text-transform: uppercase; }

/* ---------- pass 1 fixes ---------- */
.ch-head { text-align: center; }
.ch-meta { justify-content: center; }
.ch-sub { margin-inline: auto !important; }
.ch-head .poster { text-wrap: balance; }
html.v2 .pq p { font-size: clamp(24px, 3.2vw, 36px) !important; }
html.v2 .pq { text-align: center; }
html.v2 .pq::before { left: 50%; transform: translateX(-50%); top: -54px; }
.ch-ab .ab-head { display: none; }
html.v2 .ab-dek { text-align: center; }
html.v2 .tl-list li .av { transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s; }
html.v2 .tl-list li:hover .av { transform: scale(1.12) rotate(-3deg); box-shadow: 0 0 0 3px var(--win), 0 0 26px rgba(47, 209, 122, .6); }
@media (max-width: 640px) {
  html.v2 .top { padding: 8px 12px; gap: 10px; }
  html.v2 .nav { display: none; }
  .chap-btn { flex: 1; max-width: none; justify-content: flex-start; }
  .chap-i { margin-inline-start: auto; }
  html.v2 .dateline { display: flex; flex-direction: column; gap: 2px; align-items: center; }
  html.v2 .dateline .dl-upd { border: 0; padding: 0; margin: 0; }
  .ch { padding-top: 84px; } .ch.ch-hero { padding-top: 0; }
}
/* pictograms */
.picto { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 16px; }
.picto i { width: 15px; height: 15px; background: var(--hl); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; opacity: 0; transform: scale(.4); transition: opacity .3s ease, transform .4s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--i) * 28ms + .3s); }
.rv.in .picto i, html:not(.js) .picto i { opacity: .95; transform: none; }
.picto-ph i { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.picto-dr i { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 21V4c0-.6.4-1 1-1h12c.6 0 1 .4 1 1v17h2v2H3v-2zm10-10v2h2v-2z'/%3E%3C/svg%3E"); background: var(--rival); }
.picto-n { margin: 8px 0 0 !important; font-size: 12px !important; color: var(--ink-3) !important; }

/* ---------- pass 2: motion ---------- */
.bgfx { background-position: 0 var(--py, 0), 0 0, 0 0; }
.poster .w { display: inline-block; }
html.js .rv .poster .w, html.js .poster.rv .w { opacity: 0; transform: translateY(.42em) rotate(2deg); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 55ms + .05s); }
html.js .rv.in .poster .w, html.js .poster.rv.in .w { opacity: 1; transform: none; }
html.js .poster.hero-t .w { transition-delay: calc(var(--i) * 110ms + .15s); }
.ch-num { display: inline-block; transition: transform .6s cubic-bezier(.3, 1.6, .5, 1) .1s; }
html.js .ch-head:not(.in) .ch-num { transform: scale(.4) rotate(-12deg); }
html.js .fig.rvf { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
html.js .fig.rvf.in { opacity: 1; transform: none; }
html.js .fig.rvf .sb-bar { transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
html.js .fig.rvf .sb-row:nth-of-type(2) .sb-bar { transition-delay: .1s; } html.js .fig.rvf .sb-row:nth-of-type(3) .sb-bar { transition-delay: .2s; }
html.js .fig.rvf .sb-row:nth-of-type(4) .sb-bar { transition-delay: .3s; } html.js .fig.rvf .sb-row:nth-of-type(5) .sb-bar { transition-delay: .4s; } html.js .fig.rvf .sb-row:nth-of-type(6) .sb-bar { transition-delay: .5s; }
html.js .fig.rvf.in .sb-bar { transform: none; }
html.js .fig.rvf .sb-val { opacity: 0; transition: opacity .5s ease 1s; } html.js .fig.rvf.in .sb-val { opacity: 1; }
html.js .fig.rvf .mdot circle { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--i) * 22ms + .3s); }
html.js .fig.rvf.in .mdot circle { transform: none; }
html.v2 .mdot:hover circle, html.v2 .mdot.on circle { stroke: #fff; stroke-width: 2.5px; }
.hero-in { transform: translate(calc(var(--mx, 0) * 8px), calc(var(--my, 0) * 6px)); transition: transform .5s ease-out; }
.to-top-p { text-align: center; margin: 36px 0 0 !important; }
.to-top { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--rule); color: #fff; text-decoration: none; font: 700 14px var(--display); letter-spacing: .04em; text-transform: uppercase; transition: border-color .2s, background .2s; }
.to-top:hover { border-color: var(--hl); background: rgba(255, 79, 139, .12); }
@media (prefers-reduced-motion: reduce) { html.js .fig.rvf, html.js .fig.rvf.in { opacity: 1; transform: none; } html.js .rv .poster .w { opacity: 1; transform: none; } html.js .fig.rvf .sb-bar, html.js .fig.rvf .mdot circle { transform: none; } }

/* ---------- pass 3 ---------- */
@media (max-width: 760px) {
  .nc-hero { align-items: center; text-align: center; gap: 0; }
  .nc-n { font-size: 132px; }
  .nc-l .poster { font-size: 34px; }
  .hero { padding: 22px 0 0; }
  html.v2 .hero-dek { font-size: 16.5px; line-height: 1.45; margin: 18px 0 10px; }
  .hero-kick { margin-bottom: 12px; font-size: 12px; }
  .pk-v, .imp-v { font-size: 48px; }
  html.v2 .key .v { font-size: 56px; }
}
.picto i { width: 17px; height: 17px; }
.cm-list a { height: 100%; align-items: center; }
body.on-methods .rail { display: none; }

/* ---------- readability + spacing fixes (Nov 7) ---------- */
html.v2 .lab, html.v2 .ab svg text.lab, html.v2 .ab svg .ab-note, html.v2 .ab svg .ab-ctxl { stroke: #070a2c; stroke-width: 3px; stroke-opacity: .85; }
html.v2 .mappanel { padding: 20px 22px 22px; border-top: 0; }
html.v2 .mappanel h3 { font: 800 26px/1.15 var(--display); color: #fff; margin: 14px 0 4px; }
html.v2 .mp-badge { border-radius: 999px; padding: 4px 10px; font-family: var(--display); letter-spacing: .06em; }
html.v2 .mp-office { color: var(--ink-3) !important; margin-bottom: 14px !important; }
html.v2 .mp-row { color: var(--ink-2) !important; margin: 6px 0 !important; }
html.v2 .mp-row b { color: #fff; }
html.v2 .mp-stats { margin: 14px 0 !important; }
html.v2 .mp-stats li { border-top-color: var(--rule); padding: 9px 0 !important; color: var(--ink-2) !important; }
html.v2 .mp-watch { margin-top: 14px; padding: 12px 14px; background: rgba(255, 79, 139, .1); border: 1px solid rgba(255, 79, 139, .45); border-radius: 14px; color: #fff; }
html.v2 .mp-watch:hover { background: rgba(255, 79, 139, .2); border-color: var(--hl); }
html.v2 .mp-watch .mp-wl i { color: #fff; }
html.v2 .mp-watch span { color: var(--ink-2); opacity: 1; margin-top: 6px; }
html.v2 .mp-watch .mp-tag { color: var(--ink-2); border-color: var(--rule); }
html.v2 .mp-hint { margin: 0 !important; line-height: 1.5 !important; }
html.v2 .mapwrap { grid-template-columns: 1fr 300px; gap: 20px; }
@media (max-width: 820px) { html.v2 .mapwrap { grid-template-columns: 1fr; } }

/* Methods: money tables */
html.v2 .page h3 { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: #fff; margin: 1.8em 0 .5em; letter-spacing: -.01em; }
html.v2 .page .tl-col h3 { margin-top: 0; }
html.v2 .page .tablewrap { margin: .4rem 0 1rem; border: 1px solid var(--rule); border-radius: 12px; background: rgba(255,255,255,.025); -webkit-overflow-scrolling: touch; }
html.v2 .m-tbl { width: 100%; margin: 0; border-collapse: collapse; font-size: .84rem; font-variant-numeric: tabular-nums; }
html.v2 .m-tbl th, html.v2 .m-tbl td { padding: .55em .8em; text-align: start; border-bottom: 1px solid var(--rule); vertical-align: top; }
html.v2 .m-tbl th { font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; line-height: 1.25; background: #0c1040; vertical-align: bottom; min-width: 6.5rem; white-space: normal; }
html.v2 .m-tbl th:first-child { min-width: 0; }
html.v2 .m-tbl th.num { text-align: right; }
@media (min-width: 1000px) { html.v2 .page .tablewrap.m-wide { margin-left: calc(50% - min(470px, 50vw - 30px)); margin-right: calc(50% - min(470px, 50vw - 30px)); } }
html.v2 .m-tbl .num { text-align: end; }
html.v2 .m-tbl td.num { white-space: nowrap; }
html.v2 .m-tbl th.num { max-width: 8.5rem; }
@media (max-width: 999px) { html.v2 .m-tbl th:first-child, html.v2 .m-tbl td:first-child { position: sticky; inset-inline-start: 0; z-index: 1; background: #0b0f3c; } html.v2 .m-tbl tbody tr:hover td:first-child { background: #1a1650; } }
html.v2 .m-tbl td:first-child { white-space: nowrap; color: #fff; font-weight: 600; }
html.v2 .m-tbl tbody tr:hover td { background: rgba(255,79,139,.07); }
html.v2 .m-tbl tfoot td { border-bottom: 0; border-top: 2px solid var(--hl); color: #fff; }
html.v2 .m-tbl td:last-child:not(.num) { white-space: nowrap; }
html.v2 .m-tbl .m-why { display: block; white-space: normal; min-width: 18rem; text-align: start; color: var(--ink-2); }
html.v2 .m-tbl td:has(.m-why) { white-space: normal; }
html.v2 .page p.note { font-size: .85rem; color: var(--ink-3, var(--ink-2)); }

/* short phones: keep the newcomers count peeking into the first screen */
@media (max-width: 760px) and (max-height: 720px) { .hero { padding-top: 12px; } html.v2 .hero-dek { font-size: 15.5px; margin: 14px 0 8px; } html.v2 .page h1.hero-t { font-size: 50px; } }

/* Track AIPAC credit on the pro-Israel chart */
html.v2 .fig .src-ta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.ta-logo { flex: none; display: block; opacity: .9; transition: opacity .2s, transform .2s; }
.ta-logo:hover { opacity: 1; transform: scale(1.05); }
.ta-logo img { display: block; height: 40px; width: auto; }
@media (max-width: 760px) { .ta-logo img { height: 34px; } }

/* PBS mark: site pinks, with a colour wave when the page loads (and again on hover) */
html.v2 .brand-logo { aspect-ratio: 144.44 / 70.91; overflow: visible; }
.pbs-h { fill: #ff9cc1; } .pbs-b { fill: #d6306c; } .pbs-s { fill: #ff4f8b; }
.pbs-anim .pbs-h { animation: pbs-h 1.15s .15s cubic-bezier(.3, .7, .2, 1) both; }
.pbs-anim .pbs-b { animation: pbs-b 1.15s .32s cubic-bezier(.3, .7, .2, 1) both; }
.pbs-anim .pbs-s { animation: pbs-s 1.15s .49s cubic-bezier(.3, .7, .2, 1) both; }
.pbs-anim { animation: pbs-glow 1.8s .15s ease-out both; }
@keyframes pbs-h { 0% { fill: #2a3196; } 40% { fill: #fff; } 70% { fill: #ffb547; } 100% { fill: #ff9cc1; } }
@keyframes pbs-b { 0% { fill: #2a3196; } 40% { fill: #fff; } 70% { fill: #ff4f8b; } 100% { fill: #d6306c; } }
@keyframes pbs-s { 0% { fill: #2a3196; } 40% { fill: #fff; } 70% { fill: #ff9cc1; } 100% { fill: #ff4f8b; } }
@keyframes pbs-glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 79, 139, 0)); } 45% { filter: drop-shadow(0 0 10px rgba(255, 79, 139, .75)); } }
@media (prefers-reduced-motion: reduce) { .pbs-anim, .pbs-anim .pbs-h, .pbs-anim .pbs-b, .pbs-anim .pbs-s { animation: none; } }

/* ---------- languages ---------- */
html.v2 .v2lang { flex: none; margin-inline-start: 18px; }
html.v2 .v2lang select { appearance: none; -webkit-appearance: none; background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid var(--rule); border-radius: 999px; padding: 7px 14px 7px 32px; font: 600 13px var(--display); cursor: pointer; transition: border-color .2s, background .2s; }
html.v2 .v2lang select:hover, html.v2 .v2lang select:focus-visible { border-color: var(--hl); background: rgba(255, 79, 139, .12); outline: none; }
html.v2 .v2lang .globe { color: var(--ink-2); inset-inline-start: 11px; }
html.v2 .v2lang option { color: #fff; background: #0c1040; }
@media (max-width: 760px) { html.v2 .v2lang { margin-inline-start: 8px; } html.v2 .v2lang select { padding: 7px 10px 7px 28px; font-size: 12.5px; } html.v2 .v2lang .globe { inset-inline-start: 9px; } }
html.lang-loading main { opacity: .35; transition: opacity .2s; }
/* script-specific type: Latin display fonts keep the numbers, the script font takes the words.
   Set on every element (not just <html>) so the old site's per-language font rules in styles.css can't override them. */
html.v2:lang(vi), html.v2 :lang(vi) { --display: "Be Vietnam Pro", "Outfit", Arial, sans-serif; --sans: "Be Vietnam Pro", "Figtree", Arial, sans-serif; --serif: var(--display); }
html.v2:lang(ru), html.v2 :lang(ru) { --display: "Onest", "Outfit", Arial, sans-serif; --sans: "Onest", "Figtree", Arial, sans-serif; --serif: var(--display); }
html.v2:lang(hy), html.v2 :lang(hy) { --display: "Outfit", "Noto Sans Armenian", Arial, sans-serif; --sans: "Figtree", "Noto Sans Armenian", Arial, sans-serif; --serif: var(--display); }
html.v2:lang(zh-Hans), html.v2 :lang(zh-Hans) { --display: "Outfit", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --sans: "Figtree", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --serif: var(--display); }
html.v2:lang(zh-Hant), html.v2 :lang(zh-Hant) { --display: "Outfit", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; --sans: "Figtree", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; --serif: var(--display); }
html.v2:lang(ja), html.v2 :lang(ja) { --display: "Outfit", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; --sans: "Figtree", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; --serif: var(--display); }
html.v2:lang(ko), html.v2 :lang(ko) { --display: "Outfit", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; --sans: "Figtree", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; --serif: var(--display); }
html.v2:lang(hi), html.v2 :lang(hi) { --display: "Outfit", "Noto Sans Devanagari", sans-serif; --sans: "Figtree", "Noto Sans Devanagari", sans-serif; --serif: var(--display); }
html.v2:is(:lang(ar), :lang(fa), :lang(ur)), html.v2 :is(:lang(ar), :lang(fa), :lang(ur)) { --display: "Outfit", "Noto Sans Arabic", Tahoma, sans-serif; --sans: "Figtree", "Noto Sans Arabic", Tahoma, sans-serif; --serif: var(--display); }
html.v2:is(:lang(tr), :lang(pl), :lang(de), :lang(fr), :lang(es), :lang(it), :lang(pt), :lang(fil)), html.v2 :is(:lang(tr), :lang(pl), :lang(de), :lang(fr), :lang(es), :lang(it), :lang(pt), :lang(fil)) { --serif: var(--display); }
/* letter-spacing breaks joined scripts (Arabic) and conjuncts (Devanagari); tight poster leading clips their marks */
html.v2:is(:lang(ar), :lang(fa), :lang(ur), :lang(hi)) * { letter-spacing: 0 !important; }
html.v2:is(:lang(ar), :lang(fa), :lang(ur), :lang(hi), :lang(vi)) .poster { line-height: 1.18 !important; }
html.v2:is(:lang(ar), :lang(fa), :lang(ur), :lang(hi), :lang(vi)) .page h1.hero-t { line-height: 1.12 !important; }
html.v2:is(:lang(zh-Hans), :lang(zh-Hant), :lang(ja), :lang(ko)) .poster { line-height: 1.08; letter-spacing: 0; }
html.v2 .page h1.hero-t { overflow-wrap: break-word; hyphens: manual; }
.hero-t span em { display: inline; }

/* RTL: chapter rail on the right, language picker padding mirrored */
@media (min-width: 1360px) { html.v2[dir="rtl"] .rail { left: auto; right: 22px; } html.v2[dir="rtl"] .rail a span { transform: translateX(6px); } html.v2[dir="rtl"] .rail a:hover span, html.v2[dir="rtl"] .rail a:focus-visible span { transform: none; } }
html.v2 .v2lang select { padding-left: 14px; padding-right: 14px; padding-inline-start: 32px; }
@media (max-width: 760px) { html.v2 .v2lang select { padding-left: 10px; padding-right: 10px; padding-inline-start: 28px; } }
/* long number words ("Mio.", "млн", "مليون") sit smaller than the digits */
.pk-v small, .imp-v small, .nc-n small, .key .v small { font-size: .5em; font-weight: 800; letter-spacing: 0; margin-inline: .08em; }

/* charts draw in when they reach the screen (transitions live on the .in state, so hiding is instant and only the reveal animates) */
html.js .fig.rvf .an-draw { clip-path: inset(-40px 100% -40px -40px); }
html.js .fig.rvf.in .an-draw { clip-path: inset(-40px -40px -40px -40px); transition: clip-path 1.6s cubic-bezier(.55, 0, .15, 1); transition-delay: calc(.25s + var(--i, 0) * 14ms); }
html.js .fig.rvf .an-pop { transform-box: fill-box; transform-origin: center; transform: scale(0); }
html.js .fig.rvf.in .an-pop { transform: none; transition: transform .55s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(.7s + var(--i, 0) * 38ms); }
html.js .fig.rvf .an-row { opacity: 0; }
html.js .fig.rvf.in .an-row { opacity: 1; transition: opacity .5s ease; transition-delay: calc(.2s + var(--i, 0) * 40ms); }
html.js .fig.rvf .an-fade { opacity: 0; }
html.js .fig.rvf.in .an-fade { opacity: var(--o, 1); transition: opacity .9s ease .15s; }
html.js .fig.rvf .an-lab { opacity: 0; }
html.js .fig.rvf.in .an-lab { opacity: 1; transition: opacity .7s ease 1.7s; }
/* reduced motion: show everything at once. Never set transform here: on SVG, a CSS transform replaces the element's own
   transform attribute, which is what positions each chart row and some labels. */
@media (prefers-reduced-motion: reduce) { html.js .fig.rvf .an-draw { clip-path: none; transition: none; } html.js .fig.rvf .an-pop { transform: none; transition: none; }
  html.js .fig.rvf .an-row, html.js .fig.rvf .an-lab { opacity: 1; transition: none; } html.js .fig.rvf .an-fade { opacity: var(--o, 1); transition: none; } }
/* special thanks card: the Methods-page h3 margin was leaking in */
html.v2 .page .special { padding: 24px 30px 26px; }
html.v2 .page .special h3 { margin: 0 0 12px; font-size: 1.15rem; line-height: 1.2; }
html.v2 .page .special p { gap: 8px 28px; }
@media (max-width: 760px) { html.v2 .page .special { padding: 20px 22px 22px; } }
/* phones: long words and legend labels in some languages pushed the page sideways */
.rec-leg { white-space: normal; }
html.v2 .poster .w { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 760px) { html.v2 .fig .chat > span { white-space: normal !important; display: inline-block; max-width: 100%; margin-bottom: 4px; } }
html.v2 .chap-btn { min-width: 0; }
html.v2 .chap-btn .chap-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* highlights in the scroll stories: glowing green text, no marker box. Lights up when its step becomes active. */
html.v2 .scrolly mark.hlm, html.v2 .scrolly-static mark.hlm, html.v2 .ab .scrolly mark.hlm, html.v2 .ab .scrolly-static mark.hlm {
  background: none; padding: 0; margin: 0; color: inherit; font-weight: 700; text-shadow: 0 0 14px rgba(47, 209, 122, 0);
  transition: color .7s ease .15s, text-shadow .9s ease .15s; }
html.v2 .scrolly mark.hlm.on, html.v2 .scrolly-static mark.hlm.on, html.v2 .ab .scrolly mark.hlm.on, html.v2 .ab .scrolly-static mark.hlm.on {
  color: #5ef0a0; text-shadow: 0 0 14px rgba(47, 209, 122, .55); }
@media (prefers-reduced-motion: reduce) { html.v2 .scrolly mark.hlm, html.v2 .scrolly-static mark.hlm { transition: none; } }

/* Methods: results at a glance. A round badge for each verdict, kept inside the card on phones. */
html.v2 .glance .ok, html.v2 .glance .no { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; line-height: 1; font-weight: 800; }
html.v2 .glance .ok { background: rgba(47, 209, 122, .16); color: var(--win); box-shadow: inset 0 0 0 1px rgba(47, 209, 122, .4); }
html.v2 .glance .no { background: rgba(185, 189, 240, .08); color: var(--ink-3); box-shadow: inset 0 0 0 1px rgba(185, 189, 240, .2); }
html.v2 .glance td.mk { width: 32px; padding-inline-start: 14px; }
@media (max-width: 720px) {
  html.v2 .glance tr { grid-template-columns: 20px auto 1fr; column-gap: 12px; row-gap: 4px; padding: 14px 16px; }
  html.v2 .glance tr:last-child { border-bottom: 0; }
  html.v2 .glance td.mk { width: auto; padding-top: 1px !important; }
  html.v2 .glance td:nth-child(3) { font-variant-numeric: tabular-nums; }
}
/* wide tables: a fade on the right edge while more columns are off screen */
html.v2 .tablewrap.more { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }

/* machine-translation note (non-English pages) */
html.v2 .mt-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); max-width: 36em; margin: 12px 0 0; text-align: start; }
html.v2 .mt-note .mt-i { flex: none; margin-top: 3px; color: var(--ink-2); }
html.v2 .mt-note a { color: var(--ink-2); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255, 79, 139, .6); text-underline-offset: 2px; }
html.v2 .mt-note a:hover { color: var(--hl); }
html.v2 .hero-in p.mt-note { margin: 16px auto 0 !important; justify-content: center; text-align: center; font-size: 12.5px !important; line-height: 1.5 !important; max-width: 36em; font-weight: 500; letter-spacing: 0; }
@media (max-width: 760px) { html.v2 .hero-in p.mt-note { font-size: 12px !important; padding-inline: 8px; } }
html.v2 .page p.mt-note { margin: -4px 0 24px !important; font-size: 13px !important; line-height: 1.5 !important; max-width: 40em; }

/* shareable cards: Shareable assets tab + section below the credits */
html.v2 .nav { gap: 18px; }
.cm-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cm-links .cm-meth { margin-top: 14px; }
.cm-links .cm-meth:first-child { margin-top: 22px; }
.as-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; margin-top: 26px; }
.as-grid.sm { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
.as-card { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.as-img { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 1px solid var(--rule); background: #05061f; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.as-img:hover, .as-img:focus-visible { transform: translateY(-3px); border-color: rgba(255, 79, 139, .7); box-shadow: 0 16px 40px rgba(255, 79, 139, .18); }
.as-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.as-dl, .as-zip { display: inline-flex; align-items: center; gap: 8px; font: 700 13.5px/1 var(--display); letter-spacing: .02em; text-decoration: none; border-radius: 999px; padding: 9px 15px 9px 13px; transition: background .2s, color .2s, border-color .2s; }
.as-dl { color: var(--ink); border: 1px solid var(--rule); background: rgba(143, 160, 255, .06); }
.as-dl:hover, .as-dl:focus-visible { border-color: var(--hl); color: #fff; background: rgba(255, 79, 139, .14); }
.as-zip-p { margin: 28px 0 0 !important; }
.as-zip { color: #fff; background: var(--hl); border: 1px solid var(--hl); font-size: 15px; padding: 12px 20px 12px 17px; }
.as-zip:hover, .as-zip:focus-visible { background: #ff6b9e; }
.share-sec { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--rule); }
.share-sec h2 { font: 900 clamp(30px, 4vw, 44px)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 12px; }
html.v2 .share-sec .as-dek { color: var(--ink-2); max-width: 40em; margin: 0; font-size: 16px; line-height: 1.55; }
.as-page .as-grid { margin-top: 34px; }
@media (max-width: 760px) {
  .as-grid { grid-template-columns: 1fr; gap: 26px; }
  .as-grid.sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .as-grid.sm .as-dl { font-size: 12px; padding: 8px 11px 8px 9px; gap: 6px; }
  .as-grid.sm .as-img { border-radius: 8px; }
  .share-sec { margin-top: 44px; padding-top: 30px; }
}
@media (prefers-reduced-motion: reduce) { .as-img { transition: none; } .as-img:hover { transform: none; } }
html.v2 #view-assets .page { max-width: 1120px; }
html.v2 #view-assets .page .dek, html.v2 #view-assets .page .mt-note { max-width: 40em; }
@media (min-width: 761px) { html.v2 #view-assets .as-grid { gap: 36px 30px; } }
.as-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.as-short { display: none; font-weight: 700; }
/* compact grid (main page): the two buttons stack, so every label shows in every language */
.as-grid.sm .as-acts { flex-direction: column; align-items: flex-start; gap: 7px; max-width: 100%; }
.as-grid.sm .as-dl { font-size: 12.5px; padding: 8px 13px 8px 11px; max-width: 100%; }
.as-grid.sm .as-dl span { white-space: normal; line-height: 1.2; }
.as-grid.sm .as-dl:not(.as-sh) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.as-grid.sm .as-short { display: inline; }
@media (max-width: 760px) { .as-grid.sm .as-dl { font-size: 12px; padding: 7px 11px 7px 9px; gap: 6px; } }

/* language picker: full names in the list; on phones a compact code covers the closed control */
html.v2 .v2lang .lang-cur { display: none; }
@media (max-width: 760px) {
  html.v2 .v2lang .lang-cur { display: inline-block; background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid var(--rule); border-radius: 999px; padding: 7px 10px; padding-inline-start: 28px; font: 600 12.5px var(--display); line-height: 1.2; white-space: nowrap; pointer-events: none; }
  html.v2 .v2lang select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; padding: 0; border: 0; }
  html.v2 .v2lang:focus-within .lang-cur, html.v2 .v2lang:hover .lang-cur { border-color: var(--hl); background: rgba(255, 79, 139, .12); }
  html.v2 .v2lang .globe { z-index: 1; }
}

/* shareable assets: section headings and the vertical (9:16) grid */
.as-sub { font: 900 clamp(22px, 2.6vw, 30px)/1.1 var(--display); text-transform: uppercase; letter-spacing: -.005em; margin: 46px 0 0; padding-top: 26px; border-top: 1px solid var(--rule); }
.as-page .dek + .as-sub, .as-page .mt-note + .as-sub { border-top: 0; padding-top: 0; margin-top: 30px; }
.as-page .as-sub + .as-grid { margin-top: 20px; }
.as-grid.vt { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 16px; }
.as-grid.vt .as-img { aspect-ratio: 9 / 16; }
@media (max-width: 1000px) { .as-grid.vt { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .as-grid.vt { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; } }
.as-vlink { margin: 14px 0 0 !important; }
.as-vlink a { font: 700 15px var(--display); color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(255, 79, 139, .6); text-underline-offset: 3px; }
.as-vlink a:hover { color: var(--hl); }
