@charset "UTF-8";

@font-face {
  font-family: "Noto Sans SC Statement";
  src: url("/assets/fonts/statement-noto-sans-sc.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #eeefe7;
  --paper-2: #e5e7dd;
  --surface: #f8f9f2;
  --ink: #181a16;
  --ink-2: #5d6257;
  --ink-3: #5f6559;
  --line: #c9ccc1;
  --line-strong: #969d8e;
  --signal: #f1f400;
  --accent: #bd3517;
  --on-signal: #181a16;
  --inverse-bg: #181a16;
  --inverse-ink: #f7f8f0;
  --sans: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Segoe UI", sans-serif;
  --gutter: clamp(22px, 4.6vw, 72px);
  --shell: 1360px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111310;
  --paper-2: #191c17;
  --surface: #1c1f1a;
  --ink: #eef0e6;
  --ink-2: #abb0a2;
  --ink-3: #81887a;
  --line: #343a31;
  --line-strong: #596052;
  --signal: #f1f400;
  --accent: #ff5c3a;
  --on-signal: #111310;
  --inverse-bg: #eef0e6;
  --inverse-ink: #111310;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, li, dl, dd, dt, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--signal); color: var(--on-signal); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px;
  background: var(--ink); color: var(--paper); transform: translateY(-160%);
}
.skip:focus { transform: none; }
[id] { scroll-margin-top: 104px; }

.top { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: var(--paper); }
.top-in { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 34px; height: 34px; }
.brand-copy { display: flex; align-items: baseline; gap: 9px; }
.brand b { font-size: 16px; font-weight: 750; letter-spacing: .06em; }
.brand small { font: 500 9px/1 var(--mono); letter-spacing: .17em; color: var(--ink-3); text-transform: uppercase; }
.nav { display: flex; align-self: stretch; align-items: center; gap: clamp(20px, 3vw, 42px); }
.nav a {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 100%;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
}
.nav a i { font: 500 9px/1 var(--mono); font-style: normal; letter-spacing: .08em; color: var(--ink-3); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .22s ease;
}
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a.on::after, .nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.top-end { display: flex; align-items: center; gap: 18px; flex: none; }
.coord { font: 500 10px/1 var(--mono); letter-spacing: .14em; color: var(--ink-3); }
.theme {
  width: 34px; height: 34px; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--ink-2);
  transition: color .18s, border-color .18s, background .18s;
}
.theme:hover { color: var(--ink); border-color: var(--ink); background: var(--paper-2); }
.theme svg { width: 15px; height: 15px; }
html[data-theme="light"] .i-sun { display: none; }
html[data-theme="dark"] .i-moon { display: none; }

.crumb {
  padding-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px;
  font: 600 9px/1 var(--mono); letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase;
}
.crumb a:hover { color: var(--ink); }
.crumb span { color: var(--line-strong); }

.hero { position: relative; border-bottom: 1px solid var(--line); overflow: clip; padding-bottom: 0; }
.hero::before {
  content: ""; position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: 41%;
  background: repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--line) 42%, transparent) 10px 11px);
  opacity: .55; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(48px, 8vw, 110px); align-items: end;
  padding-top: clamp(46px, 7vw, 88px); padding-bottom: clamp(42px, 6vw, 66px);
}
.kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font: 600 9px/1 var(--mono); letter-spacing: .17em; color: var(--ink-2); text-transform: uppercase;
}
.kicker::before { content: ""; width: 7px; height: 7px; background: var(--accent); }
.hero h1 { margin-top: 20px; font-size: clamp(92px, 12vw, 164px); line-height: .88; letter-spacing: -.09em; font-weight: 850; }
.hero-en { margin-top: 18px; font: 600 10px/1 var(--mono); letter-spacing: .29em; color: var(--ink-3); text-transform: uppercase; }
.lead { margin-top: 31px; max-width: 670px; font-size: clamp(22px, 2.5vw, 31px); line-height: 1.5; font-weight: 650; letter-spacing: -.025em; }
.lead b { font-weight: 650; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: .3em; text-underline-offset: -.08em; text-decoration-skip-ink: none; }
.hero-copy > p:last-child { max-width: 650px; margin-top: 16px; font-size: 14px; line-height: 1.9; color: var(--ink-2); }

