:root {
    --red: #d8231e;
    --red-dark: #7a0e0b;
    --bone: #efe9dc;
    --bg: #0b0708;
    --panel: rgba(20, 10, 10, .82);
    --line: rgba(216, 35, 30, .35);
    --gold: #f1c40f;
    --purple: #c58cff;
    --display: 'Rajdhani', 'Impact', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    color: var(--bone);
    background: var(--bg) radial-gradient(ellipse at top, rgba(216, 35, 30, .22), transparent 60%);
    min-height: 100vh;
}
.hidden { display: none !important; }
header { text-align: center; padding: 28px 16px 10px; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 9vw, 110px); line-height: .9; letter-spacing: .02em; filter: url(#grunge); }
h1 .white { color: var(--bone); text-shadow: 0 4px 0 #000; }
h1 .red { color: var(--red); text-shadow: 0 4px 0 var(--red-dark), 0 0 28px rgba(216, 35, 30, .5); }
header .sub { font-family: var(--display); font-weight: 600; letter-spacing: .3em; font-size: clamp(14px, 2.4vw, 22px); color: var(--red); margin-top: 8px; text-shadow: 0 0 12px rgba(216, 35, 30, .5); }
main { max-width: 1100px; margin: 0 auto; padding: 16px; }
.status { text-align: center; background: var(--panel); border: 1px solid var(--line); padding: 18px; }
.phase { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 3vw, 28px); letter-spacing: .08em; text-transform: uppercase; }
.wavebox { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; margin-top: 10px; }
.wave { display: flex; align-items: baseline; gap: 10px; }
.wave .k { font-family: var(--display); font-weight: 600; letter-spacing: .3em; font-size: 20px; opacity: .8; }
.wave .n { font-family: var(--display); font-weight: 700; font-size: clamp(56px, 10vw, 96px); line-height: 1; color: var(--red); filter: url(#grunge); text-shadow: 0 4px 0 var(--red-dark); }
.wave .of { font-family: var(--display); font-weight: 600; font-size: 28px; opacity: .55; }
.stats { display: flex; gap: 28px; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat .v { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; }
.stat .v.red { color: var(--red); }
.stat .k { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgba(239, 233, 220, .55); margin-top: 4px; }
.timer { margin-top: 10px; }
.timer .label { display: block; font-size: 12px; letter-spacing: .4em; color: rgba(239, 233, 220, .6); }
.timer .clock { font-family: var(--display); font-weight: 700; font-size: clamp(56px, 12vw, 120px); line-height: 1; color: var(--red); filter: url(#grunge); text-shadow: 0 4px 0 var(--red-dark); font-variant-numeric: tabular-nums; }
.timer .clock.urgent { animation: pulse .5s ease-in-out infinite alternate; }
.winner { margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 5vw, 48px); color: var(--red); filter: url(#grunge); text-transform: uppercase; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } .wavebox { gap: 18px; } }
.col { background: var(--panel); border: 1px solid var(--line); padding: 14px; }
h2 { font-family: var(--display); font-weight: 700; letter-spacing: .15em; font-size: 20px; color: var(--red); border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 10px; }
ul { list-style: none; }
.roster li, .feed li { padding: 6px 4px; border-bottom: 1px dashed rgba(239, 233, 220, .08); display: flex; justify-content: space-between; gap: 10px; }
.roster li.dead .name, .roster li.left .name { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; color: rgba(239, 233, 220, .55); }
.roster li .meta { color: rgba(239, 233, 220, .55); font-size: 13px; white-space: nowrap; }
.roster li.dead .meta { color: var(--red); }
.roster li .kc { margin-left: 8px; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--bone); }
.feed li .t { color: rgba(239, 233, 220, .45); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.feed li .kill { color: var(--red); }
.killfeed li { font-family: var(--display); font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: .03em; }
.killfeed .w { display: inline-block; min-width: 34px; margin-right: 8px; color: rgba(239, 233, 220, .4); font-size: 13px; }
.killfeed .v { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.killfeed .k { color: var(--red); }
.killfeed .boss { color: var(--purple); }
.killfeed .streak { color: var(--gold); }
.killfeed .wave-line { color: rgba(239, 233, 220, .7); letter-spacing: .15em; }
.killfeed .wave-line.ok { color: #6fdc8c; }
.empty { color: rgba(239, 233, 220, .4); font-style: italic; }
footer { text-align: center; padding: 20px; color: rgba(239, 233, 220, .4); font-size: 12px; }
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.05); } }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: rgba(239, 233, 220, .4); cursor: pointer; text-decoration: underline dotted; }
.linkbtn:hover { color: var(--red); }
.board { list-style: none; counter-reset: rank; }
.board li { display: flex; align-items: center; gap: 12px; padding: 6px 4px; border-bottom: 1px dashed rgba(239, 233, 220, .08); }
.board li::before { counter-increment: rank; content: counter(rank); font-family: var(--display); font-weight: 700; color: var(--red); width: 28px; font-size: 20px; }
.board li .n { margin-left: auto; font-family: var(--display); font-weight: 700; font-size: 20px; }
.board li .bk { font-size: 12px; color: var(--purple); letter-spacing: .1em; text-transform: uppercase; }
.board li .name.dead { text-decoration: line-through; text-decoration-color: var(--red); opacity: .6; }
.board li:first-child .name { color: var(--gold); font-weight: 700; }
