:root {
  color-scheme: dark;
  --bg: #07110d;
  --panel: rgba(8, 25, 22, 0.78);
  --panel-strong: rgba(9, 37, 35, 0.94);
  --text: #fff8e8;
  --muted: #a9c4bb;
  --fire: #ff3d1f;
  --gold: #ffd166;
  --grass: #19c37d;
  --blue: #21d4fd;
  --line: rgba(255, 255, 255, 0.15);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 61, 31, 0.42), transparent 26rem),
    radial-gradient(circle at 88% 12%, rgba(33, 212, 253, 0.28), transparent 24rem),
    linear-gradient(135deg, #07110d 0%, #081c19 42%, #150a0a 100%);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 82%);
}

a { color: inherit; text-decoration: none; }

button, input, select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgba(5, 14, 12, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-cluster {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  margin-left: auto;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 42px;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  filter: drop-shadow(0 0 16px rgba(255, 209, 102, 0.34));
}

.brand-mark.trophy-brand {
  width: 34px;
  height: 46px;
  border-radius: 4px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 209, 102, 0.48));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-width: 58px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  text-align: center;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  border-color: rgba(255, 209, 102, 0.45);
  background: rgba(255, 209, 102, 0.10);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.language-picker select {
  min-width: 76px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(8, 25, 22, 0.94);
  padding: 0 12px;
}

.timezone-chip {
  display: inline-flex;
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: transparent;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 13, 0.86), rgba(7, 17, 13, 0.30) 48%, rgba(7, 17, 13, 0.72)),
    linear-gradient(0deg, rgba(7, 17, 13, 0.96), transparent 46%),
    url("assets/hero-real-clash.png") center top / cover no-repeat;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(25, 195, 125, 0.55), transparent 58%),
    linear-gradient(0deg, rgba(255, 61, 31, 0.3), transparent);
  animation: pulseField 4s ease-in-out infinite alternate;
}

