:root {
  --bg: #060d1c;
  --bg2: #0a1830;
  --card: rgba(19, 38, 66, 0.55);
  --card-solid: #122440;
  --card-hover: rgba(26, 50, 84, 0.7);
  --border: rgba(120, 180, 255, 0.14);
  --text: #eef5ff;
  --muted: #8fa9c9;
  --green: #00e389;
  --green-dim: rgba(0, 227, 137, 0.16);
  --gold: #ffd34d;
  --gold2: #ffb020;
  --red: #ff5d7c;
  --red-dim: rgba(255, 93, 124, 0.14);
  --blue: #41a8ff;
  --magenta: #ff4fd8;
  --radius: 18px;
  --glow-green: 0 0 24px rgba(0, 227, 137, 0.35);
  --glow-gold: 0 0 28px rgba(255, 211, 77, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

::selection { background: rgba(0, 227, 137, 0.35); }

body {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fast bakgrunn uten background-attachment: fixed (buggy på iOS/headless) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1400px 700px at 50% -200px, #12305a55, transparent),
    radial-gradient(900px 500px at 110% 30%, #2a0e4a33, transparent),
    radial-gradient(900px 500px at -10% 60%, #043b2b33, transparent);
}

.display { font-family: "Bungee", "Outfit", sans-serif; font-weight: 400; }

/* ================= HERO ================= */
.hero {
  position: relative;
  padding: 70px 20px 56px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  z-index: -2;
  animation: drift 16s ease-in-out infinite alternate;
}

.a1 { width: 560px; height: 420px; left: -120px; top: -140px; background: radial-gradient(circle, #00e38966, transparent 65%); }
.a2 { width: 640px; height: 460px; right: -160px; top: -100px; background: radial-gradient(circle, #41a8ff59, transparent 65%); animation-delay: -5s; animation-duration: 19s; }
.a3 { width: 520px; height: 420px; left: 35%; bottom: -240px; background: radial-gradient(circle, #ff4fd84d, transparent 65%); animation-delay: -10s; animation-duration: 23s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(70px, 40px) scale(1.2); }
}

.pitch-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 130%, transparent 24.8%, rgba(120, 180, 255, 0.07) 25%, rgba(120, 180, 255, 0.07) 25.6%, transparent 25.9%),
    radial-gradient(circle at 50% 130%, transparent 39.8%, rgba(120, 180, 255, 0.05) 40%, rgba(120, 180, 255, 0.05) 40.6%, transparent 40.9%),
    radial-gradient(circle at 50% 130%, transparent 54.8%, rgba(120, 180, 255, 0.04) 55%, rgba(120, 180, 255, 0.04) 55.6%, transparent 55.9%);
}

.hero-particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.particle {
  position: absolute;
  font-size: 18px;
  opacity: 0;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% { transform: translateY(40px) rotate(0deg); opacity: 0; }
  12% { opacity: var(--p-op, 0.5); }
  88% { opacity: var(--p-op, 0.5); }
  100% { transform: translateY(-110px) rotate(360deg); opacity: 0; }
}

.confetti {
  position: absolute;
  width: 7px;
  height: 11px;
  border-radius: 2px;
  opacity: 0;
  animation: confettiFall linear infinite;
}

@keyframes confettiFall {
  0% { transform: translateY(-30px) rotate(0deg) rotateY(0deg); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateY(130px) rotate(240deg) rotateY(540deg); opacity: 0; }
}

.hero-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(255, 211, 77, 0.45);
  background: linear-gradient(110deg, rgba(255, 211, 77, 0.10), rgba(255, 176, 32, 0.18), rgba(255, 211, 77, 0.10));
  background-size: 200% 100%;
  padding: 7px 20px;
  border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: 0 0 22px rgba(255, 211, 77, 0.18), inset 0 0 14px rgba(255, 211, 77, 0.08);
  animation: badgeShimmer 3.5s linear infinite;
}

@keyframes badgeShimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 5.6rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-shadow: 0 8px 40px rgba(65, 168, 255, 0.35);
}

.hero h1 .accent {
  background: linear-gradient(115deg, var(--green) 10%, var(--blue) 45%, var(--magenta) 90%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientSlide 6s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 24px rgba(0, 227, 137, 0.45));
}

@keyframes gradientSlide {
  from { background-position: 0% 0; }
  to { background-position: 100% 0; }
}

.hero-sub {
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 600;
  margin-top: 12px;
  letter-spacing: 0.02em;
}

.hero-meta {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.87rem;
  color: var(--text);
}

.hero-meta span {
  background: rgba(120, 180, 255, 0.08);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 600;
}

/* ================= LIVE ================= */
.live-pill {
  border-color: rgba(255, 93, 124, 0.5) !important;
  color: var(--red) !important;
  font-weight: 800 !important;
  animation: livePulse 1.6s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 93, 124, 0.35); }
  50% { box-shadow: 0 0 14px 2px rgba(255, 93, 124, 0.25); }
}

.match.is-live { border-color: rgba(255, 93, 124, 0.45); box-shadow: 0 0 18px rgba(255, 93, 124, 0.1); }

.m-score.live {
  color: var(--red);
  border-color: rgba(255, 93, 124, 0.5);
  animation: livePulse 1.6s ease-in-out infinite;
}

.live-min {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
}

/* ================= TABS ================= */
.tabs {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  gap: 6px;
  padding: 12px max(12px, calc(50vw - 520px));
  background: rgba(6, 13, 28, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  flex-shrink: 0;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.tab:hover { color: var(--text); background: rgba(120, 180, 255, 0.08); transform: translateY(-1px); }

.tab.active {
  color: #042614;
  background: linear-gradient(115deg, var(--green), #2fe8b8);
  border-color: transparent;
  box-shadow: var(--glow-green);
}

/* ================= LAYOUT ================= */
main {
  max-width: 1060px;
  margin: 0 auto;
  padding: 26px 14px 60px;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.35s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.card {
  position: relative;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(140deg, rgba(0, 227, 137, 0.35), rgba(65, 168, 255, 0.18) 40%, rgba(255, 79, 216, 0.22)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.45), 0 0 30px rgba(0, 227, 137, 0.08);
}

.card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  background: linear-gradient(110deg, var(--text), #9fd8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }

/* ================= STAT CARDS ================= */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(160deg, rgba(120, 180, 255, 0.35), rgba(120, 180, 255, 0.06)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4); }

.stat-card::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 60%;
  height: 220%;
  transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  animation: sheen 5.5s ease-in-out infinite;
}

@keyframes sheen {
  0%, 60% { left: -80%; }
  100% { left: 180%; }
}

.stat-card .icon { font-size: 1.5rem; margin-bottom: 4px; filter: drop-shadow(0 0 10px rgba(0, 227, 137, 0.4)); }

.stat-card .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.stat-card .value { font-size: 1.7rem; font-weight: 900; line-height: 1.15; }
.stat-card .value.gold { color: var(--gold); text-shadow: 0 0 22px rgba(255, 211, 77, 0.45); }
.stat-card .value.green { color: var(--green); text-shadow: 0 0 22px rgba(0, 227, 137, 0.45); }
.stat-card .sub { font-size: 0.78rem; color: var(--muted); margin-top: 3px; }

/* ================= PODIUM ================= */
.podium-wrap { margin-bottom: 22px; }

.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  padding: 26px 10px 0;
}

.podium-col { flex: 1; max-width: 220px; text-align: center; animation: riseUp 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) backwards; }
.podium-col.p2 { animation-delay: 0.12s; }
.podium-col.p3 { animation-delay: 0.24s; }

@keyframes riseUp {
  from { opacity: 0; transform: translateY(46px); }
  to { opacity: 1; transform: none; }
}

.podium-medal { font-size: 2.1rem; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5)); }

.podium-col.p1 .podium-medal { font-size: 2.8rem; animation: bounce 2.4s ease-in-out infinite; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.podium-name { font-weight: 800; font-size: 1.02rem; margin: 4px 0 2px; }
.podium-pts { font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.podium-pts b { color: var(--text); }

.podium-block {
  position: relative;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
}

.p1 .podium-block {
  height: 120px;
  background: linear-gradient(180deg, #ffd34d, #b07a10 130%);
  box-shadow: var(--glow-gold);
}
.p2 .podium-block { height: 86px; background: linear-gradient(180deg, #dbe6f5, #6e7f96 140%); }
.p3 .podium-block { height: 64px; background: linear-gradient(180deg, #e29a5b, #84511f 140%); }

.podium-block::after {
  content: "";
  position: absolute;
  top: 0; left: -90%;
  width: 55%; height: 100%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: sheen 4s ease-in-out infinite;
}

.podium-block .place {
  font-family: "Bungee", sans-serif;
  font-size: 2rem;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1;
  padding-top: 14px;
  display: block;
}

/* ================= TABLES ================= */
.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }

th, td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
}

td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

tbody tr { transition: background 0.15s; }
tbody tr:hover { background: rgba(120, 180, 255, 0.05); }
tbody tr:last-child td { border-bottom: none; }

/* Ledertavle */
.lb-rank { width: 44px; font-weight: 800; color: var(--muted); }
.lb-name { font-weight: 800; }
.lb-row-1 .lb-name, .lb-row-1 .lb-total { color: var(--gold); text-shadow: 0 0 16px rgba(255, 211, 77, 0.4); }
.lb-total { font-weight: 900; font-size: 1.08rem; }

.lb-bar-cell { width: 30%; min-width: 110px; }

.lb-bar {
  position: relative;
  overflow: hidden;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), var(--blue) 70%, var(--magenta) 130%);
  box-shadow: 0 0 12px rgba(0, 227, 137, 0.35);
  min-width: 3px;
  animation: growBar 0.9s cubic-bezier(0.2, 0.8, 0.3, 1) backwards;
}

@keyframes growBar { from { width: 0; } }

.lb-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  width: 40%;
  animation: barShine 2.8s ease-in-out infinite;
}

@keyframes barShine {
  from { transform: translateX(-120%); }
  to { transform: translateX(320%); }
}

.clickable { cursor: pointer; }

/* ================= CHART ================= */
.chart-wrap { position: relative; height: 400px; }

.empty-note {
  text-align: center;
  color: var(--muted);
  padding: 42px 16px;
  font-size: 1rem;
  border: 1px dashed rgba(120, 180, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(120, 180, 255, 0.03);
}

.flag-icon {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  vertical-align: -2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  object-fit: cover;
}

.m-team.right .flag-icon {
  margin-left: 2px;
}

/* ================= VINNERTIPS ================= */
.winner-grid { display: flex; flex-direction: column; gap: 12px; }

.winner-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(120, 180, 255, 0.04);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.winner-row:hover { background: rgba(120, 180, 255, 0.08); transform: translateX(4px); }
.winner-row:first-child { border-color: rgba(255, 211, 77, 0.4); box-shadow: inset 0 0 24px rgba(255, 211, 77, 0.06); }

.winner-team {
  min-width: 160px;
  font-weight: 800;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.winner-count {
  font-size: 0.75rem;
  font-weight: 800;
  color: #042614;
  background: linear-gradient(115deg, var(--green), #2fe8b8);
  border-radius: 99px;
  padding: 1px 9px;
  box-shadow: 0 0 10px rgba(0, 227, 137, 0.4);
}

.chip {
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(120, 180, 255, 0.07);
  border: 1px solid var(--border);
  padding: 3px 11px;
  border-radius: 999px;
  color: var(--text);
}

/* ================= KAMPER ================= */
.group-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }

.gbtn {
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  background: rgba(120, 180, 255, 0.06);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 13px;
  cursor: pointer;
  transition: all 0.15s;
}

.gbtn:hover { color: var(--text); transform: translateY(-1px); }
.gbtn.active { background: linear-gradient(115deg, var(--green), #2fe8b8); color: #042614; border-color: transparent; box-shadow: var(--glow-green); }

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

.group-title {
  font-family: "Bungee", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  background: linear-gradient(110deg, var(--gold), #ffe9a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 22px 0 10px;
}

.match {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 9px;
  overflow: hidden;
  background: rgba(19, 38, 66, 0.35);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.match:hover { border-color: rgba(0, 227, 137, 0.35); box-shadow: 0 0 18px rgba(0, 227, 137, 0.07); }

.match-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
}

.m-team { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.97rem; }
.m-team.right { justify-content: flex-end; text-align: right; }

.m-score {
  font-weight: 900;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, rgba(120, 180, 255, 0.14), rgba(120, 180, 255, 0.05));
  border: 1px solid var(--border);
  padding: 4px 14px;
  border-radius: 10px;
  min-width: 62px;
  text-align: center;
}

.m-score.pending { color: var(--muted); font-weight: 700; font-size: 0.8rem; }

.m-date { font-size: 0.75rem; color: var(--muted); min-width: 52px; text-align: right; font-weight: 600; }

.match-tips { display: none; padding: 6px 16px 14px; border-top: 1px solid var(--border); }
.match.open .match-tips { display: block; animation: fadeIn 0.25s ease; }

.tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.tip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 9px;
  background: rgba(120, 180, 255, 0.05);
  border: 1px solid transparent;
}

.tip .t-pred { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 700; }
.tip.hit2 { background: var(--green-dim); border-color: rgba(0, 227, 137, 0.35); }
.tip.hit3 { background: rgba(255, 211, 77, 0.14); border-color: rgba(255, 211, 77, 0.5); box-shadow: 0 0 12px rgba(255, 211, 77, 0.12); }
.tip.miss { background: var(--red-dim); opacity: 0.85; }
.tip.hit2 .t-pred, .tip.hit3 .t-pred { color: var(--text); }

/* ================= SLUTTSPILL ================= */
#knockoutTable td:first-child { font-weight: 700; }
.ko-hit { background: var(--green-dim); color: var(--green); font-weight: 800; text-shadow: 0 0 12px rgba(0, 227, 137, 0.5); }
.ko-zero { color: rgba(143, 169, 201, 0.35); }
.ko-group { color: var(--muted); font-size: 0.78rem; }

/* ================= DELTAKERE ================= */
.person-chips { display: flex; gap: 8px; flex-wrap: wrap; }

.pchip {
  font: inherit;
  font-size: 0.89rem;
  font-weight: 700;
  background: rgba(120, 180, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 17px;
  cursor: pointer;
  transition: all 0.15s;
}

.pchip:hover { transform: translateY(-2px); border-color: rgba(0, 227, 137, 0.4); }
.pchip.active { background: linear-gradient(115deg, var(--green), #2fe8b8); color: #042614; border-color: transparent; box-shadow: var(--glow-green); }

.p-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.p-sumbox {
  background: rgba(120, 180, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.p-sumbox .v { font-size: 1.4rem; font-weight: 900; }
.p-sumbox .l { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }

.rank-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35em;
  height: 1.35em;
  margin-left: 0.4em;
  border-radius: 999px;
  font-size: 0.7em;
  font-weight: 900;
  line-height: 1;
  color: #142234;
  vertical-align: 0.04em;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 3px 10px rgba(0, 0, 0, 0.32);
}

.rank-1 {
  background: linear-gradient(135deg, #ffe69a, #ffd34d 55%, #ffb020);
}

.rank-2 {
  background: linear-gradient(135deg, #f3f8ff, #dce6f5 55%, #b7c6dc);
}

.rank-3 {
  background: linear-gradient(135deg, #f1c39a, #d99863 55%, #b66b3e);
}

.round-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.round-col h4 {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 800;
}

.round-col ul { list-style: none; }

.round-col li {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 7px;
  margin-bottom: 3px;
  background: rgba(120, 180, 255, 0.04);
}

.round-col li.hit { background: var(--green-dim); box-shadow: inset 0 0 10px rgba(0, 227, 137, 0.08); }
.round-col li.miss { background: var(--red-dim); text-decoration: line-through; opacity: 0.7; }

.award-list { list-style: none; }

.award-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  margin-bottom: 4px;
  background: rgba(120, 180, 255, 0.04);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.award-list li.hit { background: var(--green-dim); }
.award-list .a-name { color: var(--muted); }
.award-list .a-val { font-weight: 700; }

.pts-badge {
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 99px;
  padding: 1px 9px;
  background: rgba(0, 227, 137, 0.22);
  color: var(--green);
  text-shadow: 0 0 8px rgba(0, 227, 137, 0.4);
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  padding: 28px 16px 44px;
  border-top: 1px solid var(--border);
}

/* ================= MOBIL ================= */
@media (max-width: 640px) {
  .hero { padding: 48px 16px 40px; }
  .card { padding: 18px 14px; }
  th, td { padding: 8px 8px; font-size: 0.85rem; }
  .hide-sm { display: none; }
  .chart-wrap { height: 300px; }
  .m-team { font-size: 0.86rem; }
  .m-date { display: none; }
  .match-head { grid-template-columns: 1fr auto 1fr; }
  .stat-card .value { font-size: 1.3rem; }
  .podium { gap: 8px; }
  .podium-name { font-size: 0.88rem; }
  .p1 .podium-block { height: 96px; }
  .p2 .podium-block { height: 68px; }
  .p3 .podium-block { height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