.record { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); background: var(--surface); margin-bottom: 2px; }
.record-head { display: flex; justify-content: space-between; gap: 16px; padding: 12px 15px; background: var(--ink); color: var(--paper); font: 600 8px/1 var(--mono); letter-spacing: .16em; }
.record-head span:last-child { color: var(--signal); }
.record dl { padding: 4px 15px; }
.record dl div { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.record dl div:last-child { border-bottom: 0; }
.record dt { font: 500 8px/1.5 var(--mono); letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; }
.record dd { text-align: right; font-size: 10px; line-height: 1.55; font-weight: 600; color: var(--ink-2); }

.status-band {
  display: grid; grid-template-columns: 126px 92px minmax(0, 1fr) auto;
  align-items: center; gap: 20px; margin-bottom: 0;
  padding: 15px 22px; background: var(--ink); color: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.status-label { font: 600 8px/1 var(--mono); letter-spacing: .15em; color: color-mix(in srgb, var(--paper) 58%, transparent); text-transform: uppercase; }
.status-version { font: 700 16px/1 var(--mono); letter-spacing: -.02em; color: var(--signal); }
.status-copy { font-size: 11px; line-height: 1.65; color: color-mix(in srgb, var(--paper) 75%, transparent); }
.status-link { font: 600 9px/1.4 var(--mono); letter-spacing: .07em; color: var(--paper); white-space: nowrap; }
.status-link:hover { color: var(--signal); }

.article { padding-block: clamp(60px, 7vw, 92px); }
.article-grid { display: grid; grid-template-columns: minmax(0, 820px) 220px; justify-content: space-between; gap: clamp(48px, 8vw, 110px); align-items: start; }
.article-body { min-width: 0; }
.article-section + .article-section { margin-top: clamp(42px, 5vw, 60px); padding-top: clamp(34px, 4vw, 46px); border-top: 1px solid var(--line); }
.section-kicker { display: flex; align-items: center; gap: 12px; font: 600 9px/1 var(--mono); letter-spacing: .16em; color: var(--accent); text-transform: uppercase; }
.section-kicker span { color: var(--ink-3); }
.article-section h2 { margin-top: 9px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; letter-spacing: -.05em; font-weight: 780; }
.article-section h2 small { display: block; margin-top: 7px; font: 500 8px/1 var(--mono); letter-spacing: .16em; color: var(--ink-3); text-transform: uppercase; }
.article-section p { margin-top: 16px; font-size: 14px; line-height: 1.95; color: var(--ink-2); }
.article-section p b { color: var(--ink); font-weight: 650; }
.article-section code { padding: 2px 5px; background: var(--paper-2); border: 1px solid var(--line); font: 500 11px/1.4 var(--mono); color: var(--ink); }
.note { margin-top: 22px; padding: 17px 19px; border-left: 3px solid var(--accent); background: var(--paper-2); font-size: 12px; line-height: 1.8; color: var(--ink-2); }
.note strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 11px; letter-spacing: .04em; }

.timeline { margin-top: 22px; border-top: 1px solid var(--ink); }
.timeline li {
  display: grid; grid-template-columns: 102px 142px minmax(0, 1fr);
  gap: 17px; align-items: baseline; padding: 17px 0; border-bottom: 1px solid var(--line);
}
.timeline time { font: 600 10px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-3); }
.release-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; }
.release-meta b { font: 700 15px/1.3 var(--mono); letter-spacing: -.02em; color: var(--ink); }
.release-tag { font: 600 8px/1.3 var(--mono); letter-spacing: .08em; color: var(--accent); text-transform: uppercase; }
.timeline p { margin: 0; font-size: 12px; line-height: 1.75; color: var(--ink-2); }
.repo-note { margin-top: 15px; font: 500 9px/1.7 var(--mono); letter-spacing: .05em; color: var(--ink-3); }

.screenshot { margin-top: 24px; }
.screenshot-head { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 9px; border-bottom: 1px solid var(--ink); font: 600 8px/1 var(--mono); letter-spacing: .14em; color: var(--ink-3); text-transform: uppercase; }
.screenshot-frame { margin-top: 10px; padding: 5px; border: 1px solid var(--line-strong); background: var(--paper-2); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.screenshot-frame img { width: 100%; height: auto; border: 0; }
.screenshot figcaption { display: flex; justify-content: space-between; gap: 18px; padding-top: 10px; font: 500 9px/1.5 var(--mono); letter-spacing: .06em; color: var(--ink-3); }
.caption-note { margin-top: 10px !important; font-size: 10px !important; line-height: 1.7 !important; }

.bili-card {
  display: block; margin-top: 22px; padding: 24px 26px; background: var(--ink); color: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: background .2s, color .2s;
}
.bili-card:hover { background: var(--accent); color: #fff; }
.bili-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bili-brand { display: inline-flex; align-items: center; gap: 9px; font: 700 9px/1 var(--mono); letter-spacing: .14em; color: var(--signal); }
.bili-brand svg { width: 19px; height: 19px; fill: currentColor; }
.bili-uid { font: 500 8px/1 var(--mono); letter-spacing: .09em; color: color-mix(in srgb, var(--paper) 58%, transparent); }
.bili-card strong { display: block; margin-top: 25px; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.05em; }
.bili-signature { display: block; margin-top: 9px; font-size: 12px; line-height: 1.75; color: color-mix(in srgb, var(--paper) 72%, transparent); }
.bili-open { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 13px; border-top: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); font: 600 9px/1 var(--mono); letter-spacing: .08em; }
.bili-open span:last-child { color: var(--signal); font-size: 18px; }
.author-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; }
.author-links a { font-size: 10px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.author-links a:hover { color: var(--ink); }
.bili-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.bili-grid .bili-card { display: flex; flex-direction: column; min-height: 278px; margin-top: 0; padding: 22px; }
.bili-grid .bili-card strong { margin-top: 22px; font-size: clamp(25px, 3vw, 34px); }
.bili-grid .bili-open { margin-top: auto; }
.bili-role { display: block; margin-top: 18px; font: 600 8px/1.4 var(--mono); letter-spacing: .1em; color: var(--signal); text-transform: uppercase; }
.bili-grid .bili-signature { max-width: 300px; }

.source-block { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); font: 500 9px/1.8 var(--mono); letter-spacing: .04em; color: var(--ink-3); }
.source-block a { text-decoration: underline; text-underline-offset: 3px; }
.source-block a:hover { color: var(--ink); }

.video-card {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 34px;
  gap: 18px; align-items: center; margin-top: 22px; padding: 20px;
  border: 1px solid var(--line); background: var(--surface);
  transition: background .2s, color .2s;
}
.video-card:hover { background: var(--inverse-bg); color: var(--inverse-ink); }
.video-play {
  display: grid; place-items: center; width: 52px; height: 52px;
  border: 1px solid var(--line-strong); color: var(--accent);
}
.video-play svg { width: 18px; height: 18px; fill: currentColor; }
.video-card > span:nth-child(2) { display: block; min-width: 0; }
.video-meta { display: block; font: 600 8px/1.4 var(--mono); letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; transition: color .2s; }
.video-title { display: block; margin-top: 6px; font-size: 18px; line-height: 1.45; font-weight: 680; letter-spacing: -.025em; }
.video-author { display: block; margin-top: 5px; font-size: 10px; line-height: 1.5; color: var(--ink-2); transition: color .2s; }
.video-arrow { justify-self: end; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s, color .2s; }
.video-card:hover .video-meta,
.video-card:hover .video-author { color: color-mix(in srgb, var(--inverse-ink) 68%, transparent); }
.video-card:hover .video-arrow { color: var(--signal); transform: translate(3px, -3px); }

