/* Hot Takes — dark glossy steel-blue theme */

:root {
  --bg-0: #0A101E;
  --bg-1: #16233C;
  --glow: #17284A;
  --accent: #5B9BFF;
  --c-skeptic: #F08A6A;
  --c-optimist: #67D9A3;
  --c-analyst: #7FB4F5;
  --c-oracle: #B39AF2;
  --text: #E7EEFA;
  --text-dim: #8FA3C8;
  --line: rgba(143, 163, 200, 0.18);
  --card-grad: linear-gradient(160deg, rgba(47, 68, 112, 0.8), rgba(15, 25, 46, 0.92));
  --serif: "Piazzolla", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg-0);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.55;
  overflow-x: clip;
}

/* fixed gradient layer instead of background-attachment: fixed —
   iOS Safari does not support fixed attachment and stretches the gradient
   over the whole document height */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 600px at 50% -10%, #1d3158 0%, transparent 60%),
    radial-gradient(900px 500px at 88% 12%, rgba(91, 155, 255, 0.1) 0%,
    transparent 55%),
    radial-gradient(800px 520px at 8% 38%, rgba(179, 154, 242, 0.08) 0%,
    transparent 55%),
    radial-gradient(900px 600px at 82% 92%, rgba(240, 138, 106, 0.07) 0%,
    transparent 55%),
    linear-gradient(180deg, var(--bg-0) 0%, #131f36 55%, var(--bg-1) 100%);
  pointer-events: none;
}

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

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

.mono {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- top bar: ticker + language toggle ---------- */

.topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem max(1rem, env(safe-area-inset-right)) 0.4rem
    max(1rem, env(safe-area-inset-left));
  border-bottom: 1px solid var(--line);
  background: rgba(10, 16, 30, 0.7);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.ticker {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%,
    transparent);
}
.ticker-track {
  display: inline-flex;
  animation: ticker 26s linear infinite;
  will-change: transform;
}
.ticker-track span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  padding-right: 4rem;
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.lang-toggle {
  display: flex;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
}
.pill {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-decoration: none;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  color: var(--text-dim);
}
.pill.active {
  background: var(--accent);
  color: #071022;
  font-weight: 700;
}

/* ---------- masthead ---------- */

.masthead {
  text-align: center;
  padding: 3rem 1rem 1.5rem;
  position: relative;
}
.masthead::before {
  content: "";
  position: absolute;
  inset: -30px 0 auto 0;
  height: 280px;
  background:
    radial-gradient(460px 200px at 50% 45%, rgba(91, 155, 255, 0.14),
    transparent 70%),
    radial-gradient(280px 140px at 38% 30%, rgba(240, 138, 106, 0.07),
    transparent 70%);
  pointer-events: none;
}
.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  margin: 0;
  letter-spacing: -0.01em;
}
.brand a {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}
.brand-mark {
  width: 0.92em;
  height: 0.92em;
  flex-shrink: 0;
  border-radius: 22%;
  box-shadow:
    0 0 18px rgba(91, 155, 255, 0.35),
    0 6px 18px rgba(3, 7, 16, 0.5);
}
.brand-flame,
.brand-flame-inner {
  transform-origin: 256px 300px;
  animation: flame-flicker 3.2s ease-in-out infinite;
}
.brand-flame-inner {
  animation-duration: 2.1s;
  animation-delay: -0.7s;
}
@keyframes flame-flicker {
  0%,
  100% {
    transform: scale(1) translateY(0);
  }
  30% {
    transform: scale(1.04, 0.98) translateY(2px);
  }
  60% {
    transform: scale(0.97, 1.04) translateY(-3px);
  }
}
.brand .glow {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(91, 155, 255, 0.65), 0 0 60px rgba(91, 155, 255,
    0.35);
}
.tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-dim);
  margin: 0.3rem 0 1.2rem;
  font-size: 1.05rem;
}
.mainnav {
  display: flex;
  justify-content: center;
  gap: 0.5rem 1.6rem;
  flex-wrap: wrap;
}
.mainnav a {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
}
.mainnav a:hover {
  color: var(--accent);
}

/* ---------- layout ---------- */

main {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 max(1rem, env(safe-area-inset-right)) 4rem
    max(1rem, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.section-title {
  font-family: var(--serif);
  font-size: 1.6rem;
}

/* ---------- glossy cards ---------- */

.card {
  position: relative;
  overflow: hidden;
  background: var(--card-grad);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(3, 7, 16, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s
    ease;
}

/* diagonal glass reflection */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 28%,
    transparent 44%
  );
  pointer-events: none;
}

/* sheen sweep on hover */
.card::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  width: 34%;
  left: -60%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09),
    transparent);
  pointer-events: none;
  transition: left 0.7s ease;
}

