/* ==========================================================================
   MonkeyTypeHub — Neon Pulse typing test template
   Self-owned stylesheet. Scoped to body.mth-neon-app only.
   ========================================================================== */

@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/jakarta-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/jakarta-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jetbrains-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jetbrains-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

body.mth-neon-app {
  --bg: #0A0E0D;
  --surface: #121815;
  --surface-alt: #182420;
  --ink: #E9F5EF;
  --ink-muted: #7C9A8E;
  --accent: #2EE6A6;
  --accent-dim: #1FA87A;
  --danger: #FF5470;
  --caret-gold: #FFD166;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.mth-neon-app :where(*) { box-sizing: border-box; }
body.mth-neon-app :where(h1, h2, h3, p, ul, li, figure, blockquote) { margin: 0; padding: 0; font: inherit; }

.mth-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;
}

.mth-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.mth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 8px;
}
.mth-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.mth-logo-mark { width: 28px; height: 28px; flex-shrink: 0; border-radius: 7px; }
.mth-logo-text { display: flex; align-items: baseline; gap: 2px; }
.mth-logo span { color: var(--accent); }
.mth-header-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.mth-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  row-gap: 10px;
}

/* ---------- Config bar (mode tabs + toggles) ---------- */
.mth-config {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid rgba(46,230,166,0.12);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  margin: 20px auto 34px;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 14px;
}
.mth-config button {
  background: none;
  border: none;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: inherit;
  transition: color .15s ease, background-color .15s ease;
}
.mth-config button:hover { color: var(--ink); }
.mth-config button.active { color: var(--bg); background: var(--accent); font-weight: 500; }
.mth-config .mth-divider { width: 1px; height: 18px; background: rgba(124,154,142,0.3); margin: 0 4px; }
.mth-config .mth-toggle.on { color: var(--accent); }

/* ---------- Typing area ---------- */
.mth-stage {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  outline: none;
}
.mth-live-row {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 500;
  color: var(--accent);
  min-height: 0;
  height: 0;
  overflow: hidden;
  margin-bottom: 0;
  opacity: 0;
  transition: opacity .2s ease;
}
.mth-live-row.show {
  min-height: 38px;
  height: auto;
  overflow: visible;
  margin-bottom: 12px;
  opacity: 1;
}

.mth-words {
  font-family: var(--font-mono);
  font-size: 30px;
  line-height: 1.45;
  max-width: 900px;
  letter-spacing: 0.3px;
  filter: blur(0px);
  transition: filter .25s ease;
  user-select: none;
}
.mth-words.blurred { filter: blur(6px); }
.mth-word { display: inline-block; margin: 0 10px 4px 0; position: relative; }
.mth-char { color: var(--ink-muted); opacity: 0.45; }
.mth-char.correct { color: var(--ink); opacity: 1; }
.mth-char.incorrect { color: var(--danger); opacity: 1; text-decoration: underline; text-decoration-color: rgba(255,84,112,.6); text-underline-offset: 4px; }
.mth-char.extra { color: var(--danger); opacity: .8; }
.mth-word.current-word { }
.mth-caret {
  position: absolute;
  width: 2px;
  background: var(--caret-gold);
  box-shadow: 0 0 8px rgba(255,209,102,0.7);
  animation: mth-blink 1s steps(1) infinite;
  border-radius: 2px;
}
@keyframes mth-blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0.15; } }

.mth-focus-hint {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 22px;
  opacity: 0;
  transition: opacity .2s ease;
}
.mth-stage.unfocused .mth-focus-hint { opacity: 1; }

.mth-hidden-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  background: transparent;
  color: transparent;
}

/* ---------- Custom text input ---------- */
.mth-custom-input {
  max-width: 700px;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.mth-custom-input textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(46,230,166,0.2);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.6;
  padding: 16px;
  border-radius: var(--radius-md);
  resize: vertical;
}
.mth-custom-input textarea:focus { outline: none; border-color: var(--accent); }
.mth-custom-input textarea::placeholder { color: var(--ink-muted); }

