:root {
  --bg: #07060a;
  --panel: rgba(20, 14, 18, 0.72);
  --line: rgba(255, 80, 60, 0.18);
  --text: #ece6df;
  --muted: #9b8f88;
  --blood: #d01f2a;
  --ember: #ff6a1a;
  --gold: #f6c544;
  --silver: #cfd6de;
  --bronze: #d38a4a;
  --display: 'Black Ops One', Impact, 'Arial Black', sans-serif;
  --body: 'Rajdhani', 'Segoe UI', Arial, sans-serif;
}

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

html, body { height: 100%; }
body {
  background: radial-gradient(ellipse at 50% 120%, #3a0a0e 0%, #12070a 45%, var(--bg) 80%);
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 600;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
  padding: 2.4vh 2.6vw 1.6vh;
  gap: 2vh;
}

/* atmosphere */
.fog { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.fog span {
  position: absolute; width: 70vw; height: 70vh; border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 31, 42, 0.22), transparent 65%);
  filter: blur(4vh); will-change: transform;
}
.fog span:nth-child(1) { left: -15vw; bottom: -25vh; animation: drift 26s ease-in-out infinite alternate; }
.fog span:nth-child(2) { right: -20vw; top: -30vh; background: radial-gradient(circle, rgba(255, 106, 26, 0.12), transparent 65%); animation: drift 32s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(18vw, -8vh) scale(1.15); } }
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.35;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px);
}
header, main, footer, .layout { position: relative; z-index: 1; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 25vw; gap: 2vw; min-height: 0; }

/* header */
.top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 2px solid var(--line); padding-bottom: 1.6vh; }
.brand h1 {
  font-family: var(--display); font-weight: 400; font-size: 6.4vh; letter-spacing: 0.06em; line-height: 1;
  color: var(--text); text-shadow: 0 0 2.4vh rgba(208, 31, 42, 0.8), 0 0.3vh 0 #5a0a0f;
}
.sub { font-size: 2.2vh; letter-spacing: 0.5em; color: var(--blood); margin-top: 0.6vh; font-weight: 700; }
.map { text-align: center; }
.map-tag { display: block; font-size: 1.7vh; letter-spacing: 0.5em; color: var(--muted); }
.map-name { font-family: var(--display); font-size: 4.4vh; color: var(--ember); text-shadow: 0 0 2vh rgba(255, 106, 26, 0.45); }
.stats { display: flex; justify-content: flex-end; gap: 3vw; }
.stat { display: flex; flex-direction: column; align-items: flex-end; }
.stat-num { font-family: var(--display); font-size: 5vh; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-lbl { font-size: 1.7vh; letter-spacing: 0.3em; color: var(--muted); margin-top: 0.4vh; }

/* board layout */
.board { display: grid; grid-template-rows: 1fr auto; gap: 2.2vh; min-height: 0; }

/* podium */
.podium {
  display: grid; grid-template-columns: 1fr 1.18fr 1fr; align-items: end; gap: 1.6vw;
  min-height: 0; width: 100%; margin: 0 auto; padding-top: 1vh;
}
.card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center; padding: 1.6vh 1vw 2vh; border-radius: 1.2vh; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), var(--panel));
  border: 2px solid var(--c); box-shadow: 0 0 3vh -0.6vh var(--c), inset 0 0 4vh -2vh var(--c);
  min-width: 0;
}
.card.r1 { --c: var(--gold); height: 100%; }
.card.r2 { --c: var(--silver); height: 90%; }
.card.r3 { --c: var(--bronze); height: 84%; }
.card > * { flex-shrink: 0; }
.card.vacant { opacity: 0.25; box-shadow: none; }
.card .pos {
  position: absolute; top: 1vh; left: 1.2vw; font-family: var(--display); font-size: 7vh; line-height: 1;
  color: var(--c); text-shadow: 0 0 2.4vh var(--c);
}
.card.r1 .pos { font-size: 8.5vh; }
.card .crown { position: absolute; top: 1.2vh; right: 1.2vw; font-size: 4.4vh; line-height: 1; filter: drop-shadow(0 0 1.4vh var(--gold)); }
.card .name {
  font-size: 3.8vh; font-weight: 700; margin-top: 1vh; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.04em;
}
.card.r1 .name { font-size: 4.6vh; }
.card .score { font-family: var(--display); font-size: 5.4vh; line-height: 1.1; color: var(--c); font-variant-numeric: tabular-nums; }
.card.r1 .score { font-size: 6.6vh; }
.card .lbl { font-size: 2vh; letter-spacing: 0.3em; color: var(--muted); min-height: 2.4vh; font-variant-numeric: tabular-nums; }
.card.r1 .lbl { color: var(--gold); }
.card .pts {
  margin-top: 0.8vh; padding: 0.3vh 1vw; border-radius: 99px; font-size: 2vh; font-weight: 700; letter-spacing: 0.2em;
  color: #120a08; background: var(--c);
}

