@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/Baloo2-700.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 800;
  font-display: optional;
  src: url("../fonts/Baloo2-800.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: #fff4dd;
  --ink: #26201a;
  --ink-2: #5c5347;
  --ink-3: #877b6b;
  --accent: #ff5c2b;
  --sun: #ffd84d;
  --watch-paper: #fff0bd;
  --rose: #ffb9cc;
  --sky: #a5dcff;
  --peach: #ffb07a;
  --card: #fffdf7;
  --cg-empty: #f1e3c4;
  --cg-fill: var(--accent);
  --cg-banked: var(--peach);
  --cg-pelican: var(--rose);
  --accent-hover: #ee4518;
  --sun-hover: #ffe070;
  --mint: #b9e6a6;
  --on-accent: var(--card);
  --on-sun: var(--ink);
  --on-rose: var(--ink);
  --on-sky: var(--ink);
  --on-mint: var(--ink);
  --banked-copy: #8b3d1f;
  --watch-copy: #675015;
  --dot-ink: #26201a1a;
  --dialog-backdrop: #2a251f7a;
  --shadow-ink: var(--ink);
  --shadow-soft: #251f1a38;
  --border: 2px solid var(--ink);
  --shadow: 4px 4px 0 var(--shadow-ink);
  --shadow-sm: 3px 3px 0 var(--shadow-ink);
  --radius: 14px;
  --font-display: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --cell-size: 22px;
  --measure: 58ch;
  --digit-ease: cubic-bezier(.22, 1, .36, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: oklch(18% .012 70);
  --ink: oklch(93% .025 80);
  --ink-2: oklch(76% .025 75);
  --ink-3: oklch(66% .024 72);
  --accent: oklch(67% .2 38);
  --sun: oklch(75% .135 82);
  --watch-paper: oklch(30% .055 72);
  --rose: oklch(70% .12 355);
  --sky: oklch(71% .095 232);
  --peach: oklch(78% .12 48);
  --card: oklch(24% .014 70);
  --cg-empty: oklch(35% .022 75);
  --cg-banked: var(--peach);
  --accent-hover: oklch(62% .2 38);
  --sun-hover: oklch(79% .14 82);
  --mint: oklch(72% .11 145);
  --on-accent: oklch(20% .03 38);
  --on-sun: oklch(22% .04 82);
  --on-rose: oklch(20% .03 350);
  --on-sky: oklch(20% .03 235);
  --on-mint: oklch(20% .04 145);
  --banked-copy: var(--peach);
  --watch-copy: oklch(86% .09 82);
  --dot-ink: #f6e8cf14;
  --dialog-backdrop: #040302b8;
  --shadow-ink: oklch(8% .005 70);
  --shadow-soft: #0302028c;
}

* { box-sizing: border-box; }
html, body { max-width: 100%; margin: 0; padding: 0; overflow-x: hidden; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
a:hover, a:focus-visible { color: var(--accent); }
::selection { background: var(--sun); color: var(--on-sun); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.visually-hidden {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.page { max-width: 880px; margin: 0 auto; padding: 0 24px 72px; }
.sponsor-layout { width: 100%; }
.sponsor-rail, .sponsor-mobile { display: none; }
html[data-sponsors="0"] .sponsor-rail,
html[data-sponsors="0"] .sponsor-mobile { display: none !important; }
.sponsor-toggle { background: var(--mint); color: var(--on-mint); }

.sponsor-card {
  border: var(--border);
  border-radius: var(--radius);
  background: var(--card);
  min-height: 174px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  box-shadow: var(--shadow-sm);
  text-align: center;
  touch-action: manipulation;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 30px 16px 17px;
  text-decoration: none;
  transition: transform .14s, box-shadow .14s;
  display: flex;
  position: relative;
  overflow: hidden;
}
.sponsor-card:active { box-shadow: 0 0 0 var(--shadow-ink); transform: translate(3px, 3px); }
.sponsor-label {
  font-family: var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-size: 8px;
  font-weight: 700;
  position: absolute;
  top: 9px;
  left: 10px;
}
.sponsor-logo, .sponsor-advertise-mark {
  border: 2px solid var(--ink);
  background: var(--sun);
  width: 40px;
  height: 40px;
  color: var(--on-sun);
  font-family: var(--font-display);
  border-radius: 10px;
  flex: 0 0 40px;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  overflow: hidden;
}
.sponsor-copy { flex-direction: column; align-items: center; gap: 4px; min-width: 0; display: flex; }
.sponsor-copy strong {
  overflow-wrap: anywhere;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.1;
}
.sponsor-copy > span {
  color: var(--ink-2);
  font-family: var(--font-mono);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: 10px;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
}
.sponsor-card--advertise { background: var(--watch-paper); border-style: dashed; }
.sponsor-card--advertise .sponsor-advertise-mark {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 50%;
  font-size: 24px;
}
.sponsor-card--compact {
  text-align: left;
  flex-direction: row;
  justify-content: flex-start;
  gap: 10px;
  min-height: 64px;
  padding: 10px 12px;
}
.sponsor-card--compact .sponsor-label { font-size: 7px; top: 4px; left: auto; right: 8px; }
.sponsor-card--compact .sponsor-logo,
.sponsor-card--compact .sponsor-advertise-mark {
  border-radius: 9px;
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  font-size: 13px;
}
.sponsor-card--compact .sponsor-copy { align-items: flex-start; }
.sponsor-card--compact .sponsor-copy > span { -webkit-line-clamp: 1; max-width: 140px; }
.sponsor-card--advertise.sponsor-card--compact {
  border-color: var(--ink-2);
  min-height: 74px;
  box-shadow: 2px 2px 0 var(--shadow-ink);
}

.sponsor-dialog {
  border: var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  width: min(460px, 100% - 32px);
  max-height: calc(100vh - 32px);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--shadow-ink);
  padding: 30px;
  overflow: auto;
}
.sponsor-dialog::backdrop { background: var(--dialog-backdrop); }
.sponsor-dialog-close {
  border: 2px solid var(--ink);
  background: var(--card);
  width: 34px;
  height: 34px;
  color: var(--ink);
  cursor: pointer;
  font: 700 22px/1 var(--font-body);
  border-radius: 50%;
  place-items: center;
  padding: 0;
  display: grid;
  position: absolute;
  top: 12px;
  right: 12px;
}
.sponsor-dialog { position: relative; }
.sponsor-dialog-kicker {
  color: var(--ink-3);
  font-family: var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 42px 7px 0;
  font-size: 9px;
  font-weight: 700;
  display: block;
}
.sponsor-dialog h2 {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  text-wrap: balance;
  margin: 0 42px 10px 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.05;
}
.sponsor-dialog-sub {
  color: var(--ink-2);
  text-wrap: pretty;
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.5;
}
.sponsor-offer-facts {
  border: var(--border);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  border-radius: 11px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 22px;
  display: grid;
  overflow: hidden;
}
.sponsor-offer-fact { padding: 14px 15px; }
.sponsor-offer-fact--wide {
  border-bottom: 2px solid var(--ink);
  background: var(--sun);
  color: var(--on-sun);
  grid-column: 1 / -1;
}
.sponsor-offer-facts > div:last-child { border-left: 2px solid var(--ink); }
.sponsor-offer-facts dt {
  color: var(--ink-3);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 10px;
}
.sponsor-offer-fact--wide dt { color: currentColor; }
.sponsor-offer-facts dd {
  font-family: var(--font-body);
  margin: 3px 0 0;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}
.sponsor-offer-fact--wide dd { font-size: 34px; }
.sponsor-offer-facts small {
  color: var(--ink-3);
  font-family: var(--font-mono);
  margin-left: 3px;
  font-size: 11px;
  font-weight: 400;
}
.sponsor-pay-button {
  background: var(--accent);
  width: 100%;
  color: var(--on-accent);
  justify-content: center;
  border: var(--border);
  min-height: 44px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  cursor: pointer;
  border-radius: 12px;
  align-items: center;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
}
.sponsor-pay-button:hover { color: var(--on-accent); background: var(--accent-hover); }
.sponsor-dialog-steps {
  color: var(--ink-2);
  text-align: center;
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.4;
}
.sponsor-dialog-contact {
  color: var(--ink-3);
  font-family: var(--font-mono);
  text-align: center;
  margin: 7px 0 0;
  font-size: 10px;
}
.pay-ideas {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.pay-ideas li {
  border: 1.5px solid var(--ink);
  background: var(--card);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
}
.pay-ideas strong { font-family: var(--font-display); display: block; font-size: 14px; }

@media (hover: hover) {
  .sponsor-card:hover {
    color: var(--ink);
    box-shadow: 5px 5px 0 var(--shadow-ink);
    transform: translate(-1px, -1px);
  }
}

.masthead {
  align-items: center;
  gap: 16px;
  padding: 34px 0 4px;
  display: flex;
  position: relative;
}
.masthead-brand { align-items: center; gap: 14px; min-width: 0; display: flex; text-decoration: none; }
.masthead-brand:hover { color: var(--ink); }
.masthead-avatar {
  border: var(--border);
  width: 48px;
  height: 48px;
  box-shadow: var(--shadow-sm);
  border-radius: 50%;
  object-fit: cover;
  background: #f3ead3;
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1);
  transform: rotate(-4deg);
}
.masthead-brand:hover .masthead-avatar { transform: rotate(4deg) scale(1.06); }
.masthead-title {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  margin: 0;
  font-size: clamp(28px, 4.5vw, 36px);
  font-weight: 800;
  line-height: 1.05;
}
.masthead-side { white-space: nowrap; align-items: center; gap: 4px; margin-left: auto; display: flex; }
.x-link, .theme-toggle {
  width: 40px;
  height: 40px;
  color: var(--ink);
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 50%;
  flex: 0 0 40px;
  place-items: center;
  padding: 0;
  transition: transform .1s;
  display: inline-grid;
  position: relative;
  text-decoration: none;
}
.theme-toggle { display: none; }
.theme-controls-enabled .theme-toggle { display: inline-grid; }
.x-link:before, .theme-toggle:before {
  content: "";
  box-sizing: border-box;
  border: var(--border);
  background: var(--card);
  box-shadow: 1px 1px 0 var(--shadow-ink);
  pointer-events: none;
  border-radius: 50%;
  position: absolute;
  inset: 5px;
}
.x-link-icon { z-index: 1; fill: currentColor; width: 13px; height: 13px; position: relative; }
.theme-toggle-icons { z-index: 1; width: 14px; height: 14px; display: block; position: relative; }
.theme-toggle-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 14px;
  height: 14px;
  position: absolute;
  inset: 0;
}
.theme-toggle-icon--moon, :root[data-theme="dark"] .theme-toggle-icon--sun { opacity: 1; transform: scale(1); }
.theme-toggle-icon--sun, :root[data-theme="dark"] .theme-toggle-icon--moon { opacity: 0; transform: scale(.75); }

.subscription-actions { flex-wrap: wrap; align-items: center; gap: 9px; display: flex; }
.push-control { position: relative; }
.push-control[hidden] { display: none; }
.subscription-action {
  border: var(--border);
  min-height: 40px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  cursor: pointer;
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .1s, box-shadow .1s;
  display: inline-flex;
  background: var(--card);
  text-decoration: none;
}
.push-toggle { background: var(--sun); color: var(--on-sun); }
.push-toggle[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.subscription-action:active { box-shadow: 0 0 0 var(--shadow-ink); transform: translate(3px, 3px); }
.push-toggle-icon, .email-toggle-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 15px;
  height: 15px;
}
.email-toggle:hover, .email-toggle[aria-expanded="true"] { background: var(--rose); color: var(--on-rose); }
.email-subscribe-form { flex-wrap: nowrap; flex: 1 0 100%; align-items: flex-start; gap: 8px; padding-top: 3px; display: flex; }
.email-subscribe-form[hidden] { display: none; }
.email-input {
  border: var(--border);
  background: var(--card);
  width: min(280px, 100%);
  min-height: 40px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  font: 600 14px/1.2 var(--font-body);
  border-radius: 999px;
  flex: 0 280px;
  padding: 8px 13px;
}
.email-submit { background: var(--rose); color: var(--on-rose); flex: none; }
.email-hint {
  color: var(--ink-2);
  flex: 1 0 100%;
  margin: 1px 0 0;
  font-size: 13px;
  font-style: italic;
  line-height: 1.35;
}
.email-hint[hidden] { display: none; }
.email-hint[data-state="success"] { color: var(--ink); font-style: normal; font-weight: 650; }
.push-hint {
  width: max-content;
  max-width: 260px;
  color: var(--ink-2);
  z-index: 2;
  font-size: 13px;
  font-style: italic;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
}
.push-hint:empty { display: none; }

.hero { padding: 14px 0 0; }
.hero-explainer { max-width: var(--measure); color: var(--ink-2); margin: 0 0 16px; font-size: 17px; }
.hero > .subscription-actions { margin-bottom: 44px; }
.hero-card {
  background: var(--card);
  background-image: radial-gradient(var(--dot-ink) 1.5px, transparent 1.5px);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--shadow-ink);
  background-size: 18px 18px;
  padding: 26px 30px 30px;
  transform: rotate(-.4deg);
}
.hero-label {
  font-family: var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 14px;
  font-size: 12px;
  display: block;
}
.hero-figure {
  font-family: var(--font-display);
  letter-spacing: -.02em;
  color: var(--on-sun);
  background: var(--sun);
  border-radius: 10px;
  padding: 0 16px 4px;
  font-size: clamp(40px, 7.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  display: inline-block;
  transform: rotate(-1.2deg);
}
.hero-sub { font-family: var(--font-mono); color: var(--ink-3); margin: 14px 0 0; font-size: 13px; }
.hero-footer { justify-content: space-between; align-items: center; gap: 18px; min-height: 34px; margin-top: 14px; display: flex; }
.hero-footer .hero-sub { min-width: 0; margin: 0; }
.reset-plea-button {
  border: var(--border);
  background: var(--accent);
  min-height: 34px;
  box-shadow: 2px 2px 0 var(--shadow-ink);
  color: var(--on-accent);
  font-family: var(--font-display);
  cursor: pointer;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  text-decoration: none;
}
.reset-plea-button:hover { background: var(--accent-hover); color: var(--on-accent); }

@media (width >= 641px) {
  .hero-card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "label label" "figure plea" "footer footer";
    gap: 14px clamp(32px, 8vw, 120px);
    display: grid;
  }
  .hero-label { grid-area: label; margin-bottom: 0; }
  .hero-figure { grid-area: figure; justify-self: start; }
  .hero-footer { display: contents; }
  .hero-footer .hero-sub { grid-area: footer; justify-self: start; }
  .hero-footer .reset-plea { grid-area: plea; place-self: center end; }
}

.status-board {
  border: var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin: 28px 0 0;
  overflow: hidden;
}
.status-board-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 2px solid var(--ink);
  background: var(--watch-paper);
}
.status-board-head h2 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}
.status-board-asof {
  font-family: var(--font-mono);
  color: var(--ink-3);
  font-size: 11px;
}
.status-list { list-style: none; margin: 0; padding: 0; }
.status-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 2fr);
  gap: 10px 14px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1.5px solid var(--ink);
  text-decoration: none;
  color: inherit;
}
.status-list > li:first-child .status-row { border-top: 0; }
a.status-row:hover { background: var(--watch-paper); color: inherit; }
.status-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
}
.status-lab {
  display: block;
  font-family: var(--font-mono);
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.state-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 4px 9px;
  white-space: nowrap;
  justify-self: start;
}
.state-chip--nerfed { background: var(--accent); color: var(--on-accent); }
.state-chip--retest { background: var(--peach); color: var(--ink); }
.state-chip--alleged { background: var(--sun); color: var(--on-sun); }
.state-chip--quiet { background: var(--mint); color: var(--on-mint); }
.status-line {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.4;
}
.status-when {
  display: block;
  font-family: var(--font-mono);
  color: var(--ink-3);
  font-size: 11px;
  margin-top: 3px;
}