.mth-restart-row {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.mth-restart-btn {
  background: none;
  border: 1px solid rgba(46,230,166,0.25);
  color: var(--ink-muted);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  cursor: pointer;
  transition: all .15s ease;
}
.mth-restart-btn:hover { color: var(--accent); border-color: var(--accent); }
.mth-kbd-hint { font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); }
.mth-kbd-hint kbd { background: var(--surface); border: 1px solid rgba(124,154,142,0.3); border-radius: 4px; padding: 1px 6px; }

/* ---------- Results panel ---------- */
.mth-results {
  display: none;
  max-width: 900px;
  margin: 0 auto;
  animation: mth-fade-up .35s ease;
}
.mth-results.show { display: block; }
@keyframes mth-fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.mth-results-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: stretch;
}
.mth-headline-stats { display: flex; flex-direction: column; gap: 24px; }
.mth-stat-big .mth-stat-label { font-family: var(--font-mono); font-size: 13px; color: var(--accent); text-transform: lowercase; }
.mth-stat-big .mth-stat-value { font-family: var(--font-heading); font-size: 64px; font-weight: 700; line-height: 1; color: var(--ink); }
.mth-stat-big .mth-stat-sub { font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); margin-top: 4px; }

.mth-chart-panel {
  background: var(--surface);
  border: 1px solid rgba(46,230,166,0.12);
  border-radius: var(--radius-md);
  padding: 16px;
}
.mth-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.mth-mini-stat { background: var(--surface); border: 1px solid rgba(46,230,166,0.1); border-radius: var(--radius-md); padding: 14px 16px; }
.mth-mini-stat .mth-stat-label { font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); }
.mth-mini-stat .mth-stat-value { font-family: var(--font-heading); font-size: 22px; font-weight: 700; margin-top: 4px; }

.mth-results-actions { display: flex; gap: 14px; margin-top: 28px; }
.mth-btn-primary {
  background: var(--accent);
  color: #04120C;
  border: none;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  cursor: pointer;
  font-family: var(--font-body);
}
.mth-btn-primary:hover { background: var(--accent-dim); }
.mth-btn-ghost {
  background: none;
  border: 1px solid rgba(46,230,166,0.25);
  color: var(--ink-muted);
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  cursor: pointer;
  font-family: var(--font-body);
}
.mth-btn-ghost:hover { color: var(--accent); border-color: var(--accent); }

.mth-pb-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,230,166,0.1);
  border: 1px solid rgba(46,230,166,0.3);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.mth-lb-submit {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.mth-lb-submit input {
  background: var(--surface);
  border: 1px solid rgba(46,230,166,0.2);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  width: 160px;
}
.mth-lb-submit input:focus { outline: none; border-color: var(--accent); }
.mth-lb-status { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }

/* ---------- Leaderboard page ---------- */
.mth-lb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background: var(--surface);
  border: 1px solid rgba(46,230,166,0.12);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  margin: 8px auto 32px;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 14px;
}
.mth-lb-tabs button {
  background: none;
  border: none;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: inherit;
}
.mth-lb-tabs button:hover { color: var(--ink); }
.mth-lb-tabs button.active { color: var(--bg); background: var(--accent); font-weight: 500; }
.mth-lb-tabs .mth-divider { width: 1px; height: 18px; background: rgba(124,154,142,0.3); margin: 0 4px; }

.mth-lb-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(46,230,166,0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.mth-lb-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 14px; }
.mth-lb-table th {
  text-align: left;
  color: var(--ink-muted);
  font-weight: 500;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(124,154,142,0.15);
  text-transform: lowercase;
}
.mth-lb-table td { padding: 12px 18px; border-bottom: 1px solid rgba(124,154,142,0.08); }
.mth-lb-table tr:last-child td { border-bottom: none; }
.mth-lb-table tr:nth-child(even) { background: rgba(46,230,166,0.02); }
.mth-lb-rank { color: var(--accent); font-weight: 500; width: 40px; }
.mth-lb-rank.gold { color: var(--caret-gold); }
.mth-lb-wpm { color: var(--ink); font-weight: 500; }
.mth-lb-empty { padding: 60px 20px; text-align: center; color: var(--ink-muted); font-family: var(--font-mono); }

