/* ===== 黑白漫画风 ===== */
:root {
  --paper: #fffdf7; --white: #ffffff; --ink: #111111; --muted: #5a5a5a; --soft: #f2efe6;
  --red: #ff3b30; --red-soft: #ffe1de; --yellow: #ffe066; --green: #b9f0c8;
  --radius: 22px; --radius-sm: 14px; --bw: 3px;
  --shadow: 5px 5px 0 var(--ink); --shadow-sm: 3px 3px 0 var(--ink);
  --burst: polygon(50% 0%, 59.1% 10%, 71.7% 5%, 75.6% 17.9%, 89.1% 18.8%, 86.9% 32.2%, 98.7% 38.9%, 91% 50%, 98.7% 61.1%, 86.9% 67.8%, 89.1% 81.2%, 75.6% 82.1%, 71.7% 95%, 59.1% 90%, 50% 100%, 40.9% 90%, 28.3% 95%, 24.4% 82.1%, 10.9% 81.2%, 13.1% 67.8%, 1.3% 61.1%, 9% 50%, 1.3% 38.9%, 13.1% 32.2%, 10.9% 18.8%, 24.4% 17.9%, 28.3% 5%, 40.9% 10%);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background-color: var(--paper);
  background-image: radial-gradient(rgba(17, 17, 17, .07) 1px, transparent 1.3px); background-size: 14px 14px;
  font: 15px/1.65 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--red); }
a:hover { color: var(--red); }
h1 { font-size: 1.9rem; font-weight: 900; margin: 1.4rem 0 .8rem; letter-spacing: .02em; line-height: 1.25; }
h2 { font-size: 1.3rem; font-weight: 900; margin: 2rem 0 .8rem; display: flex; align-items: center; gap: .6rem; }
h2::before { content: ''; width: 10px; height: 1.1em; background: var(--red); border: 2px solid var(--ink); border-radius: 3px; transform: skewX(-12deg); flex: none; }
h3 { font-size: 1.05rem; font-weight: 900; margin: 0 0 .7rem; }
h4 { margin: 1.2rem 0 .5rem; font-weight: 900; }
small { font-weight: normal; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.hint { color: var(--muted); font-size: .85rem; }
.pre { white-space: pre-wrap; }
.center { text-align: center; }
.inline { display: inline; }
.more { font-size: .85rem; font-weight: 700; margin-left: auto; }

/* ===== 顶栏 ===== */
.topbar { background: var(--white); border-bottom: var(--bw) solid var(--ink); position: sticky; top: 0; z-index: 20; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 12px; }
.brand { color: var(--ink); font-weight: 900; font-size: 1.12rem; display: flex; gap: .5rem; align-items: center; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand:hover { color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; flex: none; background: var(--red); border: var(--bw) solid var(--ink); border-radius: 50%; font-size: 15px; box-shadow: 2px 2px 0 var(--ink); }
.admin-link { font-size: .85rem; font-weight: 700; white-space: nowrap; }
.nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 16px 12px; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--ink); padding: 5px 14px; border: 2.5px solid var(--ink); border-radius: 999px; white-space: nowrap; font-size: .92rem; font-weight: 700; text-decoration: none; background: var(--white); }
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a.on { background: var(--ink); color: var(--paper); box-shadow: 2px 2px 0 var(--red); }

.footer { color: var(--muted); font-size: .8rem; padding: 2.5rem 16px 2rem; text-align: center; }
.footer::before { content: ''; display: block; height: 12px; margin: 0 auto 1rem; max-width: 220px; background: radial-gradient(var(--ink) 1.6px, transparent 2px) 0 0 / 10px 10px; opacity: .5; }