/* avatars */
.avatar {
  flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden;
  border-radius: 50%; border: 0.35vh solid rgba(255, 255, 255, 0.18);
}
.avatar img { width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.avatar .ini { font-family: var(--display); color: #fff; text-shadow: 0 0.2vh 0.6vh rgba(0,0,0,0.6); }
.avatar.big { width: 12vh; height: 12vh; border: 0.5vh solid var(--c); box-shadow: 0 0 2.4vh -0.4vh var(--c); }
.card.r1 .avatar.big { width: 16vh; height: 16vh; }
.avatar.big .ini { font-size: 5vh; }
.avatar.small { width: 4.8vh; height: 4.8vh; }
.avatar.small .ini { font-size: 2vh; }
.avatar.empty-av { background: rgba(255, 255, 255, 0.05); border-style: dashed; }

/* list */
.list-wrap { display: flex; flex-direction: column; min-height: 0; }
.list-head {
  display: flex; align-items: baseline; justify-content: center; gap: 1.2vw;
  padding-bottom: 1vh; border-bottom: 1px solid var(--line);
}
.list-title { font-family: var(--display); font-size: 3vh; color: var(--blood); letter-spacing: 0.2em; text-shadow: 0 0 1.6vh rgba(208, 31, 42, 0.6); }
.list-sub { font-size: 1.8vh; letter-spacing: 0.35em; color: var(--muted); }
/* ranks 4-7 left column, 8-11 right column */
.list {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 6.2vh);
  grid-auto-flow: column; column-gap: 2vw; row-gap: 0.8vh; padding-top: 1.2vh;
}
.row {
  display: grid; grid-template-columns: 4.4vh 4.8vh minmax(0, 1fr) auto 4.6vh; align-items: center; gap: 0.9vw;
  padding: 0 1vw; border-radius: 0.8vh;
  background: var(--panel); border-left: 0.5vh solid rgba(208, 31, 42, 0.55);
}
.row.vacant { opacity: 0.3; }
.row .rk { font-family: var(--display); font-size: 3.4vh; color: var(--muted); }
.row .nm { font-size: 3.4vh; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .sc { font-family: var(--display); font-size: 3.4vh; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.row .gap { display: none; }
.row .pt {
  justify-self: end; font-size: 2vh; font-weight: 700; color: var(--ember); border: 1px solid rgba(255, 106, 26, 0.5);
  border-radius: 99px; padding: 0.2vh 0.7vw; font-variant-numeric: tabular-nums;
}
.row .pt.zero { color: var(--muted); border-color: rgba(255, 255, 255, 0.12); }

/* monthly points panel */
.month {
  display: flex; flex-direction: column; min-height: 0; padding: 1.8vh 1.2vw 1.4vh; border-radius: 1.2vh;
  background: var(--panel); border: 2px solid rgba(246, 197, 68, 0.35); box-shadow: inset 0 0 5vh -3vh var(--gold);
}
.month-head { display: flex; flex-direction: column; align-items: center; padding-bottom: 1.2vh; border-bottom: 1px solid var(--line); }
.month-title { font-size: 1.8vh; letter-spacing: 0.4em; color: var(--muted); }
.month-name { font-family: var(--display); font-size: 4.2vh; color: var(--gold); text-shadow: 0 0 2vh rgba(246, 197, 68, 0.45); line-height: 1.1; }
.mlist { list-style: none; display: flex; flex-direction: column; gap: 0.7vh; padding-top: 1.2vh; flex: 1; min-height: 0; overflow: hidden; }
.mrow {
  display: grid; grid-template-columns: 4vh 4.8vh minmax(0, 1fr) auto; align-items: center; gap: 0.8vw;
  padding: 0.5vh 0.8vw; border-radius: 0.8vh; background: rgba(255, 255, 255, 0.03);
}
.mrow.m1 { background: rgba(246, 197, 68, 0.12); }
.mrk { font-family: var(--display); font-size: 2.8vh; color: var(--muted); text-align: center; }
.mnm { display: flex; flex-direction: column; min-width: 0; }
.mname { font-size: 2.8vh; font-weight: 700; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mmeta { font-size: 1.5vh; letter-spacing: 0.15em; color: var(--muted); }
.mpts { font-family: var(--display); font-size: 3.6vh; color: var(--gold); font-variant-numeric: tabular-nums; }
.month-empty { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 2.2vh; }
.month-empty[hidden] { display: none; }
.month-rule { text-align: center; font-size: 1.7vh; letter-spacing: 0.1em; color: var(--muted); padding-top: 1vh; border-top: 1px solid var(--line); }

/* QR: send your time / vote */
.qr-card { display: flex; align-items: center; gap: 1vw; margin-top: 1.2vh; padding: 1vh 0.8vw; border-radius: 1vh; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.qr-box { flex: none; padding: 0.6vh; background: #fff; border-radius: 0.8vh; line-height: 0; }
.qr-box img, .qr-box canvas { width: 11vh !important; height: 11vh !important; display: block; }
.qr-txt { display: flex; flex-direction: column; gap: 0.6vh; min-width: 0; }
.qr-txt b { font-family: var(--display); font-weight: 400; font-size: 2.2vh; line-height: 1.1; color: var(--ember); }
.qr-txt span { font-size: 1.7vh; color: var(--text); letter-spacing: 0.04em; line-height: 1.25; }
.qr-txt span em { font-style: normal; color: var(--gold); }

/* week winner banner */
.announce {
  position: fixed; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.4vh;
  background: radial-gradient(ellipse at center, rgba(40, 8, 10, 0.94), rgba(7, 6, 10, 0.97));
  animation: anIn 0.6s ease-out;
}
.announce[hidden] { display: none; }
@keyframes anIn { from { opacity: 0; transform: scale(1.04); } }
.an-kicker { font-family: var(--display); font-size: 4.4vh; color: var(--ember); letter-spacing: 0.08em; text-shadow: 0 0 2vh rgba(255, 106, 26, 0.6); margin-bottom: 1vh; }
.an-none { font-size: 3vh; color: var(--muted); }
.an-row {
  display: grid; grid-template-columns: 7vh 8vh 34vw 14vw 12vw; align-items: center; gap: 1.6vw;
  padding: 1.4vh 2vw; border-radius: 1.2vh; border: 2px solid var(--c); background: var(--panel); box-shadow: 0 0 3vh -1vh var(--c);
}
.an-row.an1 { --c: var(--gold); transform: scale(1.06); }
.an-row.an2 { --c: var(--silver); }
.an-row.an3 { --c: var(--bronze); }
.an-medal { font-size: 6vh; line-height: 1; }
.avatar.mid { width: 8vh; height: 8vh; border-color: var(--c); }
.avatar.mid .ini { font-size: 3.4vh; }
.an-name { font-size: 4.6vh; font-weight: 700; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-time { font-family: var(--display); font-size: 4.4vh; color: var(--c); font-variant-numeric: tabular-nums; }
.an-pts { font-family: var(--display); font-size: 4.4vh; color: var(--gold); text-align: right; }

/* fresh update highlight */
.flash { animation: flash 2.6s ease-out 1; }
@keyframes flash {
  0%, 15% { background: rgba(255, 106, 26, 0.55); box-shadow: 0 0 4vh rgba(255, 106, 26, 0.7); transform: scale(1.025); }
  100% { transform: scale(1); }
}
.card.flash { animation: cardflash 2.6s ease-out 1; }
@keyframes cardflash { 0%, 20% { transform: scale(1.05); filter: brightness(1.6); } 100% { transform: scale(1); filter: none; } }

/* empty state */
.empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2vh; text-align: center; }
.empty[hidden] { display: none; }
.empty-big { font-family: var(--display); font-size: 9vh; color: var(--blood); text-shadow: 0 0 3vh rgba(208, 31, 42, 0.7); }
.empty-small { font-size: 3vh; color: var(--muted); letter-spacing: 0.1em; }
.board.is-empty .podium, .board.is-empty .list-wrap { visibility: hidden; }

/* footer */
.bottom { display: flex; align-items: center; gap: 2.4vw; font-size: 2.2vh; color: var(--muted); letter-spacing: 0.12em; border-top: 2px solid var(--line); padding-top: 1.2vh; }
.live { display: inline-flex; align-items: center; gap: 0.8vw; font-weight: 700; }
.live i { width: 1.4vh; height: 1.4vh; border-radius: 50%; background: #666; display: inline-block; }
.live.on i { background: #2ee66b; box-shadow: 0 0 1.2vh #2ee66b; animation: pulse 2s infinite; }
.live.on { color: #8ff0b0; }
.live.off i { background: var(--blood); }
@keyframes pulse { 50% { opacity: 0.35; } }
.last { flex: 1; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.last b { color: var(--ember); }
.clock { font-family: var(--display); color: var(--text); font-variant-numeric: tabular-nums; }

/* smaller / portrait screens (phones) */
@media (max-aspect-ratio: 1/1) {
  body { overflow-y: auto; height: auto; min-height: 100vh; padding: 16px; }
  .top { grid-template-columns: 1fr; text-align: center; gap: 1.4vh; }
  .stats { justify-content: center; }
  .stat { align-items: center; }
  .board { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; gap: 3vh; }
  .month { min-height: 30vh; }
  .an-row { grid-template-columns: 5vh 6vh 1fr auto; padding: 1vh 3vw; }
  .an-time { display: none; }
  .an-kicker { font-size: 3vh; text-align: center; }
  .row { grid-template-columns: 4vh 4.8vh 1fr auto auto; }
  .podium { height: 36vh; width: 100%; }
  .brand h1 { font-size: 5vh; }
  .card .name, .card.r1 .name { font-size: 2.4vh; }
  .card .score { font-size: 4.4vh; }
  .card.r1 .score { font-size: 5.4vh; }
  .list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; grid-auto-rows: 6vh; }
  .row { grid-template-columns: 4vh 4.8vh 1fr auto; }
  .row .gap { display: none; }
  .avatar.big, .card.r1 .avatar.big { width: 8vh; height: 8vh; }
  .card .pos, .card.r1 .pos { font-size: 4vh; }
  .card .crown { font-size: 2.6vh; }
  .bottom { flex-wrap: wrap; font-size: 1.8vh; }
}

/* ---------- results slideshow ---------- */
.show {
  position: fixed; inset: 0; z-index: 6; overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, #2a070b 0%, #0c0609 60%, #050406 100%);
  display: flex; flex-direction: column;
}
.show[hidden] { display: none; }
.show-stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; }
.show-foot { display: flex; align-items: center; gap: 2vw; padding: 2vh 3vw 3vh; }
.show-title { font-size: 2.2vh; letter-spacing: 0.3em; color: var(--muted); white-space: nowrap; }
.show-progress { flex: 1; display: flex; gap: 0.5vw; }
.show-progress i { flex: 1; height: 0.6vh; border-radius: 99px; background: rgba(255, 255, 255, 0.12); position: relative; overflow: hidden; }
.show-progress i.done { background: var(--ember); }
.show-progress i.now::after {
  content: ''; position: absolute; inset: 0; background: var(--ember); transform-origin: left;
  animation: fillbar var(--d, 5s) linear forwards;
}
@keyframes fillbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.slide { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2vh; animation: slideIn 0.7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes slideIn { from { opacity: 0; transform: translateY(6vh) scale(0.96); } }
.slide .kick { font-size: 3vh; letter-spacing: 0.5em; color: var(--blood); font-weight: 700; animation: fadeUp 0.6s 0.1s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(3vh); } }
@keyframes pop { 0% { opacity: 0; transform: scale(0.3); } 70% { opacity: 1; transform: scale(1.12); } 100% { transform: scale(1); } }

/* intro */
.intro-map { font-family: var(--display); font-weight: 400; font-size: 13vh; line-height: 1; color: var(--ember); text-shadow: 0 0 5vh rgba(255, 106, 26, 0.6); animation: pop 0.9s 0.3s both; }
.intro-sub { font-size: 3.4vh; letter-spacing: 0.3em; color: var(--muted); animation: fadeUp 0.6s 0.9s both; }
.intro-cta { font-family: var(--display); font-size: 5vh; color: var(--text); letter-spacing: 0.2em; animation: fadeUp 0.6s 1.6s both, pulse 1.6s 2.2s infinite; }

/* one player */
.s-player { --c: var(--ember); }
.s-player.rk1 { --c: var(--gold); }
.s-player.rk2 { --c: var(--silver); }
.s-player.rk3 { --c: var(--bronze); }
.p-rank { font-family: var(--display); font-size: 12vh; line-height: 1; color: var(--c); text-shadow: 0 0 4vh var(--c); animation: pop 0.7s 0.1s both; }
.s-player.rk1 .p-rank, .s-player.rk2 .p-rank, .s-player.rk3 .p-rank { font-size: 14vh; text-shadow: none; filter: drop-shadow(0 0 3vh var(--c)); }
.p-place { font-size: 3vh; letter-spacing: 0.45em; color: var(--c); font-weight: 700; animation: fadeUp 0.5s 0.4s both; }
.avatar.huge {
  width: 30vh; height: 30vh; border: 0.8vh solid var(--c); box-shadow: 0 0 8vh -1vh var(--c);
  animation: pop 0.8s 0.5s both;
}
.avatar.huge .ini { font-size: 12vh; }
.s-player.rk1 .avatar.huge { width: 36vh; height: 36vh; animation: pop 0.8s 0.5s both, glow 2s 1.3s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 14vh 1vh var(--c); } }
.p-name {
  font-family: var(--display); font-weight: 400; font-size: 9vh; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.04em;
  max-width: 90vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; animation: fadeUp 0.6s 0.9s both;
}
.s-player.rk1 .p-name { font-size: 11vh; color: var(--gold); text-shadow: 0 0 4vh rgba(246, 197, 68, 0.5); }
.p-line { display: flex; align-items: center; gap: 3vw; animation: fadeUp 0.6s 1.3s both; }
.p-time { font-family: var(--display); font-size: 7vh; color: var(--text); font-variant-numeric: tabular-nums; }
.p-pts {
  font-family: var(--display); font-size: 5vh; color: #120a08; background: var(--c); border-radius: 99px; padding: 0.6vh 2.4vw;
  animation: pop 0.6s 1.8s both;
}

/* podium */
.pod { display: flex; align-items: flex-end; gap: 3vw; margin-top: 2vh; }
.pod-col { --c: var(--ember); display: flex; flex-direction: column; align-items: center; gap: 1.2vh; width: 24vw; animation: rise 0.8s both; }
.pod-col.pc1 { --c: var(--gold); animation-delay: 1.2s; }
.pod-col.pc2 { --c: var(--silver); animation-delay: 0.6s; }
.pod-col.pc3 { --c: var(--bronze); animation-delay: 0.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(15vh); } }
.pod-medal { font-size: 7vh; line-height: 1; }
.pod-col .avatar.big { --c: inherit; border-color: var(--c); }
.pod-name { font-size: 4vh; font-weight: 700; text-transform: uppercase; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-time { font-family: var(--display); font-size: 4vh; color: var(--c); }
.pod-block {
  width: 100%; display: flex; align-items: flex-start; justify-content: center; padding-top: 2vh;
  font-family: var(--display); font-size: 6vh; color: #120a08; background: linear-gradient(180deg, var(--c), rgba(0,0,0,0.4));
  border-radius: 1.2vh 1.2vh 0 0;
}
.pc1 .pod-block { height: 24vh; }
.pc2 .pod-block { height: 17vh; }
.pc3 .pod-block { height: 12vh; }

/* monthly */
.m-title { font-family: var(--display); font-weight: 400; font-size: 10vh; line-height: 1; color: var(--gold); text-shadow: 0 0 4vh rgba(246, 197, 68, 0.5); animation: pop 0.8s 0.1s both; }
.m-list { list-style: none; display: flex; flex-direction: column; gap: 1.4vh; width: min(70vw, 1100px); margin-top: 2vh; }
.m-row {
  display: grid; grid-template-columns: 8vh 6vh 1fr auto; align-items: center; gap: 2vw;
  padding: 1.4vh 2vw; border-radius: 1.2vh; background: var(--panel); border-left: 0.6vh solid var(--ember);
  animation: fadeLeft 0.6s both;
}
@keyframes fadeLeft { from { opacity: 0; transform: translateX(-8vw); } }
.m-row.mr1 { border-left-color: var(--gold); background: rgba(246, 197, 68, 0.12); }
.m-row.mr2 { border-left-color: var(--silver); }
.m-row.mr3 { border-left-color: var(--bronze); }
.m-row .avatar.small { width: 6vh; height: 6vh; }
.m-rk { font-family: var(--display); font-size: 4.4vh; color: var(--muted); text-align: center; }
.m-nm { font-size: 4.4vh; font-weight: 700; text-transform: uppercase; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-pt { font-family: var(--display); font-size: 5vh; color: var(--gold); }

/* confetti for the winner */
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -4vh; width: 1.2vh; height: 2vh; border-radius: 0.2vh; opacity: 0.9; animation: fall 4s linear infinite; }
@keyframes fall { to { top: 105vh; transform: rotate(720deg) translateX(6vw); } }

@media (max-aspect-ratio: 1/1) {
  .intro-map { font-size: 8vh; }
  .avatar.huge, .s-player.rk1 .avatar.huge { width: 22vh; height: 22vh; }
  .p-name, .s-player.rk1 .p-name { font-size: 6vh; }
  .pod { gap: 2vw; }
  .pod-col { width: 30vw; }
  .pod-name, .pod-time { font-size: 2.4vh; }
  .m-list { width: 92vw; }
  .m-nm { font-size: 3vh; }
}

@media (prefers-reduced-motion: reduce) {
  .fog span, .live.on i, .flash, .card.flash { animation: none; }
  .slide, .slide *, .confetti i { animation: none !important; }
  .confetti { display: none; }
}
