/* ============================================================
   DealArena marketing — Changelog ("patch notes") page
   Ported from the changelog design handoff (patch-notes redesign)
   All selectors namespaced under .p-changelog
   ============================================================ */

html:has(.p-changelog) { scroll-behavior: smooth; }

.p-changelog {
  --cl-orange: #ef5920;
  --cl-orange-soft: #ff8a4d;
  --cl-link: #c4471a;
  --cl-gold: #ffd23f;
  --cl-pink: #d63060;
  --cl-ink: #0d100e;
  --cl-body: #3b423d;
  --cl-muted: #6b736d;
  --cl-faint: #9aa19c;
  --cl-dark-muted: #7a857e;
  --cl-dark-faint: #4a544d;
  --cl-dark-body: #b6c0b9;
  --cl-dark-bright: #e8efe9;
  --cl-bg: #f5f4ef;
  --cl-card: #ffffff;
  --cl-chip-bg: #efeee8;
  --cl-track: #e3e2db;
  --cl-line: #e0dfd8;
  --cl-line-2: #cfceca;
  --cl-term-bg: #141414;
  --cl-term-bar: #1a1a1a;
  --cl-term-line: #2a2a2a;
  --cl-sans: 'Inter', system-ui, sans-serif;
  --cl-disp: 'Space Grotesk', sans-serif;
  --cl-mono: 'JetBrains Mono', monospace;

  font-family: var(--cl-sans);
  background: var(--cl-bg);
  color: var(--cl-ink);
}
.p-changelog ::selection { background: rgba(239,89,32,0.25); }
.p-changelog a { text-decoration: none; }
.p-changelog input::placeholder { color: var(--cl-faint); }

@keyframes clPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.72); } }
@keyframes clBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes clToast { 0% { transform: translateY(16px); opacity: 0; } 12% { transform: translateY(0); opacity: 1; } 86% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-8px); opacity: 0; } }

.p-changelog .cl-wrap { max-width: 1280px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }

/* ---------- Hero ---------- */
.p-changelog .cl-hero { padding-top: 56px; padding-bottom: 36px; }
.p-changelog .cl-eyebrow {
  font-family: var(--cl-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cl-orange); margin: 0 0 14px;
}
.p-changelog .cl-h1 {
  font-family: var(--cl-disp); font-size: clamp(42px, 6vw, 66px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.02; margin: 0; text-wrap: balance;
}
.p-changelog .cl-h1 .glow { color: var(--cl-orange); text-shadow: 0 0 18px rgba(239,89,32,0.3); }
.p-changelog .cl-lede { font-size: 18px; color: var(--cl-body); line-height: 1.6; max-width: 680px; margin: 20px 0 0; }

/* ---------- Terminal ---------- */
.p-changelog .cl-term {
  margin-top: 32px; max-width: 880px; background: var(--cl-term-bg);
  border: 1px solid var(--cl-term-line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 48px rgba(13,16,14,0.18), 0 0 0 4px rgba(239,89,32,0.06);
  cursor: text; position: relative;
}
.p-changelog .cl-term-bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 16px;
  background: var(--cl-term-bar); border-bottom: 1px solid var(--cl-term-line);
}
.p-changelog .cl-term-dot { width: 10px; height: 10px; border-radius: 50%; background: #353535; }
.p-changelog .cl-term-dot.hot { background: var(--cl-orange); }
.p-changelog .cl-term-label { margin-left: 10px; font-family: var(--cl-mono); font-size: 11px; color: var(--cl-dark-muted); letter-spacing: 0.06em; }
.p-changelog .cl-term-size { margin-left: auto; font-family: var(--cl-mono); font-size: 10px; color: var(--cl-dark-faint); }
.p-changelog .cl-term-body { position: relative; padding: 18px 20px 16px; }
.p-changelog .cl-crt-scan {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 3px);
}
.p-changelog .cl-crt-vign {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, transparent 62%, rgba(0,0,0,0.3) 100%);
}
.p-changelog .cl-term-text { font-family: var(--cl-mono); font-size: 12.5px; line-height: 1.75; color: var(--cl-dark-body); }
.p-changelog .cl-term-text .o { color: var(--cl-orange); }
.p-changelog .cl-term-text .g { color: var(--cl-gold); }
.p-changelog .cl-term-lines div { white-space: pre-wrap; word-break: break-word; }
.p-changelog .cl-term-prompt { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.p-changelog .cl-term-prompt .ps1 { color: var(--cl-orange); flex: none; }
.p-changelog .cl-term-input {
  flex: 1; background: transparent; border: 0; outline: none; color: var(--cl-dark-bright);
  font-family: var(--cl-mono); font-size: 12.5px; caret-color: var(--cl-orange); min-width: 60px;
}
.p-changelog .cl-term-cursor { width: 8px; height: 15px; background: var(--cl-orange); animation: clBlink 1.1s step-end infinite; flex: none; }
.p-changelog .cl-term-status { margin-top: 6px; font-size: 11px; color: var(--cl-dark-faint); }

/* ---------- Season progress ---------- */
.p-changelog .cl-season { margin-top: 20px; background: var(--cl-card); border: 1px solid var(--cl-line); border-radius: 14px; padding: 20px 24px; max-width: 880px; }
.p-changelog .cl-season-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  font-family: var(--cl-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
/* Muted, not brand. In the design this label and "road to v1.0 · 27%" are a
   pair: the left one inherits --ink-4 and only the right one is coloured. The
   port recoloured the right half and left this one brand-orange, which reads
   as two competing labels on one line. (--ink-4 itself is #aaa294, ~2.3:1 on
   this card; --cl-muted is the same role at a contrast that passes.) */
.p-changelog .cl-season-head .lead-lab { color: var(--cl-muted); font-weight: 700; }
/* The whole "Road to v1.0 · 27%" string sits in --brand-2 in the design; the
   older draft split it into a muted label plus a bold ink percentage. */
.p-changelog .cl-season-head .road { color: var(--cl-link); }
.p-changelog .cl-season-track { margin-top: 12px; height: 10px; background: var(--cl-track); border-radius: 999px; overflow: hidden; }
.p-changelog .cl-season-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--cl-orange), var(--cl-orange-soft));
  border-radius: 999px; box-shadow: 0 0 14px rgba(239,89,32,0.5);
  transition: width 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.p-changelog .cl-season-foot { margin-top: 10px; display: flex; justify-content: space-between; gap: 16px; font-family: var(--cl-mono); font-size: 10px; color: var(--cl-faint); }

/* ---------- Stat chips ---------- */
.p-changelog .cl-stats { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)); gap: 12px; max-width: 880px; }
.p-changelog .cl-stat { background: var(--cl-card); border: 1px solid var(--cl-line); border-radius: 10px; padding: 14px 16px; }
.p-changelog .cl-stat-label { font-family: var(--cl-mono); font-size: 10px; color: var(--cl-muted); letter-spacing: 0.08em; }
.p-changelog .cl-stat-val { font-family: var(--cl-disp); font-weight: 700; font-size: 24px; color: var(--cl-ink); margin-top: 4px; }
.p-changelog .cl-stat-val.hot { color: var(--cl-orange); }

