/* Layout: Dhaka rickshaw art seen through liquid glass. Poster bands open the home page, every World owns a colour mesh, a motif, a headline font and a signature detail, and every story takes its colours from its own cover.
   Speed rules: real blur only on the nav and the one title plate on a page, everything else fakes glass with gradients. Entrances move transform and opacity only. */
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400; font-display: swap; src: url("fonts/schibsted-400.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 600; font-display: swap; src: url("fonts/schibsted-600.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 700; font-display: swap; src: url("fonts/schibsted-700.woff2") format("woff2"); }
@font-face { font-family: "Galada"; font-display: swap; src: url("fonts/galada-bengali.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Galada"; font-display: swap; src: url("fonts/galada-latin.woff2") format("woff2"); unicode-range: U+0000-00FF; }
@font-face { font-family: "Metropolis"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/metropolis-600.woff2") format("woff2"); }
@font-face { font-family: "Metropolis"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/metropolis-700.woff2") format("woff2"); }
@font-face { font-family: "Metropolis"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/metropolis-800.woff2") format("woff2"); }
@font-face { font-family: "Metropolis"; font-style: normal; font-weight: 900; font-display: swap; src: url("fonts/metropolis-900.woff2") format("woff2"); }
@font-face { font-family: "Metropolis"; font-style: italic; font-weight: 800; font-display: swap; src: url("fonts/metropolis-800i.woff2") format("woff2"); }
@font-face { font-family: "Metropolis"; font-style: italic; font-weight: 900; font-display: swap; src: url("fonts/metropolis-900i.woff2") format("woff2"); }
@view-transition { navigation: auto; }
:root {
  --bg: #fbf9ff; --fg: #140f2b; --muted: #5a5375; --panel: #efebfb; --line: #140f2b; --link: #4a1fd6;
  --sheet: rgba(255, 255, 255, .965); --sheet-edge: rgba(255, 255, 255, .8); --read: #2b2640; --veil-story: rgba(255, 255, 255, .16); --veil: rgba(255, 255, 255, 0); --veil-home: rgba(251, 249, 255, .86);
  --accent: var(--deep);
  --ink: #140f2b; --white: #ffffff; --pink: #ff2e8a; --gold: #ffc400; --green: #00845a; --red: #f42a41; --blue: #2b45ff; --cyan: #12d3d8; --lime: #c8f230; --violet: #6a2bff; --orange: #ff6a13;
  --deep: #140f2b; --navh: 84px; --rad: 26px;
  --spring: cubic-bezier(.3, 1.35, .5, 1); --glide: cubic-bezier(.2, .7, .2, 1);
  --poster: "Metropolis", "Segoe UI", system-ui, sans-serif;
  --text: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --bangla: "Galada", "Noto Sans Bengali", serif;
  --hf: var(--poster); --hw: 800; --hst: normal; --hs: .7; --ht: none; --hl: -.02em; --hlh: 1.06;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #120d26; --fg: #f7f4ff; --muted: #b6aed6; --panel: #211a3d; --line: #f7f4ff; --link: #ffc400; color-scheme: dark;
  --sheet: rgba(18, 13, 38, .955); --sheet-edge: rgba(255, 255, 255, .16); --read: #ded9ee; --veil-story: rgba(18, 13, 38, .55); --veil: rgba(18, 13, 38, .42); --veil-home: rgba(18, 13, 38, .74); --bn: #ff8a9a;
  --accent: var(--c, var(--gold));
} }
:root[data-theme="dark"] {
  --bg: #120d26; --fg: #f7f4ff; --muted: #b6aed6; --panel: #211a3d; --line: #f7f4ff; --link: #ffc400; color-scheme: dark;
  --sheet: rgba(18, 13, 38, .955); --sheet-edge: rgba(255, 255, 255, .16); --read: #ded9ee; --veil-story: rgba(18, 13, 38, .55); --veil: rgba(18, 13, 38, .42); --veil-home: rgba(18, 13, 38, .74); --bn: #ff8a9a;
  --accent: var(--c, var(--gold));
}

/* Each World's headline voice: one family, different weights, slants, cases and spacing */
[data-world="music"] { --hw: 900; --hs: .72; --hl: -.04em; --hlh: 1.03; }
[data-world="style"] { --hw: 800; --hst: italic; --hs: .76; --hl: -.03em; --hlh: 1.06; }
[data-world="culture"] { --hw: 700; --hs: .8; --hl: -.025em; --hlh: 1.08; }
[data-world="automotive"] { --hw: 900; --hst: italic; --hs: .62; --ht: uppercase; --hl: -.015em; --hlh: 1.06; }
[data-world="tech"] { --hw: 600; --hs: .82; --hl: -.04em; --hlh: 1.04; --rad: 8px; }
[data-world="bangladesh"] { --hw: 800; --hs: .74; --hl: -.025em; --hlh: 1.08; }
[data-world="film-tv"] { --hw: 900; --hs: .58; --ht: uppercase; --hl: .015em; --hlh: 1.12; }
[data-world="sports"] { --hw: 900; --hst: italic; --hs: .64; --ht: uppercase; --hl: -.025em; --hlh: 1.02; --rad: 16px; }
[data-world="business"] { --hw: 700; --hs: .8; --hl: -.03em; --hlh: 1.08; --rad: 12px; }
[data-world="education"] { --hw: 800; --hs: .76; --hl: -.025em; --hlh: 1.06; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--navh) + 12px); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--text); overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ink); }
img { display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: 1400px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.wm { display: block; height: 100%; width: auto; fill: currentColor; }
.scallop { height: 20px; background: radial-gradient(circle at 12px 0, var(--c, var(--pink)) 11.5px, transparent 12px) 0 0 / 24px 20px repeat-x; }
.scallop--up { transform: scaleY(-1); margin-top: 28px; --c: var(--ink); }

/* Themes: a static colour mesh plus a World motif. Painted once, then only moved by the compositor. */
.meshbg { background:
  radial-gradient(72% 62% at var(--x1) var(--y1), var(--t1) 0, transparent 72%),
  radial-gradient(62% 72% at var(--x2) var(--y2), var(--t2) 0, transparent 70%),
  radial-gradient(58% 58% at var(--x3) var(--y3), var(--t3) 0, transparent 68%),
  var(--t0); }
.patbg { position: relative; overflow: hidden; }
.patbg::before { content: ""; position: absolute; inset: -40%; background: var(--pat) 0 0 / var(--pats) var(--pats); transform: rotate(var(--patr, 0deg)); opacity: .09; pointer-events: none; }
.patbg > * { position: relative; }
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; transform: translateZ(0); }
.bg__mesh, .bg__veil { position: absolute; inset: 0; }
.bg__veil { background: var(--veil); }
.bg[data-page="home"] .bg__veil { background: var(--veil-home); }
.bg[data-page="story"] .bg__veil { background: var(--veil-story); }

/* Liquid glass. .plate is a tinted pane with a lit top edge, .plate--blur adds real blur and is rationed. */
.plate { position: relative; color: #fff; border-radius: var(--rad); border: 1px solid rgba(255, 255, 255, .34);
  background-image: linear-gradient(140deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 44%, rgba(255, 255, 255, .08));
  background-color: rgba(20, 15, 43, .68); background-color: color-mix(in srgb, var(--deep) 68%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(255, 255, 255, .14), inset 0 0 18px rgba(255, 255, 255, .08), 0 16px 36px -16px rgba(10, 6, 30, .65); }
.plate::before { content: ""; position: absolute; inset: 1px 1px auto; height: 42%; border-radius: inherit; border-bottom-left-radius: 50% 26px; border-bottom-right-radius: 50% 26px; background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0)); pointer-events: none; }
.plate--blur { -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); }
:root[data-lite] .plate--blur { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(20, 15, 43, .9); background-color: color-mix(in srgb, var(--deep) 90%, transparent); }
@media (prefers-reduced-transparency: reduce) { .plate, .plate--blur { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: var(--deep); } }
.sheet { background: var(--sheet); border-radius: var(--rad); border: 1px solid var(--sheet-edge); box-shadow: inset 0 1px 0 var(--sheet-edge), 0 18px 40px -26px rgba(10, 6, 30, .6); }
.gloss { background-image: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 52%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 4px rgba(20, 15, 43, .14), 0 8px 18px -10px rgba(10, 6, 30, .7); transition: transform .25s var(--spring); }
.gloss:active { transform: scale(.96); }