@keyframes pulseField {
  from { opacity: 0.72; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 860px;
  margin-bottom: 16px;
  font-size: clamp(3.2rem, 9vw, 7.8rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.06;
}

.hero-copy {
  max-width: 680px;
  color: #e5f8ef;
  font-size: clamp(1rem, 2.2vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.btn.primary {
  border-color: transparent;
  color: #170800;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--fire));
  box-shadow: 0 14px 40px rgba(255, 61, 31, 0.34);
}

.btn.ghost:hover,
.btn.copy:hover { border-color: var(--gold); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 209, 102, 0.42);
  border-radius: 50%;
  color: #120900;
  background: var(--gold);
  cursor: pointer;
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  width: fit-content;
  margin-top: 28px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.countdown b {
  color: var(--gold);
  font-size: 1.8rem;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

.section-head,
.split-section,
.game-teaser {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-head a { color: var(--gold); font-weight: 800; }

.muted { color: var(--muted); line-height: 1.75; }

.star-section .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  text-align: left;
}

.star-section .section-head .muted {
  max-width: 360px;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: right;
}

.ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(25,195,125,0.08));
}

.stat b {
  display: block;
  color: var(--gold);
  font-size: 2.6rem;
}

.stat span { color: var(--muted); }

.team-card-grid,
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.prediction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.team-card,
.prediction-card,
.match-card,
.oracle-form,
.oracle-card,
.city-grid article,
.flag-choice,
.star-choice,
.info-panel,
.news-ticker,
.matchday-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.scroll-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(150px, 18vw, 210px);
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scrollbar-color: rgba(255, 209, 102, 0.6) rgba(255, 255, 255, 0.08);
  scroll-snap-type: x proximity;
}

.news-section,
.matchday-section {
  padding-bottom: 28px;
}

.news-section + .matchday-section {
  padding-top: 22px;
}

.news-ticker {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 14px 16px;
  overflow: hidden;
}

.news-ticker-meta {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.news-ticker-meta a,
.seed-summary h3 a {
  color: var(--gold);
  font-weight: 900;
}

.news-ticker-window {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.news-ticker-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: news-marquee 42s linear infinite;
}

.news-ticker:hover .news-ticker-track {
  animation-play-state: paused;
}

.news-ticker-track a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  max-width: min(460px, 72vw);
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #ecfff8;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-ticker-track a:hover {
  border-color: rgba(255, 209, 102, 0.72);
  color: var(--gold);
  background: rgba(255, 209, 102, 0.12);
}

@keyframes news-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.matchday-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.matchday-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 240px;
  padding: 18px;
}

.matchday-card h3 {
  margin: 0;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.matchday-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.matchday-title span {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.matchday-list {
  display: grid;
  gap: 8px;
}

.matchday-row {
  display: grid;
  grid-template-columns: minmax(64px, 0.28fr) minmax(0, 1fr);
  gap: 4px 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.matchday-row:hover {
  border-color: rgba(255, 209, 102, 0.68);
  background: rgba(255, 209, 102, 0.10);
}

.matchday-row small {
  grid-row: span 2;
  color: var(--muted);
}

.matchday-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.matchday-row span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.flag-choice,
.star-choice {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 166px;
  padding: 18px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
}

.flag-choice:hover,
.flag-choice.selected,
.star-choice:hover,
.star-choice.selected {
  border-color: rgba(255, 209, 102, 0.72);
  background: linear-gradient(135deg, rgba(255,209,102,0.18), rgba(25,195,125,0.10)), var(--panel);
  transform: translateY(-2px);
}

.flag-choice b,
.star-choice b {
  font-size: 1.02rem;
  line-height: 1.25;
}

.flag-choice small,
.star-choice small {
  color: var(--muted);
}

.flag.huge {
  display: block;
  font-size: 3rem;
  margin-bottom: 18px;
}

.flag-img {
  display: inline-block;
  width: 42px;
  height: 30px;
  border-radius: 4px;
  object-fit: cover;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.flag-swatch {
  position: relative;
  flex: 0 0 auto;
  background: #f4f4f4;
}

.flag-swatch::before,
.flag-swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flag-mex { background: linear-gradient(90deg, #006847 0 33%, #fff 33% 66%, #ce1126 66%); }
.flag-mex::after { inset: 38% 45%; border-radius: 50%; background: #b58b36; }
.flag-rsa { background: linear-gradient(180deg, #e03c31 0 33%, #fff 33% 40%, #007a4d 40% 60%, #fff 60% 67%, #001489 67%); }
.flag-kor { background: #fff; }
.flag-kor::before { inset: 30% 39%; border-radius: 50%; background: linear-gradient(180deg, #cd2e3a 0 50%, #0047a0 50%); }
.flag-kor::after { background: linear-gradient(90deg, transparent 0 12%, #111 12% 19%, transparent 19% 81%, #111 81% 88%, transparent 88%); opacity: .85; }
.flag-cze { background: linear-gradient(180deg, #fff 0 50%, #d7141a 50%); }
.flag-cze::before { clip-path: polygon(0 0, 48% 50%, 0 100%); background: #11457e; }
.flag-can { background: linear-gradient(90deg, #d52b1e 0 25%, #fff 25% 75%, #d52b1e 75%); }
.flag-can::after { inset: 28% 44%; background: #d52b1e; clip-path: polygon(50% 0, 62% 35%, 100% 28%, 70% 52%, 82% 100%, 50% 72%, 18% 100%, 30% 52%, 0 28%, 38% 35%); }
.flag-bih { background: #002f6c; }
.flag-bih::before { clip-path: polygon(43% 0, 100% 100%, 100% 0); background: #fcd116; }
.flag-bih::after { background: repeating-linear-gradient(135deg, transparent 0 12%, #fff 12% 15%, transparent 15% 22%); }
.flag-qat { background: linear-gradient(90deg, #fff 0 28%, #8a1538 28%); }
.flag-sui { background: #da291c; }
.flag-sui::after { inset: 25% 32%; background: linear-gradient(90deg, transparent 0 35%, #fff 35% 65%, transparent 65%), linear-gradient(180deg, transparent 0 35%, #fff 35% 65%, transparent 65%); }
.flag-bra { background: #009b3a; }
.flag-bra::before { inset: 18% 22%; background: #ffdf00; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.flag-bra::after { inset: 31% 39%; border-radius: 50%; background: #002776; }
.flag-mar { background: #c1272d; }
.flag-mar::after { inset: 33% 41%; background: #006233; clip-path: polygon(50% 0, 62% 35%, 100% 35%, 69% 57%, 82% 100%, 50% 70%, 18% 100%, 31% 57%, 0 35%, 38% 35%); }
.flag-hai { background: linear-gradient(180deg, #00209f 0 50%, #d21034 50%); }
.flag-sco { background: #005eb8; }
.flag-sco::before { background: linear-gradient(32deg, transparent 0 43%, #fff 43% 57%, transparent 57%), linear-gradient(-32deg, transparent 0 43%, #fff 43% 57%, transparent 57%); }
.flag-usa { background: repeating-linear-gradient(180deg, #b22234 0 7.7%, #fff 7.7% 15.4%); }
.flag-usa::before { inset: 0 56% 46% 0; background: #3c3b6e; }
.flag-par { background: linear-gradient(180deg, #d52b1e 0 33%, #fff 33% 66%, #0038a8 66%); }
.flag-aus { background: #012169; }
.flag-aus::after { inset: 42% 62% 20% 18%; border-radius: 50%; background: #fff; box-shadow: 18px -10px 0 -5px #fff, 26px 8px 0 -6px #fff; }
.flag-tur { background: #e30a17; }
.flag-tur::before { inset: 26% 44% 26% 23%; border-radius: 50%; background: #fff; }
.flag-tur::after { inset: 30% 48% 30% 29%; border-radius: 50%; background: #e30a17; box-shadow: 17px 2px 0 -5px #fff; }
.flag-ger { background: linear-gradient(180deg, #000 0 33%, #dd0000 33% 66%, #ffce00 66%); }
.flag-cur { background: #002b7f; }
.flag-cur::before { inset: 62% 0 22%; background: #f9e814; }
.flag-cur::after { inset: 14% 70% 55% 12%; border-radius: 50%; background: #fff; box-shadow: 12px 9px 0 -5px #fff; }
.flag-civ { background: linear-gradient(90deg, #f77f00 0 33%, #fff 33% 66%, #009e60 66%); }
.flag-ecu { background: linear-gradient(180deg, #ffdd00 0 50%, #034ea2 50% 75%, #ed1c24 75%); }
.flag-ned { background: linear-gradient(180deg, #ae1c28 0 33%, #fff 33% 66%, #21468b 66%); }
.flag-jpn { background: #fff; }
.flag-jpn::after { inset: 25% 35%; border-radius: 50%; background: #bc002d; }
.flag-swe { background: linear-gradient(90deg, transparent 0 30%, #fecc00 30% 42%, transparent 42%), linear-gradient(180deg, #006aa7 0 40%, #fecc00 40% 56%, #006aa7 56%); }
.flag-tun { background: #e70013; }
.flag-tun::before { inset: 23% 35%; border-radius: 50%; background: #fff; }
.flag-tun::after { inset: 34% 45% 34% 39%; border-radius: 50%; border: 2px solid #e70013; border-right-color: transparent; box-shadow: 10px 3px 0 -6px #e70013; }
.flag-bel { background: linear-gradient(90deg, #000 0 33%, #fae042 33% 66%, #ed2939 66%); }
.flag-egy { background: linear-gradient(180deg, #ce1126 0 33%, #fff 33% 66%, #000 66%); }
.flag-irn { background: linear-gradient(180deg, #239f40 0 33%, #fff 33% 66%, #da0000 66%); }
.flag-nzl { background: #012169; }
.flag-nzl::after { inset: 38% 60% 22% 20%; border-radius: 50%; background: #cc142b; box-shadow: 18px -9px 0 -4px #cc142b, 25px 8px 0 -5px #cc142b; }
.flag-esp { background: linear-gradient(180deg, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%); }
.flag-cpv { background: linear-gradient(180deg, #003893 0 45%, #fff 45% 52%, #cf2027 52% 60%, #fff 60% 67%, #003893 67%); }
.flag-ksa { background: #006c35; }
.flag-ksa::after { inset: 62% 18% 30%; background: #fff; }
.flag-uru { background: repeating-linear-gradient(180deg, #fff 0 11%, #0038a8 11% 22%); }
.flag-uru::before { inset: 0 68% 54% 0; background: #fff; }
.flag-uru::after { inset: 10% 78% 64% 8%; border-radius: 50%; background: #fcd116; }
.flag-fra { background: linear-gradient(90deg, #0055a4 0 33%, #fff 33% 66%, #ef4135 66%); }
.flag-sen { background: linear-gradient(90deg, #00853f 0 33%, #fdef42 33% 66%, #e31b23 66%); }
.flag-sen::after { inset: 33% 43%; background: #00853f; clip-path: polygon(50% 0, 62% 35%, 100% 35%, 69% 57%, 82% 100%, 50% 70%, 18% 100%, 31% 57%, 0 35%, 38% 35%); }
.flag-irq { background: linear-gradient(180deg, #ce1126 0 33%, #fff 33% 66%, #000 66%); }
.flag-nor { background: linear-gradient(90deg, transparent 0 28%, #fff 28% 44%, transparent 44%), linear-gradient(180deg, #ba0c2f 0 38%, #fff 38% 62%, #ba0c2f 62%); }
.flag-nor::after { background: linear-gradient(90deg, transparent 0 32%, #00205b 32% 40%, transparent 40%), linear-gradient(180deg, transparent 0 44%, #00205b 44% 56%, transparent 56%); }
.flag-arg { background: linear-gradient(180deg, #74acdf 0 33%, #fff 33% 66%, #74acdf 66%); }
.flag-arg::after { inset: 39% 45%; border-radius: 50%; background: #f6b40e; }
.flag-alg { background: linear-gradient(90deg, #006233 0 50%, #fff 50%); }
.flag-alg::after { inset: 28% 38%; border-radius: 50%; border: 4px solid #d21034; border-right-color: transparent; box-shadow: 13px 4px 0 -6px #d21034; }
.flag-aut { background: linear-gradient(180deg, #ed2939 0 33%, #fff 33% 66%, #ed2939 66%); }
.flag-jor { background: linear-gradient(180deg, #000 0 33%, #fff 33% 66%, #007a3d 66%); }
.flag-jor::before { clip-path: polygon(0 0, 48% 50%, 0 100%); background: #ce1126; }
.flag-por { background: linear-gradient(90deg, #006600 0 42%, #ff0000 42%); }
.flag-por::after { inset: 32% 52% 32% 34%; border-radius: 50%; background: #ffcc00; }
.flag-cod { background: linear-gradient(145deg, #007fff 0 42%, #f7d618 42% 48%, #ce1021 48% 58%, #f7d618 58% 64%, #007fff 64%); }
.flag-uzb { background: linear-gradient(180deg, #1eb53a 0 30%, #fff 30% 34%, #ce1126 34% 38%, #fff 38% 62%, #ce1126 62% 66%, #fff 66% 70%, #0099b5 70%); }
.flag-col { background: linear-gradient(180deg, #fcd116 0 50%, #003893 50% 75%, #ce1126 75%); }
.flag-eng { background: #fff; }
.flag-eng::after { background: linear-gradient(90deg, transparent 0 43%, #ce1124 43% 57%, transparent 57%), linear-gradient(180deg, transparent 0 38%, #ce1124 38% 62%, transparent 62%); }
.flag-cro { background: linear-gradient(180deg, #ff0000 0 33%, #fff 33% 66%, #171796 66%); }
.flag-cro::after { inset: 28% 40%; background: repeating-conic-gradient(#ff0000 0 25%, #fff 0 50%) 50% / 10px 10px; }
.flag-gha { background: linear-gradient(180deg, #ce1126 0 33%, #fcd116 33% 66%, #006b3f 66%); }
.flag-gha::after { inset: 34% 43%; background: #000; clip-path: polygon(50% 0, 62% 35%, 100% 35%, 69% 57%, 82% 100%, 50% 70%, 18% 100%, 31% 57%, 0 35%, 38% 35%); }
.flag-pan { background: linear-gradient(90deg, #fff 0 50%, #d21034 50%); }
.flag-pan::before { inset: 50% 50% 0 0; background: #005293; }
.flag-pan::after { inset: 0 50% 50% 0; background: radial-gradient(circle, #005293 0 22%, transparent 24%); }

.flag-img.huge {
  width: 96px;
  height: 64px;
  margin-bottom: 16px;
}

.flag-img.detail {
  width: 112px;
  height: 74px;
}

.flag-img.card-flag {
  width: 58px;
  height: 40px;
}

.flag-img.mini {
  width: 30px;
  height: 22px;
  flex: 0 0 auto;
}

.flag-img.title-flag {
  width: 54px;
  height: 36px;
  vertical-align: middle;
}

.team-card p,
.prediction-card p { color: var(--muted); line-height: 1.65; }

.title-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  color: var(--gold);
  font-size: 1em;
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(255, 209, 102, 0.45);
  vertical-align: middle;
}

.title-stars i {
  display: inline-block;
  width: 0.82em;
  height: 0.82em;
  background: currentColor;
  clip-path: polygon(50% 0, 61% 34%, 98% 34%, 68% 55%, 80% 92%, 50% 70%, 20% 92%, 32% 55%, 2% 34%, 39% 34%);
  filter: drop-shadow(0 0 9px rgba(255, 209, 102, 0.55));
}

.team-story {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.team-story p {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.84rem;
}

.team-story span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
}

.meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--grass), var(--gold), var(--fire));
}

.avatar {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  font-size: 1.65rem;
  background:
    radial-gradient(circle at 50% 32%, #ffd9b5 0 27%, transparent 28%),
    radial-gradient(circle at 50% 56%, rgba(255,255,255,0.92) 0 34%, transparent 35%),
    linear-gradient(135deg, var(--blue), var(--grass));
  box-shadow: inset 0 -12px 20px rgba(0,0,0,0.25), 0 12px 28px rgba(0,0,0,0.24);
}

.avatar.fra { background: radial-gradient(circle at 50% 32%, #c98a64 0 27%, transparent 28%), radial-gradient(circle at 50% 56%, rgba(16,72,164,0.95) 0 34%, transparent 35%), linear-gradient(135deg, #1b4ed8, #f5f7ff, #e21b3c); }
.avatar.arg { background: radial-gradient(circle at 50% 32%, #d7a27a 0 27%, transparent 28%), radial-gradient(circle at 50% 56%, rgba(127,202,238,0.95) 0 34%, transparent 35%), linear-gradient(135deg, #6fc8ff, #ffffff); }
.avatar.por { background: radial-gradient(circle at 50% 32%, #cc8c66 0 27%, transparent 28%), radial-gradient(circle at 50% 56%, rgba(176,26,46,0.95) 0 34%, transparent 35%), linear-gradient(135deg, #046a38, #d71920); }
.avatar.bra { background: radial-gradient(circle at 50% 32%, #b97952 0 27%, transparent 28%), radial-gradient(circle at 50% 56%, rgba(21,88,43,0.95) 0 34%, transparent 35%), linear-gradient(135deg, #009b3a, #ffdf00, #002776); }
.avatar.nor { background: radial-gradient(circle at 50% 32%, #e4b083 0 27%, transparent 28%), radial-gradient(circle at 50% 56%, rgba(186,12,47,0.95) 0 34%, transparent 35%), linear-gradient(135deg, #ba0c2f, #ffffff, #00205b); }
.avatar.esp { background: radial-gradient(circle at 50% 32%, #d59a74 0 27%, transparent 28%), radial-gradient(circle at 50% 56%, rgba(198,11,30,0.95) 0 34%, transparent 35%), linear-gradient(135deg, #c60b1e, #ffc400); }
.avatar.eng { background: radial-gradient(circle at 50% 32%, #d7a27a 0 27%, transparent 28%), radial-gradient(circle at 50% 56%, rgba(245,245,245,0.95) 0 34%, transparent 35%), linear-gradient(135deg, #ffffff, #ce1124); }
.avatar.jpn { background: radial-gradient(circle at 50% 32%, #d4a079 0 27%, transparent 28%), radial-gradient(circle at 50% 56%, rgba(245,245,245,0.95) 0 34%, transparent 35%), linear-gradient(135deg, #ffffff, #bc002d); }
.avatar.usa { background: radial-gradient(circle at 50% 32%, #c88d67 0 27%, transparent 28%), radial-gradient(circle at 50% 56%, rgba(34,64,143,0.95) 0 34%, transparent 35%), linear-gradient(135deg, #3c3b6e, #ffffff, #b22234); }
.avatar.ned { background: radial-gradient(circle at 50% 32%, #d39b73 0 27%, transparent 28%), radial-gradient(circle at 50% 56%, rgba(255,120,0,0.95) 0 34%, transparent 35%), linear-gradient(135deg, #ae1c28, #ffffff, #21468b); }

.avatar.big {
  width: 86px;
  height: 86px;
  font-size: 2rem;
}

.star-photo {
  display: grid;
  place-items: center;
  width: 76px;
  height: 86px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--gold);
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(33,212,253,0.25), rgba(255,61,31,0.24)),
    rgba(255, 255, 255, 0.08);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 -28px 35px rgba(0,0,0,0.28), 0 12px 28px rgba(0,0,0,0.24);
}

.real-photo {
  background-color: rgba(255, 255, 255, 0.08);
  background-image: url("assets/player-portraits-grid.png");
  background-size: 500% 200%;
  background-repeat: no-repeat;
}

.real-photo[data-custom-image="true"] {
  background-position: center top;
  background-size: cover;
}

.real-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.real-photo[data-portrait="pos-0"] { background-position: 0% 0%; }
.real-photo[data-portrait="pos-1"] { background-position: 25% 0%; }
.real-photo[data-portrait="pos-2"] { background-position: 50% 0%; }
.real-photo[data-portrait="pos-3"] { background-position: 75% 0%; }
.real-photo[data-portrait="pos-4"] { background-position: 100% 0%; }
.real-photo[data-portrait="pos-5"] { background-position: 0% 100%; }
.real-photo[data-portrait="pos-6"] { background-position: 25% 100%; }
.real-photo[data-portrait="pos-7"] { background-position: 50% 100%; }
.real-photo[data-portrait="pos-8"] { background-position: 75% 100%; }
.real-photo[data-portrait="pos-9"] { background-position: 100% 100%; }

.star-photo.loaded {
  border-color: rgba(255, 209, 102, 0.55);
}

.star-photo.big {
  width: 118px;
  height: 138px;
  font-size: 0;
}

.star-profile-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.star-profile-grid section {
  min-height: 118px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.star-profile-grid h4 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.86rem;
}

.star-profile-grid ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: #e8f5ef;
}

.star-profile-grid p {
  margin: 0 0 8px;
}

.star-profile-grid small {
  color: var(--muted);
}

.info-panel {
  display: grid;
  grid-template-columns: minmax(230px, auto) 1fr;
  gap: 18px;
  align-items: center;
  min-height: 150px;
  margin-top: 14px;
  padding: 20px;
}

.info-panel h3 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.info-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.info-flag {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 8px;
  font-size: 3.2rem;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.seed-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.seed-summary h3 {
  margin-bottom: 0;
}

.seed-detail {
  min-width: 0;
}

.star-choice .avatar,
.star-choice .star-photo {
  margin-bottom: 4px;
}

.city-grid b {
  display: block;
  margin: 8px 0;
}

.star-choice small,
.city-grid small,
.city-grid span {
  color: var(--muted);
}

.host-band {
  width: 100%;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(100deg, rgba(255,61,31,0.16), rgba(25,195,125,0.13), rgba(33,212,253,0.12));
}

.city-grid article {
  min-height: 120px;
  padding: 18px;
}

.game-teaser {
  margin-bottom: 42px;
  padding: 30px;
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,61,31,0.22), rgba(33,212,253,0.12));
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 20px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
}

.filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.filters.compact {
  grid-template-columns: 2fr 1fr 1fr;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

select,
input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(3, 12, 10, 0.94);
  padding: 10px 12px;
}

.match-list {
  display: grid;
  gap: 12px;
}

.match-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.match-card h3 {
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.match-card h3 .versus {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 209, 102, 0.10);
  font-size: 0.9em;
  line-height: 1;
}

.match-card small { color: var(--muted); }

.match-meta,
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #ecfff8;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
  white-space: nowrap;
}

.pill-link,
.team-mini-link {
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.pill-link:hover,
.team-mini-link:hover {
  border-color: rgba(255, 209, 102, 0.72);
  color: var(--gold);
  background: rgba(255, 209, 102, 0.12);
}

.group-block {
  margin-bottom: 34px;
}

.group-block h2 {
  margin-bottom: 16px;
  color: var(--gold);
}

.team-card {
  display: grid;
  align-content: start;
  gap: 10px;
  height: 100%;
  grid-template-rows: 72px 76px 64px 44px 32px auto;
  min-height: 364px;
  padding: 18px;
}

.group-block.details-open .team-card {
  grid-template-rows: 72px 76px 64px 44px 32px 1fr;
  min-height: 740px;
}

.team-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 12px;
  height: 72px;
  min-height: 54px;
  min-width: 0;
  overflow: hidden;
}

.team-top .flag {
  font-size: 2.6rem;
}

.team-top h3 {
  margin-bottom: 2px;
  line-height: 1.15;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.team-top strong {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #120900;
  background: var(--gold);
}

.tagline {
  margin: 0;
  height: 4.8em;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow-wrap: anywhere;
  overflow: hidden;
}

.group-block.details-open .tagline {
  height: 4.8em;
}

.star {
  margin: 0;
  overflow: hidden;
  align-self: start;
  line-height: 1.35;
}

.team-card > .meta-line {
  align-content: start;
  align-self: start;
  max-height: 64px;
  overflow: hidden;
}

.team-card > .star {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.35;
  min-height: 44px;
  max-height: 44px;
  overflow-wrap: anywhere;
}

.team-detail-toggle {
  justify-self: start;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #ecfff8;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  font-size: 0.82rem;
}

.team-detail-toggle:hover,
.team-detail-toggle[aria-expanded="true"] {
  border-color: rgba(255, 209, 102, 0.7);
  color: var(--gold);
  background: rgba(255, 209, 102, 0.12);
}

.team-card-details {
  display: grid;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

.group-block.details-open .team-card-details {
  align-self: stretch;
  grid-template-rows: auto auto;
}

.group-block.details-open .team-story {
  grid-template-rows: none;
  margin: 0;
}

.group-block.details-open .team-story p {
  overflow: visible;
}

.team-card-details[hidden] {
  display: none;
}

.ratings {
  display: grid;
  gap: 8px;
  align-self: end;
  min-width: 0;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(64px, 0.82fr) minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
  min-width: 0;
}

.bar-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-row i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.bar-row b {
  display: block;
  width: var(--value);
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--grass), var(--gold));
}

.prediction-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  min-height: 0;
  padding: 20px;
}

.prediction-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.prediction-head h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 0.95;
}

.prediction-card ol {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.prediction-card li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  grid-template-areas:
    "rank team"
    ". status";
  align-items: start;
  gap: 8px;
  min-height: 48px;
  padding: 10px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.prediction-card li > span:first-child {
  grid-area: rank;
  padding-top: 3px;
}

.prediction-card li .team-mini {
  grid-area: team;
}

.prediction-card li.qualified {
  background: rgba(25, 195, 125, 0.18);
}

.prediction-card li.third {
  background: rgba(255, 209, 102, 0.16);
}

.team-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.team-mini-link {
  padding: 3px 5px;
  border: 1px solid transparent;
  border-radius: 999px;
  min-width: 0;
}

.team-mini b {
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.prediction-card .team-mini b {
  display: block;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  -webkit-line-clamp: unset;
}

.prediction-card em {
  grid-area: status;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  text-align: left;
  line-height: 1.2;
}

.prediction-notes {
  display: grid;
  align-content: start;
  gap: 8px;
}

.prediction-notes p {
  margin: 0;
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(520px, 1.28fr);
  gap: 18px;
  align-items: start;
}

.game-controls {
  display: grid;
  gap: 18px;
}

.oracle-form,
.oracle-card {
  padding: 22px;
}

fieldset {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

legend {
  color: var(--gold);
  font-weight: 900;
}

.oracle-form {
  display: grid;
  gap: 14px;
}

.oracle-card {
  position: sticky;
  top: 92px;
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(255,61,31,0.22), rgba(25,195,125,0.11)),
    var(--panel-strong);
}

.oracle-card h2 {
  color: var(--gold);
}

.oracle-line {
  padding: 14px;
  border-radius: 8px;
  color: #07110d;
  background: linear-gradient(135deg, var(--gold), #fff3b0);
}

.score-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 6px 0 0;
}

.score-picker legend {
  padding: 0 6px;
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.forecast-grid p {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.forecast-grid span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.forecast-grid b {
  font-size: 1.2rem;
}

.forecast-grid em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.55;
}

.fan-stat {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 209, 102, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.14), rgba(25, 195, 125, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.fan-stat span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.fan-stat strong {
  color: #fff5d0;
  font-size: clamp(1rem, 2.2vw, 1.28rem);
}

.fan-stat small {
  color: var(--muted);
  line-height: 1.55;
}

.fan-stat i {
  display: block;
  width: 100%;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.fan-stat i::before {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--grass), var(--blue));
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.score-lab {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(33, 212, 253, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 212, 253, 0.12), rgba(255, 209, 102, 0.07)),
    rgba(2, 12, 13, 0.64);
}

.oracle-output + .score-lab,
.muted-output + .score-lab {
  margin-top: 24px;
}

.muted-output {
  border-color: rgba(255, 255, 255, 0.12);
  opacity: 0.78;
}

.score-head {
  display: grid;
  gap: 8px;
}

.score-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.score-head h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
}

.score-head h3 > span {
  min-width: 92px;
  padding: 6px 12px;
  border-radius: 8px;
  color: #120900;
  text-align: center;
  background: var(--gold);
}

.score-head small {
  color: var(--muted);
}

.score-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
  line-height: 1.55;
}

.score-metrics span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.score-metrics span + span::before {
  content: "·";
  margin-right: 9px;
  color: rgba(255, 209, 102, 0.72);
}

.penalty-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 209, 102, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.13), rgba(33, 212, 253, 0.07)),
    rgba(255, 209, 102, 0.06);
}

.penalty-panel > span {
  display: inline-grid;
  place-items: center;
  justify-self: start;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #120900;
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.penalty-scoreline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.penalty-scoreline strong {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  min-height: 56px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff5c4;
  background: rgba(0, 0, 0, 0.18);
}

.penalty-scoreline strong.winner {
  border-color: rgba(255, 209, 102, 0.85);
  color: var(--gold);
  background: rgba(255, 209, 102, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 209, 102, 0.22);
}

.penalty-scoreline strong > .team-mini {
  min-width: 0;
}

.penalty-scoreline .team-mini b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.penalty-scoreline strong > b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #120900;
  background: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
}

.penalty-scoreline i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #120900;
  background: rgba(255, 209, 102, 0.88);
  color: var(--gold);
  background: rgba(255, 209, 102, 0.14);
  border: 1px solid rgba(255, 209, 102, 0.34);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.penalty-panel small {
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.45;
  text-align: left;
}

.probability-bar {
  height: 10px;
  margin: 14px 0 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.probability-bar i {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--grass), var(--gold));
}

.event-feed {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-feed li {
  display: grid;
  grid-template-columns: 42px 96px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.event-feed li b {
  color: var(--gold);
}

.event-feed li > span {
  display: inline-grid;
  place-items: center;
  min-height: 24px;
  min-width: 84px;
  max-width: 96px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #07110d;
  background: #d9f7ee;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
}

.event-feed li p {
  margin: 0;
  min-width: 0;
  color: #dbeee8;
  line-height: 1.48;
}

.inline-team-label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 0 1px;
  vertical-align: -0.11em;
  font-weight: 800;
  font-size: 0.95em;
  line-height: 1;
  white-space: nowrap;
}

.inline-team-label .inline-flag {
  width: 18px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 2px;
  object-fit: cover;
}

.forecast-grid .inline-team-label,
.fan-stat .inline-team-label,
.oracle-output h2 .inline-team-label {
  color: inherit;
}

.bracket-visual {
  position: relative;
  overflow-x: auto;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(255, 209, 102, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(3, 12, 10, 0.90), rgba(3, 12, 10, 0.54), rgba(3, 12, 10, 0.90)),
    linear-gradient(0deg, rgba(3, 12, 10, 0.94), rgba(3, 12, 10, 0.08)),
    url("assets/hero-real-clash.png") center / cover no-repeat;
}

.bracket-title {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.bracket-title span {
  color: var(--gold);
  font-weight: 900;
}

.bracket-title small,
.trophy-lane small {
  color: var(--muted);
}

.bracket-title small {
  justify-self: end;
  max-width: 620px;
  text-align: right;
}

.bracket-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(176px, 0.42fr) minmax(520px, 1fr);
  gap: 16px;
  align-items: stretch;
  min-width: 1180px;
}

.bracket-mobile-board {
  display: none;
}

.bracket-list,
.bracket-side {
  display: grid;
  gap: 10px;
}

.full-bracket .bracket-side {
  grid-template-columns: repeat(4, minmax(104px, 1fr));
  align-items: center;
  gap: 14px;
}

.bracket-round {
  --lane-h: 82px;
  --match-h: 62px;
  display: grid;
  grid-template-rows: 24px repeat(8, var(--lane-h));
  align-items: center;
  gap: 0;
  min-height: calc(24px + 8 * var(--lane-h));
}

.bracket-round h4 {
  margin: 0 0 2px;
  color: var(--gold);
  font-size: 0.72rem;
  text-align: center;
}

.stage-r32 .bracket-match:nth-of-type(1) { grid-row: 2; }
.stage-r32 .bracket-match:nth-of-type(2) { grid-row: 3; }
.stage-r32 .bracket-match:nth-of-type(3) { grid-row: 4; }
.stage-r32 .bracket-match:nth-of-type(4) { grid-row: 5; }
.stage-r32 .bracket-match:nth-of-type(5) { grid-row: 6; }
.stage-r32 .bracket-match:nth-of-type(6) { grid-row: 7; }
.stage-r32 .bracket-match:nth-of-type(7) { grid-row: 8; }
.stage-r32 .bracket-match:nth-of-type(8) { grid-row: 9; }

.stage-r16 .bracket-match:nth-of-type(1) { grid-row: 2 / span 2; }
.stage-r16 .bracket-match:nth-of-type(2) { grid-row: 4 / span 2; }
.stage-r16 .bracket-match:nth-of-type(3) { grid-row: 6 / span 2; }
.stage-r16 .bracket-match:nth-of-type(4) { grid-row: 8 / span 2; }

.stage-qf .bracket-match:nth-of-type(1) { grid-row: 2 / span 4; }
.stage-qf .bracket-match:nth-of-type(2) { grid-row: 6 / span 4; }

.stage-sf .bracket-match:nth-of-type(1) { grid-row: 2 / span 8; }

.bracket-team,
.bracket-match {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 30px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  color: #eefbf6;
  background: rgba(6, 26, 22, 0.78);
}

.bracket-side-right .bracket-match {
  padding: 9px 10px;
  text-align: right;
}

.bracket-match {
  position: relative;
  display: grid;
  align-content: center;
  align-self: center;
  gap: 6px;
  min-height: var(--match-h);
  height: var(--match-h);
  padding: 9px 10px;
  overflow: visible;
}

.bracket-match::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  width: 15px;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
}

.bracket-match::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  width: 2px;
  height: calc(var(--lane-h) * 0.5);
  translate: 0 -50%;
  background: rgba(255, 255, 255, 0.16);
}

.stage-r16 .bracket-match::before { height: var(--lane-h); }
.stage-qf .bracket-match::before { height: calc(var(--lane-h) * 2); }
.stage-sf .bracket-match::before { height: calc(var(--lane-h) * 4); }

.stage-r32 .bracket-match:nth-of-type(odd)::before,
.stage-r16 .bracket-match:nth-of-type(odd)::before,
.stage-qf .bracket-match:nth-of-type(odd)::before {
  top: 50%;
  translate: 0 0;
}

.stage-r32 .bracket-match:nth-of-type(even)::before,
.stage-r16 .bracket-match:nth-of-type(even)::before,
.stage-qf .bracket-match:nth-of-type(even)::before {
  top: auto;
  bottom: 50%;
  translate: 0 0;
}

.stage-sf .bracket-match::before {
  display: none;
}

.bracket-side-right .bracket-match::after {
  right: auto;
  left: -15px;
}

.bracket-side-right .bracket-match::before {
  right: auto;
  left: -15px;
}

.bracket-match p {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 3px 4px;
  border-radius: 6px;
}

.bracket-side-right .bracket-match p {
  flex-direction: row-reverse;
}

.bracket-match p b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bracket-match p.winner {
  color: var(--gold);
  background: rgba(255, 209, 102, 0.10);
}

.bracket-team b {
  min-width: 0;
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bracket-team.champion {
  border-color: rgba(255, 209, 102, 0.95);
  color: #fff6c8;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.28), rgba(255, 61, 31, 0.18)), rgba(8, 28, 22, 0.9);
  box-shadow: 0 0 22px rgba(255, 209, 102, 0.28);
}

.bracket-match.champion-path {
  border-color: rgba(255, 209, 102, 0.95);
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.24), rgba(255, 61, 31, 0.10)),
    rgba(6, 26, 22, 0.86);
  box-shadow: 0 0 22px rgba(255, 209, 102, 0.22);
}

.bracket-match.champion-path::after {
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255, 209, 102, 0.75);
}

.bracket-match.champion-path::before {
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255, 209, 102, 0.55);
}

.trophy-lane {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  min-height: 100%;
  padding: 18px 12px;
  border: 1px solid rgba(255, 209, 102, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  text-align: center;
}

.final-match {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin: 0;
  color: #ecfff8;
  font-weight: 800;
}

.final-match span {
  display: inline-grid;
  place-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #120900;
  background: var(--gold);
  font-size: 0.78rem;
}

.bracket-trophy-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 168px;
  max-width: 84%;
  border: 1px solid rgba(255, 209, 102, 0.24);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 209, 102, 0.28), transparent 42%),
    linear-gradient(180deg, rgba(255, 209, 102, 0.14), rgba(0, 0, 0, 0.2)),
    rgba(0, 0, 0, 0.32);
  box-shadow:
    inset 0 0 28px rgba(255, 209, 102, 0.12),
    0 0 24px rgba(255, 209, 102, 0.18);
}

.bracket-trophy-frame::after {
  content: "";
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: 16px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.42);
  filter: blur(8px);
}

.bracket-trophy-frame.fallback-trophy::before {
  content: "🏆";
  font-size: 4.2rem;
  filter: drop-shadow(0 0 18px rgba(255, 209, 102, 0.7));
}

.bracket-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: 132px;
  max-width: 94%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 22px rgba(255, 209, 102, 0.54));
}

.trophy-lane .gold-route {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  list-style: none;
}

.trophy-lane .gold-route li {
  position: relative;
  display: grid;
  gap: 3px;
  justify-items: center;
  min-height: 54px;
  padding-bottom: 12px;
}

.trophy-lane .gold-route li span {
  color: #fff0a8;
  font-size: 0.72rem;
}

.trophy-lane .gold-route li b {
  color: var(--gold);
  font-size: 0.92rem;
}

.trophy-lane .gold-route li em {
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
}

.trophy-lane .gold-route i {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 3px;
  height: 12px;
  translate: -50% 0;
  border-radius: 999px;
  background: linear-gradient(var(--gold), var(--fire));
  box-shadow: 0 0 16px rgba(255, 209, 102, 0.7);
}

.trophy-lane strong {
  color: var(--gold);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.1;
}

.empty {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  place-items: start center;
}

.contact-form {
  display: grid;
  gap: 14px;
  width: min(720px, 100%);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-form label {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form textarea {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  line-height: 1.6;
}

.contact-form textarea:focus {
  outline: 2px solid rgba(255, 209, 102, 0.58);
  border-color: rgba(255, 209, 102, 0.75);
}

.form-error,
.form-success {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
}

.form-error {
  color: #ffd7d2;
  background: rgba(255, 61, 31, 0.14);
}

.form-success {
  color: #d9fff0;
  background: rgba(25, 195, 125, 0.14);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-actions .btn:disabled {
  cursor: wait;
  opacity: 0.68;
}

.site-footer {
  display: grid;
  gap: 24px;
  /* 修改 padding：只保留上下，左右改为 0（因为后面会用 max-width + margin 居中） */
  padding: 42px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.34);

  /* 新增：限制最大宽度并居中 */
  max-width: 1180px;
  margin: 0 auto;
}

.site-disclaimer {
  flex: 1 0 100%;
  max-width: 1120px;
  margin: 4px 0 0;
  color: rgba(169, 196, 187, 0.88);
  font-size: 0.76rem;
  line-height: 1.7;
}

.footer-timezone {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1180px;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(33, 212, 253, 0.24);
  border-radius: 8px;
  background: rgba(33, 212, 253, 0.07);
  font-size: 12px;
  justify-content: center;
}

.footer-timezone span {
  color: var(--gold);
  font-weight: 800;
}

.footer-timezone small {
  margin-left: auto;
  color: var(--muted);
  line-height: 1.4;
}

.footer-links {
  display: grid;
  gap: 30px;
  width: 100%;
  text-align: center;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: clamp(28px, 8vw, 110px);
  justify-content: center;
  max-width: 1180px;
  width: 100%;
  text-align: center;
}

.footer-link-grid section {
  display: grid;
  gap: 14px;
  align-content: start;
  text-align: left;
  justify-content: center;
}

.footer-link-grid h2 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 1.18rem;
}

.footer-link-grid a {
  width: fit-content;
  color: #cfe7df;
  font-weight: 800;
}

.footer-link-grid a:hover {
  color: var(--gold);
}

.footer-legal {
  display: grid;
  gap: 10px;
  max-width: 1180px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.footer-legal p {
  margin: 0;
  color: rgba(169, 196, 187, 0.92);
  line-height: 1.55;
}

.info-section {
  padding-top: 34px;
}

.info-card {
  width: min(820px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.info-card h2 {
  margin: 0 0 10px;
}

.info-card p,
.info-card li {
  color: var(--muted);
  line-height: 1.75;
}

.info-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

@media (max-width: 820px) {
  /* 已有的样式保留 ... */

  /* 1. 让整个 footer 内容区的左右内边距与移动版主体内容一致（例如 16px） */
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 2. 时区区块左对齐（不再居中） */
  .footer-timezone {
    align-items: flex-start;
    text-align: left;
    flex-direction: column;
    margin-left: 0;
    margin-right: 0;
  }

  /* 3. 链接容器左对齐 */
  .footer-links {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  /* 4. 网格布局：单列，且每个项目左对齐 */
  .footer-link-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-left: 0;
    margin-right: 0;
    justify-items: start;   /* 网格内部项目左对齐 */
    text-align: left;
  }

  /* 5. 每个区块内部文字一律左对齐 */
  .footer-link-grid section {
    text-align: left;
  }

  /* 6. 链接独立行，左对齐，无额外缩进 */
  .footer-link-grid a {
    display: block;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  /* 7. 版权区域左对齐 */
  .footer-legal {
    text-align: center;
  }
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 14, 12, 0.98);
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; }
  .ribbon,
  .filters,
  .filters.compact,
  .game-layout,
  .matchday-grid {
    grid-template-columns: 1fr;
  }
  .news-ticker {
    grid-template-columns: 1fr;
  }
  .news-ticker-window {
    mask-image: none;
  }
  .matchday-card {
    min-height: 0;
  }
  .section-head,
  .split-section,
  .game-teaser,
  .match-card {
    align-items: stretch;
    flex-direction: column;
  }
  .hero { min-height: 72vh; }
  .hero-content { padding-top: 90px; }
  .scroll-rail {
    grid-auto-columns: clamp(148px, 42vw, 190px);
  }
  .flag-choice,
  .star-choice {
    min-height: 150px;
    padding: 14px;
  }
  .flag-img.huge {
    width: 96px;
    height: 64px;
  }
  .star-choice .star-photo {
    width: 88px;
    height: 88px;
  }
  .team-card,
  .group-block.details-open .team-card {
    grid-template-rows: none;
    min-height: auto;
  }
  .tagline,
  .team-card > .star {
    display: block;
    -webkit-line-clamp: initial;
  }
  .team-card > .meta-line {
    max-height: none;
  }
  .group-block.details-open .team-card-details,
  .group-block.details-open .team-story {
    grid-template-rows: none;
  }
  .prediction-card li {
    grid-template-columns: 28px minmax(0, 1fr);
  }
  .prediction-card em {
    grid-area: status;
    text-align: left;
  }
  .penalty-panel {
    grid-template-columns: 1fr;
  }
  .penalty-panel small {
    text-align: left;
  }
  .oracle-card { position: static; }
  .bracket-visual {
    overflow-x: visible;
    padding: 14px;
  }
  .bracket-board {
    display: none;
  }
  .bracket-mobile-board {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    overflow: hidden;
  }
  .bracket-mobile-round {
    position: relative;
    display: grid;
    gap: 9px;
    padding-bottom: 12px;
  }
  .bracket-mobile-round::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 2px;
    height: 24px;
    translate: -50% 0;
    background: linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 209, 102, 0.42));
  }
  .bracket-mobile-bottom::after {
    top: -18px;
    bottom: auto;
    background: linear-gradient(rgba(255, 209, 102, 0.42), rgba(255, 255, 255, 0.16));
  }
  .bracket-mobile-round h4 {
    margin: 0;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    text-align: left;
  }
  .bracket-mobile-round > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .bracket-mobile-single > div {
    grid-template-columns: minmax(0, min(72%, 360px));
    justify-content: center;
  }
  .bracket-mobile-board .bracket-match {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    min-height: 74px;
    height: auto;
    padding: 10px 8px;
    border-color: rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 209, 102, 0.06)),
      rgba(12, 20, 38, 0.72);
    clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0 50%);
  }
  .bracket-mobile-board .bracket-match p {
    display: grid;
    justify-items: center;
    gap: 5px;
    min-width: 0;
    padding: 0;
    text-align: center;
  }
  .bracket-mobile-board .bracket-match p:first-child {
    grid-column: 1;
  }
  .bracket-mobile-board .bracket-match p:last-child {
    grid-column: 3;
  }
  .bracket-mobile-board .bracket-match p b {
    max-width: 100%;
    font-size: 0.72rem;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .bracket-mobile-board .bracket-match::after {
    content: "VS";
    position: static;
    display: grid;
    grid-column: 2;
    grid-row: 1;
    place-items: center;
    width: auto;
    height: auto;
    color: #fff8e8;
    background: none;
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0;
    box-shadow: none;
  }
  .bracket-mobile-board .bracket-match::before {
    display: none;
  }
  .bracket-mobile-board .flag-img.mini {
    width: 34px;
    height: 24px;
  }
  .bracket-mobile-board .trophy-lane {
    min-height: auto;
    position: relative;
    padding: 18px 14px;
    overflow: visible;
  }
  .bracket-mobile-board .trophy-lane::before,
  .bracket-mobile-board .trophy-lane::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 2px;
    height: 18px;
    translate: -50% 0;
    background: rgba(255, 209, 102, 0.42);
  }
  .bracket-mobile-board .trophy-lane::before {
    top: -18px;
  }
  .bracket-mobile-board .trophy-lane::after {
    bottom: -18px;
  }
  .bracket-mobile-board .bracket-trophy-frame {
    width: 96px;
    height: 122px;
  }
  .bracket-mobile-board .bracket-logo {
    height: 96px;
  }
  .bracket-list,
  .bracket-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bracket-match::after {
    display: none;
  }
  .trophy-lane .gold-route {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .trophy-lane .gold-route li {
    min-height: 74px;
    padding: 0 10px 0 0;
  }
  .trophy-lane .gold-route i {
    left: auto;
    right: 0;
    top: 50%;
    width: 18px;
    height: 3px;
    translate: 50% -50%;
  }
}

@media (max-width: 480px) {
  .site-header { padding: 12px; }
  .brand span:last-child { display: none; }
  h1 { font-size: 3rem; }
  .section,
  .page-hero { width: min(100% - 24px, 1180px); }
  .feature-grid,
  .team-card-grid,
  .prediction-grid,
  .city-grid {
    grid-template-columns: 1fr;
  }
  .scroll-rail { grid-auto-columns: minmax(142px, 48%); }
  .info-panel { grid-template-columns: 1fr; }
  .seed-summary { gap: 12px; }
  .seed-summary .flag-img.detail {
    width: 86px;
    height: 58px;
  }
  .team-top { grid-template-columns: auto minmax(0, 1fr) auto; }
  .team-top strong {
    grid-column: auto;
    grid-row: 1;
    justify-self: end;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 0.96rem;
  }
  .team-card {
    padding: 16px;
  }
  .bracket-list,
  .bracket-side,
  .forecast-grid,
  .star-profile-grid,
  .score-picker {
    grid-template-columns: 1fr;
  }
  .score-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }
  .score-title-row .icon-btn {
    justify-self: start;
    margin-top: 0;
  }
  .score-head h3 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(66px, 82px) minmax(0, 1fr);
    justify-content: start;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    font-size: 1.05rem;
  }
  .score-head h3 .team-mini {
    min-width: 0;
    max-width: none;
    min-height: 48px;
    justify-content: center;
    padding: 7px 8px;
    border-radius: 8px;
    color: #120900;
    background: var(--gold);
  }
  .score-head h3 .team-mini:first-child {
    grid-column: 1;
    grid-row: 1;
  }
  .score-head h3 > span {
    grid-column: 2;
    grid-row: 1;
    min-width: 66px;
    padding-inline: 6px;
  }
  .score-head h3 .team-mini:last-child {
    grid-column: 3;
    grid-row: 1;
  }
  .score-head h3 .team-mini b {
    display: block;
    overflow: hidden;
    font-size: 0.92rem;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-line-clamp: 1;
  }
  .score-metrics {
    display: grid;
    gap: 2px;
  }
  .score-metrics span + span::before {
    content: "";
    margin: 0;
  }
  .bracket-mobile-round > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .bracket-mobile-single > div {
    grid-template-columns: minmax(0, min(74%, 340px));
    justify-content: center;
  }
  .bracket-mobile-board .bracket-match {
    min-height: 70px;
    padding: 9px 7px;
  }
  .bracket-mobile-board .bracket-match p b {
    font-size: 0.68rem;
  }
  .bracket-mobile-board .flag-img.mini {
    width: 30px;
    height: 21px;
  }
  .event-feed li {
    grid-template-columns: 42px 1fr;
  }
  .event-feed li p {
    grid-column: 1 / -1;
  }
  .bracket-title {
    align-items: start;
    grid-template-columns: 1fr;
  }
  .bracket-title small {
    justify-self: start;
    text-align: left;
  }
  .trophy-lane .gold-route {
    grid-template-columns: 1fr;
  }
  .trophy-lane .gold-route li {
    min-height: 54px;
    padding: 0 0 12px;
  }
  .trophy-lane .gold-route i {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 0;
    width: 3px;
    height: 12px;
    translate: -50% 0;
  }
}
