

:root {
  color-scheme: only light;   
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f4f5;
  --surface-3: #e9e9ec;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --text: #111213;
  --text-2: #3f3f46;
  --muted: #6b6b74;
  --grid: #efeff1;
  --axis: #d4d4d8;
  --ink: #111213;

  --red: #c8102e;
  --blue: #1d4ed8;
  --up: #c8102e;
  --down: #1d4ed8;
  --ai: #111213;
  --mkt: #eda100;
  --accent: #c8102e;
  --accent-hover: #a30d25;
  --accent-soft: #fdecee;
  --accent-line: #f4b6bf;
  --accent-ink: #ffffff;
  --good: #15803d;
  --good-text: #13793a;
  --good-soft: #e8f5ec;
  --bad: #d93036;
  --bad-text: #c3282e;
  --bad-soft: #fdeded;
  --warn-text: #8a5a00;
  --warn-soft: #fff4dc;
  --champ: #9a5b00;
  --champ-soft: #fdf3dc;
  --champ-line: #ecd08c;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04);

  --radius: 10px;
  --font-num: 'Barlow Condensed', 'Pretendard Variable', Pretendard, sans-serif;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(68px + env(safe-area-inset-bottom));
}
@media (min-width: 860px) { body { padding-bottom: 0; } }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -0.02em; }
h1 { font-size: 24px; font-weight: 800; }
h2 { font-size: 20px; font-weight: 750; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 999; background: var(--accent); color: var(--accent-ink); padding: 6px 10px; border-radius: 8px; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 18px; padding-bottom: 32px; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.flink { text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.flink:hover { text-decoration-color: var(--text); }


.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 56px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 850; font-size: 17px; letter-spacing: -0.03em; }
.logo-lockup { height: 28px; width: auto; display: block; }   
.logo-mark { width: 28px; height: 28px; flex: none; display: block; }   
.logo-mark.sm { width: 18px; height: 18px; display: inline-block; vertical-align: -4px; }
.top-nav { display: none; gap: 2px; }
.top-nav { gap: 22px; margin-left: 8px; }
.top-nav a { padding: 17px 0 15px; border-bottom: 2px solid transparent; color: var(--text-2); font-weight: 650; font-size: 15px; }
.top-nav a:hover { color: var(--text); }
.top-nav a[aria-current="page"] { color: var(--text); font-weight: 750; border-bottom-color: var(--accent); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-link { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; color: var(--text-2); padding: 0 12px; border-radius: 8px; border: 1px solid var(--border); }
.header-link:hover, .header-link[aria-current="page"] { color: var(--text); border-color: var(--border-strong); }
@media (min-width: 860px) { .top-nav { display: flex; } }

.demo-banner {
  background: var(--warn-soft); color: var(--warn-text); border-bottom: 1px solid var(--champ-line);
  font-size: 13px; text-align: center; padding: 7px 16px;
}


.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; padding: 8px 0 7px; font-size: 12px; font-weight: 650; color: var(--muted); }
.tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a[aria-current="page"] { color: var(--text); }
.tabbar a[aria-current="page"] svg { stroke: var(--accent); }
@media (min-width: 860px) { .tabbar { display: none; } }


.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 40px 0 36px; color: var(--muted); font-size: 13px; background: var(--surface); }
.site-footer .wrap { display: grid; gap: 24px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.footer-about { display: grid; gap: 10px; align-content: start; }
.footer-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 850; font-size: 17px; letter-spacing: -0.03em; }
.footer-logo .logo-lockup { height: 24px; }
.footer-ko { font-size: 14px; font-weight: 700; color: var(--text-2); padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--border-strong); letter-spacing: -0.01em; }
.footer-tag { color: var(--text-2); font-size: 14px; }
.footer-cols { display: flex; gap: 56px; }
.footer-col { display: grid; gap: 0; align-content: start; font-size: 14px; }
.footer-col h2 { font-size: 13px; font-weight: 750; color: var(--text); margin-bottom: 4px; }
.footer-col a { color: var(--text-2); display: flex; align-items: center; min-height: 32px; }
.footer-col a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: grid; gap: 4px; line-height: 1.6; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; color: var(--muted); }