/* 提示条 */
.flash { background: var(--green); border: var(--bw) solid var(--ink); border-radius: var(--radius-sm); padding: 10px 16px; margin-top: 1rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.errors { background: var(--red-soft); border: var(--bw) solid var(--ink); border-radius: var(--radius-sm); padding: 12px 16px; margin: 1rem 0; box-shadow: var(--shadow-sm); }
.errors ul { margin: .3rem 0 0; padding-left: 1.2rem; }

/* ===== 通用卡片 / 漫画格 ===== */
.card { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; box-shadow: var(--shadow); }

/* 爆炸框：外层用 drop-shadow 画出黑色描边和阴影，内层用星形裁切 */
.burst-wrap { display: inline-block; filter: drop-shadow(3px 0 0 var(--ink)) drop-shadow(-3px 0 0 var(--ink)) drop-shadow(0 3px 0 var(--ink)) drop-shadow(0 -3px 0 var(--ink)) drop-shadow(5px 5px 0 var(--ink)); }
.burst { clip-path: var(--burst); background: var(--white); display: grid; place-items: center; text-align: center; }

/* ===== 首页 ===== */
.hero { position: relative; margin: 1.4rem 0 1rem; padding: 2.4rem 16px 2rem; text-align: center; background: var(--white); border: var(--bw) solid var(--ink); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; isolation: isolate; }
.hero::before { /* 速度线 */
  content: ''; position: absolute; inset: -50%; z-index: -1;
  background: repeating-conic-gradient(from 0deg at 50% 50%, var(--ink) 0deg 1.4deg, transparent 1.4deg 7deg);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 22%, #000 48%); mask-image: radial-gradient(circle at 50% 50%, transparent 22%, #000 48%);
  opacity: .9;
}
.hero-kicker { display: inline-block; background: var(--red); color: var(--white); font-weight: 900; font-size: .78rem; letter-spacing: .18em; padding: 3px 12px; border: 2.5px solid var(--ink); border-radius: 999px; transform: rotate(-3deg); margin-bottom: .6rem; }
.hero .burst-wrap { max-width: 100%; }
.hero .burst { padding: 46px 52px; min-width: min(300px, 82vw); }
.hero h1 { margin: 0; font-size: clamp(1.6rem, 6.5vw, 2.6rem); line-height: 1.15; text-wrap: balance; }
.hero-body { margin-top: 1.1rem; display: inline-block; max-width: 560px; background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius); padding: 12px 18px; box-shadow: var(--shadow-sm); }
.hero-body p { margin: 0; color: var(--ink); }
.hero-cta { margin-top: 1.3rem; display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.countdown { display: inline-block; font-variant-numeric: tabular-nums; font-weight: 700; background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 999px; padding: 3px 14px; margin: 0; }

/* 公告：对话气泡 */
.announce { position: relative; background: var(--white); border: var(--bw) solid var(--ink); border-radius: 26px; padding: 14px 18px 14px 18px; margin: 1.6rem 0 1.2rem 0; box-shadow: var(--shadow-sm); font-weight: 600; }
.announce::before, .announce::after { content: ''; position: absolute; left: 34px; border-style: solid; }
.announce::before { bottom: -19px; border-width: 19px 16px 0 0; border-color: var(--ink) transparent transparent transparent; }
.announce::after { bottom: -12px; left: 37px; border-width: 13px 10px 0 0; border-color: var(--white) transparent transparent transparent; }
.announce-tag { display: inline-block; background: var(--red); color: var(--white); border: 2px solid var(--ink); border-radius: 999px; font-size: .75rem; font-weight: 900; padding: 0 10px; margin-right: 8px; transform: rotate(-4deg); }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 1.2rem 0; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius); padding: 14px 10px; text-align: center; box-shadow: var(--shadow); }
.tile:nth-child(odd) { transform: rotate(-1deg); }
.tile:nth-child(even) { transform: rotate(1deg); }
.tile b { display: block; font-size: 2.1rem; font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tile:first-child b { color: var(--red); -webkit-text-stroke: 1px var(--ink); }
.tile span { font-size: .85rem; font-weight: 700; color: var(--muted); }

.stat-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.stat-grid .card { margin: 0; }
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 7.5em 1fr 2.2em; gap: 8px; align-items: center; font-size: .85rem; }
.bar-k { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.bar-track { background: var(--white); border: 2px solid var(--ink); border-radius: 999px; height: 16px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--ink) 0 5px, #3a3a3a 5px 9px); border-right: 2px solid var(--ink); }
.bar-v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 900; }

