/* THE FINALS top-500 tracker - "PRIME TIME broadcast package"
   Type: Saira Extra Condensed / Saira Condensed (the game's own web type), Sofia Sans for body.
   Palette: studio black, Embark coral #f0523d, broadcast cyan #00b2ff, ruby red, gem ice. */

@font-face { font-family: 'Saira Extra Condensed'; font-weight: 700; src: url(assets/fonts/SairaExtraCondensed-700.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Saira Extra Condensed'; font-weight: 800; src: url(assets/fonts/SairaExtraCondensed-800.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Saira Extra Condensed'; font-weight: 900; src: url(assets/fonts/SairaExtraCondensed-900.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Saira Condensed'; font-weight: 400; src: url(assets/fonts/SairaCondensed-400.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Saira Condensed'; font-weight: 500; src: url(assets/fonts/SairaCondensed-500.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Saira Condensed'; font-weight: 600; src: url(assets/fonts/SairaCondensed-600.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Saira Condensed'; font-weight: 700; src: url(assets/fonts/SairaCondensed-700.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Saira Condensed'; font-weight: 800; src: url(assets/fonts/SairaCondensed-800.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Saira Condensed'; font-weight: 900; src: url(assets/fonts/SairaCondensed-900.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Saira'; font-weight: 400; src: url(assets/fonts/Saira-400.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Saira'; font-weight: 500 900; src: url(assets/fonts/Saira-500-900.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Sofia Sans'; font-weight: 400 700; src: url(assets/fonts/SofiaSans-400-700.woff2) format('woff2'); font-display: swap; }

:root {
  --bg: #0a0a0b;
  --panel: #131315;
  --panel2: #1a1a1e;
  --line: #27272c;
  --line2: #35353c;
  --text: #f3f3f1;
  --muted: #8f8f98;
  --dim: #5d5d66;
  --coral: #f0523d;
  --coral2: #ff7a5c;
  --cyan: #00b2ff;
  --ruby: #e3173f;
  --ice: #a7e6ff;
  --gold: #f0c35a;
  --up: #3ee38b;
  --down: #ff5c5c;
  --display: 'Saira Extra Condensed', 'Saira Condensed', Impact, sans-serif;
  --cond: 'Saira Condensed', 'Saira', sans-serif;
  --body: 'Sofia Sans', 'Saira', sans-serif;
  --skew: -12deg;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 14px; line-height: 1.4;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.muted { color: var(--muted); }
.sep { color: var(--dim); margin: 0 6px; }
.num { font-family: var(--cond); font-variant-numeric: tabular-nums; text-align: right; }

/* studio backdrop: stage-light wash + fine scanlines + a single diagonal beam */
.studio {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(240, 82, 61, .16), transparent 60%),
    radial-gradient(900px 500px at 95% 0%, rgba(0, 178, 255, .10), transparent 60%),
    linear-gradient(180deg, #0f0f11 0%, var(--bg) 40%);
}
.studio::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.studio::after {
  content: ''; position: absolute; top: -20%; left: 55%; width: 38%; height: 140%; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.025), transparent);
}

/* ---------- buttons / inputs ---------- */
.btn {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px;
  background: var(--coral); color: #fff; border: 0; padding: 9px 16px; transform: skewX(var(--skew));
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--coral2); }
.btn:active { transform: skewX(var(--skew)) translateY(1px); }
.btn:disabled { background: var(--line2); color: var(--muted); cursor: default; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.btn.ghost:hover { background: var(--panel2); }
.btn.small { padding: 6px 12px; font-size: 12px; }
input[type="search"] {
  font: 500 15px var(--cond); color: var(--text); background: var(--panel2); border: 1px solid var(--line2);
  padding: 10px 14px; width: 100%; outline: none; letter-spacing: .02em;
}
input[type="search"]:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 178, 255, .15); }
input[type="search"]::placeholder { color: var(--dim); }

/* ---------- header ---------- */
.bar {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding: 18px 28px 14px; max-width: 1240px; margin: 0 auto;
}
.brand { display: flex; flex-direction: column; gap: 8px; }
.wordmark { height: 30px; width: auto; display: block; }
.seasonTag { display: flex; align-items: center; gap: 8px; }
.seasonNum {
  font-family: var(--display); font-weight: 900; font-size: 16px; letter-spacing: .06em; color: #0a0a0b; background: var(--text);
  padding: 1px 7px 0; transform: skewX(var(--skew)); line-height: 1.3;
}
.primeTime { height: 11px; width: auto; opacity: .85; }
.showTitle { text-align: center; }
.liveRow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: -4px; }
.live {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--cond); font-weight: 800; letter-spacing: .14em; font-size: 12px;
  color: #fff; background: var(--ruby); padding: 2px 9px 2px 7px; transform: skewX(var(--skew));
}
.live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.mode { display: inline-flex; align-items: center; gap: 6px; font-family: var(--cond); font-weight: 700; letter-spacing: .14em; font-size: 12px; color: var(--muted); }
.mode img { height: 16px; width: 16px; opacity: .8; }
h1 {
  margin: 0; font-family: var(--display); font-weight: 900; font-size: 54px; line-height: .92; letter-spacing: .01em; text-transform: uppercase;
}
h1 em { font-style: normal; color: var(--coral); }
.showSub { font-family: var(--cond); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; font-size: 11px; color: var(--muted); margin-top: 6px; }

.onair {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-width: 330px;
  background: var(--panel); border: 1px solid var(--line); padding: 8px 8px 8px 12px; position: relative;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}
.onairLamp { display: grid; place-items: center; }
.lamp { width: 10px; height: 10px; border-radius: 50%; background: var(--dim); box-shadow: 0 0 0 3px rgba(255,255,255,.04); }
.lamp.ok { background: var(--up); box-shadow: 0 0 12px rgba(62, 227, 139, .7); }
.lamp.warn { background: var(--gold); box-shadow: 0 0 12px rgba(240, 195, 90, .6); }
.lamp.bad { background: var(--down); box-shadow: 0 0 12px rgba(255, 92, 92, .7); }
.onairMain { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: .02em; line-height: 1.15; }
.onairSub { font-size: 12px; color: var(--muted); line-height: 1.25; }
.stripe {
  height: 5px; max-width: 1240px; margin: 0 auto 18px;
  background: repeating-linear-gradient(-55deg, var(--coral) 0 10px, transparent 10px 22px);
  opacity: .55; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 70%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, #000 70%, transparent 100%);
}

main { padding: 0 28px 40px; max-width: 1240px; margin: 0 auto; }

/* ---------- Ruby status bar (standby until Embark switches Ruby on, then lit) ---------- */
.rubyBar {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-bottom: 18px;
  padding: 10px 26px 10px 14px; background: linear-gradient(90deg, rgba(227, 23, 63, .08), transparent 55%), var(--panel);
  border: 1px solid var(--line); border-left: 4px solid var(--line2);
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}
.rubyBar[hidden] { display: none; }
.rubyIco { width: 46px; height: 46px; display: block; filter: grayscale(.9) opacity(.5); transition: filter .4s; }
.rubyHead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: .01em; }
.rubyPill {
  font-family: var(--cond); font-weight: 800; font-size: 12px; letter-spacing: .14em; padding: 2px 10px;
  background: var(--line2); color: var(--text); transform: skewX(var(--skew)); white-space: nowrap;
}
.rubySub { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.rubyMe { font-family: var(--cond); font-size: 13px; color: var(--muted); text-align: right; line-height: 1.25; }
.rubyMe b { display: block; color: var(--text); font-weight: 800; font-size: 20px; }
.rubyBar.is-live {
  border-left-color: var(--ruby); box-shadow: 0 0 34px rgba(227, 23, 63, .16);
  background: linear-gradient(90deg, rgba(227, 23, 63, .30), rgba(227, 23, 63, .06) 60%), var(--panel);
}
.rubyBar.is-live .rubyIco { filter: drop-shadow(0 0 12px rgba(227, 23, 63, .65)); animation: rubyGlow 2.6s ease-in-out infinite; }
.rubyBar.is-live .rubyPill { background: var(--ruby); color: #fff; }
.rubyBar.is-live .rubyMe b { color: #ff5c7c; }
.rubyBar.is-late .rubyPill { background: var(--gold); color: #0a0a0b; }
@keyframes rubyGlow { 50% { filter: drop-shadow(0 0 22px rgba(227, 23, 63, .95)); } }
@media (prefers-reduced-motion: reduce) { .rubyBar.is-live .rubyIco { animation: none; } }

/* ---------- contestant card (the lower third) ---------- */
.contestant { margin-bottom: 18px; }
.pinRow { display: flex; gap: 12px; align-items: flex-end; margin-bottom: 12px; }
.pinWrap { position: relative; flex: 1; max-width: 560px; }
.pinWrap label { display: block; font-family: var(--cond); font-weight: 700; letter-spacing: .18em; font-size: 11px; color: var(--coral); margin-bottom: 6px; }
.results {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--panel2); border: 1px solid var(--line2);
  margin-top: 4px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.6);
}
.results button { display: flex; width: 100%; gap: 12px; align-items: center; text-align: left; background: none; border: 0; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.results button:last-child { border-bottom: 0; }
.results button:hover { background: #24242a; }
.results .r { font-family: var(--cond); font-weight: 700; color: var(--muted); min-width: 64px; }
.results img { width: 26px; height: 26px; }
.results .alt { color: var(--muted); font-size: 12px; margin-left: auto; text-align: right; }
.youEmpty { color: var(--muted); font-size: 13px; max-width: 760px; }

.card {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  padding: 18px 22px;
}
.card[hidden] { display: none; }
.card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--coral); }
.card::after {
  /* slow studio sweep */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.035) 45%, transparent 60%);
  background-size: 300% 100%; animation: sweep 9s linear infinite;
}
@keyframes sweep { from { background-position: 120% 0; } to { background-position: -80% 0; } }
.youGrid { display: grid; grid-template-columns: auto auto 1fr; gap: 20px 26px; align-items: center; }
.badgeBig img { width: 128px; height: 128px; display: block; filter: drop-shadow(0 10px 24px rgba(0,0,0,.6)); }
.badgeBig.off img { filter: grayscale(1) opacity(.35); }
.rankBlock { min-width: 180px; }
.rankNum { font-family: var(--display); font-weight: 900; font-size: 96px; line-height: .85; letter-spacing: -.01em; }
.rankNum.in500 { color: var(--ruby); text-shadow: 0 0 30px rgba(227, 23, 63, .35); }
.rankNum small { font-size: 46px; color: var(--muted); font-weight: 800; letter-spacing: 0; }
.rankName { font-family: var(--cond); font-weight: 700; font-size: 20px; margin-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rankMeta { font-family: var(--cond); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; color: var(--muted); margin-top: 2px; }
.chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; }
.chip { background: var(--panel2); border: 1px solid var(--line); padding: 9px 12px 8px; transform: skewX(var(--skew)); }
.chip > div { transform: skewX(calc(-1 * var(--skew))); }
.chip .k { font-family: var(--cond); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 10px; color: var(--muted); }
.chip .v { font-family: var(--cond); font-weight: 800; font-size: 24px; line-height: 1.1; margin-top: 2px; font-variant-numeric: tabular-nums; }
.chip .s { font-size: 11px; color: var(--muted); margin-top: 1px; }
.chip.hot { border-color: rgba(240, 82, 61, .5); }
.youChart { grid-column: 1 / -1; }
.chartBox svg { width: 100%; height: auto; display: block; }
.axis { fill: var(--muted); font-family: var(--cond); font-size: 11px; }
.caption { font-size: 11px; color: var(--muted); margin-top: 4px; }

.plat { display: inline-flex; gap: 5px; align-items: center; vertical-align: middle; }
.plat i { display: inline-block; width: 13px; height: 13px; background: currentColor; color: var(--muted); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.plat i.steam { --m: url(assets/platforms/steam.svg); }
.plat i.psn { --m: url(assets/platforms/playstation.svg); }
.plat i.xbox { --m: url(assets/platforms/xbox.svg); }
.plat i.cross { --m: url(assets/platforms/crossplay.svg); }

.lg { display: inline-flex; align-items: center; gap: 6px; font-family: var(--cond); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.lg img { width: 22px; height: 22px; }
.lg.diamond { color: var(--ice); } .lg.platinum { color: #d6dde6; } .lg.gold { color: var(--gold); }
.lg.silver { color: #c2c6cc; } .lg.bronze { color: #d49a6a; } .lg.ruby { color: #ff5c7c; } .lg.unranked { color: var(--muted); }

.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--dim); }
.tri { font-size: 9px; vertical-align: 2px; margin-right: 2px; }

/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.tile {
  position: relative; background: var(--panel); border: 1px solid var(--line); padding: 12px 14px 12px 16px; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.tile .k { font-family: var(--cond); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 10px; color: var(--muted); }
.tile .v { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; margin-top: 2px; font-variant-numeric: tabular-nums; }
.tile .s { font-size: 11px; color: var(--muted); margin-top: 3px; }
.tile img.ico { width: 52px; height: 52px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); }
.tile .spark { grid-column: 1 / -1; }
.tile .spark svg { width: 100%; height: 26px; display: block; }

/* ---------- standings ---------- */
.board { background: var(--panel); border: 1px solid var(--line); }
.boardBar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 4; background: var(--panel); }
.boardTitle { font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: .02em; }
.boardTitle .muted { font-weight: 800; }
.boardBar input { max-width: 240px; padding: 7px 10px; font-size: 14px; }
.legend { margin-left: auto; font-family: var(--cond); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: 10px; color: var(--muted); }
.tableWrap { overflow: visible; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 6px 10px; white-space: nowrap; }
thead th {
  position: sticky; top: 61px; z-index: 3; background: var(--panel2); color: var(--muted); font-family: var(--cond); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: .14em; text-align: left; border-bottom: 1px solid var(--line2);
}
thead th.num { text-align: right; }
tbody tr { border-bottom: 1px solid #1c1c20; animation: rise .35s both; animation-delay: calc(var(--i, 0) * 14ms); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
tbody tr:hover { background: #18181c; }
tbody tr.me { background: rgba(240, 82, 61, .10); box-shadow: inset 4px 0 0 var(--coral); }
tbody tr.flash td { animation: flash 1.8s ease-out; }
@keyframes flash { from { background: rgba(0, 178, 255, .22); } to { background: transparent; } }
td.rank { font-family: var(--display); font-weight: 800; font-size: 20px; width: 58px; color: var(--text); }
td.rank.r1 { color: var(--gold); } td.rank.r2 { color: #d8dde3; } td.rank.r3 { color: #d49a6a; }
td.chg { font-family: var(--cond); font-weight: 700; font-size: 14px; width: 64px; }
td.player { min-width: 260px; }
td.player .who { display: inline-flex; align-items: center; gap: 10px; }
td.player .who img { width: 30px; height: 30px; flex: none; }
td.player .n { font-family: var(--cond); font-weight: 700; font-size: 16px; cursor: pointer; letter-spacing: .01em; }
td.player .n:hover { color: var(--cyan); }
td.player .alt { color: var(--dim); font-size: 11px; margin-left: 4px; }
td.club { font-family: var(--cond); font-weight: 600; font-size: 12px; color: var(--muted); letter-spacing: .08em; }
td.rs { font-family: var(--cond); font-weight: 800; font-size: 16px; }
td.d24 { font-family: var(--cond); font-weight: 700; font-size: 14px; }
td.trend { width: 120px; }
td.trend svg { width: 110px; height: 22px; display: block; }
td.empty { padding: 36px; text-align: center; color: var(--muted); font-family: var(--cond); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.72); display: grid; place-items: center; z-index: 50; padding: 16px; backdrop-filter: blur(3px); }
.modal[hidden] { display: none; }
.modalCard { width: min(860px, 100%); max-height: 92vh; overflow: auto; }
.modalCard .close { position: absolute; top: 8px; right: 14px; background: none; border: 0; font-size: 26px; color: var(--muted); z-index: 2; }
.modalHead { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-bottom: 12px; }
.modalHead img.badge { width: 84px; height: 84px; filter: drop-shadow(0 8px 20px rgba(0,0,0,.6)); }
.modalHead h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 40px; line-height: .95; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.modalHead h2 .rk { color: var(--muted); font-weight: 800; }
.tabs { display: flex; gap: 6px; margin: 12px 0 8px; flex-wrap: wrap; }
.tabs .btn.ghost.on { background: var(--panel2); box-shadow: inset 0 0 0 1px var(--cyan); }

/* ---------- footer ---------- */
footer { max-width: 1240px; margin: 0 auto; padding: 6px 28px 36px; }
.sponsors { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 10px 0 14px; border-top: 1px solid var(--line); }
.sponsors span { font-family: var(--cond); font-weight: 700; letter-spacing: .2em; font-size: 10px; color: var(--dim); }
.sponsors img { height: 22px; width: auto; opacity: .35; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.sponsors img:hover { opacity: .9; filter: none; }
.credits { font-size: 11px; color: var(--dim); line-height: 1.5; }
.credits a { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .bar { grid-template-columns: 1fr auto; }
  .showTitle { grid-column: 1 / -1; order: 3; text-align: left; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .legend { display: none; }
}
@media (max-width: 720px) {
  .bar { padding: 14px 16px 10px; gap: 12px; grid-template-columns: 1fr; }
  .onair { min-width: 0; }
  main { padding: 0 16px 30px; }
  footer { padding: 6px 16px 30px; }
  h1 { font-size: 44px; }
  .wordmark { height: 24px; }
  .youGrid { grid-template-columns: auto 1fr; }
  .chips { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
  .badgeBig img { width: 84px; height: 84px; }
  .rankNum { font-size: 64px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile .v { font-size: 28px; }
  .tile img.ico { width: 40px; height: 40px; }
  .boardBar { position: static; }
  thead th { top: 0; }
  .tableWrap { overflow-x: auto; }
  td.player .alt, td.club, th.lgH, td.lgcell, th.trendH, td.trend { display: none; }
  td.player { min-width: 0; }
  td.player .plat { display: none; }
  td.player .n { display: inline-block; max-width: 128px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
  td.chg { width: 40px; }
  td.rs { font-size: 15px; }
  td.player .who img { width: 26px; height: 26px; }
  td.player .n { font-size: 15px; }
  th, td { padding: 6px 7px; }
  td.rank { width: 44px; font-size: 18px; }
  td.chg { width: 48px; }
  .modalHead h2 { font-size: 30px; }
  .rubyBar { grid-template-columns: auto 1fr; padding-right: 22px; }
  .rubyMe { grid-column: 1 / -1; text-align: left; }
  .rubyMe b { display: inline; margin-right: 6px; }
}
