/* 종합선수권 단계 선택과 빈 대진을 기존 대회 화면에 맞춰 표시한다. */
body { margin:0; color:#24282c; background:#fff; font-family:Arial,sans-serif; }
* { box-sizing:border-box; letter-spacing:0; }
#header { position:relative; height:auto; padding:20px 24px 0; }
#header h1 { font-size:21px; line-height:1.5; margin:0 32px 4px; white-space:normal; }
#header p { font-size:13px; text-align:center; margin:6px 0 16px; }
.home-link { position:absolute; left:20px; top:20px; color:#165e85; font-size:24px; text-decoration:none; }
#main-tabs { display:flex; flex-wrap:wrap; justify-content:center; }
#main-tabs .main-tab { border-radius:0; background:transparent; color:#44505a; border-bottom:3px solid transparent; }
#main-tabs .main-tab.active { color:#114b6c; background:transparent; border-bottom-color:#1d6891; }
#main-tabs .main-tab:hover { background:#eef3f5; color:#114b6c; }
main { max-width:1500px; margin:auto; padding:12px 24px 32px; }
#gender-tabs { position:static; margin:0 0 12px; }
#stage-tabs { display:flex; border-bottom:1px solid #d3d9df; gap:4px; }
#stage-tabs button { background:white; border:0; border-bottom:3px solid transparent; padding:12px 16px; color:#44505a; cursor:pointer; font-size:14px; }
#stage-tabs button[aria-pressed=true] { border-bottom-color:#1d6891; color:#114b6c; font-weight:bold; }
#status { margin:18px 0 10px; font-size:13px; color:#52606b; }
h2 { font-size:19px; margin:16px 0 12px; }
h3 { font-size:15px; margin:20px 0 10px; }
p,li { font-size:14px; line-height:1.8; }
table { width:100%; border-collapse:collapse; font-size:14px; margin:12px 0; }
th,td { border:1px solid #d8dfe3; text-align:left; padding:10px 12px; }
th { background:#f2f5f6; font-weight:600; }
.table-scroll,.draw-scroll { overflow-x:auto; max-width:100%; }
.draw-scroll { padding:12px 0 24px; }
.draw-scroll .gk { width:max-content; min-width:100%; }
.pending { padding:14px 0; color:#58636c; border-bottom:1px solid #e5e9ec; }
.links,footer nav { display:flex; gap:16px; flex-wrap:wrap; margin:16px 0; }
a { color:#165e85; }
footer { border-top:1px solid #d8dfe3; margin-top:28px; font-size:13px; }
[hidden] { display:none !important; }
@media(max-width:600px) {
  #header { padding:16px 8px 0; }
  #header h1 { font-size:18px; }
  main { padding:12px; }
  #main-tabs .main-tab { padding:10px 12px; font-size:13px; }
  #stage-tabs button { padding:12px 10px; font-size:13px; }
  th,td { padding:8px; }
}
