/* ==========================================================================
   Tangletris — content pages (pieces, worlds, how to play, daily) in English
   and Czech. Generated by dev/build-pages.mjs; the game itself uses
   styles.css. Same neon palette as the first world, no external requests.
   ========================================================================== */

/* --- Fonts ----------------------------------------------------------------
   The game's self-hosted fonts (SIL OFL, see fonts/): Press Start 2P for
   display headings, Space Grotesk (variable) for everything else. */
@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/press-start-2p-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/press-start-2p-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/space-grotesk-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/space-grotesk-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #07020f;
  --panel: rgba(24, 10, 46, 0.58);
  --panel-deep: rgba(7, 2, 15, 0.55);
  --border: rgba(255, 120, 230, 0.2);
  --line: rgba(255, 120, 230, 0.12);
  --text: #f3eeff;
  --text-soft: #e2d9fb;
  --dim: #b3a3d6;
  --accent: #22d3ee;
  --accent-2: #f472b6;
  --radius: 14px;
  --max: 980px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-display: "Press Start 2P", "Courier New", monospace;
  --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

/* --- Base ----------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

/* The glow behind everything, in the two accents and the violet between. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60rem 38rem at 6% -10%, rgba(34, 211, 238, 0.15), transparent 62%),
    radial-gradient(52rem 36rem at 104% 4%, rgba(244, 114, 182, 0.15), transparent 62%),
    radial-gradient(70rem 46rem at 50% 118%, rgba(167, 139, 250, 0.13), transparent 62%);
}

[hidden] {
  display: none !important;
}

img,
svg {
  max-width: 100%;
}

p,
ul,
ol,
dl,
table {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #8ff0ff;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

strong {
  font-weight: 700;
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  /* viewport-fit=cover: a phone held sideways puts its notch over the page
     edge, wider than the gutter. */
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -200px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* --- Header ---------------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 2, 15, 0.55);
  /* An installed iPhone app draws the page under the status bar. */
  padding-top: env(safe-area-inset-top, 0px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding-block: 14px;
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 0.8rem + 0.7vw, 1.2rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding-block: 6px;
}

.logo-a {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.5);
}

.logo-b {
  color: var(--accent-2);
  text-shadow: 0 0 18px rgba(244, 114, 182, 0.5);
}

.site-nav {
  order: 3;
  flex: 1 1 100%;
}

.site-nav ul,
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--dim);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(34, 211, 238, 0.13);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.5);
}

.site-nav .nav-play {
  color: #0b0418;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.site-nav .nav-play:hover {
  color: #0b0418;
  background: linear-gradient(135deg, #67e8f9, #f9a8d4);
}

.lang-switch {
  order: 2;
  margin-left: auto;
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.lang-switch:hover {
  color: var(--text);
  border-color: rgba(244, 114, 182, 0.55);
}

@media (min-width: 860px) {
  .site-nav {
    order: 2;
    flex: 1 1 auto;
  }
  .site-nav ul {
    justify-content: center;
  }
  .lang-switch {
    order: 3;
    margin-left: 0;
  }
}

/* --- Hero ------------------------------------------------------------------ */
.hero {
  padding-block: clamp(24px, 5vw, 56px) 4px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: var(--dim);
  font-size: 0.9rem;
}

.crumbs li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--accent-2);
}

.crumbs a {
  color: var(--dim);
}

.crumbs a:hover {
  color: var(--text);
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(1.2rem, 0.75rem + 2.2vw, 2rem);
  line-height: 1.4;
  color: var(--text);
  text-shadow:
    0 0 26px rgba(244, 114, 182, 0.35),
    0 0 2px rgba(34, 211, 238, 0.4);
}

.lead {
  max-width: 48rem;
  color: var(--text-soft);
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.28rem);
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  color: #0b0418;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow:
    0 10px 32px -10px rgba(244, 114, 182, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  color: #0b0418;
  background: linear-gradient(135deg, #67e8f9, #f9a8d4);
}

.btn-ghost {
  color: var(--text);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.5);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(34, 211, 238, 0.16);
}

.btn-play::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent currentColor;
}

@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: transform 0.15s ease, background 0.15s ease;
  }
  .btn:hover {
    transform: translateY(-1px);
  }
}