.catalog-links {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; margin-top: 24px; border: 1px solid var(--line); background: var(--line);
}
.catalog-links a {
  display: flex; flex-direction: column; min-height: 120px; padding: 18px 20px;
  background: var(--surface); transition: background .2s, color .2s;
}
.catalog-links a:hover { background: var(--inverse-bg); color: var(--inverse-ink); }
.link-name { font: 700 14px/1.3 var(--mono); letter-spacing: -.02em; }
.link-desc { margin-top: 7px; font-size: 10px; line-height: 1.65; color: var(--ink-2); transition: color .2s; }
.catalog-links a:hover .link-desc { color: color-mix(in srgb, var(--inverse-ink) 68%, transparent); }
.link-url { margin-top: auto; padding-top: 18px; font: 600 9px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-3); transition: color .2s; }
.catalog-links a:hover .link-url { color: var(--signal); }

.balance {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line);
}
.balance section { padding: 20px; background: var(--surface); }
.balance h3 { font: 600 9px/1 var(--mono); letter-spacing: .14em; color: var(--accent); text-transform: uppercase; }
.balance section:last-child h3 { color: var(--ink-3); }
.balance ul { margin-top: 12px; }
.balance li {
  position: relative; padding: 9px 0 9px 15px; border-top: 1px solid var(--line);
  font-size: 11px; line-height: 1.7; color: var(--ink-2);
}
.balance li:first-child { border-top: 0; }
.balance li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 5px; height: 5px; background: var(--accent);
}
.balance section:last-child li::before { background: var(--line-strong); }

.size-list { margin-top: 20px; border-top: 1px solid var(--ink); }
.size-list div {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line);
}
.size-list dt { font-size: 11px; line-height: 1.6; color: var(--ink-2); }
.size-list dd { font: 600 11px/1.5 var(--mono); color: var(--ink); }
.size-list .compare dt { color: var(--ink-3); }
.size-list .compare dd { color: var(--ink-2); }

.next { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 46px; padding: 22px 0 0; border-top: 1px solid var(--ink); }
.next p { font: 600 9px/1.5 var(--mono); letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; }
.next a { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 650; color: var(--ink); }
.next a span { color: var(--accent); font-size: 20px; transition: transform .18s; }
.next a:hover span { transform: translateX(-3px); }

.toc { position: sticky; top: 112px; border-top: 1px solid var(--ink); padding-top: 12px; }
.toc p { font: 600 8px/1 var(--mono); letter-spacing: .16em; color: var(--ink-3); text-transform: uppercase; }
.toc nav { display: flex; flex-direction: column; margin-top: 9px; }
.toc a { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 10px; color: var(--ink-2); transition: color .18s; }
.toc a::before { content: "/ "; color: var(--accent); }
.toc a:hover { color: var(--ink); }
.toc-meta { margin-top: 22px; font: 500 8px/1.7 var(--mono); letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; }

.foot { background: var(--inverse-bg); color: var(--inverse-ink); }
.foot-in { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2fr) minmax(110px, 1fr); align-items: center; gap: 30px; min-height: 100px; padding-block: 22px; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { width: 24px; height: 24px; filter: invert(1); }
html[data-theme="dark"] .foot-brand img { filter: none; }
.foot-brand span { font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.statement {
  text-align: center;
  font: 500 12px/1.55 "Noto Sans SC Statement", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: color-mix(in srgb, var(--inverse-ink) 68%, transparent); text-wrap: pretty;
}
.to-top { justify-self: end; font: 600 9px/1.4 var(--mono); letter-spacing: .1em; color: color-mix(in srgb, var(--inverse-ink) 62%, transparent); }
.to-top:hover { color: var(--signal); }

.js-reveal { opacity: 0; transform: translateY(12px); transition: opacity .42s ease, transform .42s ease; }
.js-reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .record { max-width: 520px; }
  .article-grid { grid-template-columns: 1fr; }
  .toc { display: none; }
  .bili-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .top-in { height: 70px; }
  .brand small, .nav a i, .coord { display: none; }
  .nav { gap: 18px; }
  .nav a { font-size: 11px; }
  .brand img { width: 30px; height: 30px; }
  .theme { width: 30px; height: 30px; }
  .hero h1 { font-size: clamp(76px, 24vw, 122px); }
  .lead { margin-top: 24px; font-size: 21px; }
  .hero-copy > p:last-child { font-size: 13px; }
  .status-band { grid-template-columns: 1fr auto; gap: 7px 16px; padding: 14px 16px; }
  .status-label { grid-column: 1; }
  .status-version { grid-column: 2; grid-row: 1; justify-self: end; }
  .status-copy { grid-column: 1 / -1; grid-row: 2; }
  .status-link { grid-column: 1 / -1; grid-row: 3; padding-top: 5px; }
  .timeline li { grid-template-columns: 92px minmax(0, 1fr); gap: 7px 14px; }
  .timeline p { grid-column: 1 / -1; }
  .foot-in { grid-template-columns: 1fr auto; gap: 14px 20px; padding-block: 20px 22px; }
  .statement { grid-column: 1 / -1; grid-row: 1; text-align: left; font-size: 11px; }
  .foot-brand { grid-row: 2; }
  .to-top { grid-row: 2; }
}
@media (max-width: 520px) {
  .nav a:nth-child(1) { display: none; }
  .screenshot-head span:last-child { display: none; }
  .screenshot figcaption { display: block; }
  .screenshot figcaption span:last-child { display: block; margin-top: 3px; }
  .bili-card { padding: 21px 19px; }
  .bili-top { display: block; }
  .bili-uid { display: block; margin-top: 8px; }
  .next { align-items: flex-start; flex-direction: column; gap: 10px; }
  .video-card { grid-template-columns: 42px minmax(0, 1fr) 28px; gap: 12px; padding: 16px; }
  .video-play { width: 42px; height: 42px; }
  .video-title { font-size: 16px; }
  .catalog-links { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .balance { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ */
/* Visual pass: Endfield / Arknights industrial editorial              */
/* ------------------------------------------------------------------ */

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-500.woff2") format("woff2");
  font-style: normal; font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-600.woff2") format("woff2");
  font-style: normal; font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2");
  font-style: normal; font-weight: 700; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-800.woff2") format("woff2");
  font-style: normal; font-weight: 800; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-style: normal; font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-600.woff2") format("woff2");
  font-style: normal; font-weight: 600; font-display: swap;
}

:root {
  --paper: #f3f3ef;
  --paper-2: #e7e7e1;
  --surface: #fbfbf7;
  --ink: #121310;
  --ink-2: #4e514a;
  --ink-3: #65685f;
  --line: #cecec5;
  --line-strong: #8f9188;
  --signal: #f2f400;
  --accent: #c53718;
  --on-signal: #11120f;
  --inverse-bg: #11120f;
  --inverse-ink: #f7f7f2;
  --display: "Barlow Condensed", "DIN Condensed", "Arial Narrow", sans-serif;
  --mono: "Barlow Condensed", "DIN Alternate", "Arial Narrow", "Segoe UI", sans-serif;
  --data: "IBM Plex Mono", "Bahnschrift", ui-monospace, monospace;
  --sans: "HarmonyOS Sans SC", "MiSans", "Noto Sans CJK SC", "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
  --gutter: clamp(20px, 4.2vw, 68px);
}

html[data-theme="dark"] {
  --paper: #0f100e;
  --paper-2: #171815;
  --surface: #1a1b18;
  --ink: #d8dad1;
  --ink-2: #9fa297;
  --ink-3: #85887d;
  --line: #2b2d27;
  --line-strong: #4a4d44;
  --signal: #d8d43a;
  --accent: #d96b4e;
  --on-signal: #11120f;
  --inverse-bg: #f1f2ec;
  --inverse-ink: #11120f;
}

body {
  font-size: 16px;
  line-height: 1.7;
  background-color: var(--paper);
}

.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); }
[id] { scroll-margin-top: 92px; }

