@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500; font-stretch: 100%; font-display: swap; src: url(/fonts/BricolageGrotesque-latin-ext-a4fe79.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: 'Bricolage Grotesque'; font-style: normal; font-weight: 500; font-stretch: 100%; font-display: swap; src: url(/fonts/BricolageGrotesque-latin-a97232.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: 'Bricolage Grotesque'; font-style: normal; font-weight: 700; font-stretch: 100%; font-display: swap; src: url(/fonts/BricolageGrotesque-latin-ext-a4fe79.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: 'Bricolage Grotesque'; font-style: normal; font-weight: 700; font-stretch: 100%; font-display: swap; src: url(/fonts/BricolageGrotesque-latin-a97232.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: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-stretch: 100%; font-display: swap; src: url(/fonts/BricolageGrotesque-latin-ext-a4fe79.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: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-stretch: 100%; font-display: swap; src: url(/fonts/BricolageGrotesque-latin-a97232.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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/IBMPlexMono-latin-ext-7f25d9.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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/IBMPlexMono-latin-d196e8.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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/IBMPlexMono-latin-ext-b42080.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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/IBMPlexMono-latin-a7544c.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: 'IBM Plex Sans'; font-style: italic; font-weight: 400; font-stretch: 100%; font-display: swap; src: url(/fonts/IBMPlexSans-latin-ext-e8d943.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: 'IBM Plex Sans'; font-style: italic; font-weight: 400; font-stretch: 100%; font-display: swap; src: url(/fonts/IBMPlexSans-latin-8f4fc6.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: 'IBM Plex Sans'; font-style: italic; font-weight: 500; font-stretch: 100%; font-display: swap; src: url(/fonts/IBMPlexSans-latin-ext-e8d943.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: 'IBM Plex Sans'; font-style: italic; font-weight: 500; font-stretch: 100%; font-display: swap; src: url(/fonts/IBMPlexSans-latin-8f4fc6.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: 'IBM Plex Sans'; font-style: italic; font-weight: 600; font-stretch: 100%; font-display: swap; src: url(/fonts/IBMPlexSans-latin-ext-e8d943.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: 'IBM Plex Sans'; font-style: italic; font-weight: 600; font-stretch: 100%; font-display: swap; src: url(/fonts/IBMPlexSans-latin-8f4fc6.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: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-stretch: 100%; font-display: swap; src: url(/fonts/IBMPlexSans-latin-ext-71c30c.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: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-stretch: 100%; font-display: swap; src: url(/fonts/IBMPlexSans-latin-a68a20.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: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-stretch: 100%; font-display: swap; src: url(/fonts/IBMPlexSans-latin-ext-71c30c.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: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-stretch: 100%; font-display: swap; src: url(/fonts/IBMPlexSans-latin-a68a20.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: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-stretch: 100%; font-display: swap; src: url(/fonts/IBMPlexSans-latin-ext-71c30c.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: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-stretch: 100%; font-display: swap; src: url(/fonts/IBMPlexSans-latin-a68a20.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 { --fs-1: 12px; --fs-2: 13.5px; --fs-3: 15px; --fs-4: 16px; --fs-5: 18px; --fs-6: 20px; --fs-7: 24px; --fs-8: 32px; }
:root {
  --bg: #f4f5f0;
  --surface: #fcfcfa;
  --surface-2: #ebede5;
  --fg: #1b1e19;
  --muted: #5b6056;
  --faint: #666b60;
  --line: #d9dcd2;
  --accent: #1d6b57;
  --accent-ink: #ffffff;
  --land: #e9e3d3;
  --sea: #a3c6dc;
  --sea-deep: #7aa4c0;
  --map-line: #5b6056; --map-line-o: .45;
  --clu-ring: rgba(27, 30, 25, .35);
  --diet-m: #eb6834;
  --diet-b: #1baf7a;
  --diet-v: #2a78d6;
  --diet-x: #a9ada3;
  --diet-h: #eda100;
  --p-T: #812B92;
  --clu-T: #ad75b8;
  --p-J: #34B2C9;
  --p-K: #7FC64E;
  --fate-1: #2e332c;
  --fate-2: #8b9185;
  --fate-3: #c9cdc2;
  --warn-bg: #fbf3df;
  --warn-line: #e2c47a;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-s: 6px; --r-m: 10px; --r-pill: 999px; --r-mark: 2px;   
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121411; --surface: #1a1d19; --surface-2: #23271f; --fg: #eceee6; --muted: #a6ab9e;
    --faint: #8b9084; --line: #30352d; --accent: #5cc3a6; --accent-ink: #0d1a15; --land: #8a836a;
    --sea: #2b5571; --sea-deep: #0f2230; --map-line: #23221b; --map-line-o: .6; --clu-ring: rgba(255, 255, 255, .45); --diet-m: #d95926; --diet-b: #199e70; --diet-v: #3987e5; --diet-x: #6b7066; --diet-h: #c98500;
    --p-T: #a456b8; --p-J: #34B2C9; --p-K: #7FC64E; --fate-1: #e6e9df; --fate-2: #8f958a; --fate-3: #4a5046;
    --warn-bg: #2b2616; --warn-line: #7a6630; color-scheme: dark; --star-o: .9; --star-d: block;
  }
}
:root[data-theme="dark"] {
  --bg: #121411; --surface: #1a1d19; --surface-2: #23271f; --fg: #eceee6; --muted: #a6ab9e;
  --faint: #8b9084; --line: #30352d; --accent: #5cc3a6; --accent-ink: #0d1a15; --land: #8a836a;
  --sea: #2b5571; --sea-deep: #0f2230; --map-line: #23221b; --map-line-o: .6; --clu-ring: rgba(255, 255, 255, .45); --diet-m: #d95926; --diet-b: #199e70; --diet-v: #3987e5; --diet-x: #6b7066; --diet-h: #c98500;
  --p-T: #a456b8; --p-J: #34B2C9; --p-K: #7FC64E; --fate-1: #e6e9df; --fate-2: #8f958a; --fate-3: #4a5046;
  --warn-bg: #2b2616; --warn-line: #7a6630; color-scheme: dark; --star-o: .9; --star-d: block;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
i, .lat { font-style: italic; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: .92em; }
.wrap {
  max-width: 1240px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface); }
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 12px; padding-block: 10px; flex-wrap: nowrap; }
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-6); letter-spacing: -.02em;
  text-decoration: none; display: flex; align-items: center; gap: 9px;
}
.logo-mark { display: block; width: 22px; height: 22px; flex: none; }   
nav.main { display: flex; gap: 2px; min-width: 0; flex: 0 0 auto; align-items: center; }
.nav-grp { position: relative; }
.nav-top {
  font: inherit; font-weight: 500; font-size: var(--fs-3); color: var(--muted); background: none; border: 0; cursor: pointer;
  padding: 6px 8px; border-radius: var(--r-s); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
}
.nav-top::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-top:hover, .nav-top[aria-expanded="true"], .nav-grp.on .nav-top { color: var(--fg); background: var(--surface-2); }
.nav-sub {
  display: none; flex-direction: column; position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 190px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 6px; box-shadow: 0 12px 24px rgb(0 0 0 / .12);
}
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav-grp:not(.shut):hover .nav-sub, .nav-top[aria-expanded="true"] + .nav-sub { display: flex; }
nav.main .nav-sub a { padding: 8px 10px; color: var(--fg); }
nav.main a {
  text-decoration: none; padding: 6px 8px; border-radius: var(--r-s); color: var(--muted);
  white-space: nowrap; font-weight: 500; font-size: var(--fs-3);
}
nav.main a:hover { color: var(--fg); background: var(--surface-2); }
nav.main a[aria-current="page"] { color: var(--fg); background: var(--surface-2); }
.search-global { position: relative; flex: 0 1 220px; min-width: 112px; margin-left: auto; }
.search-global input {
  width: 100%; padding: 7px 10px 7px 30px; border-radius: var(--r-s);
  border: 1px solid var(--line); background: var(--bg);
}
.search-global svg { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); color: var(--faint); }
main { padding-block: 28px 64px; }
main#app { min-height: 100vh; }
[data-view] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.015em; text-wrap: balance; margin: 0; }
h2 { font-size: var(--fs-7); font-weight: 700; }
h3 { font-size: var(--fs-4); font-weight: 700; }
p { margin: 0; }
.lead { color: var(--muted); max-width: 68ch; font-size: var(--fs-5); }
.cl-intro { margin: 4px 0 12px; font-size: var(--fs-5); line-height: 1.55; }
.gl-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.gl-item { padding: 16px 18px 14px; }
#gl .panel:not(.gl-item) { padding: 16px 18px; }
#gl .panel h3 { margin: 0 0 8px; }
.gl-item h2 { font-size: var(--fs-6); margin: 0 0 6px; }
.gl-item h2 a { color: inherit; text-decoration: none; }
.gl-item h2 a:hover { text-decoration: underline; }
.gl-item p { margin: 0 0 6px; line-height: 1.5; }
.gl-def { max-width: 70ch; }
.d-head.gl-head h1 { font-style: normal; }
#gl .panel h3 + p + h3 { margin-top: 16px; }
.gl-rel, .gl-all { line-height: 1.8; }
.gl-sec { margin: 32px 0 4px; }
@media (max-width: 640px) { .cl-intro { font-size: var(--fs-4); } }
.eyebrow { font-size: var(--fs-2); color: var(--muted); font-weight: 600; }
.stats { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: var(--fs-2); }
.stats b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: var(--fs-2);
  line-height: 1.3; user-select: none;
}
.chip:hover { border-color: var(--faint); }
.chip[aria-pressed="false"] { color: var(--faint); background: transparent; }
.chip[aria-pressed="false"] .sw { opacity: .3; }
.chip[aria-pressed="true"] { background: var(--surface-2); background: color-mix(in srgb, var(--fg) 9%, var(--surface)); color: var(--fg); border-color: var(--fg); box-shadow: inset 0 0 0 .5px var(--fg); font-weight: 600; }
.chip[aria-pressed="true"]::before { content: "✓"; font-size: var(--fs-1); margin-right: -2px; }
.chip[aria-pressed="true"]:hover { border-color: var(--fg); }
.chip .count { font-family: var(--font-mono); font-size: var(--fs-2); color: var(--muted); }
.sw { width: 10px; height: 10px; border-radius: var(--r-mark); flex: none; }
.ctl-label { font-size: var(--fs-2); color: var(--muted); margin-right: 4px; font-weight: 600; }
.btn {
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-s);
  padding: 6px 11px; cursor: pointer; font-size: var(--fs-2); line-height: 1.3;
}
.btn:hover { border-color: var(--faint); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.field {
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-s);
  padding: 7px 10px; min-width: 0;
}
.toolbar { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.hint { font-size: var(--fs-2); color: var(--faint); }
.tip {
  position: fixed; z-index: 50; pointer-events: none; background: var(--fg); color: var(--bg);
  padding: 8px 10px; border-radius: var(--r-s); font-size: var(--fs-2); line-height: 1.4; max-width: 280px;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
}
.tip .t-name { font-weight: 600; font-style: italic; font-size: var(--fs-2); }
.tip .t-row { display: flex; gap: 8px; align-items: center; }
.tip .sw { width: 8px; height: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-2); font-weight: 600;
  padding: 2px 7px; border-radius: var(--r-s); white-space: nowrap;
  border: 1px solid var(--line); color: var(--muted);
}
.badge.inv { border-style: dashed; }
.badge.hist { border-color: var(--warn-line); background: var(--warn-bg); color: var(--fg); }
.loading { padding: 80px 0; color: var(--muted); text-align: center; }
.hero { display: grid; gap: 12px; }
.tl { overflow: hidden; }
.tl.tl-page { overflow: clip; }
.tl-page .tl-scroll { height: auto; overflow: visible; }
.tl-page .tl-bands { position: sticky; top: var(--hdr, 61px); z-index: 3; background: var(--surface); }
.tl-page .tl-scroll canvas { top: calc(var(--hdr, 61px) + var(--bands-h, 96px)); }
.tl-page .tl-foot { position: sticky; bottom: 0; z-index: 3; background: var(--surface); box-shadow: 0 -6px 16px rgb(0 0 0 / .08); }
@media (max-width: 860px) {
  .tl-page .tl-foot { padding: 8px 12px; }
  .tl-page .tl-foot .tl-help, .tl-page .tl-foot .range-readout { display: none; }
  .tl-page .zoom-ctl { flex-wrap: nowrap; gap: 4px; }
  .tl-page .vz-ctl { margin-left: auto; gap: 4px; }
}
#tl-reset .short { display: none; }
@media (max-width: 360px) {
  .tl-page .tl-foot { padding: 8px; }
  .tl-page .tl-foot .btn { min-width: 34px; min-height: 36px; padding: 0 6px; }
  .tl-page .tl-foot .ctl-label { font-size: var(--fs-1); margin-right: 0; }
}
@media (max-width: 860px) { .tl-page #tl-reset .full { display: none; } .tl-page #tl-reset .short { display: inline; } .tl-page #tl-reset { min-width: 40px; } }
.tl-head { padding: 14px 16px 10px; display: grid; gap: 12px; border-bottom: 1px solid var(--line); }
.tl-bands { position: relative; user-select: none; touch-action: pan-y; }
.tl-row { position: relative; height: 26px; overflow: hidden; }
.tl-row.r3 { height: 30px; }
.tl-row.r5 { height: 22px; }
.tl-band {
  position: absolute; top: 0; bottom: 1px; border: 0; padding: 0 6px; cursor: zoom-in;
  font-size: var(--fs-2); font-weight: 600; text-align: left; white-space: nowrap; overflow: hidden;
  border-right: 1px solid rgba(255,255,255,.55);
}
.tl-row.r3 .tl-band { font-family: var(--font-display); font-size: var(--fs-2); letter-spacing: .01em; }
.tl-row.r5 .tl-band { font-size: var(--fs-1); font-weight: 500; }
.tl-band:hover { filter: brightness(1.06) saturate(1.1); }
.tl-band .lb { display: inline-block; padding-top: 5px; }
.tl-row.r5 .tl-band .lb { padding-top: 3px; }
.tl-axis { position: relative; height: 22px; border-bottom: 1px solid var(--line); font-size: var(--fs-1); color: var(--muted); }
.tl-axis span { position: absolute; top: 4px; transform: translateX(-50%); font-family: var(--font-mono); white-space: nowrap; }
.tl-scroll { position: relative; height: clamp(380px, 62vh, 760px); overflow-y: auto; overflow-x: hidden; background: var(--surface); }
.tl-scroll canvas { position: sticky; top: 0; display: block; width: 100%; touch-action: pan-y; cursor: grab; }
.tl-scroll canvas.dragging { cursor: grabbing; }
.tl-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--line); }
.zoom-ctl { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.range-readout { font-size: var(--fs-2); color: var(--muted); }
.events { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--fs-2); color: var(--muted); }
.events span::before { content: ""; display: inline-block; width: 2px; height: 11px; background: var(--accent); margin-right: 7px; vertical-align: -1px; }
.cat-controls { padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.cat-controls .row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.cat-controls input[type=search] { flex: 1 1 260px; }
.letters { display: flex; flex-wrap: wrap; gap: 3px; }
.letters button {
  width: 30px; height: 30px; border: 1px solid transparent; background: none; border-radius: var(--r-s);
  cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-3);
}
.letters button:hover:not(:disabled) { background: var(--surface-2); }
.letters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.letters button:disabled { color: var(--faint); cursor: default; }
.cat-filters { display: grid; gap: 12px; padding-top: 4px; border-top: 1px solid var(--line); padding-top: 12px; }
.cat-filters[hidden] { display: none !important; }
.cat-active { display: flex; flex-wrap: wrap; gap: 6px; margin-right: auto; }
.cat-active button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--fg); background: var(--surface); color: var(--fg); font-size: var(--fs-2); cursor: pointer; }
.cat-active button span { font-size: var(--fs-4); line-height: 1; color: var(--muted); }
.cat-active button:hover span { color: var(--fg); }
.cat-controls .cat-tools { flex-wrap: nowrap; gap: 10px; }
.cat-tools #cat-sort { flex: 0 1 220px; min-width: 0; }
#cat-ftoggle { flex: none; }
#cat-ftoggle { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; font-size: var(--fs-3); font-weight: 600; border: 1.5px solid var(--fg); color: var(--fg); }
#cat-ftoggle .n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--fg); color: var(--bg); font-size: var(--fs-2); display: inline-flex; align-items: center; justify-content: center; }
#cat-ftoggle .car { font-size: 11px; color: var(--muted); transition: transform .15s; display: inline-block; }
#cat-ftoggle[aria-expanded="true"] .car { transform: rotate(180deg); }
#cat-ftoggle[aria-expanded="true"] { background: var(--surface-2); background: color-mix(in srgb, var(--fg) 9%, var(--surface)); }
.cat-letters-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.cat-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.cat-top h1 { margin: 0; }
.cat-top .mode-tabs { margin-bottom: 6px; }
[data-view="katalog"] .hero { padding-bottom: 0; }
[data-view="katalog"] .hero .lead { font-size: var(--fs-4); }
.cat-lead-more { color: var(--muted); }
.cat-controls > .row:first-child { flex-wrap: wrap; }
.cat-controls .cat-q-wrap { flex: 1 1 320px; min-width: 0; }
.cat-controls .cat-tools { display: flex; align-items: center; flex: 0 1 auto; }
.cat-controls .result-meta { border-top: 1px solid var(--line); padding-top: 10px; font-size: var(--fs-2); }
.cat-controls .result-meta:has(#cat-clear[hidden]):has(.cat-active:empty) { padding-top: 8px; }
.list-head .lh-rod { display: flex; align-items: center; gap: 10px; min-width: 0; }
.list-head .cat-kn-key { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 400; font-size: var(--fs-2); white-space: nowrap; cursor: help; }
@media (max-width: 640px) {
  .cat-top { align-items: center; }
  .cat-top .mode-tabs { margin-bottom: 0; }
  [data-view="katalog"] .hero .lead { font-size: var(--fs-3); }
  .cat-controls .cat-tools { flex: 1 1 100%; min-width: 0; }
  .cat-controls .cat-tools #cat-sort { flex: 1 1 0; min-width: 0; }
  .cat-letters-wrap { grid-template-columns: minmax(0, 1fr); }
  .cat-letters-wrap .ctl-label { display: none; }
}
.result-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: var(--fs-2); }
.list { display: grid; }
.row-g {
  display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr) minmax(0, 1.6fr) 130px;
  gap: 6px 18px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.row-g:hover { background: var(--surface-2); }
.row-g { position: relative; }
.row-g .row-link { color: inherit; text-decoration: none; }
.row-g .row-link::after { content: ""; position: absolute; inset: 0; }
.row-g .row-link:focus-visible { outline: none; }
.row-g:has(.row-link:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }
.row-g [data-term] { position: relative; z-index: 1; }
.row-g:last-child { border-bottom: 0; }
.row-g .nm { font-style: italic; font-weight: 600; font-size: var(--fs-4); }
.row-g .au { color: var(--muted); font-size: var(--fs-2); }
.row-g .meta { color: var(--muted); font-size: var(--fs-2); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; min-width: 0; }
.row-g .row-st { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 5px; color: var(--muted); font-size: var(--fs-2); }
.row-g .row-acc { position: relative; z-index: 1; }
.k-why { margin: 2px 0 0; font-size: var(--fs-3); line-height: 1.5; color: var(--muted); max-width: 60ch; }
.k-why-l { color: var(--fg); font-weight: 600; }
.k-ety-src { display: block; font-size: var(--fs-2); margin-top: 2px; }
.k-ety-src a { color: inherit; }
.k-orig { margin: 2px 0 0; font-size: var(--fs-2); color: var(--muted); max-width: 60ch; }
.k-orig summary { cursor: pointer; width: fit-content; }
.k-next { margin-top: 28px; }
.k-next h2 { margin: 0 0 12px; }
.k-next-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.k-next-card { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); text-decoration: none; color: var(--fg); }
.k-next-card:hover { border-color: var(--fg); }
.k-next-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.k-next-l { font-size: var(--fs-2); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.k-next-card b { font-size: var(--fs-6); }
.k-next-w { font-size: var(--fs-2); color: var(--muted); }
.rec-card .rec-lead { margin: -4px 0 8px; font-size: var(--fs-2); color: var(--muted); line-height: 1.45; }
.row-g .row-hom { margin-left: 8px; font-size: var(--fs-2); font-weight: 600; color: var(--muted); font-style: normal; }
.sg-list { position: fixed; z-index: 80; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 10px 28px rgb(0 0 0 / .28); max-height: min(50vh, 340px); overflow-y: auto; padding: 4px; }
.sg-opt { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: var(--r-s); cursor: pointer; font-size: var(--fs-3); }
.sg-opt:hover, .sg-opt[aria-selected="true"] { background: var(--surface-2); }
.sg-opt[aria-selected="true"] { outline: 2px solid var(--amber); outline-offset: -2px; }
.sg-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-tag { flex: none; font-size: var(--fs-2); color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sg-empty { padding: 9px 12px; font-size: var(--fs-3); color: var(--muted); }
@media (pointer: coarse) { .sg-opt { padding: 12px 14px; } }
.cat-clade-hint { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: var(--fs-3); }
.cat-clade-hint a { font-weight: 600; font-style: italic; }
.row-g .when { font-size: var(--fs-2); color: var(--muted); }
.diet { display: inline-flex; align-items: center; gap: 6px; }
.diet .sw { border-radius: 50%; width: 9px; height: 9px; }
.strip { display: block; width: 130px; height: 14px; }
.more { padding: 14px 16px; text-align: center; }
.list-head {
  display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr) minmax(0, 1.6fr) 130px; gap: 18px;
  padding: 9px 16px; border-bottom: 1px solid var(--line); font-size: var(--fs-2);
  color: var(--muted); font-weight: 600;
}
.back { font-size: var(--fs-2); color: var(--muted); text-decoration: none; }
.back:hover { color: var(--fg); }
.d-head { display: grid; gap: 8px; }
.d-head h1 { font-style: italic; }
.d-head .au { color: var(--muted); font-size: var(--fs-4); }
.callout {
  border: 1px solid var(--warn-line); background: var(--warn-bg); border-radius: var(--r-m); padding: 14px 16px;
  display: grid; gap: 6px; max-width: 80ch;
}
.callout.neutral { border-color: var(--line); background: var(--surface); }
.callout h3 { font-size: var(--fs-3); }
.d-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 22px; padding: 18px; margin: 0; }
.facts dt { color: var(--muted); font-size: var(--fs-2); }
.facts dd { margin: 0; min-width: 0; }
.lineage { display: flex; flex-wrap: wrap; gap: 4px 2px; font-size: var(--fs-2); }
.lineage span:not(:last-child)::after { content: "›"; color: var(--faint); margin: 0 6px; }
.lineage span:last-child { font-weight: 600; }
.sp-list { display: grid; gap: 2px; }
.d-side { display: grid; gap: 22px; }
.sect { padding: 16px 18px; display: grid; gap: 10px; }
.minimap svg { width: 100%; height: auto; display: block; border-radius: var(--r-s); }
.d-sum { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.45; max-width: 60ch; margin: 4px 0 0; }
.big-nums { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.big-nums div { display: grid; gap: 2px; }
.big-nums b { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.02em; line-height: 1.05; }
.big-nums span { color: var(--muted); font-size: var(--fs-2); }
.big-nums b small.pre { font-size: .5em; font-weight: 700; margin-right: .25em; color: var(--muted); }
.big-nums b small.pre:empty { display: none; }
@media (max-width: 640px) { .big-nums { display: grid; grid-template-columns: 1fr 1fr; } }
.nd-card { display: grid; gap: 6px; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--r-m); padding: 14px 16px; }
.nd-card p { margin: 0; }
.nd-card .nd-head { font-family: var(--font-display); font-size: var(--fs-6); font-weight: 700; }
.nd-card.compact .nd-head { font-size: var(--fs-5); }
.nd-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.nd-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.nd-group { padding: 16px 18px; display: grid; gap: 8px; align-content: start; }
.nd-group h2 { font-size: var(--fs-6); }
.nd-group p { margin: 0; }
.nd-names { color: var(--muted); font-size: var(--fs-3); }
.rec-h { margin-top: 18px; }
.rec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.rec-kn { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; vertical-align: middle; font-size: var(--fs-1); color: var(--muted); }
.rec-kn .kn-meter i { width: 9px; height: 6px; }
.rec-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; display: grid; gap: 6px; align-content: start; }
.rec-card h3 { font-size: var(--fs-5); color: var(--muted); }
.rec-art { display: flex; align-items: end; height: 84px; color: var(--fg); }
.rec-art svg { height: 100%; width: auto; max-width: 100%; }
.rec-val { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 36px); letter-spacing: -.02em; line-height: 1.05; }
.rec-who { font-size: var(--fs-5); }
.rec-who .hint { display: block; margin-top: 2px; }
.rec-rest .rk { color: var(--muted); min-width: 1.6em; }
.rec-rest li > :nth-child(2) { margin-right: auto; }
.rec-rest { list-style: none; margin: 6px 0 0; padding-left: 0; display: grid; gap: 3px; font-size: var(--fs-3); }
.rec-rest li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; }
.rec-rest li::marker { color: var(--muted); }
.rec-rest .num { color: var(--muted); white-space: nowrap; }
.rec-src { margin: 6px 0 0; border-top: 1px solid var(--line); padding-top: 8px; }
.bone-strip { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.bone-strip h4 { margin: 0 0 8px; font-size: var(--fs-2); }
.bone-row { display: grid; grid-template-columns: 9em 1fr auto; gap: 10px; align-items: center; font-size: var(--fs-2); margin: 4px 0; }
.bone-row .bar { height: 8px; background: var(--surface-2); border-radius: var(--r-pill); overflow: hidden; }
.bone-row .bar i { display: block; height: 100%; background: var(--fg); opacity: .55; border-radius: var(--r-pill); }
.bone-row b { font-variant-numeric: tabular-nums; }
.bone-row .bref { grid-column: 2 / -1; font-size: var(--fs-1); color: var(--muted); margin-top: -4px; }
.rec-src .rec-pop { display: block; margin-top: 6px; }
.museums { display: grid; gap: 8px; }
.museums h3 + .mus-list { margin-top: 0; }
.mus-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mus-list li { display: grid; gap: 2px; }
.mus-list.compact { gap: 4px; }
.mus-list.compact li { display: block; }
.mus-status { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--r-s); padding: 6px 9px; font-size: var(--fs-2); margin: 2px 0; }
.badge.ok { border-color: var(--accent); color: var(--accent); }
.todo { border: 1px dashed var(--line); border-radius: var(--r-m); padding: 14px 16px; display: grid; gap: 6px; color: var(--muted); font-size: var(--fs-2); }
.todo ul { margin: 0; padding-left: 18px; }
.ms { position: relative; height: 66px; }
.ms-band { position: absolute; top: 30px; height: 10px; }
.ms-band span { position: absolute; top: 14px; left: 4px; font-size: var(--fs-1); color: var(--muted); white-space: nowrap; }
.unc-full { position: absolute; border-left: 1.5px solid var(--fg); border-right: 1.5px solid var(--fg); background: linear-gradient(var(--fg), var(--fg)) center / 100% 1.5px no-repeat; opacity: .5; min-width: 3px; box-sizing: border-box; }
.unc-key { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-2); color: var(--muted); margin: 2px 0 10px; }
.unc-key svg { color: var(--fg); flex: none; }
.ms-range { position: absolute; top: 24px; height: 22px; border-radius: var(--r-s); background: var(--fg); min-width: 4px; }
.ms-label { position: absolute; top: 0; font-family: var(--font-mono); font-size: var(--fs-1); white-space: nowrap; }
.d-side > .btn, .sect > .btn { justify-self: start; }
.map-wrap { position: relative; }
.map-wrap svg.map { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; background: var(--sea); touch-action: none; cursor: grab; border-radius: 0 0 var(--r-m) var(--r-m); }
.map-wrap svg.map.dragging { cursor: grabbing; }
.map-wrap .land { fill: var(--land); transition: opacity .6s; }
.map-wrap .grat { stroke: var(--line); stroke-width: .3; fill: none; vector-effect: non-scaling-stroke; }
.map-wrap circle { stroke: var(--surface); stroke-width: 1px; vector-effect: non-scaling-stroke; cursor: pointer; transition: transform .9s cubic-bezier(.5,0,.2,1); }
.map-wrap circle.sel { stroke: var(--fg); stroke-width: 2px; }
.map-wrap.paleo .land { opacity: 0; }
.map-ctl { position: absolute; right: 12px; top: 12px; display: grid; gap: 4px; }
.map-legend { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 12px; padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent); font-size: var(--fs-2); pointer-events: none; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; } .map-legend b { font-weight: 600; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
@media (max-width: 640px) { .map-legend { left: 6px; bottom: 6px; gap: 8px; padding: 3px 9px; } .map-legend i { width: 9px; height: 9px; } }
#map-drift { white-space: nowrap; }
@media (max-width: 640px) {
  [data-view="mapa"] .f-able .toolbar:has(> #map-drift) { flex-wrap: wrap !important; }
  #map-drift:not([hidden]) { order: 9; flex-basis: 100%; justify-content: center; }
}
.map-ctl .btn { width: 32px; height: 32px; padding: 0; font-size: var(--fs-5); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; }
.seg button { border: 0; background: var(--surface); padding: 6px 12px; cursor: pointer; font-size: var(--fs-2); }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.map-note { font-size: var(--fs-2); color: var(--muted); padding: 10px 16px; border-top: 1px solid var(--line); }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.site-panel { padding: 16px; display: grid; gap: 10px; font-size: var(--fs-2); }
.site-panel .genera { display: flex; flex-wrap: wrap; gap: 6px; }
.site-panel .genera a { font-style: italic; text-decoration: none; padding: 3px 8px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: var(--fs-2); }
.site-panel .genera a:hover { border-color: var(--fg); }
.site-panel .genera.unc a { border-style: dashed; color: var(--muted); }
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.chart { padding: 18px; display: grid; gap: 10px; align-content: start; }
.chart.wide { grid-column: 1 / -1; }
.chart .sub { color: var(--muted); font-size: var(--fs-2); max-width: 75ch; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart svg text { fill: var(--muted); font-size: var(--fs-1); font-family: var(--font-body); }
.chart svg .val { fill: var(--fg); font-family: var(--font-mono); font-size: var(--fs-1); }
.chart svg .grid { stroke: var(--line); stroke-width: 1; }
.chart .legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--fs-2); color: var(--muted); }
.chart .legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart details { font-size: var(--fs-2); }
.chart summary { cursor: pointer; color: var(--muted); }
.tbl-wrap { overflow-x: auto; max-height: 320px; overflow-y: auto; margin-top: 8px; }
table { border-collapse: collapse; font-size: var(--fs-2); width: 100%; }
th, td { text-align: left; padding: 4px 10px 4px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
td.n, th.n { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.hit { fill: transparent; cursor: default; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
@media (max-width: 760px) {
  .cl-fam .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cl-fam .ncard .art { height: 96px; padding: 8px 8px 6px; grid-template-rows: minmax(0, 1fr) 14px; }
  .cl-fam .ncard .art svg { height: 54px; max-height: 54px; }
  .cl-fam .ncard .art .rel { font-size: 11px; }
  .cl-fam .ncard:nth-child(n+5) { display: none; }
  .cl-fam .ncard .body { padding: 8px 10px 10px; }
  .cl-fam .ncard .meta { font-size: var(--fs-1); }
}
.ncard { display: grid; grid-template-rows: auto 1fr; text-decoration: none; overflow: hidden; }
.ncard:hover { border-color: var(--faint); }
.ncard .art { min-height: 120px; display: grid; place-items: center; gap: 6px; background: var(--surface-2); color: var(--fg); padding: 14px; }
.ncard .art svg { width: 100%; height: 86px; }
.ncard .art .none { font-size: var(--fs-2); color: var(--faint); }
.ncard .body { padding: 14px 16px; display: grid; gap: 4px; align-content: start; }
.ncard .nm { font-style: italic; font-weight: 700; font-size: var(--fs-5); font-family: var(--font-display); }
.ncard .when-added { font-size: var(--fs-2); color: var(--accent); font-weight: 600; }
.ncard .meta { font-size: var(--fs-2); color: var(--muted); }
.year-list { display: grid; gap: 14px; }
.year-list h3 { font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-2); color: var(--muted); }
.year-list .names { display: flex; flex-wrap: wrap; gap: 6px; }
.year-list .names a { font-style: italic; text-decoration: none; padding: 3px 9px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: var(--fs-2); background: var(--surface); }
.year-list .names a:hover { border-color: var(--fg); }
.chg { display: grid; gap: 6px; font-size: var(--fs-2); }
.newest { display: inline-flex; gap: 8px; align-items: baseline; text-decoration: none; font-size: var(--fs-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); justify-self: start; }
.newest:hover { border-color: var(--fg); }
.newest b { color: var(--accent); font-size: var(--fs-2); }
.ks-answer { display: grid; gap: 8px; max-width: 80ch; }
.ks-answer h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; }
@media (max-width: 640px) { #home-p { display: none; } }   
.ks-answer .yes { color: var(--diet-b); color: color-mix(in srgb, var(--diet-b) 72%, var(--fg)); }   
.ks-heads { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: end; }
.ks-head { display: grid; gap: 4px; justify-items: start; text-decoration: none; }
.ks-head .art { height: 70px; display: flex; align-items: end; color: var(--fg); }
.ks-head .art svg { height: 70px; width: auto; max-width: 220px; }
.ks-head .nm { font-style: italic; font-weight: 700; font-family: var(--font-display); font-size: var(--fs-5); }
.ks-chart { overflow-x: auto; }
.ks-chart svg { width: 100%; min-width: 680px; height: auto; display: block; }
.ks-chart text { font-family: var(--font-body); }
.vz-scroll { overflow-x: auto; }
#vz-scene svg { display: block; width: 100%; max-width: none; min-width: 560px; height: auto; }
#vz-add { flex-wrap: nowrap; }
.chip .x { margin-left: 2px; color: var(--muted); font-size: var(--fs-3); line-height: 1; }
.rank { display: grid; }
.rank button { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 7px 2px; cursor: pointer; }
.rank button:hover { background: var(--surface-2); }
.rank .i { font-family: var(--font-mono); color: var(--faint); font-size: var(--fs-2); }
.rank .nm { font-style: italic; font-weight: 600; }
.rank .v { font-family: var(--font-mono); font-size: var(--fs-2); }
.race { position: relative; }
.race-row { position: absolute; left: 0; right: 0; height: 28px; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; align-items: center; transition: transform .45s ease, opacity .45s; }
.race-row .c { text-align: right; font-size: var(--fs-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.race-row .bar { position: relative; height: 20px; }
.race-row .fill { height: 100%; background: var(--fate-2); border-radius: 0 var(--r-s) var(--r-s) 0; transition: width .45s ease; min-width: 2px; }
.race-row.is-first .fill { background: var(--accent); }
.race-row .n { position: absolute; top: 2px; font-family: var(--font-mono); font-size: var(--fs-1); transition: left .45s ease; padding-left: 6px; }
.race-year { position: absolute; right: 8px; bottom: 4px; font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 7vw, 76px); color: var(--line); line-height: 1; pointer-events: none; }
.race-ctl { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.race-ctl input[type=range] { flex: 1 1 200px; accent-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .race-row, .race-row .fill, .race-row .n { transition: none; } }
@media (max-width: 640px) { .race-row { grid-template-columns: 100px minmax(0, 1fr); } }
.size-fig svg { width: 100%; max-width: 760px; height: auto; display: block; }
.ncard .rel { font-size: var(--fs-2); color: var(--faint); margin-top: 4px; text-align: center; }
.ncard .art { grid-template-rows: 1fr auto; }
.size-fig .credit { font-size: var(--fs-2); color: var(--faint); }
.size-fig .credit a { color: inherit; }
.prose { max-width: 72ch; display: grid; gap: 14px; }
.prose h2 { margin-top: 10px; }
.st-legend { display: grid; gap: 10px; }
.st-legend div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: baseline; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-2); }
footer .wrap { padding-block: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
footer .foot-copy { flex-basis: 100%; }
footer .foot-report { order: 3; flex-basis: 100%; font-weight: 600; }
.fb-dlg { max-width: min(520px, calc(100vw - 32px)); width: 100%; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); color: var(--fg); padding: 22px 22px 20px; box-shadow: 0 20px 60px rgb(0 0 0 / .35); }
.fb-dlg::backdrop { background: rgb(5 12 18 / .55); }
.fb-dlg h2 { font-size: var(--fs-7); margin: 0 28px 10px 0; }
.fb-dlg p { margin: 12px 0 8px; color: var(--muted); font-size: var(--fs-3); }
.fb-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--muted); font-size: var(--fs-7); line-height: 1; padding: 4px 8px; border-radius: var(--r-s); cursor: pointer; }
.fb-x:hover, .fb-x:focus-visible { color: var(--fg); }
.fb-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.fb-addr { font-size: var(--fs-5); user-select: all; overflow-wrap: anywhere; }
.fb-body { width: 100%; box-sizing: border-box; font: 14px/1.45 var(--font-mono); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-s); padding: 10px 12px; resize: vertical; }
.fb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.fb-about { margin: 0 0 6px !important; color: var(--fg) !important; font-weight: 600; }
.fb-lbl { display: block; margin: 14px 0 6px; font-size: var(--fs-2); font-weight: 600; }
.fb-opt { font-weight: 400; color: var(--muted); }
.fb-form .fb-body { font-family: inherit; font-size: var(--fs-4); }
.fb-in { width: 100%; box-sizing: border-box; font: 16px/1.4 inherit; font-family: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-s); padding: 10px 12px; }
.fb-body:focus-visible, .fb-in:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.fb-ts { margin-top: 14px; min-height: 65px; }
.fb-status { font-size: var(--fs-2); color: var(--muted); }
.fb-status.ok { color: var(--fg); font-weight: 600; }
.fb-status.err { color: var(--err); }
.fb-small { font-size: var(--fs-2) !important; margin-top: 14px !important; }
.sh-img { display: block; width: 100%; height: auto; border-radius: var(--r-s); margin: 6px 0 2px; background: var(--night); }
.sh-url { position: absolute; left: -9999px; }
.ks-share { margin-top: 16px; }
.fb-addr2 { user-select: all; color: var(--fg); }
.fb-actions .btn { text-decoration: none; }
.hd-invite { margin-top: 14px; }
.k-share { margin-top: 2px; }
.k-share:not(:has(.k-cur)) { margin: 0; }
.k-top-act { display: flex; align-items: center; gap: 8px; }
.k-share-btn { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 640px) { .k-top .k-share-btn { padding: 6px 12px; min-height: 36px; } }
.sh-nets { margin-top: 8px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: 8px 14px; border-radius: var(--r-s); border: 0; background: var(--amber); color: var(--amber-ink); font: 600 15px/1.3 var(--font-body, inherit); cursor: pointer; }
.skip-link:focus-visible { left: 16px; outline: 2px solid var(--white); outline-offset: 2px; }
.beta-bar { background: var(--ink-2); color: var(--mist-2); font-size: var(--fs-2); line-height: 1.4; }
.beta-bar .wrap { display: flex; align-items: center; gap: 10px; min-height: 34px; padding-block: 5px; }
.beta-tag { font-family: var(--font-mono); font-size: var(--fs-1); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 1px 7px; border-radius: var(--r-pill); background: var(--amber); color: var(--amber-ink); flex: none; }
.beta-txt { flex: 1 1 auto; min-width: 0; }
.beta-btn { color: var(--amber); font-weight: 600; white-space: nowrap; text-underline-offset: 3px; }
.beta-x { flex: none; background: none; border: 0; color: inherit; opacity: .7; font-size: var(--fs-6); line-height: 1; padding: 2px 4px; cursor: pointer; border-radius: var(--r-s); }
.beta-x:hover, .beta-x:focus-visible { opacity: 1; }
@media (max-width: 640px) { .beta-bar .wrap { gap: 8px; } .beta-txt { font-size: var(--fs-1); } .beta-more { display: none; } }
footer a { color: inherit; }
@media (max-width: 860px) {
  .d-grid, .map-layout { grid-template-columns: minmax(0, 1fr); }
  .charts { grid-template-columns: minmax(0, 1fr); }
  .row-g, .list-head { grid-template-columns: minmax(0, 1fr) auto; }
  .row-g .col-group, .list-head .col-group, .list-head .col-when { display: none; }
  .row-g .col-when { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .facts dd { margin-bottom: 10px; }
  .st-legend div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .map-wrap circle, .map-wrap .land { transition: none; }
}
.icon-btn, .menu-btn { display: none; }
.icon-btn.theme-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 34px;
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-s); color: var(--fg); cursor: pointer;
}
.icon-btn.theme-btn:hover { border-color: var(--faint); }
@media (max-width: 640px) {
  .top .wrap { gap: 6px; }
  .menu-btn { padding: 0 11px; }
  .menu-btn .mlab { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 860px) {
  .top .wrap { flex-wrap: nowrap; gap: 8px; position: relative; }
  .logo { margin-right: auto; }
  .icon-btn, .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; min-width: 40px;
    border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-s); color: var(--fg); cursor: pointer; font-weight: 600; font-size: var(--fs-3);
  }
  .menu-btn { padding: 0 12px; }
  .lang-btn, .icon-btn.theme-btn { min-height: 40px; min-width: 40px; }
  .icon-btn[aria-expanded="true"], .menu-btn[aria-expanded="true"] { background: var(--surface-2); border-color: var(--faint); }
  nav.main, .search-global { display: none; }
  .top.nav-open nav.main {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 6px max(16px, (100% - 1180px) / 2) 12px;
    max-height: calc(100dvh - 64px); overflow-y: auto; box-shadow: 0 12px 24px rgb(0 0 0 / .12);
  }
  .top.nav-open nav.main a { padding: 11px 12px; font-size: var(--fs-5); color: var(--fg); }
  .top.nav-open nav.main { align-items: stretch; }
  .top.nav-open .nav-top { width: 100%; justify-content: flex-start; pointer-events: none; padding: 14px 12px 2px; font-size: var(--fs-2); font-weight: 600; color: var(--muted); background: none; }
  .top.nav-open .nav-top::after { display: none; }
  .top.nav-open .nav-sub { display: flex; position: static; min-width: 0; padding: 0; border: 0; box-shadow: none; background: none; }
  .top.nav-open .nav-sub::before { display: none; }
  .top.search-open .search-global {
    display: block; position: absolute; top: 100%; left: 0; right: 0; padding: 10px 16px 12px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgb(0 0 0 / .12);
  }
  .top.search-open .search-global input { width: 100%; font-size: var(--fs-4); padding-block: 10px; }
  .top.search-open .search-global svg { left: 25px; }
}
@media (max-width: 360px) {
  .top .wrap { gap: 4px; }
  .top .logo { font-size: var(--fs-5); gap: 6px; }
  .top .wrap .icon-btn, .top .wrap .menu-btn, .top .wrap .lang-btn { min-width: 36px; min-height: 36px; padding: 0; }
}
.lang-btn { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-s); padding: 6px 10px; cursor: pointer; font-weight: 600; font-size: var(--fs-2); letter-spacing: .04em; }
.lang-btn:hover { border-color: var(--faint); }
.tags { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 4px; }
.tag { font-size: var(--fs-2); padding: 2px 8px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--fg); border: 1px solid var(--line); }
.ev { font-size: var(--fs-2); color: var(--muted); margin-top: 4px; }
.ev b { font-weight: 600; color: var(--fg); }
.lineage a { text-decoration: none; border-bottom: 1px dotted var(--faint); }
.lineage a:hover { border-bottom-color: var(--fg); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 2px; font-size: var(--fs-2); color: var(--muted); }
.crumbs a { text-decoration: none; color: inherit; border-bottom: 1px dotted var(--faint); }
.crumbs a:hover { color: var(--fg); border-bottom-color: var(--fg); }
.crumbs span.sep { margin: 0 6px; color: var(--faint); }
.hero .crumbs { margin-bottom: 6px; }
.crumbs { align-items: center; } .crumbs > * { display: inline-flex; align-items: center; }
@media (max-width: 640px) { .crumbs > * { min-height: 32px; } }   
.ctree { --s: 18px; }
.cl-top { display: grid; gap: 14px; }
@media (min-width: 861px) {
  .cl-top { grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
  .cl-top .ctree { margin-top: 6px; }
  .cl-top .ct-kid .ct-name { width: 160px; }
  .cl-top .ct-kid .ct-track { width: 120px; }
}
.ct-list { list-style: none; margin: 0; padding: 0; font-size: var(--fs-3); }
.ct-row { position: relative; display: flex; align-items: center; gap: 10px; min-height: 34px; padding-left: calc(var(--d) * var(--s) + 4px); }
.ct-row[style*="--d:0"] { padding-left: 0; }
.ct-row:not([style*="--d:0"])::before { content: ""; position: absolute; left: calc((var(--d) - 1) * var(--s) + 6px); top: 0; height: 50%; width: calc(var(--s) - 8px); border-left: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); border-bottom-left-radius: 6px; }
.ct-row.more-sib::after { content: ""; position: absolute; left: calc((var(--d) - 1) * var(--s) + 6px); top: 50%; bottom: 0; border-left: 1.5px solid var(--line); }
.ct-row a { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--faint); }
.ct-row a:hover { border-bottom-color: var(--fg); }
.ct-row .ct-n { color: var(--muted); font-size: var(--fs-2); font-variant-numeric: tabular-nums; }
.ct-anc { color: var(--muted); }
.ct-sib { color: var(--muted); }
.ct-cur { font-weight: 700; color: var(--fg); }
.ct-cur .ct-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); top: 50%; transform: translate(-50%, -50%); left: calc((var(--d) - 1) * var(--s) + var(--s) - 7px); z-index: 1; }
.ct-row.ct-cur[style*="--d:0"] { padding-left: 16px; }
.ct-row.ct-cur[style*="--d:0"] .ct-dot { left: 5px; }
.ct-cur .ct-here { font-weight: 400; color: var(--muted); font-size: var(--fs-2); }
.ct-kid .ct-name { flex: none; width: 190px; }
.ct-kid .ct-bar { height: 8px; border-radius: var(--r-pill); background: var(--accent); opacity: .55; min-width: 3px; }
.ct-kid .ct-track { display: block; flex: none; width: 220px; }
.ct-gap { border: 0; background: none; font: inherit; font-size: var(--fs-2); color: var(--muted); cursor: pointer; padding: 0; border-bottom: 1px dotted var(--faint); }
.ct-gap:hover { color: var(--fg); }
.ct-foot { margin-top: 10px; font-size: var(--fs-2); }
@media (max-width: 640px) { .ctree { --s: 13px; } .ct-list { font-size: var(--fs-2); } .ct-kid .ct-name { flex: 1 1 0; width: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ct-kid > .ct-n:last-child { min-width: 3.2em; text-align: right; } .ct-kid .ct-track { width: 70px; } }
.cl-children { display: flex; flex-wrap: wrap; gap: 6px; }
.cl-children a { text-decoration: none; display: inline-flex; gap: 6px; align-items: baseline; padding: 5px 11px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); font-size: var(--fs-2); }
.cl-children a:hover { border-color: var(--fg); }
.cl-children .count { font-family: var(--font-mono); font-size: var(--fs-2); color: var(--muted); }
.cl-spark svg { width: 100%; height: auto; display: block; }
.mode-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; justify-self: start; }
.mode-tabs a { padding: 6px 12px; text-decoration: none; font-size: var(--fs-2); background: var(--surface); }
.mode-tabs a[aria-current="page"] { background: var(--fg); color: var(--bg); }
.clade-filter { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 12px; border-radius: var(--r-pill); background: var(--fg); color: var(--bg); font-size: var(--fs-2); }
.clade-filter button { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: var(--fs-4); line-height: 1; padding: 0 4px; }
.tl-tabs { margin-top: 4px; }
.strom-wrap { overflow-x: auto; }
#strom svg { display: block; width: 100%; min-width: 760px; height: auto; }
#strom .leaf { cursor: pointer; }
#strom .leaf:hover .sp { opacity: .95; }
#strom .leaf:hover text.nm { text-decoration: underline; }
#strom .leaf:focus { outline: none; }
#strom .leaf:focus-visible rect { stroke: var(--focus); stroke-width: 3; }
#strom .leaf:focus-visible text.nm { text-decoration: underline; }
#strom text { font-family: var(--font-body); }
.fm-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 2fr) 60px; gap: 12px; align-items: center; }
a.fm-row { padding: 11px 16px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
a.fm-row:hover { background: var(--surface-2); }
.k-fms { margin: 0 0 12px; }
@media (max-width: 640px) { .fm-row { grid-template-columns: minmax(0, 1fr) 48px; } .fm-row > span:nth-child(2), .fm-row > span:nth-child(3) { display: none; } }
.cesta-now { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr-h, 62px) + 12px);    z-index: 5; justify-self: start; margin-left: 96px; background: var(--fg); color: var(--bg); padding: 6px 12px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: var(--fs-2); }
.cesta { position: relative; }
.cesta-stars { display: var(--star-d, none); position: absolute; top: 0; left: 0; right: 0; pointer-events: none; fill: var(--fg); opacity: var(--star-o, .35);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 55%, transparent 100%); }
.cesta-stars svg { display: block; }
.cesta-ctl { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0 0 12px; }
.cesta-jumps { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cesta-mini { position: sticky; justify-self: end; align-self: start; margin: 0 4px calc(-56vh - 22px) 0; top: 22vh; height: 56vh; width: 12px; border-radius: var(--r-s); overflow: visible; z-index: 6; cursor: pointer; box-shadow: 0 0 0 1px var(--line); background: var(--surface); }
.cesta-mini i { position: absolute; left: 0; right: 0; opacity: .75; }
.cesta-mini i:first-child { border-radius: var(--r-s) var(--r-s) 0 0; }
.cesta-mini .mz { position: absolute; left: -7px; width: 4px; border: 2px solid var(--fg); border-right: 0; border-radius: 2px 0 0 2px; }
.cesta-mini .mz-l { position: absolute; right: 22px; transform: translateY(-50%); font-size: var(--fs-1); color: var(--muted); white-space: nowrap; background: var(--bg); padding: 1px 4px; border-radius: var(--r-s); }
.cesta-mini .here { position: absolute; left: -2px; right: -2px; height: 2px; margin-top: -1px; background: var(--accent); }
.cesta-mini .here::after { content: ""; position: absolute; right: -12px; top: -5px; border: 6px solid transparent; border-right-color: var(--accent); }
.cesta-mini .here span { position: absolute; right: 22px; top: -9px; font-size: var(--fs-1); font-style: normal; font-weight: 600; color: var(--accent); white-space: nowrap; background: var(--bg); padding: 0 4px; border-radius: var(--r-s); display: none; }
[data-view="cesta"][hidden] .cesta-mini { display: none; }
.cesta .card { margin-right: 44px; }   
@media (max-width: 640px) { .cesta-mini .mz-l { display: none; } .cesta-mini { width: 10px; } .cesta-now { margin-left: 70px; font-size: var(--fs-1); padding: 5px 10px; } }
.cesta .ruler { position: absolute; left: 0; top: 0; width: 90px; bottom: 0; }
.cesta .ruler .rticks { top: 0; bottom: 0; width: 90px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent var(--f0), #000 var(--f1)); mask-image: linear-gradient(to bottom, transparent 0, transparent var(--f0), #000 var(--f1)); }
.cesta .ruler .rbar { top: 0; bottom: 0; width: 10px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent var(--f0), #000 var(--f1)); mask-image: linear-gradient(to bottom, transparent 0, transparent var(--f0), #000 var(--f1)); }
.cesta-more { position: absolute; top: 40px; left: 160px; right: 30px; max-width: 520px; display: grid; gap: 6px; justify-items: start; padding: 14px 16px; border-radius: var(--r-m); border: 1.5px dashed var(--fg); background: var(--surface); z-index: 2; }
.cesta-more b { font-size: var(--fs-3); }
.cesta-more span { font-size: var(--fs-2); color: var(--muted); }
.cesta-more .btn { margin-top: 4px; font-size: var(--fs-3); font-weight: 600; padding: 9px 16px; }
@media (max-width: 640px) { .cesta-more { left: 112px; } }
.cesta .ruler div { position: absolute; left: 0; width: 10px; }
.cesta .ruler span { position: absolute; left: 14px; font-family: var(--font-mono); font-size: var(--fs-1); color: var(--muted); transform: translateY(-50%); white-space: nowrap; }
.cesta .div-area { position: absolute; left: 56px; top: 0; width: 90px; }
.cesta .div-area svg { display: block; width: 100%; height: 100%; }
.cesta .card { position: absolute; left: 160px; right: 0; max-width: 520px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 7px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; }
.cesta .card::before { content: ""; position: absolute; left: -14px; top: 18px; width: 14px; height: 1px; background: var(--faint); }
.cesta .card .art { width: 72px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--fg); grid-row: span 2; }
.cesta .card .art svg { max-width: 72px; max-height: 38px; }
.cesta .card .t { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.cesta .card .nm { font-weight: 700; font-family: var(--font-display); font-size: 16px; }
.cesta .card .nm i { font-family: var(--font-body); }
.cesta .card.event { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.cesta .card.event .t { color: inherit; opacity: .85; }
.cesta .card.period { background: var(--bg); border-style: dashed; }
.cesta .card.today { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cesta .card.today .t { color: inherit; opacity: .8; }
@media (max-width: 640px) { .cesta .div-area { width: 50px; } .cesta .card { left: 112px; } .cesta .card .art { width: 56px; height: 32px; } .cesta .card .art svg { max-width: 56px; max-height: 32px; } }
.map-time { display: grid; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.mt-row { display: flex; gap: 12px; align-items: center; }
.map-time input[type=range] { width: 100%; margin: 0; accent-color: var(--accent); }
.map-strata { position: relative; height: 46px; margin: 0 8px; }
.map-strata button { position: absolute; height: 21px; border: 0; padding: 0 4px; font-size: var(--fs-1); font-weight: 600; text-align: left; white-space: nowrap; overflow: hidden; cursor: pointer; border-right: 1px solid var(--surface); }
.map-strata button.lv4 { top: 23px; font-weight: 500; }
.map-strata button.on { box-shadow: inset 0 0 0 2px var(--fg); }
.mm-seg { justify-self: start; }
.map-t-label { font-family: var(--font-mono); font-size: var(--fs-2); min-width: 190px; }
.map-wrap .land { transition: none; stroke: var(--land); stroke-width: .35; stroke-linejoin: round; }
.tl-pick { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--surface-2); }
.tl-pick .nm { font-style: italic; font-weight: 700; font-family: var(--font-display); font-size: var(--fs-5); }
.tl-pick .meta { color: var(--muted); font-size: var(--fs-2); }
.tl-pick .btn.primary { margin-left: auto; }
.tl-page .tl-pick { position: sticky; bottom: var(--foot-h, 56px); z-index: 4; box-shadow: 0 -6px 16px rgb(0 0 0 / .1); }
.vz-ctl { display: inline-flex; align-items: center; gap: 6px; }
.vz-ctl .ctl-label { margin: 0; }
@media (pointer: coarse) {
  .zoom-ctl .btn, .vz-ctl .btn { min-width: 40px; min-height: 40px; font-size: var(--fs-5); }
  .letters button { min-width: 40px; min-height: 40px; }
  .cat-letters-wrap .letters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .cat-letters-wrap .letters::-webkit-scrollbar { display: none; }
  .cat-letters-wrap .letters button { flex: none; }
  .chip { min-height: 40px; }
}
.race-now { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-6); min-width: 3.2ch; }
.home { display: grid; gap: 26px; padding-bottom: 28px; }
.home-tag { margin: 0 0 -14px; font-size: var(--fs-3); color: var(--muted); }
.home-tag b { color: var(--fg); font-family: var(--font-display); font-weight: 800; }
.home-tag b::after { content: ":"; }
.home-q { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2vw, 23px); color: var(--muted); }
.home-pair { display: flex; flex-wrap: wrap; gap: 18px 56px; align-items: end; }
.home-pair a { display: grid; gap: 4px; text-decoration: none; }
.home-pair .art { height: clamp(96px, 15vw, 200px); display: flex; align-items: end; color: var(--fg); transition: opacity .3s; }
.home-pair .art svg { width: calc(min(38vw, 380px) * var(--k, 1)); height: auto; max-height: 100%; }
.home-pair .nm { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(18px, 2vw, 24px); }
.home-pair .t { font-size: var(--fs-2); color: var(--muted); }
.home-pair a:hover .nm { text-decoration: underline; text-underline-offset: 4px; }
.home h2:where(#home-h) { font-size: clamp(38px, 6.6vw, 84px); line-height: .98; letter-spacing: -.035em; max-width: 18ch; margin: .3em 0; }
.home-sub { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.45; max-width: 46ch; }
.home-strip { position: relative; height: 100px; }
.hs-bar { position: absolute; height: 8px; border-radius: var(--r-mark); background: var(--fg); min-width: 3px; transition: left .5s, width .5s; }
.hs-span { position: absolute; top: 18px; height: 26px; background: color-mix(in srgb, var(--accent) 22%, transparent); border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); transition: left .5s, width .5s; }
.hs-span-l { position: absolute; top: 0; transform: translateX(-50%); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-3); color: var(--accent); white-space: nowrap; transition: left .5s; }
.hs-now { position: absolute; top: 31px; border-top: 2px dotted var(--faint); transition: left .5s, width .5s; }
.hs-band { position: absolute; top: 52px; height: 22px; padding: 3px 6px; font-size: var(--fs-1); font-weight: 600; color: var(--white); white-space: nowrap; overflow: hidden; }
.hs-band.cz { background: var(--surface-2); color: var(--muted); }
.hs-ax { position: absolute; top: 80px; font-size: var(--fs-2); color: var(--muted); white-space: nowrap; }
.home-act { display: flex; flex-wrap: wrap; gap: 10px; }
.home-act .btn { font-size: var(--fs-3); padding: 9px 16px; text-decoration: none; }
footer .foot-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 24px; padding-top: 28px; padding-bottom: 20px; border-bottom: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); margin-bottom: 18px; }
footer .foot-map div { display: flex; flex-direction: column; gap: 6px; }
.foot-map b { font-family: var(--font-display); color: var(--fg); margin-bottom: 2px; }
.foot-map a { color: var(--muted); text-decoration: none; padding: 2px 0; }
.foot-map a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { footer .foot-map { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.home-fresh { margin: 18px 0 0; color: var(--muted); font-size: var(--fs-2); line-height: 1.6; }
.home-fresh a { color: inherit; }
.news-web ul { list-style: none; padding: 0; margin: 12px 0 0; }
.news-web li { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
.news-web li:first-child { border-top: 0; }
.news-web time { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .news-web li { grid-template-columns: 1fr; gap: 0; } }
.home-go { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
@media (max-width: 1180px) { .home-go { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .home-go { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.home-go a { --tile-bg: var(--surface); display: flex; flex-direction: column; border-radius: var(--r-m); overflow: hidden; background: var(--tile-bg); text-decoration: none; color: var(--fg); }
.home-go a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.home-go a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.home-go .art { background: var(--tile-art, transparent); position: relative; height: 150px; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--fg); min-width: 0; }
.home-go .art > svg { display: block; }
.home-go .txt { padding: 12px 18px 18px; }
.home-go h3 { font-size: var(--fs-6); margin: 0 0 4px; }
.home-go p { color: var(--muted); font-size: var(--fs-3); margin: 0; }
.home-go .t-osa { --tile-bg: color-mix(in srgb, var(--p-T) 14%, var(--surface)); --tile-art: color-mix(in srgb, var(--p-T) 28%, var(--surface)); }
.home-go .t-osa .art { align-items: flex-end; }
.home-go .t-osa .art svg { width: 100%; height: 100%; }
.home-go .t-vel { --tile-bg: color-mix(in srgb, var(--sand) 22%, var(--surface)); --tile-art: color-mix(in srgb, var(--sand) 44%, var(--surface)); }
.home-go .t-vel .art { padding: 16px 14px; }
.home-go .t-vel .art svg { width: 100%; height: auto; max-height: 100%; }
.home-go .t-map { --tile-bg: color-mix(in srgb, var(--sea) 34%, var(--surface)); --tile-art: var(--sea); }
.home-go .t-map .art svg { width: 100%; height: 100%; background: var(--sea); }
.home-go .t-cat { --tile-bg: color-mix(in srgb, var(--p-J) 15%, var(--surface)); --tile-art: color-mix(in srgb, var(--p-J) 32%, var(--surface)); }
.home-go .cat-art { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 46px); gap: 10px 12px; align-items: center; align-content: center; padding: 12px 16px; }
.home-go .cat-art span { display: flex; align-items: center; justify-content: center; min-width: 0; height: 46px; }
.home-go .cat-art span svg { width: 100%; max-height: 46px; }
.home-go .t-zeme { --tile-bg: color-mix(in srgb, var(--fg) 8%, var(--surface)); --tile-art: color-mix(in srgb, var(--fg) 15%, var(--surface)); }
.home-go .t-zeme .art { align-items: center; padding: 0 14px; }
.home-go .t-zeme .art svg { width: 100%; height: auto; }
.home-go .t-new { --tile-bg: color-mix(in srgb, var(--p-K) 17%, var(--surface)); --tile-art: color-mix(in srgb, var(--p-K) 36%, var(--surface)); }
.home-go .t-new .art { padding: 22px 18px 14px; }
.home-go .t-new .art svg { height: 100%; width: auto; max-width: 100%; }
.home-go .t-new .art.mascot { justify-content: center; }
.home-go .t-new .art.mascot .dino-mascot { height: 70%; width: auto; color: var(--fg); opacity: .85; }
.home-go .badge { position: absolute; top: 12px; left: 14px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--fg); color: var(--bg); font-size: var(--fs-1); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 640px) {
  .home-go { grid-template-columns: 1fr 1fr; gap: 10px; }
  .home-go .cat-art { padding: 8px 10px; gap: 6px 8px; grid-template-rows: repeat(2, 38px); } .home-go .cat-art span { height: 38px; } .home-go .cat-art span svg { max-height: 38px; }
  .home-go .art { height: 104px; }
  .home-go .t-vel .art { padding: 12px 10px 0; }
  .home-go .t-new .art { padding: 30px 12px 4px; }
  .home-go .badge { top: 8px; left: 10px; font-size: var(--fs-1); padding: 2px 7px; }
  .home-go .txt { padding: 10px 12px 14px; }
  .home-go h3 { font-size: var(--fs-4); }
  .home-go p { font-size: var(--fs-2); }
}
[data-view="osa"] #hero-stats, [data-view="osa"] .newest { display: none; }
.tl-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
[data-view="osa"] .hero { scroll-margin-top: 76px; }
@media (max-width: 640px) {
  .home-pair { flex-wrap: nowrap; gap: 16px; }
  .home-pair a { flex: 1 1 0; min-width: 0; }
  .home-pair .art { height: 84px; }
  .home-pair .art svg { width: calc(42vw * var(--k, 1)); }
  .home-pair .nm { font-size: var(--fs-5); overflow-wrap: anywhere; }
  .home-pair .t { font-size: var(--fs-2); }
  .hs-span-l { font-size: var(--fs-2); } .hs-band { font-size: var(--fs-1); text-overflow: ellipsis; }
  .hs-from { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hs-bar, .hs-span, .hs-span-l, .hs-now, .home-pair .art { transition: none; } }
.gp { position: fixed; z-index: 60; width: 248px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 6px 24px rgba(0,0,0,.14); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s; font-size: var(--fs-2); line-height: 1.4; }
.gp.on { opacity: 1; transform: none; }
.gp .gp-sil { height: 64px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 8px; color: var(--fg); }
.gp .gp-sil svg { width: 100%; height: 64px; fill: currentColor; }
.gp .gp-sil .none, .gp .gp-sil .rel { display: none; }
.gp b { font-family: var(--font-display); font-size: var(--fs-5); font-style: italic; display: block; }
.gp .gp-m { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .gp { transition: none; } }
.contemp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; margin: 10px 0 8px; }
.contemp-grid a { display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-s); text-decoration: none; color: inherit; background: var(--bg); }
.contemp-grid a:hover { border-color: var(--accent); }
.contemp-grid .cs { height: 46px; display: flex; align-items: flex-end; justify-content: center; }
.contemp-grid .cs svg { width: 100%; height: 46px; fill: currentColor; }
.contemp-grid .cs .none, .contemp-grid .cs .rel { display: none; }
.contemp-grid i { font-weight: 600; font-size: var(--fs-2); overflow-wrap: anywhere; }
.contemp-grid small { color: var(--muted); font-size: var(--fs-1); }
@media (prefers-reduced-motion: reduce) { .contemp-grid a { transition: none; } }
path.borders { fill: none; stroke: var(--map-line); stroke-opacity: var(--map-line-o); stroke-width: .6px; vector-effect: non-scaling-stroke; stroke-linejoin: round; pointer-events: none; }
.tgl { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 4px 2px; cursor: pointer; font: inherit; font-size: var(--fs-2); color: var(--fg); }
.tgl-k { width: 30px; height: 18px; border-radius: var(--r-pill); background: var(--line); position: relative; flex: none; transition: background .15s; }
.tgl-k::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.tgl[aria-checked="true"] .tgl-k { background: var(--accent); }
.tgl[aria-checked="true"] .tgl-k::after { transform: translateX(12px); }
.tgl:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-s); }
@media (prefers-reduced-motion: reduce) { .tgl-k, .tgl-k::after { transition: none; } }
html:not(.show-borders-now) path.borders.now, html:not(.show-borders-past) path.borders.past { display: none; }
.map-cap { padding: 8px 16px 0; font-size: var(--fs-2); line-height: 1.4; color: var(--muted); }
.map-cap::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; border-radius: var(--r-mark); background: linear-gradient(90deg, var(--sea) 50%, var(--sea-deep) 50%); border: 1px solid var(--line); }
#mm-box { position: relative; }
#map-play { white-space: nowrap; }
.map-wrap .shelf { fill: var(--sea); pointer-events: none; }
#map-full .i-close { display: none; }
#map-full[aria-pressed="true"] .i-open { display: none; }
#map-full[aria-pressed="true"] .i-close { display: inline; }
body.map-open { overflow: hidden; }
.map-layout.full { position: fixed; inset: 0; z-index: 90; display: block; background: var(--surface); }
.map-layout.full > .panel:first-child { position: absolute; inset: 0; border: 0; border-radius: 0; display: flex; flex-direction: column; overflow: hidden; }
.map-layout.full .tl-head { padding-top: max(10px, env(safe-area-inset-top)); }
.map-layout.full .tl-head .toolbar + .toolbar, .map-layout.full .map-note { display: none; }
.map-layout.full .map-wrap { flex: 1 1 auto; min-height: 0; }
.map-layout.full .map-wrap svg.map { height: 100%; aspect-ratio: auto; border-radius: 0; }
.map-layout.full .map-cap { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
.map-layout.full .site-panel { display: none; position: fixed; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); max-height: 45dvh; overflow: auto; z-index: 91; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.map-layout.full .site-panel.show { display: block; }
.map-wrap circle.in-clu { visibility: hidden; pointer-events: none; }
.map-wrap .clu { cursor: pointer; }
.map-wrap .clu circle { transition: none; }
.map-wrap .clu .clu-edge { fill: none; stroke: var(--clu-ring); stroke-width: .75px; vector-effect: non-scaling-stroke; }
.map-wrap .clu text { text-anchor: middle; font-family: var(--font-body); font-weight: 700; fill: var(--ink-on-light); pointer-events: none; }
path.coast-today { fill: none; stroke: var(--fg); stroke-opacity: .55; stroke-width: .8px; stroke-dasharray: 3 2; vector-effect: non-scaling-stroke; pointer-events: none; }
html:not(.show-coast) path.coast-today { display: none; }
.site-panel { position: relative; }
.site-panel .sheet-x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--fg); font-size: var(--fs-7); line-height: 1; cursor: pointer; }
.site-panel.show.flash { animation: sp-flash 1.2s ease-out; }
@keyframes sp-flash { 0% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: 0 0 0 0 transparent; } }
.site-list { display: grid; gap: 6px; margin-top: 8px; }
.site-list button { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--bg); color: var(--fg); font: inherit; font-size: var(--fs-2); cursor: pointer; }
.site-list button:hover { border-color: var(--accent); }
.site-list .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; }
.site-list small { color: var(--muted); font-style: italic; }
@media (max-width: 860px) {
  .site-panel.show { position: fixed; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); max-height: 55dvh; overflow: auto; z-index: 91; box-shadow: 0 8px 30px rgba(0,0,0,.3); padding-top: 14px; animation: sp-up .25s ease-out; }
  .site-panel.show .eyebrow, .site-panel.show h3 { padding-right: 44px; }
}
@keyframes sp-up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.site-panel:not(.show) .sheet-x { display: none; }
@media (prefers-reduced-motion: reduce) { .site-panel.show, .site-panel.show.flash { animation: none; } }
.site-panel .back-list { display: inline-block; margin: 0 0 8px; padding: 4px 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: var(--fs-2); cursor: pointer; }
.rec-rel { font-size: var(--fs-1); color: var(--faint); margin-top: 2px; }
.ks-more summary { cursor: pointer; color: var(--muted); font-size: var(--fs-2); margin-top: 6px; }
.k-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-top: 6px solid var(--k-acc); border-radius: var(--r-m); background: var(--surface); }
.k-hero-txt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.k-hero h1 { font-style: italic; margin: 0; }
.k-hero .au { color: var(--muted); font-size: var(--fs-3); }
.k-hero .d-sum { margin: 2px 0 0; }
.k-hero .big-nums { margin-top: 4px; }
.k-hero-fig { min-width: 0; }
.k-hero-fig svg { width: 100%; height: auto; max-height: 300px; }
.k-hero-fig .hint, .k-hero-fig .credit { font-size: var(--fs-1); }
.k-fig-note { text-align: center; margin: 4px 0 0; }
.k-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.k-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: var(--fs-2); background: var(--bg); }
a.k-chip { color: inherit; text-decoration: none; transition: border-color .15s, background .15s; }
button.k-chip { font: inherit; font-size: var(--fs-2); color: inherit; cursor: pointer; }
a.k-chip:hover, a.k-chip:focus-visible, button.k-chip:hover { border-color: var(--fg); background: var(--surface); }
.k-chip .sw { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.sil-frag { filter: url(#sil-outline); overflow: visible; }   
.sil-frag g, .sil-frag path { fill: currentColor; stroke: none; }
.k-kn { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: var(--fs-2); color: var(--fg); background: none; border: 0; padding: 0; cursor: pointer; }
.k-kn:hover b { text-decoration: underline; text-underline-offset: 3px; }
.big-fact { font-size: var(--fs-5); padding: 14px 16px; border-left: 4px solid var(--fg); background: var(--surface); border-radius: 0 var(--r-m) var(--r-m) 0; }
.big-fact b { font-family: var(--font-display); font-size: var(--fs-8); margin-right: 4px; }
.row-kn { margin-left: 8px; vertical-align: middle; }
.row-kn .kn-meter i { width: 8px; height: 5px; }
.ks-kn { display: inline-flex; align-items: center; gap: 6px; }
.ks-kn .kn-meter i { width: 10px; height: 6px; }
.kn-news { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.kn-news li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.more-bones { margin-top: 6px; }
.more-bones summary { cursor: pointer; font-size: var(--fs-2); color: var(--muted); }
.more-bones[open] summary { margin-bottom: 6px; }
.site-nm { font-size: var(--fs-2); color: var(--muted); font-style: italic; }
.kn-meter { display: inline-flex; gap: 3px; flex: none; }
.kn-meter i { width: 14px; height: 8px; border-radius: var(--r-mark); background: var(--line); }
.kn-meter i.on { background: var(--fg); }
.kn-head { display: flex; align-items: center; gap: 10px; font-size: var(--fs-5); }
.kn-head .kn-meter i { width: 22px; height: 10px; }
.kn-why { color: var(--muted); margin: 4px 0 12px; }
.kn-scale { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px; }
.kn-scale li { display: flex; gap: 10px; align-items: baseline; font-size: var(--fs-2); color: var(--muted); }
.kn-scale li b { color: var(--fg); }
.kn-scale li.cur { color: var(--fg); }
.kn-scale li.cur b { text-decoration: underline; text-underline-offset: 3px; }
.k-cur { justify-self: start; font: inherit; font-size: var(--fs-2); color: var(--muted); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.k-report { margin-top: 18px; }
.btn-report { display: inline-block; padding: 8px 14px; border: 1px solid var(--line, currentColor); border-radius: var(--r-s); color: inherit; text-decoration: none; font-size: var(--fs-2); }
.btn-report:hover { background: var(--soft, rgba(127,127,127,.12)); }
.k-nav { position: sticky; top: var(--hdr-h, 60px); z-index: 5; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; margin: 4px 0 -6px; background: var(--bg); scrollbar-width: none; }
.k-nav::-webkit-scrollbar { display: none; }
.k-nav button { flex: none; font: inherit; font-size: var(--fs-2); padding: 7px 13px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.k-nav button:hover { background: var(--surface-2); }
.k-gap p { margin: 0 0 6px; max-width: 70ch; }
.k-gap .hint { font-size: var(--fs-2); }
.k-path a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.k-path a:hover { color: var(--fg); text-decoration-color: currentColor; }
.k-nav button[aria-current] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.k-sec { padding: 20px 22px; scroll-margin-top: calc(var(--hdr-h, 60px) + 60px); display: grid; gap: 14px; }
.k-sec h2 { margin: 0; font-size: var(--fs-7); }
.k-sec .facts { padding: 0; border: 0; background: none; }
.k-sec .mstrip { padding: 0; }
.k-sec .btn { justify-self: start; }
.k-sec .bone-strip { margin-top: 0; border-top: 0; padding-top: 0; }
.k-sec #mm-box { max-width: 980px; }
.k-sec #mm-box svg { width: 100%; height: auto; max-height: 460px; }
.k-sec .contemp-grid { margin-top: 0; }
.k-xid { line-height: 1.7; }
.k-hist { margin: 10px 0 0; }
.upl-bar { display: inline-block; width: 120px; height: 8px; border-radius: var(--r-pill); background: var(--surface-2); vertical-align: middle; overflow: hidden; margin-right: 4px; }
.upl-bar i { display: block; height: 100%; background: var(--accent); border-radius: var(--r-pill); }
@media (max-width: 640px) { .upl-bar { width: 72px; } }
.k-hist summary { cursor: pointer; color: var(--muted); }
.k-hist ul { list-style: none; padding: 0; margin: 8px 0; }
.k-hist li { display: grid; grid-template-columns: 7em 1fr; gap: 10px; padding: 4px 0; }
.k-hist time { color: var(--muted); font-variant-numeric: tabular-nums; }
.af-open { margin: 18px 0; padding: 16px 18px 14px; border: 1px solid var(--line); border-radius: var(--r-m); }
.af-open .af-h { font-size: var(--fs-4); margin: 0 0 4px; }
.af-lead { margin: 0; font-size: var(--fs-3); line-height: 1.5; color: var(--fg); }
.af-all { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: -2px; font-weight: 500; padding-inline: 14px; }
.af-all::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.af-all[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.af-list.af-clip { overflow: hidden; cursor: pointer; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 44px), transparent); }
.af-box .af-body { display: grid; gap: 10px; margin-top: 12px; color: var(--fg); font-size: var(--fs-2); }
.af-box .af-body p { margin: 0; color: var(--muted); }
.af-more { display: grid; gap: 10px; }
.af-more[hidden] { display: none; }
.af-key { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: var(--fs-2); }
.af-key li { display: flex; align-items: center; gap: 6px; }
.af-sw { display: inline-block; width: 22px; height: 8px; border-radius: var(--r-mark); }
.af-axis { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: var(--fs-1); color: var(--muted);
  margin-left: calc(42% + 14px); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.af-list { list-style: none; margin: 0; padding: 0; display: grid; }
.af-row { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 14px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.af-lab { min-width: 0; line-height: 1.35; }
.af-cc { color: var(--muted); font-size: var(--fs-2); }
.af-meta { color: var(--muted); font-size: var(--fs-2); }
.af-tag { color: var(--fg); font-weight: 600; }
.af-track { position: relative; height: 14px; background: color-mix(in srgb, var(--fg) 7%, transparent); border-radius: var(--r-mark); }   
.af-main { position: absolute; top: -6px; bottom: -6px; background: color-mix(in srgb, var(--fg) 9%, transparent); border-left: 1px solid color-mix(in srgb, var(--fg) 30%, transparent); border-right: 1px solid color-mix(in srgb, var(--fg) 30%, transparent); }
.af-bar { position: absolute; top: 3px; height: 8px; border-radius: var(--r-mark); }
.af-k { background: var(--fg); }
.af-w { background: repeating-linear-gradient(90deg, var(--muted) 0 2px, transparent 2px 5px);   
   outline: 1px solid var(--muted); outline-offset: -1px; }
.af-m, .af-o { background: color-mix(in srgb, var(--fg) 40%, var(--surface)); }
.af-u, .af-s { background: transparent; border: 1.5px dashed var(--muted); height: 9px; top: 2px; }
.af-key .af-u, .af-key .af-s { height: 8px; }
@media (max-width: 640px) {
  .af-axis { margin-left: 0; }
  .af-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px 0; }
  .af-open { padding: 14px 12px 12px; }
  .af-meta { margin-top: 2px; }
}
.k-chips-low { margin: 4px 0 26px; }
details.how { margin-top: 6px; font-size: var(--fs-2); color: var(--muted); }
details.how summary { cursor: pointer; width: max-content; max-width: 100%; list-style: none; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; padding: 3px 0; }
details.how summary::-webkit-details-marker { display: none; }
details.how summary::before { content: "i"; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; font: italic 700 10px/1 var(--font-body); }
details.how summary:hover, details.how[open] > summary { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
details.how summary::marker { color: var(--muted); }
details.how p { margin: 6px 0 0; }
.k-diet .diet { font-size: var(--fs-5); }
.cat-kn-key { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 10px; font-size: var(--fs-2); color: var(--muted); }
.cat-kn-key .kn-meter { flex: none; }
.list-head .cat-kn-key .kn-meter i { width: 8px; height: 5px; }
.mus-card .mc-note { font-size: var(--fs-2); }
.mus-card .mc-src { font-size: var(--fs-2); color: var(--muted); }
details.how.cu summary { color: var(--accent, var(--fg)); }
.mus-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.mus-card { display: grid; gap: 4px; align-content: start; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--bg); }
.mus-card b { font-size: var(--fs-3); line-height: 1.3; }
.mc-kind { justify-self: start; font-size: var(--fs-2); font-weight: 600; padding: 2px 9px; border-radius: var(--r-pill); border: 1px solid var(--line); }
.mc-kind.orig { color: var(--diet-b); border-color: currentColor; }
:root[data-theme="light"] .mc-kind.orig { color: var(--ok-light); }
.mc-kind.cast { color: var(--muted); }
.mc-place, .mc-spec { font-size: var(--fs-2); color: var(--muted); }
.mc-spec { color: var(--fg); }
.mc-visit { font-size: var(--fs-2); }
.k-sec #mus h3, .k-sec h3 { margin: 6px 0 0; font-size: var(--fs-4); }
@media (max-width: 760px) {
  .k-hero { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; gap: 16px; }
  .k-hero-fig { order: -1; }
  .k-sec { padding: 16px; }
  .k-sec .facts { grid-template-columns: 1fr; gap: 2px 0; }
  .k-sec .facts dd { margin-bottom: 10px; }
}
#obdobi, #vymirani, #fm, #cesko, #okamzik { display: grid; gap: 18px; }
.ok-nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ok-axis { overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.ok-ax-in { display: grid; grid-template-columns: repeat(30, minmax(26px, 1fr)); min-width: 780px; column-gap: 2px; }
.ok-per { grid-row: 1; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); padding: 0 2px 3px; white-space: nowrap; }
.ok-st { grid-row: 2; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; height: 64px; padding-top: 6px; text-decoration: none; color: inherit; border-radius: var(--r-s) var(--r-s) 0 0; }
.ok-st i { display: block; background: var(--fg); opacity: .28; border-radius: 2px 2px 0 0; min-height: 2px; }
.ok-st:hover i, .ok-st:focus-visible i { opacity: .55; }
.ok-st[aria-current] i { background: var(--amber, var(--accent)); opacity: 1; }
.ok-st:focus-visible { outline: 2px solid var(--fg); outline-offset: 1px; }
.ok-lab { grid-row: 3; font-size: 11.5px; color: var(--muted); margin-top: 8px; padding: 0; line-height: 1; white-space: nowrap; writing-mode: vertical-rl; transform: rotate(180deg); justify-self: center; text-align: right; }
.ok-lab.on { color: var(--fg); font-weight: 600; }
.ok-lab { text-decoration: none; } .ok-lab:hover { color: var(--fg); }
.ok-ma { grid-row: 4; font-size: 10.5px; color: var(--muted); font-family: "IBM Plex Mono", monospace; white-space: nowrap; }
.ok-scene > svg { display: block; width: 100%; height: auto; }
.vz-link:hover text, .vz-link:focus-visible text { text-decoration: underline; } .vz-link:hover > svg { opacity: .75; }
.ok-scene { overflow-x: auto; }
@media (max-width: 640px) { .ok-scene > svg { min-width: 640px; } }
html[lang="en"] .cs-only { display: none; }   
.cz-g { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; } .cz-card { grid-template-columns: 1fr !important; }
.cz-near { margin: 0; padding-left: 22px; display: grid; gap: 2px; } .cz-near a, #cesko .stats a { display: inline-block; padding: 6px 0; min-height: 32px; box-sizing: border-box; }
.cz-map svg { display: block; width: 100%; max-width: 760px; height: auto; border-radius: var(--r-s); }
.cz-map .mm-dot { r: calc(2.2px * var(--mmk, 1)); stroke-width: calc(.8px * var(--mmk, 1)); }
@media (max-width: 640px) { .cz-g { grid-template-columns: 1fr; } }
.fm-maps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .fm-maps figure { margin: 0; display: grid; gap: 6px; }
.fm-maps svg { display: block; width: 100%; height: auto; border-radius: var(--r-s); } .fm-maps [data-fm-now] .mm-dot { r: calc(2.2px * var(--mmk, 1)); stroke-width: calc(.8px * var(--mmk, 1)); } .fm-maps .ob-map .hint { margin-top: 6px; }
@media (max-width: 640px) { .fm-maps { grid-template-columns: 1fr; } }
#obdobi .hero, #vymirani .hero { display: grid; gap: 12px; }
.ob-bars { display: grid; gap: 4px; }
.ob-bar { display: grid; grid-template-columns: minmax(110px, 160px) 1fr 3.5em; gap: 10px; align-items: center; color: inherit; text-decoration: none; padding: 3px 0; }
.ob-bar:hover .ob-bl { text-decoration: underline; }
.ob-bl { font-size: var(--fs-2); line-height: 1.2; } .ob-bl small { display: block; color: var(--muted); font-size: .85em; }
.ob-bt { height: 10px; background: var(--line); border-radius: var(--r-pill); overflow: hidden; } .ob-bt span { display: block; height: 100%; background: var(--fg); opacity: .55; border-radius: var(--r-pill); }
.ob-bar.hl .ob-bt span { background: var(--amber, var(--accent)); opacity: 1; }
.ob-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.ob-map svg { display: block; width: 100%; height: auto; border-radius: var(--r-s); }
.ob-fms { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.k-sec .facts { row-gap: 0; column-gap: 0; }
.k-sec .facts > dt, .k-sec .facts > dd { padding: 9px 0; border-top: 1px solid var(--line); margin: 0; }
.k-sec .facts > dd { padding-left: 22px; }
.k-sec .facts > :nth-child(-n+2) { border-top: 0; padding-top: 0; }
.k-sec > h3, .k-sec #k-bones:not(:empty), .k-sec > .k-xid, .k-sec > .k-hist, .k-sec > p.k-report, .k-sec #mus h3 { border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 760px) {
  .k-sec .facts > dd { border-top: 0; padding: 2px 0 9px; margin: 0; }
  .k-sec .facts > dt:not(:first-child) { padding-top: 10px; }
}
.home-go a { --tile-bg: var(--surface) !important; }
.home-go a:hover { border-color: var(--fg); }
.home-go .t-osa, .home-go .t-cat, .home-go .t-vel, .home-go .t-new, .home-go .t-zeme { --tile-art: var(--surface-2) !important; }
.home-go .art { border-bottom: 1px solid var(--line); }
nav.main a.nav-about { font-size: var(--fs-2); line-height: calc(15px * 1.55); }   
.hero > .eyebrow { display: none; }
.rec-how { margin-top: 2px; }
.mm-wrap { position: relative; }
.mm-zoom { position: absolute; left: 8px; bottom: 12px; font: inherit; font-size: var(--fs-2); padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.mm-zoom:hover { border-color: var(--fg); }
.mm-wrap:not(:has(svg[data-fit])) .mm-zoom { display: none; }
.mm-lost { color: var(--fg); font-weight: 600; }
.home-go .t-map .art svg { background: var(--ink) !important; }
.home-go .t-map .art svg path { fill: var(--bone) !important; stroke: none; opacity: .9; }
.home-go .t-map .art svg circle { display: none; }   
.home-go .t-osa .art svg .tl-div { stroke: var(--muted); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.home-go .t-osa .art svg .tl-bar { stroke: var(--bone); stroke-width: 6px; stroke-linecap: round; vector-effect: non-scaling-stroke; }
@media (max-width: 640px) { .home-go .t-osa .art svg .tl-bar { stroke-width: 3px; } }   
.home-go .t-osa .art { padding: 12px 0; }
.home-go .t-zeme .art svg rect { fill: var(--bone) !important; fill-opacity: .28; stroke: var(--ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.home-go .t-zeme .art svg rect.mz { fill-opacity: 1; }
.home-go .t-zeme .art svg text { fill: var(--bone) !important; }
.home-go .t-zeme .art svg path { stroke: var(--bone) !important; }
.home-go .t-zeme .art { padding: 12px 16px !important; }
.home-go .t-zeme .art svg { max-height: 100%; }
@supports (grid-template-rows: subgrid) {
  .rec-card { grid-row: span 8; grid-template-rows: subgrid; row-gap: 6px; }
  .rec-card > h3 { grid-row: 1; align-self: start; }
  .rec-card > .rec-art { grid-row: 2; }
  .rec-card > .rec-rel { grid-row: 3; align-self: start; }
  .rec-card > .rec-val { grid-row: 4; align-self: end; }
  .rec-card > .rec-who { grid-row: 5; align-self: start; }
  .rec-card > .rec-rest { grid-row: 6; align-self: start; margin-top: 0; }
  .rec-card > .rec-src { grid-row: 7; align-self: start; }
  .rec-card > .rec-how { grid-row: 8; align-self: start; }
}
.rec-rest li { display: grid; grid-template-columns: 1.6em minmax(7em, 1fr) auto; column-gap: 8px; align-items: baseline; }
.rec-rest .rec-nm { display: flex; flex-wrap: wrap; align-items: center; column-gap: 0; min-width: 0; }
.rec-rest .rec-nm a { overflow-wrap: break-word; }
.rec-rest .num { text-align: right; white-space: nowrap; }
.rec-rest li.long { grid-template-columns: 1.6em minmax(0, 1fr); }
.rec-rest li.long .num { grid-column: 2; text-align: left; white-space: normal; }
.rec-rest .rec-nm { column-gap: 6px; }
.rec-rest .rec-nm .rec-kn { margin-left: 0; }
.rec-val.long { font-size: clamp(26px, 2.5vw, 32px); }
.ncard .art { height: 150px; min-height: 0; padding: 14px 14px 10px; grid-template-rows: minmax(0, 1fr) 18px; place-items: end center; gap: 6px; }
.ncard .art svg { height: 86px; max-height: 86px; width: auto; max-width: 100%; align-self: end; }
.ncard .art .rel { margin-top: 0; align-self: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ncard .art .none { align-self: center; grid-row: 1 / -1; }
.row-g .nm { font-family: var(--font-display); font-variation-settings: "opsz" 28; font-style: italic; font-weight: 700; font-size: var(--fs-6); letter-spacing: -.005em; line-height: 1.2; color: var(--fg); }
.row-g .au { font-size: var(--fs-2); margin-top: 1px; }
.row-g.row-inv .nm { font-size: var(--fs-5); font-weight: 600; color: var(--muted); }
.row-g:hover .nm { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.row-g .col-group { color: var(--muted); }
@media (max-width: 640px) { .row-g .nm { font-size: var(--fs-5); } }
:root { --sil-rel-o: .3; }
.dino-empty { display: grid; justify-items: center; gap: 14px; text-align: center; }
.dino-empty .dino-mascot { width: 64px; height: 64px; color: var(--fg); }
.dino-404 { padding: 48px 0 24px; }
.dino-404 .dino-mascot { width: 88px; height: 88px; }
.dino-404 h1 { font-size: var(--h1-tool); }
.loading.dino-empty .dino-mascot { animation: dino-bob 1.1s steps(2, jump-none) infinite; }
@keyframes dino-bob { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .loading.dino-empty .dino-mascot { animation: none; } }
.map-empty { position: absolute; inset: 0; z-index: 4; display: grid; align-content: center; padding: 24px; background: color-mix(in srgb, var(--bg) 55%, transparent); color: var(--fg); pointer-events: none; }
.map-empty[hidden] { display: none; }
.map-empty span { max-width: 36ch; }
.dino-inline { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; margin-top: 8px; }
.dino-inline .dino-mascot { width: 44px; height: 44px; }
.loading.failed .dino-mascot { animation: none; }
.loading.failed span { max-width: 52ch; }
.loading.failed { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.nav-sub { gap: 3px; }
nav.main .nav-sub a { border-radius: var(--r-s); }
.home-stage { gap: 16px; padding: 26px 0 30px; }
.home-tag { display: none; }
.home-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); align-items: end; gap: 12px 28px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); }
.home .home-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.01em; max-width: 34ch; color: var(--fg); }
.home-search { display: flex; gap: 8px; }
.home-search input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 14px; font: inherit; font-size: var(--fs-4); color: var(--fg); background: color-mix(in srgb, var(--fg) 7%, transparent); border: 1px solid color-mix(in srgb, var(--fg) 28%, transparent); border-radius: var(--r-m); }
.home-search input::placeholder { color: var(--muted); }
.home-search input:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.home-search .btn { height: 46px; padding: 0 18px; }
@media (max-width: 760px) { .home-intro { grid-template-columns: minmax(0, 1fr); padding-bottom: 14px; margin-bottom: 14px; } .home .home-title { font-size: 21px; } }
.home-pair .art { height: clamp(80px, 11vw, 150px); }
.home-pair .art svg { width: calc(min(30vw, 300px) * var(--k, 1)); }
.home-stage #home-h { font-size: clamp(36px, 5vw, 68px); }
.home-sub { font-size: clamp(16px, 1.4vw, 19px); }
.home-strip { margin-top: 4px; }
.home-go { margin-top: 22px; }
@media (max-width: 640px) {
  .home-stage { gap: 12px; padding: 18px 0 18px; }
  .home-pair .art { height: 68px; }
  .home-stage #home-h { font-size: var(--fs-8); }
  .home-sub { font-size: var(--fs-3); }
  .home-act { gap: 4px 14px; align-items: center; }
  .home-act .btn:not(.primary) { background: none; border: 0; padding: 6px 2px; font-size: var(--fs-3); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--amber); }
  .home-go { margin-top: 14px; }
}
@media (min-width: 861px) {
  .home-stage { grid-template-columns: max-content minmax(0, 1fr); grid-template-areas: "intro intro" "q q" "pair h" "pair p" "strip strip" "more more" "act act"; column-gap: 44px; align-items: end; }
  .home .home-stage { column-gap: 44px; }   
  .home-intro { grid-area: intro; } .home-q { grid-area: q; } .home-pair { grid-area: pair; align-self: end; } #home-h { grid-area: h; } #home-p { grid-area: p; align-self: start; }
  .home-strip { grid-area: strip; } .home-act { grid-area: act; }
  .home-stage .home-pair { gap: 18px 44px; flex-wrap: nowrap; }   
  .home-pair .art svg { width: calc(min(19vw, 250px) * var(--k, 1)); }
  .home-stage #home-h { font-size: clamp(32px, 3.9vw, 54px); }
}
.rnd-btn { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.rnd-btn .rnd-ic { flex: none; transition: transform .35s ease; }
.rnd-btn:hover .rnd-ic { transform: rotate(90deg); }
.home-q:has(.home-rnd) { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-rnd { font-family: var(--font-body); font-weight: 500; font-size: var(--fs-2); color: var(--fg); font-variation-settings: normal; }
.k-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.k-top .rnd-btn { background: none; color: var(--muted); }
.k-top .rnd-btn .short { display: none; }
@media (max-width: 640px) { .k-top { flex-wrap: nowrap; } .k-top .rnd-btn { padding: 6px 12px; min-height: 36px; } .k-top .rnd-btn .full { display: none; } .k-top .rnd-btn .short { display: inline; } }
.k-top .rnd-btn:hover { color: var(--fg); }
.home-rnd .short { display: none; }
.home-q > span { white-space: nowrap; }
@media (max-width: 640px) { .home-rnd .full { display: none; } .home-rnd .short { display: inline; } }
@media (prefers-reduced-motion: reduce) { .rnd-btn .rnd-ic { transition: none; } }
.top .icon-btn, .top .lang-btn, .top .menu-btn { border-radius: var(--r-pill); }
.top .lang-btn, .top .icon-btn.theme-btn { min-width: 40px; min-height: 40px; }   
.top .lang-btn { padding: 6px 12px; }
input[list]::-webkit-calendar-picker-indicator { margin: 0; padding: 0; align-self: center; position: relative; top: -2px; opacity: .7; }
.home-stage .hs-span-l { top: -8px; line-height: 1.1; }
.home-stage .home-strip { margin-top: 12px; }
.rec-card > h3 { padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.rec-card > .rec-art { margin-top: 4px; }
.rec-art.rec-map { color: var(--fg); }
.rec-art.rec-map svg { height: 100%; width: auto; max-width: 100%; }
.tl-full-btn { display: none; }
@media (max-width: 860px), (pointer: coarse) { .tl-full-btn { display: inline-flex; align-items: center; font-weight: 600; } }
.tl-full-x, .tl-rotate { display: none; }
body.tl-full header.top, body.tl-full footer, body.tl-full [data-view="osa"] > .hero, body.tl-full .tl-head, body.tl-full::before { display: none !important; }
body.tl-full main { padding: 0 !important; max-width: none; }
body.tl-full .tl { border-radius: 0; box-shadow: none; }
body.tl-full .tl-full-x { display: flex; align-items: center; justify-content: center; position: fixed; top: max(8px, env(safe-area-inset-top)); right: max(8px, env(safe-area-inset-right)); z-index: 95; width: 40px; height: 40px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--fg); font-size: var(--fs-7); line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgb(0 0 0 / .3); }
@media (orientation: portrait) {
  body.tl-full .tl-rotate { display: flex; position: fixed; left: 12px; right: 12px; bottom: max(76px, calc(env(safe-area-inset-bottom) + 68px)); z-index: 95; gap: 10px; align-items: center; justify-content: center; padding: 10px 14px; border-radius: var(--r-m); background: var(--amber); color: var(--amber-ink); font-weight: 600; font-size: var(--fs-2); pointer-events: none; animation: tl-rot-hide 0s 5s forwards; }
}
@keyframes tl-rot-hide { to { visibility: hidden; } }
#stavy-jmen { scroll-margin-top: 84px; }
.gl { text-decoration-color: color-mix(in srgb, currentColor 55%, transparent); }
[data-term] { cursor: help; text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 3px; }
[data-term]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.term-pop { position: fixed; z-index: 60; max-width: min(320px, calc(100vw - 16px)); display: grid; gap: 4px; padding: 10px 12px 11px;
  background: var(--ink); color: var(--mist); border-radius: var(--r-s); box-shadow: 0 10px 28px rgb(0 0 0 / .32); font-size: var(--fs-2); line-height: 1.45; }
.term-pop b { font-size: var(--fs-2); color: var(--amber); }
.term-pop a { color: var(--mist); font-size: var(--fs-2); margin-top: 2px; text-decoration-color: var(--amber); }
:root[data-theme="dark"] .term-pop { background: var(--mist); color: var(--ink); } :root[data-theme="dark"] .term-pop a { color: var(--ink); } :root[data-theme="dark"] .term-pop b { color: var(--amber-dark); }
.cat-q-wrap { position: relative; flex: 1 1 260px; min-width: 0; display: flex; }
.cat-q-wrap #cat-q { flex: 1 1 auto; width: 100%; padding-right: 9.5em; }
.cat-q-wrap:has(.cat-qcount:empty) #cat-q { padding-right: 34px; }
.cat-qcount { position: absolute; right: 34px; top: 50%; transform: translateY(-50%); font-size: var(--fs-2); font-weight: 600; color: var(--muted); pointer-events: none; white-space: nowrap; }
.cat-qcount:empty { display: none; }
.k-sec #mm-box svg { display: block; width: min(100%, 920px); height: auto; aspect-ratio: 2 / 1; max-height: none; }
.k-sec #mm-box svg { border-radius: var(--r-s); }
#mm-box svg .mm-dot { r: calc(2.2px * var(--mmk, 1)); stroke-width: calc(.8px * var(--mmk, 1)); }
#mm-box svg.mm-whole .mm-dot { r: 3px; stroke-width: 1px; }
.k-chips-l { font-size: var(--fs-2); color: var(--muted); align-self: center; }
a.k-chip { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.rec-how summary { font-size: var(--fs-2); }
:root {
  --bg: #e4e8eb;            
  --surface: #ffffff;
  --surface-2: #eef1f3;
  --fg: #0f1f2c;            
  --muted: #4a5a67;
  --faint: #56656f;   
  --line: #cbd3d9;
  --accent: #0f1f2c;
  --accent-ink: #ffffff;
  --amber: #f2b33d;         
  --focus: #8a5600;         
  --amber-ink: #2a1a00;
  --ink: #0f1f2c; --ink-2: #172b3b; --bone: #efe9dc;
  --land: #dcd5c3; --sea: #b4c9d6; --sea-deep: #8fadc0;
  --night: #0c1823;        
  --night-glow: #1d3a52;   
  --night-3: #1f3547; --night-line: #2b4153; --night-edge: #4b6274;   
  --mist: #e9eef1; --mist-2: #dfe6ea;   
  --white: #fff;
  --sand: #c9a36b;         
  --paper: #dfe3d8; --paper-ink: #10140f;   
  --ink-on-light: #1b1e19; 
  --ok-light: #0d6b48; --amber-dark: #8a5a00; --err: #e5484d;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1823; --surface: #13212e; --surface-2: #1a2b3a; --fg: #e9eef1; --muted: #a3b2bd; --faint: #8b9ba7;
    --line: #253848; --accent: #f2b33d; --accent-ink: #2a1a00; --ink: #08121b; --ink-2: #101f2c; --sea-deep: #174463; --sea: #2f6a91;
    --focus: #f2b33d;
  }
}
:root[data-theme="dark"] {
  --bg: #0c1823; --surface: #13212e; --surface-2: #1a2b3a; --fg: #e9eef1; --muted: #a3b2bd; --faint: #8b9ba7;
  --line: #253848; --accent: #f2b33d; --accent-ink: #2a1a00; --ink: #08121b; --ink-2: #101f2c; --sea-deep: #174463; --sea: #2f6a91;
  --focus: #f2b33d;
}
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1[tabindex="-1"]:focus { outline: none; }
.top, .home-stage, .k-hero, footer {
  --fg: var(--bone); --muted: #a9b6c0; --faint: #93a2ae; --line: #2b4153;
  --surface: var(--ink-2); --surface-2: #1f3547; --bg: var(--ink);
  --accent: var(--amber); --accent-ink: var(--amber-ink); --focus: var(--amber);
  color: var(--fg);
}
.top { background: var(--ink); backdrop-filter: none; border-bottom: 0; }
body::before { background: var(--ink); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 5px; pointer-events: none;
  background: linear-gradient(90deg, var(--p-T) 0 27.2%, var(--p-J) 27.2% 57.5%, var(--p-K) 57.5% 100%); }
.logo { font-size: var(--fs-6); letter-spacing: -.02em; }
nav.main a, .nav-top { color: var(--muted); }
nav.main a:hover, nav.main a[aria-current="page"], .nav-top:hover, .nav-grp.on .nav-top, .nav-top[aria-expanded="true"] { color: var(--fg); background: transparent; box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }
.nav-sub { border-radius: var(--r-s); box-shadow: 0 18px 40px rgb(0 0 0 / .35); }
nav.main .nav-sub a { border-radius: var(--r-s); }
nav.main .nav-sub a:hover, nav.main .nav-sub a[aria-current="page"] { box-shadow: none; background: var(--surface-2); }
.search-global input { background: var(--ink-2); border-color: var(--line); color: var(--fg); border-radius: var(--r-pill); }
.top .icon-btn, .top .lang-btn, .top .menu-btn { border-color: var(--line); background: transparent; color: var(--fg); }
main { padding-top: 40px; }
:root { --h1-hero: clamp(44px, 6.4vw, 88px); --h1-page: clamp(38px, 6vw, 76px); --h1-tool: clamp(32px, 3.6vw, 48px); }
h1 { font-size: var(--h1-page); }
:is([data-view="mapa"], [data-view="osa"], [data-view="strom"], [data-view="zeme"], [data-view="katalog"], [data-view="mesto"], [data-view="hadanka"], [data-view="kdo-s-kym"], [data-view="velikosti"], [data-view="grafy"]) h1 { font-size: var(--h1-tool); line-height: 1.1; }
h2 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.025em; }
.hero { gap: 14px; padding-bottom: 6px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--fg); max-width: 56ch; }
.home { gap: 0; }
.home-stage { position: relative; display: grid; gap: 26px; padding: 44px 0 48px; margin-top: -40px; isolation: isolate; }
.home-stage::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); background:
  radial-gradient(1200px 500px at 70% 0%, var(--night-glow) 0%, transparent 60%), var(--ink); z-index: -1; }
.home-tag { margin: 0; }
.home-q { color: var(--amber); font-size: clamp(20px, 2.2vw, 26px); }
.home h2:where(#home-h) { font-size: clamp(44px, 8vw, 112px); max-width: 15ch; color: var(--fg); }
.home-pair { gap: 18px 72px; }
@media (max-width: 640px) { .home-pair { gap: 14px 24px; flex-wrap: nowrap; } .home-pair a { min-width: 0; } .home-stage { padding: 28px 0 36px; } }
.home-pair .nm { font-size: clamp(20px, 2.2vw, 28px); }
.home-pair a { border-bottom: 2px solid var(--night-line); padding-bottom: 8px; }
.hs-span { background: color-mix(in srgb, var(--amber) 22%, transparent); border-color: var(--amber); }
.hs-span-l { color: var(--amber); }
.hs-bar { background: var(--fg); }
.hs-band.cz { background: var(--night-3); }
.btn { border-radius: var(--r-pill); padding: 7px 14px; }
.btn.primary { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); font-weight: 600; }
.home-act .btn { padding: 11px 20px; font-size: var(--fs-3); }
.home-act .btn:not(.primary) { background: transparent; color: var(--fg); border-color: var(--night-edge); }
.home-go { margin-top: 36px; gap: 14px; }
.home-go a { --tile-sh: rgb(15 31 44 / .18); border-radius: var(--r-s); border: 0 !important; box-shadow: 0 1px 0 var(--line), 0 10px 24px rgb(0 0 0 / 0); }
.home-go .art { --fg: var(--bone); color: var(--bone); background: var(--ink) !important; border-bottom: 0 !important; }
.home-go .t-map .art { background: var(--sea) !important; }
.home-go a:hover { transform: translateY(-2px); box-shadow: 0 1px 0 var(--line), 0 10px 24px var(--tile-sh); }
:root[data-theme="dark"] .home-go a { --tile-sh: rgb(0 0 0 / .45); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .home-go a { --tile-sh: rgb(0 0 0 / .45); } }
.home-go a { transition: transform .2s, box-shadow .2s; }
@media (prefers-reduced-motion: reduce) { .home-go a { transition: none; } .home-go a:hover { transform: none; } }
.home-go .badge { background: var(--amber); color: var(--amber-ink); }
.panel, .rec-card, .callout.neutral { border-radius: var(--r-s); border: 0; box-shadow: 0 1px 0 var(--line); }
.rec-card { position: relative; overflow: hidden; padding: 22px 20px 18px; }
.rec-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--fg); pointer-events: none; }
.rec-card h3 { color: var(--fg); font-size: var(--fs-3); font-weight: 700; }
.rec-val { font-size: clamp(34px, 3.6vw, 46px); letter-spacing: -.035em; }
.rec-h { font-size: clamp(26px, 3vw, 36px); margin-top: 30px; }
.chip, .k-chip { border-radius: var(--r-pill); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); box-shadow: none; }
.chip[aria-pressed="true"] .count { color: color-mix(in srgb, var(--bg) 78%, var(--fg)); }   
.mode-tabs { border-radius: var(--r-pill); border-color: var(--fg); }
.mode-tabs a { background: transparent; padding: 7px 16px; }
.mode-tabs a[aria-current="page"] { background: var(--fg); color: var(--bg); }
.k-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--k-acc); pointer-events: none; }
.k-hero { border: 0; border-radius: var(--r-s); position: relative; overflow: hidden; background:
  radial-gradient(900px 400px at 85% 10%, var(--night-glow) 0%, transparent 60%), var(--ink); padding: 36px 32px 30px; }