.card:hover::after,
.card:focus-within::after {
  left: 135%;
}

.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--persona, var(--accent)) 45%,
    transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 26px 56px rgba(3, 7, 16, 0.68),
    0 0 34px color-mix(in srgb, var(--persona, var(--accent)) 14%, transparent);
}

/* cards and content children stay above the reflection layers */
.card > * {
  position: relative;
  z-index: 1;
}

/* ---------- issue ---------- */

.issue-meta {
  text-align: center;
}
.headline {
  font-family: var(--serif);
  font-weight: 600;
  text-align: center;
  font-size: clamp(1.5rem, 4.2vw, 2.6rem);
  line-height: 1.2;
  margin: 0.4rem auto 1rem;
  max-width: 46rem;
}
.sources {
  text-align: center;
  margin-bottom: 1.8rem;
}
.sources a {
  color: var(--text-dim);
}
.sources-label {
  color: var(--accent);
}

.takes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
@media (max-width: 900px) {
  .takes {
    grid-template-columns: 1fr;
  }
}

.take {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-top: 3px solid var(--persona);
}
.take-head {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.doodle {
  color: var(--persona, var(--accent));
  flex-shrink: 0;
  display: inline-flex;
}
.doodle-big svg {
  width: 84px;
  height: 84px;
}
.take-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0;
  color: var(--persona, var(--text));
}
.take-note {
  margin: 0.1rem 0 0;
}
.take-body {
  font-family: var(--serif);
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}
.take-body p {
  margin: 0 0 0.7em;
}