.top {
  border-bottom: 1px solid var(--ink);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.top::after {
  content: "";
  position: absolute;
  left: max(var(--gutter), calc((100vw - var(--shell)) / 2));
  bottom: -1px;
  width: 76px;
  height: 3px;
  background: var(--signal);
  pointer-events: none;
}
.top-in { height: 74px; }
.brand img { width: 30px; height: 30px; }
.brand b { font-size: 15px; font-weight: 800; letter-spacing: .12em; }
.brand small { font: 600 10px/1 var(--mono); letter-spacing: .22em; }
.nav a { font-size: 11px; font-weight: 650; letter-spacing: .08em; }
.nav a i { font: 500 8px/1 var(--data); letter-spacing: .02em; }
.nav a::after { height: 3px; background: var(--signal); }
.nav a:hover::after { background: var(--accent); }
.coord { font: 500 9px/1 var(--data); letter-spacing: .06em; }
.theme { width: 32px; height: 32px; border-color: var(--ink); }
.theme:hover { background: var(--ink); color: var(--signal); border-color: var(--ink); }

.crumb {
  padding-top: 18px;
  gap: 10px;
  font: 600 10px/1 var(--mono);
  letter-spacing: .18em;
}
.crumb::before { content: "//"; color: var(--accent); letter-spacing: 0; }

.hero {
  isolation: isolate;
  border-bottom: 1px solid var(--ink);
  background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 69%, var(--paper-2) 100%);
}
.hero::before {
  z-index: -1;
  width: 37%;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 79px, color-mix(in srgb, var(--line) 54%, transparent) 79px 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, color-mix(in srgb, var(--line) 34%, transparent) 79px 80px);
  opacity: .9;
  -webkit-mask-image: linear-gradient(to left, #000 10%, transparent 96%);
  mask-image: linear-gradient(to left, #000 10%, transparent 96%);
}
.hero::after {
  content: "";
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  width: 156px;
  height: 7px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 7px, var(--signal) 7px 14px);
  pointer-events: none;
}
.hero-grid {
  grid-template-columns: minmax(0, 1fr) 334px;
  gap: clamp(44px, 6.4vw, 92px);
  align-items: end;
  padding-top: clamp(40px, 5.6vw, 70px);
  padding-bottom: clamp(36px, 4.8vw, 58px);
}
.hero-copy { position: relative; padding-left: 28px; }
.hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 3px;
  height: 86px;
  background: var(--signal);
}
.kicker { font: 600 10px/1 var(--mono); letter-spacing: .2em; }
.kicker::before { width: 6px; height: 6px; background: var(--accent); }
.hero h1 {
  margin-top: 16px;
  font-family: var(--display);
  font-size: clamp(102px, 13.2vw, 188px);
  font-weight: 800;
  line-height: .78;
  letter-spacing: -.035em;
}
.hero-en { margin-top: 20px; font: 600 11px/1 var(--mono); letter-spacing: .38em; }
.lead { margin-top: 30px; font-size: clamp(23px, 2.5vw, 31px); line-height: 1.48; }
.hero-copy > p:last-child { margin-top: 15px; font-size: 15px; line-height: 1.92; }

