/* Generated by tools/make_site_css.py from present.css + site-extra.css. Do not edit by hand. */
@font-face { font-family: "Poppins"; font-weight: 500; src: url(/fonts/Poppins-Medium.ttf) format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 700; src: url(/fonts/Poppins-Bold.ttf) format("truetype"); }
:root { color-scheme: dark; --red: #CE1437; --red-text: #F2506F; --bg: #0E070A; --surface: #1B0E14; --line: #3A2530; --ink: #F7EEF0; --muted: #B8A2AA; --font: "Poppins", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.panel { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.phead { display: none; align-items: baseline; justify-content: space-between; gap: calc(1.5 * var(--w)); flex: none; margin-bottom: calc(1.6 * var(--u)); padding-bottom: calc(1.2 * var(--u)); border-bottom: calc(.35 * var(--u)) solid var(--red); }
.phead h2 { margin: 0; font-size: calc(3.4 * var(--u)); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phead span { flex: none; font-size: calc(2.3 * var(--u)); color: var(--red-text); font-weight: 700; }
.board { position: relative; flex: 1; min-height: 0; }
.rank { flex: none; width: calc(var(--row-h) * .66); height: calc(var(--row-h) * .66); border-radius: 50%; background: #34202A; color: var(--ink); display: grid; place-items: center;
  font-weight: 700; font-size: calc(var(--row-h) * .34); line-height: 1; }
.rid { flex: none; max-width: 24%; border: calc(.25 * var(--u)) solid var(--line); border-radius: 999px; padding: calc(var(--row-h) * .04) calc(var(--row-h) * .2); font-weight: 700; font-size: calc(var(--row-h) * .3); color: var(--red-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .02em; }
.name { flex: 1 1 auto; min-width: 0; font-weight: 700; font-size: calc(var(--row-h) * .42); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tries { flex: none; display: flex; gap: calc(var(--row-h) * .1); }
.tries span { flex: none; text-align: center; font-size: calc(var(--row-h) * .27); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tries span.dnf { opacity: .6; }
.tries span.fst { color: var(--ink); font-weight: 700; }
.tries.t3 span { min-width: calc(var(--row-h) * 1.7); }
.tries.t5 span { min-width: calc(var(--row-h) * 1.5); font-size: calc(var(--row-h) * .22); }
.best { flex: none; min-width: calc(var(--row-h) * 2.5); text-align: right; font-weight: 700; font-size: calc(var(--row-h) * .46); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(242, 80, 111, .7); } 100% { box-shadow: 0 0 0 calc(3 * var(--u)) rgba(242, 80, 111, 0); } }
.empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty img { height: calc(20 * var(--u)); margin-bottom: calc(3 * var(--u)); }
.empty p { margin: 0; font-size: calc(3.4 * var(--u)); font-weight: 700; }
.team { flex: 0 20 auto; max-width: 34%; min-width: 0; font-size: calc(var(--row-h) * .3); color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.colhead { flex: none; display: flex; justify-content: flex-end; gap: calc(var(--row-h, 60px) * .24); padding: 0 calc(var(--row-h, 60px) * .2) 0 0; margin-bottom: calc(.8 * var(--u));
  font-size: calc(1.9 * var(--u)); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.colhead .tries span { font-size: inherit !important; color: var(--muted) !important; }
.colhead .best { font-size: inherit; color: var(--red-text); }
.tries.pts span { min-width: calc(var(--row-h) * 1.35); font-size: calc(var(--row-h) * .34); color: var(--ink); font-weight: 700; }
.tries.pts span.bt { color: var(--red-text); text-decoration: underline; text-underline-offset: calc(.5 * var(--u)); text-decoration-thickness: calc(.3 * var(--u)); }
.tries.pts.mz span { min-width: calc(var(--row-h) * 2.2); font-size: calc(var(--row-h) * .31); }
.tries.pts.mz span.dn { color: var(--muted); font-weight: 500; }
.panel[data-kind="maze"] .best { font-size: calc(var(--row-h) * .4); min-width: calc(var(--row-h) * 2.6); }
.panel[data-kind="maze"] .colhead .tries span { min-width: calc(var(--row-h) * 2.2); }
.frpanel { --g-nr: 1; }
.progress { flex: none; display: flex; align-items: stretch; gap: calc(1 * var(--w)); margin-bottom: calc(2 * var(--u)); padding: calc(1.2 * var(--u)) calc(1.2 * var(--w)); background: var(--surface); border: calc(.3 * var(--u)) solid var(--line); border-radius: calc(3 * var(--u)); flex-wrap: wrap; position: relative; }
.pseg { display: flex; flex-direction: column; gap: calc(.6 * var(--u)); padding: calc(.4 * var(--u)) calc(1 * var(--w)); border-radius: calc(2 * var(--u)); min-width: 0; }
.pseg b { font-size: calc(1.7 * var(--u)); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pseg.cur b { color: var(--red-text); }
.pseg.cur { background: rgba(206, 20, 55, .12); }
.pseg.todo { opacity: .45; }
.chips { display: flex; gap: calc(.6 * var(--w)); flex-wrap: wrap; }
.chip { min-width: calc(3.6 * var(--u)); height: calc(3.6 * var(--u)); padding: 0 calc(.9 * var(--u)); border-radius: 999px; display: inline-grid; place-items: center; font-size: calc(1.9 * var(--u)); font-weight: 700; border: calc(.3 * var(--u)) solid var(--line); color: var(--muted); background: transparent; }
.chip.st-not_started { border-color: #6B5560; color: var(--muted); }
.chip.st-calling { background: #F5B93A; border-color: #F5B93A; color: #2B1B00; animation: blink 1s infinite; }
.chip.st-ongoing { background: var(--red); border-color: var(--red); color: #fff; }
.chip.st-finished { background: #2F8F5B; border-color: #2F8F5B; color: #fff; }
.chip.st-none { border-style: dashed; }
@keyframes blink { 50% { opacity: .45; } }
.legend { margin-left: auto; align-self: center; display: flex; align-items: center; gap: calc(.6 * var(--w)); font-size: calc(1.5 * var(--u)); color: var(--muted); flex-wrap: wrap; }
.legend i { width: calc(1.5 * var(--u)); height: calc(1.5 * var(--u)); border-radius: 50%; border: calc(.25 * var(--u)) solid #6B5560; margin-left: calc(.8 * var(--w)); }
.legend i.st-calling { background: #F5B93A; border-color: #F5B93A; }
.legend i.st-ongoing { background: var(--red); border-color: var(--red); }
.legend i.st-finished { background: #2F8F5B; border-color: #2F8F5B; }
.fgrid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: calc(2 * var(--u)) calc(1.6 * var(--w)); align-content: start; }
.fcard { display: flex; flex-direction: column; justify-content: center; gap: calc(.9 * var(--u)); padding: calc(1.6 * var(--u)) calc(1.4 * var(--w)); background: var(--surface); border: calc(.35 * var(--u)) solid var(--line); border-radius: calc(3 * var(--u)); min-height: 0; overflow: hidden; }
.fcard.st-calling { border-color: #F5B93A; box-shadow: 0 0 calc(3 * var(--u)) rgba(245, 185, 58, .35); }
.fcard.st-ongoing { border-color: var(--red); box-shadow: 0 0 calc(3 * var(--u)) rgba(206, 20, 55, .3); }
.fcard.st-finished { border-color: #2F8F5B; }
.fhead { display: flex; align-items: center; justify-content: space-between; gap: calc(1 * var(--w)); }
.fhead h3 { margin: 0; font-size: calc(3.2 * var(--u)); font-weight: 700; }
.pill { font-size: calc(1.7 * var(--u)); font-weight: 700; padding: calc(.5 * var(--u)) calc(1.3 * var(--u)); border-radius: 999px; border: calc(.25 * var(--u)) solid #6B5560; color: var(--muted); }
.pill.st-calling { background: #F5B93A; border-color: #F5B93A; color: #2B1B00; }
.pill.st-ongoing { background: var(--red); border-color: var(--red); color: #fff; }
.pill.st-finished { background: #2F8F5B; border-color: #2F8F5B; color: #fff; }
.fcols { display: flex; justify-content: flex-end; gap: calc(.5 * var(--w)); font-size: calc(1.4 * var(--u)); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding-right: calc(1.2 * var(--u)); }
.fcols span { width: calc(6.6 * var(--u)); text-align: center; }
.fcols span:last-child { width: calc(9 * var(--u)); text-align: right; }
.frow { display: flex; align-items: center; gap: calc(1 * var(--w)); height: calc(6.4 * var(--u)); padding: 0 calc(1.4 * var(--u)) 0 calc(.8 * var(--u)); background: #25141C; border: calc(.25 * var(--u)) solid var(--line); border-radius: 999px; }
.frow .rank { width: calc(4.6 * var(--u)); height: calc(4.6 * var(--u)); font-size: calc(2.3 * var(--u)); flex: none; border-radius: 50%; background: #34202A; display: grid; place-items: center; font-weight: 700; }
.frow .rid { flex: none; border: calc(.25 * var(--u)) solid var(--line); border-radius: 999px; padding: calc(.2 * var(--u)) calc(1.2 * var(--u)); font-weight: 700; font-size: calc(2 * var(--u)); color: var(--red-text); }
.frow .name { flex: 1 1 auto; min-width: 0; font-weight: 700; font-size: calc(2.7 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow .team { flex: 0 1 auto; max-width: 28%; color: var(--muted); font-size: calc(2 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow .reached { color: var(--muted); font-size: calc(2 * var(--u)); }
.runs { display: flex; gap: calc(.5 * var(--w)); }
.runs i { width: calc(6.6 * var(--u)); text-align: center; font-style: normal; font-size: calc(2.4 * var(--u)); font-weight: 700; font-variant-numeric: tabular-nums; }
.frow .best { min-width: calc(9 * var(--u)); text-align: right; font-weight: 700; font-size: calc(3 * var(--u)); font-variant-numeric: tabular-nums; }
.frow.adv { border-color: var(--red); background: linear-gradient(90deg, rgba(206, 20, 55, .34), rgba(206, 20, 55, .12)); }
.frow.adv .rank { background: var(--red); color: #fff; }
.frow.lead:not(.adv) .rank { background: #fff; color: var(--red); }
.fcard.stand .frow { height: calc(7 * var(--u)); }
.frpanel .empty { top: calc(12 * var(--u)); }
.fgrid[data-count="1"] .frow { height: calc(8 * var(--u)); }
.fgrid[data-count="1"] .fhead h3 { font-size: calc(4 * var(--u)); }
@keyframes coin { from { opacity: 0; transform: scale(1.04); } }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(18deg); } 40% { transform: rotate(-16deg); } 60% { transform: rotate(10deg); } }
.fgrid[data-count="1"] { grid-auto-rows: auto; }
.fgrid[data-count="1"] .fcard { padding: calc(3 * var(--u)) calc(2 * var(--w)); gap: calc(1.6 * var(--u)); }
.smpanel .fgrid[data-kind="groups"] { align-content: start; }
.fcard.sm .frow { height: calc(5 * var(--u)); margin-bottom: calc(.3 * var(--u)); }
.fcard.sm .frow .rank { width: calc(3.8 * var(--u)); height: calc(3.8 * var(--u)); font-size: calc(2 * var(--u)); }
.fcard.sm .frow .name { font-size: calc(2.4 * var(--u)); }
.fcard.sm .frow .name em { font-style: normal; font-size: calc(1.5 * var(--u)); color: #F5B93A; margin-left: calc(.6 * var(--w)); }
.fcard.sm .frow .rid { font-size: calc(1.8 * var(--u)); }
.fcard.sm .frow .rounds { color: var(--muted); font-size: calc(2 * var(--u)); min-width: calc(7 * var(--u)); text-align: center; font-variant-numeric: tabular-nums; }
.frow .best small { font-size: calc(1.6 * var(--u)); color: var(--muted); margin-left: calc(.3 * var(--u)); }
.fcard.sm .fcols span { width: calc(8 * var(--u)); }
.fcard.sm .fcols { padding-right: calc(1.4 * var(--u)); }
.frow.tie { border-color: #F5B93A; }
.fcard.sm .fhead h3 { font-size: calc(2.8 * var(--u)); }
.mcount { margin-left: auto; color: var(--muted); font-size: calc(1.8 * var(--u)); margin-right: calc(1 * var(--w)); }
.rm-alert { background: rgba(245, 185, 58, .16); border: calc(.25 * var(--u)) solid #F5B93A; border-radius: 999px; padding: calc(.5 * var(--u)) calc(1.2 * var(--w)); font-size: calc(1.8 * var(--u)); font-weight: 700; color: #F5B93A; }
.fcard.semi { justify-content: flex-start; gap: calc(1 * var(--u)); }
.fgrid[data-kind="semi"], .fgrid[data-kind="final"] { grid-auto-rows: auto; }
.sm-note { font-size: calc(2.2 * var(--u)); color: var(--muted); font-weight: 700; }
.sm-note.ok { color: #6FD39B; }
.echips { display: flex; flex-wrap: wrap; gap: calc(.8 * var(--u)) calc(.6 * var(--w)); margin-bottom: calc(1 * var(--u)); }
.echip { border: calc(.25 * var(--u)) solid var(--line); border-radius: 999px; padding: calc(.5 * var(--u)) calc(1.2 * var(--w)); font-size: calc(2 * var(--u)); }
.echip.out { opacity: .35; text-decoration: line-through; }
.echip b { color: var(--red-text); }
.echip i { font-style: normal; letter-spacing: calc(.2 * var(--w)); color: var(--muted); }
.mrow2 { display: grid; grid-template-columns: calc(13 * var(--w)) minmax(0, 1fr) calc(9 * var(--w)) minmax(0, 1fr) calc(9 * var(--w)); align-items: center; gap: calc(1 * var(--w)); padding: 0 calc(1.4 * var(--w)); min-height: calc(7.6 * var(--u)); background: #25141C; border: calc(.25 * var(--u)) solid var(--line); border-radius: 999px; }
.mrow2.st-calling { border-color: #F5B93A; box-shadow: 0 0 calc(2 * var(--u)) rgba(245, 185, 58, .35); }
.mrow2.st-ongoing { border-color: var(--red); box-shadow: 0 0 calc(2 * var(--u)) rgba(206, 20, 55, .3); }
.mrow2 .ml { font-size: calc(1.6 * var(--u)); color: var(--muted); font-weight: 700; line-height: 1.15; }
.mrow2 .pn { min-width: 0; font-size: calc(2.5 * var(--u)); }
.mrow2 .pn:last-of-type { text-align: right; }
.mrow2 .pn b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow2 .pn i { font-style: normal; font-size: calc(1.5 * var(--u)); color: var(--red-text); }
.mrow2 .pn i.tbd { color: var(--muted); font-size: calc(1.9 * var(--u)); }
.mrow2 .pn.won b { color: #fff; }
.mrow2.done .pn:not(.won) { opacity: .55; }
.mrow2 .sc { text-align: center; font-size: calc(3.4 * var(--u)); font-weight: 700; font-variant-numeric: tabular-nums; }
.mrow2 .sc.vs { color: var(--muted); font-size: calc(2.2 * var(--u)); }
.mrow2 .sc b.w { color: var(--red-text); }
.mrow2 .pill { justify-self: end; }
.podium { display: flex; gap: calc(1.2 * var(--w)); flex-wrap: wrap; margin-bottom: calc(1.4 * var(--u)); }
.podium .pl { display: flex; align-items: center; gap: calc(.8 * var(--w)); border: calc(.3 * var(--u)) solid var(--line); border-radius: 999px; padding: calc(.6 * var(--u)) calc(2 * var(--w)) calc(.6 * var(--u)) calc(.6 * var(--u)); font-size: calc(2.6 * var(--u)); font-weight: 700; }
.podium .pl b { width: calc(5 * var(--u)); height: calc(5 * var(--u)); border-radius: 50%; background: #34202A; display: grid; place-items: center; }
.podium .pl.p1 { border-color: var(--red); background: rgba(206, 20, 55, .25); }
.podium .pl.p1 b { background: #fff; color: var(--red); }
.podium .pl i { display: block; font-style: normal; font-size: calc(1.5 * var(--u)); color: var(--muted); font-weight: 500; }
.fcard.stand .frow .best small { color: var(--muted); }
.fcard.sm { justify-content: flex-start; align-self: start; }
.fcard.mxcard { gap: calc(1 * var(--u)); width: 100%; }
table.mx { width: 100%; border-collapse: separate; border-spacing: calc(.35 * var(--u)); table-layout: fixed; font-variant-numeric: tabular-nums; }
table.mx th, table.mx td { background: #25141C; border-radius: calc(1.2 * var(--u)); text-align: center; padding: 0 calc(.3 * var(--w)); height: calc(5.8 * var(--u)); font-size: calc(2.3 * var(--u)); overflow: hidden; }
table.mx thead th { height: auto; padding: calc(.6 * var(--u)) calc(.2 * var(--w)); background: transparent; color: var(--muted); font-size: calc(1.5 * var(--u)); font-weight: 700; line-height: 1.15; }
table.mx thead th b { display: block; color: var(--red-text); font-size: calc(1.9 * var(--u)); }
table.mx thead th span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
table.mx th.corner { text-align: left; font-size: calc(1.8 * var(--u)); letter-spacing: .08em; text-transform: uppercase; }
table.mx th.rh { text-align: left; background: #25141C; color: var(--ink); font-size: calc(2.3 * var(--u)); white-space: nowrap; text-overflow: ellipsis; padding: 0 calc(1 * var(--w)); width: 27%; }
table.mx th.rh b { color: var(--red-text); margin-right: calc(.4 * var(--w)); flex: 0 0 auto; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.rhw { display: flex; flex-wrap: nowrap; align-items: center; gap: calc(.2 * var(--u)) calc(.4 * var(--w)); min-width: 0; }
.rhw .nm { flex: 1 1 auto; min-width: 5ch; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rhw.hasrm { flex-wrap: wrap; }
.rmtag { flex: none; display: inline-block; background: #F5B93A; color: #2B1B00; font-weight: 700; font-size: calc(1.5 * var(--u)); line-height: 1; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; border-radius: 999px; padding: calc(.5 * var(--u)) calc(.8 * var(--w)); }
.rmtag.pend { background: transparent; color: #F5B93A; border: calc(.25 * var(--u)) solid #F5B93A; padding: calc(.3 * var(--u)) calc(.8 * var(--w)); animation: blink 1.4s infinite; }
.mxlist { display: none; }
table.mx td.diag { background: rgba(255, 255, 255, .1); }
table.mx td.nil { color: var(--muted); }
table.mx td.w b { color: #fff; }
table.mx td.l { color: var(--muted); }
table.mx td small { font-size: calc(1.7 * var(--u)); color: var(--muted); }
table.mx td.tot, table.mx th.tot { width: 7%; font-weight: 700; }
table.mx td.tot { font-size: calc(3 * var(--u)); }
table.mx td.pl, table.mx th.pl { width: 7%; }
table.mx td.pl { font-weight: 700; font-size: calc(2.6 * var(--u)); }
table.mx tr.adv th.rh, table.mx tr.adv td.tot, table.mx tr.adv td.pl { background: linear-gradient(90deg, rgba(206, 20, 55, .55), rgba(206, 20, 55, .3)); }
table.mx tr.tie th.rh, table.mx tr.tie td.tot, table.mx tr.tie td.pl { box-shadow: inset 0 0 0 calc(.3 * var(--u)) #F5B93A; }
.going { display: flex; flex-wrap: wrap; align-items: center; gap: calc(.6 * var(--u)) calc(1 * var(--w)); font-size: calc(2 * var(--u)); }
.going b { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: calc(1.6 * var(--u)); }
.going span { border: calc(.3 * var(--u)) solid var(--red); background: rgba(206, 20, 55, .25); border-radius: 999px; padding: calc(.4 * var(--u)) calc(1.4 * var(--w)); }
.going span b { color: #FFB4C2; margin-right: calc(.4 * var(--w)); font-size: inherit; letter-spacing: 0; text-transform: none; }
table.mx th.corner { width: 20%; }
.fgrid[data-kind="semi"], .fgrid[data-kind="final"] { display: block; }
.brk { position: relative; width: 100%; }
.brk svg { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.brk path { fill: none; stroke: #6B5560; stroke-width: 2; }
.brk path.done { stroke: var(--red-text); }
.bh { position: absolute; top: 0; display: grid; place-items: center; background: #25141C; border-radius: calc(.8 * var(--u)); color: var(--muted); font-weight: 700; font-size: calc(1.7 * var(--u)); text-transform: uppercase; letter-spacing: .06em; }
.bs { position: absolute; left: 0; font-size: calc(1.5 * var(--u)); font-weight: 700; letter-spacing: .1em; color: var(--red-text); }
.bx { position: absolute; display: flex; flex-direction: column; background: var(--surface); border: calc(.25 * var(--u)) solid var(--line); border-radius: calc(1 * var(--u)); overflow: visible; }
.bx.st-calling { border-color: #F5B93A; box-shadow: 0 0 calc(1.6 * var(--u)) rgba(245, 185, 58, .4); }
.bx.st-ongoing { border-color: var(--red); box-shadow: 0 0 calc(1.6 * var(--u)) rgba(206, 20, 55, .35); }
.bx .bt { position: absolute; left: -.2em; top: -1.15em; font-size: .72em; font-style: italic; color: var(--muted); }
.bl { flex: 1; display: flex; align-items: center; gap: .5em; padding: 0 .6em; min-height: 0; color: var(--ink); }
.bl + .bl { border-top: calc(.2 * var(--u)) solid var(--line); }
.bl i { font-style: normal; font-size: .75em; color: var(--red-text); font-weight: 700; flex: none; min-width: 2.2em; }
.bl b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.bl b.ph { color: var(--muted); font-weight: 500; font-style: italic; }
.bl em { font-style: normal; font-weight: 700; font-size: 1.15em; min-width: 1em; text-align: right; }
.bl.lose { color: var(--muted); }
.bl.win { background: linear-gradient(90deg, rgba(206, 20, 55, .4), rgba(206, 20, 55, .12)); border-radius: calc(.9 * var(--u)); }
.bl.win em { color: #fff; }
.bx .bl:first-of-type.win { border-radius: calc(.9 * var(--u)) calc(.9 * var(--u)) 0 0; }
.bx .bl:last-of-type.win { border-radius: 0 0 calc(.9 * var(--u)) calc(.9 * var(--u)); }
.echips.sm { margin: calc(.8 * var(--u)) 0; gap: calc(.5 * var(--u)) calc(.4 * var(--w)); }
.echips.sm .echip { padding: calc(.3 * var(--u)) calc(.8 * var(--w)); }
.echip.l1 { border-color: #F5B93A; }
.sm-round { display: flex; justify-content: space-between; align-items: baseline; margin: calc(1 * var(--u)) 0 calc(.8 * var(--u)); font-size: calc(2.6 * var(--u)); }
.sm-round span { color: var(--muted); font-size: calc(2 * var(--u)); }
.smgrid { display: grid; grid-template-columns: repeat(var(--c, 2), minmax(0, 1fr)); gap: calc(.8 * var(--u)) calc(1 * var(--w)); }
.smgrid .mrow2 { min-height: var(--rh, calc(6.8 * var(--u))); grid-template-columns: calc(7 * var(--w)) minmax(0, 1fr) calc(6 * var(--w)) minmax(0, 1fr) calc(7 * var(--w)); gap: calc(.6 * var(--w)); padding: 0 calc(1 * var(--w)); }
.smgrid .mrow2 .pn { font-size: calc(2.2 * var(--u)); }
.smgrid .mrow2 .pn u { text-decoration: none; letter-spacing: calc(.15 * var(--w)); color: #F5B93A; margin-left: calc(.4 * var(--w)); }
.smgrid .mrow2 .sc { font-size: calc(3 * var(--u)); }
.progress[hidden] { display: none; }
.cd { flex: none; margin-bottom: calc(1.8 * var(--u)); padding: calc(1.4 * var(--u)) calc(1.6 * var(--w)) calc(1.5 * var(--u)); background: var(--surface); border: calc(.3 * var(--u)) solid var(--line); border-radius: calc(3 * var(--u)); }
.cd-top { display: flex; align-items: baseline; justify-content: space-between; gap: calc(2 * var(--w)); }
.cd-k { font-size: calc(2.4 * var(--u)); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.cd-k b { color: var(--ink); font-size: calc(3 * var(--u)); letter-spacing: .02em; margin-left: calc(.6 * var(--w)); }
.cd-t { font-size: calc(6.2 * var(--u)); line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; color: #6FD39B; transition: color .6s; }
.cd-track { margin-top: calc(1 * var(--u)); height: calc(2.6 * var(--u)); border-radius: 999px; background: #2A1820; overflow: hidden; border: calc(.2 * var(--u)) solid var(--line); }
.cd-fill { height: 100%; width: 100%; border-radius: 999px; transition: width 1s linear, background .6s; position: relative; overflow: hidden;
  background: linear-gradient(90deg, #2E9E6B, #6FD39B); box-shadow: 0 0 calc(2 * var(--u)) rgba(111, 211, 155, .5); }
.cd-fill::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .22) 0 calc(1.6 * var(--u)), transparent calc(1.6 * var(--u)) calc(3.2 * var(--u))); background-size: calc(6.4 * var(--u)) 100%; animation: cdmove 1.4s linear infinite; }
@keyframes cdmove { to { background-position: calc(6.4 * var(--u)) 0; } }
.cd-note { margin-top: calc(1 * var(--u)); font-size: calc(2.6 * var(--u)); font-weight: 700; color: #F5B93A; text-align: center; }
.cd[data-state="soon"] { border-color: #F5B93A; }
.cd[data-state="soon"] .cd-t { color: #F5B93A; }
.cd[data-state="soon"] .cd-fill { background: linear-gradient(90deg, #D9902A, #F5B93A); box-shadow: 0 0 calc(2 * var(--u)) rgba(245, 185, 58, .5); }
.cd[data-state="last"] { border-color: var(--red); animation: cdpulse 1s ease-in-out infinite; }
.cd[data-state="last"] .cd-t { color: var(--red-text); }
.cd[data-state="last"] .cd-fill { background: linear-gradient(90deg, #A80F2C, var(--red)); box-shadow: 0 0 calc(2 * var(--u)) rgba(206, 20, 55, .6); }
.cd[data-state="last"] .cd-note { color: var(--red-text); }
.cd[data-state="over"] { border-color: var(--red); }
.cd[data-state="over"] .cd-t { color: var(--red-text); }
.cd[data-state="over"] .cd-note { color: var(--red-text); }
.cd[data-state="over"] .cd-fill::after { animation: none; }
@keyframes cdpulse { 50% { box-shadow: 0 0 calc(3 * var(--u)) rgba(206, 20, 55, .55); } }
@keyframes nin { from { opacity: 0; transform: translate(-50%, calc(4 * var(--u))); } }
@keyframes nout { to { opacity: 0; transform: translate(-50%, calc(4 * var(--u))); } }
.panel[data-gff="1"] .tries.pts span { min-width: calc(var(--row-h) * 1.9); }
.panel[data-gff="1"] .colhead .tries span { min-width: calc(var(--row-h) * 1.9); }
body.theme-mrc { --red: #AF1314; --red-text: #E8AD07; --bg: #06140C; --surface: #0E2418; --line: #24523A; --muted: #A9C4B3; --ink: #F5F7EE; }
body.theme-mrc .bg { background:
  radial-gradient(circle at 50% 50%, transparent 0 calc(9 * var(--u)), rgba(255,255,255,.07) calc(9 * var(--u)) calc(calc(9 * var(--u)) + calc(.3 * var(--u))), transparent calc(calc(9 * var(--u)) + calc(.3 * var(--u)))),
  linear-gradient(90deg, transparent calc(50% - calc(.15 * var(--u))), rgba(255,255,255,.06) calc(50% - calc(.15 * var(--u))) calc(50% + calc(.15 * var(--u))), transparent calc(50% + calc(.15 * var(--u)))),
  repeating-linear-gradient(90deg, #0A1F13 0 calc(10 * var(--w)), #0C2517 calc(10 * var(--w)) calc(20 * var(--w))); }
body.theme-mrc .heading h1 { color: #FFF; }
body.theme-mrc .heading h1::after { content: ""; display: block; height: calc(.5 * var(--u)); margin-top: calc(.6 * var(--u)); background: linear-gradient(90deg, transparent, #E8AD07 40%, #AF1314); border-radius: calc(1 * var(--u)); }
.mrcpanel .phead { border-bottom-color: #E8AD07; }
.mrcpanel { position: relative; }
.mrcpanel .mgrid { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: calc(1.6 * var(--u)); }
.mrcpanel .mgrid[hidden] { display: none; }
.mrcpanel .empty { top: calc(12 * var(--u)); }
.mrcpanel .phead h2 { font-size: calc(3 * var(--u)); }
.mrcpanel .phead span { font-size: calc(3.4 * var(--u)); text-transform: uppercase; letter-spacing: .12em; }
.at { display: inline-flex; align-items: center; gap: calc(.9 * var(--u)); min-width: 0; }
.at b { font-size: calc(3.2 * var(--u)); font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.at.tbd b { color: var(--muted); font-weight: 600; font-size: calc(2.4 * var(--u)); }
.rc { display: inline-flex; gap: calc(.45 * var(--u)); flex-wrap: nowrap; }
.rc i, .atr i, .echip i { font-style: normal; font-weight: 700; font-size: calc(1.7 * var(--u)); line-height: 1; padding: calc(.45 * var(--u)) calc(.9 * var(--u)); border-radius: 999px; color: #1A1200; background: var(--c); }
.alcards { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: calc(1.8 * var(--u)) calc(1.6 * var(--w)); align-content: start; }
.alc { background: linear-gradient(180deg, rgba(14,36,24,.96), rgba(8,22,14,.96)); border: calc(.3 * var(--u)) solid var(--line); border-top: calc(.6 * var(--u)) solid #E8AD07; border-radius: calc(2 * var(--u)); padding: calc(1.4 * var(--u)) calc(1.4 * var(--w)) calc(1.6 * var(--u)); }
.alh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: calc(1 * var(--u)); }
.alh b { font-size: calc(4.6 * var(--u)); color: #E8AD07; letter-spacing: .04em; }
.alh span { color: var(--muted); font-size: calc(2 * var(--u)); }
.ateams { display: flex; flex-direction: column; gap: calc(.8 * var(--u)); }
.atr { display: flex; align-items: center; gap: calc(1 * var(--w)); background: rgba(255,255,255,.05); border-radius: 999px; padding: calc(.7 * var(--u)) calc(1.2 * var(--w)); min-width: 0; }
.atr i { font-size: calc(2.2 * var(--u)); padding: calc(.5 * var(--u)) calc(1.3 * var(--u)); }
.atr b { font-size: calc(3 * var(--u)); flex: none; max-width: 55%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atr em { font-style: normal; color: var(--muted); font-size: calc(2.3 * var(--u)); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.gfc { background: rgba(10,30,19,.94); border: calc(.3 * var(--u)) solid var(--line); border-radius: calc(2 * var(--u)); padding: calc(1.2 * var(--u)) calc(1.4 * var(--w)) calc(1.4 * var(--u)); }
.gfh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: calc(.8 * var(--u)); }
.gfh h3 { margin: 0; font-size: calc(3.4 * var(--u)); color: #E8AD07; text-transform: uppercase; letter-spacing: .08em; }
.gfh span { color: var(--muted); font-size: calc(2 * var(--u)); }
.gfb { display: grid; grid-template-columns: 1.55fr 1fr; gap: calc(1.6 * var(--w)); align-items: start; }
.ft { width: 100%; border-collapse: collapse; font-size: calc(2.6 * var(--u)); }
.ft th { color: var(--muted); font-size: calc(1.7 * var(--u)); font-weight: 600; text-align: center; padding: calc(.3 * var(--u)) calc(.5 * var(--u)); text-transform: uppercase; }
.ft td { text-align: center; padding: calc(.6 * var(--u)) calc(.5 * var(--u)); border-top: calc(.2 * var(--u)) solid rgba(255,255,255,.08); }
.ft td.al { text-align: left; }
.ft th:nth-child(2) { text-align: left; }
.ft .rk { color: var(--muted); font-weight: 700; width: calc(3 * var(--u)); }
.ft .gl { white-space: nowrap; }
.ft .pt { font-weight: 700; font-size: calc(3.2 * var(--u)); color: #fff; }
.ft tr.adv td { background: rgba(232,173,7,.14); }
.ft tr.adv .rk { color: #E8AD07; }
.fxs { display: flex; flex-direction: column; gap: calc(.5 * var(--u)); }
.fx { display: grid; grid-template-columns: 1fr auto 1fr; gap: calc(1 * var(--w)); align-items: center; background: rgba(255,255,255,.05); border-radius: 999px; padding: calc(.5 * var(--u)) calc(1.2 * var(--w)); font-size: calc(2.3 * var(--u)); font-weight: 700; }
.fx .fb { text-align: right; }
.fx .fs { color: var(--muted); min-width: calc(7 * var(--u)); text-align: center; }
.fx.done .fs { color: #fff; font-size: calc(2.8 * var(--u)); }
.fx .w { color: #E8AD07; }
.fx.st-calling { box-shadow: inset 0 0 0 calc(.3 * var(--u)) #F5B93A; }
.fx.st-ongoing { box-shadow: inset 0 0 0 calc(.3 * var(--u)) #AF1314; }
.fs u { text-decoration: none; margin: 0 calc(.3 * var(--u)); opacity: .6; }
.going { margin-top: calc(1 * var(--u)); display: flex; gap: calc(1 * var(--u)); align-items: center; color: var(--muted); font-size: calc(2 * var(--u)); }
.going span { background: #E8AD07; color: #1A1200; font-weight: 700; border-radius: 999px; padding: calc(.3 * var(--u)) calc(1.4 * var(--u)); }
.rm-alert { background: #F5B93A; color: #2B1B00; font-weight: 700; border-radius: calc(1 * var(--u)); padding: calc(.5 * var(--u)) calc(1 * var(--u)); margin-bottom: calc(.8 * var(--u)); font-size: calc(1.9 * var(--u)); }
.sm-note { font-size: calc(2.4 * var(--u)); color: var(--muted); text-align: center; }
.sm-note.ok { color: #E8AD07; font-weight: 700; }
.echips { display: flex; flex-wrap: wrap; gap: calc(.8 * var(--u)); justify-content: center; }
.echip { display: inline-flex; align-items: center; gap: calc(.5 * var(--u)); background: rgba(255,255,255,.07); border: calc(.2 * var(--u)) solid #E8AD07; border-radius: 999px; padding: calc(.4 * var(--u)) calc(1 * var(--u)); font-size: calc(2.2 * var(--u)); }
.echip.out { opacity: .35; border-color: transparent; text-decoration: line-through; }
.sm-round { display: flex; justify-content: space-between; align-items: baseline; border-bottom: calc(.25 * var(--u)) solid var(--line); padding-bottom: calc(.5 * var(--u)); font-size: calc(2.6 * var(--u)); }
.sm-round span { color: var(--muted); font-size: calc(2 * var(--u)); }
.smgrid { display: grid; grid-template-columns: repeat(var(--c), 1fr); gap: calc(1 * var(--u)) calc(1.4 * var(--w)); }
.ko { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: calc(1 * var(--w)); background: rgba(14,36,24,.95); border: calc(.25 * var(--u)) solid var(--line); border-radius: calc(2 * var(--u)); padding: calc(1.1 * var(--u)) calc(1.2 * var(--w)); }
.ko .kside.b { justify-self: end; }
.ko .kside.l { opacity: .45; }
.ko .kside.w b { color: #E8AD07; }
.ko .ksc { text-align: center; min-width: calc(9 * var(--u)); }
.ko .ksc b { font-size: calc(4.2 * var(--u)); }
.ko .ksc small { display: block; font-size: calc(1.5 * var(--u)); color: var(--muted); }
.ko.st-calling { border-color: #F5B93A; }
.ko.st-ongoing { border-color: #AF1314; }
.ko u { text-decoration: none; opacity: .6; margin: 0 calc(.3 * var(--u)); }
.ko .at b { font-size: calc(3 * var(--u)); }
.finalgrid { display: grid; grid-template-columns: 1.7fr 1fr; gap: calc(2 * var(--w)); height: 100%; min-height: 0; }
.bkwrap { position: relative; min-height: 0; }
.bkarea { position: absolute; inset: calc(4.5 * var(--u)) 0 0; }
.bkh { position: absolute; top: calc(-4.5 * var(--u)); text-align: center; font-size: calc(2.2 * var(--u)); text-transform: uppercase; letter-spacing: .12em; color: #E8AD07; font-weight: 700; }
.bkarea svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bkarea path { fill: none; stroke-width: .6; vector-effect: non-scaling-stroke; stroke-width: calc(.5 * var(--u)); }
.bkarea path.win { stroke: #E8AD07; }
.bkarea path.lose { stroke: #6B7F72; stroke-dasharray: calc(1 * var(--u)) calc(1 * var(--u)); }
.bk { position: absolute; transform: translateY(-50%); background: rgba(10,30,19,.97); border: calc(.3 * var(--u)) solid var(--line); border-radius: calc(1.6 * var(--u)); padding: calc(.8 * var(--u)) calc(.8 * var(--w)); }
.bk.main { border-color: #E8AD07; box-shadow: 0 0 calc(3 * var(--u)) rgba(232,173,7,.3); }
.bkt { display: flex; justify-content: space-between; align-items: center; font-size: calc(1.8 * var(--u)); color: var(--muted); margin-bottom: calc(.5 * var(--u)); letter-spacing: .1em; }
.bks { display: flex; justify-content: space-between; align-items: center; gap: calc(.6 * var(--w)); padding: calc(.5 * var(--u)) calc(.3 * var(--w)); }
.bks em { font-style: normal; font-weight: 700; font-size: calc(3.6 * var(--u)); }
.bks.l { opacity: .45; }
.bks.w .at b, .bks.w em { color: #E8AD07; }
.bks + .bks { border-top: calc(.2 * var(--u)) solid rgba(255,255,255,.1); }
.pen { display: block; font-size: calc(1.5 * var(--u)); color: var(--muted); }
.bk .at b { font-size: calc(2.8 * var(--u)); }
.bk .rc i { font-size: calc(1.5 * var(--u)); }
.t2col { display: flex; flex-direction: column; gap: calc(1.2 * var(--u)); overflow: hidden; }
.t2col h4 { margin: 0; font-size: calc(2.6 * var(--u)); text-transform: uppercase; letter-spacing: .12em; color: #E8AD07; }
.t2 { background: rgba(14,36,24,.96); border: calc(.3 * var(--u)) solid var(--line); border-radius: calc(2 * var(--u)); padding: calc(1.2 * var(--u)) calc(1 * var(--w)); }
.t2.champ { border-color: #E8AD07; box-shadow: 0 0 calc(3 * var(--u)) rgba(232,173,7,.35); }
.t2h { display: flex; justify-content: space-between; align-items: center; margin-bottom: calc(.8 * var(--u)); }
.t2h > span { font-size: calc(1.9 * var(--u)); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.t2.champ .t2h > span { color: #E8AD07; }
.t2 .atr b { font-size: calc(2.6 * var(--u)); }
.t2 .atr em { font-size: calc(2 * var(--u)); }
.t2 p { margin: 0; color: var(--muted); font-size: calc(2.2 * var(--u)); }
.t3 { display: flex; align-items: center; gap: calc(1 * var(--w)); background: rgba(255,255,255,.05); border-radius: 999px; padding: calc(.6 * var(--u)) calc(1.2 * var(--w)); }
.t3 > b { color: #E8AD07; font-size: calc(3 * var(--u)); }
.t3 > span:last-child { color: var(--muted); font-size: calc(1.9 * var(--u)); margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stl { display: flex; flex-direction: column; gap: calc(.9 * var(--u)); }
.str { display: flex; align-items: center; gap: calc(1.2 * var(--w)); background: rgba(14,36,24,.95); border: calc(.2 * var(--u)) solid var(--line); border-radius: 999px; padding: calc(.8 * var(--u)) calc(1.6 * var(--w)); }
.str .rk { width: calc(5.4 * var(--u)); height: calc(5.4 * var(--u)); border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; font-weight: 700; font-size: calc(3 * var(--u)); flex: none; }
.str.adv .rk { background: #E8AD07; color: #1A1200; }
.str.lead .rk { background: #fff; color: #AF1314; }
.str .tm { margin-left: auto; color: var(--muted); font-size: calc(2.2 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.str .rc2 { flex: none; font-size: calc(2 * var(--u)); color: #E8AD07; min-width: calc(14 * var(--u)); text-align: right; }
.rc i, .echip i, .atr i { letter-spacing: 0; }
body.theme-mrc .bg { opacity: 1; background:
  radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.045), transparent 70%),
  repeating-linear-gradient(90deg, #0A1F13 0 calc(8.33 * var(--w)), #0D2818 calc(8.33 * var(--w)) calc(16.66 * var(--w))); }
.gfc { position: relative; overflow: hidden; }
.bk.main { background-image: linear-gradient(180deg, rgba(232,173,7,.08), transparent); }
.enpanel .phead { display: none; }
.enpanel .egrid { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.enpanel .egrid[hidden] { display: none; }
.enpanel .empty { top: calc(8 * var(--u)); }
.ecols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(1.6 * var(--w)); height: 100%; align-content: start; }
.ecol { background: var(--surface); border: calc(.3 * var(--u)) solid var(--line); border-top: calc(.7 * var(--u)) solid var(--red); border-radius: calc(2.4 * var(--u)); padding: calc(1.4 * var(--u)) calc(1.2 * var(--w)) calc(1.2 * var(--u)); min-width: 0; overflow: hidden; }
.ech { display: flex; align-items: center; gap: calc(1 * var(--w)); margin-bottom: calc(1.2 * var(--u)); padding-bottom: calc(1 * var(--u)); border-bottom: calc(.25 * var(--u)) solid var(--line); }
.epn { background: var(--red); color: #fff; font-weight: 700; font-size: calc(2 * var(--u)); padding: calc(.4 * var(--u)) calc(1.3 * var(--u)); border-radius: 999px; white-space: nowrap; }
.ech h3 { margin: 0; flex: 1; min-width: 0; font-size: calc(3.4 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elate { font-weight: 700; font-size: calc(2.2 * var(--u)); border: calc(.25 * var(--u)) solid currentColor; border-radius: 999px; padding: calc(.3 * var(--u)) calc(1.2 * var(--u)); white-space: nowrap; }
.late { color: #F5B93A; }
.early { color: #6FD3A0; }
.ecount { font-size: calc(3.6 * var(--u)); font-weight: 700; color: var(--red-text); }
.erow { display: flex; align-items: center; gap: calc(1.2 * var(--w)); padding: calc(1.05 * var(--u)) calc(.6 * var(--w)); border-radius: calc(1.8 * var(--u)); border: calc(.3 * var(--u)) solid transparent; }
.erow + .erow { border-top: calc(.2 * var(--u)) solid var(--line); }
.erow.now { border: calc(.35 * var(--u)) solid var(--red); background: rgba(206, 20, 55, .18); }
.erow.done { opacity: .35; }
.etm { width: calc(13.5 * var(--u)); flex: none; font-variant-numeric: tabular-nums; }
.etm b { display: block; font-size: calc(3.5 * var(--u)); line-height: 1.1; }
.etm span { display: block; font-size: calc(1.9 * var(--u)); font-weight: 700; }
.ewho { flex: 1; min-width: 0; }
.ewho b { display: block; font-size: calc(3 * var(--u)); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ewho span { display: block; color: var(--muted); font-size: calc(2 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enow { background: var(--red); color: #fff; font-weight: 700; font-size: calc(1.9 * var(--u)); padding: calc(.4 * var(--u)) calc(1.2 * var(--u)); border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; flex: none; }
.emore, .edonenote { text-align: center; color: var(--muted); font-size: calc(2 * var(--u)); padding: calc(.8 * var(--u)) 0; }
.ecard { background: var(--surface-2, #27161D); border: calc(.25 * var(--u)) solid var(--line); border-radius: calc(2 * var(--u)); padding: calc(1.3 * var(--u)) calc(1.2 * var(--w)); margin-bottom: calc(1.1 * var(--u)); }
.ecard b { display: block; font-size: calc(3.6 * var(--u)); line-height: 1.1; }
.ecard span { color: var(--muted); font-size: calc(2.2 * var(--u)); }
.podium { display: flex; justify-content: center; align-items: flex-end; gap: calc(2 * var(--w)); flex: 1; min-height: 0; padding: calc(2 * var(--u)) 0 calc(1 * var(--u)); }
.pod { flex: 1 1 0; max-width: calc(28 * var(--w)); display: flex; flex-direction: column; align-items: center; text-align: center; }
.pmedal { width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: 50%; display: grid; place-items: center; font-size: calc(5.4 * var(--u)); font-weight: 700; margin-bottom: calc(1 * var(--u)); }
.pname { font-size: calc(4.6 * var(--u)); font-weight: 700; line-height: 1.1; }
.porg { color: var(--muted); font-size: calc(2.6 * var(--u)); margin-top: calc(.6 * var(--u)); }
.pgrp { color: var(--red-text); font-size: calc(2.2 * var(--u)); font-weight: 700; margin: calc(.6 * var(--u)) 0 calc(1.2 * var(--u)); }
.pbase { width: 100%; border-radius: calc(2 * var(--u)) calc(2 * var(--u)) 0 0; background: linear-gradient(180deg, rgba(206, 20, 55, .55), rgba(206, 20, 55, .15)); border: calc(.3 * var(--u)) solid var(--red); border-bottom: 0; }
.p1 .pmedal { background: #F5B93A; color: #2B1B00; }
.p2 .pmedal { background: #D7DCE2; color: #1B2026; }
.p3 .pmedal { background: #D08A55; color: #2B1300; }
.pbase { flex: none; }
.p1 .pbase { height: calc(25 * var(--u)); }
.p2 .pbase { height: calc(17 * var(--u)); }
.p3 .pbase { height: calc(11 * var(--u)); }
.p1 .pname { font-size: calc(5.6 * var(--u)); }
.prest { margin-top: calc(2 * var(--u)); display: flex; flex-wrap: wrap; gap: calc(1 * var(--u)) calc(1.2 * var(--w)); align-items: center; justify-content: center; color: var(--muted); font-size: calc(2.4 * var(--u)); }
.prest b { color: var(--ink); background: var(--surface); border: calc(.25 * var(--u)) solid var(--line); border-radius: 999px; padding: calc(.5 * var(--u)) calc(1.6 * var(--u)); font-size: calc(2.6 * var(--u)); }
body.theme-kr { --blue: #0B47E0; }
body.theme-kr .bg { opacity: 1; background:
  linear-gradient(180deg, rgba(6, 3, 10, .78) 0, rgba(6, 3, 10, .55) 22%, rgba(6, 3, 10, .72) 100%),
  url(/assets/kr-bg.jpg) center 35% / cover no-repeat; }
body.theme-kr .bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(9 * var(--u)); opacity: .5; background: url(/assets/kr-arcs.png) center bottom / calc(52 * var(--w)) auto repeat-x; transform: scaleY(-1); pointer-events: none; }
body.theme-kr .heading h1 { text-shadow: 0 calc(.3 * var(--u)) calc(2 * var(--u)) rgba(0, 0, 0, .6); }
body.theme-kr .row { box-shadow: inset calc(.5 * var(--u)) 0 0 var(--blue, #0B47E0); }
body.theme-kr .row.top5 { box-shadow: inset calc(.5 * var(--u)) 0 0 var(--red); }
.refd { display: block; font-size: calc(1.5 * var(--u)); font-weight: 600; color: #7FA0FF; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; }
.asm { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(3 * var(--u)); text-align: center; }
.asm[hidden] { display: none; }
.asm-k { font-size: calc(4.2 * var(--u)); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #8DB0FF; }
.asm-t { font-size: calc(30 * var(--u)); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 0 calc(6 * var(--u)) rgba(11, 71, 224, .55); }
.asm-bar { width: calc(66 * var(--w)); height: calc(3.4 * var(--u)); border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; border: calc(.3 * var(--u)) solid rgba(255, 255, 255, .25); }
.asm-fill { height: 100%; background: linear-gradient(90deg, #0B47E0, #4F82FF); border-radius: 999px; transition: width 1s linear; }
.asm-n { font-size: calc(3.4 * var(--u)); font-weight: 600; min-height: calc(4 * var(--u)); }
.asm-f { display: flex; gap: calc(4 * var(--w)); font-size: calc(2.4 * var(--u)); color: var(--muted); }
.asm-f b { color: #fff; font-size: calc(3 * var(--u)); margin-right: calc(.4 * var(--w)); }
.asm[data-state="last"] .asm-t { color: #F5B93A; animation: asmpulse 1s ease-in-out infinite; }
.asm[data-state="last"] .asm-fill { background: linear-gradient(90deg, #F5B93A, #CE1437); }
.asm[data-state="over"] .asm-t { color: #6FD3A0; }
@keyframes asmpulse { 50% { opacity: .6; } }
.fcard.dense table.mx th, .fcard.dense table.mx td { height: calc(5.3 * var(--u)); font-size: calc(2.2 * var(--u)); }
.fcard.dense table.mx th.rh { font-size: calc(2.2 * var(--u)); }
.fcard.dense table.mx td.tot { font-size: calc(2.6 * var(--u)); }
.fcard.dense table.mx td.pl { font-size: calc(2.3 * var(--u)); }
.fcard.dense table.mx td small { font-size: calc(1.4 * var(--u)); }
.fcard.dense table.mx thead th { font-size: calc(1.3 * var(--u)); }
.fcard.dense table.mx thead th b { font-size: calc(1.7 * var(--u)); }
.fcard.dense .rmtag { font-size: calc(1.3 * var(--u)); padding: calc(.3 * var(--u)) calc(.6 * var(--w)); }
.going .thr { background: #E8AD07; border-color: #E8AD07; color: #1A1200; font-weight: 700; }
.going .thr b { color: #1A1200; margin-right: calc(.4 * var(--w)); }
.going .thr .rmx { font-style: normal; font-size: .78em; margin-left: calc(.6 * var(--w)); padding-left: calc(.6 * var(--w)); border-left: calc(.2 * var(--u)) solid rgba(26, 18, 0, .45); white-space: nowrap; }
.going .pnd { background: transparent; border: calc(.3 * var(--u)) solid #F5B93A; color: #FFE2A0; font-weight: 700; }
.going .pnd b { color: #F5B93A; margin-right: calc(.4 * var(--w)); }
.going .rml { color: #F5B93A; }

/* ===== the results website: layout on top of the big-screen components ===== */
.sitewrap { container-type: inline-size; }
.siteview { --u: clamp(7px, .86cqw, 11px); --w: calc(var(--u) * 1.78); --row-h: calc(var(--u) * 6.4); font-family: var(--font); color: var(--ink); }
.siteview .panel { flex: none; }
.siteview .phead { display: none; }
.siteview .board.flow { display: flex; flex-direction: column; gap: calc(1 * var(--u)); position: static; flex: none; min-height: 0; }
.siteview .empty { position: static; inset: auto; padding: calc(7 * var(--u)) 0; }
.siteview .empty img { height: calc(15 * var(--u)); margin-bottom: calc(2 * var(--u)); } .siteview .empty p { font-size: calc(2.6 * var(--u)); padding: 0 calc(2 * var(--u)); }
.siteview .frpanel .empty, .siteview .mrcpanel .empty, .siteview .enpanel .empty { top: auto; }
.siteview .dots { display: none; }

/* rows of the leaderboards (line following, problem solving, drone, maze, GFF, Creative Future) */
.srow { display: grid; grid-template-columns: calc(4.8 * var(--u)) minmax(0, 1fr) auto auto; align-items: center; gap: calc(.8 * var(--u)) calc(1.5 * var(--u)); padding: calc(.9 * var(--u)) calc(2 * var(--u)) calc(.9 * var(--u)) calc(.9 * var(--u)); background: var(--surface); border: calc(.3 * var(--u)) solid var(--line); border-radius: calc(3.6 * var(--u)); }
.srank { width: calc(4.4 * var(--u)); height: calc(4.4 * var(--u)); border-radius: 50%; background: #34202A; display: grid; place-items: center; font-weight: 700; font-size: calc(2.2 * var(--u)); line-height: 1; }
.swho { min-width: 0; } .sl1 { display: flex; align-items: center; gap: calc(.9 * var(--u)); min-width: 0; }
.sid { flex: none; border: calc(.25 * var(--u)) solid var(--line); border-radius: 999px; padding: calc(.2 * var(--u)) calc(1 * var(--u)); font-weight: 700; font-size: calc(1.6 * var(--u)); color: var(--red-text); }
.sname { font-size: calc(2.5 * var(--u)); line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl2 { color: var(--muted); font-size: calc(1.8 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stries { display: flex; gap: calc(1.2 * var(--u)); } .stries:empty { display: none; }
.stries span, .sbest { text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; font-size: calc(2.3 * var(--u)); min-width: calc(5 * var(--u)); line-height: 1.15; }
.stries small, .sbest small { display: block; font-size: calc(1.2 * var(--u)); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: calc(.2 * var(--u)); }
.stries span { color: var(--muted); } .stries span.fst, .stries span.bt { color: var(--ink); } .stries span.bt { color: var(--red-text); text-decoration: underline; text-underline-offset: calc(.5 * var(--u)); } .stries span.dn { opacity: .6; }
.sbest { font-size: calc(3 * var(--u)); min-width: calc(7 * var(--u)); text-align: right; } .sbest small { text-align: right; }
.srow.top5 { border-color: var(--red); background: linear-gradient(90deg, rgba(206, 20, 55, .34), rgba(206, 20, 55, .12)); }
.srow.top5 .srank { background: var(--red); color: #fff; } .srow.top5 .sid { border-color: rgba(242, 80, 111, .55); color: #FFB4C2; }
.srow.lead { background: var(--red); border-color: #FF5C7C; box-shadow: 0 0 calc(3 * var(--u)) rgba(206, 20, 55, .45); }
.srow.lead .srank { background: #fff; color: var(--red); } .srow.lead .sid { border-color: rgba(255, 255, 255, .6); color: #fff; } .srow.lead .sl2, .srow.lead .stries span, .srow.lead .stries small, .srow.lead .sbest small { color: rgba(255, 255, 255, .85); }
.srow .refd { display: inline-block; margin-left: calc(1 * var(--u)); }
body.theme-kr .srow { box-shadow: inset calc(.5 * var(--u)) 0 0 var(--blue, #0B47E0); } body.theme-kr .srow.top5 { box-shadow: inset calc(.5 * var(--u)) 0 0 var(--red); }

/* groups, matches, tables: the cards flow in as many columns as fit */
.siteview .fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, calc(54 * var(--u))), 1fr)); grid-auto-rows: auto; flex: none; gap: calc(1.6 * var(--u)); }
.siteview .fgrid[data-kind], .siteview .fgrid[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.siteview .fgrid[data-kind="semi"], .siteview .fgrid[data-kind="final"] { display: block; overflow-x: auto; }
.siteview .fcard { overflow: visible; justify-content: flex-start; } .siteview .fcard.stand { grid-column: 1 / -1; }
.siteview .fcard.mxcard { overflow-x: auto; }
.siteview table.mx { min-width: 0; }
.siteview .brk { min-width: 720px; }
.siteview .runs i::before { content: attr(data-l); display: none; font-size: calc(1.2 * var(--u)); color: var(--muted); font-weight: 600; }
.siteview .progress { margin-bottom: calc(1.6 * var(--u)); }

/* MRC football */
.siteview .mrcpanel .mgrid { overflow: visible; flex: none; }
.siteview .alcards { grid-template-columns: repeat(auto-fill, minmax(min(100%, calc(44 * var(--u))), 1fr)); }
.siteview .finalgrid { height: auto; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.siteview .bkwrap { height: calc(60 * var(--u)); min-width: 560px; }
.siteview .mgrid[data-view="final"] { overflow-x: auto; }
.siteview .smgrid { grid-template-columns: repeat(auto-fill, minmax(min(100%, calc(60 * var(--u))), 1fr)); }
.siteview .gfc { overflow-x: auto; }

/* Entrepreneurship Challenge */
.siteview .enpanel .egrid { overflow: visible; flex: none; }
.siteview .ecols { height: auto; }
.siteview .podium { padding-top: calc(3 * var(--u)); }

/* Creative Future: assembly countdown */
.siteview .asm { gap: calc(2.4 * var(--u)); padding: calc(3 * var(--u)) 0 calc(4 * var(--u)); flex: none; }
.siteview .asm-t { font-size: clamp(64px, 25cqw, 250px); } .siteview .asm-bar { width: min(90%, 700px); height: calc(3 * var(--u)); }
.siteview .asm-f { flex-wrap: wrap; justify-content: center; gap: calc(1.2 * var(--u)) calc(3 * var(--u)); }
.siteview .asm-k { font-size: calc(3 * var(--u)); text-align: center; } .siteview .asm-n { font-size: calc(2.6 * var(--u)); }

body.theme-kr { background: linear-gradient(180deg, rgba(6, 3, 10, .82), rgba(6, 3, 10, .74)), url(/assets/kr-bg.jpg) center top / cover fixed no-repeat; }
body.theme-mrc { background: repeating-linear-gradient(90deg, #0A1F13 0 8.33vw, #0D2818 8.33vw 16.66vw); }

/* phones and narrow windows */
@container (max-width: 720px) {
  .srow { grid-template-columns: calc(4.4 * var(--u)) minmax(0, 1fr) auto; padding: calc(1 * var(--u)) calc(1.4 * var(--u)) calc(1 * var(--u)) calc(.9 * var(--u)); border-radius: calc(3 * var(--u)); }
  .srow .sbest { grid-column: 3; grid-row: 1; } .srow .stries { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; margin-left: calc(5.9 * var(--u)); gap: calc(.6 * var(--u)); padding-top: calc(.8 * var(--u)); border-top: calc(.2 * var(--u)) solid rgba(255, 255, 255, .1); }
  .srow .stries span { flex: 0 0 auto; min-width: calc(9 * var(--u)); text-align: left; } .sname { font-size: calc(2.6 * var(--u)); } .sbest { font-size: calc(3.2 * var(--u)); }
  .siteview .frow { height: auto; display: grid; grid-template-columns: calc(4.6 * var(--u)) minmax(0, 1fr) auto; align-items: center; gap: calc(.5 * var(--u)) calc(1.4 * var(--u)); padding: calc(1.1 * var(--u)) calc(1.6 * var(--u)) calc(1.1 * var(--u)) calc(.9 * var(--u)); border-radius: calc(3 * var(--u)); }
  .siteview .fcard .frow, .siteview .fcard.stand .frow, .siteview .fcard.sm .frow, .siteview .fgrid .frow { height: auto !important; min-height: 0; }   /* the fixed big-screen row height would let the 2nd and 3rd lines spill over the next row */
  .siteview .frow .rank { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
  .siteview .frow .rid { grid-column: 2; grid-row: 1; justify-self: start; max-width: 100%; font-size: calc(2.2 * var(--u)); }
  .siteview .frow .name { grid-column: 2; grid-row: 2; font-size: calc(2.7 * var(--u)); white-space: normal; overflow-wrap: anywhere; }
  .siteview .frow .team { grid-column: 2; grid-row: 3; max-width: none; text-align: left; white-space: normal; font-size: calc(2 * var(--u)); }
  .siteview .frow .best { grid-column: 3; grid-row: 1 / span 2; align-self: start; min-width: 0; font-size: calc(3.4 * var(--u)); }
  .siteview .frow .reached { grid-column: 3; grid-row: 3; align-self: end; font-size: calc(1.8 * var(--u)); text-align: right; }
  .siteview .frow .runs { grid-column: 2 / -1; grid-row: 4; justify-content: flex-start; gap: calc(1.2 * var(--u)); padding-top: calc(.7 * var(--u)); border-top: calc(.2 * var(--u)) solid rgba(255, 255, 255, .1); } .siteview .runs i { width: auto; flex: 1 1 0; text-align: left; }
  .siteview .runs i::before { display: block; } .siteview .fcols { display: none; }
  .siteview .fgrid { grid-template-columns: minmax(0, 1fr); }
  .siteview .mrow2, .siteview .smgrid .mrow2 { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding: calc(1 * var(--u)) calc(1.4 * var(--u)); gap: calc(.8 * var(--u)) calc(1 * var(--u)); }
  .siteview .mrow2 .pn { display: flex; flex-direction: column-reverse; align-items: flex-start; } .siteview .mrow2 .pn:last-of-type { align-items: flex-end; } .siteview .mrow2 .pn b { white-space: normal; overflow-wrap: anywhere; }
  .siteview .mrow2 .ml, .siteview .mrow2 .pill { grid-column: 1 / -1; } .siteview .mrow2 .pn { font-size: calc(2.4 * var(--u)); } .siteview .mrow2 .sc { font-size: calc(3.2 * var(--u)); }
  .siteview .gfb { grid-template-columns: minmax(0, 1fr); } .siteview .finalgrid { grid-template-columns: minmax(0, 1fr); }
  .siteview .ft { font-size: calc(2.2 * var(--u)); } .siteview .ft td.al .rc { display: none; }
  .siteview .ecols { grid-template-columns: minmax(0, 1fr); }
  .siteview .str { flex-wrap: wrap; border-radius: calc(3 * var(--u)); row-gap: calc(.4 * var(--u)); } .siteview .str .tm { flex: 1 0 100%; margin: 0 0 0 calc(6.6 * var(--u)); white-space: normal; }
  .siteview .podium { gap: calc(1 * var(--u)); } .siteview .pod { max-width: none; } .siteview .pname { font-size: calc(3 * var(--u)); } .siteview .p1 .pname { font-size: calc(3.4 * var(--u)); } .siteview .pmedal { width: calc(6 * var(--u)); height: calc(6 * var(--u)); font-size: calc(3.4 * var(--u)); }
  .siteview .cd-t { font-size: calc(5 * var(--u)); } .siteview .cd-top { flex-wrap: wrap; } .siteview .cd-k { font-size: calc(2 * var(--u)); }
  .siteview .legend { display: none; }
  .siteview .ko { grid-template-columns: minmax(0, 1fr) auto; padding: calc(1.2 * var(--u)) calc(1.6 * var(--u)); row-gap: calc(.8 * var(--u)); }
  .siteview .ko .kside { min-width: 0; justify-self: start; grid-column: 1; } .siteview .ko .ksc { grid-column: 2; grid-row: 1 / span 2; } .siteview .ko .at b { font-size: calc(2.8 * var(--u)); } .siteview .ko .rc { flex-wrap: wrap; }
  .siteview .bkwrap { --u: 7px; --w: 6.8px; min-width: 680px; height: 430px; margin-top: 4px; } .siteview .mgrid[data-view="final"]::after { content: "Swipe sideways to see the whole bracket"; display: block; color: var(--muted); font-size: 12px; padding-top: 6px; position: sticky; left: 0; }
}

/* the Sumo group table: a list in portrait on a phone (with a hint), the real table when the phone is turned */
.mxhint { display: none; }
@media (orientation: portrait) and (max-width: 760px) {
  .siteview .mxcard table.mx { display: none; }
  .siteview .mxlist { display: flex; flex-direction: column; gap: calc(1 * var(--u)); }
  .siteview .mxhint { display: flex; align-items: center; gap: 10px; background: rgba(245, 185, 58, .14); border: 2px solid #F5B93A; color: #F5B93A; border-radius: 14px; padding: 8px 14px; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
  .siteview .mxr { display: grid; grid-template-columns: calc(4.6 * var(--u)) minmax(0, 1fr) auto; gap: calc(.8 * var(--u)) calc(1.4 * var(--u)); align-items: start; background: #25141C; border: calc(.25 * var(--u)) solid var(--line); border-radius: calc(3 * var(--u)); padding: calc(1.1 * var(--u)) calc(1.6 * var(--u)) calc(1.1 * var(--u)) calc(.9 * var(--u)); }
  .siteview .mxr.adv { border-color: var(--red); background: linear-gradient(90deg, rgba(206, 20, 55, .4), rgba(206, 20, 55, .14)); } .siteview .mxr.tie { border-color: #F5B93A; }
  .siteview .mxr .rank { width: calc(4.4 * var(--u)); height: calc(4.4 * var(--u)); border-radius: 50%; background: #34202A; display: grid; place-items: center; font-weight: 700; font-size: calc(2.2 * var(--u)); } .siteview .mxr.adv .rank { background: var(--red); }
  .siteview .mxr .who { display: flex; flex-direction: column; align-items: flex-start; gap: calc(.5 * var(--u)); min-width: 0; }
  .siteview .mxr .sid { border: calc(.25 * var(--u)) solid var(--line); border-radius: 999px; padding: calc(.2 * var(--u)) calc(1.1 * var(--u)); font-weight: 700; font-size: calc(2.2 * var(--u)); color: var(--red-text); }
  .siteview .mxr .sname2 { font-weight: 700; font-size: calc(2.7 * var(--u)); line-height: 1.2; overflow-wrap: anywhere; }
  .siteview .mxr .rmtag { font-size: calc(1.7 * var(--u)); padding: calc(.5 * var(--u)) calc(1.2 * var(--u)); } .siteview .mxr .rmtag.pend { padding: calc(.3 * var(--u)) calc(1.2 * var(--u)); }
  .siteview .mxr .wins { text-align: right; } .siteview .mxr .wins b { display: block; font-size: calc(3.6 * var(--u)); line-height: 1; } .siteview .mxr .wins small { font-size: calc(1.3 * var(--u)); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
  .siteview .mxr .rcs { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: calc(.7 * var(--u)); }
  .siteview .mxr .rc { border-radius: 999px; padding: calc(.3 * var(--u)) calc(1.1 * var(--u)); font-size: calc(1.9 * var(--u)); background: rgba(255, 255, 255, .07); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; } .siteview .mxr .rc b { color: var(--red-text); } .siteview .mxr .rc.w { background: rgba(47, 143, 91, .3); color: #fff; } .siteview .mxr .rc.nil { border: calc(.2 * var(--u)) dashed var(--line); background: none; }
}

/* Entrepreneurship Challenge on the website: smaller scale so three panels fit side by side, and names wrap instead of being cut to "L..." */
.siteview .enpanel { --u: clamp(6px, .7cqw, 9px); --w: calc(var(--u) * 1.78); --row-h: calc(var(--u) * 6.4); }
.siteview .ewho b, .siteview .ewho span, .siteview .ech h3 { white-space: normal; overflow-wrap: anywhere; }
.siteview .etm { width: calc(11 * var(--u)); }

/* sumo loss indicators: bright red badges */
.ls { display: inline-flex; gap: calc(.4 * var(--u)); margin-left: calc(.8 * var(--w)); vertical-align: middle; }
.ls s { text-decoration: none; width: calc(1.9 * var(--u)); height: calc(1.9 * var(--u)); border-radius: 50%; border: calc(.25 * var(--u)) solid #8A8F9C; display: inline-flex; align-items: center; justify-content: center; font-size: calc(1.2 * var(--u)); line-height: 1; font-weight: 900; font-style: normal; color: transparent; box-sizing: border-box; }
.ls s.x { background: #FF2E2E; border-color: #FF2E2E; color: #fff; box-shadow: 0 0 calc(1 * var(--u)) rgba(255,46,46,.75); }
.echips.sm .echip.l1, .echip.l1 { border-color: #FF9F1A; background: rgba(255,159,26,.2); }
.echips.sm .echip.l2, .echip.l2 { border-color: #FF2E2E; background: rgba(255,46,46,.18); }
.echip.out { opacity: .65; }
.mrow2 .pn i .ls { margin-left: calc(.5 * var(--w)); }
.echip .ls { margin-right: calc(.3 * var(--w)); }
.echips.sm .echip, .echip { padding-right: calc(1.1 * var(--w)); }
.mrow2 .pn i .ls { margin-right: calc(.2 * var(--w)); }

/* Folkrace / Sumo group cards on the website: the rows must always fit inside the card (the total used to stick out on a computer) */
.siteview .frow { gap: calc(.7 * var(--w)); min-width: 0; }
.siteview .frow .rid { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.siteview .runs { gap: calc(.4 * var(--w)); flex: none; }
.siteview .runs i { width: calc(5.4 * var(--u)); }
.siteview .frow .best { flex: none; min-width: calc(6.6 * var(--u)); }
.siteview .fcols { gap: calc(.4 * var(--w)); }
.siteview .fcols span { width: calc(5.4 * var(--u)); } .siteview .fcols span:last-child { width: calc(6.6 * var(--u)); }

/* Folkrace on the website: the groups stand under each other (one wide column) so robot and team names are not cut off */
.siteview .frpanel[data-kind="folkrace"] .fgrid { grid-template-columns: minmax(0, 1fr); }
.siteview .frpanel[data-kind="folkrace"] .fcard { padding-left: calc(2 * var(--w)); padding-right: calc(2 * var(--w)); }
.siteview .frpanel[data-kind="folkrace"] .frow .team { max-width: 40%; }

/* ===== Girls Firefight: "Berry Night" theme ===== */
body.theme-gff { --red: #FF5FA2; --red-text: #FF8FC4; --red-wash: rgba(255,95,162,.16); --bg: #14061A; --surface: rgba(255,255,255,.07); --surface-2: rgba(255,255,255,.11); --line: rgba(255,160,205,.3); --ink: #FFEAF4; --muted: #D6A9C8; --gold: #FFD27A;
  background: radial-gradient(circle at 92% -4%, rgba(255,95,162,.34), transparent 42%), radial-gradient(ellipse at 15% 0%, #4A1450 0%, #240B2B 45%, #14061A 100%) fixed; }
body.theme-gff .bg { filter: brightness(0) invert(1); }
body.theme-gff .logo, body.theme-gff .splash img { filter: brightness(0) invert(1); }
body.theme-gff .heading h1 { color: #FFEAF4; }
body.theme-gff .row, body.theme-gff .srow { background: rgba(255,255,255,.07); border-color: rgba(255,160,205,.28); }
body.theme-gff .rank, body.theme-gff .srank { background: rgba(255,255,255,.14); }
body.theme-gff .row.top5, body.theme-gff .srow.top5 { border-color: rgba(255,95,162,.75); background: linear-gradient(90deg, rgba(255,95,162,.3), rgba(164,92,255,.13)); }
body.theme-gff .row.top5 .rid, body.theme-gff .srow.top5 .sid { border-color: rgba(255,143,196,.55); color: #FFC6E0; }
body.theme-gff .row.lead, body.theme-gff .srow.lead { background: linear-gradient(90deg, #FF5FA2, #A45CFF); border-color: #FFB3D6; box-shadow: 0 0 calc(3.5 * var(--u)) rgba(255,95,162,.5); }
body.theme-gff .row.lead .rank, body.theme-gff .srow.lead .srank { background: var(--gold); color: #3A0F3F; }
body.theme-gff .cd-track { background: rgba(255,255,255,.1); }
body.theme-gff .cd { border-radius: calc(3 * var(--u)); }
body.theme-gff .tabs button.on { background: linear-gradient(90deg, #FF5FA2, #A45CFF); border-color: transparent; color: #fff; }
body.theme-gff .top { background: rgba(255,255,255,.06); border-bottom-color: #FF5FA2; }

/* MRC final: long alliances (3 robots) must never run over each other */
.t3 > .at { flex: none; } .t3 > span:last-child { flex: 1 1 0; min-width: 0; text-align: right; }
.siteview .bk .at b { font-size: calc(2.05 * var(--u)); } .siteview .bk .rc i { font-size: calc(1.15 * var(--u)); padding: calc(.4 * var(--u)) calc(.7 * var(--u)); } .siteview .bks em { font-size: calc(2.8 * var(--u)); } .siteview .bkt { font-size: calc(1.4 * var(--u)); }
.siteview .bks { gap: calc(.4 * var(--w)); padding: calc(.4 * var(--u)) calc(.2 * var(--w)); } .siteview .bk .at { gap: calc(.6 * var(--u)); }
.siteview .t2h { flex-wrap: wrap; gap: calc(.5 * var(--u)) calc(1 * var(--w)); } .siteview .t2h > .at { flex-wrap: wrap; justify-content: flex-end; row-gap: calc(.4 * var(--u)); }
.siteview .bk .at { flex: 1 1 0; min-width: 0; flex-wrap: wrap; row-gap: calc(.3 * var(--u)); } .siteview .bks em { flex: none; margin-left: auto; }
