/* Self-hosted type (SIL Open Font License, see /_shared/fonts/OFL-*.txt):
   Barlow for text, Barlow Semi Condensed for headings and map lettering,
   Spectral italic for water names and captions. latin + latin-ext only. */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/_shared/fonts/barlow-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/_shared/fonts/barlow-400-latin.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: "Barlow"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/_shared/fonts/barlow-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/_shared/fonts/barlow-500-latin.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: "Barlow"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/_shared/fonts/barlow-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/_shared/fonts/barlow-600-latin.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: "Barlow"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/_shared/fonts/barlow-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/_shared/fonts/barlow-700-latin.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: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/_shared/fonts/barlow-semi-condensed-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/_shared/fonts/barlow-semi-condensed-700-latin.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: "Barlow Semi Condensed"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/_shared/fonts/barlow-semi-condensed-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/_shared/fonts/barlow-semi-condensed-800-latin.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: "Spectral"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/_shared/fonts/spectral-400-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/_shared/fonts/spectral-400-italic-latin.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; }
  :root {
    --base: 237 240 234; --surface: 248 249 245; --ink: 26 26 26; --muted: 85 92 83;
    --track: 20 114 54; --route: 3 105 161; --elev: 180 83 9; --onbrand: 255 255 255;
    --hairline: 26 26 26; --hairline-a: 0.12; --grid-a: 0.07; color-scheme: light;
    --contour: 167 178 161; --contour-index: 127 139 121; --wood: 215 227 207; --lake: 156 195 220;
    --road: 251 252 248; --road-case: 141 150 138;
  }
  @media (prefers-color-scheme: dark) { :root {
    --base: 20 26 23; --surface: 28 36 32; --ink: 228 233 226; --muted: 160 170 156;
    --track: 74 222 128; --route: 56 189 248; --elev: 245 158 11; --onbrand: 20 26 23;
    --hairline: 255 255 255; --hairline-a: 0.10; --grid-a: 0.06; color-scheme: dark;
    --contour: 64 78 69; --contour-index: 98 115 103; --wood: 32 48 39; --lake: 30 64 92;
    --road: 60 70 64; --road-case: 38 46 41;
  } }
  :root[data-theme="dark"] {
    --base: 20 26 23; --surface: 28 36 32; --ink: 228 233 226; --muted: 160 170 156;
    --track: 74 222 128; --route: 56 189 248; --elev: 245 158 11; --onbrand: 20 26 23;
    --hairline: 255 255 255; --hairline-a: 0.10; --grid-a: 0.06; color-scheme: dark;
    --contour: 64 78 69; --contour-index: 98 115 103; --wood: 32 48 39; --lake: 30 64 92;
    --road: 60 70 64; --road-case: 38 46 41;
  }
  :root[data-theme="light"] {
    --base: 237 240 234; --surface: 248 249 245; --ink: 26 26 26; --muted: 85 92 83;
    --track: 20 114 54; --route: 3 105 161; --elev: 180 83 9; --onbrand: 255 255 255;
    --hairline: 26 26 26; --hairline-a: 0.12; --grid-a: 0.07; color-scheme: light;
    --contour: 167 178 161; --contour-index: 127 139 121; --wood: 215 227 207; --lake: 156 195 220;
    --road: 251 252 248; --road-case: 141 150 138;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; color: rgb(var(--ink)); background: rgb(var(--base));
    font-family: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.65; -webkit-font-smoothing: antialiased; }
  a { color: rgb(var(--route)); text-decoration: none; }
  a:hover { text-decoration: underline; }
  .wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }
  header.nav { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(16px);
    background: rgb(var(--base) / 0.72); border-bottom: 1px solid rgb(var(--hairline) / var(--hairline-a)); }
  .nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; height: 60px;
    display: flex; align-items: center; justify-content: space-between; }
  .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: rgb(var(--ink)); }
  .brand:hover { text-decoration: none; }
  .logo { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center;
    color: rgb(var(--onbrand)); font-weight: 800; font-size: 14px; background: rgb(var(--track)); }
  .nav-links { display: flex; gap: 22px; font-size: 14px; }
  .nav-links a { color: rgb(var(--muted)); }
  .nav-links a:hover { color: rgb(var(--ink)); text-decoration: none; }
  .nav-right { display: flex; align-items: center; gap: 8px; }
  .icon-btn { color: rgb(var(--muted)); padding: 8px; border-radius: 10px; cursor: pointer;
    border: 0; background: transparent;
    display: grid; place-items: center; }
  .icon-btn:hover { color: rgb(var(--ink)); }
  .lang-switch { color: rgb(var(--muted)); font-size: 13px; font-weight: 600; padding: 6px 10px;
    border-radius: 10px; border: 1px solid rgb(var(--hairline) / var(--hairline-a)); }
  .lang-switch:hover { color: rgb(var(--ink)); text-decoration: none; background: rgb(var(--surface)); }
  .nav-ver { color: rgb(var(--muted)); font-size: 14px; margin-right: 6px; }
  .nav-ver b { font-family: "Barlow Semi Condensed", "Barlow", sans-serif; color: rgb(var(--ink)); }
  .nav-ver:hover { color: rgb(var(--ink)); }
  .lang-menu { position: relative; }
  .lang-menu summary { cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: rgb(var(--ink));
    padding: 8px 18px 8px 8px; border-radius: 10px;
    background: linear-gradient(45deg, transparent 50%, currentColor 50%) right 8px top 55% / 5px 5px no-repeat,
                linear-gradient(135deg, currentColor 50%, transparent 50%) right 3px top 55% / 5px 5px no-repeat; }
  .lang-menu summary::-webkit-details-marker { display: none; }
  .lang-menu ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; list-style: none; margin: 0; padding: 6px 0;
    min-width: 160px; background: rgb(var(--surface)); border-radius: 10px;
    box-shadow: 0 12px 32px -12px rgb(0 0 0 / .35), 0 0 0 1px rgb(var(--hairline) / var(--hairline-a)); }
  .lang-menu li a { display: block; padding: 6px 16px; color: rgb(var(--ink)); }
  .lang-menu li a:hover { background: rgb(var(--ink) / .06); text-decoration: none; }
  h1, h2, h3, .brand { font-family: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif; }
  .icon-sun { display: none; } :root[data-theme="dark"] .icon-sun { display: inline; }
  :root[data-theme="dark"] .icon-moon { display: none; }
  .nav-menu { display: none; position: relative; }
  .nav-menu summary { cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; padding: 8px; color: rgb(var(--ink)); }
  .nav-menu summary::-webkit-details-marker { display: none; }
  .nav-menu ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; list-style: none; margin: 0; padding: 6px 0;
    min-width: 180px; background: rgb(var(--surface)); border-radius: 10px;
    box-shadow: 0 12px 32px -12px rgb(0 0 0 / .35), 0 0 0 1px rgb(var(--hairline) / var(--hairline-a)); }
  .nav-menu li a { display: block; padding: 8px 16px; color: rgb(var(--ink)); }
  @media (max-width: 720px) { .nav-links, .nav-ver { display: none; } .nav-menu { display: block; } }
  /* Homepage: the header is lettering in the sheet's margin -- no bar, no
     rule, aligned to the sheet's 1240px column (main.hm). */
  body:has(main.hm) header.nav { background: rgb(var(--base)); backdrop-filter: none; border-bottom: 0; }
  body:has(main.hm) .nav-inner { max-width: 1240px; padding: 0 28px; }
  @media (max-width: 620px) { body:has(main.hm) .nav-inner { padding: 0 16px; } }
  main.page { padding: 48px 0 72px; }
  .banner { border: 1px solid rgb(var(--elev) / 0.5); background: rgb(var(--elev) / 0.10);
    color: rgb(var(--ink)); border-radius: 12px; padding: 12px 16px; margin-bottom: 32px; font-size: 14px; }
  .prose h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.02em; line-height: 1.1;
    margin: 0 0 24px; text-wrap: balance; }
  .prose h2 { font-size: 24px; letter-spacing: -0.01em; margin: 40px 0 12px; }
  .prose h3 { font-size: 18px; margin: 28px 0 8px; }
  .prose ul, .prose ol { padding-left: 22px; }
  .prose li { margin: 4px 0; }
  .prose code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em;
    background: rgb(var(--hairline) / 0.06); padding: 2px 6px; border-radius: 6px; }
  .prose pre { background: rgb(var(--surface)); border: 1px solid rgb(var(--hairline) / var(--hairline-a));
    border-radius: 12px; padding: 16px; overflow-x: auto; }
  .prose pre code { background: none; padding: 0; }
  /* Inline command box with a copy button (e.g. install one-liners) --
     sits inline in running text/list items, unlike .prose pre which is
     block-level. See the copy-to-clipboard script near the end of body. */
  .cmd-box { display: inline-flex; align-items: center; gap: 4px; max-width: 100%;
    background: rgb(var(--surface)); border: 1px solid rgb(var(--hairline) / var(--hairline-a));
    border-radius: 10px; padding: 3px 3px 3px 10px; vertical-align: middle; }
  .cmd-box code { background: none; padding: 0; white-space: pre-wrap; word-break: break-all; font-size: 0.78em; }
  .copy-btn { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none;
    border: none; background: transparent; border-radius: 7px; cursor: pointer; color: rgb(var(--muted)); }
  .copy-btn:hover { background: rgb(var(--hairline) / 0.08); color: rgb(var(--ink)); }
  .copy-btn svg { width: 14px; height: 14px; }
  .copy-btn .icon-check { display: none; color: rgb(var(--track)); }
  .copy-btn.copied .icon-copy { display: none; }
  .copy-btn.copied .icon-check { display: inline; }
  .prose img { max-width: 100%; height: auto; border-radius: 12px; }
  .crumbs { font-size: 13px; color: rgb(var(--muted)); padding: 18px 0 0; }
  .crumbs a { color: rgb(var(--muted)); }
  .crumbs a:hover { color: rgb(var(--ink)); }
  .ad-slot { margin: 32px 0; }
  /* Pages with a right-hand ad column (news, downloads): wider container so
     the column has room without crowding the reading text, plus a
     two-column grid (article + a 160px-wide vertical unit pinned to the
     outer edge). Collapses to a single column (ad falls below the content)
     below 860px. */
  .wrap--ad-sidebar { max-width: 1040px; }
  .ad-sidebar-layout { display: grid; grid-template-columns: 1fr 160px; gap: 64px; align-items: start; }
  .ad-slot-right { width: 160px; }
  @media (max-width: 860px) { .ad-sidebar-layout { grid-template-columns: 1fr; } .ad-slot-right { width: auto; margin: 32px 0; } }
  /* Imprint address: each line's characters are reversed in the source, then
     laid out right-to-left with the override forced — this un-reverses them
     back to correct reading order on screen (and in copy/paste), while a
     naive text-scraper reading raw HTML/DOM text sees only the reversed
     nonsense string. Defeats plain-text address harvesting, not a rendering
     engine that also applies CSS. */
  .prose .addr-r { unicode-bidi: bidi-override; direction: rtl; }
  .prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; font-size: 14px; }
  .prose th, .prose td { text-align: left; padding: 8px 12px;
    border-bottom: 1px solid rgb(var(--hairline) / var(--hairline-a)); }
  .prose th { color: rgb(var(--muted)); font-weight: 600; }
  footer { border-top: 1px solid rgb(var(--hairline) / var(--hairline-a)); font-size: 14px; }
  .foot-main { max-width: 1100px; margin: 0 auto; padding: 56px 24px; display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  @media (max-width: 860px) { .foot-main { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .foot-main { grid-template-columns: 1fr; } }
  .foot-brand p { color: rgb(var(--muted)); margin: 14px 0 0; }
  .foot-h { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
    color: rgb(var(--muted)); margin-bottom: 12px; }
  .foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
  .foot-col a { color: rgb(var(--ink)); }
  .foot-col a:hover { color: rgb(var(--track)); text-decoration: none; }
  .foot-bar { border-top: 1px solid rgb(var(--hairline) / var(--hairline-a)); }
  .foot-bar-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; height: 56px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
    font-size: 13px; color: rgb(var(--muted)); }
  /* Mobile hand-off block (tools/templates/mobile-handoff.html.j2): desktop
     never sees it -- display:none is the ONLY default, and the media query
     is the only thing that turns it back on, so a screen that is neither
     narrow nor touch-driven never renders it, JS or no JS. */
  .handoff { display: none; }
  @media (max-width: 768px), (pointer: coarse) {
    .handoff { display: block; margin: 20px 0 32px; padding: 14px 16px; border-radius: 12px;
      border: 1px solid rgb(var(--hairline) / var(--hairline-a)); background: rgb(var(--surface) / 0.6); }
  }
  .handoff-text { margin: 0 0 10px; font-size: 13px; color: rgb(var(--muted)); }
  .handoff-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .handoff-btn { display: inline-flex; align-items: center; font: inherit; font-size: 13px;
    font-weight: 600; color: rgb(var(--ink)); background: rgb(var(--base));
    border: 1px solid rgb(var(--hairline) / var(--hairline-a)); border-radius: 10px;
    padding: 8px 12px; cursor: pointer; text-decoration: none; }
  .handoff-btn:hover { text-decoration: none; background: rgb(var(--hairline) / 0.08); }
  .handoff-btn.copied { color: rgb(var(--track)); border-color: rgb(var(--track) / 0.5); }
  /* "Convert online" box on /convert/<pair>/ pages (tools/templates/convert.md.j2,
     rc-meta specs/00077). Ships `hidden`; site.js reveals it, so no-JS visitors
     never see a form that cannot work. Works at every width: the card is fluid. */
  .online-convert[hidden] { display: none; }
  .online-convert { margin: 24px 0 32px; padding: 16px 18px; border-radius: 12px;
    border: 1px solid rgb(var(--hairline) / var(--hairline-a)); background: rgb(var(--surface) / 0.6); }
  .prose .online-convert h2 { margin: 0 0 8px; font-size: 18px; }
  .online-convert-note { margin: 0 0 14px; font-size: 13px; color: rgb(var(--muted)); }
  .online-convert-form { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
  .online-convert-form label { font-size: 14px; font-weight: 600; }
  .online-convert-form input[type=file] { max-width: 100%; font: inherit; font-size: 14px; color: rgb(var(--ink)); }
  .online-convert-btn { font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
    color: rgb(var(--onbrand)); background: rgb(var(--track)); border: 0; border-radius: 10px;
    padding: 10px 16px; margin-top: 4px; }
  .online-convert-btn:hover { filter: brightness(0.95); }
  .online-convert-btn:disabled { opacity: 0.6; cursor: progress; }
  .online-convert-form input:focus-visible, .online-convert-btn:focus-visible {
    outline: 2px solid rgb(var(--route)); outline-offset: 2px; }
  .online-convert-status { margin: 12px 0 0; font-size: 14px; min-height: 1.4em; }
  .online-convert-status.error { color: rgb(180 35 24); }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .online-convert-status.error { color: rgb(252 165 165); } }
  :root[data-theme="dark"] .online-convert-status.error { color: rgb(252 165 165); }
/* Download centre (pages/downloads.html.j2). One column, task order: pick,
   every build by OS, more builds, channels, then the notes. */
.dlc .dlc-head h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.dlc .dlc-facts { margin: 10px 0 0; color: rgb(var(--muted)); font-variant-numeric: tabular-nums; }
.dlc h2 { font-size: 22px; letter-spacing: -0.01em; margin: 48px 0 14px; }
.dlc h3 { font-size: 15px; margin: 0 0 10px; color: rgb(var(--muted)); font-weight: 600; }
.dlc-all ul, .dlc-channels ul { list-style: none; margin: 0; padding: 0; }
.dlc-pick { margin-top: 8px; }
.dlc-pick h2 { margin-top: 36px; }
.dlc-btn { display: inline-flex; flex-direction: column; gap: 2px; min-height: 56px; justify-content: center;
  padding: 12px 22px; border-radius: 12px; color: rgb(var(--onbrand));
  background: rgb(var(--track));
  font-weight: 600; font-size: 17px; }
.dlc-btn small { font-weight: 400; font-size: 13px; opacity: .9; }
.dlc-btn:hover { text-decoration: none; box-shadow: 0 8px 24px -10px rgb(var(--track) / 0.6); }
.dlc-pair { display: flex; flex-wrap: wrap; gap: 12px; }
.dlc-pair .dlc-btn { flex: 1 1 220px; background: rgb(var(--surface)); color: rgb(var(--ink));
  border: 1px solid rgb(var(--hairline) / var(--hairline-a)); }
.dlc-pair .dlc-btn small { color: rgb(var(--muted)); opacity: 1; }
.dlc-pair .dlc-btn:hover { border-color: rgb(var(--track)); box-shadow: none; }
.dlc-pair .dlc-btn--match { border: 2px solid rgb(var(--track)); }
.dlc-q { margin: 0 0 12px; font-weight: 600; }
.dlc-hint { margin: 12px 0 0; font-size: 14px; color: rgb(var(--muted)); }
.dlc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 720px) { .dlc-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.dlc-file { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid rgb(var(--hairline) / var(--hairline-a)); }
.dlc-file span { font-weight: 600; }
.dlc-file small { color: rgb(var(--muted)); font-size: 13px; }
.dlc-file:hover { text-decoration: none; }
.dlc-file:hover span { text-decoration: underline; }
.dlc-deb-row { margin-top: 20px; }
.dlc-deb { margin: 0 0 6px; font-size: 13px; color: rgb(var(--muted)); }
.dlc .cmd-box { font-size: 12px; }
.dlc-more { margin-top: 24px; }
.dlc-more summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.dlc-more ul { max-width: 420px; }
.dlc-channels ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 720px) { .dlc-channels ul { grid-template-columns: minmax(0, 1fr); } }
.dlc-channels li a { display: block; height: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgb(var(--hairline) / var(--hairline-a)); background: rgb(var(--surface)); }
.dlc-channels li a:hover { text-decoration: none; border-color: rgb(var(--track) / 0.6); }
.dlc-channels b { display: block; color: rgb(var(--ink)); }
.dlc-channels span { font-size: 13px; color: rgb(var(--muted)); }
.dlc-notes details { border-top: 1px solid rgb(var(--hairline) / var(--hairline-a)); padding: 4px 0; }
.dlc-notes details:last-of-type { border-bottom: 1px solid rgb(var(--hairline) / var(--hairline-a)); }
.dlc-notes summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
.dlc-promo { margin-top: 48px; max-width: 420px; }
