
:root {
  --bg:#0b0c0f; --surface:#14161c; --surface2:#1a1d25; --line:#262b36;
  --text:#e8eaf0; --muted:#9aa3b2; --accent:#ff4a1f; --accent2:#ffb03a;
  --link:#7cc4ff; --gold:#ffd23d;
}
* { box-sizing:border-box; }
body { margin:0; font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif; font-size:16px; line-height:1.8; color:var(--text); background:var(--bg);
  background-image:radial-gradient(1100px 340px at 50% -120px, rgba(255,74,31,.14), transparent 70%); background-repeat:no-repeat; }
.wrap { max-width:920px; margin:0 auto; padding:22px 16px 72px; }
header.site { padding:26px 0 16px; margin-bottom:22px; border-bottom:1px solid var(--line); position:relative; }
header.site::after { content:""; position:absolute; left:0; bottom:-1px; width:180px; height:3px;
  background:linear-gradient(90deg, var(--accent), var(--accent2)); }
header.site .name { font-size:30px; font-weight:800; letter-spacing:.04em; line-height:1.25;
  font-family:"Arial Black","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif; text-transform:uppercase; }
header.site .name a { color:var(--text); text-decoration:none; }
header.site .name a:hover { color:var(--accent2); }
header.site .sub { color:var(--muted); font-size:13px; margin-top:4px; letter-spacing:.06em; }
nav.crumbs { font-size:13px; color:var(--muted); margin-bottom:12px; }
nav.crumbs a { color:var(--link); }
nav.gnav { display:flex; flex-wrap:wrap; gap:8px; margin:-6px 0 16px; }
nav.gnav a { display:inline-block; padding:5px 14px; border:1px solid var(--line); border-radius:999px;
  background:var(--surface); color:var(--text); font-size:14px; font-weight:700; }
nav.gnav a:hover { border-color:var(--accent); color:var(--accent2); text-decoration:none; }
h1 { font-size:25px; margin:8px 0 14px; line-height:1.4; font-weight:800; }
h2 { font-size:19px; margin:34px 0 10px; padding-left:10px; border-left:5px solid var(--accent); line-height:1.4; }
h3 { font-size:16px; margin:22px 0 6px; color:var(--accent2); }
table { border-collapse:collapse; width:100%; margin:10px 0 18px; background:var(--surface); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
th, td { border-bottom:1px solid var(--line); padding:7px 10px; text-align:left; font-size:14.5px; }
tr:last-child td { border-bottom:none; }
th { background:var(--surface2); color:var(--muted); font-size:13px; letter-spacing:.05em; }
tbody tr:hover td { background:rgba(255,255,255,.03); }
a { color:var(--link); text-decoration:none; }
a:hover { text-decoration:underline; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:14px 18px; margin:12px 0;
  border-top:3px solid var(--accent); font-size:17px; }
.card a { font-weight:700; }
.muted { color:var(--muted); font-size:13px; }
.win { font-weight:800; color:var(--gold); }
.flag { width:1.4em; height:1.05em; vertical-align:-.18em; border-radius:2px; }
.flag-blank { display:inline-block; width:1.4em; height:1.05em; vertical-align:-.18em; }
.res { font-weight:700; padding:1px 9px; border-radius:999px; font-size:.85em; white-space:nowrap; }
.res-win { color:#4ade80; background:rgba(74,222,128,.13); border:1px solid rgba(74,222,128,.45); }
.res-lose { color:#f87171; background:rgba(248,113,113,.10); border:1px solid rgba(248,113,113,.40); }
input.filter { width:100%; padding:10px 12px; font-size:16px; border:1px solid var(--line); border-radius:8px; margin:6px 0 12px;
  background:var(--surface); color:var(--text); }
input.filter:focus { outline:2px solid var(--accent); outline-offset:0; border-color:transparent; }
select.filter { padding:10px 12px; font-size:16px; border:1px solid var(--line); border-radius:8px; margin:0 0 12px;
  background:var(--surface); color:var(--text); max-width:100%; }
select.filter:focus { outline:2px solid var(--accent); outline-offset:0; border-color:transparent; }
footer.site { margin-top:48px; border-top:1px solid var(--line); padding-top:14px; color:var(--muted); font-size:13px; }
ul.compact { margin:6px 0; padding-left:20px; }
.logo-mark { width:44px; height:29px; vertical-align:-5px; margin-right:11px; }
.logo-text em { font-style:normal; background:linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero { width:100%; height:auto; display:block; border-radius:12px; border:1px solid var(--line); margin:14px 0 6px; }
@media (max-width:640px) {
  header.site .name { font-size:23px; }
  h1 { font-size:21px; }
  th, td { padding:6px 7px; font-size:13.5px; }
}