.record {
  position: relative;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border: 1px solid #2d2f29;
  border-top: 4px solid var(--signal);
  background: #121310;
  color: #f3f3ed;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.record::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 28px;
  height: 1px;
  background: var(--signal);
}
.record-head {
  padding: 12px 16px;
  border-bottom: 1px solid #2d2f29;
  background: transparent;
  color: #f3f3ed;
  font: 600 9px/1 var(--mono);
  letter-spacing: .22em;
}
.record-head span:last-child { color: var(--signal); }
.record dl { padding: 0 16px; }
.record dl div {
  grid-template-columns: 82px minmax(0, 1fr);
  padding: 11px 0;
  border-bottom: 1px solid #2d2f29;
}
.record dt { font: 500 9px/1.5 var(--mono); letter-spacing: .14em; color: #92968b; }
.record dd { font: 500 10px/1.55 var(--data); color: #f3f3ed; }

.status-band {
  grid-template-columns: 128px 96px minmax(0, 1fr) auto;
  padding: 16px 22px 16px 18px;
  border-left: 7px solid var(--signal);
  background: #121310;
  color: #f3f3ed;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.status-label { font: 600 9px/1 var(--mono); letter-spacing: .2em; color: #989c90; }
.status-version { font: 700 22px/1 var(--display); letter-spacing: .02em; }
.status-copy { font-size: 11px; line-height: 1.7; color: #c9ccc1; }
.status-link {
  padding: 9px 13px;
  background: var(--signal);
  color: var(--on-signal);
  font: 600 10px/1 var(--mono);
  letter-spacing: .14em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
  transition: background .18s, color .18s;
}
.status-link:hover { background: #f3f3ed; color: #121310; }

.article { padding-block: clamp(46px, 5.4vw, 72px); }
.article-grid {
  grid-template-columns: minmax(0, 790px) 236px;
  gap: clamp(44px, 6vw, 84px);
}
.article-section + .article-section {
  margin-top: clamp(34px, 4vw, 46px);
  padding-top: clamp(28px, 3.4vw, 38px);
  border-top: 1px solid var(--line-strong);
}
.section-kicker {
  display: flex;
  gap: 12px;
  font: 600 10px/1 var(--mono);
  letter-spacing: .2em;
}
.section-kicker span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 25px;
  background: var(--ink);
  color: var(--paper);
  font: 500 10px/1 var(--data);
  letter-spacing: 0;
}
.section-kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  align-self: center;
  background: var(--line);
}
.article-section h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-top: 14px;
  font-size: clamp(29px, 3.2vw, 38px);
  line-height: 1.12;
  letter-spacing: -.055em;
  font-weight: 800;
}
.article-section h2 small {
  margin: 0 0 4px;
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  font: 600 9px/1.3 var(--mono);
  letter-spacing: .2em;
}
.article-section p { margin-top: 15px; font-size: 15px; line-height: 1.92; }
.article-section p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.note {
  margin-top: 22px;
  padding: 17px 20px 18px;
  border-left: 4px solid var(--signal);
  background: color-mix(in srgb, var(--paper-2) 78%, var(--surface));
  font-size: 12.5px;
  line-height: 1.82;
}
.note strong {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 7px 2px;
  background: var(--ink);
  color: var(--paper);
  font: 600 9px/1 var(--mono);
  letter-spacing: .14em;
}

.timeline { border-top: 2px solid var(--ink); }
.timeline li {
  grid-template-columns: 104px 150px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 12px 16px 0;
  transition: background .18s;
}
.timeline li:hover { background: color-mix(in srgb, var(--paper-2) 74%, transparent); }
.timeline time {
  padding-left: 9px;
  border-left: 3px solid var(--line-strong);
  font: 500 9px/1.5 var(--data);
  letter-spacing: 0;
}
.timeline li:first-child time { border-left-color: var(--signal); color: var(--ink); }
.release-meta b {
  padding: 2px 7px 1px;
  background: var(--ink);
  color: var(--paper);
  font: 700 20px/1.15 var(--display);
  letter-spacing: .01em;
}
.release-tag {
  padding: 3px 5px 2px;
  background: var(--signal);
  color: var(--on-signal);
  font: 600 8px/1.2 var(--mono);
  letter-spacing: .1em;
}
.timeline p { font-size: 12.5px; line-height: 1.78; }
.repo-note { font: 500 8px/1.8 var(--data); letter-spacing: 0; }

.size-list { border-top: 2px solid var(--ink); }
.size-list div { padding: 10px 8px; }
.size-list div:nth-child(odd) { background: color-mix(in srgb, var(--paper-2) 54%, transparent); }
.size-list dt { font: 500 12px/1.6 var(--mono); letter-spacing: .05em; }
.size-list dd { font: 500 11px/1.5 var(--data); }

.screenshot-head {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font: 600 9px/1 var(--mono);
  letter-spacing: .18em;
}
.screenshot-head span:first-child::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--signal);
}
.screenshot-frame {
  position: relative;
  margin-top: 10px;
  padding: 8px;
  border: 1px solid var(--ink);
  background: #121310;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}
.screenshot-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgb(255 255 255 / .12);
  pointer-events: none;
}
.screenshot-frame img { filter: saturate(.96) contrast(1.02); }
.screenshot figcaption { font: 500 9px/1.5 var(--mono); letter-spacing: .12em; }