/* ---------- Theme switcher ---------- */
.mth-theme-picker { position: relative; }
.mth-theme-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid rgba(46,230,166,0.15);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.mth-theme-btn:hover { color: var(--accent); border-color: var(--accent); }
.mth-theme-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  flex-shrink: 0;
}
.mth-theme-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: var(--surface);
  border: 1px solid rgba(46,230,166,0.15);
  border-radius: var(--radius-md);
  padding: 10px;
  width: 240px;
  z-index: 50;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.mth-theme-panel.open { display: block; }
.mth-theme-search-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid rgba(46,230,166,0.15);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.mth-theme-search-input:focus { outline: none; border-color: var(--accent); }
.mth-theme-search-input::placeholder { color: var(--ink-muted); }
.mth-theme-list {
  max-height: 300px;
  overflow-y: auto;
}
.mth-theme-swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  text-align: left;
  transition: background-color .12s ease;
}
.mth-theme-swatch:hover { background: rgba(46,230,166,0.08); }
.mth-theme-swatch.active { background: rgba(46,230,166,0.14); }
.mth-theme-dots {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.mth-theme-dots span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.25);
  margin-left: -4px;
}
.mth-theme-dots span:first-child { margin-left: 0; }
.mth-theme-swatch-name { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }

body.mth-light-theme .mth-chart-panel canvas { filter: none; }

/* ---------- Language switcher (same visual pattern as theme switcher) ---------- */
.mth-lang-picker { position: relative; }
.mth-lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.mth-lang-btn:hover { color: var(--ink); }
.mth-lang-panel {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  background: var(--surface);
  border: 1px solid rgba(46,230,166,0.15);
  border-radius: var(--radius-md);
  padding: 10px;
  width: 220px;
  z-index: 50;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.mth-lang-panel.open { display: block; }
.mth-lang-search-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid rgba(46,230,166,0.15);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.mth-lang-search-input:focus { outline: none; border-color: var(--accent); }
.mth-lang-search-input::placeholder { color: var(--ink-muted); }
.mth-lang-list { max-height: 260px; overflow-y: auto; }
.mth-lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
}
.mth-lang-item:hover { background: rgba(46,230,166,0.08); }
.mth-lang-item.active { background: rgba(46,230,166,0.14); color: var(--accent); }

/* ---------- Below-the-fold marketing sections ---------- */
.mth-section {
  padding: 100px 0;
  border-top: 1px solid rgba(124,154,142,0.12);
}
#faq { padding-top: 50px; }
#from-blog { padding-top: 50px; }
#everything-needed { padding-top: 50px; }
.mth-section-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.mth-section h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  max-width: 14ch;
}
.mth-section p.mth-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 46ch;
  margin-top: 18px;
}
.mth-feature-panel {
  background: var(--surface);
  border: 1px solid rgba(46,230,166,0.12);
  border-radius: var(--radius-md);
  padding: 28px;
}
.mth-feature-panel .mth-feature-num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 13px;
}
.mth-feature-panel h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  margin-top: 8px;
}
.mth-feature-panel p { color: var(--ink-muted); margin-top: 8px; font-size: 15px; line-height: 1.55; }

.mth-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.mth-bento .b-lg { grid-column: span 4; }
.mth-bento .b-sm { grid-column: span 2; }
.mth-bento .b-half { grid-column: span 3; }
.mth-bento > div {
  background: var(--surface);
  border: 1px solid rgba(46,230,166,0.12);
  border-radius: var(--radius-md);
  padding: 24px;
}
.mth-bento h3 { font-family: var(--font-heading); font-size: 19px; font-weight: 700; }
.mth-bento p { color: var(--ink-muted); font-size: 14px; margin-top: 8px; line-height: 1.55; }
.mth-bento .b-metric { font-family: var(--font-heading); font-size: 40px; font-weight: 700; color: var(--accent); }