/* Entrances: each runs once, then the element is left alone */
.js .rv { opacity: 0; }
.js .rv.in { opacity: 1; animation: rv .65s var(--d, 0ms) var(--glide) backwards; }
@keyframes rv { from { opacity: 0; transform: translateY(18px); } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
::view-transition-group(cover) { animation-duration: .45s; animation-timing-function: var(--glide); }
.bar__in { view-transition-name: nav; }

/* Header */
.note { background: var(--pink); color: var(--ink); font-weight: 700; font-size: 13px; text-align: center; padding: 5px 16px; line-height: 1.35; }
.bar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 9; margin-top: 10px; height: 0; }
.bar__in { display: flex; align-items: center; gap: 18px; min-height: 60px; padding-inline: 22px 12px; border-radius: 99px; }
.bar__logo { height: 25px; display: block; color: var(--white); flex: none; transition: transform .3s var(--spring); }
.bar__logo:hover { transform: scale(1.05); }
.bar nav { position: relative; display: flex; gap: 2px; margin-right: auto; }
.bar nav a { position: relative; font: 700 14px/1 var(--poster); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; padding: 10px 13px; }
.bar nav a[aria-current="page"] { color: var(--gold); }
.drop { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; opacity: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .07)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(255, 255, 255, .2); }
.drop.ready { transition: transform .45s var(--spring), width .3s var(--glide), opacity .2s; }
.chipbtn { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .42); border-radius: 99px; padding: 8px 14px; font: 700 14px/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); transition: transform .25s var(--spring), background-color .2s, color .2s; }
.chipbtn:hover { background: var(--gold); color: var(--ink); }
.chipbtn:active { transform: scale(.94); }

/* Ticker: the one continuous animation on the site */

/* Home hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); margin-top: -10px; }
.hero__type { display: flex; flex-direction: column; min-width: 0; position: relative; }
.band { position: relative; overflow: hidden; padding-left: var(--gutter-l); padding-right: var(--gutter-r); font: 900 min(8.9vw, 19vh)/1.06 var(--poster); letter-spacing: -.035em; text-transform: uppercase; }
.band--a { background: var(--pink); color: var(--ink); padding-top: var(--navh); }
.band--b { background: var(--ink); color: var(--white); }
.band--c { background: var(--gold); color: var(--violet); font: italic 900 min(9.6vw, 20vh)/1.1 var(--poster); text-transform: none; padding-bottom: .06em; }
.band__t { display: inline-block; animation: up .9s var(--d, 0ms) cubic-bezier(.16, 1, .3, 1) backwards; }
@keyframes up { from { transform: translateY(108%); } }
.hero__copy { flex: 1; display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; background: var(--violet); color: var(--white); padding-block: 18px; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.hero__copy p { margin: 0; flex: 1 1 320px; max-width: 54ch; font-size: 18px; line-height: 1.45; }
.sticker { position: absolute; right: 5%; top: 50%; margin-top: calc(min(12vw, 18vh) / -2); width: min(12vw, 18vh); aspect-ratio: 1; display: grid; place-items: center; text-align: center; border-radius: 50%; background: var(--green); color: var(--gold); font: 400 min(2.7vw, 4vh)/1 var(--bangla); text-transform: none; transform: rotate(-11deg); border: 4px solid var(--ink); box-shadow: inset 0 0 0 5px var(--red); animation: pop .7s .55s var(--spring) backwards; }
@keyframes pop { from { transform: scale(0) rotate(-50deg); } }
.cta { display: inline-block; background-color: var(--gold); color: var(--ink); font: 800 15px/1 var(--poster); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; padding: 15px 24px; border: 0; border-radius: 99px; cursor: pointer; }
.lift { transition: transform .3s var(--glide); }
@media (hover: hover) { .lift:hover { transform: translateY(-4px); } }
.lead { color: var(--wf); display: flex; flex-direction: column; gap: 14px; padding: var(--navh) var(--gutter-r) 22px 22px; text-decoration: none; min-width: 0; }
.lead__art { position: relative; flex: 1; min-height: 300px; }
.lead__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lead__plate { padding: 14px 18px 16px; }
.lead h2 { margin: 6px 0 0; font: 800 clamp(22px, 2.2vw, 34px)/1.1 var(--poster); letter-spacing: -.02em; text-wrap: balance; }
.kick { display: inline-block; font: 700 12px/1 var(--poster); text-transform: uppercase; letter-spacing: .07em; }
.lead:hover h2 { text-decoration: underline; text-decoration-thickness: 3px; }

/* Sections */
.sec { padding-block: clamp(36px, 5vw, 68px); content-visibility: auto; contain-intrinsic-size: auto 900px; }
.head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 24px; }
.head h2 { margin: 0; font: 900 clamp(30px, 4.4vw, 64px)/1.04 var(--poster); letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; }
.head .bn { font: 400 clamp(26px, 3vw, 40px)/1.2 var(--bangla); color: var(--bn, #d81f35); }
.head a { margin-left: auto; font-weight: 700; color: var(--link); }
.head.plate { padding: 14px 24px 16px; }
.head.plate .bn { color: var(--gold); }
.head.plate a { color: #fff; }

/* Feature cards */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px; align-items: center; padding: 16px; text-decoration: none; border-radius: 28px; }
.feat img { width: 100%; height: auto; border-radius: 14px; }
.feat__plate { padding: 18px 20px 20px; }
.feat h3 { margin: 8px 0; font: 800 clamp(20px, 2.1vw, 31px)/1.12 var(--poster); letter-spacing: -.02em; text-wrap: balance; }
.feat p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.feat--big { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); padding: clamp(14px, 2vw, 26px); gap: clamp(14px, 2.4vw, 34px); }
.feat--big h3 { font: var(--hst) var(--hw) calc(clamp(30px, 4.6vw, 68px) * var(--hs))/var(--hlh) var(--hf); text-transform: var(--ht); letter-spacing: var(--hl); }
.feat--big p { font-size: 18px; }
.feat--big .feat__plate { padding: clamp(18px, 2.6vw, 38px); }

/* Home topic wheel: scrolling turns a 3D ring. Only the ring's transform changes per frame, and each World repaints the stage once as it reaches the front. */
.wheelsec { position: relative; height: calc(100vh + 9 * 42vh); height: calc(100svh + 9 * 42svh); background: var(--ink); --sf: #fff; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 8px; padding-block: var(--navh) 16px; color: var(--sf); --ch: clamp(240px, calc(100vh - 330px), 440px); --ch: clamp(240px, calc(100svh - 330px), 440px); --cw: min(calc(var(--ch) * .74), 62vw); --r: calc((var(--cw) + 26px) / var(--rk, .65)); transition: color .4s; }
.stage__bg { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.stage__bg.on { opacity: 1; }
.stage__ghost { position: absolute; left: 50%; top: 54%; translate: -50% -50%; font: 900 min(14vw, 240px)/1 var(--poster); letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 2px var(--sf); opacity: .2; pointer-events: none; }
.stage__head { position: relative; display: flex; flex-wrap: wrap; align-items: end; gap: 4px 20px; width: 100%; }
.stage__head h2 { margin: 0; font: 900 clamp(25px, 3.5vw, 50px)/1.04 var(--poster); letter-spacing: -.03em; text-transform: uppercase; }
.stage__head .bn { font: 400 clamp(24px, 2.6vw, 36px)/1.2 var(--bangla); }
.stage__head p { margin: 0 0 0 auto; max-width: 32ch; font-size: 15px; line-height: 1.35; font-weight: 600; }
.stage__head p a { font-weight: 700; }
.wheel { position: relative; perspective: calc(var(--r) * 3); perspective-origin: 50% 46%; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.wheel.is-dragging { cursor: grabbing; }
.wheel__z { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--r) * -1)); }
.wheel__ring { width: 0; height: 0; margin: 0; padding: 0; list-style: none; transform-style: preserve-3d; }
.wheel__item { position: absolute; width: var(--cw); height: var(--ch); left: calc(var(--cw) / -2); top: calc(var(--ch) / -2); transform: rotateY(calc(var(--i) * var(--step, 36deg))) translateZ(var(--r)); backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: opacity .4s; }
.wheel__item[data-d="1"] { opacity: .86; }
.wheel__item[data-d="2"] { opacity: .55; }
/* JS marks only cards behind the rendered ring, never the next target. */
.wheel__item[data-offscreen] { visibility: hidden; pointer-events: none; }
.stage__foot { position: relative; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: stretch; width: 100%; }
.detail, .ctrl { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 20px; border-radius: 24px; }
.detail { flex: 1 1 340px; max-width: 620px; --deep: #140f2b; }
.detail__txt { min-width: 0; margin-right: auto; }
.detail strong { display: block; font: 800 18px/1.15 var(--poster); text-transform: uppercase; letter-spacing: -.005em; }
.detail span { display: block; font-size: 14px; line-height: 1.3; }
.detail .cta { font-size: 13px; padding: 12px 16px; white-space: nowrap; }
.ctrl { padding: 8px 10px; --deep: #140f2b; }
.ctrl output { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.roundbtn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .1); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); transition: transform .25s var(--spring); }
.roundbtn:active { transform: scale(.9); }
.dots { display: flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .4); transition: transform .3s var(--spring), background-color .3s; }
.dots i.on { background: var(--gold); transform: scale(1.5); }