.vote-btn,
.bet-btn,
.roast-btn,
.share-btn {
  font-family: var(--mono);
  font-size: 0.8rem;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 55%),
    rgba(91, 155, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color 0.15s, background 0.15s, transform 0.1s, box-shadow
    0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
}
.vote-btn:hover,
.bet-btn:hover,
.roast-btn:hover,
.share-btn:hover {
  border-color: var(--persona, var(--accent));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 55%),
    rgba(91, 155, 255, 0.16);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 4px 16px color-mix(in srgb, var(--persona, var(--accent)) 22%,
    transparent);
}
.vote-btn {
  margin-top: auto;
}
.vote-btn[disabled],
.bet-btn[disabled] {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

/* vote bar */
.votebox {
  text-align: center;
  margin-top: 1.4rem;
  padding: 1.6rem 2rem;
}
.vote-q {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin: 0 0 1rem;
}
.vote-bar {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
}
.bar-seg {
  display: block;
  height: 100%;
  transition: width 0.5s ease;
}
.vote-status {
  min-height: 1.2em;
  margin: 0.6rem 0 0;
}

/* ---------- oracle ---------- */

.oracle-text {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 1rem 0 0.4rem;
  border-left: 3px solid var(--c-oracle);
  padding-left: 1rem;
}
.oracle-text p {
  margin: 0;
}
.oracle-due {
  margin: 0 0 1rem;
}
.bet-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.bet-hit:hover {
  border-color: var(--c-optimist);
}
.bet-miss:hover {
  border-color: var(--c-skeptic);
}
.bet-status {
  min-height: 1.2em;
}
.oracle-disclaimer {
  color: var(--c-oracle);
  opacity: 0.85;
}

.oracle-hero {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  flex-wrap: wrap;
}
.acc-number {
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--c-oracle);
}
.oracle-acc {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.pred-table {
  width: 100%;
  border-collapse: collapse;
}
.pred-table td {
  border-top: 1px solid var(--line);
  padding: 0.8rem 0.6rem;
  vertical-align: top;
}
.pred-text {
  font-family: var(--serif);
}
.pred-text p {
  margin: 0;
}
.pred-verdict {
  margin-top: 0.4rem;
}
.pred-status {
  white-space: nowrap;
}
.pred-hit .pred-status {
  color: var(--c-optimist);
}
.pred-miss .pred-status {
  color: var(--c-skeptic);
}
.pred-unverifiable .pred-status {
  color: var(--text-dim);
}
.pred-pending .pred-status {
  color: var(--c-oracle);
}

/* ---------- roast ---------- */

.roast-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.6rem;
}
.roast-form textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem;
  resize: vertical;
}
.roast-form textarea:focus-visible {
  outline-color: var(--c-skeptic);
}
.roast-btn {
  align-self: flex-start;
}
.roast-result {
  margin-top: 1rem;
  border-top: 1px dashed var(--line);
  padding-top: 1rem;
}
.roast-score {
  color: var(--c-skeptic);
  font-size: 0.9rem;
}
.share-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.roast-page {
  max-width: 44rem;
  margin: 0 auto;
  width: 100%;
}
.roast-score-big {
  margin: 0.5rem 0 0;
}
.score-number {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 6rem;
  color: var(--c-skeptic);
  line-height: 1;
}
.score-denominator {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--text-dim);
}
.roast-rated-line {
  color: var(--c-skeptic);
}
.roast-input-quote {
  font-style: italic;
  color: var(--text-dim);
  margin: 0.3rem 0 0;
  border-left: 3px solid var(--line);
  padding-left: 1rem;
}
.roast-input-quote p {
  margin: 0;
}
.roast-verdict {
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* ---------- archive ---------- */

.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.archive-row {
  display: grid;
  grid-template-columns: 4rem 8rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  background: rgba(22, 35, 60, 0.35);
}
.archive-row:hover {
  border-color: var(--accent);
}
.archive-headline {
  font-family: var(--serif);
}
@media (max-width: 600px) {
  .archive-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* ---------- misc ---------- */

.empty-state {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.empty-state h2 {
  font-family: var(--serif);
}

.footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  border-top: 1px solid var(--line);
}
.footer a {
  color: var(--text-dim);
}

/* ---------- gloss & motion ---------- */

/* small blurred waving Ukrainian flag, top-left corner (decorative) */
.ua-flag {
  position: fixed;
  top: 52px;
  left: 26px;
  width: 84px;
  height: 54px;
  border-radius: 6px;
  background: linear-gradient(180deg, #005bbb 0%, #005bbb 50%, #ffd500 50%,
    #ffd500 100%);
  filter: blur(7px) saturate(0.9);
  opacity: 0.55;
  pointer-events: none;
  z-index: 5;
  transform-origin: left center;
  animation: flag-wave 5s ease-in-out infinite;
}
@keyframes flag-wave {
  0%,
  100% {
    transform: skewY(3deg) scaleX(1);
  }
  25% {
    transform: skewY(-2.5deg) scaleX(0.97);
  }
  50% {
    transform: skewY(2deg) scaleX(1.02);
  }
  75% {
    transform: skewY(-3deg) scaleX(0.98);
  }
}
@media (max-width: 700px) {
  .ua-flag {
    width: 56px;
    height: 36px;
    left: 12px;
  }
}

/* pulsing neon glow on the masthead */
.brand .glow {
  animation: glow-pulse 4.5s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%,
  100% {
    text-shadow:
      0 0 18px rgba(91, 155, 255, 0.65),
      0 0 60px rgba(91, 155, 255, 0.35);
  }
  50% {
    text-shadow:
      0 0 26px rgba(91, 155, 255, 0.95),
      0 0 90px rgba(91, 155, 255, 0.5);
  }
}

/* metallic sheen on the headline */
.headline {
  background: linear-gradient(180deg, #fff 0%, var(--text) 55%, #a7b9dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--text); /* fallback when clip is unsupported */
}

/* doodles gently bob */
.doodle svg {
  animation: bob 6s ease-in-out infinite;
}
.take-optimist .doodle svg {
  animation-delay: -2s;
}
.take-analyst .doodle svg {
  animation-delay: -4s;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-4px) rotate(-2.5deg);
  }
}

/* shimmer sliding along the vote bar */
.vote-bar {
  position: relative;
}
.vote-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 30%, rgba(255, 255, 255, 0.22)
    50%, transparent 70%);
  background-size: 220% 100%;
  animation: shimmer 3.2s linear infinite;
  pointer-events: none;
}
@keyframes shimmer {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -120% 0;
  }
}

/* sections rise in on load */
main > * {
  animation: rise 0.55s ease both;
}
main > *:nth-child(2) {
  animation-delay: 0.1s;
}
main > *:nth-child(3) {
  animation-delay: 0.2s;
}
main > *:nth-child(n + 4) {
  animation-delay: 0.3s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .brand .glow,
  .brand-flame,
  .brand-flame-inner,
  .doodle svg,
  .vote-bar::after,
  .ua-flag,
  main > * {
    animation: none;
  }
  .bar-seg {
    transition: none;
  }
  .card,
  .vote-btn,
  .bet-btn,
  .roast-btn,
  .share-btn {
    transition: none;
  }
  .card:hover,
  .vote-btn:hover,
  .bet-btn:hover,
  .roast-btn:hover,
  .share-btn:hover {
    transform: none;
  }
  .card::after {
    display: none;
  }
}

