@font-face {
  font-family: "Noto Sans";
  src: url("assets/noto-sans.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #1b1b1b;
  --surface: #252525;
  --field: #101010;
  --hover: #303030;
  --text: #e8e8e8;
  --muted: #b1b1b1;
  --line: #414141;
  --accent: #e6b6c7;
  --discord: #5865f2;
  --discord-hover: #4752c4;
  --action-ink: #171719;
  --error: #ff9a94;
  --width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; scrollbar-color: #686868 var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 "Noto Sans", sans-serif; }
::selection { background: var(--accent); color: var(--field); }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible, .table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl { margin: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(36px, 4vw, 52px); letter-spacing: -.03em; }
h2 { font-size: 26px; letter-spacing: -.02em; }
h3 { font-size: 18px; }
p { max-width: 70ch; }
p + p { margin-top: 16px; }
.wrap { max-width: var(--width); margin-inline: auto; padding-inline: 40px; }
.skip { position: absolute; top: -100px; z-index: 10; padding: 12px; background: var(--text); color: var(--field); }
.skip:focus { top: 10px; }
.skip:hover { color: var(--field); }

/* One quiet header and one shared footer on every page. */
.header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; min-height: 96px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font-size: 18px; letter-spacing: .02em; }
.brand svg { width: 24px; height: 24px; flex-shrink: 0; }
.header > nav:not(.community-actions) { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; }
.header > nav:not(.community-actions) a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 13px; }
.header > nav a:hover { color: var(--accent); }
.header > nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 10px; }
.icon { display: inline-block; flex-shrink: 0; width: 20px; height: 20px; background: currentColor; mask: var(--icon) center / contain no-repeat; }
.icon--patreon { --icon: url("assets/fa-patreon.svg"); }
.icon--discord { --icon: url("assets/fa-discord.svg"); }
.icon--windows { --icon: url("assets/fa-windows.svg"); }
.icon--apple { --icon: url("assets/fa-apple.svg"); }
.icon--linux { --icon: url("assets/fa-linux.svg"); }
.icon--download { --icon: url("assets/fa-download.svg"); }
.community-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; align-items: center; gap: 10px; margin-left: auto; }
.community-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 16px; border: 0; font-size: 13px; line-height: 1.5; text-decoration: none; white-space: nowrap; transition: background-color 150ms ease; }
.community-actions .community-donate { background: var(--accent); color: var(--action-ink); }
.community-actions .community-donate:hover { background: #f5cad7; color: var(--action-ink); }
.community-actions .community-discord { background: var(--discord); color: #fff; }
.community-actions .community-discord:hover { background: var(--discord-hover); color: #fff; }
.footer { border-top: 1px solid var(--line); padding-block: 28px 32px; color: var(--muted); font-size: 12px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 32px; margin-bottom: 24px; }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-size: 18px; letter-spacing: .02em; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal { max-width: 70ch; margin-left: auto; padding: 0; border: 0; }
.footer-legal summary { font-size: 12px; text-align: right; }
.footer-legal p { font-size: 12px; }

/* The overview leads straight from the product to its download. */
.player-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .85fr); align-items: center; gap: 40px 80px; padding-block: 48px 40px; }
.intro-copy > p { margin-top: 16px; color: var(--muted); font-size: 16px; }
.intro-copy .alpha-line { max-width: 52ch; margin-top: 24px; font-size: 13px; }
.simple-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 12px; font-size: 13px; }
.simple-links a { display: inline-flex; align-items: center; min-height: 44px; }
.download-panel { min-width: 0; }
.release-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.release-line a { min-width: 0; overflow-wrap: anywhere; color: var(--text); }
.release-line #release-date:empty { display: none; }
.platform-downloads { display: grid; gap: 10px; }
.platform-link { display: grid; grid-template-columns: 26px minmax(0, 1fr) 18px; align-items: center; gap: 14px; min-height: 66px; padding: 14px 16px; border: 1px solid #535353; background: var(--hover); color: var(--text); text-decoration: none; font-size: 15px; transition: background-color 150ms ease, border-color 150ms ease; }
.platform-link:hover { border-color: var(--text); background: #3b3b3b; color: var(--text); }
.platform-link > .icon:first-child { width: 26px; height: 26px; }
.platform-link > .icon--download { width: 18px; height: 18px; }
.download-copy { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.download-copy small { color: var(--muted); font-size: 12px; }
.platform-link[data-detected="true"] { background: var(--text); border-color: var(--text); color: var(--action-ink); }
.platform-link[data-detected="true"]:hover { background: #fff; border-color: #fff; }
.platform-link[data-detected="true"] small { color: #454549; }
.detected { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.detected[hidden] { display: none; }
.download-formats { margin-top: 12px; color: var(--muted); font-size: 12px; }
.product-shot { margin: 0 0 40px; }
.product-shot img { width: 100%; background: var(--field); }

/* Reading pages retain complete instructions and compatibility evidence. */
.page-intro { padding-block: 48px 36px; }
.reading-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 64px; padding-bottom: 64px; }
.toc { font-size: 13px; }
.toc div { position: sticky; top: 24px; }
.toc a { display: block; min-height: 44px; padding-block: 8px; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent); }
article { min-width: 0; }
article h2 { margin: 48px 0 20px; }
article h2:first-child { margin-top: 0; }
article h3 { margin: 28px 0 12px; }
article p, article li, article dd { color: #c7c7c7; font-size: 15px; }
article ul, article ol { margin: 16px 0; padding-left: 22px; }
article li { padding-block: 4px; }
article strong { color: var(--text); font-weight: bold; }
article a { overflow-wrap: anywhere; }
article table { width: 100%; margin-block: 20px; border-collapse: collapse; font-size: 13px; }
article td, article th { padding: 14px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
article th { background: var(--surface); font-weight: 400; }
.table-scroll { overflow-x: auto; }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { display: list-item; align-content: center; cursor: pointer; font-size: 16px; min-height: 44px; }
details p { margin-block: 16px 8px; }
details ul { margin-bottom: 12px; }
code { padding: 3px 6px; background: var(--field); font-size: 13px; overflow-wrap: anywhere; }
.note { max-width: 75ch; margin-top: 28px; color: var(--muted); font-size: 13px; }

.report-link { margin-top: 24px; }
.developer-links { margin-top: 24px; }

/* Source-derived compatibility stays a table at every width. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; border-radius: 0; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button:disabled { cursor: default; }
.compatibility-intro { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px 32px; padding-bottom: 24px; }
.revision-line { color: var(--muted); font-size: 13px; }
.compatibility-content { padding-bottom: 56px; }
.compatibility-counts { display: flex; flex-wrap: wrap; gap: 8px 24px; max-width: none; font-size: 14px; }
.status-done { color: #c7d8c7; }
.status-partial { color: var(--accent); }
.status-todo { color: var(--muted); }
.status-key { margin-block: 12px 28px; padding: 0; border: 0; }
.status-key summary { width: fit-content; color: var(--muted); font-size: 13px; }
.status-key p { color: var(--muted); font-size: 13px; }
.table-filters { display: grid; grid-template-columns: minmax(220px, 1.5fr) 1fr 1.2fr 1fr auto; align-items: end; gap: 12px; }
.table-filters label { display: grid; gap: 8px; color: var(--muted); font-size: 12px; }
.table-filters input, .table-filters select { width: 100%; min-width: 0; height: 44px; padding: 8px 10px; border: 1px solid #686868; background: var(--field); color: var(--text); font-size: 13px; }
.table-filters input::placeholder { color: var(--muted); opacity: 1; }
.quiet-button { min-height: 44px; padding: 8px 14px; border: 1px solid #686868; background: var(--surface); font-size: 13px; white-space: nowrap; }
.quiet-button:hover:not(:disabled) { background: var(--hover); border-color: var(--muted); }
.quiet-button:disabled { color: var(--muted); border-color: var(--line); background: var(--bg); }
.table-result-line { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; align-items: center; min-height: 64px; font-size: 12px; color: var(--muted); }
.table-result-line a { display: inline-flex; align-items: center; min-height: 44px; }
.feature-scroll { border-top: 1px solid var(--line); }
.feature-table { width: 100%; min-width: 1040px; border-collapse: collapse; table-layout: fixed; font-size: 13px; line-height: 1.6; }
.feature-table th, .feature-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.feature-table thead th { padding-block: 0; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 400; vertical-align: middle; }
.feature-table thead th:nth-child(1) { width: 22%; }
.feature-table thead th:nth-child(2) { width: 15%; }
.feature-table thead th:nth-child(3) { width: 8%; }
.feature-table thead th:nth-child(4) { width: 15%; }
.feature-table thead th:nth-child(5) { width: 33%; }
.feature-table thead th:nth-child(6) { width: 7%; }
.feature-table thead button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 48px; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; font-size: inherit; }
.feature-table thead button:hover:not(:disabled) { color: var(--text); }
.feature-table tbody th { font-weight: 400; }
.feature-table tbody tr:hover { background: #222; }
.feature-note { color: var(--muted); }
.proof-note { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.sort-mark { width: 7px; height: 7px; flex-shrink: 0; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); opacity: .65; }
[aria-sort="ascending"] .sort-mark { transform: rotate(225deg); opacity: 1; color: var(--text); }
[aria-sort="descending"] .sort-mark { opacity: 1; color: var(--text); }
.feature-table thead button:disabled .sort-mark { display: none; }
.table-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 24px; font-size: 12px; color: var(--muted); }
.table-result-line, .compatibility-counts, .table-pagination { font-variant-numeric: tabular-nums; }
.empty-results { padding-block: 32px; font-size: 14px; }
.text-button { padding: 0; min-height: 44px; border: 0; background: transparent; color: var(--text); text-decoration: underline; text-underline-offset: 5px; font-size: inherit; }
.text-button:hover { color: var(--accent); }

/* Current sampler work and planned expansion, without invented sequencing. */
.page-intro > p:not(.revision-line) { margin-top: 18px; color: var(--muted); font-size: 15px; }
.sampler-roadmap { padding-block: 8px; }
.sampler-phase { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 48px; margin-bottom: 44px; }
.sampler-phase h2 { padding-top: 18px; font-size: 24px; }
.sampler-list { min-width: 0; border-top: 1px solid var(--line); }
.sampler-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 110px; gap: 24px; align-items: baseline; padding-block: 20px; border-bottom: 1px solid var(--line); }
.sampler-row h3 { font-size: 18px; }
.sampler-row > span, .sampler-row > a { font-size: 13px; }
.sampler-row > span:not(.status-partial) { color: var(--muted); }
.sampler-row > a { justify-self: end; }
.sampler-scope { padding: 8px 0; border: 0; }
.sampler-scope summary { width: fit-content; color: var(--muted); font-size: 13px; }
.sampler-scope p { color: var(--muted); font-size: 14px; }
.roadmap-links { display: flex; flex-wrap: wrap; gap: 0 24px; max-width: none; margin-block: 8px 44px; font-size: 13px; }
.roadmap-links a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 1050px) {
  .header { grid-template-columns: 1fr auto; gap: 0 24px; padding-block: 16px 8px; }
  .header > nav:not(.community-actions) { grid-column: 1 / -1; grid-row: 2; }
  .player-intro { gap: 40px; }
  .reading-layout { gap: 40px; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; }
  .table-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-search { grid-column: span 2; }
  .sampler-phase { grid-template-columns: 160px minmax(0, 1fr); gap: 32px; }
  .sampler-row { grid-template-columns: minmax(0, 1fr) 130px; gap: 12px; }
  .sampler-row > a { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 760px) {
  .wrap { padding-inline: 24px; }
  .player-intro { grid-template-columns: 1fr; gap: 28px; padding-block: 36px; }
  .intro-copy .alpha-line { max-width: 62ch; margin-top: 16px; }
  .reading-layout { display: block; }
  .toc { margin-bottom: 28px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .toc div { position: static; display: flex; flex-wrap: wrap; gap: 0 24px; }
  .toc a { min-height: 44px; }
  .page-intro { padding-block: 36px 28px; }
  .sampler-phase { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .sampler-phase h2 { padding-top: 0; }
  .table-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table-filters .quiet-button { justify-self: start; }
  .feature-table { min-width: 1040px; }
  .feature-table thead th:nth-child(1) { width: 17%; }
  .feature-table thead th:nth-child(4) { width: 20%; }
  article h2 { margin-top: 36px; }
  article table { min-width: 600px; }
}

@media (max-width: 480px) {
  .wrap { padding-inline: 20px; }
  .header { gap: 8px 16px; padding-top: 12px; }
  .header-actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .header-actions a { min-height: 44px; padding: 9px 12px; font-size: 12px; }
  .header > nav:not(.community-actions) { justify-content: space-between; gap: 0 12px; }
  .header > nav:not(.community-actions) a { font-size: 12px; }
  .brand { gap: 8px; font-size: 18px; }
  .brand svg { width: 21px; height: 21px; }
  .player-intro { padding-block: 32px; }
  .intro-copy > p { font-size: 15px; }
  .platform-link { padding-inline: 14px; font-size: 15px; }
  .platform-link small { font-size: 12px; }
  .footer-top { gap: 12px; }
  .footer-top .community-actions { width: 100%; }
  .footer-links { gap: 0 16px; }
  .table-filters { gap: 16px 10px; }
  .table-filters label:last-of-type { grid-column: 1; }
  .table-filters .quiet-button { width: 100%; }
  .sampler-row { grid-template-columns: minmax(0, 1fr) 120px; }
  .table-pagination { justify-content: space-between; gap: 10px; }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .community-actions a, .platform-link { transition: none; }
}

/* The local inspector inherits the download controls and quiet report workbench. */
.inspector-intro { padding-bottom: 28px; }
.inspector-input { padding-bottom: 24px; }
.inspector-file-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.primary-button { min-height: 46px; padding: 10px 16px; border: 1px solid var(--text); background: var(--text); color: var(--action-ink); font-size: 13px; }
.primary-button:hover:not(:disabled) { background: #fff; border-color: #fff; }
.primary-button:disabled { background: var(--surface); color: var(--muted); border-color: var(--line); }
.inspector-hint { margin-top: 16px; color: var(--muted); font-size: 13px; }
.inspector-selection { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 24px; }
.inspector-selection label { display: grid; gap: 8px; min-width: 180px; flex: 1 1 240px; color: var(--muted); font-size: 12px; }
.inspector-selection select, .inspector-selection input { width: 100%; min-width: 0; height: 46px; border: 1px solid #686868; background: var(--field); color: var(--text); padding: 8px 10px; font-size: 13px; }
.inspector-selection input::placeholder { color: var(--muted); opacity: 1; }
.inspector-status-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 20px; color: var(--muted); font-size: 12px; }
.inspector-status-line a { overflow-wrap: anywhere; }
#inspection-error { margin-top: 16px; color: var(--error); font-size: 14px; }
.inspection-result { border-top: 1px solid var(--line); padding-block: 28px 48px; }
.inspection-summary { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.inspection-summary h2 { min-width: 0; flex: 1 1 280px; overflow-wrap: anywhere; font-size: 24px; }
#inspection-viewer { display: block; width: 100%; min-height: 700px; border: 0; margin-top: 24px; background: var(--bg); }
.text-button:disabled { color: var(--muted); text-decoration: none; }
@media (max-width: 1050px) { .header > nav:not(.community-actions) { gap: 8px 20px; } }
@media (max-width: 480px) {
  .header > nav:not(.community-actions) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
  .inspector-file-actions { align-items: stretch; }
  .inspector-file-actions > button:not(.text-button) { flex: 1 1 100%; }
  .inspector-selection label { flex-basis: 100%; min-width: 0; }
  .inspector-selection .primary-button { flex: 1; }
  #inspection-viewer { min-height: 640px; }
}