.world { display: flex; flex-direction: column; height: 100%; min-height: 230px; padding: 16px; color: var(--wf); text-decoration: none; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -1px 0 rgba(255, 255, 255, .25), inset 0 0 26px rgba(255, 255, 255, .16), 0 22px 44px -22px rgba(10, 6, 30, .7); -webkit-user-drag: none; }
.world::after { content: ""; position: absolute; inset: 1px 1px auto; height: 38%; border-radius: 27px 27px 50% 50% / 27px 27px 30px 30px; background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0)); pointer-events: none; }
.world__top { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.world .bn { font: 400 clamp(26px, 3.4vh, 38px)/1.15 var(--bangla); }
.world__n { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.world strong { margin-top: auto; font: 800 min(calc(var(--cw, 190px) * .112), 30px)/1.08 var(--poster); text-transform: uppercase; letter-spacing: -.01em; }
.world .tag { font-size: 15px; line-height: 1.3; font-weight: 600; margin-top: 4px; }
.fan { display: flex; margin-top: 12px; height: 74px; }
.fan img { width: 56px; height: 70px; object-fit: cover; border-radius: 8px; border: 2px solid rgba(255, 255, 255, .85); box-shadow: 0 6px 10px -5px rgba(10, 6, 30, .7); margin-right: -14px; transform: rotate(calc((var(--k) - 1) * 6deg)); transition: transform .35s var(--spring); -webkit-user-drag: none; }
.world small { margin-top: 8px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (hover: hover) { a.world:hover .fan img { transform: rotate(calc((var(--k) - 1) * 11deg)) translateY(-5px); } }

/* Worlds page: the globe wheel */
.gstage { position: relative; min-height: 100vh; min-height: 100svh; margin-top: -10px; color: var(--sf); --sf: #fff; overflow: clip; padding-block: var(--navh) 22px; display: flex; flex-direction: column; justify-content: center; gap: 12px; transition: color .4s; }
.gstage__bg { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.gstage__bg.on { opacity: 1; }
.gstage__ghost { position: absolute; left: -1%; bottom: -2%; font: 900 min(17vw, 280px)/.9 var(--poster); letter-spacing: -.04em; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 2px var(--sf); opacity: .14; pointer-events: none; }
.ggrid { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 48px); align-items: center; }
.gpanel { min-width: 0; }
.gpanel__eye { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 0; font: 700 clamp(13px, 1.1vw, 16px)/1.2 var(--poster); text-transform: uppercase; letter-spacing: .09em; }
.gpanel__bn { display: block; margin-top: 12px; font: 400 clamp(36px, 5vw, 72px)/1.2 var(--bangla); }
.gpanel__name { margin: 0; font: var(--hst) var(--hw) calc(clamp(46px, 8.4vw, 128px) * var(--hs))/var(--hlh) var(--hf); text-transform: var(--ht); letter-spacing: var(--hl); overflow-wrap: break-word; }
.gpanel__tag { margin: 12px 0 0; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.25; font-weight: 700; }
.gpanel__desc { margin: 6px 0 0; max-width: 46ch; font-size: 17px; line-height: 1.42; font-weight: 600; }
.gpanel__go { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.gpanel__go .count { color: inherit; font-weight: 700; font-variant-numeric: tabular-nums; }
.globe { position: relative; width: min(calc(100vh - 200px), 46vw); width: min(calc(100svh - 200px), 46vw); aspect-ratio: 1; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.globe.is-dragging { cursor: grabbing; }
.globe:focus-visible { outline: none; }
.globe:focus-visible .globe__glass { box-shadow: 0 0 0 4px var(--gold), inset 0 0 0 1px rgba(255, 255, 255, .5); }
.globe__dial { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.globe__dial path { cursor: pointer; }
.globe__ball { position: absolute; inset: 7.5%; border-radius: 50%; overflow: hidden; box-shadow: 0 34px 60px -24px rgba(10, 6, 30, .75); background: var(--deep); }
.globe__ball canvas { display: block; width: 100%; height: 100%; }
.globe__glass { position: absolute; inset: 7.5%; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(38% 30% at 32% 22%, rgba(255, 255, 255, .62), rgba(255, 255, 255, .14) 62%, transparent 100%),
    radial-gradient(44% 16% at 56% 93%, rgba(255, 255, 255, .34), transparent 100%),
    radial-gradient(circle at 50% 46%, transparent 56%, rgba(10, 6, 30, .2) 76%, rgba(10, 6, 30, .55) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), inset 0 2px 3px rgba(255, 255, 255, .8), inset 0 -6px 18px rgba(255, 255, 255, .2); }
.globe__pin { position: absolute; left: 50%; top: 0; width: 0; height: 0; border-inline: 13px solid transparent; border-top: 22px solid var(--sf); translate: -50% 0; filter: none; transition: border-color .4s; }
.gcontrols { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: 100%; }
.gchips { flex: 1 1 0; min-width: 0; display: flex; gap: 6px; flex-wrap: wrap; padding: 8px; border-radius: 26px; --deep: #140f2b; }
.gchip { display: inline-flex; align-items: center; gap: 6px; background-color: var(--w); color: var(--wf); font: 700 12px/1 var(--poster); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; padding: 10px 12px; border-radius: 99px; background-image: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 55%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); transition: transform .3s var(--spring), box-shadow .2s; white-space: nowrap; }
.gchip:hover { transform: translateY(-2px); }
.gchip[aria-current="true"] { transform: scale(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.gnav { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 26px; --deep: #140f2b; }
.gnav output { min-width: 56px; text-align: center; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ghint { position: absolute; left: 50%; bottom: 1%; translate: -50% 0; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 99px; background: rgba(20, 15, 43, .78); color: #fff; white-space: nowrap; pointer-events: none; transition: opacity .3s; }
.globe.touched .ghint { opacity: 0; }
.rail[hidden] { display: none; }
.rail { animation: rv .5s var(--glide) backwards; }
.rail__more { display: flex; justify-content: flex-end; margin-top: 16px; }
.wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.wall .world { min-height: 340px; }
.wall .world strong { font: var(--hst) var(--hw) clamp(19px, 1.6vw, 26px)/var(--hlh) var(--hf); text-transform: var(--ht); letter-spacing: var(--hl); overflow-wrap: break-word; }

/* Story tiles */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tile { display: flex; flex-direction: column; gap: 9px; padding: 10px 10px 14px; text-decoration: none; min-width: 0; }
.tile[hidden] { display: none; }
#results .tile { content-visibility: auto; contain-intrinsic-size: auto 460px; }
.tile__art { position: relative; display: block; overflow: hidden; border-radius: calc(var(--rad) * .7); aspect-ratio: 4 / 5; max-width: 100%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
.tile__art img { position: absolute; left: 12px; top: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; transition: transform .5s var(--glide); }
.tile__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, .36) 50%, transparent 64%); transform: translateX(-115%); }
@media (hover: hover) {
  .tile:hover .tile__art img { transform: scale(1.03); }
  .tile:hover .tile__art::after { transform: translateX(115%); transition: transform .8s var(--glide); }
}
.tile .kick { margin-inline: 4px; background: var(--w); color: var(--wf); padding: 5px 9px; border-radius: 99px; align-self: flex-start; }
.tile h3 { margin: 0 4px; font: 800 clamp(16px, 1.35vw, 20px)/1.28 var(--poster); letter-spacing: -.015em; text-wrap: balance; overflow-wrap: break-word; }
.tile:hover h3 { text-decoration: underline; text-decoration-color: var(--w); text-decoration-thickness: 3px; }
.tile time { margin-inline: 4px; color: var(--muted); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Sign-up bands */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); content-visibility: auto; contain-intrinsic-size: auto 340px; }
.duo > div { padding: clamp(28px, 4vw, 56px) var(--gutter-r) clamp(28px, 4vw, 56px) var(--gutter-l); display: grid; gap: 14px; align-content: start; }
.duo h2 { margin: 0; font: 900 clamp(30px, 3.8vw, 54px)/1.04 var(--poster); letter-spacing: -.03em; text-transform: uppercase; }
.duo p { margin: 0; max-width: 46ch; font-size: 18px; line-height: 1.45; }
.duo__a { background: var(--cyan); color: var(--ink); }
.duo__b { background: #d81f35; color: var(--white); }
.signup { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input { flex: 1 1 220px; min-width: 0; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 99px; padding: 11px 18px; }
.formnote { font-size: 14px; font-weight: 700; min-height: 1.4em; }

/* Page headers */
.ph { padding-top: var(--navh); padding-bottom: 8px; margin-top: -10px; }
.ph__plate { padding: clamp(20px, 3vw, 40px) clamp(20px, 3.4vw, 44px); }
.ph h1 { margin: 0; font: var(--hst) var(--hw) calc(clamp(52px, 10vw, 150px) * var(--hs))/var(--hlh) var(--hf); text-transform: var(--ht); letter-spacing: var(--hl); text-wrap: balance; overflow-wrap: break-word; }
.ph .bn { font: 400 clamp(28px, 3.6vw, 52px)/1.25 var(--bangla); display: block; color: var(--gold); }
.ph p { margin: 10px 0 0; max-width: 60ch; font-size: 19px; line-height: 1.4; }
.ph__foot { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-weight: 700; font-size: 15px; }
.ph__foot a { color: #fff; }

/* Filters */
.tools { display: grid; gap: 14px; margin-bottom: 18px; padding: 16px; }
.tools__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tools input, .tools select { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; min-width: 0; }
.tools input { flex: 1 1 260px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: var(--panel); color: var(--fg); border: 0; border-radius: 99px; font: 700 12.5px/1 var(--poster); text-transform: uppercase; letter-spacing: .03em; padding: 10px 14px; cursor: pointer; transition: transform .25s var(--spring); }
.pill:active { transform: scale(.95); }
.pill[aria-pressed="true"] { background-color: var(--w, var(--fg)); color: var(--wf, var(--bg)); background-image: linear-gradient(180deg, rgba(255, 255, 255, .36), rgba(255, 255, 255, 0) 55%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
.count { color: var(--muted); font-weight: 600; font-size: 15px; margin: 0; }
.empty { padding: 40px 18px; font-size: 20px; font-weight: 600; grid-column: 1 / -1; }

/* Article */
.ah { margin-top: -10px; }
.ah__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding-top: var(--navh); padding-bottom: clamp(22px, 3vw, 40px); }
.ah--flip .ah__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.ah--flip .ah__art { order: -1; }
.ah__plate { padding: clamp(20px, 3vw, 44px); animation: rv .7s var(--glide) backwards; }
.ah h1 { margin: 14px 0 12px; font: var(--hst) var(--hw) calc(clamp(40px, 6.2vw, 96px) * var(--hs))/var(--hlh) var(--hf); text-transform: var(--ht); letter-spacing: var(--hl); text-wrap: balance; overflow-wrap: break-word; }
.ah p { margin: 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; font-weight: 500; max-width: 46ch; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 16px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.meta > * + *::before { content: "\2726"; margin-right: 14px; color: var(--gold); font-size: 11px; }
.ah__art { position: relative; isolation: isolate; padding: 10px; border-radius: var(--rad); background: linear-gradient(140deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, .24)); border: 1px solid rgba(255, 255, 255, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 24px 44px -24px rgba(10, 6, 30, .75); animation: artin .8s .1s var(--glide) backwards; }
@keyframes artin { from { opacity: 0; transform: translateY(22px) scale(.97); } }
.ah__art img { width: 100%; height: auto; max-height: calc(100svh - var(--navh) - 60px); object-fit: contain; border-radius: calc(var(--rad) * .6); }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-weight: 700; font-size: 14px; }
.crumb .bn { font: 400 22px/1 var(--bangla); color: var(--gold); }
.ah .kick { background: #fff; color: var(--deep); padding: 7px 11px; border-radius: 99px; text-decoration: none; transition: transform .25s var(--spring); }
.ah .kick:hover { transform: scale(1.05); }
.abody { position: relative; display: grid; grid-template-columns: minmax(0, 66ch) minmax(0, 280px); gap: 28px clamp(28px, 5vw, 80px); justify-content: center; padding: clamp(24px, 4vw, 56px) clamp(18px, 3vw, 40px); }
.prose { min-width: 0; color: var(--read); font-size: 19px; line-height: 1.78; letter-spacing: .002em; font-weight: 400; text-rendering: optimizeLegibility; overflow-wrap: break-word; hyphens: manual; }
.prose p { margin: 0 0 1.15em; }
.prose .lede { color: var(--fg); font-size: clamp(21px, 2vw, 24px); line-height: 1.5; font-weight: 600; }
.prose .dc::first-letter { float: left; font: var(--hst) var(--hw) 3.3em/.86 var(--hf); margin: .08em .1em 0 0; color: var(--accent); text-transform: uppercase; }
.prose h2 { font: var(--hst) var(--hw) calc(clamp(30px, 3.4vw, 44px) * var(--hs))/var(--hlh) var(--hf); text-transform: var(--ht); letter-spacing: var(--hl); margin: 1.9em 0 .55em; color: var(--fg); text-wrap: balance; scroll-margin-top: calc(var(--navh) + 14px); }
.prose a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: .18em; font-weight: 600; }
.prose figure { margin: 24px 0; }
.prose figure img { width: 100%; height: auto; border-radius: calc(var(--rad) * .6); cursor: zoom-in; }
.prose figcaption { font-size: 14.5px; color: var(--muted); margin-top: 9px; line-height: 1.5; }
.galhead { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.galhead output { margin-left: auto; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
.galbtn { background-color: var(--w); color: var(--wf); border: 0; border-radius: 99px; font: 700 12.5px/1 var(--poster); text-transform: uppercase; letter-spacing: .03em; padding: 11px 16px; cursor: pointer; }
.gal { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin: 0; }
.gal figure { flex: 0 0 min(82%, 460px); margin: 0; scroll-snap-align: start; }
.gal--one figure { flex-basis: min(100%, 520px); }
.quote { margin: 30px 0; background-color: var(--w); color: var(--wf); padding: 22px 26px; border-radius: var(--rad); font: var(--hst) var(--hw) calc(clamp(24px, 2.7vw, 34px) * var(--hs))/1.22 var(--hf); letter-spacing: var(--hl); background-image: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 40%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 16px 30px -20px rgba(10, 6, 30, .7); }
.quote p { margin: 0; }
.side { position: sticky; top: calc(var(--navh) + 8px); align-self: start; display: grid; gap: 22px; font-size: 15px; min-width: 0; }
.side h4 { margin: 0 0 9px; font: 800 13px/1 var(--poster); text-transform: uppercase; letter-spacing: .07em; }
.side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.side li span { display: block; color: var(--muted); font-size: 13px; }
.toc a { display: block; padding: 5px 0 5px 12px; border-left: 3px solid var(--panel); text-decoration: none; font-weight: 600; line-height: 1.3; transition: border-color .2s, transform .25s var(--glide); }
.toc a.on { border-left-color: var(--w); transform: translateX(3px); }
.toc a:hover { border-left-color: var(--w); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span, .tags a { background: var(--panel); padding: 5px 10px; border-radius: 99px; font-size: 13px; font-weight: 600; text-decoration: none; }
.likebtn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px 14px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--fg); font: 700 13px/1 var(--poster); letter-spacing: .02em; cursor: pointer; transition: transform .25s var(--spring); }
.likebtn:active { transform: scale(.95); }
.likebtn.done span { color: var(--accent); }
.igbtn { background-color: var(--w); color: var(--wf); text-decoration: none; font: 800 13px/1.15 var(--poster); letter-spacing: .02em; text-transform: uppercase; padding: 14px 16px; border-radius: 99px; display: block; text-align: center; }
.sidebtns { display: grid; gap: 8px; }
.nextup { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 40px); align-items: center; margin-top: 18px; padding: clamp(16px, 2.4vw, 30px); border-radius: var(--rad); color: #fff; text-decoration: none; }
.nextup__plate { padding: clamp(16px, 2.4vw, 30px); }
.nextup small { display: block; font: 700 13px/1 var(--poster); letter-spacing: .09em; text-transform: uppercase; color: var(--gold); }
.nextup strong { display: block; margin-top: 10px; font: 900 clamp(24px, 3.2vw, 46px)/1.08 var(--poster); letter-spacing: -.03em; text-wrap: balance; }
.nextup span.arrow { display: inline-block; margin-top: 12px; font-weight: 700; transition: transform .3s var(--spring); }
.nextup:hover span.arrow { transform: translateX(8px); }
.nextup img { width: clamp(110px, 16vw, 210px); height: auto; border-radius: 14px; transition: transform .45s var(--glide); }
@media (hover: hover) { .nextup:hover img { transform: rotate(-2deg) scale(1.03); } }
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.pager a { text-decoration: none; padding: 14px 20px; display: grid; gap: 4px; }
.pager a:last-child { text-align: right; }
.pager small { color: var(--muted); font-weight: 700; }
.pager strong { font: 800 16px/1.2 var(--poster); letter-spacing: -.01em; }

/* Lightbox */
.lb { border: 0; padding: 0; margin: auto; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; color: #fff; }
.lb::backdrop { background: rgba(12, 8, 30, .9); }
.lb[open] { animation: lb .28s var(--glide); }
@keyframes lb { from { opacity: 0; transform: scale(.96); } }
.lb img { display: block; max-width: min(92vw, 900px); max-height: 80vh; width: auto; height: auto; border-radius: 12px; }
.lb p { margin: 10px 4px 0; max-width: min(92vw, 900px); font-size: 14px; line-height: 1.4; }
.lb__bar { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 10px; }

/* World page extras */
.wnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.wnav a { min-height: 170px; padding: 22px; border-radius: var(--rad); color: var(--wf); text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; }
.wnav small { font-weight: 700; font-size: 14px; }
.wnav .bn { font: 400 28px/1.2 var(--bangla); }
.wnav strong { font: var(--hst) var(--hw) calc(clamp(30px, 4vw, 54px) * var(--hs))/var(--hlh) var(--hf); text-transform: var(--ht); letter-spacing: var(--hl); overflow-wrap: break-word; }
.wnav a:last-child { text-align: right; align-items: flex-end; }

/* Live-site pieces */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.announce { background: var(--ink); color: #fff; text-align: center; padding: 9px 16px; font: 700 14px/1.3 var(--poster); }
.previewbar { position: relative; z-index: 8; margin: 0; padding: 8px 16px; text-align: center; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 14px; }
.cropcover { display: block; width: 100%; background-repeat: no-repeat; border-radius: inherit; }
.nocover { display: block; width: 100%; aspect-ratio: 4 / 5; }
.lead__art .nocover, .lead__art .cropcover { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.abody--one { grid-template-columns: minmax(0, 68ch); }
.prose ul { padding-left: 1.2em; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.cform { display: grid; gap: 16px; max-width: 860px; margin-inline: auto; padding: clamp(18px, 3vw, 34px); }
.cform__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cform__foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.cform__foot p { margin: 0; font-size: 14px; color: var(--muted); }
.field { display: grid; gap: 6px; }
.field label { font: 700 13px/1.2 var(--poster); letter-spacing: .02em; }
.field input, .field select, .field textarea { width: 100%; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; }
.field__err { color: var(--bn, #c4122a); font-size: 14px; font-weight: 600; min-height: 0; }
.field__err:empty { display: none; }
.cform__done { text-align: center; padding: 24px 8px; }
.cform__done h2 { margin: 0 0 8px; font: 900 clamp(26px, 3vw, 38px)/1.1 var(--poster); letter-spacing: -.03em; }
@media (max-width: 640px) { .cform__row { grid-template-columns: minmax(0, 1fr); } }

/* About */
.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: clamp(22px, 3vw, 40px); }
.about p { margin: 0 0 16px; font-size: 21px; line-height: 1.45; }
.about b { font-weight: 700; }

/* Footer */
.foot { background: var(--ink); color: var(--white); padding-block: 40px 22px; }
.foot__logo { color: var(--c, var(--gold)); margin-bottom: 26px; }
.foot__logo svg { width: 100%; height: auto; display: block; fill: currentColor; }
.foot__row { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: 15px; }
.foot__row span { margin-left: auto; color: #c9c3e4; }

/* Signature details: one thing on each World's story and category pages that only that World has */
/* Music: a record slides out from behind the sleeve, and spins while you hover */
[data-world="music"] .ah__art::before { content: ""; position: absolute; z-index: -1; top: 7%; left: 26%; width: 86%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--c) 0 13%, #fff 13.4% 14.6%, var(--c) 15% 16.5%, transparent 17%), repeating-radial-gradient(circle, #15121f 0 2px, #2b2738 2.6px 4px); box-shadow: 0 16px 30px -14px rgba(10, 6, 30, .8); animation: vinyl .9s .5s var(--glide) backwards; }
@keyframes vinyl { from { transform: translateX(-26%); } }
[data-world="music"] .ah--flip .ah__art::before { left: auto; right: 26%; animation-name: vinylr; }
@keyframes vinylr { from { transform: translateX(26%); } }
[data-world="music"] .ah__art { background: none; border: 0; box-shadow: none; padding: 0; }
[data-world="music"] .ah__art img { box-shadow: 0 22px 40px -18px rgba(10, 6, 30, .85); }
[data-world="music"] .ah__in { padding-right: max(var(--gutter-r), 6%); }
[data-world="music"] .ah--flip .ah__in { padding-right: var(--gutter-r); padding-left: max(var(--gutter-l), 6%); }
/* Style: a stitched label and a swing-tag kicker */
[data-world="style"] .ah__art { outline: 2px dashed rgba(255, 255, 255, .9); outline-offset: -7px; }
[data-world="style"] .ah .kick { padding-left: 24px; border-radius: 6px 99px 99px 6px; background-image: radial-gradient(circle at 12px 50%, var(--deep) 3.5px, transparent 4px); transform: rotate(-2deg); }
[data-world="style"] .abody { outline: 2px dashed var(--c); outline-offset: -9px; }
/* Culture: rickshaw scallops along the top of the page and a painted flower on the cover */
[data-world="culture"] .abody::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 14px; background: radial-gradient(circle at 12px 0, var(--c) 11.5px, transparent 12px) 0 0 / 24px 14px repeat-x; }
[data-world="culture"] .ah__art::after { content: "\2740"; position: absolute; right: -10px; top: -14px; width: 64px; height: 64px; display: grid; place-items: center; font-size: 36px; line-height: 1; border-radius: 50%; background: var(--gold); color: #d81f35; box-shadow: inset 0 0 0 3px #d81f35; animation: pop .7s .6s var(--spring) backwards; }
/* Automotive: a chequered strip, and a cover that leans into the corner */
[data-world="automotive"] .abody::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; border-radius: var(--rad) var(--rad) 0 0; background: repeating-conic-gradient(var(--fg) 0 25%, transparent 0 50%) 0 0 / 14px 14px; opacity: .92; }
[data-world="automotive"] .ah__art { transform: skewY(-1.5deg); animation-name: slidein; }
@keyframes slidein { from { opacity: 0; transform: translateX(-44px) skewY(-1.5deg); } }
[data-world="automotive"] .ah .kick { font-style: italic; font-weight: 800; }
/* Tech: square corners, corner brackets and a code comment on each subhead */
[data-world="tech"] .ah__art::before, [data-world="tech"] .ah__art::after { content: ""; position: absolute; width: 26px; height: 26px; border: 3px solid var(--c); }
[data-world="tech"] .ah__art::before { left: -6px; top: -6px; border-width: 3px 0 0 3px; }
[data-world="tech"] .ah__art::after { right: -6px; bottom: -6px; border-width: 0 3px 3px 0; }
[data-world="tech"] .prose h2::before { content: "// "; color: var(--muted); font-weight: 400; }
[data-world="tech"] .kick, [data-world="tech"] .igbtn, [data-world="tech"] .galbtn { border-radius: 4px; }
/* Bangladesh: kantha stitching, and the red sun of the flag rising behind the cover */
[data-world="bangladesh"] .ah__art::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 118%; aspect-ratio: 1; margin: -59% 0 0 -59%; border-radius: 50%; background: #d81f35; box-shadow: 0 0 0 10px rgba(255, 255, 255, .12); animation: sun 1s .25s var(--glide) backwards; }
@keyframes sun { from { transform: translateY(14%) scale(.8); opacity: 0; } }
[data-world="bangladesh"] .ah__art { background: none; border: 0; box-shadow: none; }
[data-world="bangladesh"] .abody { outline: 2px dashed var(--c); outline-offset: -9px; }
[data-world="bangladesh"] .abody::after { content: ""; position: absolute; inset: 15px; border: 2px dashed var(--red); border-radius: calc(var(--rad) * .7); opacity: .55; pointer-events: none; }
/* Film & TV: sprocket holes down both sides of the cover */
[data-world="film-tv"] .ah__art { padding: 12px 34px; background: #0b0710; border-radius: 6px; border-color: #0b0710; }
[data-world="film-tv"] .ah__art::before, [data-world="film-tv"] .ah__art::after { content: ""; position: absolute; top: 8px; bottom: 8px; width: 16px; background: repeating-linear-gradient(180deg, #fff 0 14px, transparent 14px 28px); border-radius: 3px; }
[data-world="film-tv"] .ah__art::before { left: 9px; }
[data-world="film-tv"] .ah__art::after { right: 9px; }
[data-world="film-tv"] .ah__art img { border-radius: 2px; }
/* Sports: pitch markings behind the cover and everything leaning forward */
[data-world="sports"] .ah__art { background: #0d7a45; border: 3px solid #fff; border-radius: 6px; padding: 18px; }
[data-world="sports"] .ah__art::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; translate: -50% -50%; border: 3px solid rgba(255, 255, 255, .85); border-radius: 50%; }
[data-world="sports"] .ah__art::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 50%; border-top: 3px solid rgba(255, 255, 255, .85); }
[data-world="sports"] .ah__art img { border-radius: 2px; position: relative; }
[data-world="sports"] .kick { transform: skewX(-10deg); border-radius: 4px; }
[data-world="sports"] .ah .kick:hover { transform: skewX(-10deg) scale(1.05); }
/* Business: a ledger double rule and a gold edge on the cover */
[data-world="business"] .abody::before { content: ""; position: absolute; left: 24px; right: 24px; top: 14px; height: 6px; border-block: 1px solid var(--accent); }
[data-world="business"] .ah__art { background: linear-gradient(135deg, #ffe88a, #c99700 48%, #fff0a8 72%, #b98600); border: 0; }
[data-world="business"] .meta { font-variant: small-caps; letter-spacing: .03em; }
/* Education: notebook paper, a red margin line and a sticky-note pull quote */
[data-world="education"] .abody { background-image: repeating-linear-gradient(180deg, transparent 0 39px, color-mix(in srgb, var(--c) 12%, transparent) 39px 40px), linear-gradient(90deg, transparent 0 clamp(8px, 1.4vw, 22px), rgba(244, 42, 65, .6) clamp(8px, 1.4vw, 22px) calc(clamp(8px, 1.4vw, 22px) + 2px), transparent calc(clamp(8px, 1.4vw, 22px) + 2px)); }
[data-world="education"] .quote { background: #ffe14d; color: #140f2b; transform: rotate(-1.2deg); border-radius: 3px; box-shadow: 0 16px 24px -14px rgba(10, 6, 30, .6); }
[data-world="education"] .ah__art { transform: rotate(1.4deg); background: #fff; border: 0; border-radius: 4px; padding: 10px 10px 34px; animation-name: pinned; }
@keyframes pinned { from { opacity: 0; transform: rotate(-2deg) translateY(20px); } }
[data-world="education"] .ah__art img { border-radius: 0; }

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .abody { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; order: -1; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .side .igbtn { align-self: start; }
}
@media (max-width: 780px) {
  :root { --navh: 72px; }
  .hero, .ah__in, .ah--flip .ah__in, .duo, .about, .ggrid { grid-template-columns: minmax(0, 1fr); }
  .ah--flip .ah__art { order: 0; }
  .band { font-size: 18.4vw; }
  .band--c { font-size: 19vw; }
  .sticker { width: 19vw; margin-top: -9.5vw; font-size: 4.2vw; right: 3%; border-width: 3px; box-shadow: inset 0 0 0 3px var(--red); }
  .lead { padding-left: var(--gutter-l); padding-top: 22px; }
  .lead__art { min-height: 0; height: 110vw; max-height: 560px; flex: none; }
  .ah__art { max-width: 360px; margin-inline: auto; width: 100%; }
  .ah__art img { max-height: none; }
  [data-world="music"] .ah__art { max-width: 300px; margin-left: 0; }
  [data-world="music"] .ah__in, [data-world="music"] .ah--flip .ah__in { padding-inline: var(--gutter-l) var(--gutter-r); }
  [data-world="music"] .ah__art::before, [data-world="music"] .ah--flip .ah__art::before { left: 32%; right: auto; width: 74%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall .world { min-height: 290px; }
  .feat, .feat--big { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); padding: 10px; gap: 10px; }
  .feat--big { grid-template-columns: minmax(0, 1fr); }
  .feat--big img { max-width: 260px; margin-inline: auto; }
  .feat__plate { padding: 12px 14px; }
  .feat p { display: none; }
  .feat--big p { display: block; font-size: 16px; }
  .bar__in { gap: 6px; min-height: 52px; padding-inline: 16px 8px; }
  .bar nav a { font-size: 16px; padding: 8px 9px; }
  .bar nav a.opt { display: none; }
  .chipbtn { padding: 6px 10px; font-size: 13px; }
  .bar__logo { height: 19px; }
  .stage { --ch: clamp(240px, calc(100svh - 370px), 420px); }
  .stage__head p { display: none; }
  .fan { height: 60px; margin-top: 8px; }
  .fan img { width: 44px; height: 56px; }
  .detail { flex-basis: 100%; max-width: none; padding-left: 16px; }
  .detail span { display: none; }
  .ctrl { flex: 1; justify-content: space-between; }
  .dots { display: none; }
  .gstage { justify-content: flex-start; }
  .globe { order: -1; width: min(86vw, 46svh); margin-inline: auto; }
  .gpanel__bn { margin-top: 2px; }
  .gpanel__desc { display: none; }
  .gchips { flex-basis: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .gnav { flex: 1; justify-content: space-between; }
  .nextup { grid-template-columns: minmax(0, 1fr); }
  .nextup img { width: 150px; }
  .wnav a { min-height: 130px; padding: 16px; }
}
@media (max-width: 780px) { .bar__in { gap: 4px; padding-inline: 14px 8px; } .bar__logo { flex: 0 1 auto; min-width: 48px; } .bar__logo .wm { max-width: 100%; } .bar nav { flex: 1 1 auto; min-width: 0; margin-right: 0; } .bar nav a { font-size: clamp(12px, 3.5vw, 16px); padding: 8px clamp(4px, 1.6vw, 9px); white-space: nowrap; } .chipbtn { flex: none; } }
@media (max-width: 520px) { #searchbtn { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .band__t, .sticker, .js .rv.in, .ah__art, .ah__art::before, .ah__art::after, .ah__plate, .rail, .lb[open] { animation: none !important; }
  .js .rv { opacity: 1; }
  .lift, .gloss, .drop, .tile__art img, .stage__bg, .gstage__bg, .fan img { transition: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; }
  .wheelsec { height: auto !important; }
  .stage { position: static; height: auto; display: block; }
  .stage__ghost, .stage__foot { display: none; }
  .wheel { perspective: none; cursor: auto; margin-top: 18px; }
  .wheel__z, .wheel__ring { position: static; width: auto; height: auto; transform: none !important; }
  .wheel__ring { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
  .wheel__item, .wheel__item[data-offscreen] { position: static; width: auto; height: auto; transform: none; visibility: visible; pointer-events: auto; }
}

[data-wp="home"]{--pat:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27140%27%20height%3D%27140%27%20fill%3D%27none%27%20stroke%3D%27%23140f2b%27%20stroke-width%3D%272%27%3E%3Cpath%20d%3D%27M70.0%2062.0C54.0%2048.0%2060.0%2018.0%2070.0%2014.0C80.0%2018.0%2086.0%2048.0%2070.0%2062.0%27/%3E%3Cpath%20d%3D%27M76.9%2066.0C81.1%2045.1%20110.0%2035.3%20118.5%2042.0C120.0%2052.7%2097.1%2072.9%2076.9%2066.0%27/%3E%3Cpath%20d%3D%27M76.9%2074.0C97.1%2067.1%20120.0%2087.3%20118.5%2098.0C110.0%20104.7%2081.1%2094.9%2076.9%2074.0%27/%3E%3Cpath%20d%3D%27M70.0%2078.0C86.0%2092.0%2080.0%20122.0%2070.0%20126.0C60.0%20122.0%2054.0%2092.0%2070.0%2078.0%27/%3E%3Cpath%20d%3D%27M63.1%2074.0C58.9%2094.9%2030.0%20104.7%2021.5%2098.0C20.0%2087.3%2042.9%2067.1%2063.1%2074.0%27/%3E%3Cpath%20d%3D%27M63.1%2066.0C42.9%2072.9%2020.0%2052.7%2021.5%2042.0C30.0%2035.3%2058.9%2045.1%2063.1%2066.0%27/%3E%3Cpath%20d%3D%27M63%2070a7%207%200%201%200%2014%200a7%207%200%201%200%20-14%200%27/%3E%3C/svg%3E");--pats:140px}
[data-wp="music"]{--pat:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27120%27%20height%3D%27120%27%20fill%3D%27none%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%272%27%3E%3Cpath%20d%3D%27M42%2060a18%2018%200%201%200%2036%200a18%2018%200%201%200%20-36%200%27/%3E%3Cpath%20d%3D%27M26%2060a34%2034%200%201%200%2068%200a34%2034%200%201%200%20-68%200%27/%3E%3Cpath%20d%3D%27M10%2060a50%2050%200%201%200%20100%200a50%2050%200%201%200%20-100%200%27/%3E%3Cpath%20d%3D%27M57%2060a3%203%200%201%200%206%200a3%203%200%201%200%20-6%200%27%20fill%3D%27%23ffffff%27%20stroke%3D%27none%27/%3E%3C/svg%3E");--pats:120px}
[data-wp="style"]{--pat:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2764%27%20height%3D%2764%27%20fill%3D%27none%27%20stroke%3D%27%23140f2b%27%20stroke-width%3D%272%27%3E%3Cpath%20d%3D%27M0%2064%2064%200M-32%2032%2032-32M32%2096%2096%2032%27%20stroke-dasharray%3D%278%206%27/%3E%3C/svg%3E");--pats:64px}
[data-wp="culture"]{--pat:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27140%27%20height%3D%27140%27%20fill%3D%27none%27%20stroke%3D%27%23140f2b%27%20stroke-width%3D%272%27%3E%3Cpath%20d%3D%27M70.0%2062.0C54.0%2048.0%2060.0%2018.0%2070.0%2014.0C80.0%2018.0%2086.0%2048.0%2070.0%2062.0%27/%3E%3Cpath%20d%3D%27M76.9%2066.0C81.1%2045.1%20110.0%2035.3%20118.5%2042.0C120.0%2052.7%2097.1%2072.9%2076.9%2066.0%27/%3E%3Cpath%20d%3D%27M76.9%2074.0C97.1%2067.1%20120.0%2087.3%20118.5%2098.0C110.0%20104.7%2081.1%2094.9%2076.9%2074.0%27/%3E%3Cpath%20d%3D%27M70.0%2078.0C86.0%2092.0%2080.0%20122.0%2070.0%20126.0C60.0%20122.0%2054.0%2092.0%2070.0%2078.0%27/%3E%3Cpath%20d%3D%27M63.1%2074.0C58.9%2094.9%2030.0%20104.7%2021.5%2098.0C20.0%2087.3%2042.9%2067.1%2063.1%2074.0%27/%3E%3Cpath%20d%3D%27M63.1%2066.0C42.9%2072.9%2020.0%2052.7%2021.5%2042.0C30.0%2035.3%2058.9%2045.1%2063.1%2066.0%27/%3E%3Cpath%20d%3D%27M63%2070a7%207%200%201%200%2014%200a7%207%200%201%200%20-14%200%27/%3E%3C/svg%3E");--pats:140px}
[data-wp="automotive"]{--pat:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2796%27%20height%3D%2796%27%20fill%3D%27none%27%20stroke%3D%27%23140f2b%27%20stroke-width%3D%272%27%3E%3Cpath%20d%3D%27M8%2062h60M30%2076h66M0%2090h44%27/%3E%3Cpath%20d%3D%27M0%200h20v20H0zM20%2020h20v20H20zM40%200h20v20H40z%27%20fill%3D%27%23140f2b%27%20stroke%3D%27none%27/%3E%3C/svg%3E");--pats:96px}
[data-wp="tech"]{--pat:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2780%27%20height%3D%2780%27%20fill%3D%27none%27%20stroke%3D%27%23140f2b%27%20stroke-width%3D%272%27%3E%3Cpath%20d%3D%27M10%2010h30v30h30M10%2070V50h20%27/%3E%3Cpath%20d%3D%27M6%2010a4%204%200%201%200%208%200a4%204%200%201%200%20-8%200%27%20fill%3D%27%23140f2b%27%20stroke%3D%27none%27/%3E%3Cpath%20d%3D%27M66%2040a4%204%200%201%200%208%200a4%204%200%201%200%20-8%200%27%20fill%3D%27%23140f2b%27%20stroke%3D%27none%27/%3E%3Cpath%20d%3D%27M26%2050a4%204%200%201%200%208%200a4%204%200%201%200%20-8%200%27%20fill%3D%27%23140f2b%27%20stroke%3D%27none%27/%3E%3C/svg%3E");--pats:80px}
[data-wp="bangladesh"]{--pat:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27100%27%20height%3D%27100%27%20fill%3D%27none%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%272%27%3E%3Cpath%20d%3D%27M0%2025q25-20%2050%200t50%200M0%2075q25-20%2050%200t50%200%27%20stroke-dasharray%3D%277%206%27/%3E%3Cpath%20d%3D%27M39%2050a11%2011%200%201%200%2022%200a11%2011%200%201%200%20-22%200%27%20stroke-dasharray%3D%277%206%27/%3E%3C/svg%3E");--pats:100px}
[data-wp="film-tv"]{--pat:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2790%27%20height%3D%2790%27%20fill%3D%27none%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%272%27%3E%3Cpath%20d%3D%27M4%209a3%203%200%200%201%203-3h8a3%203%200%200%201%203%203v12a3%203%200%200%201-3%203H7a3%203%200%200%201-3-3zM4%2039a3%203%200%200%201%203-3h8a3%203%200%200%201%203%203v12a3%203%200%200%201-3%203H7a3%203%200%200%201-3-3zM4%2069a3%203%200%200%201%203-3h8a3%203%200%200%201%203%203v12a3%203%200%200%201-3%203H7a3%203%200%200%201-3-3zM30%204h54v38H30zM30%2049h54v38H30z%27/%3E%3C/svg%3E");--pats:90px}
[data-wp="sports"]{--pat:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27200%27%20height%3D%27200%27%20fill%3D%27none%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%272%27%3E%3Cpath%20d%3D%27M10%2010h180v180H10zM100%2010v180M10%2060h32v80H10zM158%2060h32v80h-32z%27/%3E%3Cpath%20d%3D%27M70%20100a30%2030%200%201%200%2060%200a30%2030%200%201%200%20-60%200%27/%3E%3C/svg%3E");--pats:200px}
[data-wp="business"]{--pat:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27110%27%20height%3D%27110%27%20fill%3D%27none%27%20stroke%3D%27%23140f2b%27%20stroke-width%3D%272%27%3E%3Cpath%20d%3D%27M16%2044v50M46%2026v54M76%2034v44M100%208v44M40%2036h12v30H40zM94%2016h12v26H94z%27/%3E%3Cpath%20d%3D%27M10%2056h12v28H10zM70%2044h12v24H70z%27%20fill%3D%27%23140f2b%27%20stroke%3D%27none%27/%3E%3C/svg%3E");--pats:110px}
[data-wp="education"]{--pat:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27120%27%20height%3D%27120%27%20fill%3D%27none%27%20stroke%3D%27%23140f2b%27%20stroke-width%3D%272%27%3E%3Cpath%20d%3D%27M0%2015h120M0%2045h120M0%2075h120M0%20105h120M24%200v120%27/%3E%3C/svg%3E");--pats:120px}

/* ===== Black-first theme, shared by every page =====
   Page backgrounds, panels and furniture are black and white. Story covers, topic pills and each topic's accent colour stay. */
:root {
  --k-black: #0a0a0a; --k-ink: #161616; --k-graphite: #2c2c2c; --k-grey: #5f5f5f; --k-silver: #dcdcd9; --k-mist: #e9e9e6; --k-paper: #f5f5f3; --k-white: #ffffff;
  --ink: var(--k-black); --white: var(--k-white); --pink: var(--k-white); --gold: var(--k-white); --cyan: var(--k-white); --lime: var(--k-white);
  --violet: var(--k-black); --green: var(--k-black); --blue: var(--k-black); --orange: var(--k-black);
  --deep: var(--k-black) !important;
  --bg: var(--k-black); --fg: var(--k-black); --muted: var(--k-grey); --panel: var(--k-mist); --line: var(--k-black); --link: var(--k-black); --read: #262626; --bn: var(--k-white); --accent: var(--k-black);
  --sheet: rgba(255, 255, 255, .97); --sheet-edge: rgba(255, 255, 255, .85); --hair: rgba(10, 10, 10, .1); --veil: transparent; --veil-story: transparent;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: var(--k-black); --fg: var(--k-paper); --muted: #a6a6a6; --panel: #222222; --line: var(--k-paper); --link: var(--k-white); --read: #dcdcdc; --bn: var(--k-white); --accent: var(--c, var(--k-white));
  --sheet: rgba(18, 18, 18, .94); --sheet-edge: rgba(255, 255, 255, .14); --hair: rgba(255, 255, 255, .14); --veil: transparent; --veil-story: transparent;
} }
:root[data-theme="dark"] {
  --bg: var(--k-black); --fg: var(--k-paper); --muted: #a6a6a6; --panel: #222222; --line: var(--k-paper); --link: var(--k-white); --read: #dcdcdc; --bn: var(--k-white); --accent: var(--c, var(--k-white));
  --sheet: rgba(18, 18, 18, .94); --sheet-edge: rgba(255, 255, 255, .14); --hair: rgba(255, 255, 255, .14); --veil: transparent; --veil-story: transparent;
}
:focus-visible { outline-color: currentColor; }
.note { background: var(--k-black); color: var(--k-white); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.sheet { border-color: var(--hair); box-shadow: 0 24px 46px -26px rgba(0, 0, 0, .8); }
.foot__logo { color: var(--k-white); }
.foot__row span { color: #bdbdbd; }
/* Page backdrop: black with only a breath of the page's own colour */
.bg__mesh.meshbg { background:
  radial-gradient(60% 50% at var(--x1, 20%) var(--y1, 10%), color-mix(in srgb, var(--t0, #222) 34%, transparent), transparent 72%),
  radial-gradient(55% 55% at var(--x3, 80%) var(--y3, 80%), color-mix(in srgb, var(--t2, #222) 26%, transparent), transparent 70%),
  var(--k-black); }
.bg__mesh.patbg::before { filter: brightness(0) invert(1); opacity: .035; }
/* Text that sits straight on the black */
.head { position: relative; padding-bottom: 14px; color: var(--k-white); }
.head .bn, .head a { color: var(--k-white); }
.head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; opacity: .72; transform-origin: left; transition: transform 1s var(--glide) .15s; }
.js .head.rv:not(.in)::after { transform: scaleX(0); }
.head.plate::after { display: none; }

/* ===== The wheel and World cards: their own theme, neon on black =====
   Each card glows in its topic's colour. Shared by the home wheel and the Worlds page. */
.stage__bg.meshbg, .gstage__bg.meshbg { background:
  radial-gradient(62% 72% at var(--x1, 25%) var(--y1, 20%), color-mix(in srgb, var(--t0, #333) 34%, transparent), transparent 70%),
  radial-gradient(58% 62% at var(--x2, 75%) var(--y2, 30%), color-mix(in srgb, var(--t1, #333) 22%, transparent), transparent 70%),
  radial-gradient(50% 55% at var(--x3, 50%) var(--y3, 85%), color-mix(in srgb, var(--t2, #333) 18%, transparent), transparent 70%),
  rgba(5, 5, 5, .76); }
.stage__bg.patbg::before, .gstage__bg.patbg::before { filter: brightness(0) invert(1); opacity: .05; }
.wheelsec, .gstage { --sf: #ffffff !important; }
.stage__bg { -webkit-mask-image: linear-gradient(180deg, transparent, #000 90px, #000 calc(100% - 90px), transparent); mask-image: linear-gradient(180deg, transparent, #000 90px, #000 calc(100% - 90px), transparent); }
.world.meshbg { --wf: #ffffff !important; background:
  radial-gradient(85% 60% at 12% 0%, color-mix(in srgb, var(--w, #555) 46%, transparent), transparent 72%),
  radial-gradient(75% 60% at 95% 100%, color-mix(in srgb, var(--t1, var(--w, #555)) 26%, transparent), transparent 72%),
  #0c0c0c; }
.world { border-color: color-mix(in srgb, var(--w, #fff) 62%, #ffffff); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 26px -12px var(--w, #fff), 0 26px 50px -22px rgba(0, 0, 0, .9); }
.world::after { background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0)); }
.world.patbg::before { filter: brightness(0) invert(1); opacity: .05; }
.world .bn { color: color-mix(in srgb, var(--w, #fff) 45%, #ffffff); }
.world__n, .world small { color: rgba(255, 255, 255, .78); }
.fan img { border-color: rgba(255, 255, 255, .9); box-shadow: 0 8px 14px -6px rgba(0, 0, 0, .8); }
/* Keep the glow at rest; interpolating wide shadows repaints cards throughout a turn. */
.wheel__item .world { transition: none; }
.wheel__item[data-d="0"] .world { border-color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1px var(--w, #fff), 0 0 58px -6px var(--w, #fff), 0 30px 60px -22px #000; }
.detail, .ctrl, .gchips, .gnav { --deep: var(--k-ink) !important; }
.detail .cta, #wd-cta { background-color: var(--k-white) !important; color: var(--k-black) !important; }
.gchip { color: #fff; --wf: #fff; background-color: color-mix(in srgb, var(--w, #333) 62%, #0a0a0a); }
.gchip[aria-current="true"] { background-color: var(--w, #fff); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 0 0 2px #fff, 0 0 24px -4px var(--w, #fff); }
/* Motion graphic: a rickshaw wheel turning behind the cards, in the current topic's colour */
.fx-wheel { position: absolute; left: 50%; top: 54%; translate: -50% -50%; width: min(104vh, 118vw); height: min(104vh, 118vw); color: var(--wc, #fff); opacity: .62; pointer-events: none; overflow: visible; fill: none; stroke: currentColor; }
/* Composite one outer SVG instead of repainting two independently turning groups. */
.fx-wheel { transform-origin: 50% 50%; animation: fx-spin 44s linear infinite paused; }
.fx-cw, .fx-ccw { animation: none; }
.wheelsec.is-live .fx-wheel { animation-play-state: running; will-change: transform; }
.wheelsec.is-live .wheel__ring { will-change: transform; }
@keyframes fx-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .fx-wheel, .fx-cw, .fx-ccw { animation: none !important; }
  .wheelsec.is-live .fx-wheel, .wheelsec.is-live .wheel__ring { will-change: auto; }
  .head::after { transition: none; }
  .js .head.rv:not(.in)::after { transform: none; }
}
:root[data-lite] .fx-wheel { animation: none; will-change: auto; }

/* Fields and pressed pills sit on light or dark panels, not on the black page */
:root { --field: #f5f5f3; --on-fg: #ffffff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --field: #222222; --on-fg: #0a0a0a; } }
:root[data-theme="dark"] { --field: #222222; --on-fg: #0a0a0a; }
.tools input, .tools select, .field input, .field select, .field textarea { background: var(--field); color: var(--fg); }
.tools select option { background: var(--field); color: var(--fg); }
.pill[aria-pressed="true"] { color: var(--wf, var(--on-fg)); }

/* The Music record slides past the cover; keep it from widening the page on phones */
[data-world="music"] .ah { overflow-x: clip; }

/* A little friend tucked behind the wordmark. Only moves when invited. */
.bar__brand { position: relative; flex: none; isolation: isolate; }
.bar__brand .bar__logo { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: 108px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.bar__brand .bar__logo .wm { width: 100%; height: 25px; }
.panda-peek { position: absolute; top: -23px; left: 2px; z-index: 1; width: 52%; aspect-ratio: 12 / 11; overflow: hidden; pointer-events: none; }
.panda-peek[hidden] { display: none !important; }
.panda-peek__friend { display: block; width: 100%; height: 100%; filter: drop-shadow(0 1px 1px #0006); transform-origin: 50% 100%; animation: panda-rise 5.2s cubic-bezier(.22, .7, .25, 1) both; }
/* Tiny held poses give the drawing a hand-animated feel; the entrance stays smooth. */
.panda-peek__ink { transform-box: view-box; transform-origin: 60px 76px; animation: panda-sketch .28s steps(2, end) infinite; }
.panda-paw-wave { transform-box: view-box; transform-origin: 100px 94px; animation: panda-wave 1.1s steps(2, end) 1s 3 both; }
.panda-ear--left { transform-box: view-box; transform-origin: 27px 35px; animation: panda-ear .55s steps(2, end) .7s both; }
.panda-eyes { animation: panda-eyes-open 5.2s steps(1, end) both; }
.panda-eyes-closed { animation: panda-eyes-shut 5.2s steps(1, end) both; }
.panda-peek__zzz { position: absolute; top: 5px; right: 0; z-index: 1; color: #d4e8e3; font: 700 10px/1 var(--text); animation: panda-snooze .8s steps(3, end) both; }
@keyframes panda-rise { 0% { opacity: 0; transform: translateY(82%) rotate(-8deg); } 8% { opacity: 1; transform: translateY(30%) rotate(-6deg); } 18% { transform: translateY(0) rotate(2deg); } 24%, 72% { opacity: 1; transform: none; } 79% { transform: rotate(-4deg); } 88% { opacity: 1; transform: translateY(20%) rotate(4deg); } 100% { opacity: 0; transform: translateY(84%) rotate(6deg); } }
@keyframes panda-sketch { 0%, 100% { transform: rotate(-.4deg); } 35% { transform: translate(.6px, -.4px) rotate(.4deg); } 70% { transform: translate(-.5px, .3px) rotate(-.2deg); } }
@keyframes panda-wave { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-12deg); } 40% { transform: rotate(4deg); } 60% { transform: rotate(-9deg); } 80% { transform: rotate(2deg); } }
@keyframes panda-ear { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(-8deg); } 70% { transform: rotate(4deg); } }
@keyframes panda-eyes-open { 0%, 20%, 25%, 58%, 63%, 100% { opacity: 1; } 22%, 60% { opacity: 0; } }
@keyframes panda-eyes-shut { 0%, 20%, 25%, 58%, 63%, 100% { opacity: 0; } 22%, 60% { opacity: 1; } }
@keyframes panda-snooze { from { opacity: .9; transform: translateY(5px) rotate(-12deg); } to { opacity: 0; transform: translateY(-3px) rotate(6deg); } }
@media (max-width: 780px) {
  .bar__brand { flex: 0 0 80px; }
  .bar__brand .bar__logo { width: 80px; }
  .bar__brand .bar__logo .wm { height: 19px; }
  .bar nav a { min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .bar nav a.opt { display: flex; }
}
@media (max-width: 520px) {
  .bar__brand { flex-basis: 72px; }
  .bar__brand .bar__logo { width: 72px; }
  .bar__brand .bar__logo .wm { height: 17px; }
  .bar nav { justify-content: space-evenly; gap: 0; }
  .bar nav a { padding-inline: 5px; font-size: 12px; letter-spacing: 0; }
  .panda-peek { top: -14px; }
}
@media (max-width: 360px) {
  .bar__brand { flex-basis: 60px; }
  .bar__brand .bar__logo { width: 60px; }
  .bar nav a { padding-inline: 4px; font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .panda-peek__friend, .panda-peek__ink, .panda-paw-wave, .panda-ear--left, .panda-eyes, .panda-eyes-closed, .panda-peek__zzz { animation: none; transform: none; }
  .panda-eyes { opacity: 1; }
  .panda-eyes-closed { opacity: 0; }
  .panda-peek__zzz { display: none; }
  .bar__brand .bar__logo { transition: none; }
}