/* ---------- Main / rail ---------- */
.p-changelog .cl-main { padding-top: 8px; display: flex; gap: 48px; align-items: flex-start; flex-wrap: wrap; }
.p-changelog .cl-rail { flex: 0 0 220px; position: sticky; top: 76px; display: flex; flex-direction: column; gap: 14px; min-width: 200px; }
.p-changelog .cl-rail-card { background: var(--cl-card); border: 1px solid var(--cl-line); border-radius: 12px; padding: 16px 18px; }
.p-changelog .cl-rail-lab { font-family: var(--cl-mono); font-size: 11px; color: var(--cl-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.p-changelog .cl-month-list { display: flex; flex-direction: column; gap: 2px; }
.p-changelog .cl-month-link {
  font-family: var(--cl-mono); font-size: 12px; color: var(--cl-body);
  padding: 7px 10px; border-radius: 6px; display: flex; justify-content: space-between; gap: 8px;
}
.p-changelog .cl-month-link:hover { background: var(--cl-chip-bg); color: var(--cl-orange); }
.p-changelog .cl-month-link .n { color: var(--cl-faint); }
.p-changelog .cl-next { display: flex; gap: 12px; align-items: center; }
.p-changelog .cl-next-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cl-orange);
  box-shadow: 0 0 12px rgba(239,89,32,0.5); animation: clPulse 1.6s ease-in-out infinite; flex: none;
}
.p-changelog .cl-next-title { font-family: var(--cl-disp); font-size: 14px; font-weight: 700; }
.p-changelog .cl-next-sub { font-family: var(--cl-mono); font-size: 10.5px; color: var(--cl-muted); margin-top: 2px; }
.p-changelog .cl-subscribe-stub {
  border: 1px dashed var(--cl-line-2); border-radius: 12px; padding: 14px 18px;
  font-family: var(--cl-mono); font-size: 11px; color: var(--cl-muted); line-height: 1.8;
}
.p-changelog .cl-subscribe-stub a { color: var(--cl-link); }
.p-changelog .cl-subscribe-stub a:hover { color: var(--cl-orange); }

/* ---------- Stream ---------- */
.p-changelog .cl-stream { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding-bottom: 8px; }

/* Filter chips */
.p-changelog .cl-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.p-changelog .cl-filters .lab { font-family: var(--cl-mono); font-size: 11px; color: var(--cl-faint); letter-spacing: 0.1em; text-transform: uppercase; margin-right: 4px; }
.p-changelog .cl-chip {
  font-family: var(--cl-mono); font-size: 12px; font-weight: 600; padding: 7px 14px;
  border-radius: 999px; border: 1px solid var(--cl-line-2); background: var(--cl-card);
  color: var(--cl-body); cursor: pointer;
}
.p-changelog .cl-chip.active { border-color: var(--cl-ink); background: var(--cl-ink); color: var(--cl-bg); }

/* Empty state */
.p-changelog .cl-empty {
  display: none; background: var(--cl-term-bg); border-radius: 14px; padding: 28px;
  font-family: var(--cl-mono); font-size: 13px; color: var(--cl-dark-body); line-height: 1.8;
}
.p-changelog .cl-empty .o { color: var(--cl-orange); }

/* Month dividers */
.p-changelog .cl-divider { display: flex; align-items: center; gap: 12px; margin-top: 14px; scroll-margin-top: 84px; }
.p-changelog .cl-divider span { font-family: var(--cl-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--cl-faint); }
.p-changelog .cl-divider .rule { flex: 1; height: 1px; background: var(--cl-line); }