.k-hero h1 { font-size: var(--h1-hero); }
.k-hero .d-sum { color: var(--fg); }
.k-hero .big-nums b { color: var(--amber); }
.k-nav { background: var(--bg); }
.k-nav button { border: 0; background: var(--surface); }
.k-nav button[aria-current] { background: var(--fg); color: var(--bg); }
footer { background: var(--ink); border-top: 0; margin-top: 40px; }
h1, h2, h3, .k-hero h1, .rec-val, .big-nums b, .home-q, .home-pair .nm, .logo, .nd-card .nd-head, .race-now, .cesta .card .nm { font-variation-settings: "opsz" 28; }
h1 { letter-spacing: -.012em; line-height: 1.04; font-weight: 700; }
.home h2:where(#home-h) { letter-spacing: -.018em; line-height: 1.02; font-weight: 700; font-size: clamp(42px, 7.2vw, 100px); }
.k-hero h1 { letter-spacing: -.012em; }
h2, h3 { letter-spacing: -.005em; }
.rec-val, .big-nums b { letter-spacing: -.015em; }
[data-view="zeme"] {
  --fg: var(--bone); --muted: #a9b6c0; --faint: #93a2ae; --line: #2b4153;
  --surface: var(--ink-2); --surface-2: #1f3547; --bg: var(--ink);
  --accent: var(--amber); --accent-ink: var(--amber-ink);
  --star-d: block; --star-o: .9;
  color: var(--fg); position: relative; isolation: isolate;
}
[data-view="zeme"]::before { content: ""; position: absolute; top: -40px; bottom: -64px; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1;
  background: radial-gradient(1400px 700px at 75% 0%, var(--night-glow) 0%, transparent 60%), var(--ink); }
[data-view="zeme"]:not([hidden]) ~ * { }
body:has([data-view="zeme"]:not([hidden])) footer { margin-top: 0; }
body:has([data-view="zeme"]:not([hidden])) { overflow-x: clip; }
.rec-warn { display: block; font-size: var(--fs-2); line-height: 1.35; color: var(--muted); font-style: normal; margin-top: 2px; }
.sp-ts { font-size: var(--fs-1); font-weight: 600; color: var(--muted); }
#map-svg circle.approx { fill-opacity: .2; stroke-width: 1.4px; }
select.field, select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.75 6 6.25l4.5-4.5' fill='none' stroke='%237d8d99' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; padding-right: 38px; }
input[list]::-webkit-calendar-picker-indicator { color: transparent; opacity: 1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.75 6 6.25l4.5-4.5' fill='none' stroke='%237d8d99' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 8px no-repeat; width: 12px; height: 12px; margin: 0 4px 0 6px; top: 0; cursor: pointer; }
.hd { max-width: 760px; padding: 18px 20px; }
.hd.has-stage { max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.hd-stage { display: grid; gap: 10px; position: sticky; top: calc(var(--hdr-h, 62px) + 16px); }
.hd-fig { aspect-ratio: 4 / 3; border-radius: var(--r-m); background: var(--paper); color: var(--paper-ink); display: grid; place-items: center; padding: 18px; overflow: hidden; }
.hd-fig svg { width: 100%; height: 100%; display: block; }
.hd-fig.hd-q { background: var(--surface-2); border: 1px dashed var(--line); color: var(--muted); }
.hd-fig.hd-q span { font-family: var(--font-display); font-weight: 800; font-size: 96px; line-height: 1; opacity: .5; }
.hd-stage .hint { margin: 0; }
@media (max-width: 860px) {
  .hd.has-stage { grid-template-columns: minmax(0, 1fr); }
  .hd-stage { position: static; grid-template-columns: 140px 1fr; align-items: center; }
  .hd-fig { padding: 10px; } .hd-fig.hd-q span { font-size: 56px; }
}
.hd-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: var(--fs-2); margin-bottom: 12px; }
.hd-best { font-size: var(--fs-5); margin: 0 0 14px; }
.hd-best b { font-size: var(--fs-6); }
.hd-meter { height: 6px; border-radius: var(--r-pill); background: var(--surface-2); margin: 14px 0 0; overflow: hidden; }
.hd-meter span { display: block; height: 100%; background: var(--fg); border-radius: var(--r-pill); transition: width .4s; }
.hd-meter span.win { background: var(--diet-b); }
@media (prefers-reduced-motion: reduce) { .hd-meter span { transition: none; } }
.hd-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hd-label { flex: 1 0 100%; font-weight: 700; font-size: var(--fs-3); margin-bottom: 2px; }
.hd-form .field { flex: 1 1 12em; min-width: 0; height: 52px; padding: 0 14px; font-size: var(--fs-5); border: 2px solid var(--fg); border-radius: var(--r-s); background: var(--surface); color: var(--fg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hd-form .field { border-color: var(--amber); background: var(--bg); } }
:root[data-theme="dark"] .hd-form .field { border-color: var(--amber); background: var(--bg); }
.hd-form .field::placeholder { color: var(--muted); }
.hd-form .field:focus { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 35%, transparent); }
.hd-form .btn.primary { height: 52px; padding: 0 22px; font-size: var(--fs-4); border-radius: var(--r-s); }
.hd-msg { margin: 6px 0 0; color: var(--muted); font-size: var(--fs-3); }
.hd-msg:empty { margin: 0; }
.hd-list.hd-last { margin: 10px 0 0; }
.hd-form + .hd-msg + .hd-clues, .hd-msg + .hd-clues { margin-top: 14px; }
.hd-last + .hd-clues { margin-top: 14px; }
.hd-prev { margin: 4px 0 0; font-size: var(--fs-3); color: var(--muted); font-weight: 600; }
.hd-prev + .hd-list { margin-top: 8px; }
.hd-clues { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 4px; }
.hd-clues li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 10px; align-items: center; padding: 8px 12px; border: 1px solid transparent; border-radius: var(--r-s); background: var(--surface-2); min-height: 40px; }   
.hd-clues li.off { background: transparent; border: 1px dashed var(--line); color: var(--muted); font-size: var(--fs-2); min-height: 0; padding: 5px 12px; }
.hd-clues li.new { box-shadow: inset 3px 0 0 var(--accent); }
.hd-ct { color: var(--muted); font-size: var(--fs-2); }
.hd-cv { font-size: var(--fs-4); font-weight: 600; }
.hd-clues li.off .hd-cv { font-weight: 400; }
.hd-cv svg { width: 130px; height: 52px; color: var(--fg); vertical-align: middle; }
.hd-letter { font-size: var(--fs-6); letter-spacing: .1em; }
.hd-expert { display: inline-block; margin-left: 6px; font-weight: 400; font-size: var(--fs-2); color: var(--muted); }
@media (max-width: 640px) { .hd-clues li { grid-template-columns: 6.6rem 1fr; gap: 8px; padding: 6px 10px; min-height: 34px; } .hd-ct { font-size: var(--fs-2); } .hd-cv { font-size: var(--fs-3); } .hd-cv svg { width: 110px; height: 44px; } .hd-clues li.off .hd-cv:empty { display: none; } }
.hd-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.hd-row { padding: 10px 12px; border-radius: var(--r-s); background: var(--surface-2); }
.hd-row-h { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.hd-row-h a { font-size: var(--fs-5); font-weight: 700; }
.hd-row-n { color: var(--muted); font-size: var(--fs-2); }
.hd-common { margin: 2px 0 6px; font-size: var(--fs-3); }
.hd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hd-tag { font-size: var(--fs-2); padding: 2px 8px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--muted); }
.hd-tag.ok { border-color: transparent; background: color-mix(in srgb, var(--diet-b) 22%, var(--surface)); color: var(--fg); }
.hd-row.win { background: color-mix(in srgb, var(--diet-b) 18%, var(--surface)); }
.hd-end { margin: 0 0 18px; padding: 16px 18px; border-radius: var(--r-s); background: var(--surface-2); display: grid; grid-template-columns: 1fr 190px; gap: 8px 18px; align-items: center; }
.hd-end.win { background: color-mix(in srgb, var(--diet-b) 18%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--diet-b) 45%, transparent); }
.hd-end-sil { grid-column: 2; grid-row: 1; color: var(--fg); }
.hd-end-sil svg { display: block; width: 100%; height: auto; max-height: 130px; }
.hd-end-txt { grid-column: 1; grid-row: 1; min-width: 0; }
@media (max-width: 640px) { .hd-end { grid-template-columns: 1fr; } .hd-end-sil { grid-column: 1; grid-row: 1; width: 60%; max-width: 200px; } .hd-end-txt { grid-row: 2; } }
.hd-end h2 { margin: 0 0 6px; font-size: var(--fs-7); }
.hd-end p { margin: 0 0 10px; }
.hd-end .hd-act { display: flex; gap: 8px; flex-wrap: wrap; }
.hd-how { margin-top: 18px; }
.mm { display: grid; gap: 18px; }
.mm-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 16px 18px; max-width: 760px; }
.mm-form .field { min-width: 0; height: 52px; padding: 0 14px; font-size: var(--fs-5); border: 2px solid var(--fg); border-radius: var(--r-s); background: var(--surface); color: var(--fg); }
.mm-form .field:focus { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 35%, transparent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mm-form .field { border-color: var(--amber); background: var(--bg); } }
:root[data-theme="dark"] .mm-form .field { border-color: var(--amber); background: var(--bg); }
.mm-form .btn.primary { height: 52px; padding: 0 22px; font-size: var(--fs-4); border-radius: var(--r-s); }
.mm-form .hd-msg:empty { display: none; }
.mm-count { flex: 1 0 100%; margin: 2px 0 0; }
.mm-combo { position: relative; flex: 1 1 14em; min-width: 0; display: flex; }
.mm-combo .field { flex: 1 1 auto; }
.mm-sug { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); list-style: none; margin: 0; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-s); box-shadow: 0 10px 30px rgba(0,0,0,.25); max-height: 360px; overflow: auto; }
.mm-sug li { display: grid; gap: 1px; padding: 8px 10px; border-radius: var(--r-s); cursor: pointer; }
.mm-sug li:hover, .mm-sug li.on { background: var(--surface-2); }
.mm-sug .hint { font-size: var(--fs-2); }
.mm-none .mm-txt { padding: 18px; }
.mm-picks { flex: 1 0 100%; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.mm-picks { min-height: 200px; align-content: flex-start; }
@media (max-width: 640px) { .mm-picks { min-height: 290px; } }
.mm-picks-l { flex: 1 0 100%; font-size: var(--fs-2); color: var(--muted); }
.mm-pick { display: grid; gap: 0; text-align: left; padding: 6px 12px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); cursor: pointer; font: inherit; }
.mm-pick:hover { border-color: var(--fg); }
.mm-pick b { font-size: var(--fs-3); }
.mm-pick span { font-size: var(--fs-2); color: var(--muted); }
.mm-h { font-size: clamp(26px, 3vw, 34px); margin: 6px 0 0; }
.mm-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.mm-head { margin-bottom: 16px; }
#mm-out { scroll-margin-top: 84px; }
.mm-pagesh { flex: 0 0 auto; background: none; border: 0; padding: 4px 0; color: var(--fg); font: inherit; font-size: var(--fs-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mm-young { margin: 0 0 16px; max-width: 72ch; color: var(--fg); line-height: 1.55; }
.mm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .mm-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.mm-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.mm-map { display: block; width: 100%; height: auto; aspect-ratio: 64 / 40; }
.mm-mapw { position: relative; }
.mt-zoom { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 6px; }
.mm-zb { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(12,24,35,.82); color: var(--white); font: 600 18px/1 system-ui, sans-serif; cursor: pointer; display: grid; place-items: center; padding: 0; }
.mm-zb:hover:not(:disabled) { background: rgba(12,24,35,.95); }
.mm-zb:disabled { opacity: .35; cursor: default; }
.mm-deep { fill: var(--sea-deep); } .mm-shelf { fill: var(--sea); } .mm-land { fill: var(--land); }
.mm-dots circle { fill: var(--fg); opacity: .35; }
.mm-near { fill: none; stroke: var(--fg); }
.mm-me { fill: var(--amber); stroke: var(--night); }
.mm-bord { fill: none; stroke: var(--night); stroke-opacity: .55; stroke-width: .9px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.mm-c0 { fill: none; stroke: var(--fg); stroke-opacity: .7; stroke-width: .9px; stroke-dasharray: 3 2; vector-effect: non-scaling-stroke; }
.mm-scale path { fill: none; stroke: var(--white); stroke-linejoin: round; }
.mm-scale path.h { stroke: var(--night); }
.mm-scale text { font-family: "IBM Plex Sans", sans-serif; font-weight: 600; fill: var(--white); paint-order: stroke; stroke: var(--night); }
.mm-me-t { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; fill: var(--amber); paint-order: stroke; stroke: var(--night); }
.mm-txt { padding: 14px 18px 18px; }
.mm-when { color: var(--muted); font-size: var(--fs-2); }
.mm-txt h3 { font-size: var(--fs-7); margin: 4px 0 6px; }
.mm-txt h3 a { color: inherit; }
.mm-where { margin: 0 0 12px; color: var(--muted); font-size: var(--fs-3); }
.mm-lh { font-size: var(--fs-2); color: var(--muted); margin-bottom: 4px; }
.mm-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.mm-list li { display: flex; gap: 12px; align-items: center; }
.mm-list li > span:last-child { display: grid; min-width: 0; }
.mm-list a { font-weight: 700; color: var(--fg); }
.mm-list .hint { font-size: var(--fs-2); color: var(--muted); }
.mm-sil { flex: 0 0 76px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--fg); }
.mm-sil svg { max-width: 76px; max-height: 36px; width: auto; height: auto; }
.mm-note { max-width: 80ch; margin: 22px 0 0; }   
.home-go .t-hd { flex-direction: row; }
.home-go .t-wide { grid-column: span 3; flex-direction: row; }
@media (max-width: 1180px) { .home-go .t-wide { grid-column: 1 / -1; } }
.home-go .t-wide .art { flex: 0 0 42%; height: 170px; border-bottom: 0; border-right: 1px solid var(--line); }
.home-go .t-wide .txt { align-self: center; padding: 16px 22px; }
.home-go .t-wide h3 { font-size: var(--fs-7); }
@media (max-width: 640px) { .home-go .t-wide { flex-direction: column; } .home-go .t-wide .art { flex: none; width: 100%; height: 140px; border-right: 0; } }
.home-go .t-mm { --tile-bg: color-mix(in srgb, var(--sea) 30%, var(--surface)); --tile-art: var(--sea); }
.home-go .t-mm .art svg { width: 100%; height: 100%; background: var(--sea); }
.home-go .t-size { --tile-bg: color-mix(in srgb, var(--p-K) 14%, var(--surface)); --tile-art: color-mix(in srgb, var(--p-K) 28%, var(--surface)); }
.home-go .t-size .art { padding: 16px 14px; }
.home-go .t-size .art svg { width: 100%; height: auto; max-height: 100%; }
.home-go .home-more { grid-column: 1 / -1; margin: 10px 0 0; }
.home-go .home-more h2 { font-size: var(--fs-5); margin: 0 0 10px; }
.home-go .hm-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.home-go .hm-row a { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px 11px 18px; border-radius: var(--r-m); background: var(--surface); color: var(--fg); text-decoration: none; min-height: 58px; }
.home-go .hm-row a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--hm-c, var(--line)); }   
.home-go .hm-row a b { font-family: var(--font-display); font-size: var(--fs-4); }
.home-go .hm-row a span { color: var(--muted); font-size: var(--fs-2); }
.home-go .hm-row a:hover b { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .home-go .hm-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.home-go .t-hd .txt { align-self: center; padding: 16px 22px; }
.home-go .t-hd h3 { font-size: var(--fs-7); }
.home-go .t-hd p { max-width: 52ch; }
.home-go .t-hd .hd-no { display: inline-block; margin-top: 8px; font-size: var(--fs-2); font-weight: 700; color: var(--fg); }
.hd-art .hd-q { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: 118px; line-height: 1; color: var(--amber); }
.home-go .hd-art { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); align-items: stretch; gap: 0 10px; padding: 10px 14px; }
.home-go .hd-art .hd-q { align-self: center; }
.hd-art .hd-col { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); height: 100%; min-width: 0; }
.hd-art span { display: flex; align-items: center; min-height: 0; height: 100%; overflow: hidden; opacity: .7; }
.hd-art span.o1 { justify-content: flex-end; }
.hd-art span.o0 svg, .hd-art span.o2 svg { margin-left: 6%; }
.hd-art span svg { display: block; height: auto; max-height: 86%; width: auto; max-width: 92%; }
.hd-art span.flip svg { transform: scaleX(-1); }
@media (max-width: 640px) {   
  .home-go .t-hd { flex-direction: column; }
  .home-go .t-hd .art { flex: none; height: 112px; border-right: 0; border-bottom: 1px solid var(--line); }
  .home-go .t-hd .txt { padding: 10px 12px 14px; }
  .home-go .t-hd h3 { font-size: var(--fs-5); }
  .hd-art .hd-q { font-size: 88px; }
}
:root { --ctl-s: 32px; --ctl: 36px; --ctl-l: 44px; }
@media (pointer: coarse) { :root { --ctl-s: 40px; --ctl: 40px; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: var(--ctl); padding: 0 15px;
  border: 1px solid var(--line); border-radius: var(--r-pill); font-size: var(--fs-2); font-weight: 500; line-height: 1.2; text-decoration: none; }
.btn[hidden] { display: none !important; }
@media (min-width: 861px) and (pointer: fine) { .btn.tl-full-btn { display: none; } }   
.tl-foot .btn { min-height: var(--ctl-s); padding: 0 12px; }   
.btn.primary { font-weight: 600; }
#cat-ftoggle { min-height: var(--ctl); padding: 0 15px; font-size: var(--fs-2); font-weight: 500; border: 1px solid var(--line); }
.home-act .btn { min-height: var(--ctl-l); padding: 0 20px; }
.hd-form .btn.primary, .mm-form .btn.primary { height: var(--ctl-l); padding: 0 22px; border-radius: var(--r-pill); }
.hd-form .btn:not(.primary), .mm-form .btn:not(.primary) { min-height: var(--ctl-l); }
.field { min-height: var(--ctl); padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); }
select.field { padding-right: 34px; }
.hd-form .field, .mm-form .field { height: var(--ctl-l); padding: 0 18px; font-size: var(--fs-5); border-radius: var(--r-pill); }
.chip { min-height: var(--ctl-s); padding: 0 12px; }
.mode-tabs, .seg { display: inline-flex; padding: 2px; gap: 2px; border: 1px solid var(--line); border-radius: var(--r-pill); overflow: visible; background: transparent; }
.mode-tabs a, .seg button { display: inline-flex; align-items: center; min-height: calc(var(--ctl) - 6px); padding: 0 14px; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--fg); font-size: var(--fs-2); font-weight: 500; text-decoration: none; cursor: pointer; }
.mode-tabs a:hover, .seg button:hover { background: var(--surface-2); }
.mode-tabs a[aria-current="page"], .seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.k-nav button { min-height: var(--ctl); padding: 0 15px; border: 1px solid var(--line); background: transparent; font-weight: 500; }
.k-nav button:hover { background: var(--surface-2); }
.k-nav button[aria-current] { border-color: var(--fg); }
.map-ctl .btn, .mm-zb { width: var(--ctl-s); height: var(--ctl-s); min-height: 0; padding: 0; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--fg); font: 500 17px/1 var(--font-body); }
.mm-zb:hover:not(:disabled) { background: var(--surface-2); }
.mm-zoom { min-height: 28px; padding: 0 12px; font-size: var(--fs-2); }
.panel, .rec-card, .callout.neutral, .k-hero, .af-open, .home-go > a, .mus-card, .mm-card { border-radius: var(--r-m); }
.k-hero { border-top-width: 4px; }
.letters button { border-radius: var(--r-s); }
.k-ety-t { justify-self: start; text-align: left; font: inherit; font-size: var(--fs-3); line-height: 1.5; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; max-width: 60ch; }
.k-ety-t b { color: var(--fg); font-weight: 600; }
.k-ety-more { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--amber); white-space: nowrap; }
.k-ety-t:hover .k-ety-more { text-decoration-thickness: 2px; }
.k-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.k-ety-full { margin-bottom: 14px; display: grid; gap: 10px; }
.k-ety-full .k-why { font-size: var(--fs-3); }
.f-toggle { display: none; }
.f-toggle .n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--fg); color: var(--bg); font-size: var(--fs-2); display: inline-flex; align-items: center; justify-content: center; }
.f-toggle .n[hidden] { display: none; }
.f-toggle .car { font-size: 11px; color: var(--muted); transition: transform .15s; }
.f-toggle[aria-expanded="true"] .car { transform: rotate(180deg); }
@media (min-width: 641px) {
  .f-able-d .f-toggle { display: inline-flex; }
  .f-able-d:not(.f-open) .f-hide-d { display: none !important; }
}
@media (max-width: 640px) {
  .tl-row.r3, .tl-row.r4 { height: 33px; }
  .tl-band.tl-narrow { pointer-events: none; }
  .f-able .f-toggle { display: inline-flex; }
  .f-able:not(.f-open) .f-hide { display: none !important; }
  .f-able:not(.f-open) .toolbar:has(> .f-toggle) { flex-wrap: nowrap; gap: 8px; }
  [data-view="mapa"] .hero, [data-view="osa"] .hero, [data-view="strom"] .hero, [data-view="zeme"] .hero { gap: 8px; }
}
.cesta .card .t, .cesta .ruler span, .cesta-now { font-family: var(--font-body); }
.cesta .card .t { font-size: 13px; }
.cesta .ruler span { font-size: var(--fs-2); }
.cesta-mini .mz-l, .cesta-mini .here span { font-size: var(--fs-2); }
.cesta-cue { flex-basis: 100%; margin: 6px 0 0; font-size: var(--fs-3); color: var(--fg); }
.cesta-cue span { color: var(--amber); font-weight: 700; margin-right: 4px; }
.hd-clues li.hd-rest { display: block; border-style: dashed; }
.k-hero-map { align-self: stretch; display: grid; align-content: center; }
.k-hm { display: grid; gap: 6px; color: inherit; text-decoration: none; }
.k-hm svg { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; max-height: 300px; border-radius: var(--r-s); }
.k-hm svg .mm-dot { r: calc(5.5px * var(--mmk, 1)); stroke-width: calc(1.4px * var(--mmk, 1)); }
.k-hm .hint { justify-self: end; }
.k-hm:hover .hint { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.k-hero.k-hero-nofig { grid-template-columns: minmax(0, 1fr); }
.k-hero.k-hero-nofig .d-sum { max-width: 68ch; }
.big-nums b { white-space: nowrap; }
.k-kn { flex-wrap: wrap; row-gap: 4px; text-align: left; }
.k-kn span, .k-kn b { white-space: nowrap; }
@media (max-width: 760px) { .k-hero-map { display: none; } }
@media (max-width: 640px) {
  .k-hero .big-nums { display: flex; flex-wrap: wrap; gap: 12px 24px; }
  .k-hero .big-nums b { font-size: 26px; }
}
.mus-more { margin-top: 2px; }
.mus-more summary { cursor: pointer; color: var(--muted); font-size: var(--fs-2); }
.mus-more summary:hover { color: var(--fg); }
.mus-more[open] summary { margin-bottom: 6px; }
@media (max-width: 640px) {
  .home-go .t-wide, .home-go .t-hd { flex-direction: row; }
  .home-go .t-wide .art, .home-go .t-hd .art { flex: 0 0 34%; width: auto; height: auto; min-height: 128px; border-right: 1px solid var(--line); border-bottom: 0 !important; }
  .home-go .t-wide .txt, .home-go .t-hd .txt { align-self: center; padding: 12px 14px; }
  .home-go .t-wide h3, .home-go .t-hd h3 { font-size: var(--fs-5); line-height: 1.2; }
  .home-go .t-wide p { font-size: var(--fs-2); line-height: 1.45; }
  .home-go .t-hd .hd-art { grid-template-columns: minmax(0, 1fr) auto; gap: 0 4px; padding: 10px 8px; }
  .home-go .t-hd .hd-art .hd-col:last-child { display: none; }   
  .home-go .t-hd .hd-art .hd-q { font-size: 64px; }
  .home-go .t-hd .hd-no { margin-top: 6px; }
}
@media (max-width: 640px) {
  .mus-cards:has(.mus-card + .mus-card) { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px; }
  .mus-cards::-webkit-scrollbar { display: none; }
  .k-sec > div:has(> .mus-cards) { min-width: 0; }   
  .mus-cards:has(.mus-card + .mus-card) .mus-card { flex: 0 0 78%; scroll-snap-align: start; }
}
@media (max-width: 640px) {
  :root { --fs-1: 13px; }
  :is(main, footer) a:not([class]):not(.mode-tabs a, .contemp-grid a, .hm-row a), .gl, .back, .mc-visit, .k-path a { position: relative; }
  :is(main, footer) a:not([class]):not(.mode-tabs a, .contemp-grid a, .hm-row a)::after, .gl::after, .back::after, .mc-visit::after, .k-path a::after { content: ""; position: absolute; inset: -8px -2px; }
  details.how summary { min-height: 32px; padding-block: 0; }
  .more-bones summary, .mus-more summary, .k-orig summary { padding-block: 6px; }   
  .mm-zoom, .mm-pagesh, .logo, input[type=range] { min-height: 32px; }
  .chart details > summary { padding-block: 6px; }
  .ob-bl small { font-size: 13px; }
}
@media (max-width: 640px) {
  .top { transition: transform .25s ease; }
  html.hdr-up .top { transform: translateY(calc(-100% - 6px)); }   
  .k-nav { transition: top .25s ease; }
  html.hdr-up .k-nav { top: 0; }
  html.hdr-up .k-sec { scroll-margin-top: 60px; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) { .top, .k-nav { transition: none; } }
@media (max-width: 640px) {
  [data-view="katalog"] .cat-lead { display: none; }
  [data-view="katalog"] .hero { padding-bottom: 0; }
  .cat-letters-wrap .letters { mask-image: linear-gradient(90deg, #000 78%, transparent 99%); -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent 99%); }
  .row-st .badge[data-term]::before { content: ""; position: absolute; inset: -3px -2px; }
}
.jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 4px; }
.jump button { font: inherit; font-size: var(--fs-2); min-height: 32px; padding: 0 12px 0 10px; border-radius: var(--r-s); border: 0; background: var(--surface); color: var(--fg); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.jump button::before { content: "↓"; color: var(--muted); }
.jump button:hover { background: var(--surface-2); }
.jump-abc button { min-width: 34px; padding: 0 10px; justify-content: center; font-weight: 600; }
.jump-abc button::before { content: none; }
.jump-to { scroll-margin-top: calc(var(--hdr-h, 60px) + 14px); }
.jump-to:focus { outline: none; }
.jump-to:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.ncard .art svg.grp { color: var(--faint); opacity: .6; }
.stats.st-big { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 22px; margin: 6px 0 2px; }
.stats.st-big span { display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.stats.st-big b { font-size: var(--fs-7); line-height: 1.1; }
@media (max-width: 640px) { .stats.st-big { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
details.ob-all { margin-top: 18px; }
details.ob-all > summary { cursor: pointer; font-weight: 600; font-size: var(--fs-4); padding-block: 6px; }
details.ob-all[open] > summary { margin-bottom: 10px; }

.seo-page{max-width:760px;margin:24px auto;padding:0 16px;font:16px/1.55 system-ui,sans-serif}.seo-page[hidden]{display:none!important}#app>.seo-page{margin:24px 0;padding:0}#app>.seo-page>header{display:none}