/* --- Sections -------------------------------------------------------------- */
main {
  display: block;
}

.section {
  margin-block: clamp(40px, 7vw, 72px);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(0.95rem, 0.78rem + 0.85vw, 1.3rem);
  line-height: 1.55;
  color: var(--text);
}

h2::before {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-right: 0.65em;
  border-radius: 2px;
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(244, 114, 182, 0.8);
  vertical-align: 0.02em;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.section-intro {
  max-width: 48rem;
  color: var(--text-soft);
}

.panel {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px -36px rgba(0, 0, 0, 0.9);
}

.panel > :last-child,
.card > :last-child {
  margin-bottom: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
}

.card {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.muted {
  color: var(--dim);
}

.small {
  font-size: 0.92rem;
}

.ticks {
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  margin-bottom: 0.7em;
  padding-left: 1.6em;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0.1em;
  top: 0.48em;
  width: 0.62em;
  height: 0.62em;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.7);
}

.ticks li:nth-child(3n + 2)::before {
  background: var(--accent-2);
  box-shadow: 0 0 10px rgba(244, 114, 182, 0.7);
}

.ticks li:nth-child(3n)::before {
  background: #a78bfa;
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.7);
}

.glossary {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 12px 20px;
  margin: 0;
}

.glossary div {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--panel-deep);
}

.glossary dt {
  color: var(--accent);
  font-weight: 700;
}

.glossary dd {
  margin: 2px 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

kbd {
  display: inline-block;
  min-width: 1.9em;
  margin: 1px 2px;
  padding: 1px 7px;
  border: 1px solid rgba(179, 163, 214, 0.45);
  border-bottom-width: 3px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.86em;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

samp,
.share-sample {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.share-sample {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 1em;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

/* --- Tables ---------------------------------------------------------------- */
.table-wrap {
  max-width: 100%;
  margin: 0 0 1em;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

/* Focusable so a keyboard can scroll a wide table on a phone. */
.table-wrap:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

caption {
  padding: 12px 16px 0;
  color: var(--dim);
  font-size: 0.92rem;
  text-align: left;
}

th,
td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--dim);
  font-size: 0.9rem;
  font-weight: 600;
}

tbody tr:last-child > * {
  border-bottom: 0;
}

tbody th {
  font-weight: 600;
  color: var(--text);
}

.num {
  text-align: right;
  white-space: nowrap;
}

.keys {
  white-space: nowrap;
}

/* --- Pieces ---------------------------------------------------------------- */
.piece {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-areas:
    "art head"
    "tip tip"
    "freq freq";
  gap: 0 16px;
  align-items: center;
  align-content: start;
  scroll-margin-top: 16px;
}

.piece-art {
  grid-area: art;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.07), transparent 70%),
    var(--panel-deep);
}

.piece-art svg {
  display: block;
  width: auto;
  height: auto;
  max-width: 82%;
  max-height: 82%;
  overflow: visible;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.piece-head {
  grid-area: head;
  margin-bottom: 14px;
}

.piece h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-bottom: 8px;
}

.piece .emoji {
  font-size: 1em;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag {
  padding: 1px 9px;
  border: 1px solid rgba(179, 163, 214, 0.35);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.6;
}

.tag-classic {
  border-color: rgba(34, 211, 238, 0.6);
  color: #a5f3fc;
}

.tag-common {
  border-color: rgba(74, 222, 128, 0.6);
  color: #bbf7d0;
}

.tag-uncommon {
  border-color: rgba(192, 132, 252, 0.7);
  color: #e9d5ff;
}

.tag-rare {
  border-color: rgba(251, 191, 36, 0.7);
  color: #fde68a;
}

.piece-tip {
  grid-area: tip;
  margin-bottom: 0.6em;
  font-size: 0.98rem;
}

.piece .freq {
  grid-area: freq;
  margin: 0;
  color: var(--dim);
  font-size: 0.88rem;
}

/* --- Worlds ---------------------------------------------------------------- */
.worlds {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.world {
  --w-accent: var(--accent);
  --w-accent-2: var(--accent-2);
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border: 1px solid color-mix(in srgb, var(--w-accent) 38%, transparent);
  border-radius: var(--radius);
  background: var(--panel);
  scroll-margin-top: 16px;
}

.world-media {
  position: relative;
  margin: 0;
  background: linear-gradient(135deg, var(--w-accent), var(--w-accent-2));
}

.world-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.world-body {
  padding: clamp(18px, 3vw, 26px);
}

.world-body h2 {
  margin-bottom: 10px;
}

.world-body h2::before {
  background: var(--w-accent);
  box-shadow: 0 0 12px var(--w-accent);
}

.level-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 2px 10px;
  border: 1px solid var(--w-accent);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
}

.track {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-left: 3px solid var(--w-accent-2);
  border-radius: 0 10px 10px 0;
  background: var(--panel-deep);
  font-size: 0.96rem;
}

.track b {
  color: #fff;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--dim);
  font-size: 0.85rem;
}

.swatches li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.swatches i {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--c);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.25),
    0 0 12px -2px var(--c);
}