.bili-card {
  border-left: 6px solid var(--signal);
  background: #121310;
  color: #f3f3ed;
}
.bili-card:hover { background: #1d1e1a; color: #fff; border-left-color: var(--accent); }
.bili-brand { font: 600 10px/1 var(--mono); letter-spacing: .18em; }
.bili-uid { font-family: var(--data); letter-spacing: 0; color: #92968b; }
.bili-signature { font-size: 12.5px; color: #b7baaf; }
.bili-open { border-top-color: rgb(255 255 255 / .18); font: 600 9px/1 var(--mono); letter-spacing: .12em; }
.bili-card:hover .bili-signature { color: #deded6; }

.video-card {
  border-left: 4px solid var(--signal);
  background: var(--surface);
}
.video-card:hover { background: #121310; color: #f3f3ed; border-left-color: var(--accent); }
.video-play { border-color: var(--line-strong); background: var(--paper-2); }
.video-card:hover .video-play { background: #232420; border-color: var(--signal); color: var(--signal); }
.video-card:hover .video-meta,
.video-card:hover .video-author { color: #b7baaf; }
.video-meta { font-family: var(--mono); letter-spacing: .16em; }

.catalog-links {
  gap: 0;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  counter-reset: link;
}
.catalog-links a {
  position: relative;
  min-height: 132px;
  padding: 20px 46px 18px 55px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.catalog-links a::before {
  counter-increment: link;
  content: counter(link, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 21px;
  color: var(--accent);
  font: 500 10px/1 var(--data);
}
.catalog-links a::after {
  content: "↗";
  position: absolute;
  right: 18px;
  top: 17px;
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1;
  transition: color .18s, transform .18s;
}
.catalog-links a:nth-child(2n) { border-right: 0; }
.catalog-links a:nth-last-child(-n+2) { border-bottom: 0; }
.catalog-links a:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.catalog-links a:hover { background: var(--signal); color: var(--on-signal); }
.catalog-links a:hover::before { color: var(--on-signal); }
.catalog-links a:hover::after { color: var(--on-signal); transform: translate(2px, -2px); }
.link-name { font: 700 15px/1.3 var(--mono); letter-spacing: .02em; }
.link-desc { margin-top: 7px; font-size: 11px; line-height: 1.7; }
.catalog-links a:hover .link-desc { color: color-mix(in srgb, var(--on-signal) 74%, transparent); }
.link-url { padding-top: 18px; font: 500 8px/1.4 var(--data); letter-spacing: .04em; }
.catalog-links a:hover .link-url { color: var(--on-signal); }

.balance { margin-top: 22px; border: 1px solid var(--line-strong); background: var(--line); }
.balance section { position: relative; padding: 22px 22px 20px; background: var(--surface); }
.balance section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--line-strong);
}
.balance section:first-child::before { background: var(--signal); }
.balance h3 { font: 600 10px/1 var(--mono); letter-spacing: .18em; }
.balance li { padding: 10px 0 10px 16px; font-size: 12px; line-height: 1.75; }
.balance li::before { top: 16px; width: 6px; height: 6px; background: var(--ink); }
.balance section:first-child li::before { background: var(--accent); }

.next { border-top: 2px solid var(--ink); }
.next p { font: 600 9px/1.5 var(--mono); letter-spacing: .16em; }
.next a {
  padding: 11px 15px;
  background: var(--ink);
  color: var(--paper);
  font: 600 11px/1 var(--mono);
  letter-spacing: .12em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.next a span { color: var(--signal); }
.next a:hover { background: var(--signal); color: var(--on-signal); }
.next a:hover span { color: var(--on-signal); }

.toc { top: 96px; border-top: 0; padding-top: 0; }
.toc p {
  padding: 11px 13px 10px;
  background: var(--ink);
  color: var(--paper);
  font: 600 9px/1 var(--mono);
  letter-spacing: .2em;
}
.toc nav { margin-top: 0; border: 1px solid var(--line-strong); border-top: 0; counter-reset: toc; }
.toc a {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  font-size: 11px;
}
.toc a::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
  color: var(--accent);
  font: 500 8px/1.7 var(--data);
}
.toc a:hover { background: var(--signal); color: var(--on-signal); }
.toc a:hover::before { color: var(--on-signal); }
.toc-meta {
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-top: 0;
  background: var(--paper-2);
  font-family: var(--data);
  letter-spacing: 0;
}

.foot { position: relative; background: #11120f; color: #f4f4ef; }
.foot::before {
  content: "";
  display: block;
  height: 6px;
  background: repeating-linear-gradient(-45deg, #11120f 0 7px, var(--signal) 7px 14px);
}
.foot-in { min-height: 92px; }
.foot-brand img, html[data-theme="dark"] .foot-brand img { filter: invert(1) brightness(1.6); }
.foot-brand span { letter-spacing: .12em; }
.statement { color: #a6a99f; }
.to-top { color: #8e9286; font-family: var(--mono); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.launcher-list { margin-top: 24px; border-top: 2px solid var(--ink); counter-reset: launcher; }
.launcher-list a {
  display: grid;
  align-items: center;
  grid-template-columns: 34px 110px 128px minmax(0, 1fr) 30px;
  gap: 14px;
  padding: 16px 10px 16px 0;
  border-bottom: 1px solid var(--line);
  transition: background .18s, color .18s, padding .18s;
}
.launcher-list a::before {
  counter-increment: launcher;
  content: counter(launcher, decimal-leading-zero);
  color: var(--accent);
  font: 500 9px/1.4 var(--data);
}
.launcher-list a:hover {
  padding-left: 10px;
  background: var(--ink);
  color: var(--paper);
}
.launcher-list a:hover::before { color: var(--signal); }
.launcher-name { font: 700 20px/1.1 var(--display); letter-spacing: .01em; }
.launcher-platform { font: 500 8px/1.4 var(--data); letter-spacing: .04em; }
.launcher-desc { font-size: 12px; line-height: 1.7; }
.launcher-list a:hover .launcher-platform,
.launcher-list a:hover .launcher-desc { color: color-mix(in srgb, var(--paper) 68%, transparent); }
.launcher-arrow { color: var(--accent); font-size: 20px; }
.launcher-list a:hover .launcher-arrow { color: var(--signal); transform: translate(2px, -2px); }

.steps { counter-reset: step; margin-top: 24px; border-top: 2px solid var(--ink); }
.steps li {
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 10px 18px 0;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--ink);
  color: var(--paper);
  font: 500 11px/1 var(--data);
  transition: background .18s, color .18s;
}
.steps li:hover::before { background: var(--signal); color: var(--on-signal); }
.steps h3 { font-size: 15px; line-height: 1.5; font-weight: 700; }
.steps p { font-size: 12.5px; line-height: 1.82; }

.issues { margin-top: 22px; border-top: 2px solid var(--ink); }
.issues li { grid-template-columns: 160px minmax(0, 1fr); gap: 22px; padding: 17px 10px 17px 0; border-bottom: 1px solid var(--line); }
.issues h3 { padding-left: 10px; border-left: 3px solid var(--accent); font: 600 13px/1.45 var(--mono); letter-spacing: .06em; }
.issues p { font-size: 12.5px; line-height: 1.82; }

.launcher-page .hero h1 {
  font-family: var(--sans);
  font-size: clamp(54px, 8.4vw, 112px);
  line-height: .94;
  letter-spacing: -.07em;
  font-weight: 850;
}
.launcher-page .hero-copy::before { height: 104px; }

@keyframes ef-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes ef-title {
  from { opacity: 0; transform: translateY(18px); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes ef-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .top { animation: ef-drop .5s cubic-bezier(.2, .7, .25, 1) both; }
  .hero-copy > .kicker,
  .hero-copy > .lead,
  .hero-copy > p:last-child,
  .hero-en { animation: ef-rise .72s cubic-bezier(.16, .8, .3, 1) both; }
  .hero h1 { animation: ef-title .8s .06s cubic-bezier(.16, .8, .3, 1) both; }
  .hero-copy > .lead { animation-delay: .14s; }
  .hero-en { animation-delay: .2s; }
  .hero-copy > p:last-child { animation-delay: .24s; }
  .record { animation: ef-rise .78s .2s cubic-bezier(.16, .8, .3, 1) both; }
  .status-band { animation: ef-rise .78s .3s cubic-bezier(.16, .8, .3, 1) both; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .record { max-width: 520px; width: 100%; }
  .article-grid { grid-template-columns: 1fr; }
  .toc { display: none; }
}

@media (max-width: 760px) {
  .top-in { height: 64px; }
  .top::after { width: 48px; }
  .hero-grid { padding-top: 34px; padding-bottom: 40px; }
  .hero-copy { padding-left: 20px; }
  .hero-copy::before { top: 0; height: 66px; width: 2px; }
  .hero h1 { font-size: clamp(76px, 22vw, 118px); }
  .launcher-page .hero h1 { font-size: clamp(48px, 13.6vw, 78px); }
  .launcher-page .hero-copy::before { height: 76px; }
  .lead { margin-top: 24px; font-size: 21px; }
  .hero-copy > p:last-child { font-size: 14px; }
  .record { max-width: none; }
  .status-band {
    grid-template-columns: 1fr auto;
    gap: 7px 16px;
    padding: 14px 16px 14px 14px;
    border-left-width: 5px;
  }
  .status-label { grid-column: 1; }
  .status-version { grid-column: 2; grid-row: 1; justify-self: end; }
  .status-copy { grid-column: 1 / -1; grid-row: 2; }
  .status-link { grid-column: 1 / -1; grid-row: 3; justify-self: start; margin-top: 5px; }
  .article { padding-block: 46px 58px; }
  .article-section h2 { gap: 10px; }
  .article-section h2 small { padding-left: 10px; }
  .article-section p { font-size: 14.5px; }
  .timeline li { grid-template-columns: 88px minmax(0, 1fr); gap: 8px 14px; padding: 14px 0; }
  .timeline time { border-left: 0; padding-left: 0; }
  .timeline p { grid-column: 1 / -1; }
  .size-list div { padding-inline: 4px; }
  .launcher-list a { grid-template-columns: 28px 82px minmax(0, 1fr) 24px; gap: 10px; }
  .launcher-list a::before { font-size: 8px; }
  .launcher-platform { display: none; }
  .launcher-name { font-size: 18px; }
  .launcher-desc { font-size: 11.5px; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .issues li { grid-template-columns: 128px minmax(0, 1fr); gap: 16px; }
  .foot-in { min-height: 86px; }
}

@media (max-width: 520px) {
  .nav a:nth-child(1) { display: none; }
  .crumb { font-size: 9px; }
  .hero::after { width: 104px; height: 6px; right: 20px; }
  .catalog-links { grid-template-columns: 1fr; }
  .catalog-links a,
  .catalog-links a:nth-child(2n),
  .catalog-links a:nth-last-child(-n+2) {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .catalog-links a:last-child { border-bottom: 0; }
  .catalog-links a { min-height: 112px; padding: 17px 42px 16px 52px; }
  .catalog-links a::before { top: 18px; left: 18px; }
  .catalog-links a::after { top: 14px; right: 16px; }
  .balance section { padding: 19px 18px; }
  .issues li { grid-template-columns: 1fr; gap: 7px; }
  .issues h3 { width: fit-content; }
  .next { align-items: flex-start; flex-direction: column; gap: 12px; }
  .foot-in { grid-template-columns: 1fr auto; gap: 14px 20px; padding-block: 20px 22px; }
  .statement { grid-column: 1 / -1; grid-row: 1; text-align: left; font-size: 11px; }
  .foot-brand { grid-row: 2; }
  .to-top { grid-row: 2; }
}

/* Dark theme: lower glare, fewer full-bright fills */
@keyframes ef-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

html[data-theme="dark"] .top::after { opacity: .62; }
html[data-theme="dark"] .hero::after { width: 112px; opacity: .62; }
html[data-theme="dark"] .top,
html[data-theme="dark"] .hero-copy > .kicker,
html[data-theme="dark"] .hero-copy > .lead,
html[data-theme="dark"] .hero-copy > p:last-child,
html[data-theme="dark"] .hero-en,
html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .record,
html[data-theme="dark"] .status-band { animation: none; }
html[data-theme="dark"] .hero h1 { color: #c9cbc2; }
html[data-theme="dark"] .article-section h2 { color: #cfd1c8; }
html[data-theme="dark"] .js-reveal { opacity: 1; transform: none; transition: none; }
html[data-theme="dark"] .record { border-width: 1px; border-top: 3px solid var(--signal); }
html[data-theme="dark"] .record-head,
html[data-theme="dark"] .record dd { color: #d8dad1; }
html[data-theme="dark"] .record dt { color: #85887d; }
html[data-theme="dark"] .status-band { color: #d8dad1; }
html[data-theme="dark"] .status-label { color: #85887d; }
html[data-theme="dark"] .status-copy { color: #a8ab9f; }
html[data-theme="dark"] .status-link { background: var(--signal); color: #11120f; }
html[data-theme="dark"] .status-link:hover { background: #252620; color: var(--signal); }
html[data-theme="dark"] .section-kicker span {
  background: #22241f;
  color: var(--signal);
  border: 1px solid var(--line-strong);
}
html[data-theme="dark"] .release-meta b {
  background: #22241f;
  color: var(--ink);
  border-left: 3px solid var(--signal);
}
html[data-theme="dark"] .toc p {
  background: #1b1c18;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}
html[data-theme="dark"] .catalog-links a:hover {
  background: #1e1f1a;
  color: var(--ink);
  box-shadow: inset 4px 0 var(--signal);
}
html[data-theme="dark"] .catalog-links a:hover::before,
html[data-theme="dark"] .catalog-links a:hover::after { color: var(--signal); }
html[data-theme="dark"] .catalog-links a:hover .link-desc { color: var(--ink-2); }
html[data-theme="dark"] .catalog-links a:hover .link-url { color: var(--signal); }
html[data-theme="dark"] .launcher-list a:hover {
  background: #1e1f1a;
  color: var(--ink);
  box-shadow: inset 4px 0 var(--signal);
}
html[data-theme="dark"] .launcher-list a:hover .launcher-platform,
html[data-theme="dark"] .launcher-list a:hover .launcher-desc { color: var(--ink-2); }
html[data-theme="dark"] .steps li::before {
  background: #22241f;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
html[data-theme="dark"] .steps li:hover::before {
  background: var(--signal);
  color: #11120f;
  border-color: var(--signal);
}
html[data-theme="dark"] .next a {
  background: #1b1c18;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
html[data-theme="dark"] .next a:hover { background: var(--signal); color: #11120f; border-color: var(--signal); }
html[data-theme="dark"] .bili-card,
html[data-theme="dark"] .bili-card:hover { color: #d8dad1; }
html[data-theme="dark"] .screenshot-frame img { filter: brightness(.88) saturate(.88) contrast(1.02); }
html[data-theme="dark"] .foot { color: #d8dad1; }
html[data-theme="dark"] .foot::before { opacity: .62; }

/* Readability pass: no pin-sized supporting text */
.brand small { font-size: 12px; }
.nav a { font-size: 12px; }
.nav a i { font-size: 10px; }
.coord { font-size: 11px; }
.crumb { font-size: 12px; }
.kicker { font-size: 12px; }
.hero-en { font-size: 12.5px; }
.record-head { font-size: 11px; }
.record dt { font-size: 11.5px; }
.record dd { font-size: 12.5px; line-height: 1.65; }
.status-label { font-size: 11.5px; }
.status-copy { font-size: 13px; line-height: 1.75; }
.status-link { font-size: 12px; }
.section-kicker { font-size: 12px; }
.section-kicker span { font-size: 11px; }
.article-section h2 small { display: none; }
.article-section p { font-size: 16.5px; line-height: 1.9; }
.note { font-size: 14.5px; line-height: 1.85; }
.note strong { font-size: 10.5px; }
.timeline time { font-size: 11.5px; }
.release-tag { font-size: 10px; }
.timeline p { font-size: 14px; line-height: 1.8; }
.repo-note { font-size: 11px; }
.size-list dt { font-size: 13.5px; }
.size-list dd { font-size: 12.5px; }
.screenshot-head { font-size: 11px; }
.screenshot figcaption { font-size: 11px; }
.bili-brand { font-size: 11px; }
.bili-uid { font-size: 10.5px; }
.bili-signature { font-size: 14px; }
.bili-open { font-size: 11px; }
.video-meta { font-size: 10.5px; }
.video-author { font-size: 12.5px; }
.source-block { font-size: 11px; line-height: 1.9; }
.link-name { font-size: 17px; }
.link-desc { font-size: 13px; }
.link-url { font-size: 10.5px; }
.balance h3 { font-size: 12px; }
.balance li { font-size: 13.5px; line-height: 1.8; }
.next p { font-size: 11px; }
.next a { font-size: 12.5px; }
.toc p { font-size: 11px; }
.toc a { font-size: 13px; }
.toc a::before { font-size: 10px; }
.toc-meta { font-size: 11px; }
.foot-brand span { font-size: 13.5px; }
.statement { font-size: 13.5px; }
.to-top { font-size: 11px; }
.launcher-name { font-size: 21px; }
.launcher-platform { font-size: 11px; }
.launcher-desc { font-size: 13.5px; }
.steps h3 { font-size: 16px; }
.steps p { font-size: 14px; line-height: 1.85; }
.issues h3 { font-size: 14px; }
.issues p { font-size: 14px; line-height: 1.85; }

@media (max-width: 760px) {
  .record dt,
  .record dd { font-size: 11.5px; }
  .article-section p { font-size: 16px; }
  .balance li { font-size: 13px; }
  .launcher-desc { font-size: 13px; }
  .steps p,
  .issues p { font-size: 13.5px; }
}

/* Minimum supporting size: 12px for labels, 11px for tertiary references */
.brand small,
.coord,
.crumb,
.kicker,
.record-head,
.record dt,
.status-label,
.section-kicker,
.repo-note,
.screenshot-head,
.screenshot figcaption,
.bili-brand,
.bili-open,
.source-block,
.next p,
.toc p,
.toc-meta,
.to-top,
.launcher-platform,
.note strong,
.timeline time { font-size: 12px; }

.nav a i,
.release-tag,
.bili-uid,
.video-meta,
.link-url,
.toc a::before { font-size: 11px; }

/* Content is always present; no scroll-triggered flashing */
.js-reveal,
.js-reveal.in { opacity: 1; transform: none; transition: none; }