.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.sec { display: grid; gap: 12px; align-content: start; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.sec-head h2 { flex: none; max-width: 100%; }
.sec-head .more { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 2px; font-size: 14px; color: var(--text-2); white-space: nowrap; }
.sec-head .more:hover { color: var(--text); }
.sec-head .more svg, .fc-more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: 0.02em; }
.sec-head h2 { position: relative; padding-left: 12px; }
.sec-head h2::before { content: ""; position: absolute; left: 0; top: 0.18em; bottom: 0.18em; width: 4px; background: var(--accent); }
.page-head { display: grid; gap: 6px; }
.page-head p { color: var(--text-2); }
.desc { font-size: 14px; color: var(--muted); }
.layout-2 { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .layout-2 { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.stack { display: grid; gap: 16px; align-content: start; grid-template-columns: minmax(0, 1fr); }
.grid-2 { display: grid; gap: 12px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }


.chip {
  display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px;
  border-radius: 5px; background: var(--surface-2); border: 1px solid var(--border);
  font-size: 12.5px; font-weight: 650; color: var(--text-2); white-space: nowrap;
}
.chip-accent { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.chip-good { background: var(--ink); border-color: var(--ink); color: #ffffff; }
.chip-bad { background: var(--surface); border-color: var(--border-strong); color: var(--text-2); }
.chip-warn { background: var(--warn-soft); border-color: var(--champ-line); color: var(--warn-text); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip-link { height: 40px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.chip-link { background: var(--surface); }
.chip-link:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); }
.chip-link[aria-current="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip-link[aria-disabled="true"] { opacity: 0.55; cursor: default; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 16px; border-radius: 8px;
  border: 1px solid var(--border-strong); background: var(--surface);
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--surface-2); }
.btn-primary { background: var(--ink); border-color: transparent; color: #ffffff; }
.btn-primary:hover { background: #000000; }
.btn-ghost { background: transparent; }
.btn-sm { height: 36px; padding: 0 12px; font-size: 14px; border-radius: 7px; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }


.avatar {
  display: inline-grid; place-items: center; flex: none; border-radius: 50%;
  background: var(--surface-3); border: 2px solid var(--border-strong);
  color: var(--text); font-weight: 800; letter-spacing: -0.02em;
}
.avatar-sm { width: 30px; height: 30px; font-size: 10.5px; border-width: 1.5px; }
.avatar-md { width: 40px; height: 40px; font-size: 12.5px; }
.avatar-lg { width: 68px; height: 68px; font-size: 21px; border-width: 3px; }
.avatar.corner-a { border-color: var(--red); }
.avatar.corner-b { border-color: var(--blue); }
.nat {
  display: inline-block; font-size: 11px; font-weight: 750; letter-spacing: 0.02em; line-height: 15px;
  color: var(--muted); border: 1px solid var(--border-strong); border-radius: 4px; padding: 0 4px;
}
.nat-kor { color: var(--accent); border-color: var(--accent-line); }


.hero {
  display: grid; gap: 14px; padding: 20px;
  background: var(--surface);
}
.hero-title { font-size: 26px; font-weight: 900; letter-spacing: -0.035em; line-height: 1.2; }
.hero-meta { color: var(--text-2); font-size: 15px; display: grid; gap: 2px; }
.countdown { display: flex; gap: 8px; }
.cd-unit { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 0; width: 60px; text-align: center; }
.cd-num { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.15; }
.cd-lbl { font-size: 12px; color: var(--muted); }
.intro { font-size: 15px; color: var(--text-2); }
.intro b { color: var(--text); }
@media (min-width: 860px) { .hero-title { font-size: 32px; } .hero { padding: 26px 28px; } }


.fight-list { display: grid; gap: 12px; }
.fight-list.cols { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .fight-list.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fight-card {
  position: relative; display: grid; gap: 12px; align-content: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 14px 13px; transition: border-color 0.15s, box-shadow 0.15s; box-shadow: var(--shadow);
}
.fight-card:hover { border-color: var(--border-strong); box-shadow: 0 2px 10px rgba(16, 24, 40, 0.07); }
.fc-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.fc-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fc-more { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-size: 13px; color: var(--muted); }
.fight-card:hover .fc-more { color: var(--text); }

.fc-meta { font-size: 13px; font-weight: 650; color: var(--text-2); }
.fc-fighters { display: grid; gap: 10px; }
.fc-f { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; column-gap: 12px; min-width: 0; }
.fc-id { min-width: 0; display: grid; gap: 1px; }
.fc-l1, .fc-l2 { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.fc-name { font-weight: 750; font-size: 16px; line-height: 1.35; }
.fc-rec { margin-left: auto; padding-left: 8px; font-size: 15px; font-weight: 650; color: var(--text); white-space: nowrap; }
.fc-l2 .fc-en { flex: 1 1 auto; }
.fc-rk { margin-left: auto; display: inline-flex; align-items: baseline; gap: 4px; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.fc-rk i { font-style: normal; color: var(--border-strong); }
.fc-rk .off-rank { font-weight: 700; color: var(--text); }
.fc-f.lose .fc-name, .fc-f.lose .fc-rec { color: var(--muted); font-weight: 650; }
.fc-sub { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.fc-vs { font-size: 12px; font-weight: 800; color: var(--muted); padding: 0 2px; }
.fc-reason { font-size: 14px; color: var(--text-2); line-height: 1.5; }
.fc-result { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--text-2); }


.pbar { display: grid; gap: 6px; }
.pbar-labels { display: flex; justify-content: space-between; align-items: baseline; }
.pv { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--muted); line-height: 1; }
.pv small { font-size: 13px; font-weight: 700; margin-left: 1px; }
.pv.fav { color: var(--text); }
.pbar-cap { font-size: 12px; font-weight: 650; color: var(--muted); }
.pbar-track { position: relative; display: flex; gap: 2px; height: 10px; }
.pbar-track .seg { display: block; height: 100%; min-width: 0; }
.seg.a { background: var(--red); border-radius: 4px 0 0 4px; }
.seg.b { background: var(--blue); border-radius: 0 4px 4px 0; }
.mkt-tick { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--text); border-radius: 1px; box-shadow: 0 0 0 2px var(--surface); }
.pbar-mkt { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pbar-diff { color: var(--text-2); text-align: center; }
.pbar-lg .pv { font-size: 34px; }
.pbar-lg .pv small { font-size: 17px; }
.pbar-lg .pbar-track { height: 14px; }
.pbar-lg .pbar-mkt { font-size: 13px; }
.pbar-sm .pbar-track { height: 8px; }


.pick { position: relative; z-index: 2; display: grid; gap: 8px; padding-top: 11px; border-top: 1px solid var(--border); }
.pick-q { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 650; color: var(--text-2); }
.pick-n { color: var(--muted); font-weight: 500; }
.pick-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pick-btn {
  height: 38px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface);
  font-weight: 700; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 8px;
}
.pick-btn:hover { background: var(--surface-2); }
.pick-btn .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pick-btn.a .dot { background: var(--red); }
.pick-btn.b .dot { background: var(--blue); }
.pick-btn.a[aria-pressed="true"] { border-color: var(--red); background: var(--accent-soft); }
.pick-btn.b[aria-pressed="true"] { border-color: var(--blue); background: #eef2fd; }
.pick-btn[aria-pressed="true"]::after { content: '✓'; font-size: 13px; }


.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .tiles.t4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { background: var(--surface-2); border-radius: 12px; padding: 12px 13px; display: grid; gap: 3px; align-content: start; }
.card .tile { background: var(--surface-2); }
.tile-label { font-size: 13px; color: var(--muted); }
.tile-value { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.tile-sub { font-size: 13px; color: var(--text-2); }
.hero-figure { font-size: 60px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.hero-figure small { font-size: 28px; }
.vs-line { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.key-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.key-dia { width: 8px; height: 8px; display: inline-block; transform: rotate(45deg); border-radius: 1px; flex: none; }


.table-wrap { overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12.5px; font-weight: 650; color: var(--muted); padding: 8px 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl td { padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl th.r, .tbl td.r { text-align: right; }
.tbl th.c, .tbl td.c { text-align: center; }
.tbl td.num, .tbl th.num { font-variant-numeric: tabular-nums; }
.tbl tbody tr:hover td { background: var(--surface-2); }
.tbl .who { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.tbl .who-name { font-weight: 700; display: flex; align-items: center; gap: 6px; }
.tbl .who-sub { font-size: 13px; color: var(--muted); }
.rank-big { font-size: 17px; font-weight: 850; font-variant-numeric: tabular-nums; }
.up { color: var(--up); font-weight: 700; font-size: 13px; white-space: nowrap; }
.down { color: var(--down); font-weight: 700; font-size: 13px; white-space: nowrap; }
.same { color: var(--muted); font-size: 13px; }


.tape { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 10px; }
.tape-f { display: grid; justify-items: center; text-align: center; gap: 6px; }
.tape-name { font-size: 19px; font-weight: 850; letter-spacing: -0.03em; line-height: 1.25; }
.tape-sub { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; justify-content: center; flex-wrap: wrap; }
.tape-vs { align-self: center; font-weight: 900; color: var(--muted); font-size: 14px; padding-top: 10px; }
.ranks3 { display: grid; grid-template-columns: repeat(3, auto); gap: 2px 10px; font-size: 12.5px; color: var(--muted); justify-content: center; }
.ranks3 b { color: var(--text); font-variant-numeric: tabular-nums; }
.reasons { list-style: none; padding: 0; display: grid; gap: 10px; counter-reset: r; }
.reasons li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 15px; line-height: 1.55; }
.reasons li::before {
  counter-increment: r; content: counter(r);
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 800;
}
.cautions { list-style: none; padding: 0; display: grid; gap: 8px; }
.cautions li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: 14px; color: var(--text-2); }
.cautions li::before { content: '!'; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: var(--warn-soft); color: var(--warn-text); font-weight: 900; font-size: 13px; }
.lock { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 8px; font-size: 13px; color: var(--text-2); line-height: 1.6; }
.lock > .chip { margin-top: -1px; }
.lock b { color: var(--text); }

.mbars { display: grid; gap: 14px; }
.mb-head { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.mb-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) 40px; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); padding: 2px 0; }
.mb-track { height: 10px; display: flex; }
.mb-track i { display: block; height: 100%; border-radius: 0 4px 4px 0; min-width: 2px; }
.mb-val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--text); }

.cmp { display: grid; gap: 12px; }
.cmp-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr) 64px;
  grid-template-areas: "lab lab lab lab" "va ba bb vb"; column-gap: 6px; row-gap: 4px; align-items: center;
}
.cmp-lab { grid-area: lab; text-align: center; font-size: 13px; color: var(--muted); }
.cmp-val { font-size: 14px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.cmp-val.a { grid-area: va; }
.cmp-val.b { grid-area: vb; text-align: right; }
.cmp-val.win { color: var(--text); font-weight: 800; }
.cmp-bar { height: 6px; display: flex; }
.cmp-bar.a { grid-area: ba; justify-content: flex-end; }
.cmp-bar.b { grid-area: bb; }
.cmp-bar i { display: block; height: 100%; min-width: 2px; }
.cmp-bar.a i { background: var(--red); border-radius: 3px 0 0 3px; }
.cmp-bar.b i { background: var(--blue); border-radius: 0 3px 3px 0; }


.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--grid); stroke-width: 1; }
.chart .axis { stroke: var(--axis); stroke-width: 1; }
.chart .ref { stroke: var(--muted); stroke-width: 1; opacity: 0.6; }
.chart .tick { fill: var(--muted); font-size: 12px; font-family: var(--font); font-variant-numeric: tabular-nums; }
.chart .axis-label { fill: var(--text-2); font-size: 12.5px; font-family: var(--font); font-weight: 600; }
.chart .end-label { fill: var(--text); font-size: 14px; font-weight: 800; font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.chart .ref { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 4; }
.chart .ref-label { fill: var(--muted); font-size: 12px; font-family: var(--font); font-weight: 600; }
.chart .xhair { stroke: var(--text-2); stroke-width: 1; }
.chart-radar { max-width: 360px; margin: 0 auto; display: grid; gap: 8px; }
.chart-radar .legend { justify-content: center; }
.tt {
  position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 8px;
  padding: 7px 10px; font-size: 13px; line-height: 1.5; color: var(--text-2); white-space: nowrap;
  opacity: 0; transition: opacity 0.1s; box-shadow: 0 6px 20px rgba(16, 24, 40, 0.14);
}
.tt.show { opacity: 1; }
.tt b { color: var(--text); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--text-2); }
.legend .key { display: inline-flex; align-items: center; gap: 6px; }
.legend .sw { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.legend .sw.line { width: 16px; height: 2px; border-radius: 1px; }
.legend .sw.dia { width: 9px; height: 9px; border-radius: 1px; transform: rotate(45deg); }


.profile { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.profile-name { font-size: 24px; font-weight: 900; letter-spacing: -0.03em; }
.profile-en { font-size: 14px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.fact { background: var(--surface-2); border-radius: 10px; padding: 9px 10px; display: grid; gap: 1px; }
.fact span { font-size: 12.5px; color: var(--muted); }
.fact b { font-size: 16px; font-variant-numeric: tabular-nums; }
.sw-list { list-style: none; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.sw-list li { display: flex; gap: 8px; align-items: baseline; }
.sw-list .tag { flex: none; }
.wl { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; font-size: 13px; font-weight: 850; }
.wl.W { background: var(--ink); color: #ffffff; }
.wl.L { background: var(--surface); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--border-strong); }
.wl.D, .wl.NC { background: var(--surface-2); color: var(--muted); }


.board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mode-note { font-size: 13px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.mode-note b { color: var(--warn-text); }
.board-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.board-tools form { display: flex; gap: 6px; flex: 1 1 220px; }
.post-list { list-style: none; padding: 0; }
.post-item a { display: grid; gap: 5px; padding: 13px 2px; border-bottom: 1px solid var(--border); }
.post-item a:hover .post-title span.t { text-decoration: underline; text-underline-offset: 3px; }
.post-title { display: flex; gap: 6px; align-items: center; font-size: 16px; font-weight: 650; flex-wrap: wrap; }
.post-title .cc { color: var(--accent); font-size: 13px; font-weight: 750; }
.post-meta { display: flex; gap: 4px 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.post-view { display: grid; gap: 14px; }
.post-view h1 { font-size: 21px; }
.post-body { white-space: pre-wrap; font-size: 16px; line-height: 1.75; }
.post-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.comments { list-style: none; padding: 0; }
.comment { display: grid; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.comment-head { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.comment-head b { color: var(--text); font-size: 14px; }
.comment-head .del { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; padding: 2px 4px; }
.comment-head .del:hover { color: var(--bad-text); }
.comment p { white-space: pre-wrap; font-size: 15px; }
.pager { display: flex; justify-content: center; gap: 6px; padding-top: 6px; }
.empty { text-align: center; padding: 32px 12px; color: var(--muted); font-size: 15px; }

.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 650; color: var(--text-2); }
.input, .textarea, .select {
  width: 100%; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 10px 12px; font-size: 17px;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--accent); }
.textarea { min-height: 200px; resize: vertical; line-height: 1.6; }
.textarea.sm { min-height: 84px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-error { color: var(--bad-text); font-size: 14px; min-height: 1em; }
.notice { font-size: 13px; color: var(--text-2); background: var(--surface-2); border-radius: 10px; padding: 10px 12px; line-height: 1.6; }


.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(32, 33, 36, 0.42); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal { width: min(420px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; display: grid; gap: 14px; box-shadow: 0 16px 48px rgba(16, 24, 40, 0.18); }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; width: 100%; }
.toast {
  position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 200;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 650; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 860px) { .toast { bottom: 32px; } }


.prose { display: grid; gap: 12px; font-size: 16px; line-height: 1.75; color: var(--text-2); }
.prose h2 { color: var(--text); margin-top: 8px; }
.prose b { color: var(--text); }
.prose ul { padding-left: 20px; display: grid; gap: 4px; }
.formula { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; color: var(--text); overflow-x: auto; white-space: nowrap; }
.partner { border-color: var(--accent-line); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }


.tbl .who > span:last-child { display: grid; gap: 2px; }
.btn-wrap { white-space: normal; height: auto; min-height: 40px; padding: 10px 14px; line-height: 1.4; justify-content: flex-start; text-align: left; }
@media (max-width: 479px) {
  .tbl .who .avatar, .who-cell .avatar { width: 24px; height: 24px; font-size: 9px; }
  .tbl th, .tbl td { padding-left: 6px; padding-right: 6px; }
}


.rec-list { list-style: none; padding: 0; }
.rec { display: grid; gap: 3px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.rec-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 650; }
.rec-meta { font-size: 14px; color: var(--text-2); }
.rec-meta b { color: var(--text); }
.rec-sub { font-size: 13px; color: var(--muted); }


.demo-banner.real { background: var(--accent-soft); color: var(--accent); border-bottom-color: var(--accent-line); }
.div-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 760px) { .div-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .div-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.div-tile { display: grid; gap: 1px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); min-width: 0; }
.div-tile:hover { border-color: var(--border-strong); }
.div-tile.on { border-color: var(--accent); }
.div-tile .dt-name { font-size: 12.5px; color: var(--muted); }
.div-tile b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.div-tile .dt-r { font-size: 13px; color: var(--text-2); }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.toggle input { width: 16px; height: 16px; accent-color: var(--accent); }
.rt-row { cursor: pointer; }
.log { list-style: none; padding: 0; }
.log-item { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.log-top { display: flex; align-items: center; gap: 8px; }
.log-vs { flex: 1; min-width: 0; font-weight: 650; }
.log-vs .muted.num { font-size: 14px; font-weight: 600; }
.log-delta { font-size: 17px; font-weight: 850; }
.log-meta { font-size: 13px; color: var(--muted); }
.log-why { font-size: 14px; color: var(--text-2); }
.log-drift { font-size: 13px; color: var(--muted); }
.steps { padding-left: 20px; display: grid; gap: 8px; font-size: 15px; color: var(--text-2); line-height: 1.6; }
.steps b { color: var(--text); }
.tbl td.up, .tbl td.down { font-weight: 700; }


.seg-row { display: flex; flex-wrap: wrap; gap: 8px; }
.segbtn { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.segbtn button { border: 0; background: transparent; color: var(--text-2); font-weight: 650; font-size: 14px; padding: 7px 12px; border-radius: 8px; cursor: pointer; }
.segbtn button:hover { color: var(--text); }
.segbtn button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12); }
.chart .marker { stroke: var(--text); stroke-width: 1; stroke-dasharray: 4 3; }
.div-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
button.div-tile { font: inherit; color: inherit; text-align: left; cursor: pointer; }
.legend a.key:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.steps + h3 { margin-top: 6px; }


[hidden] { display: none !important; }
.chip-xs { height: 17px; padding: 0 5px; font-size: 11.5px; }

[data-tip] { cursor: help; }
.tip-chip { font-family: inherit; line-height: 1; cursor: help; height: 28px; }
.tip-chip:hover, .tip-chip:focus-visible { filter: brightness(0.96); }
.tipbox { position: fixed; z-index: 80; max-width: min(340px, calc(100vw - 16px)); padding: 9px 11px; border-radius: 10px;
  background: #1f2328; color: #fff; font-size: 13px; font-weight: 500; line-height: 1.55; white-space: pre-line;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); pointer-events: none; }
.pr { display: grid; gap: 8px; }
.pr-row { display: grid; grid-template-columns: 62px 42px minmax(0, 1fr) 42px; align-items: center; column-gap: 8px; row-gap: 2px; }
.pr-lab { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; font-size: 13px; font-weight: 650; color: var(--text-2); line-height: 1.3; }
.pr-row .pv { font-size: 18px; text-align: right; }
.pr-row .pv.r { text-align: left; }
.pr-row .pv small { font-size: 12px; }
.pr-row .pbar-track { height: 10px; }
.pr-none .pr-msg { grid-column: 2 / -1; font-size: 13px; color: var(--muted); }
.pr-diff { font-size: 13px; color: var(--text-2); text-align: center; }
.pr-lg { gap: 10px; }
.pr-lg .pr-row { grid-template-columns: 70px 56px minmax(0, 1fr) 56px; }
.pr-lg .pv { font-size: 28px; }
.pr-lg .pv small { font-size: 15px; }
.pr-lg .pbar-track { height: 14px; }
.pr-lg .pr-lab { font-size: 14px; }


.steps-pr { display: grid; }
.step { display: grid; gap: 3px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: 0; }
.steps-pr .pr-row { grid-template-columns: 46px minmax(0, 1fr) 46px; }
.steps-pr .pr-lab { grid-column: 1 / -1; font-size: 13px; }
.steps-pr .step:last-child .pr-lab { color: var(--text); }
.step-chg { font-size: 13px; color: var(--muted); text-align: center; }


.tape-en { font-size: 13px; color: var(--muted); margin-top: -4px; }
.tape-rank { font-size: 13px; color: var(--text-2); }
.ranks3.r2 { grid-template-columns: repeat(2, auto); }
.cautions .src { display: inline-flex; align-items: center; min-height: 28px; margin-top: 0; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong); }
.cautions .src:hover { color: var(--text); }
.cautions b { color: var(--text); }
.mb-row { grid-template-columns: 62px minmax(0, 1fr) auto; }
.mb-track { position: relative; }
.mb-mk { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--mkt); border-radius: 1px; }
.mb-val { min-width: 40px; }
.mb-val small { font-weight: 600; }
.mb-head { flex-wrap: wrap; }
.mb-head .muted { font-weight: 600; font-size: 13px; }
.cmp + h3 { margin-top: 6px; }


.log-link { display: inline-flex; align-items: center; gap: 3px; min-height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; font-weight: 650; font-size: 13px; color: var(--text-2); justify-self: start; }
.log-link:hover { color: var(--text); }
.log-link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stack-bar { display: flex; gap: 2px; height: 12px; margin: 8px 0 6px; }
.stack-bar span { display: block; min-width: 0; }
.stack-bar span:first-child { border-radius: 4px 0 0 4px; }
.stack-bar span:last-child { border-radius: 0 4px 4px 0; }
.facts.f2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }
@media (min-width: 760px) { .facts.f2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sm-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .sm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mini-chart { display: grid; gap: 4px; background: var(--surface-2); border-radius: 12px; padding: 10px 12px 6px; min-width: 0; }
.sm-title { font-size: 13px; font-weight: 650; color: var(--text-2); }
.mini-chart .empty { padding: 18px 8px; font-size: 13px; }


.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.footer-data { color: var(--muted); font-size: 13px; }


.search-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 14px; cursor: pointer;
}
.search-btn:hover { color: var(--text); border-color: var(--border-strong); }
.search-btn svg, .icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 559px) {
  .search-btn { width: 36px; padding: 0; justify-content: center; }
  .search-btn span, .hide-sm { display: none; }
}
.icon-btn { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: var(--text-2); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }


.overlay-top { place-items: start center; padding-top: max(16px, 8vh); }
.modal-search { width: min(560px, 100%); padding: 8px; gap: 4px; }
.search-bar { display: flex; align-items: center; gap: 8px; padding: 2px 4px 8px 8px; border-bottom: 1px solid var(--border); }
.search-bar > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search-in { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); font-size: 17px; padding: 8px 2px; }
.search-in::-webkit-search-cancel-button { display: none; }
.search-list { list-style: none; padding: 4px 0 0; margin: 0; max-height: min(62vh, 540px); overflow-y: auto; }
.search-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; }
.search-list li[aria-selected="true"] a, .search-list a:hover { background: var(--surface-2); }
.sr-name { display: grid; min-width: 0; }
.sr-name b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-name small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-meta { display: grid; justify-items: end; font-size: 12.5px; color: var(--muted); text-align: right; }
.sr-meta b { color: var(--text); font-size: 15px; }
.search-hint { padding: 22px 10px; color: var(--muted); font-size: 14px; text-align: center; }


.chips[data-fade="r"] { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
.chips[data-fade="l"] { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); }
.chips[data-fade="lr"] { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); }


.av-wrap { position: relative; display: inline-grid; flex: none; }
.win-badge {
  position: absolute; right: -5px; bottom: -4px; display: grid; place-items: center; min-width: 22px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 800; border: 2px solid var(--surface);
}
.avatar-lg + .win-badge { min-width: 30px; height: 22px; font-size: 12px; right: -2px; bottom: -2px; }
.fc-result.big { font-size: 15px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.fc-result.big b { color: var(--text); }
.fc-f.lose .avatar { opacity: 0.45; }
.pick-res { display: grid; gap: 4px; }
.pick-verdict { font-size: 13px; color: var(--text-2); text-align: center; }


.back-link, .more-link { display: inline-flex; align-items: center; gap: 4px; justify-self: start; min-height: 36px; }
.back-link { font-size: 14px; color: var(--text-2); }
.more-link { font-size: 13px; color: var(--muted); }
.back-link:hover, .more-link:hover { color: var(--text); }
.back-link svg, .more-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


.ev-pick { display: grid; gap: 8px; }
@media (min-width: 760px) { .ev-pick { grid-template-columns: minmax(0, 1fr) 260px; align-items: center; } }
.ev-select .select { height: 40px; padding: 0 12px; font-size: 16px; }
.ev-navs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ev-nav { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); min-width: 0; }
.ev-nav:hover { border-color: var(--border-strong); }
.ev-nav.next { flex-direction: row-reverse; text-align: right; }
.ev-nav svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ev-nav span { display: grid; min-width: 0; }
.ev-nav small { font-size: 12.5px; color: var(--muted); }
.ev-nav b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


.judge { display: grid; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.judge .desc b { color: var(--text); }
.dist { display: grid; gap: 6px; align-content: start; }
.dist h3 { font-size: 14px; color: var(--text-2); }
.dist-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 13px; }
.dist-name { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dist-n { color: var(--muted); font-size: 13px; }
.dist .stack-bar { margin: 0; height: 10px; }
.stack-bar.empty { background: var(--surface-3); border-radius: 4px; }


.more-rank > summary { cursor: pointer; list-style: none; color: var(--muted); }
.more-rank > summary::-webkit-details-marker { display: none; }
.more-rank > summary::before { content: '▸ '; }
.more-rank[open] > summary::before { content: '▾ '; }
.more-rank > summary:hover { color: var(--text); }
.log-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.more-rank > summary { padding: 12px 0 8px; min-height: 44px; font-size: 14px; font-weight: 650; color: var(--text-2); }


.hero-meta b { color: var(--text); }
.last-ev { font-size: 16px; }
.next-fight { color: var(--accent); font-size: 13px; }
.next-fight:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-wrap.all-card { justify-content: center; text-align: center; }
.btn-wrap.all-card svg { flex: none; }
.row-2 { align-items: end; }

.tiles.auto { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }


.ev-alias { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 13px; font-weight: 650; color: var(--text-2); letter-spacing: 0; }
.hero-title .ev-alias { font-size: 14px; }
.ev-times { color: var(--text); font-weight: 650; font-size: 15px; }
.hero-times { display: grid; gap: 8px; font-size: 15px; }
.hero-times b { color: var(--text); }
.hero-note { font-size: 15px; color: var(--text-2); }


.avatar.has-flag { position: relative; overflow: hidden; }
.flag-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }


.fc-en { font-size: 13px; line-height: 1.35; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.en-sub { font-size: 13px; font-weight: 500; color: var(--muted); }
.who-cell { display: flex; align-items: center; gap: 8px; min-width: 0; }
.who-txt { display: grid; min-width: 0; line-height: 1.3; }
.who-txt .en-sub { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


.champ-badge {
  display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 5px; margin-right: 4px;
  background: var(--champ-soft); color: var(--champ); border: 1px solid var(--champ-line); font-size: 11.5px; font-weight: 850; letter-spacing: 0; white-space: nowrap;
}
.champ-badge.ic { background: transparent; }
.rank-c {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px;
  background: var(--champ-soft); color: var(--champ); border: 1px solid var(--champ-line); font-size: 15px; font-weight: 900;
}
.rank-c.sm, .div-tile .rank-c.sm { width: 18px; height: 18px; border-radius: 5px; font-size: 12px; vertical-align: 1px; margin-right: 4px; }
.rt-row.is-champ td { background: #fffaf0; }
.dt-who { display: flex; align-items: center; gap: 6px; min-width: 0; }
.dt-who .avatar { width: 22px; height: 22px; font-size: 8.5px; border-width: 1px; }
.tape-rank .champ-badge { vertical-align: 1px; }


.tile-sub.form { display: flex; gap: 3px; flex-wrap: wrap; }
.wl.sm { width: 20px; height: 20px; font-size: 12px; border-radius: 5px; }


.loading { text-align: center; padding: 56px 12px; color: var(--muted); font-size: 15px; }


.rt-table .off-col { width: 52px; font-size: 14px; color: var(--text-2); }
.rt-table.no-off .off-col { display: none; }
.rt-table.no-meta .off-col.meta { display: none; }
.off-c { color: var(--champ); font-weight: 850; }
.off-else { font-size: 12px; color: var(--muted); white-space: nowrap; }
.h2h-tag { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 5px; border: 1px solid var(--border-strong);
  color: var(--text-2); font-size: 11.5px; font-weight: 700; white-space: nowrap; cursor: help; }
.rk-chg { display: none; font-size: 12px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.rk-chg.up { color: var(--up); }
.rk-chg.down { color: var(--down); }
.rk-chg.new { color: var(--muted); font-weight: 650; }
@media (max-width: 479px) {
  .rt-table .off-col { width: 40px; font-size: 13px; }
  .rt-table .chg-col, .rt-table .who-en { display: none; }
  .rt-table .who { min-width: 0; }
  .rk-chg { display: block; }
  
  .rt-table .who-name { display: block; }
  .rt-table .who-name > .h2h-tag, .rt-table .who-name > .nat { margin-left: 5px; vertical-align: middle; }
}
.off-lists > summary { margin-top: 4px; }
.off-lists[open] > summary { margin-bottom: 8px; }


.cmp-list { list-style: none; padding: 0; display: grid; gap: 2px; }
.cmp-li { display: grid; grid-template-columns: 26px auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.cmp-li .avatar { width: 24px; height: 24px; font-size: 9px; border-width: 1px; }
.cmp-li.is-champ { background: #fffaf0; }
.cmp-rk { text-align: center; color: var(--text-2); font-weight: 750; }
.cmp-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-ai { font-size: 13px; text-align: right; white-space: nowrap; }
.cmp-ai .muted { white-space: normal; display: inline-block; max-width: 160px; line-height: 1.3; }
.mv { font-size: 12px; font-weight: 700; color: var(--muted); }
.mv.up { color: var(--up); }
.mv.down { color: var(--down); }
.diff-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.diff-list li { display: grid; gap: 2px; }
.cmp-big { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; }
.cmp-big .avatar { width: 24px; height: 24px; font-size: 9px; border-width: 1px; }
.cmp-big .num { font-weight: 600; color: var(--text-2); font-size: 13px; }
.cmp-diff h3, #cmp-sec h3 { font-size: 15px; margin-bottom: 6px; }


.title-log { list-style: none; padding: 0; display: grid; gap: 0; }
.title-log li { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.tl-date { color: var(--muted); font-size: 13px; }
.tl-what { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.tl-what .avatar { width: 22px; height: 22px; font-size: 8.5px; border-width: 1px; }


.off-line b { color: var(--text); font-weight: 700; }
.rank-notes { list-style: none; padding: 0; display: grid; gap: 4px; font-size: 14px; color: var(--text-2); }
.rank-notes li::before { content: '· '; color: var(--muted); }
.off-rank { color: var(--text); font-weight: 650; white-space: nowrap; }
.tape-rank { display: flex; gap: 4px 8px; justify-content: center; flex-wrap: wrap; }


.mnav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mnav .btn svg { width: 14px; height: 14px; }
.mnav #play svg { fill: currentColor; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.mnav-step { width: 44px; height: 44px; padding: 0; }
.mnav-sel { width: auto; min-width: 160px; height: 32px; padding: 0 10px; font-size: 15px; font-weight: 650; border-radius: 8px; background: var(--surface); }


.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.pt { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text-2); font-size: 14px; box-shadow: var(--shadow); }
.pt:hover { border-color: var(--border-strong); box-shadow: 0 2px 10px rgba(16, 24, 40, 0.07); }
.pt-lab { font-size: 13px; font-weight: 750; color: var(--accent); }
.pt-vs { font-size: 16px; color: var(--text); letter-spacing: -0.01em; }
.pt-rate .rate-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(62px, 1fr)); gap: 6px; margin: 2px 0; }
.pt-rate .rate-row > span { display: grid; gap: 1px; padding: 6px 4px; border-radius: 10px; background: var(--surface-2); text-align: center; }
.pt-rate .rate-row b { font-size: 17px; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.pt-rate .rate-row small { font-size: 12px; color: var(--muted); white-space: nowrap; }
.res-list { list-style: none; padding: 0; margin: 0; display: grid; }
.res-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 52px; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); color: var(--text-2); font-size: 14px; }
.res-list li:first-child .res-row { border-top: 0; }
.res-row:hover .res-who b { text-decoration: underline; text-underline-offset: 3px; }
.res-who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res-who b { color: var(--text); }
.res-how { font-size: 13px; color: var(--muted); white-space: nowrap; }
.res-d { text-align: right; font-weight: 800; font-size: 15px; }
@media (max-width: 520px) { .res-row { grid-template-columns: auto minmax(0, 1fr) 46px; } .res-how { grid-column: 2; grid-row: 2; margin-top: -6px; } .res-vs { display: none; } }


.pv, .tile-value, .rank-big, .cd-num, .log-delta, .res-d, .pt-rate .rate-row b {
  font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: 0;
}
.pv { font-size: 25px; font-weight: 800; }
.pv small { font-size: 15px; font-weight: 700; }
.pbar-lg .pv { font-size: 40px; }
.pbar-lg .pv small { font-size: 18px; }
.pr-row .pv { font-size: 22px; }
.pr-row .pv small { font-size: 14px; }
.pr-lg .pv { font-size: 34px; }
.pr-lg .pv small { font-size: 17px; }
.tile-value { font-size: 30px; font-weight: 800; line-height: 1.1; }
.rank-big { font-size: 21px; font-weight: 800; }
.cd-num { font-size: 27px; font-weight: 800; }
.log-delta { font-size: 21px; font-weight: 800; }
.res-d { font-size: 17px; font-weight: 800; }
.pt-rate .rate-row b { font-size: 21px; font-weight: 800; }
.tbl td.r.num { font-family: var(--font-num); font-size: 17px; font-weight: 700; letter-spacing: 0; }
.tbl td.r.num b { font-size: 19px; font-weight: 800; }
.tbl td.r.num.muted { font-family: var(--font); font-size: 14px; font-weight: 500; }


.num, .tile-value, .rank-big, .pv, .cd-num, .log-delta, .res-d, .tbl td.r, .up, .down, .mv { font-variant-numeric: tabular-nums; }


.hero-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.hero-ev { font-size: 13px; color: var(--muted); }
.hero-vs { display: grid; gap: 8px; padding: 6px 0 2px; color: var(--text); }
.hv-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); align-items: center; justify-items: center; text-align: center; }
.hv-flags .avatar-lg { width: 64px; height: 64px; }
.hv-x { font-family: var(--font-num); font-size: 22px; font-weight: 800; color: var(--accent); letter-spacing: 0.02em; }
.hero-title.hv-row { font-size: 21px; font-weight: 850; line-height: 1.3; letter-spacing: -0.03em; align-items: start; }
.hv-name { text-wrap: balance; }
.hv-subs { font-size: 13px; color: var(--text-2); align-items: start; }
.hv-subs .off-rank { font-weight: 700; color: var(--text); }
.hero-vs:hover .hv-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hero-when { display: grid; gap: 2px; text-align: center; padding-top: 4px; border-top: 1px solid var(--border); padding-top: 12px; }
.hw-main, .hw-sub { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 4px; }
.hw-main > span, .hw-sub > span { white-space: nowrap; }
.hw-main > span:not(:last-child)::after, .hw-sub > span:not(:last-child)::after { content: ' ·'; color: var(--muted); }
.hw-main { font-size: 16px; color: var(--text-2); }
.hw-main b { color: var(--text); font-weight: 750; }
.hw-sub { font-size: 13px; color: var(--muted); }
.hero .hero-note { text-align: center; }
.hero .countdown { justify-content: center; }
.hero .btn-row { justify-content: center; }
@media (min-width: 860px) {
  .hero-vs, .hero-when { max-width: 640px; margin: 0 auto; width: 100%; }
  .hv-flags .avatar-lg { width: 84px; height: 84px; }
  .hero-title.hv-row { font-size: 28px; }
  .hv-row { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); }
  .hv-x { font-size: 28px; }
  .hero-top { justify-content: center; }
}


.pr-verdict { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 17px; }
.pr-vlab { font-size: 13px; font-weight: 750; color: var(--accent); }
.pr-verdict b { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--text); }
.pr-lg .pbar-track::after { content: ''; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--text); opacity: 0.55; border-radius: 1px; }
.pr-freq { font-size: 14px; color: var(--text-2); text-align: center; }

.dog { display: grid; gap: 6px; padding: 12px 14px; border-radius: 8px; background: var(--surface-2); }
.dog h3 { font-size: 15px; }
.dog ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.dog li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 14px; color: var(--text-2); }
.dog li b { color: var(--text); font-variant-numeric: tabular-nums; }
.pr-lg.solo .pr-row { grid-template-columns: 64px minmax(0, 1fr) 64px; }
.pr-lg.solo .pr-row > .pr-lab { display: none; }


.pfacts { display: flex; flex-wrap: wrap; gap: 1px; margin: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--border); }
.pfacts > div { flex: 1 0 22%; background: var(--surface); padding: 8px 10px; min-width: 0; }
.pfacts dt { font-size: 12px; color: var(--muted); }
.pfacts dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 760px) { .pfacts > div { flex-basis: 12%; } }