.swatches code {
  color: var(--text-soft);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85rem;
}

@media (min-width: 760px) {
  .world {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  }
  .world:nth-child(even) .world-media {
    order: 2;
  }
  .world-media img {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
  }
  .world-media {
    min-height: 300px;
  }
}

/* --- Modes ----------------------------------------------------------------- */
.mode h3 {
  color: var(--accent);
}

.mode:nth-child(2n) h3 {
  color: var(--accent-2);
}

.mode .more {
  font-weight: 600;
}

/* --- FAQ ------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 12px;
}

.faq .card h3 {
  font-size: 1.08rem;
}

.faq .card p {
  color: var(--text-soft);
}

/* --- Daily ----------------------------------------------------------------- */
.daily-widget {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 26px 0 0;
  padding: 16px 20px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.13), rgba(244, 114, 182, 0.13)),
    var(--panel);
  font-size: 1.05rem;
}

.daily-widget .dot {
  color: var(--accent-2);
}

.daily-widget strong {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.8;
}

.daily-widget [data-daily] {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
  .daily-widget {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .daily-widget .dot {
    display: none;
  }
}

.steps {
  counter-reset: step;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  margin-bottom: 0.9em;
  padding-left: 2.6em;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05em;
  display: grid;
  place-items: center;
  width: 1.8em;
  height: 1.8em;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0418;
  font-family: var(--font-display);
  font-size: 0.75rem;
}

/* --- Closing call to action -------------------------------------------------- */
.cta-final {
  margin-block: clamp(48px, 8vw, 80px) 0;
  text-align: center;
  background:
    radial-gradient(40rem 16rem at 50% 0%, rgba(34, 211, 238, 0.14), transparent 70%),
    radial-gradient(40rem 16rem at 50% 100%, rgba(244, 114, 182, 0.14), transparent 70%),
    var(--panel);
}

.cta-final h2::before {
  display: none;
}

.cta-final p {
  max-width: 40rem;
  margin-inline: auto;
  color: var(--text-soft);
}

.cta-final .cta-row {
  justify-content: center;
  margin-top: 18px;
}

/* --- Footer ---------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 80px);
  padding-block: 30px 40px;
  border-top: 1px solid var(--line);
  background: rgba(7, 2, 15, 0.6);
  color: var(--dim);
  font-size: 0.95rem;
}

.footer-nav {
  margin-bottom: 16px;
}

.footer-nav a {
  display: inline-block;
  padding: 4px 10px 4px 0;
  color: var(--text-soft);
}

.footer-nav a[aria-current="page"] {
  color: var(--accent);
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer a {
  color: var(--text-soft);
}

.site-footer a:hover {
  color: var(--text);
}

.tm {
  font-size: 0.85rem;
}

/* --- Motion ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* --- Czech -----------------------------------------------------------------
   Press Start 2P squeezes accented letters into its 8×8 cell (ů, ť, Ř, Š come
   out garbled), so Czech headings use Space Grotesk at a matching size. The
   logo has no diacritics and stays pixel — same rule as the game. */
html[lang="cs"] h1,
html[lang="cs"] h2,
html[lang="cs"] .daily-widget strong {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
}

html[lang="cs"] h1 {
  font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.8rem);
  line-height: 1.15;
}

html[lang="cs"] h2 {
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem);
  line-height: 1.3;
}

html[lang="cs"] .daily-widget strong {
  font-size: 1.05rem;
  line-height: 1.6;
}
