:root {
  font-size:min(13.333vw,80px); color-scheme:light;
  --bulletin-ink:#243e81;
  --bulletin-title-background:#000;
  --bulletin-title-color:#fff;
  --bulletin-row:#f0f0f0;
}
* { box-sizing:border-box; }
body { margin:0; background:#525695; color:#3a585f; font:16px/1.4 "Helvetica Neue",Helvetica,"PingFang SC","Microsoft YaHei",Arial,sans-serif; }
a { color:inherit; text-decoration:none; }
a:focus-visible,button:focus-visible { outline:2px solid #0b55ab; outline-offset:-2px; }
.paper { width:min(100%,830px); min-height:100vh; margin:auto; padding:75px 15px 70px; background:#fff url(page-edges.jpg) repeat-y center top; }
.paper > header { position:fixed; top:0; left:50%; transform:translateX(-50%); width:min(100%,800px); height:40px; z-index:2; text-align:center; background:#88a5b6; }
.wordmark { display:inline-block; width:min(65%,260px); height:37px; color:#bc1007; background:#fff; letter-spacing:.2em; font:700 28px/37px "Songti SC",SimSun,serif; }
.back { position:absolute; right:0; bottom:0; padding:0 8px; color:#fff; font-size:11px; line-height:20px; }
.paper:has(> .site-nav) { padding-top:44px; }
.paper > .site-nav { display:flex; flex-wrap:wrap; justify-content:center; gap:1px; padding:0 4px; background:#d7e2ea; text-align:center; }
.paper > .site-nav a { display:grid; flex:1 0 52px; place-items:center; min-height:44px; padding:3px 1px; background:#f1f5f9; color:var(--bulletin-ink); font-size:12px; font-weight:700; }
.paper > .site-nav a:hover { background:#deeafd; }
.masthead { text-align:center; font-size:30px; font-weight:700; color:#00f; }
#own-draw { padding:12px 15px 15px; color:#333; background:#fff; }
#own-draw button { font-family:inherit; }
.sheet { margin:0; color:#333; text-align:center; font:700 16pt/1.35 "Microsoft YaHei","PingFang SC",Arial,sans-serif; }
.sheet table,.article table { width:100%; border-collapse:collapse; overflow-wrap:anywhere; }
.sheet h2,.sheet p { margin:0; }
.sheet :is(h1,h2) { padding:4px 2px; background:var(--bulletin-title-background); color:var(--bulletin-title-color); font:700 19pt/1.35 "Microsoft YaHei","PingFang SC",sans-serif; }
.size_head,.head_tail,.progressive,.forum,.sheet h2 { font-family:"微软雅黑","Times New Roman","Songti SC",SimSun,serif; }
.sheet h2 b,.progressive caption b { color:#ff0; }
.sheet h2 em,.sheet i,.article i { font-style:normal; }
.sheet i { color:#00f; }
.sheet :is(td,th),.endline { padding:3px 2px; background:var(--bulletin-row); border:1px solid #e5e5e5; }
.sheet td { height:37px; }
.sheet .result { color:var(--bulletin-ink); }
.wave-blue { color:#00f; }
.wave-green { color:#008000; }
body .ink { color:#e60000; }
.size_head,.flat_link,.head_tail,.kill { padding:3px; }
.size_head h2 { min-height:105px; color:#ff0; background:red; font-size:18pt; }
.size_head h2 b { color:#0ff; font-size:21pt; }
.size_head h2 em { color:#cf9; }
.flat_link h2 { min-height:100px; color:white; font-size:16pt; }
.flat_link h2 b { color:#6cf; }
.flat_link h2 em { color:#0ff; }
.flat_link h2 strong { color:#ff0; }
.flat_link td { height:39px; font-size:17pt; }
.flat_link small { font-size:13pt; }
.head_tail h2 { min-height:43px; color:#111; background:#e5e5e5; }
.head_tail h2 b,.endline b { color:#00f; }
.head_tail table { table-layout:fixed; font-size:13pt; }
.head_tail :is(td,th) { background:#fff; height:39px; }
.head_tail th { font-size:18px; }
.head_tail th:nth-child(2) { width:22%; }
.head_tail th:nth-child(3) { width:28%; }
.endline { font-size:16pt; line-height:30px; }
.progressive { color:#111; }
.progressive caption { height:40px; padding:3px; background:black; color:#ffc; font-size:18pt; }
.progressive th[colspan] { height:40px; color:#143dbe; font-size:18pt; background:yellow; }
.progressive th[scope=row] { width:25%; background:#ffc; }
.progressive :is(td,th[scope=row]) { height:35px; font-size:12pt; }
.progressive td { background:white; }
.tail h2,.forum h2,.waves h2,.parity h2,.kill h2,.parity_groups h2 { margin:3px 2px; padding:4px 0; border:10px double silver; line-height:1.3; }
.parity h2 b,.parity_groups h2 b { color:cyan; }
.tail td,.parity_groups td { font-size:15pt; height:35px; }
.domestic h2 { padding:0; }
.ranking { display:block; width:100%; height:auto; }
.domestic td { height:39px; }
.forum { padding:2px 5px 5px; }
.forum table { width:99%; margin:auto; table-layout:fixed; color:#222; }
.forum thead th { height:42px; background:#fc0; font:700 16pt KaiTi,"Kaiti SC",serif; }
.forum th:first-child { width:17%; }
.forum th:last-child { width:16%; }
.forum td { height:72px; background:#ffc; }
.forum td:first-child { font-size:24px; }
.forum td:nth-child(2) { text-align:left; background:#fff; }
.forum a { display:block; padding:6px 2px; }
.forum a:hover strong,.back:hover,.article h1 a:hover { text-decoration:underline; }
.forum strong { color:#df00cb; font-size:17pt; }
.forum small { color:#b71a13; font-size:12pt; }
.forum td:last-child { font-size:10pt; color:#b71a13; }
.kill td { color:#162944; }
.article { padding:0 2px; }
.article h1 { margin:6px 0; font-size:clamp(20px,5vw,26px); }
.article h1 a { color:inherit; }
.article table { width:97.5%; table-layout:fixed; margin:0 auto; text-align:center; font-weight:700; font-size:20pt; }
.article td { padding:0; height:61px; border:1px solid #e5e5e5; }
.article td:first-child { width:14%; }
.article td:nth-child(2) { width:66%; color:#712330; }
.article b { color:#00f; }
.article i { color:#ff0066; }
.empty { text-align:center; }
footer { margin:25px 8px 0; padding:22px 0; border-top:1px solid #eee; text-align:center; color:#666; font-size:13px; }
@media (max-width:829px) {
  .paper { width:min(100%,800px); padding-inline:0; background:#fff; }
}
@media (max-width:600px) {
  #own-draw { padding-inline:0; }
  .forum td { height:91px; }
  .forum th:first-child { width:19%; }
}
.draw-archive[data-draw-edition="3"] {
  --archive-accent:var(--bulletin-ink);
  --archive-tint:#edf3f7;
  --archive-rule:#cbd7df;
  --archive-row:var(--bulletin-row);
  --archive-corner:3px;
  --archive-heading-color:var(--bulletin-title-color);
  --archive-heading-background:var(--bulletin-title-background);
}
.draw-archive .masthead { font-size:clamp(20px,7.6vw,30px); }
.draw-archive .history-pages { top:40px; }

.draw-archive .history-feeds { gap:1px; padding:1px; background:#cbd7df; }
.draw-archive .history-feeds a { background:#f1f5f9; color:var(--bulletin-ink); font-weight:700; }
.draw-archive .history-feeds a[aria-current="page"] { background:var(--bulletin-ink); color:#fff; }
.draw-archive .history-state { padding:10px 12px; border-block-end:1px solid var(--archive-rule); background:var(--bulletin-row); color:var(--bulletin-ink); }