.sk-sum { font-size: 15px; color: var(--text-2); }
.sk-sum b { color: var(--text); }
.pct-list { display: grid; gap: 12px; }
.pct-row { display: grid; grid-template-columns: minmax(0, 132px) minmax(0, 1fr); align-items: center; gap: 12px; }
.pct-name { display: grid; gap: 0; min-width: 0; }
.pct-name b { font-size: 15px; color: var(--text); }
.pct-name span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.pct-track { position: relative; height: 8px; border-radius: 4px; background: var(--surface-3); margin: 0 14px; }
.pct-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--border-strong); }
.pct-track b { position: absolute; top: 50%; transform: translate(-50%, -50%); min-width: 30px; height: 24px; padding: 0 6px; border-radius: 12px;
  background: var(--ink); color: #ffffff; font: 700 14px/24px var(--font-num); text-align: center; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--surface); }
.pct-track b.hi { background: var(--accent); }
.pct-track b.lo { background: #71717a; }   

.pct-val { grid-column: 1 / -1; margin-top: -6px; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.pct-val span { color: var(--muted); }
.pct-name b.tip-label { text-decoration: underline dotted var(--border-strong); text-underline-offset: 4px; cursor: help; width: fit-content; }
.fact small { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .pct-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
.page-head .hw-main, .page-head .hw-sub { justify-content: flex-start; }
.pr-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: -4px; }

.avatar.has-flag:has(img) { color: transparent; }

.tbl a.flink, .cmp-nm a.flink, .cmp-big a.flink, .tl-what a.flink, .who-txt a.flink, .tape-name { display: inline-block; padding-block: 4px; }
.nw { white-space: nowrap; }


.pre, .pre * { font-family: -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }
.pre-head { height: 57px; }                       

.cn-js .pre { visibility: hidden; }
.cn-js .pre::before { content: '불러오는 중…'; display: block; visibility: visible; padding: 28px 0; color: var(--muted); text-align: center; }
.pre .card { margin-bottom: 14px; }
.pre h1 { font-size: 26px; margin: 0 0 4px; }
.pre h2 { margin: 0 0 8px; }
.pre-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 12px 0; }
.pre-facts div { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.pre-facts dt { font-size: 13px; color: var(--muted); }
.pre-facts dd { margin: 0; font-weight: 700; }
.pre-list { display: grid; gap: 6px; padding-left: 20px; margin: 8px 0; }
.pre a { text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.pre a:hover { text-decoration-color: var(--text); }
