:root { font: 16px/1.55 Inter, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif; color: #1b2a3f; background: #f4f6f9; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #277ac6; outline-offset: 3px; }
h1,h2,h3,h4,p,ul,ol,dl,dd { margin: 0; }
.shell { max-width: 1280px; margin-inline: auto; padding-inline: clamp(15px,4vw,45px); }
.top { background: #fff; border-bottom: 1px solid #d9e2ef; }
.top-inner { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:760; text-decoration:none; }
.brand small { display:block; margin-top: -1px; color:#5a697e; font-weight:500; font-size: .81rem; }
.mark { width:40px; height:40px; display:grid; place-items:center; background:#ffa65e; color:#311b0d; border-radius:12px; font-size:1.2rem; }
#refresh { background:#fff; color:#2b4567; border:1px solid #cbd7e5; border-radius:9px; min-height:40px; padding:7px 12px; font-size:.9rem; font-weight:650; }
#refresh:hover { background:#edf4fa; }
main.shell { padding-top: 27px; padding-bottom: 42px; }
.hero { position: relative; isolation:isolate; overflow:hidden; color:#fff; border-radius:16px; min-height:225px; box-shadow:0 8px 25px #17294228;
  display:flex; align-items:end; justify-content:space-between; gap:20px; padding: clamp(19px,4vw,43px);
  background:linear-gradient(112deg,#172538,#233c59); }
.hero::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(128deg,transparent 60%,#ffffff0c 60% 69%,transparent 69% 72%,#ffffff09 72% 85%,transparent 85%); }
.overline { color:#ffc288; font-size:.91rem; font-weight:740; letter-spacing:.06em; }
h1 { font-size:clamp(1.75rem,5vw,3.12rem); letter-spacing:-.025em; overflow-wrap:anywhere; line-height:1.2; margin-block:7px 14px; }
.hero-meta { color:#dbe4f2; }
.hero-info { flex:0 0 auto; padding:13px 16px; background:#14243bb0; border:1px solid #ffffff33; border-radius:10px; display:grid; gap:7px; }
.hero-info div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 14px; }
dt { color:#c5d3e7; font-size:.86rem; }
dd { font-size:.9rem; font-weight:650; }
.notice { margin-top:15px; background:#fff1df; border:1px solid #efca9c; border-radius:9px; color:#744718; padding:9px 13px; }
.section-title { margin:24px 0 12px; }
h2 { font-size:clamp(1.32rem,3vw,1.78rem); }
#round-navigation { display:flex; flex-wrap:wrap; gap:7px; padding:4px; border-radius:10px; background:#e9eef5; width:fit-content; }
#round-navigation a { padding:5px 11px; border:1px solid transparent; border-radius:7px; text-decoration:none; font-weight:650; color:#455673; }
#round-navigation a[aria-current] { border-color:#d4dfec; color:#1d3c62; background:#fff; }
.round-header { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:5px; margin:15px 0 10px; }
.round-header p { font-size:.9rem; color:#5a687d; }
.group-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr)); gap:13px; }
.group-grid:has(> :only-child) { grid-template-columns:minmax(0,720px); }
.group { min-width:0; border:1px solid #dce4ee; background:#fff; border-radius:11px; overflow:hidden; box-shadow:0 3px 12px #192a4310; }
.group > header { display:flex; justify-content:space-between; align-items:center; padding:11px 13px; border-bottom:1px solid #e6edf5; gap:8px; }
.group h4 { font-size:1.05rem; }
.pill { display:inline-block; padding:2px 7px; border-radius:6px; background:#edf2f7; color:#4c5f78; white-space:nowrap; font-size:.8rem; font-weight:670; }
.pill.advance { background:#e3f5eb; color:#16634b; }
.players { display:grid; grid-template-columns:1fr 1fr; gap:9px; list-style:none; padding:13px; }
.player-name { overflow-wrap:anywhere; }
.scroll { overflow-x:auto; }
table { width:100%; border-collapse:collapse; text-align:left; font-size:.9rem; }
th { background:#f3f6fb; color:#4c5f78; white-space:nowrap; font-weight:650; }
th,td { padding:8px 9px; border-bottom:1px solid #edf1f6; }
td:last-child { white-space:nowrap; }
.ranking { display:grid; grid-template-columns:1fr 1fr; gap:7px 12px; list-style:none; padding:12px;
  border:1px solid #dce4ee; border-radius:11px; background:#fff; }
.ranking li { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:9px; padding:6px 7px; border-bottom:1px solid #e7edf4; }
.position { min-width:30px; display:grid; place-items:center; padding:3px; border-radius:7px; background:#fff0df; color:#8c4c1e; font-weight:760; }
@media(max-width:640px) {
  .hero { align-items:stretch; flex-direction:column; min-height:0; }
  .ranking { grid-template-columns:1fr; }
  .hero-info div { justify-content:flex-start; }
}