/* ---------- Patch cards ---------- */
.p-changelog .cl-patch { background: var(--cl-card); border: 1px solid var(--cl-line); border-radius: 16px; padding: 26px 28px; }
.p-changelog .cl-patch:hover { border-color: var(--cl-line-2); box-shadow: 0 6px 24px rgba(13,16,14,0.05); }
.p-changelog .cl-meta {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  font-family: var(--cl-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.p-changelog .cl-ver { color: var(--cl-orange); font-weight: 700; padding: 3px 9px; background: rgba(239,89,32,0.06); border: 1px solid var(--cl-orange); border-radius: 6px; }
.p-changelog .cl-date { color: var(--cl-muted); }
.p-changelog .cl-tag { padding: 3px 9px; border-radius: 6px; font-weight: 700; }
.p-changelog .cl-tag.tag-new { color: var(--cl-link); background: rgba(239,89,32,0.07); border: 1px solid rgba(239,89,32,0.35); }
.p-changelog .cl-tag.tag-game { color: var(--cl-ink); background: rgba(255,210,63,0.28); border: 1px solid var(--cl-gold); }
.p-changelog .cl-tag.tag-buff, .p-changelog .cl-tag.tag-fix { color: var(--cl-body); background: var(--cl-chip-bg); border: 1px solid var(--cl-line-2); }
.p-changelog .cl-tag.tag-rework { color: var(--cl-pink); background: rgba(214,48,96,0.07); border: 1px solid rgba(214,48,96,0.4); }
.p-changelog .cl-tag.tag-classified { color: var(--cl-ink); background: var(--cl-gold); border: 1px solid var(--cl-gold); }
.p-changelog .cl-title {
  font-family: var(--cl-disp); font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.15; margin: 14px 0 6px; text-wrap: balance;
}
.p-changelog .cl-desc { font-size: 15px; color: var(--cl-body); line-height: 1.65; margin: 0 0 4px; max-width: 700px; }
.p-changelog .cl-bullets { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 12px 0 4px; padding: 0; }
.p-changelog .cl-bullets li { font-size: 14px; color: var(--cl-body); line-height: 1.6; padding-left: 18px; position: relative; }
.p-changelog .cl-bullets li::before {
  content: '+'; position: absolute; left: 0; top: 0;
  color: var(--cl-orange); font-family: var(--cl-mono); font-weight: 700;
}
.p-changelog .cl-bullets li b { color: var(--cl-ink); font-weight: 600; }
.p-changelog .cl-patch-links { margin-top: 16px; display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--cl-mono); font-size: 12px; font-weight: 600; }
.p-changelog .cl-patch-links a { color: var(--cl-link); }
.p-changelog .cl-patch-links a:hover { color: var(--cl-orange); text-decoration: underline; }

/* Classified (dark) card */
.p-changelog .cl-patch-dark { background: var(--cl-ink); border-color: var(--cl-ink); }
.p-changelog .cl-patch-dark:hover { border-color: var(--cl-ink); box-shadow: none; }
.p-changelog .cl-patch-dark .cl-ver { color: var(--cl-bg); background: transparent; border-color: var(--cl-dark-faint); }
.p-changelog .cl-patch-dark .cl-date { color: var(--cl-dark-muted); }
.p-changelog .cl-patch-dark .cl-title { color: var(--cl-bg); }
.p-changelog .cl-patch-dark .cl-desc { color: var(--cl-dark-body); }
.p-changelog .cl-redaction { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; font-family: var(--cl-mono); font-size: 12px; color: var(--cl-dark-faint); }
.p-changelog .cl-patch-dark .cl-patch-links a { color: var(--cl-gold); }
.p-changelog .cl-patch-dark .cl-patch-links a:hover { color: #ffffff; text-decoration: underline; }

/* ---------- CTA bands ---------- */
.p-changelog .cl-band { border-radius: 14px; padding: 22px 24px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.p-changelog .cl-band-kicker { font-family: var(--cl-mono); font-size: 11px; letter-spacing: 0.1em; font-weight: 700; }
.p-changelog .cl-band-title { font-family: var(--cl-disp); font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.p-changelog .cl-band-sub { font-family: var(--cl-mono); font-size: 11px; color: var(--cl-muted); margin-top: 4px; }

.p-changelog .cl-band-news { background: radial-gradient(420px 110px at 0% 100%, rgba(239,89,32,0.1), transparent 60%), var(--cl-card); border: 1px solid var(--cl-orange); padding: 20px 24px; }
.p-changelog .cl-band-news form { display: flex; gap: 8px; flex-wrap: wrap; }
.p-changelog .cl-band-news input {
  background: var(--cl-chip-bg); border: 1px solid var(--cl-line-2); border-radius: 9px;
  padding: 10px 14px; color: var(--cl-ink); font-family: var(--cl-mono); font-size: 13px; outline: none; width: 200px;
}
.p-changelog .cl-band-dark { background: #0d100e; padding: 26px 28px; gap: 24px; }
.p-changelog .cl-band-dark .cl-band-title { font-size: 22px; color: var(--cl-bg); }
.p-changelog .cl-band-dark .cl-band-sub { color: var(--cl-dark-muted); margin-top: 6px; }
.p-changelog .cl-band-ent { background: linear-gradient(120deg, rgba(239,89,32,0.08), transparent 55%), var(--cl-card); border: 1px solid var(--cl-line); }
.p-changelog .cl-band-ent .cl-band-kicker { color: var(--cl-orange); }
.p-changelog .cl-band-ent .cl-band-title { margin-top: 6px; }
.p-changelog .cl-band-pro { background: radial-gradient(420px 110px at 100% 0%, rgba(255,210,63,0.18), transparent 60%), var(--cl-card); border: 1px solid var(--cl-gold); }
.p-changelog .cl-band-pro .cl-band-kicker { color: var(--cl-link); }
.p-changelog .cl-band-pro .cl-band-title { margin-top: 6px; }

/* Buttons — press plates.
   The older draft lifted these on hover with a soft orange glow. The approved
   button is a plate with a 4px darker bottom edge that collapses under
   translateY(3px) on press; every other redesign stylesheet already speaks it.
   Ink on an orange fill is --on-brand (#201009), NEVER white: white on #ef5920
   is ~3:1 and fails at these sizes. Three fills here were #ffffff. */
.p-changelog .cl-btn {
  font-family: var(--cl-mono); font-size: 13px; font-weight: 700;
  border-radius: 10px; display: inline-block; cursor: pointer; border: 0;
}
.p-changelog .cl-btn-orange { background: var(--cl-orange); color: #201009; padding: 10px 16px; box-shadow: 0 4px 0 #a83a12; }
.p-changelog .cl-btn-orange:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #a83a12; }
.p-changelog .cl-btn-orange:active { transform: translateY(3px); box-shadow: 0 1px 0 #a83a12; }
.p-changelog .cl-btn-orange-lg { background: var(--cl-orange); color: #201009; padding: 13px 22px; box-shadow: 0 4px 0 #a83a12; }
.p-changelog .cl-btn-orange-lg:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #a83a12; }
.p-changelog .cl-btn-orange-lg:active { transform: translateY(3px); box-shadow: 0 1px 0 #a83a12; }
.p-changelog .cl-btn-outline { background: transparent; color: var(--cl-ink); border: 1px solid var(--cl-line-2); padding: 12px 20px; }
.p-changelog .cl-btn-outline:hover { border-color: var(--cl-orange); color: var(--cl-orange); }
.p-changelog .cl-btn-ink { background: var(--cl-ink); color: var(--cl-bg); padding: 12px 20px; box-shadow: 0 4px 0 #000000; }
.p-changelog .cl-btn-ink:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #000000; }
.p-changelog .cl-btn-ink:active { transform: translateY(3px); box-shadow: 0 1px 0 #000000; }

/* ---------- Origin marker ---------- */
.p-changelog .cl-origin {
  border: 1px dashed var(--cl-line-2); border-radius: 14px; padding: 20px 24px;
  font-family: var(--cl-mono); font-size: 12px; color: var(--cl-muted); line-height: 1.8;
}
.p-changelog .cl-origin .o { color: var(--cl-orange); font-weight: 700; }
.p-changelog .cl-origin .d { color: var(--cl-body); }
.p-changelog .cl-origin b { color: var(--cl-ink); font-weight: 600; }
.p-changelog .cl-origin a { color: var(--cl-link); font-weight: 600; }
.p-changelog .cl-origin a:hover { color: var(--cl-orange); }

/* ---------- Final CTA ---------- */
.p-changelog .cl-final-wrap { margin: 24px auto 0; padding-bottom: 72px; }
.p-changelog .cl-final {
  background: radial-gradient(700px 200px at 50% 0%, rgba(239,89,32,0.14), transparent 70%), #0d100e;
  border-radius: 20px; padding: 52px 32px; text-align: center;
}
.p-changelog .cl-final-kicker { font-family: var(--cl-mono); font-size: 11px; color: var(--cl-orange); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.p-changelog .cl-final h2 {
  font-family: var(--cl-disp); font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  letter-spacing: -0.025em; color: var(--cl-bg); margin: 14px auto 0; max-width: 640px; text-wrap: balance;
}
.p-changelog .cl-final-sub { font-family: var(--cl-mono); font-size: 12px; color: var(--cl-dark-muted); margin: 14px 0 0; }
.p-changelog .cl-final-btns { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.p-changelog .cl-btn-cta { background: var(--cl-orange); color: #201009; padding: 14px 26px; border-radius: 10px; font-family: var(--cl-mono); font-size: 14px; font-weight: 700; display: inline-block; box-shadow: 0 4px 0 #a83a12; }
.p-changelog .cl-btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #a83a12; }
.p-changelog .cl-btn-cta:active { transform: translateY(3px); box-shadow: 0 1px 0 #a83a12; }
.p-changelog .cl-btn-cta-ghost { background: transparent; color: var(--cl-dark-bright); border: 1px solid #353535; padding: 14px 26px; border-radius: 10px; font-family: var(--cl-mono); font-size: 14px; font-weight: 700; display: inline-block; }
.p-changelog .cl-btn-cta-ghost:hover { border-color: var(--cl-orange); color: var(--cl-orange); }

/* ---------- XP toast ---------- */
.p-changelog .cl-toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 500;
  background: var(--cl-ink); color: var(--cl-gold);
  font-family: var(--cl-mono); font-size: 13px; font-weight: 700;
  padding: 12px 18px; border-radius: 10px; border: 1px solid var(--cl-gold);
  box-shadow: 0 12px 32px rgba(13,16,14,0.35); display: none;
}

/* --- Phone ------------------------------------------------------------------
   The stat strip was repeat(4, minmax(130px, 1fr)): four 130px floors plus
   gaps is 556px, which never fits a 375px screen and pushed the whole page
   sideways. It steps down to two columns, then one. */
@media (max-width: 900px) {
  .p-changelog .cl-rail { position: static; flex: 1 1 100%; min-width: 0; }
  .p-changelog .cl-main { gap: 28px; }
}
@media (max-width: 700px) {
  .p-changelog .cl-wrap { padding-left: 18px; padding-right: 18px; }
  .p-changelog .cl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-changelog .cl-term { margin-top: 24px; }
  .p-changelog .cl-season { padding: 16px 18px; }
  .p-changelog .cl-band { padding: 18px; }
  .p-changelog .cl-band-news form { width: 100%; }
  /* 16px, not 13px: iOS zooms the whole page when a field under 16px takes
     focus, and the zoom is what leaves the page scrolled sideways afterwards.
     Same rule the mobile footer's newsletter field is gated on. */
  .p-changelog .cl-band-news input { width: 100%; min-width: 0; font-size: 16px; height: 48px; padding: 0 14px; }
  .p-changelog .cl-band-news button { min-height: 48px; }
  /* The same 16px rule, and the field it matters most for: the terminal search
     IS the page's search on a phone, and at 12.5px iOS zooms the moment it
     takes focus. The design's artboard sets 15px here, which still zooms.
     The prompt is a bare 21px text row here against the design's padded 48px
     box; the whole terminal is click-to-focus, but the row itself should still
     be a real target. */
  .p-changelog .cl-term-input { font-size: 16px; }
  .p-changelog .cl-term-prompt { min-height: 48px; }
  /* 44px minimum touch targets, per the phone designs. These are 30px links
     and chips at desktop sizes. */
  .p-changelog .cl-chip { min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; }
  .p-changelog .cl-month-link { min-height: 44px; align-items: center; }
  .p-changelog .cl-patch-links a { min-height: 44px; display: inline-flex; align-items: center; }
  /* The rail is desktop furniture but it goes full width at 900px, so these
     two are live phone targets at 14px tall. */
  .p-changelog .cl-subscribe-stub a { min-height: 44px; display: inline-flex; align-items: center; }
  /* The in-stream band buttons compute to 39-42px, under the floor. Only the
     newsletter submit and the two final-CTA buttons had been raised. */
  .p-changelog .cl-btn-orange-lg,
  .p-changelog .cl-btn-outline,
  .p-changelog .cl-btn-ink { min-height: 44px; display: inline-flex; align-items: center; }
  .p-changelog .cl-btn-cta,
  .p-changelog .cl-btn-cta-ghost { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; }
  .p-changelog .cl-final-btns { flex-direction: column; }
}
@media (max-width: 420px) {
  .p-changelog .cl-stats { grid-template-columns: minmax(0, 1fr); }
}