.stat-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
}
.stat-tile {
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 18px 16px;
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1);
}
.stat-tile--sun { background: var(--sun); color: var(--on-sun); transform: rotate(-1deg); }
.stat-tile--rose { background: var(--rose); color: var(--on-rose); transform: rotate(.8deg); }
.stat-tile--sky { background: var(--sky); color: var(--on-sky); transform: rotate(-.6deg); }
.stat-tile:hover { transform: rotate(0) translateY(-3px); }
.stat-tile dt {
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: currentColor;
  opacity: .75;
  margin: 0 0 4px;
  font-size: 11px;
}
.stat-label-short { display: none; }
.stat-tile dd {
  font-family: var(--font-display);
  color: currentColor;
  white-space: nowrap;
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.section-head { align-items: baseline; gap: 14px; margin-bottom: 18px; display: flex; }
.section-head h2 {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}
.section-sub { font-family: var(--font-mono); color: var(--ink-3); margin: 0; font-size: 12px; }
.graph-legend, .legend-item { align-items: center; display: flex; }
.graph-legend { flex-wrap: wrap; gap: 5px 12px; }
.legend-item { white-space: nowrap; gap: 5px; font-size: 13px; color: var(--ink-2); }
.legend-chip {
  border: 1.5px solid var(--ink);
  background: var(--cg-empty);
  vertical-align: -1px;
  border-radius: 3px;
  width: 11px;
  height: 11px;
  display: inline-block;
}
.legend-chip--confirmed { background: var(--cg-fill); }
.legend-chip--alleged { background: var(--cg-banked); }
.legend-chip--pelican { background: var(--cg-pelican); }

.graph-section { padding: 46px 0 0; }
.log-section { padding: 46px 0 8px; }
.graph-card {
  background: var(--card);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px 14px;
}
.cg-container { gap: 8px; max-width: 100%; display: flex; position: relative; }
.cg-weekdays { flex: none; gap: 4px; display: grid; }
.cg-weekday {
  font-family: var(--font-mono);
  color: var(--ink-3);
  align-items: center;
  font-size: 11px;
  display: flex;
  height: var(--cell-size);
}
.cg-scroll {
  scrollbar-width: thin;
  direction: rtl;
  max-width: 100%;
  margin: -4px;
  padding: 4px 4px 16px;
  overflow: auto hidden;
}
.cg-grid {
  direction: ltr;
  gap: 4px;
  width: max-content;
  display: grid;
  position: relative;
}
.cg-month {
  font-family: var(--font-mono);
  color: var(--ink-3);
  align-self: start;
  font-size: 11px;
}
.cg-cell {
  width: var(--cell-size);
  height: var(--cell-size);
  background: var(--cg-empty);
  cursor: pointer;
  border: none;
  border-radius: 6px;
  padding: 0;
  transition: transform .15s cubic-bezier(.34, 1.56, .64, 1);
  display: block;
  text-decoration: none;
}
.cg-cell[data-level="1"] {
  background: var(--cg-fill);
  border: 1.5px solid var(--ink);
  box-shadow: 1.5px 1.5px 0 var(--shadow-ink);
}
.cg-cell[data-reset-type="alleged"] { background: var(--cg-banked); }
.cg-cell[data-reset-type="pelican"] { background: var(--cg-pelican); }
.cg-cell:hover, .cg-cell:focus-visible { outline: none; transform: scale(1.22); }
.cg-cell--future { cursor: default; background: transparent; }
.cg-tooltip {
  background: var(--ink);
  width: max-content;
  color: var(--paper);
  font-family: var(--font-mono);
  pointer-events: none;
  z-index: 10;
  border-radius: 8px;
  max-width: 260px;
  padding: 9px 11px;
  font-size: 12px;
  line-height: 1.45;
  position: absolute;
  transform: translate(-50%, calc(-100% - 12px));
}

.log-list { flex-direction: column; gap: 22px; margin: 0; padding: 0; list-style: none; display: flex; }
.log-item { align-items: flex-start; gap: 14px; display: flex; }
.log-avatar {
  border: var(--border);
  width: 44px;
  height: 44px;
  box-shadow: 2px 2px 0 var(--shadow-ink);
  border-radius: 50%;
  flex: none;
  margin-top: 4px;
  object-fit: cover;
  background: var(--sun);
}
.log-bubble {
  background: var(--card);
  border: var(--border);
  min-width: 0;
  box-shadow: var(--shadow);
  border-radius: 16px;
  flex: 1;
  padding: 14px 18px;
  position: relative;
}
.log-bubble:before {
  content: "";
  background: var(--card);
  border-left: var(--border);
  border-bottom: var(--border);
  width: 13px;
  height: 13px;
  position: absolute;
  top: 18px;
  left: -8px;
  transform: rotate(45deg);
}
.log-item-meta { flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 8px; display: flex; }
.log-item-time {
  font-family: var(--font-display);
  background: var(--sun);
  color: var(--on-sun);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 1px 10px 2px;
  font-size: 14px;
  font-weight: 700;
}
.log-item-time[data-kind="confirmed"] { background: var(--accent); color: var(--on-accent); }
.log-item-time[data-kind="alleged"] { background: var(--peach); color: var(--ink); }
.log-item-time[data-kind="pelican"] { background: var(--rose); }
.log-item-abs { font-family: var(--font-mono); color: var(--ink-3); font-size: 11px; }
.log-item-title { font-family: var(--font-display); margin: 0 0 6px; font-size: 18px; font-weight: 800; line-height: 1.2; }
.log-item-text { color: var(--ink); margin: 0; font-size: 16px; line-height: 1.45; }
.log-item-link { font-family: var(--font-mono); margin-top: 10px; font-size: 12px; display: inline-block; }
.log-more { margin-top: 22px; }
.log-more-toggle {
  background: var(--paper);
  border: var(--border);
  width: fit-content;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  cursor: pointer;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
}
.log-more-toggle::-webkit-details-marker { display: none; }
.log-more-label-open, .log-more[open] .log-more-label-closed { display: none; }
.log-more[open] .log-more-label-open { display: inline; }
.log-list--more { margin-top: 22px; }

.pelican-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
[data-role="pelican-runs"],
[data-role="pelican-list"] {
  display: contents;
}
.pelican-stage {
  display: grid;
  gap: 18px;
}
.pelican-card {
  border: var(--border);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  padding: 14px 16px 16px;
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 6px;
  min-height: 132px;
}
.pelican-card:hover { color: inherit; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--shadow-ink); }
.pelican-card--house {
  grid-column: 1 / -1;
  background: var(--watch-paper);
  min-height: 0;
}
.pelican-kicker {
  font-family: var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 700;
}
.pelican-card h3 { font-family: var(--font-display); margin: 0; font-size: 20px; line-height: 1.1; }
.pelican-card p { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.4; }
.verdict {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 2px 8px;
  width: fit-content;
}
.verdict--ours { background: var(--sun); }
.verdict--strong { background: var(--mint); }
.verdict--mid { background: var(--sun); }
.verdict--retest { background: var(--peach); }
.verdict--pending { background: var(--cg-empty); }