@media (max-width: 400px) {
  .masthead {
    padding-top: 2rem;
  }
  .card {
    padding: 1rem;
  }
  main {
    padding: 0 0.7rem 3rem;
  }
}

/* ---------- modern dynamics (2026 progressive enhancement) ---------- */

/* smooth cross-document transitions (View Transitions API) */
@view-transition {
  navigation: auto;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(91, 155, 255, 0.35);
  color: #fff;
}

/* typography niceties */
.headline,
.vote-q,
.section-title,
.take-name {
  text-wrap: balance;
}
.take-body p,
.oracle-text p,
.roast-verdict p {
  text-wrap: pretty;
}

/* pointer spotlight on glossy cards (set via --mx/--my from client.js) */
.card::before {
  background:
    radial-gradient(
    260px circle at var(--mx, 50%) var(--my, -20%),
    rgba(91, 155, 255, 0.12),
    transparent 65%
  ),
    linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 28%,
    transparent 44%
  );
}

/* ticker pauses so it can actually be read */
.ticker:hover .ticker-track {
  animation-play-state: paused;
}

/* button press + success pop micro-interactions */
.vote-btn:active,
.bet-btn:active,
.roast-btn:active,
.share-btn:active {
  transform: translateY(0) scale(0.97);
}
.pop {
  animation: pop 0.45s cubic-bezier(0.2, 2.2, 0.4, 1);
}
@keyframes pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

/* scroll-driven enhancements where supported */
@supports (animation-timeline: view()) {
  /* reading progress bar under the topbar */
  body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 20;
    transform-origin: left;
    background: linear-gradient(90deg, var(--c-skeptic), var(--accent),
      var(--c-oracle));
    animation: scroll-progress linear both;
    animation-timeline: scroll(root);
    pointer-events: none;
  }

  /* below-the-fold sections reveal as they scroll into view */
  .oracle,
  .roast,
  .votebox,
  .archive-row,
  .pred-row {
    animation: reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 42%;
  }
}
@keyframes scroll-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes reveal {
  from {
    opacity: 0.25;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .pop,
  body::after,
  .oracle,
  .roast,
  .votebox,
  .archive-row,
  .pred-row {
    animation: none;
  }
  .vote-btn:active,
  .bet-btn:active,
  .roast-btn:active,
  .share-btn:active {
    transform: none;
  }
  .card::before {
    background: linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.02) 28%,
      transparent 44%
    );
  }
}

/* ---------- how it works ---------- */

.how-intro {
  font-family: var(--serif);
  font-size: 1.1rem;
  max-width: 44rem;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.2rem;
}
.how-step {
  border-left: 3px solid var(--persona);
}
.how-body {
  margin: 0.6rem 0 0;
  max-width: 52rem;
}

/* ---------- mobile refinements ---------- */

/* comfortable touch targets on coarse pointers */
@media (pointer: coarse) {
  .vote-btn,
  .bet-btn,
  .roast-btn,
  .share-btn,
  .pill {
    min-height: 44px;
  }
  .pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
  }
}

@media (max-width: 640px) {
  .masthead {
    padding: 2.2rem 1rem 1.2rem;
  }
  .card {
    padding: 1.1rem;
  }
  main {
    gap: 1.6rem;
  }
  .sources {
    margin-bottom: 1.2rem;
  }
  .doodle-big svg {
    width: 64px;
    height: 64px;
  }
  .score-number {
    font-size: 4.4rem;
  }
  .acc-number {
    font-size: 2.6rem;
  }
  .oracle-hero {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  .oracle-hero .oracle-stats {
    width: 100%;
  }
  .bet-row {
    width: 100%;
  }
  .bet-row .bet-btn {
    flex: 1 1 45%;
  }
  .roast-btn {
    align-self: stretch;
  }
  .ua-flag {
    top: 46px;
    left: 8px;
    width: 44px;
    height: 28px;
    opacity: 0.4;
  }
  .footer {
    padding: 1.6rem 1rem 2.4rem;
  }

  /* oracle track record: 3-column table becomes stacked cards */
  .pred-table,
  .pred-table tbody,
  .pred-table tr,
  .pred-table td {
    display: block;
    width: 100%;
  }
  .pred-table tr {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.8rem;
    background: rgba(22, 35, 60, 0.35);
  }
  .pred-table td {
    border-top: none;
    padding: 0.15rem 0;
  }
  .pred-table td.pred-status {
    white-space: normal;
  }
}
