:root {
  --red: #ff174d;
  --red-strong: #ee003b;
  --red-dark: #72001f;
  --cyan: #55e7f4;
  --green: #52f59c;
  --bg: #050506;
  --panel: #0d0e12;
  --panel-soft: #12141a;
  --paper: #f5f5f2;
  --muted: #898b96;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .22);
  --max: 1760px;
  --cut: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  --cut-wide: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 65% 30% at 82% 6%, rgba(255, 0, 55, .16), transparent 70%),
    linear-gradient(180deg, #060608, #050506 70%);
  color: var(--paper);
  font: 15px/1.55 "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-variant-numeric: tabular-nums;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 78%);
}
.page-noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 84px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 7, .88);
  backdrop-filter: blur(18px);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--red) 16%, transparent 38%, transparent 78%, var(--cyan) 94%, transparent);
  opacity: .7;
}
.header-frame {
  width: min(var(--max), calc(100% - 48px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 50px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  filter: drop-shadow(0 0 12px rgba(255, 23, 77, .18));
}
.brand-mark img { width: 47px; height: 51px; object-fit: contain; }
.brand strong { font-size: 25px; font-style: italic; font-weight: 900; letter-spacing: 1px; line-height: 1; white-space: nowrap; }
.brand strong > span, footer strong span { color: var(--red); }
.brand small { display: block; margin-top: 7px; color: #8c8d96; font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: 2.5px; }
.site-header nav {
  min-height: 42px;
  margin-left: 18px;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.site-header nav a { padding: 9px 17px; color: #a5a5ac; font-size: 12px; font-weight: 800; transition: .18s ease; }
.site-header nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.connection {
  margin-left: auto;
  min-width: 158px;
  height: 42px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  color: #b0b0b8;
  font-size: 11px;
  font-weight: 700;
}
.connection i, .auto-label i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #777983; }
.connection.live i { background: var(--green); box-shadow: 0 0 14px rgba(82,245,156,.65); }
.connection.stale i { background: #ffb45c; box-shadow: 0 0 14px rgba(255,180,92,.36); }
.header-cta {
  height: 44px;
  min-width: 138px;
  padding: 0 16px 0 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--red-strong);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.header-cta span { font-size: 8px; letter-spacing: 1px; opacity: .65; }
.header-cta b { font-size: 16px; }

main { min-height: calc(100vh - 160px); }
.hero {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 44% 90% at 74% 50%, rgba(255,23,77,.2), transparent 66%),
    linear-gradient(115deg, #050506 0 58%, #10060b 58% 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .68;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000 0, transparent 84%);
}
.hero-word {
  position: absolute;
  left: -26px;
  bottom: -34px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.055);
  font-size: clamp(120px, 16vw, 260px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -12px;
  line-height: .8;
  user-select: none;
}
.hero-strike { position: absolute; display: block; background: linear-gradient(180deg, #ff164e, #b1002f); transform: skewX(-24deg); }
.strike-one { width: 92px; height: 540px; right: 12%; top: -74px; opacity: .9; box-shadow: 0 0 50px rgba(255,0,59,.22); }
.strike-two { width: 48px; height: 430px; right: 5%; top: -24px; opacity: .18; }
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
  min-height: 380px;
  padding: 69px 500px 62px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
}
.eyebrow > span { width: 28px; height: 3px; background: linear-gradient(90deg, var(--red) 72%, var(--cyan) 72%); transform: skewX(-24deg); }
.hero-kicker { margin: 15px 0 8px; color: #b0b0b7; font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.hero h1 { margin: 0; max-width: 820px; font-size: clamp(48px, 5.2vw, 82px); font-style: italic; font-weight: 950; letter-spacing: -3px; line-height: 1.04; text-transform: uppercase; text-wrap: balance; }
.hero-caption { margin: 13px 0 0; color: #a0a0a8; font-size: 13px; }
.hero-badges { margin-top: 28px; display: flex; align-items: center; gap: 13px; color: #6f7078; font-size: 9px; font-weight: 800; letter-spacing: 1.3px; }
.hero-badges i { width: 4px; height: 4px; background: var(--red); transform: rotate(45deg); }
.event-console {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  width: 390px;
  padding: 20px;
  transform: translateY(-50%);
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--cyan);
  background: linear-gradient(140deg, rgba(17,20,25,.96), rgba(8,8,11,.95));
  box-shadow: 0 28px 70px rgba(0,0,0,.42), 0 0 40px rgba(255,0,59,.08);
  clip-path: var(--cut-wide);
}
.console-head { display: flex; justify-content: space-between; color: var(--cyan); font-size: 8px; font-weight: 900; letter-spacing: 2px; }
.console-head b { color: #62636b; font-size: 11px; }
.console-brand { margin: 16px 0 18px; padding: 15px; display: flex; align-items: center; gap: 15px; border: 1px solid rgba(255,255,255,.09); background: linear-gradient(115deg, rgba(85,231,244,.07), rgba(255,23,77,.1)); }
.console-brand img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(255,23,77,.18)); }
.console-brand small { display: block; margin-bottom: 5px; color: #777984; font-size: 7px; font-weight: 800; letter-spacing: 1.2px; }
.console-brand strong { font-size: 25px; font-style: italic; letter-spacing: .5px; }
.event-switch { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px 12px; align-items: center; }
.event-switch label { grid-column: 1 / -1; color: #777983; font-size: 8px; font-weight: 900; letter-spacing: 1.4px; }
.event-switch select { min-width: 0; width: 100%; }
.event-switch > span { color: #797a83; font-size: 9px; white-space: nowrap; }
.history-panel { border: 1px solid rgba(255,255,255,.11); background: rgba(5,7,10,.55); }
.history-panel summary { min-height: 52px; padding: 10px 13px; display: flex; align-items: center; justify-content: space-between; gap: 13px; color: #858791; cursor: pointer; list-style: none; }
.history-panel summary::-webkit-details-marker { display: none; }
.history-panel summary::after { content: "+"; width: 23px; height: 23px; flex: none; display: grid; place-items: center; border: 1px solid rgba(85,231,244,.35); color: var(--cyan); font-size: 16px; }
.history-panel[open] summary::after { content: "−"; }
.history-panel summary span { font-size: 8px; font-weight: 900; letter-spacing: 1.3px; }
.history-panel summary b { margin-left: auto; overflow: hidden; color: #e5e7eb; font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.history-panel .event-switch { padding: 0 13px 13px; border-top: 1px solid rgba(255,255,255,.08); }
.history-panel .event-switch label { padding-top: 11px; }
select { height: 39px; padding: 0 32px 0 12px; border: 1px solid var(--line); border-radius: 0; background: #090a0e; color: #f1f1f2; font-size: 11px; }

.ticker { height: 42px; overflow: hidden; display: flex; align-items: center; background: var(--red-strong); transform: skewY(-.55deg); transform-origin: left; }
.ticker-track { min-width: max-content; display: flex; align-items: center; gap: 29px; animation: ticker 36s linear infinite; color: #fff; font-size: 13px; font-style: italic; font-weight: 950; letter-spacing: .6px; }
.ticker-track i { color: #460013; font-size: 7px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.content-shell { width: min(var(--max), calc(100% - 48px)); margin: auto; padding: 56px 0 80px; }
.announcement, .error { margin: 0 0 18px; padding: 14px 17px; border: 1px solid rgba(85,231,244,.4); border-left: 4px solid var(--cyan); background: linear-gradient(90deg, rgba(85,231,244,.1), rgba(255,255,255,.02)); color: #dfeef1; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.error { border-color: rgba(255,178,86,.42); border-left-color: #ffb256; background: linear-gradient(90deg, rgba(255,178,86,.11), transparent); }
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(100deg, rgba(20,21,27,.94), rgba(10,11,15,.92));
  clip-path: var(--cut-wide);
}
.metrics article { position: relative; min-height: 118px; padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; align-items: end; border-right: 1px solid var(--line); overflow: hidden; }
.metrics article:last-child { border-right: 0; }
.metrics article::before { content: ""; position: absolute; left: 0; top: 0; width: 42px; height: 2px; background: var(--red); }
.metrics article:nth-child(even)::before { background: var(--cyan); }
.metrics article > span { grid-column: 1 / -1; align-self: start; color: #9d9ea7; font-size: 11px; font-weight: 700; }
.metrics article > span b { margin-right: 8px; color: #555761; font-size: 8px; letter-spacing: 1px; }
.metrics article strong { font-size: 36px; font-style: italic; font-weight: 900; line-height: 1; letter-spacing: -1px; }
.metrics article small { justify-self: end; color: #6e707a; font-size: 9px; }

.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.score-panel, .side-panel { position: relative; min-width: 0; border: 1px solid var(--line); background: rgba(11,12,16,.92); clip-path: var(--cut); }
.score-panel::before, .side-panel::before { content: ""; position: absolute; inset: 0 auto auto 0; z-index: 2; width: 54px; height: 2px; background: var(--red); pointer-events: none; }
.side-panel::before { background: var(--cyan); width: 34px; }
.panel-heading { min-height: 87px; padding: 21px 23px; display: flex; align-items: center; justify-content: space-between; gap: 13px; }
.score-heading { justify-content: flex-start; background: linear-gradient(90deg, rgba(255,23,77,.07), transparent 42%); }
.section-number { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,23,77,.48); color: var(--red); font-size: 11px; font-weight: 900; transform: skewX(-9deg); }
.panel-heading h2 { margin: 0; font-size: 20px; font-style: italic; font-weight: 900; }
.panel-heading .eyebrow { margin-bottom: 4px; font-size: 8px; }
.auto-label { margin-left: auto; display: flex; align-items: center; gap: 8px; color: #8d8e98; font-size: 10px; font-weight: 700; }
.auto-label i { background: var(--cyan); box-shadow: 0 0 12px rgba(85,231,244,.55); }
.tabs { display: flex; min-width: 0; overflow-x: auto; scrollbar-width: thin; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #090a0e; }
.tabs button { position: relative; flex: 1 0 138px; min-height: 54px; padding: 0 18px; border: 0; border-right: 1px solid rgba(255,255,255,.07); background: transparent; color: #898b95; font-size: 12px; font-weight: 800; }
.tabs button small { margin-right: 8px; color: #4e5059; font-size: 8px; }
.tabs button::after { content: ""; position: absolute; inset: auto 17px -1px; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .2s ease; }
.tabs button:hover { color: #fff; background: rgba(255,255,255,.025); }
.tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(180deg, rgba(255,23,77,.1), transparent); }
.tabs button[aria-selected="true"] small { color: var(--red); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.tools { min-height: 70px; padding: 15px 23px; display: flex; align-items: center; gap: 11px; }
.search { width: min(260px, 50%); min-height: 38px; padding: 0 12px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: #07080b; }
.search:focus-within { border-color: rgba(85,231,244,.65); }
.search span { color: var(--cyan); font-size: 22px; line-height: 1; }
.search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 11px; }
.search input::placeholder { color: #666873; }
#round-select { max-width: 220px; }
.download-standings{min-height:38px;padding:0 15px;border:1px solid rgba(255,23,77,.55);background:linear-gradient(135deg,rgba(255,23,77,.2),rgba(114,0,31,.18));color:#ff7188;font:800 10px/1 "Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:.3px;white-space:nowrap}.download-standings:hover{border-color:#ff4165;background:rgba(255,23,77,.25);color:#fff;box-shadow:0 0 18px rgba(255,23,77,.16)}.download-standings:disabled{cursor:wait;opacity:.58}
.download-advancement{min-height:38px;padding:0 15px;border:1px solid rgba(233,190,87,.58);background:linear-gradient(135deg,rgba(143,102,24,.25),rgba(54,42,18,.22));color:#f7d77a;font:800 10px/1 "Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:.3px;white-space:nowrap}.download-advancement:hover{border-color:#f2ce6a;background:rgba(156,113,26,.3);color:#fff6d8;box-shadow:0 0 18px rgba(226,178,55,.15)}.download-advancement:disabled{cursor:wait;opacity:.58}
.advancement-dialog{width:min(520px,calc(100vw - 32px));padding:0;border:1px solid rgba(238,193,76,.5);background:linear-gradient(145deg,#15130d,#080a0f 52%,#10070b);color:#f3f5f8;box-shadow:0 30px 100px rgba(0,0,0,.75),0 0 40px rgba(219,166,42,.12)}.advancement-dialog::backdrop{background:rgba(2,3,6,.82);backdrop-filter:blur(5px)}.advancement-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 26px 18px;border-bottom:1px solid rgba(255,255,255,.1)}.advancement-dialog-head p{margin:0 0 7px;color:#e5bc56;font-size:9px;font-weight:900;letter-spacing:.18em}.advancement-dialog-head h2{margin:0;font-size:27px}.advancement-dialog-head button{width:36px;height:36px;border:1px solid rgba(255,255,255,.13);background:#090a0e;color:#a8adb7;font-size:24px;cursor:pointer}.advancement-dialog-copy{margin:0;padding:18px 26px 0;color:#9299a5;font-size:12px;line-height:1.75}.advancement-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:20px 26px}.advancement-fields label{display:grid;gap:8px;padding:15px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.025)}.advancement-fields span{color:#f0d58d;font-size:12px;font-weight:900}.advancement-fields input{width:100%;height:48px;padding:0 12px;border:1px solid rgba(232,191,84,.38);background:#06070a;color:#fff;font:900 25px/1 "Barlow Condensed","Segoe UI",sans-serif}.advancement-fields small{color:#6f7783;font-size:9px}.advancement-summary{margin:0 26px;padding:12px 14px;border-left:3px solid #e4ba50;background:rgba(226,180,61,.08);color:#c6cbd4;font-size:11px}.advancement-summary.is-error{border-left-color:#ff3153;background:rgba(255,31,74,.08);color:#ff8ca0}.advancement-actions{display:flex;justify-content:flex-end;gap:10px;padding:20px 26px 26px}.advancement-actions button{min-height:40px;padding:0 18px;border:1px solid rgba(255,255,255,.15);background:#0a0b0f;color:#c7ccd4;font-weight:900;cursor:pointer}.advancement-actions #advancement-confirm{border-color:#e1b64a;background:linear-gradient(135deg,#e8c265,#a26f17);color:#211602}.advancement-actions #advancement-confirm:disabled{cursor:wait;filter:grayscale(.7);opacity:.6}
#result-count { margin-left: auto; color: #6f717b; font-size: 10px; white-space: nowrap; }
.table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { height: 43px; background: #07080b; color: #747681; font-size: 9px; font-weight: 800; letter-spacing: .9px; }
td { height: 66px; border-bottom: 1px solid rgba(255,255,255,.065); color: #c5c6cc; font-size: 14px; }
th, td { padding: 0 14px; }
th:first-child, td:first-child { width: 72px; padding-left: 23px; }
th:last-child, td:last-child { padding-right: 23px; text-align: right; }
th.numeric, td.numeric { text-align: right; }
tbody tr { transition: background .16s ease; }
tbody tr:hover { background: linear-gradient(90deg, rgba(255,23,77,.08), rgba(85,231,244,.025)); }
tbody tr:last-child td { border-bottom: 0; }
.rank { color: #696b75; font-size: 12px; font-style: italic; font-weight: 800; }
.rank.top { color: var(--red); }
.team-name { display: flex; align-items: center; gap: 12px; }
.team-name .emblem { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); background: linear-gradient(145deg, #282b34, #0b0c11); color: #d7d8dd; font-size: 8px; font-weight: 900; clip-path: polygon(0 0, 76% 0, 100% 24%, 100% 100%, 24% 100%, 0 76%); }
.team-name b { max-width: 245px; overflow: hidden; color: #ececef; font-size: 13px; font-weight: 750; text-overflow: ellipsis; }
.score { color: #fff; font-size: 21px; font-style: italic; font-weight: 900; }
.score.positive { color: var(--cyan); text-shadow: 0 0 18px rgba(85,231,244,.22); }
.sub-text { display: block; margin-top: 3px; color: #686b76; font-size: 9px; }
.round-badge { margin-left: 5px; color: var(--cyan); font-size: 8px; }
.player-legend { color: #90939e; font-size: 11px; }
.score-note { min-height: 49px; padding: 13px 23px; display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--line); background: #08090c; }
.score-note p { margin: 0; color: #72747e; font-size: 10px; }
.tiny-line { width: 3px; height: 11px; flex: none; background: var(--red); transform: skewX(-14deg); }

.side-panel { margin-bottom: 18px; padding-bottom: 20px; }
.side-panel .panel-heading { min-height: 77px; padding: 18px 19px 14px; }
.side-panel .panel-heading h2 { font-size: 15px; }
.label { padding: 4px 6px; border: 1px solid rgba(255,255,255,.09); color: #666975; font-size: 7px; font-weight: 900; letter-spacing: 1.5px; }
.match-status { position: relative; margin: 0 19px; padding: 16px; overflow: hidden; border: 1px solid rgba(255,23,77,.28); border-left: 3px solid var(--red); background: linear-gradient(120deg, rgba(255,23,77,.17), rgba(85,231,244,.035)); }
.match-status::after { content: ""; position: absolute; top: -32px; right: 24px; width: 18px; height: 120px; background: rgba(255,23,77,.22); transform: skewX(-23deg); }
.match-status span { display: block; color: #d5a0b0; font-size: 10px; }
.match-status strong { display: block; margin-top: 4px; font-size: 25px; font-style: italic; font-weight: 950; letter-spacing: 1px; }
.muted { margin: 13px 19px 0; color: #777a85; font-size: 11px; line-height: 1.75; }
.legend-row { min-height: 54px; padding: 7px 19px; display: flex; align-items: center; gap: 10px; }
.legend-row img { width: 36px; height: 36px; flex: none; border: 1px solid rgba(255,255,255,.16); object-fit: cover; clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 22% 100%, 0 78%); }
.legend-row > div { min-width: 0; flex: 1; }
.legend-row b { display: block; color: #d7d8dd; font-size: 11px; }
.legend-row small { color: #6e717d; font-size: 9px; }
.legend-row > strong { color: var(--cyan); font-size: 12px; font-weight: 750; }
.legend-ban { margin: 8px 15px 3px; padding: 8px 10px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 8px; border: 1px solid rgba(226,61,86,.32); background: rgba(98,18,34,.16); }
.legend-ban span { color: #858995; font-size: 8px; font-weight: 900; letter-spacing: 1.3px; }
.legend-ban b { color: #f0445f; font-size: 11px; }
.legend-ban em { grid-column: 2; color: #777b86; font-size: 8px; font-style: normal; }
.legend-ban.violation { border-color: rgba(255,145,44,.72); background: linear-gradient(90deg,rgba(133,57,13,.32),rgba(71,28,12,.13)); box-shadow: inset 3px 0 #ff922f,0 0 14px rgba(255,112,26,.08); }
.legend-ban.violation em { color: #ff9b43; font-weight: 900; }
.legend-row.pick-leader b { color: #ff405f; text-shadow: 0 0 9px rgba(255,42,77,.35); }
.legend-row.ban-picked { margin: 4px 10px; min-height: 58px; padding-left: 9px; padding-right: 9px; border: 1px solid rgba(255,142,44,.72); background: linear-gradient(90deg,rgba(137,58,12,.34),rgba(61,25,13,.08)); box-shadow: inset 3px 0 #ff922f,0 0 13px rgba(255,116,29,.08); }
.legend-row.ban-picked b,.legend-row.ban-picked > strong { color: #ff9b43; text-shadow: 0 0 9px rgba(255,122,28,.35); }
.legend-row small i { display: block; margin-top: 2px; color: #ff9b43; font-size: 8px; font-style: normal; font-weight: 900; }
.recent-row { width: 100%; min-height: 58px; padding: 10px 19px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; border-top: 1px solid rgba(255,255,255,.06); background: transparent; text-align: left; }
.recent-row:hover { background: rgba(255,255,255,.035); }
.recent-row b { display: block; color: #d2d3d8; font-size: 11px; font-weight: 750; }
.recent-row small { color: #676a76; font-size: 9px; }
.recent-row > span { color: var(--cyan); font-size: 9px; white-space: nowrap; }
.recent-row.voided { opacity: .48; }
.recent-row.pending > span { color: #e9b46b; }
.brand-note { min-height: 66px; padding: 9px 11px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(255,255,255,.07); background: linear-gradient(90deg, rgba(255,255,255,.025), transparent); }
.brand-note-mark { width: 40px; height: 44px; display: grid; place-items: center; overflow: hidden; }
.brand-note img { width: 36px; height: 40px; object-fit: contain; opacity: .72; }
.brand-note p { margin: 0; color: #777a85; font-size: 10px; }
.brand-note p span { display: block; margin-top: 4px; color: #4e515b; font-size: 7px; font-weight: 900; letter-spacing: 1.4px; }
.empty { padding: 68px 24px 82px; color: #afb0b7; text-align: center; }
.empty-mark { display: block; margin: 0 0 17px; color: var(--red); font-size: 38px; font-style: italic; font-weight: 950; letter-spacing: -7px; }
.empty h3 { margin: 0 0 7px; font-size: 17px; }
.empty p { max-width: 340px; margin: auto; color: #6e717d; font-size: 11px; }

footer { width: min(var(--max), calc(100% - 48px)); min-height: 78px; margin: auto; padding: 20px 0; display: flex; align-items: center; gap: 22px; border-top: 1px solid var(--line); }
footer strong { font-size: 19px; font-style: italic; font-weight: 950; }
footer > span { color: #5f626d; font-size: 9px; }
footer a { margin-left: auto; color: #6c6f7b; font-size: 8px; font-weight: 900; letter-spacing: 1.2px; }
footer a:hover { color: var(--red); }
.sponsor-strip { margin-top: 24px; min-height: 112px; padding: 18px 26px; display: grid; grid-template-columns: minmax(160px,1fr) repeat(3,minmax(130px,210px)); align-items: center; gap: 22px; border: 1px solid var(--line); border-top: 2px solid var(--cyan); background: #f4f5f6; color: #11151b; clip-path: var(--cut-wide); }
.sponsor-strip > div span { display: block; color: #db1747; font-size: 8px; font-weight: 950; letter-spacing: 2px; }
.sponsor-strip > div strong { display: block; margin-top: 5px; font-size: 19px; font-style: italic; }
.sponsor-strip img { width: 100%; height: 58px; object-fit: contain; }

@media (max-width: 1160px) {
  .site-header nav { display: none; }
  .hero-copy { padding-right: 430px; }
  .event-console { width: 355px; }
  .workspace { grid-template-columns: minmax(0,1fr) 270px; }
  .metrics article { padding: 20px; }
  .metrics article small { display: none; }
  .table-scroll table { min-width: 720px; }
}

@media (max-width: 820px) {
  .site-header { height: 72px; }
  .header-frame { width: calc(100% - 28px); gap: 12px; }
  .brand-mark { width: 40px; height: 46px; }
  .brand-mark img { width: 37px; height: 42px; }
  .brand strong { font-size: 21px; }
  .brand small { font-size: 7px; letter-spacing: 1.6px; }
  .connection { min-width: 0; margin-left: auto; padding: 0 10px; }
  .connection span { display: none; }
  .header-cta { min-width: 98px; padding: 0 11px; font-size: 10px; }
  .header-cta span { display: none; }
  .hero { padding: 0; }
  .hero-copy { width: calc(100% - 32px); min-height: 340px; padding: 48px 0 138px; justify-content: flex-start; }
  .hero h1 { font-size: clamp(40px, 10vw, 62px); letter-spacing: -2px; }
  .hero-badges { display: none; }
  .hero-word { font-size: 130px; bottom: 70px; }
  .strike-one { right: 16%; opacity: .46; }
  .event-console { left: 16px; right: 16px; top: auto; bottom: 17px; width: auto; padding: 12px 14px; transform: none; }
  .console-head, .console-brand { display: none; }
  .event-switch { grid-template-columns: minmax(0,1fr) auto; }
  .ticker { height: 36px; }
  .content-shell { width: calc(100% - 28px); padding: 38px 0 56px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics article:nth-child(2) { border-right: 0; }
  .metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metrics article { min-height: 100px; padding: 17px 18px; }
  .metrics article strong { font-size: 30px; }
  .workspace { grid-template-columns: 1fr; }
  .workspace aside { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .sponsor-strip { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .sponsor-strip > div { grid-column: 1 / -1; }
  .side-panel { margin: 0; }
  .brand-note { align-self: start; }
  .table-scroll table { min-width: 680px; }
  footer { width: calc(100% - 28px); flex-wrap: wrap; gap: 8px 15px; }
  footer > span { flex: 1; }
}

@media (max-width: 520px) {
  .header-frame { width: calc(100% - 22px); }
  .brand strong small { display: none; }
  .header-cta { width: 78px; min-width: 78px; }
  .header-cta b { display: none; }
  .hero-copy { width: calc(100% - 28px); padding-top: 40px; }
  .hero-kicker { margin-top: 10px; font-size: 9px; }
  .hero h1 { font-size: 39px; }
  .hero-caption { max-width: 90%; font-size: 11px; }
  .event-console { left: 14px; right: 14px; }
  .event-switch > span { display: none; }
  .event-switch { grid-template-columns: 1fr; }
  .content-shell { width: calc(100% - 20px); padding-top: 28px; }
  .metrics article { min-height: 92px; padding: 15px; }
  .metrics article > span { font-size: 9px; }
  .metrics article strong { font-size: 26px; }
  .panel-heading { min-height: 76px; padding: 17px; }
  .section-number { width: 38px; height: 38px; }
  .panel-heading h2 { font-size: 18px; }
  .auto-label { font-size: 8px; }
  .tabs button { flex-basis: 118px; padding: 0 12px; font-size: 11px; }
  .tools { padding: 13px 16px; flex-wrap: wrap; }
  .search { width: 100%; max-width: none; }
  #round-select { max-width: 180px; }
  #result-count { font-size: 9px; }
  .table-scroll table { min-width: 650px; }
  th:first-child, td:first-child { padding-left: 17px; }
  th:last-child, td:last-child { padding-right: 17px; }
  .score-note { padding: 12px 16px; }
  .workspace aside { grid-template-columns: 1fr; }
  .sponsor-strip { grid-template-columns: 1fr; padding: 19px; }
  .sponsor-strip img { height: 50px; }
  footer > span { flex-basis: calc(100% - 54px); }
  footer a { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
}

.standings-grid{display:grid;grid-auto-flow:column;grid-template-rows:repeat(10,auto);grid-template-columns:1fr 1fr;gap:12px 32px;padding:24px 0}.standing-card{display:flex;align-items:center;min-width:0;background:linear-gradient(110deg,#f4f4f4,#bcbcbc);color:#111;min-height:72px;clip-path:polygon(2% 0,100% 0,98% 100%,0 100%)}.standing-card>strong{align-self:stretch;display:grid;place-items:center;width:70px;background:#ff454d;color:white;font-size:30px}.standing-card>b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;padding:0 18px;font-size:20px}.standing-card>span{min-width:62px;text-align:center;font-size:22px;font-weight:800}.standing-card small{display:block;color:#666;font-size:9px}@media(max-width:760px){.standings-grid{display:flex;flex-direction:column}.standing-card>b{font-size:16px}.standing-card>span{min-width:45px}}

.follow-round{background:#121821;border:1px solid #374552;color:#dbe7f4;padding:12px 16px;min-height:44px}.follow-round:hover{border-color:var(--cyan)}#player-scope{min-height:44px;max-width:180px}

.history-events{background:#151b25;border:1px solid #44515f;color:#d8e4f2;padding:7px 12px;font-size:11px;margin-top:8px;cursor:pointer}

/* V1.2 / Team-first standings cards with match-point and champion states. */
.standings-grid{gap:12px 28px;padding:24px 0}
.standing-card{position:relative;display:grid;grid-template-columns:64px minmax(210px,1fr) 82px 52px 52px 72px;align-items:center;gap:12px;min-height:90px;padding:0 16px 0 0;overflow:hidden;clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%);border:1px solid rgba(166,181,201,.16);background:linear-gradient(104deg,#1c222b 0%,#151a21 65%,#10151c 100%);color:#edf2f8;box-shadow:inset 0 1px rgba(255,255,255,.025),0 7px 18px rgba(0,0,0,.2)}
.standing-card::after{content:"";position:absolute;inset:0 0 auto 0;height:1px;background:linear-gradient(90deg,transparent,#445263,transparent);opacity:.7}
.standing-card>.standing-rank{align-self:stretch;width:auto;display:grid;place-items:center;background:linear-gradient(155deg,#ef1834,#a80018);color:#fff;font-size:30px;font-style:italic;text-shadow:0 2px 8px rgba(0,0,0,.3);clip-path:polygon(10px 0,100% 0,100% 100%,0 100%)}
.standing-logo,.table-team-crest{position:relative;display:grid;place-items:center;overflow:hidden;flex:none;background:#0b0f15;border:1px solid rgba(151,171,195,.25);color:#b7c6d7;font-weight:900}
.standing-logo{width:60px;height:60px;border-radius:9px}.table-team-crest{width:32px;height:32px;border-radius:5px;font-size:8px}
.standing-logo i,.table-team-crest i{font-style:normal;font-size:9px;text-align:center;line-height:1.05;overflow-wrap:anywhere}.standing-logo img,.table-team-crest img{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:contain;background:#11161e}
.standing-team{min-width:0;display:flex;align-items:center;gap:14px;padding-left:5px}.standing-identity{min-width:0;display:flex;flex:0 1 auto;flex-direction:column;gap:5px}.standing-identity>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ff385a;font-size:19px;font-weight:900;letter-spacing:.35px;text-shadow:0 0 7px rgba(255,23,77,.85),0 0 18px rgba(255,0,55,.48),0 0 34px rgba(238,0,59,.22)}.standing-identity>small{color:#8290a1;font-size:9px;font-weight:800;letter-spacing:1.3px;text-transform:uppercase}
.standing-status{min-width:0;text-align:center}.standing-status i{display:inline-flex;align-items:center;justify-content:center;min-height:26px;max-width:100%;padding:4px 8px;border-radius:20px;font-style:normal;font-size:9px;font-weight:950;letter-spacing:.4px;white-space:nowrap}
.matchpoint-badge{border:1px solid rgba(233,190,87,.55);background:rgba(128,91,22,.24);color:#ffd978}.champion-badge{border:1px solid #f4cf68;background:linear-gradient(135deg,#ffe697,#c99632);color:#211603;box-shadow:0 0 15px rgba(241,194,73,.24)}
.standing-stat,.standing-total{min-width:0;text-align:center;font-variant-numeric:tabular-nums}.standing-stat small,.standing-total small{display:block;margin-bottom:3px;color:#738194;font-size:8px;font-weight:800;white-space:nowrap}.standing-stat b{font-size:16px;color:#d7dfe9}.standing-total{height:54px;display:grid;place-content:center;background:rgba(238,26,57,.08);border-left:1px solid rgba(238,26,57,.22)}.standing-total b{font-size:23px;color:#ff5065;line-height:1}
.standing-card.match-point{border-color:rgba(229,185,75,.72);background:linear-gradient(105deg,#3b301a 0%,#2a2417 48%,#171711 100%);box-shadow:inset 0 0 22px rgba(235,191,76,.075),0 7px 20px rgba(0,0,0,.25)}
.standing-card.match-point::after{background:linear-gradient(90deg,transparent,#f1ce72,transparent)}.standing-card.match-point>.standing-rank{background:linear-gradient(150deg,#ffe58a,#b97d18);color:#211603;text-shadow:none}.standing-card.match-point .standing-logo{border-color:#cda74c;background:#17130b}.standing-card.match-point .standing-identity>b{color:#ff4968;text-shadow:0 0 7px rgba(255,35,82,.9),0 0 18px rgba(255,0,55,.5),0 0 34px rgba(238,0,59,.24)}.standing-card.match-point .standing-identity>small,.standing-card.match-point .standing-stat small,.standing-card.match-point .standing-total small{color:#bda974}.standing-card.match-point .standing-stat b{color:#fff2c9}.standing-card.match-point .standing-total{background:rgba(241,194,72,.12);border-left-color:rgba(241,194,72,.4)}.standing-card.match-point .standing-total b{color:#ffda70}
.standing-card.champion{border-color:#ffe18a;box-shadow:inset 0 0 27px rgba(255,216,105,.12),0 0 20px rgba(223,170,44,.13)}
@media(max-width:1080px){.standing-card{grid-template-columns:52px minmax(145px,1fr) 48px 48px 62px;gap:8px;min-height:76px;padding-right:8px}.standing-status{display:none}.standing-logo{width:48px;height:48px}.standing-card>.standing-rank{font-size:24px}.standing-identity>b{font-size:15px}.standing-stat b{font-size:14px}.standing-total{height:50px}.standing-total b{font-size:19px}}
@media(max-width:760px){.standings-grid{display:flex;flex-direction:column;padding-top:12px}.standing-card{width:100%;grid-template-columns:52px minmax(150px,1fr) 48px 48px 60px;min-height:80px}.standing-logo{width:50px;height:50px}}

/* V1.3 / Readability pass for control-room and broadcast displays. */
body{font-size:16px}
.brand small{font-size:11px}.site-header nav a{font-size:14px}.connection{min-width:178px;font-size:13px}.header-cta{font-size:14px}.header-cta span{font-size:10px}
.eyebrow{font-size:11px}.hero-kicker{font-size:13px}.hero-caption{font-size:16px}.hero-badges{font-size:11px}
.console-head{font-size:10px}.console-brand small{font-size:9px}.event-switch label,.history-panel summary span{font-size:10px}.event-switch>span,.history-panel summary b{font-size:12px}select{font-size:13px}
.announcement,.error{font-size:14px}.metrics article>span{font-size:13px}.metrics article>span b{font-size:10px}.metrics article strong{font-size:40px}.metrics article small{font-size:11px}
.workspace{grid-template-columns:minmax(0,1fr) 380px;gap:26px}.section-number{font-size:13px}.panel-heading h2{font-size:23px}.panel-heading .eyebrow{font-size:10px}.auto-label{font-size:12px}
.tabs button{font-size:14px}.tabs button small{font-size:10px}.search input{font-size:14px}.download-standings{font-size:12px}#result-count{font-size:12px}
th{height:47px;font-size:11px}td{height:74px;font-size:16px}.rank{font-size:14px}.team-name .emblem{width:40px;height:40px;font-size:10px}.team-name b{max-width:290px;font-size:16px}.score{font-size:24px}.sub-text{font-size:11px}.round-badge{font-size:10px}.player-legend{font-size:13px}.score-note p{font-size:12px}
.side-panel .panel-heading h2{font-size:18px}.label{font-size:9px}.match-status span{font-size:12px}.match-status strong{font-size:28px}.muted{font-size:13px}.legend-row{min-height:64px}.legend-row img{width:44px;height:44px}.legend-row b{font-size:14px}.legend-row small{font-size:11px}.legend-row>strong{font-size:14px}.legend-ban span{font-size:10px}.legend-ban b{font-size:14px}.legend-ban em,.legend-row small i{font-size:10px}.recent-row{min-height:66px}.recent-row b{font-size:13px}.recent-row small,.recent-row>span{font-size:11px}.brand-note p{font-size:12px}.brand-note p span{font-size:9px}
.empty h3{font-size:20px}.empty p{font-size:13px}footer>span{font-size:11px}footer a{font-size:10px}.sponsor-strip>div span{font-size:10px}.sponsor-strip>div strong{font-size:21px}
.standing-identity>b{font-size:21px}.standing-identity>small{font-size:11px}.standing-status i{font-size:11px}.standing-stat small,.standing-total small{font-size:10px}.standing-stat b{font-size:18px}.standing-total b{font-size:25px}
@media(max-width:1160px){.workspace{grid-template-columns:minmax(0,1fr) 320px}}
@media(max-width:820px){.workspace{grid-template-columns:1fr}.hero-caption{font-size:14px}}

/* V1.4 / Clear team identity across round and player tables. */
td{height:86px}
.table-identity{min-width:0;display:flex;align-items:center;gap:14px}
.table-team-crest{width:52px;height:52px;border-radius:10px;border-color:rgba(120,146,174,.42);background:radial-gradient(circle at 50% 38%,#202a36,#080c12 72%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),0 5px 14px rgba(0,0,0,.28);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.table-team-crest i{max-width:44px;padding:3px;color:#dce8f5;font-size:10px;font-weight:950;letter-spacing:.2px;line-height:1.05}
.table-team-crest img{padding:3px;background:radial-gradient(circle at 50% 42%,#1b2430,#090d13 76%);object-fit:contain}
tbody tr:hover .table-team-crest{border-color:rgba(85,231,244,.65);box-shadow:0 0 18px rgba(85,231,244,.12),inset 0 0 0 1px rgba(255,255,255,.04);transform:translateY(-1px)}
.table-identity-copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:6px}
.table-identity-copy>b{max-width:360px;overflow:hidden;color:#f4f7fb;font-size:17px;font-weight:900;line-height:1.12;text-overflow:ellipsis;white-space:nowrap}
.table-team-line{min-width:0;display:flex;align-items:center;gap:8px;color:#aab4c2;font-size:12px;font-weight:750;line-height:1.15}
.table-team-line i{flex:none;min-width:32px;padding:3px 6px;border:1px solid rgba(255,49,94,.42);border-radius:4px;background:rgba(255,23,77,.1);color:#ff5876;font-size:9px;font-style:normal;font-weight:950;letter-spacing:.6px;text-align:center;text-shadow:0 0 8px rgba(255,23,77,.28)}
.table-team-line em{min-width:0;overflow:hidden;color:#b6c0cd;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.table-player-entry .table-team-line em{color:#ff5876;text-shadow:0 0 10px rgba(255,23,77,.18)}
.table-team-entry .table-identity-copy>b{color:#ff496b;text-shadow:0 0 10px rgba(255,23,77,.28)}
.table-team-entry .table-team-line em{color:#8997a8}
@media(max-width:820px){td{height:82px}.table-team-crest{width:48px;height:48px}.table-identity{gap:11px}.table-identity-copy>b{font-size:15px}.table-team-line{font-size:11px}}
@media(max-width:600px){.advancement-fields{grid-template-columns:1fr}.advancement-dialog-head,.advancement-dialog-copy,.advancement-fields,.advancement-actions{padding-left:18px;padding-right:18px}.download-advancement{font-size:12px}}