.site-footer {
  border-top: var(--border);
  color: var(--ink-2);
  margin-top: 52px;
  padding-top: 18px;
  font-size: 13px;
}
.site-footer p { margin: 0 0 6px; }

.report-form, .email-block {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.report-form[hidden] { display: none; }
.report-form input, .report-form textarea, .report-form select {
  border: var(--border);
  background: var(--card);
  color: var(--ink);
  font: 600 14px/1.3 var(--font-body);
  border-radius: 9px;
  padding: 9px 11px;
  width: 100%;
}
.report-form textarea { min-height: 90px; resize: vertical; }

@media (width <= 1023px) {
  html:not([data-sponsors="0"]) .sponsor-mobile { margin: 28px 0 0; display: block; }
  html[data-mobile-sponsor] .sponsor-mobile .sponsor-card { display: none; }
  html[data-mobile-sponsor="0"] .sponsor-mobile .sponsor-card:first-child,
  html[data-mobile-sponsor="1"] .sponsor-mobile .sponsor-card:nth-child(2),
  html[data-mobile-sponsor="3"] .sponsor-mobile .sponsor-card:nth-child(4),
  html[data-mobile-sponsor="2"] .sponsor-mobile .sponsor-card:nth-child(3) { display: flex; }
  .sponsor-mobile .sponsor-card--compact { width: 100%; }
  .sponsor-mobile .sponsor-card--compact .sponsor-copy > span { max-width: none; }
}
@media (width >= 1024px) and (width <= 1343px) {
  html:not([data-sponsors="0"]) .sponsor-layout > .page { width: calc(100% - 320px); }
  .sponsor-rail {
    flex-direction: column;
    gap: 12px;
    width: 136px;
    display: flex;
    position: fixed;
    bottom: 16px;
  }
  .sponsor-rail--left { left: 16px; }
  .sponsor-rail--right { right: 16px; }
  .sponsor-rail .sponsor-card {
    text-align: left;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    min-height: 64px;
    padding: 10px;
  }
  .sponsor-rail .sponsor-label, .sponsor-rail .sponsor-copy > span { display: none; }
  .sponsor-rail .sponsor-copy strong { font-size: 12px; }
}
@media (width >= 1344px) {
  .sponsor-rail {
    flex-direction: column;
    gap: 16px;
    width: 200px;
    display: flex;
    position: fixed;
    bottom: 16px;
  }
  .sponsor-rail--left { left: 16px; }
  .sponsor-rail--right { right: 16px; }
  .sponsor-rail--left > .sponsor-card { transform: rotate(-.7deg); }
  .sponsor-rail--right > .sponsor-card { transform: rotate(.7deg); }
}

@media (width <= 640px) {
  :root { --cell-size: 15px; }
  .page { padding: 0 16px 56px; }
  .masthead { padding-top: 24px; }
  .hero > .subscription-actions { margin-bottom: 28px; }
  .hero-card { padding: 20px 18px 22px; overflow: hidden; }
  .hero-footer { gap: 10px; }
  .hero-footer .hero-sub { font-size: 11px; }
  .reset-plea-button { width: auto; min-height: 34px; padding: 0 8px; }
  .reset-plea-button-label { display: none; }
  .status-row { grid-template-columns: minmax(0, 1fr) auto; }
  .status-line { grid-column: 1 / -1; }
  .stat-row { gap: 12px; }
  .stat-tile { padding: 10px 12px 12px; }
  .stat-tile dt { font-size: 9px; letter-spacing: .04em; }
  .stat-label-full { display: none; }
  .stat-label-short { display: inline; }
  .stat-tile dd { font-size: 22px; }
  .pelican-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .stat-tile, .cg-cell, .masthead-avatar, .subscription-action, .sponsor-card { transition: none; }
}
