/*! Fonts: Source Sans 3 and Source Serif 4, used under the SIL Open Font License 1.1 (https://openfontlicense.org). */
@font-face { font-family: "Source Sans"; font-style: normal; font-display: swap; font-weight: 200 900; src: url(fonts/source-sans-3-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Sans"; font-style: normal; font-display: swap; font-weight: 200 900; src: url(fonts/source-sans-3-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Sans"; font-style: normal; font-display: swap; font-weight: 200 900; src: url(fonts/source-sans-3-greek-wght-normal.woff2) format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Source Sans"; font-style: italic; font-display: swap; font-weight: 200 900; src: url(fonts/source-sans-3-latin-wght-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Sans"; font-style: italic; font-display: swap; font-weight: 200 900; src: url(fonts/source-sans-3-latin-ext-wght-italic.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Sans"; font-style: italic; font-display: swap; font-weight: 200 900; src: url(fonts/source-sans-3-greek-wght-italic.woff2) format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Source Serif"; font-style: normal; font-display: swap; font-weight: 200 900; src: url(fonts/source-serif-4-latin-opsz-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Serif"; font-style: normal; font-display: swap; font-weight: 200 900; src: url(fonts/source-serif-4-latin-ext-opsz-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Serif"; font-style: normal; font-display: swap; font-weight: 200 900; src: url(fonts/source-serif-4-greek-opsz-normal.woff2) format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Source Serif"; font-style: italic; font-display: swap; font-weight: 200 900; src: url(fonts/source-serif-4-latin-opsz-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Serif"; font-style: italic; font-display: swap; font-weight: 200 900; src: url(fonts/source-serif-4-latin-ext-opsz-italic.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Serif"; font-style: italic; font-display: swap; font-weight: 200 900; src: url(fonts/source-serif-4-greek-opsz-italic.woff2) format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }

:root {
  color-scheme: dark;
  --bg: #0c0708;
  --panel: #170e0f;
  --stage: #120a0b;
  --line: rgba(240, 205, 150, 0.2);
  --line-strong: rgba(240, 205, 150, 0.42);
  --control: #93826f;
  --ink: #f7efe3;
  --muted: #cdbfae;
  --link: #f8d27a;
  --gold: #f5c451;
  --gold-ink: #2a1500;
  --focus: #ffe08a;
  --btn-bg: #241617;
  --btn-hover: #34211f;
  --f-qs: #f5c451;
  --f-pi: #cfc3f0;
  --f-eng: #ee8f46;
  --f-str: #6fd3e0;
  --f-oth: #d9c8b4;
  --sans: "Source Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --serif: "Source Serif", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}
img, svg, canvas { max-width: 100%; display: block; }
picture { display: contents; }
img { height: auto; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; font-weight: 500; letter-spacing: -0.012em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 1.8rem + 3.6vw, 4.6rem); }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.25em; }
address { font-style: normal; margin-bottom: 1em; }
figure { margin: 0; }
figcaption { color: var(--muted); font-size: 0.95rem; margin-top: 0.5em; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 0.16em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
main:focus { outline: none; }

.wrap { width: min(100% - 2rem, 82.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
html:not(.js) .js-only { display: none !important; }
.js .no-js-only { display: none !important; }

.skip-link { position: absolute; left: 1rem; top: -100%; z-index: 40; background: var(--gold); color: var(--gold-ink); padding: 0.75rem 1.25rem; font-weight: 600; border-radius: 0.4rem; }
.skip-link:focus { top: 0.5rem; }

.frieze { height: 1.75rem; background: url(art/frieze.svg) repeat-x center / auto 100%; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(12, 7, 8, 0.92); backdrop-filter: blur(0.75rem); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; padding-block: 0.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand img { width: 2.75rem; height: auto; padding: 0.2rem; border-radius: 0.55rem; background: #fff; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.brand__sub { font-size: 0.85rem; color: var(--muted); }
.brand:hover .brand__name { text-decoration: underline; }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1rem; margin: 0; padding: 0; }
.nav a { display: flex; align-items: center; min-height: 2.75rem; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 1.03rem; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--gold); }
.site-header__tools { display: flex; gap: 0.5rem; }
.menu-toggle { display: none; }

.btn { display: inline-flex; align-items: center; min-height: 3.1rem; padding: 0.4rem 1.6rem; font: inherit; font-weight: 600; line-height: 1.25; text-decoration: none; border: 1px solid transparent; border-radius: 999px; cursor: pointer; transition: transform 0.15s, background 0.15s, box-shadow 0.15s; }
.btn:hover { transform: translateY(-1px); text-decoration: underline; }
.btn--gold { background: linear-gradient(100deg, #ffd56b, #f0a93b); color: var(--gold-ink); box-shadow: 0 0.5rem 2rem rgba(245, 196, 81, 0.28); }
.btn--gold:hover { box-shadow: 0 0.6rem 2.75rem rgba(245, 196, 81, 0.5); }
.btn--line, .btn--plain { background: rgba(36, 22, 23, 0.9); color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover, .btn--plain:hover { background: var(--btn-hover); }
.chip-btn { appearance: none; min-height: 2.5rem; padding: 0.2rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--btn-bg); color: var(--ink); font: 600 0.9rem var(--sans); cursor: pointer; }
.chip-btn:hover { background: var(--btn-hover); text-decoration: underline; }
.chip-btn[disabled] { opacity: 0.62; cursor: not-allowed; text-decoration: none; }
.chip-btn[hidden] { display: none; }
.more { font-weight: 600; color: var(--ink); }

.live { position: relative; overflow: hidden; background: #000; }
.live img { width: 100%; height: 100%; object-fit: cover; }
.live-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s; }
.live.is-live .live-canvas { opacity: 1; }
.motion-off .live-canvas { opacity: 0 !important; }

.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(86vh, 54rem); }
.hero__art { position: absolute; inset: 0; z-index: -2; cursor: crosshair; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(12, 7, 8, 0.96) 0%, rgba(12, 7, 8, 0.92) 42%, rgba(12, 7, 8, 0.76) 58%, rgba(12, 7, 8, 0.2) 76%, rgba(12, 7, 8, 0) 86%), linear-gradient(0deg, var(--bg) 0%, rgba(12, 7, 8, 0) 22%); }
.hero__text { padding-block: 3.5rem 5rem; }
.eyebrow { margin: 0; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.hero h1 { font-size: clamp(3.2rem, 8.4vw, 7.4rem); line-height: 0.98; letter-spacing: -0.02em; margin: 0.8rem 0 0; max-width: 9.5em; text-shadow: 0 0.1rem 1.6rem rgba(12, 7, 8, 0.9); }
.tagline { margin: 1rem 0 0; font: italic 400 clamp(1.25rem, 2.4vw, 1.75rem) / 1.3 var(--serif); color: var(--gold); }
.hero__lead { max-width: 33em; margin: 1.25rem 0 0; font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.block { padding-block: clamp(3.5rem, 8vw, 7rem); }
.block__title { font-size: clamp(2.2rem, 5vw, 3.75rem); line-height: 1.05; margin: 0; }
.windows-band { position: relative; isolation: isolate; background: var(--bg); clip-path: inset(0); }
.windows-band__bg { position: sticky; top: 0; z-index: -1; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; pointer-events: none; background: center / cover no-repeat; }
html:not(.js) .windows-band__bg, .windows-band__bg.is-near {
  background-image: linear-gradient(rgba(12, 7, 8, 0.92), rgba(12, 7, 8, 0.92)), url("/assets/art/backdrop.webp");
  background-image: linear-gradient(rgba(12, 7, 8, 0.92), rgba(12, 7, 8, 0.92)), image-set(url("/assets/art/backdrop.avif") type("image/avif"), url("/assets/art/backdrop.webp") type("image/webp"));
}
@media (max-width: 50rem) {
  html:not(.js) .windows-band__bg, .windows-band__bg.is-near {
    background-image: linear-gradient(rgba(12, 7, 8, 0.93), rgba(12, 7, 8, 0.93)), url("/assets/art/backdrop-800.webp");
    background-image: linear-gradient(rgba(12, 7, 8, 0.93), rgba(12, 7, 8, 0.93)), image-set(url("/assets/art/backdrop-800.avif") type("image/avif"), url("/assets/art/backdrop-800.webp") type("image/webp"));
  }
}
.sub { color: var(--muted); font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.4; margin: 0.75rem 0 0; max-width: 47.5rem; }

.window { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); grid-template-rows: auto 1fr; column-gap: clamp(1.75rem, 4vw, 4rem); padding-block: clamp(2.75rem, 6vw, 5rem); align-items: start; }
.window__text { grid-column: 1; grid-row: 1; }
.window__stage { grid-column: 2; grid-row: 1 / span 2; }
.window__plates { grid-column: 1; grid-row: 2; }
.window--centered { align-items: center; }
.window--centered .window__stage { position: static; }

.feature { position: relative; isolation: isolate; grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center; min-height: min(38rem, 46vw); margin-top: 3rem; border-radius: 0.875rem; overflow: hidden; border: 1px solid var(--line); }
.feature__art { position: absolute; inset: 0; z-index: -2; }
.feature__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(12, 7, 8, 0.96) 0%, rgba(12, 7, 8, 0.92) 30%, rgba(12, 7, 8, 0.3) 46%, rgba(12, 7, 8, 0) 60%); }
.feature__text { display: block; max-width: 30rem; margin: 0; padding: 2rem clamp(1.25rem, 3vw, 2.5rem); color: var(--ink); font-size: 1.1rem; }
.feature__text > span { display: block; }
.feature__title { margin-top: 0.5rem; font: 500 clamp(2rem, 3.6vw, 3rem) / 1.08 var(--serif); letter-spacing: -0.012em; }
.feature__body { margin-top: 0.875rem; line-height: 1.5; }
.window + .window { border-top: 1px solid var(--line); }
.window--page { padding-top: 0; }
.kicker { display: flex; align-items: center; gap: 0.75rem; margin: 0; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--g, var(--gold)); }
.hex { flex: none; width: 1.9rem; height: 2.125rem; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; letter-spacing: 0; color: var(--gold-ink); background: linear-gradient(160deg, #ffd56b, #e9a23b); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.g-method .hex, .g-interest .hex { background: linear-gradient(160deg, color-mix(in srgb, var(--g) 65%, white), var(--g)); }
.g-main .hex { width: 2.4rem; height: 2.7rem; }
.g-interest .hex { width: 1.4rem; height: 1.6rem; }
.window h4 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); line-height: 1.08; margin: 0.75rem 0 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.012em; }

.g-main { --g: var(--gold); }
.g-method { --g: var(--f-str); }
.g-interest { --g: var(--f-pi); }
.group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 1.1rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--g); }
.group__title { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--g); }
.group__text { margin: 0; color: var(--muted); }
.g-main .group__title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.g-main .window { margin-top: 1.25rem; border: 1px solid var(--line-strong); border-radius: 1rem; background: linear-gradient(180deg, rgba(245, 196, 81, 0.07), transparent 55%); padding-inline: clamp(1rem, 3vw, 2.5rem); }
.g-main .window h4 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.g-main .window { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.g-interest .window { padding-block: clamp(2rem, 4vw, 3.25rem); }
.g-interest .window h4 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); }
.g-interest .window .body { font-size: 1rem; }
.window .body { color: var(--muted); margin: 0.875rem 0 0; }
.try { margin: 1.1rem 0; padding: 0.75rem 1rem; border-left: 4px solid var(--g, var(--gold)); background: var(--panel); border-radius: 0 0.6rem 0.6rem 0; font-size: 1.05rem; line-height: 1.42; }
.try strong { color: var(--g, var(--gold)); }
.try--stage { margin: 0 0 0.6rem; padding: 0.5rem 0.875rem; font-size: 0.98rem; line-height: 1.38; }
.fact { margin: 1.1rem 0; padding: 0.875rem 1rem; border: 1px solid var(--line); border-radius: 0.75rem; }
.fact b { display: block; font: 500 2.1rem/1.1 var(--serif); color: var(--gold); }
.fact span { display: block; color: var(--muted); font-size: 1rem; margin-top: 0.25rem; }
.apps { margin: 1.25rem 0 0; }
.apps__title { margin: 0 0 0.5rem; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.apps .apps__list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.apps .apps__list li { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 0.95rem; color: var(--muted); }
.apps__icon { flex: none; width: 2.25rem; height: 2.25rem; }
.apps--small { margin: 0.9rem 0; }
.apps--small .apps__list { gap: 0.35rem 1rem; }
.apps--small .apps__list li { gap: 0.4rem; font-size: 0.85rem; }
.apps--small .apps__icon { width: 1.6rem; height: 1.6rem; }
.plate { margin-top: 1.6rem; }
.plate img { width: 100%; border-radius: 0.6rem; border: 1px solid var(--line); }
.plate img.plate__small { max-width: 25.875rem; }
.plate img.plate__clear { border: 0; border-radius: 0; }
.plate--round { margin-top: 2rem; }
@media (min-width: 62.01rem) {
  .window:has(.plate--round) .window__stage { align-self: center; }
  .window:has(.plate--round) .stage-still img { aspect-ratio: 1.25; object-fit: cover; object-position: 18% 50%; }
}
.plate--round img { clip-path: ellipse(49.5% 49.6% at 50% 49.8%); }
.plate--round figcaption { max-width: 34em; margin-top: 0.9rem; padding-left: 0.9rem; border-left: 2px solid var(--line-strong); }
.stage-still img { width: 100%; border-radius: 0.875rem; border: 1px solid var(--line); }
@media (min-width: 62.01rem) and (min-height: 44rem) {
  .window__stage { position: sticky; top: 5.25rem; }
}

.sim { display: flex; flex-direction: column; background: var(--stage); border: 1px solid var(--line); border-radius: 0.875rem; overflow: hidden; box-shadow: 0 1.9rem 5rem rgba(0, 0, 0, 0.6), 0 0 5rem rgba(245, 196, 81, 0.07); }
.sim__view { position: relative; background: #000; }
.sim__view canvas { width: 100%; height: auto; }
.sim__tag { position: absolute; left: 0.6rem; top: 0.6rem; margin: 0; padding: 0.15rem 0.55rem; border-radius: 0.4rem; background: rgba(8, 5, 5, 0.84); font-weight: 600; font-size: 0.8rem; }
.sim__read { position: absolute; right: 0.6rem; top: 0.6rem; min-width: 9.5rem; padding: 0.5rem 0.75rem; border-radius: 0.6rem; background: rgba(8, 5, 5, 0.86); font-size: 0.8rem; line-height: 1.35; }
.sim__read b { display: block; font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sim__bar { display: block; height: 0.3rem; margin-top: 0.4rem; border-radius: 0.2rem; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.sim__bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width 0.5s; }
.sim__controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 0.5rem 1.4rem; padding: 0.6rem 1rem 0.35rem; font-weight: 500; font-size: 0.95rem; line-height: 1.35; }
.sim__field { display: grid; gap: 0.25rem; }
.sim__label { display: flex; justify-content: space-between; gap: 0.6rem; }
.sim__label span { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--gold); }
.sim input[type="range"] { width: 100%; height: 1.75rem; margin: 0; accent-color: var(--gold); cursor: pointer; }
.sim__check { display: flex; align-items: center; gap: 0.55rem; min-height: 1.75rem; align-self: end; cursor: pointer; }
.sim__check input { flex: none; width: 1.5rem; height: 1.5rem; margin: 0; accent-color: var(--gold); }
.sim__counts { display: flex; flex-wrap: wrap; gap: 0.3rem 0.875rem; margin: 0; padding: 0 1rem 0.5rem; font-weight: 500; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.sim__counts b { color: var(--gold); min-width: 1.6em; }
.sim__counts { align-items: center; gap: 0.4rem 1.4rem; }
.sim__counts-title { color: var(--muted); }
.ion-key { display: inline-flex; align-items: center; gap: 0.45rem; }
@media (max-width: 40rem) { .sim__counts { gap: 0.3rem 1rem; } .sim__counts-title { flex-basis: 100%; } }
.ion-icon { width: 1.9rem; height: 1.9rem; flex: none; font-family: "Source Sans", Arial, sans-serif; }
.sim__note { margin: 0; padding: 0 1rem 0.875rem; color: var(--muted); font-size: 0.88rem; line-height: 1.4; }
.sim__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; padding: 0 1rem 0.6rem; color: var(--muted); font-size: 0.92rem; line-height: 1.4; }
.sim__legend { position: absolute; left: 0.6rem; bottom: 0.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.75rem; margin: 0; padding: 0.25rem 0.6rem; list-style: none; border-radius: 0.4rem; background: rgba(8, 5, 5, 0.86); font-size: 0.78rem; font-weight: 600; line-height: 1.3; }
.sim__legend li { display: flex; align-items: center; gap: 0.4rem; }
.sim__dot { flex: none; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #fff0b5; box-shadow: 0 0 0.35rem rgba(255, 224, 122, 0.8); }
.sim__cell { flex: none; width: 1.05rem; height: 0.5rem; border-radius: 0.25rem; background: #2f6a55; border: 1.5px solid #0c2b23; box-shadow: 0 0 0 1px rgba(140, 199, 173, 0.35); }
.sim__cell--on { background: #ffe07a; border-color: #3b1d04; box-shadow: 0 0 0.4rem rgba(255, 224, 122, 0.8); }
.sim__status { flex: 1 1 12rem; min-height: 2.8em; margin: 0; }

.compare { position: relative; aspect-ratio: 16 / 9.4; overflow: hidden; }
.compare > .live { position: absolute; inset: 0; }
.compare__top { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__line { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.8); pointer-events: none; }
.compare__line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 1.4rem; height: 1.4rem; margin: -0.7rem; background: #fff; transform: rotate(45deg); border-radius: 0.2rem; box-shadow: 0 0.1rem 0.6rem rgba(0, 0, 0, 0.6); }
.compare__wrap { position: relative; overflow: hidden; }
.compare__facts { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 0.5rem; padding: 0.6rem; pointer-events: none; }
.compare__fact { width: 47%; padding: 0.6rem 0.8rem; border: 1px solid var(--line-strong); border-radius: 0.6rem; background: rgba(8, 5, 5, 0.92); font-size: 0.82rem; line-height: 1.35; pointer-events: auto; transition: transform 0.45s ease; }
.compare__fact-title { margin: 0 0 0.3rem; color: var(--gold); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.compare__fact ul { margin: 0; padding-left: 1rem; }
.compare__fact li + li { margin-top: 0.3rem; }
.compare__fact--left.is-away { transform: translateX(-115%); }
.compare__fact--right.is-away { transform: translateX(115%); }
.motion-off .compare__fact { transition: none; }
@media (max-width: 48rem) {
  .compare__facts { position: static; display: grid; padding: 0.6rem; pointer-events: auto; }
  .compare__fact { width: auto; }
  .compare__fact--left.is-away, .compare__fact--right.is-away { transform: none; }
}
html:not(.js) .compare__facts { position: static; display: grid; padding: 0.6rem; pointer-events: auto; }
html:not(.js) .compare__fact { width: auto; }
html:not(.js) .compare { aspect-ratio: auto; }
html:not(.js) .compare > .live, html:not(.js) .compare__top { position: static; height: auto; }

.game { max-width: 64rem; margin: 0 auto; background: var(--stage); border: 1px solid var(--line); border-radius: 0.875rem; overflow: hidden; box-shadow: 0 1.9rem 5rem rgba(0, 0, 0, 0.6), 0 0 5rem rgba(245, 196, 81, 0.07); }
.game__hud { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1.5rem; padding: 0.7rem 1rem; font-size: 0.98rem; line-height: 1.3; }
.game__hud p { margin: 0; }
.game__hud b { color: var(--gold); font-variant-numeric: tabular-nums; }
.game__level { font-family: var(--serif); font-size: 1.2rem; }
.game__charge { display: flex; align-items: center; gap: 0.55rem; margin-left: auto; }
.game__charge b { min-width: 1.8em; text-align: right; }
.game__meter { width: 8rem; height: 0.55rem; border-radius: 0.3rem; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.game__meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f0a93b, #ffe07a); transition: width 0.2s; }
.game__view { position: relative; background: #000; }
.game__view canvas { width: 100%; height: auto; cursor: crosshair; touch-action: manipulation; }
.game__view canvas:focus-visible { outline-offset: -3px; border-radius: 0; }
.game__panel { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; overflow: auto; background: rgba(8, 5, 5, 0.72); }
.game__panel[hidden] { display: none; }
.game__card { width: min(100%, 36rem); padding: 1.25rem 1.5rem; border: 1px solid var(--line-strong); border-radius: 0.875rem; background: rgba(23, 14, 15, 0.97); font-size: 1.02rem; line-height: 1.45; }
.game__card h2 { margin: 0.15rem 0 0.6rem; }
.game__card p { margin: 0 0 0.7rem; }
.game__eyebrow { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.game__note, .game__science { color: var(--muted); }
.game__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem !important; }
@media (min-width: 44.01rem) {
  .game[data-colony] .game__view { display: grid; }
  .game[data-colony] .game__view > * { grid-area: 1 / 1; }
  .game[data-colony] .game__view canvas { align-self: start; justify-self: center; }
  .game[data-colony] .game__panel { position: relative; inset: auto; overflow: visible; }
}
.game__card--wide { width: min(100%, 46rem); }
.game__msg { min-height: 1.45em; margin: 0.5rem 0 0 !important; color: var(--gold); font-weight: 500; }
.game__toast { position: absolute; left: 50%; bottom: 0.6rem; z-index: 1; transform: translateX(-50%); width: max-content; max-width: calc(100% - 1.2rem); margin: 0; padding: 0.4rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 0.6rem; background: rgba(23, 14, 15, 0.92); font-weight: 500; font-size: 0.95rem; line-height: 1.35; text-align: center; pointer-events: none; }
.game__toast[hidden] { display: none; }
.game__toast--raised { bottom: 12%; }
.game__speed { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.game__speed .chip-btn { display: inline-flex; align-items: center; gap: 0.4rem; }
.game__speed .chip-btn[aria-pressed="true"] { border-color: var(--gold); background: var(--btn-hover); box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); }
.levels { list-style: none; display: grid; gap: 0.5rem; margin: 0 0 0.9rem; padding: 0; }
.levels--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.tree { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 0 0.6rem; }
.tree .bench__h { margin-top: 0.3rem; color: var(--gold); }
.tree__list { grid-template-columns: 1fr; }
.loadout { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; margin: 0 0 0.4rem; padding: 0.5rem 0.8rem 0.6rem; border: 1px solid var(--line-strong); border-radius: 0.6rem; }
.loadout legend { padding: 0 0.3rem; color: var(--gold); font-weight: 600; font-size: 0.92rem; }
.loadout label { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2rem; cursor: pointer; }
.loadout input { width: 1.1rem; height: 1.1rem; accent-color: var(--gold); }
.game__news { margin: 0 0 0.8rem; padding-left: 1.2rem; }
.game__news li { margin: 0.25rem 0; }
.game__chapters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem !important; }
.game__chapters .chip-btn[aria-pressed="true"] { border-color: var(--gold); background: var(--btn-hover); box-shadow: inset 0 0 0 1px var(--gold); }
.level-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; min-height: 3.2rem; padding: 0.55rem 1rem; border: 1px solid var(--line-strong); border-radius: 0.6rem; background: var(--btn-bg); color: var(--ink); font: 600 1.08rem var(--sans); text-align: left; cursor: pointer; }
.level-card:hover { background: var(--btn-hover); }
.level-card[disabled] { cursor: not-allowed; color: var(--muted); background: transparent; }
.level-card__n { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; margin-right: 0.4rem; border-radius: 50%; background: rgba(245, 196, 81, 0.16); color: var(--gold); font-size: 0.95rem; }
.level-card__lock { font-weight: 400; font-size: 0.92rem; }
.stars { color: var(--gold); letter-spacing: 0.12em; font-size: 1.25rem; white-space: nowrap; }
.stars--big { font-size: 2.6rem; line-height: 1.1; }
.stars--hud { margin-left: 0.3rem; font-size: 1rem; letter-spacing: 0.05em; }
.stars--pop span { display: inline-block; }
.game__hud .is-rush, .game__hud .is-rush b { color: #ff9a6a; }
@media (prefers-reduced-motion: no-preference) {
  .stars--pop .is-won { animation: star-pop 0.5s cubic-bezier(0.2, 1.6, 0.4, 1) calc(0.55s + var(--k) * 0.28s) backwards; }
  .game__hud .is-rush b { display: inline-block; animation: rush-beat 1s ease-in-out infinite; }
}
.motion-off .stars--pop .is-won, .motion-off .game__hud .is-rush b { animation: none; }
@keyframes star-pop { from { opacity: 0; transform: scale(0.2) rotate(-40deg); } }
@keyframes rush-beat { 50% { transform: scale(1.18); } }
.dare { color: var(--muted); }
.dare.is-met, .dare.is-met b, .dare-gem.is-met { color: var(--gold); }
.dare-gem { color: var(--muted); font-size: 1.25rem; line-height: 1; }
.level-card__won { display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap; }
.levels--two > li { display: grid; }
.level-card__score { display: grid; justify-items: end; }
.level-card__best { color: var(--muted); font-weight: 400; font-size: 0.85rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mods.mods--three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); }
.game__tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1rem; padding: 0.8rem 1rem 0.5rem; }
.game__toolset, .game__run { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.game-tool { appearance: none; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.3rem 0.95rem; border: 1px solid var(--line-strong); border-radius: 0.6rem; background: var(--btn-bg); color: var(--ink); font: 600 0.98rem var(--sans); cursor: pointer; }
.game-tool:hover { background: var(--btn-hover); }
.game-tool[hidden] { display: none; }
.game-tool[aria-pressed="true"] { border-color: var(--gold); background: rgba(245, 196, 81, 0.16); box-shadow: inset 0 0 0 1px var(--gold); }
.game-tool kbd { padding: 0 0.4rem; border-radius: 0.3rem; background: rgba(255, 255, 255, 0.14); font: 700 0.8rem var(--sans); }
.game-tool__cost { color: var(--gold); font-weight: 500; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.game-tool.is-short .game-tool__cost { color: var(--muted); text-decoration: line-through; }
.game__status { min-height: 1.45em; margin: 0; padding: 0 1rem 0.3rem; font-weight: 500; }
.game__keys { margin: 0; padding: 0 1rem 0.9rem; color: var(--muted); font-size: 0.92rem; }
.game-notes { margin-top: clamp(2rem, 5vw, 3.25rem); }
.game[data-mode="play"] canvas { touch-action: none; }
.game__meter--fit i { background: linear-gradient(90deg, #4fc39b, #b6f0a0); }
.game__meter--fit i.is-low { background: linear-gradient(90deg, #e2563f, #ff9a6a); }
.game__panel--side { justify-items: end; padding-right: 1.25rem; background: linear-gradient(90deg, rgba(8, 5, 5, 0) 0 25%, rgba(8, 5, 5, 0.75) 55%); }
.game__panel--side .game__card { width: min(100%, 31rem); max-height: 100%; overflow: auto; }
.quench__hud { position: absolute; top: 0.6rem; left: 0.6rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; max-width: calc(100% - 1.2rem); pointer-events: none; }
.quench:not([data-mode="play"]) .quench__hud { display: none; }
.quench__acts { display: flex; flex-wrap: wrap; gap: 0.4rem; pointer-events: auto; }
.act-btn { appearance: none; display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.3rem; padding: 0.2rem 0.55rem 0.2rem 0.85rem; border: 1px solid #5a3b0a; border-radius: 999px; background: linear-gradient(180deg, #ffe08a, #e0a93b); color: #1c1204; font: 700 0.88rem var(--sans); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); cursor: pointer; }
.act-btn:hover { background: linear-gradient(180deg, #fff0b8, #f0bc52); }
.act-btn kbd { padding: 0.05rem 0.4rem; border-radius: 0.35rem; background: rgba(28, 18, 4, 0.18); font: 700 0.72rem var(--sans); }
.act-btn:disabled { opacity: 0.55; cursor: default; }
.act-btn.is-urgent { background: linear-gradient(180deg, #ffb09a, #ff6a4a); border-color: #5a1208; }
@media (prefers-reduced-motion: no-preference) {
  .act-btn.is-urgent { animation: site-alarm 1.1s ease-in-out infinite; }
}
.quench__site { display: flex; align-items: center; gap: 0.55rem; max-width: calc(100% - 1.2rem); margin: 0; padding: 0.4rem 0.75rem 0.4rem 0.45rem; border: 1px solid rgba(255, 224, 138, 0.45); border-radius: 1.4rem; background: rgba(8, 6, 6, 0.8); font-size: 0.95rem; font-weight: 600; line-height: 1.2; pointer-events: none; }
.quench__site b { color: var(--gold); }
.quench__site:empty { display: none; }
.quench__beads { display: inline-flex; gap: 0.3rem; }
.site-bead { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border: 2px solid #000; border-radius: 50%; font: 700 0.68rem/1 var(--sans); font-style: normal; color: var(--ink); background: radial-gradient(circle at 35% 30%, #fff 0 8%, var(--metal) 45%, var(--ink) 130%); }
.site-bead.is-empty { border: 2px dashed rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.06); }
.site-bead.is-locked { border: 2px dashed rgba(232, 246, 255, 0.55); background: rgba(255, 255, 255, 0.04); color: #e8f6ff; font-size: 0.55rem; }
.site-bead.is-poison { box-shadow: 0 0 0 2px #ff6a4a; }
.quench__site.is-bad { border-color: #ff8a7a; }
.quench__site.is-bad, .quench__site.is-bad b { color: #ff9a7a; }
@media (prefers-reduced-motion: no-preference) {
  .quench__site.is-bad .quench__beads { animation: site-alarm 1.1s ease-in-out infinite; }
}
@keyframes site-alarm { 50% { filter: drop-shadow(0 0 6px rgba(255, 110, 80, 0.9)); } }
.bench__h { margin: 0.9rem 0 0.4rem; font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; }
.fits { list-style: none; display: grid; gap: 0.25rem; margin: 0; padding: 0; font-size: 0.92rem; }
.fits li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 2.8rem; align-items: center; gap: 0.6rem; }
.fits__name { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.fits__name i { flex: none; width: 0.75rem; height: 0.75rem; border-radius: 50%; border: 1px solid #000; }
.fits__bar { height: 0.5rem; border-radius: 0.3rem; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.fits__bar i { display: block; height: 100%; background: var(--gold); }
.fits b { text-align: right; font-variant-numeric: tabular-nums; }
.mods { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 0.45rem; margin: 0; padding: 0; }
.mod { display: grid; gap: 0.15rem; width: 100%; height: 100%; padding: 0.5rem 0.7rem; border: 1px solid var(--line-strong); border-radius: 0.6rem; background: var(--btn-bg); color: var(--ink); font: 400 0.88rem/1.3 var(--sans); text-align: left; cursor: pointer; }
.mod:hover { background: var(--btn-hover); }
.mod[aria-disabled="true"] { cursor: default; }
.mod[aria-disabled="true"]:not(.is-built) .mod__cost { color: var(--muted); }
.mod.is-built { border-color: var(--gold); background: rgba(245, 196, 81, 0.12); }
.mod__head { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.95rem; }
.mod__cost { color: var(--gold); font-weight: 600; white-space: nowrap; }
.mod__text { color: var(--muted); }
.mods li.is-asking { grid-column: 1 / -1; }
.mods li.is-asking .mod { height: auto; border-color: var(--gold); }
.mod__confirm { margin-top: 0.4rem; padding: 0.6rem 0.7rem; border: 1px solid var(--gold); border-radius: 0.6rem; background: rgba(245, 196, 81, 0.08); }
.mod__confirm p { margin: 0; }
.mod__confirm .game__actions { margin-top: 0.5rem !important; }
.stage-still figcaption { margin-top: 0.6rem; color: var(--muted); }
@media (max-width: 44rem) {
  .game__panel { position: static; padding: 0; background: var(--panel); }
  .game__card { width: 100%; border: 0; border-radius: 0; }
  .game__charge { margin-left: 0; }
  .game__toast { display: none; }
  .quench__hud { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; max-width: none; padding: 0.5rem 0.75rem 0; }
  .quench__site { font-size: 0.85rem; }
  .site-bead { width: 1.6rem; height: 1.6rem; }
}
.ending__chapters { list-style: none; display: grid; gap: 0.2rem; margin: 0.8rem 0; padding: 0; font-size: 0.92rem; }
.ending__chapters li { display: flex; justify-content: space-between; gap: 1rem; }
.ending__chapters .stars { color: var(--gold); letter-spacing: 0.05em; white-space: nowrap; }
.ending__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1rem; margin: 0.8rem 0; }
.ending__stats div { padding: 0.45rem 0.6rem; border: 1px solid var(--line); border-radius: 0.6rem; }
.ending__stats div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ending__stats dt { font-size: 0.8rem; opacity: 0.8; }
.ending__stats dd { margin: 0; color: var(--gold); font: 700 1.15rem var(--sans); font-variant-numeric: tabular-nums; }
.quench__rotate { display: none; }
@media (max-width: 44rem) and (orientation: portrait) {
  .quench[data-mode="play"] .quench__rotate { display: block; margin: 0; padding: 0.35rem 0.75rem 0; font-size: 0.85rem; opacity: 0.8; }
}
@media (max-height: 32rem) and (orientation: landscape) {
  .game__view { display: flex; justify-content: center; }
  .game__view canvas { width: auto; height: calc(100svh - 4.5rem); max-width: 100%; }
  .quench__site { font-size: 0.8rem; padding: 0.25rem 0.55rem 0.25rem 0.3rem; }
  .site-bead { width: 1.5rem; height: 1.5rem; font-size: 0.6rem; }
  .act-btn { min-height: 2rem; font-size: 0.8rem; }
  .quench__hud { left: 0.4rem; max-width: calc((100% - (100svh - 4.5rem) * 960 / 536) / 2 - 0.6rem); }
  .quench__state { display: none; }
  .quench__acts { flex-direction: column; align-items: stretch; }
}
@media (hover: none) and (pointer: coarse) {
  .act-btn kbd { display: none; }
}

.ev { padding: 0.875rem 1rem; font-weight: 500; font-size: 0.95rem; line-height: 1.35; }
.ev__stats { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0 0 0.6rem; }
.ev__stats dt { color: var(--muted); font-size: 0.82rem; }
.ev__stats dd { margin: 0; font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; color: var(--gold); }
.ev__rounds { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.4rem), 1fr)); gap: 0.3rem; margin: 0 0 0.6rem; padding: 0; }
.ev__rounds li { padding: 0.25rem 0.5rem; border: 1px solid var(--line); border-radius: 0.45rem; font-size: 0.82rem; line-height: 1.25; }
.ev__rounds li.is-now { border-color: var(--gold); background: rgba(245, 196, 81, 0.12); }
.ev__rounds b { display: block; font-weight: 700; }
.ev__rounds span { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.ev__plate { margin: 0 0 0.4rem; color: var(--muted); font-weight: 500; font-size: 0.9rem; }
.ev__grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(8, auto); grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 3px; padding: 0.45rem; border-radius: 0.6rem; background: #080404; }
.ev-tile { appearance: none; aspect-ratio: 1; min-width: 0; padding: 0; border: 0; cursor: pointer; transform: rotate(var(--r)); background: var(--shade, #c8672b); transition: transform 0.15s, filter 0.15s, background 0.2s; clip-path: polygon(var(--a) var(--b), calc(100% - var(--c)) var(--d), calc(100% - var(--e)) calc(100% - var(--f)), var(--g) calc(100% - var(--h))); }
.ev-tile:hover { transform: rotate(var(--r)) scale(1.22); filter: brightness(1.25); position: relative; z-index: 2; }
.ev-tile:focus-visible { position: relative; z-index: 3; outline-offset: 1px; clip-path: none; }
.ev-tile { position: relative; }
.ev-tile[data-done] { cursor: default; }
.ev-tile[data-done]::after { content: attr(data-gain); position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 0.62rem; line-height: 1; color: #fff; text-shadow: 0 0 2px #000, 0 0 3px #000, 0 0 3px #000; font-variant-numeric: tabular-nums; }
.ev-tile.is-up { box-shadow: inset 0 0 0 2px #fff; }
.ev-tile.is-same { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55); }
.ev-tile.is-down { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.ev-tile.is-locked { opacity: 0.25; cursor: not-allowed; box-shadow: none; }
.ev__grid.is-closed .ev-tile:not([data-done]) { cursor: not-allowed; }
.ev__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-top: 0.6rem; }
.ev__status { flex: 1 1 13.75rem; margin: 0; color: var(--muted); font-weight: 400; font-size: 0.92rem; }
.ev__note { margin: 0.5rem 0 0; color: var(--muted); font-weight: 400; font-size: 0.85rem; }

.ev { --purple: #b784f7; --k-first: #cdbfae; --k-additive: #6fd3e0; --k-positive: #8ddc7c; --k-negative: #ff8a5c; --k-harmful: #b8a09a; }
.ev-kind--first, .ev-chip--first { --k: var(--k-first); }
.ev-kind--additive, .ev-chip--additive { --k: var(--k-additive); }
.ev-kind--positive, .ev-chip--positive { --k: var(--k-positive); }
.ev-kind--negative, .ev-chip--negative { --k: var(--k-negative); }
.ev-kind--harmful, .ev-chip--harmful { --k: var(--k-harmful); }
.ev__grid[hidden], .ev__plate[hidden], .ev__result[hidden], .ev__final[hidden] { display: none; }
.ev__grid { position: relative; }
.ev__combo { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.45rem; margin: 0 0 0.5rem; font-size: 0.95rem; }
.ev__combo i { font-style: normal; color: var(--muted); }
.ev-total { color: var(--gold); font-variant-numeric: tabular-nums; }
.ev-pill { display: inline-block; padding: 0.05rem 0.55rem; border-radius: 999px; background: #3d2570; border: 1px solid var(--purple); color: #efe3ff; font-weight: 700; font-style: normal; font-size: 0.85rem; }
.ev__rounds { grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.4rem), 1fr)); }
.ev__rounds li.has-mutation { border-color: var(--k); }
.ev__rounds span { display: block; }
.ev__rounds li { --p: #b4402e; border-top: 3px solid color-mix(in srgb, var(--p) 55%, transparent); background: color-mix(in srgb, var(--p) 8%, transparent); }
.ev__rounds li:nth-child(2) { --p: #cf5f2a; }
.ev__rounds li:nth-child(3) { --p: #e08a30; }
.ev__rounds li:nth-child(4) { --p: #ecb040; }
.ev__rounds li:nth-child(5) { --p: #f6d47a; }
.ev__rounds li.is-now { border-top-color: var(--p); background: color-mix(in srgb, var(--p) 20%, transparent); }
.ev__rounds li.has-mutation, .ev__rounds li.is-done { border-top-color: var(--p); background: color-mix(in srgb, var(--p) 32%, transparent); }
.ev__rounds li.is-now { border-color: var(--gold); border-top-color: var(--gold); background: rgba(245, 196, 81, 0.2); box-shadow: 0 0 0 1px var(--gold), 0 0 1.1rem rgba(245, 196, 81, 0.35); }
.ev__rounds li.is-now span { color: var(--ink); font-weight: 600; }
.ev__rounds li.is-new { animation: ev-plate-in 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
@keyframes ev-plate-in { from { opacity: 0; transform: translateY(-0.6rem) scale(0.92); } }
.motion-off .ev__rounds li.is-new { animation: none; }
.ev__help { margin: 0 0 0.6rem; }
.ev__help summary { display: inline-flex; align-items: center; min-height: 2.25rem; list-style: none; font-size: 0.85rem; }
.ev__help summary::-webkit-details-marker { display: none; }
.ev__help summary::after { content: "+"; margin-left: 0.5rem; font-weight: 700; }
.ev__help[open] summary::after { content: "−"; }
.ev__help[open] summary { margin-bottom: 0.5rem; }
.ev__help .ev__legend { margin-bottom: 0.4rem; }
.ev__rounds small { display: block; width: fit-content; margin-top: 0.25rem; padding: 0.12rem 0.4rem; border-radius: 0.35rem; background: rgba(10, 6, 6, 0.6); color: var(--k, var(--muted)); font-weight: 600; font-size: 0.72rem; line-height: 1.2; }
.ev__best { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; margin: 0 0 0.5rem; padding: 0.45rem 0.65rem; border: 1px solid var(--purple); border-radius: 0.5rem; background: rgba(183, 132, 247, 0.1); font-size: 0.92rem; }
.ev__best[hidden] { display: none; }
.ev__best i { font-style: normal; color: var(--muted); }
.ev-pill--best { background: #9b5de5; color: #fff; }
.ev__best b { color: var(--gold); font-variant-numeric: tabular-nums; }
.ev-ref { aspect-ratio: 1; min-width: 0; display: grid; place-items: center; background: var(--shade); outline: 2px dashed #fff; outline-offset: -2px; color: #fff; font-weight: 800; font-size: 0.8rem; text-shadow: 0 0 3px #000, 0 0 3px #000; border-radius: 0.2rem; }
.ev-scale { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.4rem; color: var(--muted); font-size: 0.75rem; }
.ev-scale i { font-style: normal; }
.ev-scale b { flex: 0 1 9rem; height: 0.55rem; border-radius: 0.3rem; background: linear-gradient(90deg, rgb(70, 22, 20), rgb(226, 140, 60) 50%, rgb(255, 240, 170)); }
.ev-tile.is-best { box-shadow: inset 0 0 0 3px var(--purple); z-index: 1; }
.ev-tile.is-best::after { inset: 50% auto auto 50%; transform: translate(-50%, -50%); padding: 0.12rem 0.3rem; border-radius: 0.7rem; background: #9b5de5; text-shadow: none; }
.ev-pop { position: absolute; z-index: 6; padding: 0.15rem 0.5rem; border-radius: 0.5rem; background: #1a0f12; border: 1px solid var(--fx); color: var(--fx); font-weight: 800; font-size: 0.8rem; white-space: nowrap; pointer-events: none; animation: ev-float 3.2s ease-out forwards; }
.ev-pop--positive { --fx: var(--k-positive); }
.ev-pop--additive { --fx: var(--k-additive); }
.ev-pop--negative { --fx: var(--k-negative); }
.ev-pop--harmful { --fx: var(--k-harmful); }
.ev-pop--surprise { --fx: #ff7bd5; font-size: 0.9rem; }
.ev-tile.fx-surprise { --fx: #ff7bd5; animation: ev-grow 1.8s ease-out, ev-ring 1.9s ease-out; position: relative; z-index: 5; clip-path: none; }
.ev-eq__surprise { margin: 0.4rem 0 0; font-size: 0.9rem; color: var(--muted); }
.ev-eq__surprise b { color: #ff7bd5; }
.ev-tile.fx-positive { --fx: var(--k-positive); animation: ev-grow 1.6s ease-out, ev-ring 1.7s ease-out; position: relative; z-index: 4; clip-path: none; }
.ev-tile.fx-additive { --fx: var(--k-additive); animation: ev-grow 1.3s ease-out, ev-ring 1.5s ease-out; position: relative; z-index: 4; clip-path: none; }
.ev-tile.fx-negative { --fx: var(--k-negative); animation: ev-shake 1.1s, ev-ring 1.5s ease-out; position: relative; z-index: 4; clip-path: none; }
.ev-tile.fx-harmful { --fx: var(--k-harmful); animation: ev-shake 0.8s; }
@keyframes ev-float { 0% { opacity: 0; transform: translate(-50%, -60%); } 8% { opacity: 1; } 75% { opacity: 1; transform: translate(-50%, -140%); } 100% { opacity: 0; transform: translate(-50%, -170%); } }
@keyframes ev-grow { 0% { transform: rotate(var(--r)) scale(1); } 35% { transform: rotate(var(--r)) scale(1.8); filter: brightness(1.6); } 100% { transform: rotate(var(--r)) scale(1); } }
@keyframes ev-shake { 0%, 100% { transform: rotate(var(--r)) translateX(0); } 20% { transform: rotate(var(--r)) translateX(-5px); } 40% { transform: rotate(var(--r)) translateX(5px); } 60% { transform: rotate(var(--r)) translateX(-4px); } 80% { transform: rotate(var(--r)) translateX(3px); } }
@keyframes ev-ring { 0% { box-shadow: 0 0 0 0 var(--fx); } 100% { box-shadow: 0 0 0 1rem transparent; } }
.motion-off .ev-tile[class*="fx-"] { animation: none; }
.motion-off .ev-pop { animation: none; }
@media (prefers-reduced-motion: reduce) { .ev-tile[class*="fx-"], .ev-pop { animation: none; } }
.ev__result { margin-top: 0.6rem; padding: 0.6rem 0.75rem; border: 1px solid var(--line); border-radius: 0.6rem; background: #0e0708; }
.ev-eq { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.5rem; }
.ev-eq > div { min-width: 4.2rem; text-align: center; }
.ev-eq small { display: block; color: var(--muted); font-size: 0.7rem; line-height: 1.15; }
.ev-eq b { display: block; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.ev-eq i { font-style: normal; font-weight: 700; color: var(--muted); }
.ev-eq .ev-eq__got { padding: 0.2rem 0.5rem; border-radius: 0.5rem; border: 2px solid var(--k-first); }
.ev-eq__got--additive { border-color: var(--k-additive) !important; }
.ev-eq__got--positive { border-color: var(--k-positive) !important; }
.ev-eq__got--negative { border-color: var(--k-negative) !important; }
.ev-eq__got--harmful { border-color: var(--k-harmful) !important; }
.ev-eq__kind { margin: 0.4rem 0 0; font-size: 0.9rem; color: var(--muted); }
.ev-eq__kind b { display: inline; color: var(--k); font-size: inherit; }
.ev__final { --v: var(--purple); margin-top: 0.6rem; padding: 1rem 1.1rem 1.1rem; border: 2px solid var(--v); border-radius: 0.8rem; background: linear-gradient(180deg, color-mix(in srgb, var(--v) 17%, transparent), transparent 75%); }
.ev__final.is-won { --v: var(--k-positive); }
.ev__final.is-missed { --v: var(--k-negative); }
.ev-final__verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.85rem; }
.ev-final__sign { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--v); }
.ev-final__sign svg { width: 1.7rem; height: 1.7rem; fill: none; stroke: #14090a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ev-final__words { flex: 1 1 14rem; min-width: 0; }
.ev-final__words p { margin: 0.2rem 0 0; }
.ev-final__words .ev-final__title { margin: 0; font: 600 1.5rem/1.15 var(--serif); color: var(--v); }
.ev-final__meter { margin: 1rem 0 0.9rem; }
.ev-final__track { position: relative; height: 0.75rem; border-radius: 999px; background: rgba(240, 205, 150, 0.18); }
.ev-final__track i { position: absolute; inset: 0 auto 0 0; min-width: 0.75rem; border-radius: 999px; background: var(--v); }
.ev-final__track b { position: absolute; top: -0.35rem; bottom: -0.35rem; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); }
.ev-final__scale { position: relative; height: 1.4rem; color: var(--muted); font-size: 0.85rem; }
.ev-final__scale span { position: absolute; top: 0.45rem; left: 0; white-space: nowrap; }
.ev-final__scale span + span { transform: translateX(-50%); color: var(--ink); font-weight: 600; }
.ev-final__size { margin: 0 0 0.4rem; font-weight: 600; }
.ev-final__rank { margin: 0.5rem 0 0; color: var(--gold); font-weight: 600; }
.ev-final__again { margin-top: 0.9rem; border-color: transparent; background: linear-gradient(100deg, #ffd56b, #f0a93b); color: var(--gold-ink); }
.ev-final__again:hover { background: linear-gradient(100deg, #ffdf8a, #f4b452); }
.ev-final__combo { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0.3rem 0 0.7rem; }
.ev-final__combo i { font-style: normal; color: var(--muted); }
.ev-chip { display: inline-block; padding: 0.25rem 0.6rem; border-radius: 0.55rem; background: #3d2570; border: 1px solid var(--purple); text-align: left; line-height: 1.25; }
.ev-chip b { display: block; color: #efe3ff; font-size: 0.95rem; }
.ev-chip span { display: block; color: var(--k); font-weight: 600; font-size: 0.75rem; }
.ev-final__big { margin: 0 0 0 auto; font: 500 3rem/1 var(--serif); color: var(--v); white-space: nowrap; }
.ev-final__epi { margin: 0.3rem 0 0; color: var(--muted); }
.ev__board { margin-top: 0.6rem; padding: 0.9rem 1rem; border: 1px solid var(--line-strong); border-radius: 0.8rem; background: var(--panel); }
.ev__board[hidden] { display: none; }
.ev__boardtitle { margin: 0 0 0.4rem; font: 600 0.85rem var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.ev__boardlist { margin: 0; padding-left: 1.6rem; }
.ev__boardlist li { padding: 0.25rem 0; }
.ev__boardlist li b { color: var(--ink); }
.ev__boardlist li span { color: var(--muted); font-size: 0.9rem; }
.ev__boardlist li.is-now { color: var(--gold); }
.ev__boardlist li.is-now em { font-style: normal; font-weight: 600; }
.ev__boardempty { color: var(--muted); }
.ev__boardfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-top: 0.6rem; }
.ev__boardfoot input { min-height: 2.5rem; width: 11rem; max-width: 100%; padding: 0.2rem 0.75rem; border-radius: 0.5rem; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 400 1rem var(--sans); }
.world { margin-top: 0.6rem; padding: 0.9rem 1rem; border: 1px solid var(--gold); border-radius: 0.8rem; background: var(--panel); }
.world[hidden], .world [hidden] { display: none; }
.game__card .world { margin: 0.4rem 0 0; padding: 0; border: 0; background: none; }
.world__title { margin: 0 0 0.4rem !important; font: 600 0.85rem var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.world__title span { color: var(--muted); letter-spacing: 0.04em; text-transform: none; font-weight: 400; }.world__list { margin: 0; padding-left: 1.9rem; }
.world__list li { padding: 0.2rem 0; }
.world__list li b { display: inline-block; min-width: 5.5rem; color: var(--ink); }
.world__more { color: var(--muted); font-size: 0.9rem; }
.world__date { white-space: nowrap; }
@media (max-width: 34rem) { .world__more { display: block; } }
.world__list li.is-you { color: var(--gold); }
.world__list li.is-you b { color: var(--gold); }
.world__list li.is-you em { font-style: normal; font-weight: 600; }
.world__list li.world__empty { list-style: none; margin-left: -1.9rem; color: var(--muted); }
.world__status { margin: 0.5rem 0 0 !important; color: var(--muted); }
.world__form { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-top: 0.6rem; }
.world__form input { min-height: 2.5rem; width: 5rem; padding: 0.2rem 0.6rem; border-radius: 0.5rem; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 600 1.1rem var(--sans); letter-spacing: 0.18em; text-align: center; text-transform: uppercase; }
.world__note { margin: 0.5rem 0 0 !important; color: var(--muted); font-size: 0.85rem; }
.game__total { margin: 0.2rem 0 0.5rem !important; line-height: 1.1; }
.game__total b { color: var(--gold); font: 600 clamp(2.2rem, 6vw, 3.2rem) var(--serif); font-variant-numeric: tabular-nums; }
.game__total span { color: var(--muted); font-size: 0.95rem; }
.game__points b, .game__sum { color: var(--gold); font-variant-numeric: tabular-nums; }
.boards { display: grid; gap: 1rem 1.75rem; margin: 0.9rem 0 0; }
.game__card .boards .world { margin: 0; min-width: 0; }
@media (min-width: 44rem) { .boards--two { grid-template-columns: 1fr 1fr; } }
.ev__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin: 0.6rem 0 0; padding: 0; color: var(--muted); font-size: 0.8rem; }
.ev__legend li::before { content: ""; display: inline-block; width: 0.6rem; height: 0.6rem; margin-right: 0.35rem; border-radius: 50%; background: var(--k); }
.ev__legend b { color: var(--ink); }

.f-qs { --c: var(--f-qs); } .f-pi { --c: var(--f-pi); } .f-eng { --c: var(--f-eng); } .f-str { --c: var(--f-str); } .f-oth { --c: var(--f-oth); }
.wall__chips, .filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.4rem 0 0; }
.wall__chip { appearance: none; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0.2rem 0.875rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 500 0.92rem var(--sans); cursor: pointer; }
.wall__chip:hover { background: var(--btn-hover); }
.wall__chip i { width: 0.8rem; height: 0.8rem; border-radius: 0.2rem; background: var(--c); transform: rotate(8deg); }
.wall__chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.wall__skip { margin: 0.9rem 0 1.1rem; font-size: 1rem; }
.wall__grid { display: flex; align-items: flex-end; gap: 0.25rem; }
.wall__year { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.wall__year h3 { order: 2; margin: 0.3rem 0 0; color: var(--muted); font: 500 0.8rem/1 var(--sans); letter-spacing: 0; text-align: center; font-variant-numeric: tabular-nums; }
.wall__year ul { order: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 0.25rem; }
.wall__tile { display: block; width: 100%; aspect-ratio: 1.15; min-height: 1.5rem; background: var(--c); transition: transform 0.15s, opacity 0.25s, filter 0.15s; clip-path: polygon(3% 6%, 97% 2%, 94% 97%, 5% 92%); }
.wall__year li:nth-child(5n+2) .wall__tile { clip-path: polygon(6% 2%, 94% 7%, 98% 93%, 2% 97%); }
.wall__year li:nth-child(5n+3) .wall__tile { clip-path: polygon(1% 4%, 98% 8%, 93% 95%, 7% 98%); }
.wall__year li:nth-child(5n+4) .wall__tile { clip-path: polygon(7% 7%, 99% 3%, 97% 98%, 3% 94%); }
.wall__year li:nth-child(5n) .wall__tile { clip-path: polygon(4% 1%, 95% 5%, 99% 96%, 1% 92%); }
.wall__year:nth-child(even) .wall__tile { transform: rotate(0.7deg); }
.wall__year:nth-child(3n) .wall__tile { transform: rotate(-0.8deg); }
.wall__tile:hover, .wall__tile:focus-visible { transform: scale(1.14); filter: brightness(1.2); clip-path: none; position: relative; z-index: 2; }
.wall__read { margin: 1.1rem 0 0; min-height: 5.6em; padding: 0.875rem 1rem; border-left: 4px solid var(--gold); background: var(--panel); line-height: 1.42; }
.wall__read .wall__hint { margin: 0; }
.wall__read b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
.wall__read span { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.92rem; }

.tools { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin: 2.25rem 0 1rem; padding: 0; }
.tool { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: var(--panel); transition: transform 0.2s, border-color 0.2s; }
.tool:hover { transform: translateY(-3px); border-color: rgba(245, 196, 81, 0.6); }
.tool__pic { aspect-ratio: 16 / 8; overflow: hidden; background: #000; }
.tool__pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tool__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.4rem 1.4rem; }
.tool h3 { font-size: 1.9rem; margin: 0; }
.tool h3 a { color: var(--ink); }
.tool p { color: var(--muted); margin: 0.5rem 0 0; flex: 1; }
.meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.875rem 0 0; padding: 0; }
.meta li { padding: 0.15rem 0.7rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.875rem; }
.soft-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(2.25rem, 5vw, 3.75rem); border-bottom: 1px solid var(--line); align-items: center; }
.soft-row[hidden], .soft-coming[hidden], .soon li[hidden] { display: none; }
.soft-row__pic { display: block; border-radius: 0.875rem; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 1.9rem 5rem rgba(0, 0, 0, 0.6); }
.soft-row__pic img { width: 100%; }
.soft-row__head { display: flex; align-items: center; gap: 0.875rem; }
.soft-row__head img { width: 3.4rem; height: 3.4rem; border-radius: 0.75rem; }
.soft-row h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.1rem); }
.soft-row p { color: var(--muted); }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.6rem 0 0.75rem; padding: 0; }
.badge { padding: 0.15rem 0.7rem; border: 1px solid var(--gold); border-radius: 999px; font-size: 0.875rem; font-weight: 600; background: var(--gold); color: var(--gold-ink); }
.badge--line { border-color: var(--line-strong); background: none; color: var(--ink); }
.points { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.points li { position: relative; padding: 0.2rem 0 0.2rem 1.4rem; }
.points li::before { content: ""; position: absolute; left: 0.15rem; top: 0.72em; width: 0.6rem; height: 0.6rem; background: var(--gold); transform: rotate(45deg); border-radius: 0.1rem; }
.soft-row__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0 0; }
.soft-row .btn--gold { color: var(--gold-ink); }
.soft-row p.cite { margin: 0.9rem 0 0; font-size: 0.95rem; }
.soft-coming { padding-top: clamp(2.25rem, 5vw, 3.75rem); }
.soon { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 0.875rem; margin: 1.1rem 0 0; padding: 0; }
.soon li { padding: 1rem 1.1rem; border: 1px dashed var(--line-strong); border-radius: 0.875rem; }
.soon h3 { margin: 0; font-size: 1.4rem; }
.soon p { margin: 0.25rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.4; }

.lab { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: start; }
.faces { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr)); gap: 1.25rem 0.875rem; margin: 1.6rem 0 1.25rem; padding: 0; }
.face b { display: block; margin-top: 0.5rem; font-weight: 600; line-height: 1.25; }
.face__role { display: block; color: var(--muted); font-size: 0.95rem; line-height: 1.3; }
.face__pic { display: block; aspect-ratio: 1 / 1.08; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(160deg, #ffd56b, #7a0019); overflow: hidden; }
.face__pic img { width: 100%; height: 100%; object-fit: cover; }
.face__init { display: grid; place-items: center; height: 100%; font: 600 2.5rem var(--serif); }
.join-band { position: relative; isolation: isolate; overflow: hidden; }
.join-band__art { position: absolute; inset: 0; z-index: -2; }
.join-band__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(12, 7, 8, 0.95) 0%, rgba(12, 7, 8, 0.82) 45%, rgba(12, 7, 8, 0.25) 100%); }
.join-band__text { padding-block: clamp(4.25rem, 9vw, 7.5rem); }
.join-band .btn { margin-top: 1.5rem; }
.join-band p { margin-bottom: 0; }

.page-head { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(15rem, 34vh, 24rem); }
.page-head__art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-head__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(12, 7, 8, 0.95) 0%, rgba(12, 7, 8, 0.88) 45%, rgba(12, 7, 8, 0.45) 72%, rgba(12, 7, 8, 0.15) 100%), linear-gradient(0deg, rgba(12, 7, 8, 0.7) 0%, rgba(12, 7, 8, 0) 45%); }
.page-head__text { padding-block: 2.75rem 2.25rem; }
.page-head h1 { margin: 0 0 0.25em; max-width: 16em; }
.page-head__crumb { margin: 0 0 0.5rem; font-weight: 600; }
.page-head__version { margin: -0.1rem 0 0.6rem; color: var(--gold); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; }
.version { margin-left: 0.4rem; padding: 0.1rem 0.5rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font: 600 0.75rem/1.4 var(--sans); vertical-align: middle; white-space: nowrap; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); max-width: 40em; margin: 0; }
.page-body { padding-block: clamp(2.25rem, 5vw, 4rem); }
.prose { max-width: 42em; }
.window--page .prose { max-width: none; }
.prose h2 { margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: 0.4em; }
.window--page p { color: var(--ink); }
.art { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.project-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); gap: 1.1rem; margin: 0; padding: 0; }
.project-list > li:nth-child(3):last-child { grid-column: 1 / -1; }
@media (min-width: 64rem) {
  .project-list:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .project-list > li:nth-child(3):last-child { grid-column: auto; }
}
.project-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: var(--panel); transition: transform 0.2s, border-color 0.2s; }
.project-card:hover { transform: translateY(-3px); border-color: rgba(245, 196, 81, 0.6); }
.project-card__body { padding: 1.25rem 1.4rem 1rem; }
.project-card h3 { margin: 0.6rem 0 0.4rem; font-size: 1.75rem; }
.project-card h3 a { color: var(--ink); }
.group .project-list { margin-top: 1.25rem; }
.project-card p:last-child { color: var(--muted); }
.about { margin-top: 3rem; }
.related { margin-top: 3rem; }
.examples { margin-top: 1rem; }
.examples__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.5rem; }
.example img { width: 100%; border-radius: 0.75rem; border: 1px solid var(--line); }
.example figcaption { margin-top: 0.7rem; font-size: 1.0625rem; }
.example figcaption b { display: block; color: var(--ink); font: 500 1.35rem/1.2 var(--serif); margin-bottom: 0.2rem; }

.filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 0.875rem; padding: 1.25rem; margin-bottom: 1rem; }
.filter[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 0.3rem; flex: 1 1 16rem; min-width: 0; }
.field label { font-weight: 600; }
.field input, .field select { font: inherit; color: var(--ink); background: #1f1415; border: 2px solid var(--control); border-radius: 0.5rem; padding: 0.55rem 0.7rem; min-height: 2.75rem; width: 100%; }
.filter__topics { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter__status { font-weight: 600; }
.scholar { color: var(--muted); }
.pub-year { margin-top: 2.5rem; }
.pub-year[hidden], .pub[hidden] { display: none; }
.pub-year h2 { color: var(--gold); border-bottom: 2px solid var(--line-strong); padding-bottom: 0.25rem; }
.pubs { list-style: none; margin: 0 0 1rem; padding: 0; }
.pub { padding-block: 1.25rem; border-bottom: 1px solid var(--line); max-width: 52em; }
.pub:last-child { border-bottom: 0; }
.pub__title { font-size: 1.25rem; margin-bottom: 0.35em; }
.pub p { margin-bottom: 0.3em; }
.pub__authors, .pub__venue { font-size: 1.0625rem; }
.pub__authors strong { color: var(--gold); font-weight: 600; }
.pub__venue { color: var(--muted); font-style: italic; }
.pub__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-weight: 600; }
.pub__tags { color: var(--muted); font-size: 1rem; }
.pub__press { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1.1rem; }
.pub__press-label { color: var(--muted); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

.pub--key { margin-block: 1.5rem; padding: clamp(1.1rem, 2.4vw, 1.75rem); border: 1px solid var(--line-strong); border-radius: 0.875rem; background: linear-gradient(140deg, rgba(245, 196, 81, 0.09), rgba(245, 196, 81, 0) 34%), var(--panel); }
.pub--key:last-child { border-bottom: 1px solid var(--line-strong); }
.pub:has(+ .pub--key) { border-bottom: 0; }
.pub--pic { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.25rem clamp(1.25rem, 3vw, 2.5rem); align-items: start; max-width: none; }
.pub__body > :last-child { margin-bottom: 0; }
.pub__badge { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.7rem; color: var(--gold); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.pub__badge::before { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 0.18rem; background: var(--gold); transform: rotate(8deg); }
.pub--key .pub__title { font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.75rem); margin-bottom: 0.45em; }
.pub--key .pub__summary { margin-top: 0.7rem; }
.pub--key .pub__links { gap: 0.5rem; margin-top: 1rem; font-size: 1rem; }
.pub--key .pub__links a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.2rem 1.15rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--btn-bg); color: var(--ink); text-decoration: none; }
.pub--key .pub__links a:hover { background: var(--btn-hover); text-decoration: underline; }
.pub--key .pub__links a:first-child { border-color: transparent; background: linear-gradient(100deg, #ffd56b, #f0a93b); color: var(--gold-ink); }
.pub--key .pub__press { margin-top: 0.8rem; }
.pub--key .pub__tags { margin-top: 0.8rem; }
.pub__visual { position: relative; }
.pub__visual img { width: 100%; border-radius: 0.6rem; border: 1px solid var(--line); transition: border-color 0.2s; }
.pub__visual:hover img { border-color: rgba(245, 196, 81, 0.6); }
.pub__visual figcaption { margin-top: 0.55rem; text-align: right; }
.pub__visual figcaption a { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ink); font-weight: 600; }
.pub__visual figcaption svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pub__visual figcaption a::after { content: ""; position: absolute; inset: 0; cursor: zoom-in; }

.podcast { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0 1rem; padding: 0.8rem 1.1rem; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--stage); }
.pub--pic .podcast { grid-column: 1 / -1; }
.pub--key:not(.pub--pic) .podcast { margin-top: 1.1rem; }
.podcast [hidden] { display: none; }
.podcast__play { grid-row: 1 / 3; display: grid; place-items: center; width: 3.1rem; height: 3.1rem; padding: 0; border: 1px solid transparent; border-radius: 50%; background: linear-gradient(100deg, #ffd56b, #f0a93b); color: var(--gold-ink); cursor: pointer; box-shadow: 0 0.4rem 1.5rem rgba(245, 196, 81, 0.22); }
.podcast__play:hover { box-shadow: 0 0.4rem 2rem rgba(245, 196, 81, 0.45); }
.podcast__play svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
.podcast__icon-pause, .is-playing .podcast__icon-play { display: none; }
.is-playing .podcast__icon-pause { display: inline; }
.podcast__title, .podcast__time { margin: 0; }
.podcast__title { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.75rem; font-weight: 600; }
.podcast__by { color: var(--muted); font-size: 0.9rem; font-weight: 400; }
.podcast__time { grid-column: 3; color: var(--muted); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.podcast__seek { grid-column: 2 / 4; width: 100%; height: 1.75rem; margin: 0; accent-color: var(--gold); cursor: pointer; }
.podcast audio { grid-column: 1 / -1; width: 100%; margin-top: 0.5rem; }
.podcast__seek { grid-row: 2; }
.podcast:has(.podcast__volume:not([hidden])) .podcast__seek { grid-column: 2; }
.podcast__volume { grid-column: 3; grid-row: 2; display: flex; align-items: center; gap: 0.4rem; }
.podcast__mute { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--btn-bg); color: var(--ink); cursor: pointer; }
.podcast__mute:hover { background: var(--btn-hover); }
.podcast__mute svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.podcast__mute .podcast__speaker { fill: currentColor; }
.podcast__icon-muted, .is-muted .podcast__icon-sound { display: none; }
.is-muted .podcast__icon-muted { display: inline; }
.podcast__level { width: 6rem; height: 1.75rem; margin: 0; accent-color: var(--gold); cursor: pointer; }
.podcast__transcript { grid-column: 1 / -1; margin-top: 0.6rem; border-top: 1px solid var(--line); padding-top: 0.4rem; }
.podcast__transcript summary { display: inline-flex; align-items: center; min-height: 2.5rem; cursor: pointer; list-style: none; font-weight: 600; }
.podcast__transcript summary::-webkit-details-marker { display: none; }
.podcast__transcript summary::after { content: "+"; margin-left: 0.5rem; font-weight: 700; }
.podcast__transcript[open] summary::after { content: "−"; }
.podcast__transcript summary:hover { text-decoration: underline; }
.podcast__text { max-width: 70ch; padding-bottom: 0.4rem; }
.podcast__text p { margin: 0 0 0.75em; }
.podcast__text b { color: var(--ink); }
@media (max-width: 56rem) {
  .pub--pic { grid-template-columns: minmax(0, 1fr); }
  .pub__visual figcaption { text-align: left; }
}
@media (max-width: 34rem) {
  .pub__press-label { flex-basis: 100%; }
  .podcast { grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 0.9rem; }
  .podcast__play { grid-row: 1 / 3; }
  .podcast__title { grid-column: 2 / 4; align-self: end; line-height: 1.3; }
  .podcast__time { grid-column: 2 / 4; align-self: start; }
  .podcast .podcast__seek { grid-column: 1 / -1; grid-row: 3; margin-top: 0.4rem; }
  .podcast:has(.podcast__volume:not([hidden])) .podcast__seek { grid-column: 1 / 3; }
  .podcast__volume { grid-column: 3; grid-row: 3; margin-top: 0.4rem; }
  .podcast__level { width: 4.5rem; }
}
@media (max-width: 22rem) {
  .podcast__level { width: 3.25rem; }
}

.pi { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 2.5rem; align-items: start; margin-bottom: 3.5rem; }
.pi img { width: 100%; border-radius: 0.75rem; border: 1px solid var(--line); }
.pi .kicker { margin-bottom: 0.4rem; }
.members { list-style: none; margin: 1.5rem 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); gap: 2.5rem; }
.member { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.member img, .member__initials { width: 7.5rem; height: 8.1rem; object-fit: cover; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.member__initials { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #e0a53a, #7a0019); font-family: var(--serif); font-size: 2.25rem; }
.member h3 { margin-bottom: 0.1em; }
.member__role { color: var(--gold); font-weight: 600; margin-bottom: 0.5em; }
.groups figure { margin-bottom: 2.5rem; max-width: 48rem; }
.groups img { width: 100%; border-radius: 0.75rem; }

.news { list-style: none; margin: 0 0 1rem; padding: 0; }
.news--short { margin-top: 1.4rem; }
.news li { padding-block: 0.875rem; border-top: 1px solid var(--line); max-width: 48em; }
.news h3 { margin-bottom: 0.25em; }
.news p { margin-bottom: 0.3em; }
.news__date { color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.news-year { margin-bottom: 2rem; }
.news-year h2 { color: var(--gold); }

.teach-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 0.875rem; margin: 1.1rem 0 0; padding: 0; }
.teach-card { padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 0.875rem; background: var(--panel); transition: transform 0.2s, border-color 0.2s; }
.teach-card:hover { transform: translateY(-3px); border-color: rgba(245, 196, 81, 0.6); }
.teach-card h3 { margin: 0; font-size: 1.4rem; }
.teach-card h3 a { color: var(--ink); }
.teach-card p { margin: 0.4rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.teach-part + .teach-part { margin-top: clamp(2rem, 4.5vw, 3.25rem); }
.teach-sub { margin: 0.2rem 0 0; color: var(--muted); font-size: 1.125rem; line-height: 1.4; }
.teach-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.9rem; }
.teach-head .teach-sub { margin: 0; }
.teach-song { max-width: 48rem; margin-top: 1.1rem; }
.lyrics p { margin: 0 0 1.1em; }
.tint-gold { --c: var(--f-qs); }
.tint-violet { --c: var(--f-pi); }
.tint-orange { --c: var(--f-eng); }
.tint-green { --c: #8fd6a2; }
.tint-cyan { --c: var(--f-str); }
.teach-card--glass { position: relative; padding: 1.25rem 1.4rem 1.3rem; border-color: color-mix(in srgb, var(--c) 30%, transparent); background: radial-gradient(120% 140% at 100% 0, color-mix(in srgb, var(--c) 20%, transparent), transparent 62%), linear-gradient(180deg, color-mix(in srgb, var(--c) 6%, transparent), transparent), var(--panel); }
.teach-card--glass:hover { border-color: color-mix(in srgb, var(--c) 75%, transparent); }
.teach-card--glass h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.6rem; }
.teach-card--glass h3::before { content: ""; flex: none; width: 0.85rem; height: 0.85rem; border-radius: 0.2rem; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 55%, white), var(--c)); transform: rotate(8deg); }
.teach-card--glass h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 0.875rem; }
.teach-card--pic { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.1rem, 3vw, 2.25rem); align-items: center; padding: 1.1rem; }
.teach-card__pic { border: 1px solid var(--line); border-radius: 0.6rem; overflow: hidden; }
.teach-card__pic img { width: 100%; }
.teach-card--pic h3 { font-size: 1.75rem; }
.teach-card--pic h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 0.875rem; }
@media (max-width: 48rem) { .teach-card--pic { grid-template-columns: minmax(0, 1fr); } }
.teach-list:has(.teach-card--pic + .teach-card--pic) .teach-card--pic { grid-template-columns: minmax(0, 1fr); align-items: start; align-content: start; }
.contact-join { max-width: 42em; margin-bottom: 3rem; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 2.5rem; }
.sitemap { max-width: 40em; }
.sitemap li { margin-block: 0.4rem; }

.site-footer { background: #070405; padding-top: 3rem; }
.site-footer a { color: var(--ink); }
.site-footer h2 { font-size: 1.2rem; color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 0.3rem; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 2rem; }
.site-footer__legal { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-block: 1.25rem; color: var(--muted); font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 0.25rem 2rem; justify-content: space-between; }
.site-footer__legal p { margin: 0; }

@media (max-width: 48rem), (max-height: 32rem) {
  .site-header { position: static; }
  html { scroll-padding-top: 0.75rem; }
}
@media (max-width: 62rem) {
  .js .menu-toggle { display: inline-flex; align-items: center; }
  .js #site-nav:not(.is-open) { display: none; }
  #site-nav { order: 3; width: 100%; }
  .window { display: block; }
  .window__stage { margin-top: 1.5rem; }
  .feature { display: block; min-height: 0; margin-top: 2rem; }
  .feature__art { position: relative; aspect-ratio: 16 / 9; z-index: auto; }
  .feature__scrim { display: none; }
  .feature__text { max-width: none; padding: 1.25rem; }
  .lab, .soft-row { grid-template-columns: minmax(0, 1fr); }
  .tools { grid-template-columns: minmax(0, 1fr); }
  .hero__scrim { background: linear-gradient(90deg, rgba(12, 7, 8, 0.9), rgba(12, 7, 8, 0.78)), linear-gradient(0deg, var(--bg) 0%, rgba(12, 7, 8, 0) 22%); }
  .join-band__scrim { background: rgba(12, 7, 8, 0.84); }
  .page-head__scrim { background: rgba(12, 7, 8, 0.8); }
}
@media (max-width: 48rem) {
  .wall__grid { flex-direction: column-reverse; align-items: stretch; }
  .wall__year { flex-direction: row; align-items: center; gap: 0.5rem; }
  .wall__year h3 { order: 0; flex: 0 0 2.4rem; margin: 0; text-align: left; }
  .wall__year ul { flex-direction: row; flex-wrap: wrap; }
  .wall__year li { flex: 0 0 1.75rem; }
  .wall__tile { aspect-ratio: 1; }
}
@media (max-width: 40rem) {
  .brand__sub { display: none; }
  .pi { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .pi img { max-width: 14rem; }
  .member { grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem; }
  .member img, .member__initials { width: 5rem; height: 5.4rem; }
  .member__initials { font-size: 1.5rem; }
  .sim__read { position: static; }
  .sim__legend { position: static; padding: 0 0.75rem 0.4rem; border-radius: 0; }
  .ev__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .ev-tile.is-alt { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.site-header { view-transition-name: site-header; }
::view-transition-group(*) { animation-duration: 0.5s; animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
::view-transition-old(root) { animation: 0.22s ease-in both vt-out; }
::view-transition-new(root) { animation: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.06s both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(1rem); } }
.page-head h1, .window h4, .project-card h3 { view-transition-class: title; }
::view-transition-old(*.title) { animation: 0.14s ease-out both vt-out; }
::view-transition-new(*.title) { animation: 0.26s ease-in 0.1s both vt-fade; }
@keyframes vt-fade { from { opacity: 0; } }

.reveal-ready .rv:not(.is-in), .reveal-ready .wall:not(.is-in) .wall__year li { animation: rv-failsafe 0.4s 4s both; }
@keyframes rv-failsafe { from { opacity: 0; } }
.reveal-ready .rv.is-in { animation: rv-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s) both; }
@keyframes rv-rise { from { opacity: 0; translate: 0 2.25rem; } }

.reveal-ready .frieze { position: relative; overflow: hidden; }
.reveal-ready .frieze::before { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: 0.62; transition: opacity 1.3s ease 0.1s; }
.reveal-ready .frieze::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 22%; background: linear-gradient(90deg, transparent, rgba(255, 238, 196, 0.9) 50%, transparent); mix-blend-mode: overlay; opacity: 0; }
.reveal-ready .frieze.is-in::before { opacity: 0; }
.reveal-ready .frieze.is-in::after { animation: frieze-glint 1.7s cubic-bezier(0.45, 0, 0.25, 1) 0.15s both; }
@keyframes frieze-glint { 0% { translate: -100% 0; opacity: 0; } 12%, 85% { opacity: 1; } 100% { translate: 560% 0; opacity: 0; } }

.reveal-ready .wall.is-in .wall__year li { animation: rv-drop 0.6s cubic-bezier(0.3, 1.35, 0.5, 1) calc(var(--y, 0) * 45ms + var(--k, 0) * 30ms) both; }
@keyframes rv-drop { from { opacity: 0; translate: 0 -2.75rem; } 40% { opacity: 1; } }

.llab { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.25rem); }
.llab__eyebrow { margin: 0 0 0.35rem; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.llab__picknote { margin: 0; padding: 0.7rem 1rem 0; color: var(--muted); font-size: 0.92rem; }
.llab__part > h2 { margin: 0 0 1rem; }
.llab__mech { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.llab__panel { background: radial-gradient(120% 80% at 30% 0%, #1e1314 0%, var(--stage) 62%); }
.llab__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); }
.llab__fate { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1.4rem; color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.llab__fate > span { position: relative; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.65rem; border: 1px solid var(--line); border-radius: 99rem; }
.llab__fate > span + span::before { content: ""; position: absolute; right: calc(100% + 0.3rem); top: 50%; width: 0.8rem; border-top: 1px solid var(--line-strong); }
.llab__fate > span.is-past { border-color: var(--line-strong); }
.llab__fate > span.is-on { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.llab__fate > span.is-on:last-child { background: #e6ddd0; border-color: #e6ddd0; color: #1a1011; }
.llab__fate .is-on path { fill: none; stroke: currentColor; }
.llab__fate .llab__glyph { width: 1rem; height: 1rem; }
.llab__ddag { color: var(--gold); font-weight: 700; }
.is-on > .llab__ddag { color: inherit; }
.llab__aside { display: grid; gap: 1rem; align-content: start; }
.llab__legend { padding: 0.9rem 1.25rem 1rem; border: 1px solid var(--line); border-radius: 0.875rem; }
.llab__legend h3 { margin: 0 0 0.6rem; color: var(--muted); font: 700 0.8rem var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.llab__legend .llab__key { display: grid; gap: 0.45rem; padding: 0; font-size: 0.88rem; }
.llab__glyph--wide { width: 1.75rem; height: 1rem; }
.llab__view svg, .llab__chart svg, .llab__pool > svg { display: block; width: 100%; height: auto; }
.llab__swipe { display: none; }
@media (max-width: 40rem) {
  .llab__view { overflow-x: auto; }
  .llab__view svg { width: 36rem; max-width: none; }
  .llab__swipe { display: inline; }
  .llab__fate { gap: 0.35rem 0.4rem; font-size: 0.76rem; }
  .llab__fate > span + span::before { content: none; }
  .llab__dots span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.llab__now { margin: 0; color: var(--ink); font: 500 1.2rem/1.2 var(--serif); }
.llab__scrub { padding: 0.7rem calc(1rem + (100% - 2rem) / 12 - 0.6rem) 0; }
.llab .llab__scrub input { --p: 0; appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 1.6rem; margin: 0; background: none; cursor: pointer; }
.llab__scrub input::-webkit-slider-runnable-track { height: 0.3rem; border-radius: 99rem; background: linear-gradient(to right, var(--gold) calc(0.6rem + (100% - 1.2rem) * var(--p)), rgba(240, 205, 150, 0.24) 0); }
.llab__scrub input::-moz-range-track { height: 0.3rem; border-radius: 99rem; background: rgba(240, 205, 150, 0.24); }
.llab__scrub input::-moz-range-progress { height: 0.3rem; border-radius: 99rem; background: var(--gold); }
.llab__scrub input::-webkit-slider-thumb { -webkit-appearance: none; width: 1.2rem; height: 1.2rem; margin-top: -0.45rem; border: 2px solid var(--stage); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.llab__scrub input::-moz-range-thumb { width: 0.95rem; height: 0.95rem; border: 2px solid var(--stage); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.llab__dots { display: flex; padding: 0 1rem 0.3rem; }
.llab__dots button { position: relative; appearance: none; flex: 1 1 0; min-width: 0; display: grid; justify-items: center; align-content: start; gap: 0.25rem; padding: 0.15rem 0.1rem 0.3rem; border: 0; border-radius: 0.5rem; background: none; color: var(--muted); font: 600 0.78rem/1.2 var(--sans); cursor: pointer; }
.llab__dots b { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--btn-bg); color: var(--ink); font-size: 0.85rem; }
.llab__dots button:hover b { background: var(--btn-hover); }
.llab__dots button.is-past b { border-color: var(--gold); color: var(--gold); }
.llab__dots button[aria-current] { color: var(--ink); }
.llab__dots button[aria-current] b { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); box-shadow: 0 0 0 4px rgba(245, 196, 81, 0.18); }
.llab__transport { display: flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.5rem 1rem 0.6rem; }
.llab__btn { appearance: none; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--btn-bg); color: var(--ink); cursor: pointer; }
.llab__btn:hover { background: var(--btn-hover); }
.llab__btn svg { width: 1.4rem; height: 1.4rem; fill: currentColor; }
.llab__btn--play { width: 3.5rem; height: 3.5rem; border-color: transparent; background: linear-gradient(100deg, #ffd56b, #f0a93b); color: var(--gold-ink); box-shadow: 0 0.5rem 2rem rgba(245, 196, 81, 0.28); }
.llab__btn--play:hover { background: linear-gradient(100deg, #ffd56b, #f0a93b); box-shadow: 0 0.6rem 2.75rem rgba(245, 196, 81, 0.5); }
.llab__btn--play svg { width: 1.9rem; height: 1.9rem; }
.llab__key { display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; margin: 0; padding: 0.2rem 1rem 0.6rem; list-style: none; color: var(--muted); font-size: 0.85rem; line-height: 1.4; }
.llab__key li { display: flex; align-items: center; gap: 0.45rem; }
.llab__sw { flex: none; width: 0.8rem; height: 0.8rem; border-radius: 50%; }
.llab__sw--nuc { background: var(--gold); }
.llab__sw--o { background: #ff9a85; }
.llab__sw--n { background: #a9c8ff; }
.llab__sw--dash { width: 1.4rem; height: 0; border-radius: 0; border-top: 2px dashed var(--muted); }
.llab__glyph { flex: none; width: 1.25rem; height: 1.25rem; }
.llab__ring { fill: rgba(245, 196, 81, 0.22); stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; }
.llab__open { fill: none; stroke: var(--control); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.llab__steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: llab-step; }
.llab__steps li { padding: 1.1rem 1.25rem 1.15rem; background: linear-gradient(180deg, #1e1314, var(--panel) 70%); border: 1px solid var(--line); border-radius: 0.875rem; }
.llab__steps.is-live li { border-top: 3px solid var(--gold); }
.llab__steps li[hidden] { display: none; }
.llab__steps h3 { margin: 0 0 0.6rem; font-size: 1.5rem; }
.llab__badge { display: flex; align-items: center; gap: 0.4rem; width: fit-content; padding: 0.2rem 0.75rem; border: 1px solid; border-radius: 99rem; font-size: 0.82rem; font-weight: 700; }
.llab__badge--ts { background: rgba(245, 196, 81, 0.14); border-color: var(--gold); color: var(--gold); }
.llab__badge--gone { background: #e6ddd0; border-color: #e6ddd0; color: #1a1011; }
.llab__badge--gone path { stroke: currentColor; }
.llab__badge .llab__glyph { width: 1rem; height: 1rem; }
.llab__steps:not(.is-live) h3::before { counter-increment: llab-step; content: counter(llab-step) ". "; color: var(--gold); }
.llab__steps p { margin: 0 0 0.7rem; }
.llab__count { color: var(--gold); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.llab__steps .llab__count { margin-bottom: 0.2rem; }
.llab__steps .llab__proof { margin: 0; padding-top: 0.7rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.llab__proof b { color: var(--ink); }

.llab__intro { max-width: 42em; margin: 0 0 1.25rem; }
.llab__table, .llab__tablenote { max-width: 58rem; }
.llab__bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); align-items: end; gap: 0.9rem 1.5rem; padding: 1rem 1rem 0.85rem; border-bottom: 1px solid var(--line); }
.llab__run { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.25rem 0.5rem; }
.llab__chart { padding: 0.75rem 0.5rem 0; touch-action: pan-y; }
.llab__side { display: grid; gap: 0.75rem; align-content: center; padding: 0.5rem 1rem; }
.llab__gone { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.5rem 0.75rem; padding: 0.8rem 1rem 0.9rem; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 0.75rem; }
.llab__gonelabel { color: var(--muted); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.llab__gone strong { font: 500 2.4rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.llab__meter { grid-column: 1 / -1; display: block; height: 0.55rem; overflow: hidden; border-radius: 99rem; background: var(--gold); }
.llab__meter i { display: block; width: 0; height: 100%; background: #e6ddd0; box-shadow: 2px 0 var(--panel); }
.llab__pool .llab__key { padding: 0.4rem 0 0; }
@media (min-width: 52rem) {
  .llab__run { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; }
  .llab__side { padding-left: 0.25rem; }
}
.llab__read { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 0.6rem 1.25rem; margin: 0; padding: 0.5rem 1rem 0.2rem; }
.llab__read dt { color: var(--muted); font-size: 0.85rem; line-height: 1.35; }
.llab__read dd { margin: 0; font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.llab__part h3[id] { margin: 2rem 0 0.75rem; }
.llab__table { overflow-x: auto; border: 1px solid var(--line); border-radius: 0.6rem; }
.llab__table table { width: 100%; min-width: 35rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.llab__table th, .llab__table td { padding: 0.55rem 0.9rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.llab__table tbody tr:last-child > * { border-bottom: 0; }
.llab__table thead th { background: var(--panel); font-size: 0.9rem; }
.llab__table tr.is-on { background: rgba(245, 196, 81, 0.1); }
.llab__table tr.is-on th { color: var(--gold); box-shadow: inset 3px 0 var(--gold); }
.llab__tablenote { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.9rem; }
.llab__sources li { margin-bottom: 0.6em; }

.ll-bond { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.ll-bond--thin { stroke: var(--muted); stroke-width: 2.2; }
.ll-bond--part { stroke-width: 2; stroke-linecap: butt; stroke-dasharray: 3.5 2.5; }
.ll-charge { fill: none; stroke: #ff9a85; stroke-width: 1.6; stroke-linecap: round; }
.ll-hash { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.ll-stereo { fill: var(--muted); font: italic 600 12.5px var(--sans); }
.ll-ringfill { fill: rgba(245, 196, 81, 0.16); }
.ll-ts path { fill: none; stroke: var(--gold); stroke-width: 3; }
.ll-ts text { fill: var(--gold); font: 700 24px var(--sans); dominant-baseline: central; }
.ll-pill rect, .ll-tag rect { fill: var(--btn-bg); stroke: var(--line-strong); }
.ll-pill__text { fill: var(--ink); font: 600 13px var(--sans); dominant-baseline: central; }
.ll-tag .ll-pill__text { font-size: 14.5px; font-weight: 700; }
.ll-tag--ts rect { fill: var(--gold); stroke: var(--gold); }
.ll-tag--ts .ll-pill__text { fill: var(--gold-ink); }
.ll-tag--gone rect { fill: #e6ddd0; stroke: #e6ddd0; }
.ll-tag--gone .ll-pill__text { fill: #1a1011; }
.ll-pill__glyph { fill: none; stroke: #1a1011; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ll-hold { stroke: rgba(205, 191, 174, 0.38); stroke-width: 1.4; }
.ll-hold--bond { stroke-width: 1.9; }
.ll-hold--metal { stroke: rgba(205, 191, 174, 0.7); stroke-width: 1.8; }
.ll-contact { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 2 4; }
.ll-span { stroke: rgba(205, 191, 174, 0.5); stroke-width: 1.2; stroke-dasharray: 1 4; }
.ll-slab { stroke: rgba(205, 191, 174, 0.55); stroke-width: 5; stroke-linecap: round; }
.ll-channel { fill: url(#ll-tube); stroke: rgba(111, 211, 224, 0.45); stroke-width: 1.2; }
.ll-res { fill: var(--muted); font: 500 14px var(--sans); }
.ll-res--channel { fill: #a6e6f0; font-weight: 600; letter-spacing: 0.04em; }
.ll-res--small { font-size: 12.5px; }
.ll-note { fill: var(--ink); font: 600 12.5px var(--sans); paint-order: stroke; stroke: var(--stage); stroke-width: 4px; stroke-linejoin: round; }
.ll-atom { font: 700 19px var(--sans); dominant-baseline: central; paint-order: stroke; stroke: var(--stage); stroke-width: 5px; stroke-linejoin: round; }
.ll-atom--d { font-size: 13.5px; stroke-width: 3px; }
.ll-atom--small { font-size: 15px; }
.ll-atom--h { font-size: 14px; }
.ll-atom--q { font-size: 16px; stroke-width: 3px; }
.ll-o { fill: #ff9a85; }
.ll-n { fill: #a9c8ff; }
.ll-w { fill: var(--gold); }
.ll-metal { stroke: rgba(0, 0, 0, 0.45); stroke-width: 1.2; }
.ll-metal__halo { fill: none; stroke: rgba(240, 205, 150, 0.16); }
.ll-metal__name { fill: #1a0d05; font: 700 15px var(--sans); }
.ll-metal__site { fill: #1a0d05; font: 700 11.5px var(--sans); }
.ll-arrow { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; }
.ll-head { fill: var(--gold); }
.ll-axis { fill: var(--muted); font: 500 12.5px var(--sans); font-variant-numeric: tabular-nums; }
.ll-axis--title { fill: var(--ink); font-weight: 600; }
.ll-axis--mark { fill: var(--ink); font-weight: 600; paint-order: stroke; stroke: var(--stage); stroke-width: 4px; stroke-linejoin: round; }
.ll-grid { stroke: rgba(240, 205, 150, 0.14); }
.ll-grid--base, .ll-grid--tick { stroke: rgba(240, 205, 150, 0.42); }
.ll-grid--half { stroke: rgba(240, 205, 150, 0.42); stroke-dasharray: 3 4; }
.ll-curve { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ll-curve--ahead { stroke: rgba(245, 196, 81, 0.3); stroke-width: 2; }
.ll-curve--ref { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 7 6; stroke-linecap: butt; opacity: 0.75; }
.llab__eng { justify-content: center; min-height: 2.75rem; padding: 0.4rem 1.1rem; text-align: center; }
.ll-area { fill: url(#ll-area-fill); }
.ll-gone { fill: rgba(205, 191, 174, 0.16); }
.ll-axis--zone { fill: var(--ink); font-weight: 600; letter-spacing: 0.04em; }
.ll-dot { fill: var(--gold); stroke: var(--stage); stroke-width: 2; }
.ll-dot--ref, .is-wild .ll-dot { fill: var(--ink); }
.is-wild .ll-curve { stroke: var(--ink); opacity: 0.75; }
.is-wild .ll-curve--ahead { stroke-width: 2; stroke-dasharray: 7 6; stroke-linecap: butt; }
.is-wild .ll-area { fill: none; }
.ll-halfdot { fill: var(--stage); stroke: var(--ink); stroke-width: 1.5; }
.ll-cross { stroke: rgba(247, 239, 227, 0.5); }
.ll-tip { pointer-events: none; }
.ll-tip rect { fill: #2a1a1b; stroke: var(--line-strong); }
.ll-tip text { fill: var(--ink); font: 600 12.5px var(--sans); font-variant-numeric: tabular-nums; }

@media (min-width: 62rem) {
  .llab__mech { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media (forced-colors: active) {
  .btn, .chip-btn, .filter, .tool, .project-card, .sim, .wall__chip, .game, .game-tool, .level-card, .mod { border: 1px solid CanvasText; }
  .mod.is-built { outline: 3px solid Highlight; }
  .game-tool[aria-pressed="true"] { outline: 3px solid Highlight; }
  .nav a[aria-current] { box-shadow: none; text-decoration: underline; }
  .wall__tile, .ev-tile { forced-color-adjust: none; border: 1px solid; }
  .hex, .sim__bar i, .points li::before { forced-color-adjust: none; }
  .llab__view, .llab__chart, .llab__pool { forced-color-adjust: none; background: #120a0b; color: #f7efe3; }
}

@media print {
  :root { color-scheme: light; --bg: #fff; --panel: #fff; --ink: #000; --muted: #333; --link: #000; --gold: #000; --line: #999; }
  .site-header nav, .site-header__tools, .site-footer nav, .filter, .skip-link, .frieze, .sim, .live-canvas, .page-head__scrim, .hero__scrim, .join-band__scrim, .page-head__art, .hero__art, .join-band__art, .wall { display: none !important; }
  .no-js-only { display: block !important; }
  .llab__steps li[hidden] { display: block !important; }
  .site-footer { background: none; }
  .hero, .page-head { min-height: 0; }
}