.mth-faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mth-faq-item {
  background: var(--surface);
  border: 1px solid rgba(46,230,166,0.12);
  border-radius: var(--radius-md);
  padding: 22px 26px;
}
.mth-faq-item h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}
.mth-faq-item p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.6;
}

.mth-footer {
  border-top: 1px solid rgba(124,154,142,0.12);
  padding: 40px 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-muted);
}

/* ---------- Article / content pages ---------- */
.mth-article {
  max-width: 720px;
  margin: 20px auto 80px;
  font-family: var(--font-body);
  color: var(--ink);
}
.mth-article h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.15;
  margin-bottom: 28px;
}
.mth-article h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin: 40px 0 14px;
}
.mth-article h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  margin: 28px 0 10px;
}
.mth-article p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: 18px;
}
.mth-article strong { color: var(--ink); font-weight: 600; }
.mth-article a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(46,230,166,0.3); }
.mth-article a:hover { text-decoration-color: var(--accent); }
.mth-article ul, .mth-article ol {
  margin: 0 0 18px 22px;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.7;
}
.mth-article li { margin-bottom: 8px; }
.mth-article li::marker { color: var(--accent); }
.mth-article blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin: 24px 0;
  color: var(--ink-muted);
  font-style: italic;
}
.mth-article hr { border: none; border-top: 1px solid rgba(124,154,142,0.15); margin: 36px 0; }
.mth-related { margin-top: 40px; }
.mth-related .mth-blog-grid { grid-template-columns: repeat(2, 1fr); margin-bottom: 0; }
@media (max-width: 860px) { .mth-related .mth-blog-grid { grid-template-columns: 1fr; } }

.mth-author-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid rgba(46,230,166,0.12);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 40px;
}
.mth-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}
.mth-author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 6px;
}
.mth-author-bio {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Blog index ---------- */
.mth-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 60px;
}
.mth-blog-card {
  display: block;
  background: var(--surface);
  border: 1px solid rgba(46,230,166,0.12);
  border-radius: var(--radius-md);
  padding: 26px;
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.mth-blog-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.mth-blog-card-date { font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); margin-bottom: 10px; }
.mth-blog-card h2, .mth-blog-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 10px;
}
.mth-blog-card p { color: var(--ink-muted); font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.mth-blog-card-read { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
@media (max-width: 860px) {
  .mth-blog-grid { grid-template-columns: 1fr; }
}
.mth-blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 60px;
  flex-wrap: wrap;
}
.mth-blog-pagination .page-numbers {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(46,230,166,0.15);
  background: var(--surface);
}
.mth-blog-pagination .page-numbers:hover { color: var(--accent); border-color: var(--accent); }
.mth-blog-pagination .page-numbers.current { background: var(--accent); color: var(--bg); font-weight: 500; border-color: var(--accent); }
.mth-blog-pagination .page-numbers.dots { background: none; border: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .mth-words { font-size: 22px; line-height: 1.7; }
  .mth-live-row { font-size: 24px; }
  .mth-results-grid { grid-template-columns: 1fr; }
  .mth-mini-stats { grid-template-columns: repeat(2, 1fr); }
  .mth-section-split { grid-template-columns: 1fr; gap: 32px; }
  .mth-section h2 { font-size: 30px; max-width: none; }
  .mth-bento { grid-template-columns: repeat(2, 1fr); }
  .mth-bento .b-lg, .mth-bento .b-sm, .mth-bento .b-half { grid-column: span 2; }
  .mth-header { flex-direction: column; gap: 10px; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .mth-caret { animation: none; opacity: 1; }
  .mth-results { animation: none; }
}
