:root {
  --empty: #e4e4e4; --empty2: #eeeeee; --tri: #f4f4f4; --win: #2a9d5c; --win-ink: #1f7a47; --adv: #9fd8b3; --adv-ink: #121212; --win-text: #ffffff; --win-soft: rgba(42,157,92,.13); --c-own: #8a63c9; --c-dna: #c9c9c9; --c-dna-ink: #121212; --c-unk: #bdbdbd; --c-step0: #bdbdbd; --spag: #cfcfcf; --land: #f0eeea;
  --bg: #ffffff; --ink: #121212; --ink-2: #333; --ink-3: #727272; --rule: #e2e2e2; --grid: #ececec;
  --hl: #e4572e; --hl-ink: #b23a14; --hl-soft: rgba(228,87,46,.14); --ctx: #c7c7c7; --ctx-ink: #8a8a8a; --rival: #5b6b7f;
  --sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --stage: #121212;
}
:lang(ar) { --sans: "Noto Sans Arabic", "Libre Franklin", sans-serif; --serif: "Noto Naskh Arabic", "Noto Sans Arabic", serif; }
:lang(hi) { --sans: "Noto Sans Devanagari", "Libre Franklin", sans-serif; --serif: "Noto Serif Devanagari", "Noto Sans Devanagari", serif; }
:lang(zh) { --sans: "Libre Franklin", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --serif: "Source Serif 4", "Noto Serif SC", "Songti SC", serif; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.on-wrapped { background: var(--stage); }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 8px; top: 8px; z-index: 99; background: var(--ink); color: #fff; padding: 6px 10px; }
:focus-visible { outline: 2px solid var(--hl); outline-offset: 2px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 10px 20px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
body.on-wrapped .top { background: rgba(18,18,18,.94); border-color: #2a2a2a; color: #f2f2f2; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -0.01em; }
.nav { display: flex; gap: 18px; flex: 1; flex-wrap: wrap; }
.nav a { color: var(--ink-3); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 4px 0; border-bottom: 2px solid transparent; }
body.on-wrapped .nav a { color: #a9a9a9; }
.nav a[aria-current="page"] { color: var(--ink); border-color: var(--ink); }
body.on-wrapped .nav a[aria-current="page"] { color: #fff; border-color: #fff; }
.lang select { background: transparent; color: inherit; border: 1px solid var(--rule); border-radius: 4px; padding: 5px 8px; font: inherit; font-size: 13px; }
body.on-wrapped .lang select { border-color: #3a3a3a; }
.lang option { color: #111; }
.banner { padding: 7px 20px; font-size: 12.5px; color: #5c4a10; background: #fbf4dc; border-bottom: 1px solid #efe3b8; }
body.on-wrapped .banner { color: #d9c88e; background: #1d1a10; border-color: #33301f; }

/* ---------- Wrapped ---------- */
.wrapped { position: relative; max-width: 440px; margin: 18px auto; height: min(800px, calc(100vh - 130px)); min-height: 600px; border-radius: 16px; overflow: hidden; user-select: none; touch-action: pan-y; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.progress { position: absolute; top: 12px; inset-inline: 14px; display: flex; gap: 4px; z-index: 5; }
.progress span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.progress span i { display: block; height: 100%; width: 0; background: #fff; }
.progress span.done i { width: 100%; }
.card { position: absolute; inset: 0; padding: 52px 28px 96px; display: flex; flex-direction: column; justify-content: center; gap: 12px; color: #fff; }
.card[hidden] { display: none; }
.card .kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
:lang(ar) .card .kicker, :lang(hi) .card .kicker, :lang(zh) .card .kicker { letter-spacing: 0; text-transform: none; font-size: 14px; }
.card .big { font-size: clamp(64px, 19vw, 112px); font-weight: 800; line-height: .92; letter-spacing: -0.04em; font-feature-settings: "tnum" 0; }
.card .mid { font-family: var(--serif); font-size: clamp(26px, 7vw, 34px); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
.card .lead { font-size: 18px; line-height: 1.38; max-width: 32ch; margin: 0; }
.card .mini { margin: 6px 0 2px; }
.card .mini svg { display: block; width: 100%; height: auto; overflow: visible; }
.card .mini text { font-family: var(--sans); fill: #fff; }
.card .list { margin: 0; padding: 0; list-style: none; font-size: 16px; }
.card .src { position: absolute; bottom: 66px; inset-inline: 28px; font-size: 11.5px; opacity: .85; }
.card .src a { color: #fff; }
.card .cta { align-self: flex-start; margin-top: 10px; background: #fff; color: #111; border-radius: 999px; padding: 12px 20px; font-weight: 700; text-decoration: none; }
.wctl { position: absolute; bottom: 16px; inset-inline: 16px; display: flex; justify-content: space-between; align-items: center; z-index: 6; }
.wctl button, .wctl a { background: rgba(0,0,0,.28); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; }
.c-1 { background: linear-gradient(160deg, #e4572e, #a8331a); } .c-2 { background: linear-gradient(160deg, #3b3fb6, #20236e); } .c-3 { background: linear-gradient(160deg, #127a5a, #0a4a37); }
.c-4 { background: linear-gradient(160deg, #1d1d1d, #2f2f2f); } .c-5 { background: linear-gradient(160deg, #b8860b, #7a5600); } .c-6 { background: linear-gradient(160deg, #7b2a8c, #4a1656); }
.c-7 { background: linear-gradient(160deg, #0f5ea8, #0a3a6a); }
.tap { position: absolute; top: 40px; bottom: 64px; width: 38%; z-index: 4; background: transparent; border: 0; cursor: pointer; }
.tap.prev { inset-inline-start: 0; } .tap.next { inset-inline-end: 0; width: 62%; }

/* ---------- article pages ---------- */
.page { max-width: 640px; margin: 0 auto; padding: 36px 20px 80px; }
.kick { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hl-ink); }
:lang(ar) .kick, :lang(hi) .kick, :lang(zh) .kick { letter-spacing: 0; text-transform: none; font-size: 14px; }
.page h1 { font-family: var(--serif); font-size: clamp(30px, 5.4vw, 44px); line-height: 1.12; margin: 10px 0 14px; letter-spacing: -0.015em; font-weight: 700; }
.dek { font-family: var(--serif); font-size: 20px; line-height: 1.45; color: var(--ink-2); margin: 0 0 14px; }
.dateline { font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--rule); padding-top: 10px; margin: 18px 0 26px; }
.page h2 { font-family: var(--sans); font-size: 22px; line-height: 1.25; margin: 52px 0 8px; font-weight: 700; letter-spacing: -0.01em; }
.page p, .page li { font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.page ul { padding-inline-start: 22px; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 8px 0 6px; }
.key { border-top: 3px solid var(--ink); padding-top: 10px; }
.key .v { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.key .v small { font-size: 16px; font-weight: 600; color: var(--ink-3); }
.key .l { font-size: 14px; line-height: 1.35; color: var(--ink-2); margin-top: 6px; }
.key .t { font-size: 12px; color: var(--ink-3); margin-top: 6px; line-height: 1.35; }
.note { font-size: 13px !important; color: var(--ink-3) !important; font-family: var(--sans) !important; line-height: 1.45 !important; }

/* charts break out wider than the text column */
.fig { margin: 22px -20px 30px; padding: 0 20px; }
@media (min-width: 980px) { .fig.wide { margin-inline: -150px; } }
.fig .hed { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.3; margin: 0 0 4px; color: var(--ink); }
.fig .chat { font-family: var(--sans); font-size: 14px; line-height: 1.45; color: var(--ink-2); margin: 0 0 12px; }
.fig svg { display: block; width: 100%; height: auto; direction: ltr; overflow: visible; }
.fig .src { font-family: var(--sans); font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.mult { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .mult { grid-template-columns: 1fr; gap: 18px; } .keys { grid-template-columns: 1fr; gap: 14px; } }
.panel-t { font-size: 13px; font-weight: 700; margin: 0 0 4px; }
details { margin-top: 8px; font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
summary { cursor: pointer; }
table { border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: 13px; margin-top: 8px; }
th, td { text-align: start; padding: 6px 8px; border-bottom: 1px solid var(--grid); vertical-align: top; }
th { color: var(--ink-3); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; border-bottom-color: var(--ink); }
td.num, th.num { text-align: end; font-variant-numeric: tabular-nums; }
.tablewrap { overflow-x: auto; }
.cov td { text-align: center; } .cov td:first-child, .cov th:first-child { text-align: start; white-space: nowrap; }
.sq { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.sq.have { background: var(--ink); } .sq.none { border: 1px solid #bbb; } .sq.pend { background: repeating-linear-gradient(45deg, #d9a400 0 2px, #fff 2px 4px); border: 1px solid #d9a400; }

/* svg text */
.ax text, .lab { font-family: var(--sans); font-size: 12px; fill: var(--ink-3); }
.ax path { display: none; } .ax line { stroke: var(--grid); }
.lab { paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.lab.dark { fill: var(--ink); } .lab.b { font-weight: 700; } .lab.hl { fill: var(--hl-ink); font-weight: 700; } .lab.sm { font-size: 11px; }
.ann { font-family: var(--sans); font-size: 12.5px; fill: var(--ink); }
.tip { position: fixed; z-index: 50; pointer-events: none; background: #fff; color: #121212; font-family: var(--sans); font-size: 13px; padding: 7px 10px; border: 1px solid #d0d0d0; border-radius: 3px; max-width: 260px; box-shadow: 0 3px 12px rgba(0,0,0,.12); }
footer.foot { max-width: 640px; margin: 0 auto; padding: 16px 20px 40px; font-size: 12px; color: var(--ink-3); border-top: 1px solid var(--rule); }
@media (max-width: 640px) { .top { gap: 6px 12px; padding: 8px 14px; } .brand { flex: 1; font-size: 17px; } .nav { order: 3; flex: 1 1 100%; gap: 16px; } .page h2 { font-size: 20px; } .page p, .page li { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- scrollytelling: every candidate, one dot ---------- */
.scrolly { position: relative; margin: 28px -20px 10px; }
.scrolly .graphic { position: sticky; top: 92px; height: 58vh; max-height: 720px; display: flex; align-items: center; justify-content: center; z-index: 1; }
.scrolly .graphic svg { width: 100%; height: 100%; display: block; direction: ltr; }
.scrolly .steps { position: relative; z-index: 2; margin-top: -10vh; pointer-events: none; }
.scrolly .step { margin: 0 auto 60vh; max-width: 340px; background: rgba(255,255,255,.96); border: 1px solid var(--rule); box-shadow: 0 2px 12px rgba(0,0,0,.06); padding: 14px 16px; font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--ink); pointer-events: auto; }
.scrolly .step:last-child { margin-bottom: 40vh; }
.scrolly .step b { font-family: var(--sans); }
@media (min-width: 980px) {
  .scrolly { margin-inline: -260px; display: grid; grid-template-columns: 290px 1fr; gap: 30px; }
  .scrolly .steps { margin-top: 0; grid-column: 1; grid-row: 1; }
  .scrolly .graphic { grid-column: 2; grid-row: 1; top: 70px; height: calc(100vh - 90px); }
  .scrolly .step { margin: 0 0 70vh; }
  .scrolly .step:first-child { margin-top: 20vh; }
}
.sc-dot { transition: opacity .4s; }
.sc-g text { font-family: var(--sans); }
.scrolly-static { margin: 26px 0 10px; }
.st-step { border-top: 1px solid var(--rule); padding-top: 12px; margin-bottom: 26px; }
.st-txt { font-family: var(--serif) !important; font-size: 17px !important; margin: 0 0 6px; }
.st-n { display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 700; text-align: center; line-height: 22px; margin-inline-end: 6px; }
.st-step svg { width: 100%; height: auto; display: block; direction: ltr; overflow: visible; }
.reclab { font-family: var(--sans); font-size: 11px; }

.units { display: block; width: 100%; max-width: 180px; height: auto; margin: 8px 0 2px; }
.cov td, .cov th { padding: 4px 8px; }
.cov th { white-space: normal; font-size: 10.5px; letter-spacing: .02em; text-align: center; }
.cov tfoot td { border-top: 1px solid var(--ink); border-bottom: 0; font-size: 12.5px; }
@media (max-width: 640px) { .cov td, .cov th { padding: 4px 4px; } .cov td:first-child { white-space: normal; font-size: 12px; } }
.credits { margin: 64px 0 10px; padding: 26px 26px 18px; background: #faf7f2; border-top: 4px solid var(--hl); }
.credits h2 { font-family: var(--serif) !important; font-size: 28px !important; margin: 6px 0 10px !important; }
.credits p { margin: 0 0 16px; }
.credits ul { list-style: none; padding: 0; margin: 0; }
.credits li { padding: 12px 0; border-top: 1px solid #e8e1d6; font-family: var(--sans) !important; font-size: 16px !important; line-height: 1.4 !important; }
.credits li b { font-size: 17px; }
.credits li a { color: var(--hl-ink); font-weight: 600; text-decoration: none; margin-inline-start: 6px; font-size: 14px; }
.credits li a:hover { text-decoration: underline; }
.credits li span { display: block; color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.mapwrap { display: grid; grid-template-columns: 1fr 260px; gap: 22px; align-items: start; }
.mapbox svg { width: 100%; height: auto; display: block; }
.mdot { cursor: pointer; outline: none; }
.mdot circle { transition: r .15s; }
.mdot:hover circle, .mdot:focus circle { stroke: var(--ink); stroke-width: 2; }
.mdot.on circle { stroke: var(--ink); stroke-width: 3; r: 12; }
.mappanel { border-top: 3px solid var(--ink); padding-top: 12px; min-height: 220px; font-family: var(--sans); }
.mappanel h3 { font-family: var(--serif); font-size: 24px; line-height: 1.15; margin: 8px 0 4px; }
.mp-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; padding: 3px 7px; border-radius: 2px; }
.mp-office { font-size: 14px !important; color: var(--ink-3) !important; margin: 0 0 10px !important; font-family: var(--sans) !important; line-height: 1.4 !important; }
.mp-row { font-size: 14px !important; margin: 4px 0 !important; font-family: var(--sans) !important; color: var(--ink-2) !important; line-height: 1.4 !important; }
.mp-stats { margin: 10px 0 !important; padding: 0 !important; list-style: none; }
.mp-stats li { font-family: var(--sans) !important; font-size: 13.5px !important; color: var(--ink-2) !important; border-top: 1px solid var(--grid); padding: 6px 0 !important; line-height: 1.4 !important; }
.mp-watch { display: block; margin-top: 10px; padding: 10px 12px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; border-radius: 3px; }
.mp-watch span { display: block; font-weight: 400; font-size: 12px; opacity: .8; margin-top: 3px; }
.mp-watch:hover { background: var(--hl-ink); }
.mp-none, .mp-hint { font-size: 14px !important; color: var(--ink-3) !important; font-family: var(--sans) !important; }
.mapselect { margin: 0 0 10px; font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; max-width: 100%; }
@media (max-width: 820px) { .mapwrap { grid-template-columns: 1fr; } .mappanel { min-height: 0; } }
.mp-tag{font-style:normal;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:#e6e6e6;border:1px solid #9a9a9a;border-radius:3px;padding:0 4px;margin-inline-start:4px;white-space:nowrap}
footer.foot { display: flex; align-items: center; gap: 20px; }
footer.foot p { margin: 0; }
.foot-logo { flex: none; width: 120px; height: auto; border-radius: 14px; display: block; }
@media (max-width: 520px) { footer.foot { flex-direction: column; align-items: flex-start; gap: 12px; } }
.keys .units { max-width: 100%; }
mark.hlm { color: inherit; padding: 0 2px; margin: 0 -2px; border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(to right, rgba(228,87,46,.26), rgba(228,87,46,.26)) no-repeat 0 85% / 0% 62%;
  transition: background-size .9s cubic-bezier(.3,.7,.2,1) .15s; }
[dir="rtl"] mark.hlm { background-position: 100% 85%; }
mark.hlm.on { background-size: 100% 62%; }
@media (prefers-reduced-motion: reduce) { mark.hlm { transition: none; } }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 32px; height: 32px; border-radius: 7px; flex: none; display: block; }
@media (max-width: 640px) { .brand-logo { width: 28px; height: 28px; border-radius: 6px; } }
.brand-logo { width: auto; height: 31px; border-radius: 0; }
@media (max-width: 640px) { .brand-logo { width: auto; height: 27px; border-radius: 0; } }
.foot-logo { border-radius: 0; width: 130px; }

/* theme toggle */
.theme-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--rule); border-radius: 4px; background: transparent; color: var(--ink); cursor: pointer; flex: none; }
.theme-btn:hover { border-color: var(--ink-3); }
.theme-btn:focus-visible { outline: 2px solid var(--hl); outline-offset: 2px; }
.theme-btn .i-sun, html[data-theme="dark"] .theme-btn .i-moon { display: none; }
html[data-theme="dark"] .theme-btn .i-sun { display: block; }
.lang { margin-inline-start: auto; }
.only-dark { display: none !important; }
html[data-theme="dark"] .only-dark { display: block !important; }
html[data-theme="dark"] .only-light { display: none !important; }
.foot-logo-dark { width: 120px; border-radius: 12px; }

/* dark theme */
html[data-theme="dark"] {
  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[data-theme="dark"] .top { background: rgba(18,18,18,.96); }
html[data-theme="dark"] .banner { color: #e9d9a0; background: #2b2410; border-bottom-color: #43391a; }
html[data-theme="dark"] .lab { stroke: var(--bg); }
html[data-theme="dark"] .tip { background: #1e1e1e; color: var(--ink); border-color: #444; }
html[data-theme="dark"] .scrolly .step { background: rgba(26,26,26,.96); box-shadow: 0 2px 12px rgba(0,0,0,.5); }
html[data-theme="dark"] .st-n, html[data-theme="dark"] .mp-watch { color: var(--bg); }
html[data-theme="dark"] .mp-tag { color: #333; border-color: #777; }
html[data-theme="dark"] .credits { background: #1c1a17; }
html[data-theme="dark"] .credits li { border-top-color: #34302a; }
html[data-theme="dark"] .mapselect { background: var(--bg); color: var(--ink); }
html[data-theme="dark"] .lang option { color: var(--ink); background: var(--bg); }
html[data-theme="dark"] .sq.none { border-color: #666; }
html[data-theme="dark"] mark.hlm { background-image: linear-gradient(to right, rgba(228,87,46,.38), rgba(228,87,46,.38)); }
html[data-theme="dark"] .mp-watch { background: #242424; color: var(--ink); border: 1px solid #3a3a3a; }
html[data-theme="dark"] .mp-watch:hover { border-color: var(--hl); }
html[data-theme="dark"] .mp-tag { color: #cfcfcf; border-color: #6a6a6a; }
/* phone header: one row when it fits, wraps gracefully on very narrow screens */
@media (max-width: 640px) {
  .top { gap: 8px 10px; padding: 8px 12px; flex-wrap: wrap; }
  .brand { flex: none; }
  .nav { order: 0; flex: 1 1 auto; gap: 12px; flex-wrap: nowrap; white-space: nowrap; }
  .nav a { font-size: 12.5px; letter-spacing: 0; }
  .lang { margin-inline-start: 0; }
  .lang select { font-size: 12px; padding: 5px 2px 5px 6px; }
  .theme-btn { width: 32px; height: 32px; }
}
@media (max-width: 400px) {
  .top { gap: 6px 8px; padding: 8px 10px; }
  .nav { gap: 10px; }
  .nav a { font-size: 12px; }
  .brand-logo { height: 24px; }
  .theme-btn { width: 30px; height: 30px; }
}
@media (max-width: 640px) {
  .cov { table-layout: fixed; width: 100%; }
  .cov th:first-child, .cov td:first-child { width: 28%; }
  .cov th { font-size: 8.5px; letter-spacing: 0; padding: 4px 1px; overflow-wrap: anywhere; }
  .cov td { padding: 4px 1px; }
}
.cov .th-s { display: none; }
@media (max-width: 640px) {
  .cov .th-l { display: none; } .cov .th-s { display: inline; }
  .cov th { font-size: 9px; overflow-wrap: normal; }
}
/* mid-size screens: never let the scrollytelling break out past a 40px gutter */
@media (min-width: 980px) {
  .scrolly { margin-inline: calc(-1 * min(260px, (100vw - 600px) / 2 - 40px)); }
}
/* YouTube buttons: soft YouTube-red tint instead of a solid black block */
.mp-watch, html[data-theme="dark"] .mp-watch { border: 1px solid; transition: background-color .15s, border-color .15s; }
.mp-watch { background: #fdeeed; border-color: #f4c9c6; color: #c00; }
.mp-watch span { color: #5c2b28; opacity: .9; }
.mp-watch:hover { background: #fbe0de; border-color: #e8a19c; }
.mp-watch .mp-tag { color: #a8322b; border-color: #e3aaa6; }
html[data-theme="dark"] .mp-watch { background: #2a1715; border-color: #4d2522; color: #ff5a52; }
html[data-theme="dark"] .mp-watch span { color: #ecd0ce; }
html[data-theme="dark"] .mp-watch:hover { background: #351c1a; border-color: #ff4e45; }
html[data-theme="dark"] .mp-watch .mp-tag { color: #f0b2ae; border-color: #7a3a36; }
.mp-wl { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.mp-wl i { font-style: normal; flex: 1; }
.mp-yt { flex: none; }
.mp-ext { flex: none; opacity: .75; }
.mp-watch:hover .mp-ext { opacity: 1; }
[dir="rtl"] .mp-ext { transform: scaleX(-1); }
.mp-watch svg.mp-yt { width: 22px !important; height: 16px !important; max-width: none; }
.mp-watch svg.mp-ext { width: 13px !important; height: 13px !important; max-width: none; }
.lab.win { fill: var(--win-ink); font-weight: 700; }
/* scrollytelling: green highlighter to match the green "good outcome" dots */
.scrolly mark.hlm, .scrolly-static mark.hlm { background-image: linear-gradient(to right, rgba(42,157,92,.24), rgba(42,157,92,.24)); }
html[data-theme="dark"] .scrolly mark.hlm, html[data-theme="dark"] .scrolly-static mark.hlm { background-image: linear-gradient(to right, rgba(63,191,116,.32), rgba(63,191,116,.32)); }
.fig svg.leg-ic { width: 14px !important; height: 14px !important; display: inline-block; vertical-align: -2px; max-width: none; margin: 0; }