/* ===== 按钮 ===== */
.btn { display: inline-block; background: var(--ink); color: var(--paper); border: var(--bw) solid var(--ink); border-radius: 999px; padding: 8px 20px; font: inherit; font-weight: 900; cursor: pointer; text-decoration: none; box-shadow: 3px 3px 0 var(--red); transition: transform .08s, box-shadow .08s; }
.btn:hover { color: var(--paper); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--red); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--red); }
.btn.big { padding: 12px 34px; font-size: 1.1rem; }
.btn.small { padding: 4px 14px; font-size: .85rem; box-shadow: 2px 2px 0 var(--red); }
.btn.ghost { background: var(--white); color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.btn.ghost:hover { background: var(--soft); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn.danger { background: var(--white); color: var(--red); box-shadow: 2px 2px 0 var(--ink); }
.btn.danger:hover { background: var(--red); color: var(--white); }
.btn.ok { background: var(--green); color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.btn:disabled { opacity: .6; transform: none; }
button.link { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; padding: 6px 10px; }
button.link:hover { color: var(--red); }

/* ===== 表单 ===== */
.form label { display: block; margin-bottom: 12px; font-size: .88rem; font-weight: 700; }
.form label.check { display: flex; gap: 10px; align-items: flex-start; margin: 1rem 0; font-weight: 600; }
.form label.check input { margin-top: .3em; }
input, select, textarea { width: 100%; display: block; margin-top: 5px; background: var(--white); color: var(--ink); border: 2.5px solid var(--ink); border-radius: var(--radius-sm); padding: 9px 12px; font: inherit; font-size: 16px; font-weight: 400; transition: box-shadow .1s; }
select { appearance: none; -webkit-appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 3px 3px 0 var(--red); }
input::placeholder { color: #9a9a9a; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; display: inline-block; margin: 0; accent-color: var(--ink); flex: none; }
input.num, select.num { width: 4.8em; display: inline-block; text-align: center; padding-left: 6px; padding-right: 6px; background-image: none; }
.inline select, .inline input { display: inline-block; width: auto; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.grid2 > * { min-width: 0; }
input[type=datetime-local] { min-width: 0; }
fieldset { min-width: 0; }
fieldset.card { margin: 0 0 22px; }
legend { font-weight: 900; font-size: 1.05rem; padding: 0 8px; display: flex; align-items: center; gap: 8px; }
.hp { position: absolute; left: -9999px; }
.narrow { max-width: 400px; margin: 2.5rem auto; }
.field-label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 5px; }
.req { color: var(--red); }

/* 队员编号 */
.pnum { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 900; font-size: 1rem; border: var(--bw) solid var(--ink); box-shadow: 2px 2px 0 var(--red); }
.player-card.sub .pnum { background: var(--white); color: var(--ink); }
.player-card.sub { border-style: dashed; box-shadow: none; }
.player-card.filled { box-shadow: 5px 5px 0 var(--red); }

/* 标签按钮（单选） */
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 12px; }
.chip { position: relative; margin: 0 !important; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip span { display: inline-block; padding: 5px 13px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--white); font-size: .88rem; font-weight: 700; cursor: pointer; user-select: none; transition: transform .08s; }
.chip span:hover { background: var(--soft); }
.chip input:checked + span { background: var(--ink); color: var(--paper); box-shadow: 2px 2px 0 var(--red); transform: translate(-1px, -1px); }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

/* 报名页底部提交栏 */
.submit-bar { position: sticky; bottom: 0; z-index: 10; margin: 0 -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: var(--bw) solid var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.progress { font-weight: 900; font-size: .9rem; }
.progress b { color: var(--red); }
.reg-intro { display: flex; gap: 14px; align-items: center; }
.reg-intro .burst-wrap { flex: none; }
.reg-intro .burst { width: 86px; height: 86px; font-weight: 900; font-size: 1.05rem; line-height: 1.1; }

/* ===== 比赛卡片：左右 VS 对决 ===== */
.match-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .match-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .match-grid { grid-template-columns: repeat(3, 1fr); } }
.match { display: block; background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius); padding: 12px 14px 14px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .08s, box-shadow .08s; }
a.match:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.match.live { box-shadow: 5px 5px 0 var(--red); }
.match-meta { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-bottom: 10px; gap: 8px; font-weight: 700; }
.vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.side { border: 2.5px solid var(--ink); border-radius: var(--radius-sm); padding: 9px 8px; text-align: center; font-weight: 800; background: var(--white); min-width: 0; }
.side .tn { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side.win { background: var(--ink); color: var(--paper); }
.match.done .side:not(.win) { color: var(--muted); border-style: dashed; }
.vs .burst-wrap { filter: drop-shadow(2px 0 0 var(--ink)) drop-shadow(-2px 0 0 var(--ink)) drop-shadow(0 2px 0 var(--ink)) drop-shadow(0 -2px 0 var(--ink)) drop-shadow(3px 3px 0 var(--ink)); }
.vs .burst { width: 70px; height: 56px; font-weight: 900; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.match.done .vs .burst { background: var(--yellow); }
.match.live .vs .burst { background: var(--red); color: var(--white); }
.vs .burst i { font-style: italic; font-size: 1.15rem; letter-spacing: -.02em; }
.match-note { font-size: .78rem; color: var(--muted); border-top: 2px dashed var(--ink); margin-top: 12px; padding-top: 6px; }
.live-dot { color: var(--red); font-weight: 900; }
.live-dot::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--red); border: 1.5px solid var(--ink); border-radius: 50%; margin-right: 4px; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.scoreboard { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; text-align: center; gap: 10px; font-size: 1.05rem; font-weight: 900; }
.scoreboard a { border: var(--bw) solid var(--ink); border-radius: var(--radius-sm); padding: 12px 8px; text-decoration: none; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scoreboard a.win { background: var(--ink); color: var(--paper); }
.scoreboard .burst { width: 110px; height: 84px; font-size: 1.8rem; background: var(--yellow); font-variant-numeric: tabular-nums; }

/* ===== 队伍 ===== */
.team-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { color: var(--ink); margin: 0; text-decoration: none; position: relative; transition: transform .08s, box-shadow .08s; }
.team-card:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.team-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 1.15rem; font-weight: 900; }
.slogan { margin: .3rem 0 .4rem; font-size: .85rem; font-style: italic; }
.roster { list-style: none; padding: 0; margin: .7rem 0 0; font-size: .9rem; border-top: 2px dashed var(--ink); padding-top: .5rem; }
.roster li { padding: 3px 0; display: flex; align-items: center; gap: 8px; }
.pos { display: inline-block; min-width: 3.6em; text-align: center; font-size: .72rem; font-weight: 800; border: 2px solid var(--ink); border-radius: 999px; padding: 0 6px; }
.tag { display: inline-block; font-size: .75rem; padding: 1px 10px; border-radius: 999px; background: var(--white); border: 2px solid var(--ink); font-weight: 800; vertical-align: middle; white-space: nowrap; transform: rotate(-2deg); }
.tag.gold { background: var(--red); color: var(--white); }
.tag.st-pending { background: var(--yellow); }
.tag.st-approved { background: var(--green); }
.tag.st-rejected { background: var(--red-soft); color: #b3261e; }

/* ===== 表格 ===== */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .88rem; }
th, td { padding: 9px 8px; text-align: left; white-space: nowrap; }
th { background: var(--ink); color: var(--paper); font-weight: 800; font-size: .8rem; }
th:first-child { border-radius: 10px 0 0 10px; }
th:last-child { border-radius: 0 10px 10px 0; }
td { font-variant-numeric: tabular-nums; border-bottom: 2px dashed #cfcac0; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--soft); }
.standings tr.qual td:first-child { font-weight: 900; color: var(--red); }
.standings tr.qual td:nth-child(2) a { font-weight: 900; }
.qual-swatch { display: inline-block; color: var(--red); font-weight: 900; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.seg a { padding: 4px 14px; border-radius: 999px; border: 2.5px solid var(--ink); background: var(--white); color: var(--ink); font-size: .88rem; font-weight: 700; text-decoration: none; }
.seg a:hover { background: var(--soft); color: var(--ink); }
.seg a.on { background: var(--ink); color: var(--paper); }

/* ===== 淘汰赛签表 ===== */
.bracket-scroll { overflow-x: auto; padding: 4px 4px 14px; }
.bracket { display: flex; gap: 28px; min-width: min-content; }
.round { display: flex; flex-direction: column; min-width: 172px; }
.round-name { text-align: center; font-weight: 900; font-size: .85rem; margin-bottom: 10px; }
.round-name span { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 2px 12px; }
.round-body { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 14px; }
.bm { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius-sm); font-size: .86rem; box-shadow: var(--shadow-sm); position: relative; }
.bm > div:first-child { border-radius: 11px 11px 0 0; }
.bm > div:last-child { border-radius: 0 0 11px 11px; }
.round:not(:last-child) .bm::after { content: ''; position: absolute; right: -31px; top: 50%; width: 28px; border-top: var(--bw) solid var(--ink); }
.bm.live { box-shadow: 3px 3px 0 var(--red); }
.bm > div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 12px; color: var(--muted); font-weight: 700; }
.bm > div + div { border-top: 2px dashed var(--ink); }
.bm > div span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 130px; }
.bm > div.win { color: var(--paper); background: var(--ink); }
.bm > div.win b { color: var(--yellow); }
.champion-wrap { margin: auto; }
.champion { width: 170px; height: 150px; background: var(--yellow); font-weight: 900; font-size: 1.05rem; line-height: 1.3; padding: 0 22px; }
.champion em { display: block; font-style: normal; font-size: 2rem; }

/* ===== 后台 ===== */
.admin-shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 1.2rem; }
@media (min-width: 900px) { .admin-shell { grid-template-columns: 190px minmax(0, 1fr); align-items: start; } }
.admin-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px; background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-sm); align-items: center; }
.admin-nav::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .admin-nav { flex-direction: column; align-items: stretch; position: sticky; top: 120px; padding: 12px; } }
.admin-nav-title { font-weight: 900; font-size: .78rem; letter-spacing: .12em; color: var(--muted); padding: 0 8px; white-space: nowrap; }
@media (max-width: 899px) { .admin-nav-title { display: none; } }
.admin-nav a { padding: 7px 14px; border-radius: 999px; border: 2.5px solid transparent; color: var(--ink); font-size: .92rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.admin-nav a:hover { border-color: var(--ink); color: var(--ink); }
.admin-nav a.on { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 2px 2px 0 var(--red); }
.admin-nav form { margin-left: auto; }
@media (min-width: 900px) { .admin-nav form { margin: 8px 0 0; border-top: 2px dashed var(--ink); padding-top: 8px; } }
.admin-main > h1:first-child, .admin-main > .tiles:first-child { margin-top: 0; }
.admin-main .tiles { margin-top: 0; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mini input { width: 3.5em !important; padding: 4px 6px; margin: 0 2px; display: inline-block; }
.steps { padding-left: 0; margin: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; margin: 8px 0; display: flex; gap: 10px; align-items: baseline; }
.steps li::before { content: counter(s); flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 900; font-size: .8rem; }
.score-edit { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 10px; margin: 1.2rem 0 .6rem; }
.score-edit .score-side { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; min-width: 0; }
.score-edit .score-side span { max-width: 100%; font-weight: 900; border: 2.5px solid var(--ink); border-radius: 999px; padding: 3px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score-edit input.num { width: 2.6em; font-size: 2rem; font-weight: 900; padding: 4px; margin: 0; }
.score-edit > b { font-size: 1.8rem; padding-bottom: 10px; }
.stat-input th, .stat-input td { padding: 6px 4px; }
.stat-input input.num { width: 3.2em; padding: 5px 2px; }
details summary { cursor: pointer; font-weight: 900; }
details[open] summary { margin-bottom: 12px; }

/* 报名审核卡片 */
.review-list { display: grid; gap: 16px; }
.review { margin: 0; padding: 14px 16px; }
.review-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.review-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-title a { font-size: 1.12rem; font-weight: 900; text-decoration: none; }
.review-meta { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.review-meta b { color: var(--ink); }
.review details { margin-top: 10px; border-top: 2px dashed var(--ink); padding-top: 8px; }
.review details summary { font-size: .88rem; }
.review-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.review.st-pending { box-shadow: 5px 5px 0 var(--red); }
.empty { text-align: center; padding: 2rem 1rem; }
.empty .burst-wrap { margin-bottom: 1rem; }
.empty .burst { width: 110px; height: 100px; font-size: 2rem; }
.admin-nav > * { flex: none; }
.admin-nav button.link { white-space: nowrap; }
