:root {
  --sidebar-width: 202px;
  --coral: #ef554f;
  --coral-deep: #d83d39;
  --coral-soft: #ffebe8;
  --ink: #3f201e;
  --body: #5c403d;
  --muted: #987b77;
  --line: #efd8d4;
  --line-soft: #f5e7e4;
  --panel: rgba(255, 255, 255, .88);
  --green: #27946d;
  --gold: #f2b73c;
  --radius-lg: 15px;
  --shadow: 0 8px 22px rgba(108, 54, 49, .09);
  --font-body: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-number: "DIN Alternate", "Arial Narrow", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; color: var(--body); background: #fff7f5; font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #f06a63; outline-offset: 2px; }
svg { display: block; }
.app-shell svg:not(.icon-sprite) { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sprite { position: fixed; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon-sprite symbol { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 40; display: flex; width: var(--sidebar-width); padding: 18px 14px 24px; flex-direction: column;
  color: #fff; background:
    radial-gradient(circle at 15% 12%, rgba(255,255,255,.22), transparent 23%),
    linear-gradient(160deg, #dd534d 0%, #c42f2f 65%, #b72427 100%);
  overflow-y: auto; box-shadow: 8px 0 25px rgba(109, 34, 33, .12); transition: background .28s, color .28s, transform .24s ease;
}
.sidebar::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; opacity: .15; background: linear-gradient(145deg, transparent 45%, rgba(255,255,255,.3) 46% 47%, transparent 48% 58%, rgba(255,255,255,.25) 59% 60%, transparent 61%); pointer-events: none; }
.sidebar-aurora { position: absolute; z-index: 0; width: 235px; height: 72px; border-radius: 50%; opacity: .28; filter: blur(13px); pointer-events: none; will-change: transform; }
.sidebar-aurora.aurora-one { left: -58px; top: 15%; background: linear-gradient(90deg, transparent, rgba(255,225,132,.9), rgba(255,255,255,.58), transparent); transform: rotate(-18deg); }
.sidebar-aurora.aurora-two { right: -100px; bottom: 9%; background: linear-gradient(90deg, transparent, rgba(255,122,112,.9), rgba(255,220,133,.7), transparent); transform: rotate(22deg); }
.brand-block { position: relative; z-index: 1; display: grid; justify-items: center; padding: 0 4px 22px; text-align: center; }
.brand-block img { width: 68px; height: 68px; margin-bottom: 6px; border-radius: 50%; object-fit: contain; filter: drop-shadow(0 5px 9px rgba(78,23,23,.18)); }
.brand-block strong { font-size: 25px; font-weight: 850; letter-spacing: .06em; line-height: 1.1; text-shadow: 0 2px 7px rgba(99,24,24,.25); }
.brand-block span { margin-top: 5px; font-size: 10px; opacity: .9; }
.nav-menu { position: relative; z-index: 1; display: grid; gap: 6px; }
.nav-label { padding: 4px 11px 2px; font-size: 9px; font-weight: 700; letter-spacing: .16em; opacity: .55; }
.nav-item { position: relative; display: flex; min-height: 49px; padding: 0 14px; overflow: hidden; align-items: center; gap: 12px; border: 0; border-radius: 12px; color: rgba(255,255,255,.87); background: transparent; isolation: isolate; font-size: 14px; font-weight: 650; text-align: left; transition: .2s; }
.nav-item > *:not(.nav-shine) { position: relative; z-index: 2; }
.nav-item svg { width: 19px; height: 19px; flex: 0 0 auto; }
.nav-item:hover { background: rgba(255,255,255,.11); }
.nav-item.is-active { color: #fff; background: rgba(255,255,255,.24); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 8px 16px rgba(116,21,23,.13); }
.nav-item::before { content: ""; position: absolute; z-index: 0; inset: 0; border-radius: inherit; opacity: 0; background: radial-gradient(circle at 18% 50%, rgba(255,231,161,.32), transparent 44%); transition: opacity .24s; }
.nav-item:hover::before, .nav-item.is-active::before { opacity: 1; }
.nav-shine { position: absolute !important; z-index: 1 !important; top: -25%; left: 0; width: 22%; height: 150%; opacity: 0; background: linear-gradient(90deg, transparent, rgba(255,246,211,.72), transparent); filter: blur(1px); pointer-events: none; transform: skewX(-18deg); will-change: transform, opacity; }
.nav-count { display: grid; width: 19px; height: 19px; margin-left: auto; place-items: center; border-radius: 50%; color: var(--coral-deep); background: #fff; font-family: var(--font-number); font-size: 10px; }
.admin-sidebar .brand-block { padding-bottom: 13px; }
.admin-sidebar .brand-block img { width: 58px; height: 58px; }
.admin-sidebar .nav-menu { gap: 2px; }
.admin-sidebar .nav-item { min-height: 38px; font-size: 12px; }
.admin-sidebar .season-card { padding: 10px 12px; }
.admin-entry-link { position: relative; z-index: 1; display: flex; min-height: 46px; margin-top: auto; padding: 0 13px; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; color: #fff; background: rgba(255,255,255,.12); font-size: 12px; font-weight: 700; text-decoration: none; }
.admin-entry-link svg { width: 17px; height: 17px; }
.admin-entry-link svg:last-child { width: 14px; height: 14px; margin-left: auto; }
.admin-entry-link:hover { background: rgba(255,255,255,.2); }
.season-card { position: relative; z-index: 1; display: grid; grid-template-columns: 19px 1fr; gap: 7px 8px; margin-top: 12px; padding: 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.14); backdrop-filter: blur(12px); }
.season-card svg { width: 18px; height: 18px; }
.season-card strong { font-size: 12px; }
.season-card span { grid-column: 1/-1; font-family: var(--font-number); font-size: 13px; }
.season-card i { grid-column: 1/-1; width: 20px; height: 1px; background: rgba(255,255,255,.35); }

body.cockpit-mode .sidebar { color: #6f2b29; background: linear-gradient(180deg, #fffaf9, #fff2ef); box-shadow: 8px 0 28px rgba(100,26,28,.13); }
body.cockpit-mode .sidebar-aurora { opacity: .2; }
body.cockpit-mode .sidebar::after { opacity: .5; background: linear-gradient(160deg, transparent 45%, #f7c9c3 46% 47%, transparent 48% 58%, #f5d5cf 59% 60%, transparent 61%); }
body.cockpit-mode .brand-block strong { color: #df3f3b; text-shadow: none; }
body.cockpit-mode .brand-block span { color: #d54d48; }
body.cockpit-mode .nav-item { color: #753b38; }
body.cockpit-mode .nav-item:hover { background: #fff0ed; }
body.cockpit-mode .nav-item.is-active { color: #fff; background: linear-gradient(135deg, #ff655e, #ea4540); box-shadow: 0 8px 18px rgba(223,63,59,.2); }
body.cockpit-mode .admin-entry-link { border-color: #f2bdb7; color: #d93f3b; background: #fff; }
body.cockpit-mode .season-card { border-color: #f1d7d3; color: #72433f; background: rgba(255,255,255,.7); }
body.cockpit-mode .season-card i { background: #eccac6; }

.workspace { min-height: 100vh; margin-left: var(--sidebar-width); background: radial-gradient(circle at 72% -12%, rgba(255,223,218,.6), transparent 32%), #fff8f6; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; height: 64px; padding: 0 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(236,208,203,.82); background: rgba(255,252,251,.9); box-shadow: 0 4px 16px rgba(93,49,44,.05); backdrop-filter: blur(18px); }
.topbar-page { display: grid; gap: 1px; }
.topbar-page span { color: #b08c88; font-size: 9px; letter-spacing: .12em; }
.topbar-page strong { color: #54312e; font-size: 13px; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.sync-indicator, .live-clock { display: inline-flex; align-items: center; gap: 7px; color: #84615e; font-size: 10px; }
.sync-indicator i { width: 7px; height: 7px; border-radius: 50%; background: #37b57f; box-shadow: 0 0 0 4px rgba(55,181,127,.09); animation: pulse 1.8s infinite; }
.live-clock { height: 36px; padding: 0 12px; border-left: 1px solid var(--line); }
.live-clock svg { width: 15px; height: 15px; color: var(--coral); }
.live-clock b { min-width: 57px; color: #5b3936; font-family: var(--font-number); font-size: 12px; font-variant-numeric: tabular-nums; }
@keyframes pulse { 50% { opacity: .45; } }
.mobile-menu { display: none; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--coral-deep); background: #fff; }
.mobile-menu svg { width: 19px; height: 19px; }
.outline-button, .primary-button, .secondary-button { display: inline-flex; min-height: 40px; padding: 0 14px; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; font-size: 11px; font-weight: 700; text-decoration: none; }
.outline-button { border: 1px solid var(--line); color: #6c4542; background: #fff; }
.outline-button:hover { border-color: #efa7a1; color: var(--coral-deep); }
.outline-button svg, .primary-button svg, .secondary-button svg { width: 16px; height: 16px; }
.primary-button { border: 1px solid #eb4a45; color: #fff; background: linear-gradient(135deg, #ff645d, #e9423d); box-shadow: 0 7px 15px rgba(221,62,58,.18); }
.secondary-button { border: 1px solid #edb3ad; color: var(--coral-deep); background: #fff3f1; }
.sidebar-overlay { display: none; }

.page-content { padding: 20px 30px 30px; }
.view-panel { max-width: 1400px; margin: 0 auto; }
.page-heading { display: flex; min-height: 64px; margin: 0 3px 12px; align-items: flex-start; justify-content: space-between; gap: 18px; }
.page-heading h1 { margin: 0; color: var(--ink); font-size: 28px; letter-spacing: -.04em; line-height: 1.2; }
.page-heading p { margin: 6px 0 0; color: #755855; font-size: 11px; }
.page-heading p b { color: var(--coral-deep); }
.live-status { display: inline-flex; margin-top: 9px; align-items: center; gap: 7px; color: #6d5a57; font-size: 10px; }
.live-status i { width: 7px; height: 7px; border-radius: 50%; background: #3cb483; box-shadow: 0 0 0 4px rgba(60,180,131,.09); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
.kpi-card { display: flex; min-height: 82px; padding: 14px 17px; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.87); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.kpi-icon { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--coral); background: #ffe5e2; }
.kpi-icon.medal { color: #e5a414; background: #fff0c9; }
.kpi-icon svg { width: 23px; height: 23px; }
.kpi-card div { display: grid; gap: 2px; }
.kpi-card div > span { color: #745653; font-size: 11px; }
.kpi-card strong { color: #42201e; font-family: var(--font-number); font-size: 25px; font-variant-numeric: tabular-nums; line-height: 1; }
.public-toolbar { display: flex; margin-bottom: 10px; align-items: center; justify-content: space-between; gap: 14px; }
.public-tabs { display: inline-flex; padding: 3px; border: 1px solid var(--line-soft); border-radius: 11px; background: rgba(255,255,255,.72); }
.public-tabs button { min-width: 118px; height: 36px; border: 0; border-radius: 8px; color: #775957; background: transparent; font-size: 12px; font-weight: 700; }
.public-tabs button.is-active { color: var(--coral-deep); background: #fff; box-shadow: 0 4px 12px rgba(118,62,58,.08); }
.search-field { display: flex; width: 240px; height: 38px; padding: 0 12px; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: #fff; }
.search-field svg { width: 16px; height: 16px; }
.search-field input { width: 100%; border: 0; outline: 0; color: var(--body); background: transparent; font-size: 11px; }

.panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.board-layout { display: block; }
.ranking-panel { overflow: hidden; }
.table-wrap { overflow: auto; }
.ranking-table, .entry-table, .company-admin-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.ranking-table { min-width: 720px; }
th { height: 37px; padding: 0 13px; border-bottom: 1px solid var(--line); color: #725654; background: rgba(255,248,247,.72); font-size: 10px; font-weight: 750; text-align: left; white-space: nowrap; }
td { height: 41px; padding: 5px 13px; border-bottom: 1px solid var(--line-soft); color: #4f3735; font-size: 11px; vertical-align: middle; }
.ranking-table tbody tr:last-child td { border-bottom: 0; }
.ranking-table tbody tr:hover td { background: #fff8f7; }
.ranking-table tbody tr.top-rank td { background: rgba(255,238,235,.76); }
.ranking-table tbody tr.top-rank td:first-child { border-left: 2px solid #ff786f; }
.ranking-table tbody tr.top-rank td:last-child { border-right: 2px solid #ff786f; }
.ranking-table tbody tr.top-rank-1 td { border-top: 2px solid #ff786f; }
.ranking-table tbody tr.top-rank-3 td { border-bottom: 2px solid #ff786f; }
.ranking-table tbody tr.top-rank-1 td:first-child { border-top-left-radius: 12px; }
.ranking-table tbody tr.top-rank-1 td:last-child { border-top-right-radius: 12px; }
.ranking-table tbody tr.top-rank-3 td:first-child { border-bottom-left-radius: 12px; }
.ranking-table tbody tr.top-rank-3 td:last-child { border-bottom-right-radius: 12px; }
.rank-cell { --rank-icon-left: 4px; --rank-secondary-axis: 82px; width: 168px; min-width: 168px; padding-left: 18px; text-align: left; }
.rank-badge { display: inline-grid; width: 30px; height: 30px; place-items: center; border: 1px solid #ead9d7; border-radius: 50%; color: #765957; background: #fff; font-family: var(--font-number); font-size: 12px; box-shadow: 0 3px 8px rgba(119,63,59,.08); }
.rank-badge.top-1 { border-color: #f3c35f; color: #8c5d00; background: linear-gradient(145deg,#fff3bd,#edb333); }
.rank-badge.top-2 { border-color: #bac4ca; color: #536067; background: linear-gradient(145deg,#f5f8f9,#bdc6cb); }
.rank-badge.top-3 { border-color: #d99361; color: #703912; background: linear-gradient(145deg,#f4c096,#c9783d); }
.rank-award { position: relative; display: block; width: 122px; min-width: 122px; height: 40px; text-align: left; }
.rank-trophy { position: absolute; left: var(--rank-icon-left); top: 2px; width: 36px; height: 36px; stroke-width: 1.65 !important; will-change: transform; }
.rank-award > span { position: absolute; left: var(--rank-secondary-axis); top: 3px; display: grid; width: 66px; justify-items: center; gap: 2px; text-align: center; transform: translateX(-50%); }
.rank-award strong { color: #6f4811; font-size: 13px; line-height: 1.1; }
.rank-award small { color: #d7443f; font-family: var(--font-number); font-size: 12px; font-weight: 800; white-space: nowrap; }
.rank-award-1 .rank-trophy { color: #e5a514; filter: drop-shadow(0 2px 3px rgba(214,151,9,.28)); }
.rank-award-2 .rank-trophy { color: #96a0a5; filter: drop-shadow(0 2px 3px rgba(87,99,106,.18)); }
.rank-award-3 .rank-trophy { color: #c66f39; filter: drop-shadow(0 2px 3px rgba(159,78,28,.2)); }
.rank-award-2 strong { color: #596368; }
.rank-award-3 strong { color: #7c421f; }
.rank-standard { position: relative; display: inline-block; width: 122px; min-width: 122px; height: 40px; vertical-align: middle; }
.rank-standard .rank-badge { position: absolute; left: var(--rank-secondary-axis); top: 5px; transform: translateX(-50%); }
.rank-standard.is-bottom { width: 122px; min-width: 122px; }
.rank-creature { position: absolute; left: var(--rank-icon-left); top: 2px; width: 50px; height: 34px; overflow: visible; will-change: transform; filter: drop-shadow(0 2px 3px rgba(78,66,34,.16)); }
.rank-creature * { vector-effect: non-scaling-stroke; transform-box: fill-box; }
.creature-eye { fill: #2d2a23; stroke: none; }
.creature-mouth { fill: none; stroke: #3d322c; stroke-width: 1; stroke-linecap: round; }
.caterpillar-segment { fill: #8ebf54; stroke: #4f7a35; stroke-width: 1.2; }
.caterpillar-head { fill: #a5cd62; }
.caterpillar-hair { fill: none; stroke: #536b32; stroke-width: 1.15; stroke-linecap: round; }
.turtle-tail, .turtle-leg, .turtle-head circle { fill: #75ad62; stroke: #416f43; stroke-width: 1.1; }
.turtle-shell ellipse { fill: #a8c45f; stroke: #4e713b; stroke-width: 1.2; }
.turtle-shell path { fill: none; stroke: #708b43; stroke-width: 1; stroke-linecap: round; opacity: .9; }
.snail-body, .snail-head circle { fill: #d9aa70; stroke: #8f6345; stroke-width: 1.1; }
.snail-shell circle { fill: #d98354; stroke: #984d35; stroke-width: 1.2; }
.snail-shell path { fill: none; stroke: #a95039; stroke-width: 1.2; stroke-linecap: round; }
.snail-antenna { fill: none; stroke: #8f6345; stroke-width: 1.15; stroke-linecap: round; }
.snail-eye { fill: #44342b; stroke: none; }
.company-cell { display: flex; min-width: 245px; align-items: center; gap: 9px; }
.company-avatar { width: 29px; height: 29px; padding: 3px; border: 1px solid #eee1df; border-radius: 8px; background: #fff; object-fit: contain; }
.company-name { color: #442b29; font-weight: 650; }
.number-cell { font-family: var(--font-number); font-variant-numeric: tabular-nums; }
.actual-cell { color: var(--coral-deep); }
.progress-cell { min-width: 220px; }
.progress-line { display: flex; align-items: center; gap: 9px; }
.progress-track { height: 6px; flex: 1; min-width: 100px; overflow: hidden; border-radius: 99px; background: #f3e2e0; }
.progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg,#ff7e75,#e74742); transition: width .35s; }
.progress-fill.done { background: linear-gradient(90deg,#58c39b,#22966c); }
.progress-value { width: 48px; font-family: var(--font-number); text-align: right; }
.table-footer { display: flex; min-height: 38px; padding: 11px 14px; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line-soft); color: #9a7e7b; font-size: 10px; }
.process-panel { display: grid; grid-template-columns: 180px 1fr 26px 1fr 26px 1fr; min-height: 91px; margin-top: 12px; padding: 13px 18px; align-items: center; gap: 13px; }
.process-title { display: flex; padding-right: 18px; align-items: center; gap: 12px; border-right: 1px solid var(--line); }
.process-title > svg { width: 24px; height: 24px; color: #7b4c48; }
.process-title h2 { margin: 0; color: var(--ink); font-size: 18px; }
.process-title span { color: var(--muted); font-size: 10px; }
.process-step { display: flex; align-items: center; gap: 11px; }
.round-icon { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--coral); background: #ffe6e3; }
.round-icon svg { width: 21px; height: 21px; }
.process-step div { display: grid; }
.process-step small { color: #654a47; font-size: 10px; }
.process-step strong { color: var(--ink); font-family: var(--font-number); font-size: 18px; line-height: 1.2; }
.process-step p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }
.process-arrow { width: 21px; height: 21px; color: #c6aaa6; transform: rotate(45deg); }

/* 问鼎全局横幅 */
.summit-banner-wrap { position: relative; max-width: 1400px; margin: 0 auto 18px; overflow: hidden; border: 1px solid #e9a39a; border-radius: 19px; background: rgba(255,255,255,.92); box-shadow: 0 12px 30px rgba(116,37,33,.13); }
.summit-banner-main { position: relative; display: grid; min-height: 142px; padding: 18px clamp(28px, 6vw, 92px); overflow: hidden; grid-template-columns: minmax(230px,.65fr) minmax(480px,1.35fr); align-items: center; color: #fff6dc; background: radial-gradient(circle at 70% 38%, rgba(255,191,86,.21), transparent 22%), linear-gradient(115deg, rgba(255,180,64,.08), transparent 30% 65%, rgba(255,185,75,.12)), linear-gradient(130deg, #8b0f14 0%, #c31e1d 50%, #8f1015 100%); isolation: isolate; }
.summit-banner-main::before, .summit-banner-main::after { content: ""; position: absolute; z-index: -1; left: -7%; width: 115%; height: 54px; border: 1px solid rgba(255,219,131,.38); border-radius: 50%; transform: rotate(-2deg); pointer-events: none; }
.summit-banner-main::before { bottom: -4px; box-shadow: 0 -8px 22px rgba(255,176,71,.2), inset 0 9px 24px rgba(255,218,133,.12); }
.summit-banner-main::after { bottom: 22px; opacity: .55; transform: rotate(3deg); }
.summit-rays { position: absolute; inset: 0; z-index: -2; opacity: .36; background: repeating-conic-gradient(from 250deg at 50% 110%, rgba(255,222,138,.28) 0 1.4deg, transparent 1.6deg 7deg); mask-image: linear-gradient(to top, #000, transparent 86%); }
.summit-sheen { position: absolute; inset: -20% auto -20% -28%; z-index: 3; width: 18%; background: linear-gradient(90deg, transparent, rgba(255,245,199,.34), transparent); filter: blur(3px); transform: skewX(-16deg); pointer-events: none; will-change: transform; }
.summit-title { display: flex; align-items: center; gap: 5px; font-family: "STKaiti", "KaiTi", var(--font-body); font-size: clamp(54px,5.2vw,78px); font-weight: 900; letter-spacing: -.08em; line-height: 1; text-shadow: 0 3px 0 #7a170f, 0 0 18px rgba(255,218,117,.35); }
.summit-title span { color: #f9d574; background: linear-gradient(180deg,#fff1b2 0%,#f2c95c 48%,#c8871e 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 3px 1px rgba(84,11,10,.35)); transform-origin: 50% 100%; }
.summit-champion { display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: center; justify-self: center; gap: 23px; }
.summit-logo-frame { position: relative; display: grid; width: 105px; height: 105px; place-items: center; border: 4px solid #f6d278; border-radius: 26px; background: #fff; box-shadow: 0 0 0 6px rgba(255,225,137,.17), 0 12px 28px rgba(65,7,7,.3); will-change: transform; }
.summit-logo-frame::before, .summit-logo-frame::after { content: ""; position: absolute; top: 24px; width: 25px; height: 60px; border: 2px solid #edc65f; border-top: 0; border-bottom: 0; opacity: .8; }
.summit-logo-frame::before { left: -24px; border-radius: 80% 0 0 80%; transform: rotate(-16deg); }
.summit-logo-frame::after { right: -24px; border-radius: 0 80% 80% 0; transform: rotate(16deg); }
.summit-logo-frame img { width: 82px; height: 82px; border-radius: 19px; object-fit: contain; }
.summit-crown { position: absolute; z-index: 3; top: 4px; left: calc(50% + 4px); width: 31px; height: 31px; color: #ffe49a; filter: drop-shadow(0 4px 4px rgba(89,10,7,.36)); will-change: transform; }
.summit-champion-copy { display: grid; min-width: 0; gap: 7px; }
.summit-champion-copy strong { color: #ffeaa6; font-size: clamp(28px,2.7vw,42px); letter-spacing: .05em; line-height: 1; text-shadow: 0 2px 8px rgba(62,5,4,.34); }
.summit-champion-copy span { overflow: hidden; color: #fff; font-size: clamp(15px,1.45vw,23px); font-weight: 750; text-overflow: ellipsis; text-shadow: 0 2px 6px rgba(62,5,4,.3); white-space: nowrap; }
.summit-spark { position: absolute; z-index: 2; width: 5px; height: 5px; border-radius: 50%; background: #ffdc73; box-shadow: 0 0 12px #ffdc73; opacity: .7; will-change: transform, opacity; }
.summit-spark.spark-one { left: 31%; top: 27%; }.summit-spark.spark-two { right: 12%; top: 21%; }.summit-spark.spark-three { right: 29%; bottom: 20%; }
.summit-countdown { position: relative; display: grid; min-height: 64px; padding: 0 clamp(22px,3vw,44px); overflow: hidden; grid-template-columns: minmax(260px,1fr) auto minmax(450px,1.2fr); align-items: center; gap: 28px; color: #5a302d; background: rgba(255,252,250,.95); }
.summit-date, .countdown-label { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.summit-date svg, .countdown-label svg { width: 18px; height: 18px; color: var(--coral-deep); }
.summit-date span, .countdown-label span { color: #785653; font-size: 11px; }
.summit-date strong { color: #442421; font-size: 12px; }
.countdown-values { position: relative; z-index: 2; display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.countdown-values > span { margin-right: 8px; color: #785653; font-size: 11px; }
.countdown-values strong { min-width: 29px; color: #d93431; font-family: var(--font-number); font-size: 26px; text-align: center; font-variant-numeric: tabular-nums; line-height: 1; will-change: transform; }
.countdown-values i { color: #72504d; font-size: 10px; font-style: normal; }
.summit-wave-field { position: absolute; z-index: 0; inset: 0; opacity: .64; pointer-events: none; }
.summit-wave-field svg { width: 100%; height: 100%; }
.summit-wave { fill: none !important; stroke-linecap: round; will-change: transform; }
.summit-wave.wave-one { stroke: #f37d70; stroke-width: 1.2; stroke-dasharray: 2 6; }
.summit-wave.wave-two { stroke: #eab25f; stroke-width: 1; stroke-dasharray: 1 7; }
.summit-wave.wave-three { stroke: #f0b3ab; stroke-width: 1.2; opacity: .8; }
body.cockpit-mode .summit-banner-wrap { max-width: none; margin-bottom: 10px; }

/* 前台运营页面 */
.operation-public-page { min-height: 520px; }
.public-operation-panel { overflow: hidden; border-color: #efc7c2; border-radius: 19px; background: rgba(255,253,252,.9); box-shadow: 0 13px 34px rgba(132,49,43,.1); }
.calendar-toolbar { display: grid; min-height: 78px; padding: 13px 16px 13px 18px; grid-template-columns: minmax(210px,1fr) auto minmax(440px,1.4fr); align-items: center; gap: 18px; border-bottom: 1px solid #efccc7; background: linear-gradient(110deg,rgba(255,238,234,.9),rgba(255,255,255,.82) 52%,rgba(255,244,224,.74)); }
.calendar-toolbar-title { display: flex; min-width: 0; align-items: center; gap: 11px; }
.calendar-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid #efb8b1; border-radius: 13px; color: #d73c37; background: linear-gradient(145deg,#fff,#ffe9e5); box-shadow: 0 7px 17px rgba(215,60,55,.11); }
.calendar-icon svg { width: 21px; height: 21px; }
.calendar-toolbar-title div { display: grid; gap: 2px; }
.calendar-toolbar-title small { color: #cf4b45; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.calendar-toolbar-title strong { color: #4a2926; font-size: 19px; letter-spacing: -.02em; }
.calendar-toolbar-summary { display: flex; align-items: baseline; gap: 5px; color: #997672; white-space: nowrap; }
.calendar-toolbar-summary b { color: #d83d38; font-family: var(--font-number); font-size: 18px; }
.calendar-toolbar-summary span { font-size: 9px; }
.calendar-toolbar-summary i { width: 1px; height: 18px; margin: 0 7px; background: #e9c9c5; }
.calendar-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.calendar-step, .calendar-today-button { display: inline-flex; height: 38px; align-items: center; justify-content: center; border: 1px solid #edc6c1; border-radius: 10px; color: #b93632; background: rgba(255,255,255,.88); box-shadow: 0 5px 13px rgba(111,54,49,.07); }
.calendar-step { width: 38px; padding-bottom: 2px; font-family: Arial,sans-serif; font-size: 25px; line-height: 1; }
.calendar-today-button { padding: 0 12px; gap: 7px; font-size: 10px; font-weight: 750; }
.calendar-today-button svg { width: 15px; height: 15px; }
.calendar-step:hover, .calendar-today-button:hover { border-color: #e98981; color: #fff; background: linear-gradient(135deg,#f26159,#d83b37); transform: translateY(-1px); }
.calendar-month-picker { position: relative; display: flex; height: 38px; align-items: center; border: 1px solid #edc6c1; border-radius: 10px; color: #8a605d; background: #fff; overflow: hidden; }
.calendar-month-picker span { padding-left: 11px; font-size: 9px; white-space: nowrap; }
.calendar-month-picker input { width: 140px; height: 36px; padding: 0 9px; border: 0; border-radius: 0; color: #4c2c29; background: transparent; font-family: var(--font-number); font-size: 11px; }
.calendar-scroll { width: 100%; overflow-x: auto; background: rgba(255,255,255,.55); }
.calendar-weekdays, .calendar-grid { display: grid; min-width: 980px; grid-template-columns: repeat(7,minmax(140px,1fr)); }
.calendar-weekdays { min-height: 38px; border-bottom: 1px solid #edcfca; background: rgba(255,244,242,.78); }
.calendar-weekdays span { display: grid; place-items: center; border-right: 1px solid #f1d9d5; color: #744a46; font-size: 10px; font-weight: 800; }
.calendar-weekdays span:last-child { border-right: 0; }
.calendar-day { position: relative; min-height: 116px; padding: 8px 8px 7px; border-right: 1px solid #f0dcd8; border-bottom: 1px solid #f0dcd8; background: linear-gradient(155deg,rgba(255,255,255,.88),rgba(255,249,247,.72)); }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day:nth-last-child(-n+7) { border-bottom: 0; }
.calendar-day.is-outside { background: rgba(250,246,245,.7); }
.calendar-day.is-outside > header, .calendar-day.is-outside .calendar-events { opacity: .34; }
.calendar-day > header { display: flex; height: 28px; align-items: center; justify-content: space-between; }
.calendar-day > header time { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: #4b3431; font-family: var(--font-number); font-size: 12px; font-weight: 750; }
.calendar-day > header span { color: #cc433d; font-size: 8px; font-weight: 800; }
.calendar-day.is-today > header time { color: #fff5d6; background: linear-gradient(145deg,#ed5049,#b71f20); box-shadow: 0 0 0 3px rgba(235,76,69,.12),0 5px 10px rgba(174,35,34,.2); }
.calendar-day.has-events { background: radial-gradient(circle at 88% 10%,rgba(255,206,123,.13),transparent 31%),linear-gradient(155deg,#fff,#fff8f6); }
.calendar-events { display: grid; gap: 4px; margin-top: 3px; }
.calendar-event { position: relative; display: grid; min-height: 29px; padding: 5px 7px 5px 10px; overflow: hidden; gap: 1px; border: 1px solid transparent; border-radius: 7px; isolation: isolate; }
.calendar-event::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 0 3px 3px 0; background: currentColor; box-shadow: 0 0 7px currentColor; }
.calendar-event strong, .calendar-event small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-event strong { color: currentColor; font-size: 8.5px; }
.calendar-event small { color: #987974; font-size: 7px; }
.calendar-event.tone-coral { color: #c83733; border-color: rgba(216,61,56,.09); background: rgba(255,232,228,.72); }
.calendar-event.tone-gold { color: #a56d0a; border-color: rgba(212,157,47,.1); background: rgba(255,246,222,.82); }
.calendar-event.tone-blue { color: #315fb0; border-color: rgba(63,105,180,.09); background: rgba(232,240,255,.82); }
.calendar-event.tone-green { color: #2f7e59; border-color: rgba(54,142,99,.09); background: rgba(232,247,238,.86); }
.calendar-more { padding: 2px 5px; color: #a6817c; font-size: 7px; font-weight: 700; }
.calendar-footer { display: flex; min-height: 42px; padding: 9px 15px; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #efd6d2; color: #967672; background: rgba(255,249,247,.86); font-size: 9px; }
.calendar-footer span { display: inline-flex; align-items: center; gap: 7px; }
.calendar-footer span i { width: 6px; height: 6px; border-radius: 50%; background: #37ad79; box-shadow: 0 0 0 4px rgba(55,173,121,.08); }
.calendar-footer strong { color: #c34640; font-size: 9px; }

/* 彩光卡片与点击波纹 */
.motion-card { --glow-x: 50%; --glow-y: 50%; position: relative; transform-style: preserve-3d; backface-visibility: hidden; }
.motion-card::after { content: ""; position: absolute; z-index: 6; inset: 0; padding: 1px; border-radius: inherit; opacity: 0; background: radial-gradient(circle at var(--glow-x) var(--glow-y),rgba(255,231,143,.98),rgba(255,103,94,.62) 27%,rgba(75,194,159,.28) 48%,transparent 67%); pointer-events: none; transition: opacity .28s; -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.motion-card:hover::after { opacity: .88; }
.motion-chip { position: relative; transition: transform .22s ease,box-shadow .22s ease,filter .22s ease; }
.motion-chip:hover { transform: translateY(-1px); filter: saturate(1.08); box-shadow: 0 7px 16px rgba(155,58,50,.12); }
.card-ripple { position: absolute; z-index: 5; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: radial-gradient(circle,rgba(255,238,174,.72),rgba(255,105,96,.18) 55%,transparent 70%); pointer-events: none; transform-origin: 50% 50%; }
.priority-badge, .operation-status { display: inline-flex; min-height: 25px; padding: 0 9px; align-items: center; justify-content: center; border-radius: 8px; font-size: 9px; font-weight: 750; white-space: nowrap; }
.priority-高 { color: #b84a15; background: #fff0cd; }.priority-中 { color: #a36f18; background: #fff7df; }.priority-低 { color: #3c805e; background: #e9f6ef; }
.operation-status.is-pending { color: #c84a45; background: #ffe8e5; }.operation-status.is-progress { color: #315eb2; background: #e8efff; }.operation-status.is-complete { color: #2c8058; background: #e7f5ed; }

/* 数据驾驶舱 */
body.cockpit-mode .workspace { background: #fff3f1; }
body.cockpit-mode .page-content { max-width: none; padding: 10px 12px 14px; }
body.cockpit-mode .view-panel { max-width: none; }
.cockpit-shell { position: relative; min-height: calc(100vh - 88px); padding: 18px; overflow: hidden; border: 1px solid #7a2929; border-radius: 17px; color: #f9dfda; background:
  radial-gradient(circle at 50% 38%, rgba(135,24,26,.42), transparent 25%),
  linear-gradient(rgba(255,78,71,.025) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,78,71,.025) 1px, transparent 1px),
  linear-gradient(145deg, #19090d 0%, #26080f 55%, #14080b 100%); background-size: auto, 34px 34px, 34px 34px, auto; box-shadow: inset 0 0 70px rgba(0,0,0,.5), 0 12px 30px rgba(70,12,15,.18); }
.cockpit-shell::before, .cockpit-shell::after { content: ""; position: absolute; pointer-events: none; }
.cockpit-shell::before { inset: 12px; border: 1px solid rgba(255,82,75,.12); clip-path: polygon(0 0, 15% 0, 17% 2px, 83% 2px, 85% 0, 100% 0, 100% 100%, 0 100%); }
.cockpit-shell::after { top: 63px; left: 50%; width: 42%; height: 1px; background: linear-gradient(90deg, transparent, #ff584f, transparent); transform: translateX(-50%); box-shadow: 0 0 14px #ff584f; }
.cockpit-header { position: relative; z-index: 1; display: flex; min-height: 62px; padding: 0 10px 12px; align-items: flex-start; justify-content: center; text-align: center; }
.cockpit-header h1 { margin: 0; color: #fff2e9; font-size: clamp(27px, 2.35vw, 39px); font-weight: 900; letter-spacing: .08em; line-height: 1.05; text-shadow: 0 2px 0 #7d291f, 0 0 22px rgba(255,97,74,.28); }
.cockpit-header p { margin: 8px 0 0; color: #f2c760; font-size: 13px; letter-spacing: .17em; }
.cockpit-header > span { position: absolute; right: 8px; top: 6px; display: inline-flex; align-items: center; gap: 6px; color: #c9948d; font-family: var(--font-number); font-size: 10px; }
.cockpit-header > span i { width: 6px; height: 6px; border-radius: 50%; background: #ff5f56; box-shadow: 0 0 10px #ff5f56; }
.cockpit-kpis { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 12px; }
.cockpit-kpi { position: relative; min-height: 76px; padding: 12px 16px; overflow: hidden; border: 1px solid #7f302d; border-radius: 12px; background: linear-gradient(145deg, rgba(67,18,23,.92), rgba(29,9,13,.9)); box-shadow: inset 0 0 20px rgba(255,74,67,.04); }
.cockpit-kpi::before { content: ""; position: absolute; left: -1px; top: 13px; width: 3px; height: 31px; border-radius: 2px; background: #ff5b52; box-shadow: 0 0 11px #ff5b52; }
.cockpit-kpi > span { color: #d9aaa4; font-size: 11px; }
.cockpit-kpi div { display: flex; margin-top: 2px; align-items: baseline; gap: 6px; }
.cockpit-kpi strong { color: #ff6259; font-family: var(--font-number); font-size: 29px; letter-spacing: .02em; line-height: 1; font-variant-numeric: tabular-nums; }
.cockpit-kpi.gold strong { color: #f6bd43; }
.cockpit-kpi b { color: #c89992; font-size: 10px; }
.cockpit-kpi > i { position: absolute; right: 13px; bottom: 12px; width: 38px; height: 12px; border-top: 1px solid rgba(255,91,82,.45); border-bottom: 1px solid rgba(255,91,82,.2); transform: skewX(-28deg); }
.cockpit-main-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .98fr) minmax(0, 1fr); gap: 12px; min-height: 300px; }
.cockpit-panel { position: relative; overflow: hidden; border: 1px solid #71302e; border-radius: 13px; background: linear-gradient(155deg, rgba(44,12,18,.94), rgba(20,7,10,.93)); box-shadow: inset 0 0 28px rgba(255,70,63,.035); }
.cockpit-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,94,85,.8), transparent); }
.cockpit-panel-title { padding: 15px 15px 7px; }
.cockpit-panel-title span { color: #e75a52; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.cockpit-panel-title h2 { margin: 3px 0 0; color: #f9ded8; font-size: 16px; }
.cockpit-panel-title.horizontal { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cockpit-panel-title small, .cockpit-panel-title a { color: #a87772; font-size: 9px; text-decoration: none; }
.cockpit-bars { display: grid; gap: 13px; padding: 17px 15px 15px; }
.cockpit-bar-row { display: grid; grid-template-columns: 25px minmax(92px, .72fr) minmax(70px, 1fr) 50px; align-items: center; gap: 9px; }
.combat-rank { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid #70413c; border-radius: 50%; color: #c59b95; font-family: var(--font-number); font-size: 9px; }
.combat-rank.rank-1 { border-color: #f3b83c; color: #2d1800; background: #f3b83c; box-shadow: 0 0 10px rgba(243,184,60,.24); }
.combat-rank.rank-2 { color: #302f31; background: #c6c8ca; }
.combat-rank.rank-3 { color: #351b0e; background: #cd7542; }
.cockpit-bar-row label { overflow: hidden; color: #e5c5c0; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.combat-track { height: 7px; overflow: hidden; border: 1px solid #6c302f; border-radius: 99px; background: rgba(8,3,5,.8); }
.combat-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #d72e31, #ff6b5e); box-shadow: 0 0 10px #f24a43; transition: width .45s ease; }
.cockpit-bar-row strong { color: #ff8b7d; font-family: var(--font-number); font-size: 11px; text-align: right; }
.combat-ring-panel { position: relative; display: grid; min-height: 300px; place-items: center; align-content: center; }
.combat-ring-panel::before { content: ""; position: absolute; inset: 8% 4%; background: radial-gradient(circle, rgba(255,76,67,.12), transparent 58%); filter: blur(4px); }
.ring-caption { position: absolute; top: 3px; left: 50%; color: #f5d7d0; font-size: 15px; font-weight: 800; letter-spacing: .08em; transform: translateX(-50%); }
.command-ring { --ring-progress: 0deg; position: relative; display: grid; width: 222px; height: 222px; place-items: center; border-radius: 50%; background: conic-gradient(from -90deg, #ff5f55 0 var(--ring-progress), rgba(114,43,40,.32) var(--ring-progress) 360deg); box-shadow: 0 0 30px rgba(255,72,63,.18); }
.command-ring::before { content: ""; position: absolute; inset: 11px; border: 1px solid #973d38; border-radius: 50%; background: radial-gradient(circle, #260b10 0 58%, #13070a 59%); box-shadow: inset 0 0 28px rgba(0,0,0,.65), 0 0 0 5px #1c090d; }
.ring-ticks { position: absolute; inset: -12px; border: 1px dashed rgba(255,104,91,.45); border-radius: 50%; animation: orbit 30s linear infinite; }
.ring-ticks::before, .ring-ticks::after { content: ""; position: absolute; inset: 9px; border: 1px dotted rgba(245,181,62,.25); border-radius: 50%; }
.ring-ticks::after { inset: -7px; border-color: rgba(255,91,82,.16); }
@keyframes orbit { to { transform: rotate(360deg); } }
.ring-core { position: relative; z-index: 1; display: grid; justify-items: center; }
.ring-core > span { color: #d5aaa3; font-size: 11px; }
.ring-core > strong { margin: 4px 0; color: #ff5c52; font-family: var(--font-number); font-size: 40px; line-height: 1; text-shadow: 0 0 15px rgba(255,82,72,.3); }
.ring-core p { margin: 0; color: #c6958e; font-family: var(--font-number); font-size: 13px; }
.ring-core p b { color: #f4c25b; }
.ring-foot { position: absolute; left: 50%; bottom: 0; display: flex; gap: 28px; transform: translateX(-50%); white-space: nowrap; }
.ring-foot span { color: #a77c76; font-size: 9px; }
.ring-foot b { display: block; margin-top: 1px; color: #f2b944; font-family: var(--font-number); font-size: 14px; text-align: center; }
.ring-foot span:last-child b { color: #ff5f55; }
.cockpit-contributions { display: grid; gap: 13px; padding: 10px 15px 15px; }
.contribution-row { display: grid; grid-template-columns: 28px 1fr 77px; align-items: center; gap: 10px; }
.contribution-row > span { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #8a3835; border-radius: 50%; color: #ff796d; font-family: var(--font-number); font-size: 8px; }
.contribution-row > div { display: grid; gap: 5px; }
.contribution-row label { color: #e3c4be; font-size: 10px; }
.contribution-row > strong { color: #ff927f; font-family: var(--font-number); font-size: 12px; text-align: right; }
.contribution-row small { display: block; color: #936c67; font-size: 8px; font-weight: 500; }
.cockpit-bottom-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 12px; min-height: 275px; margin-top: 12px; }
.cockpit-table-wrap { margin: 0 12px 12px; overflow: auto; border: 1px solid #49201f; border-radius: 8px; }
.cockpit-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.cockpit-table th { height: 27px; padding: 0 8px; border-color: #512322; color: #c38e87; background: rgba(61,20,23,.82); font-size: 8px; }
.cockpit-table td { height: 25px; padding: 3px 8px; border-color: #3c1b1b; color: #dcbdb7; background: rgba(16,6,8,.42); font-family: var(--font-number); font-size: 8.5px; }
.cockpit-table tbody tr:hover td { background: rgba(103,28,29,.28); }
.cockpit-table td:nth-child(n+3) { text-align: right; }
.cockpit-table td b { color: #f2b943; }
.matrix-rank { color: #ff7065; }
.matrix-company { display: flex; min-width: 180px; align-items: center; gap: 6px; }
.matrix-company img { width: 19px; height: 19px; padding: 2px; border-radius: 5px; background: #fff; object-fit: contain; }
.matrix-company span { overflow: hidden; color: #ead0cb; font-family: var(--font-body); text-overflow: ellipsis; white-space: nowrap; }
/* 管理后台 */
.admin-content .view-panel { max-width: 1300px; }
.admin-panel, .add-company-panel { padding: 18px; }
.section-header { display: flex; margin-bottom: 16px; align-items: flex-start; justify-content: space-between; gap: 14px; }
.section-header span { color: var(--coral-deep); font-size: 9px; font-weight: 750; letter-spacing: .13em; }
.section-header h2 { margin: 3px 0 0; color: var(--ink); font-size: 17px; }
.entry-hint { display: flex; margin: -2px -2px 14px; padding: 10px 12px; align-items: center; gap: 12px; border-radius: 10px; background: #fff6dc; }
.entry-hint strong { color: #7c5c18; font-size: 11px; }
.entry-hint span { color: #896e35; font-size: 10px; }
.entry-hint em { margin-left: auto; color: #a88c54; font-size: 10px; font-style: normal; }
.entry-hint em.is-saved { color: var(--green); }
.entry-table, .company-admin-table { min-width: 920px; }
.entry-table td:first-child { min-width: 255px; }
.entry-input, .company-input, .rule-form-grid input, .reward-form input, .threshold-control input { width: 82px; height: 33px; padding: 0 9px; border: 1px solid #ead9b3; border-radius: 8px; outline: 0; color: #5a4214; background: #fff8df; font-family: var(--font-number); text-align: right; }
.entry-input:focus, .company-input:focus { border-color: #d6ae51; box-shadow: 0 0 0 3px rgba(214,174,81,.12); }
.entry-preview { color: #9b6b13; font-family: var(--font-number); }
.rules-admin-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.penalties-admin { grid-column: 1 / 2; }
.rule-form-grid, .reward-form { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.rule-form-grid label, .reward-form label { display: grid; grid-template-columns: 1fr 74px 48px; min-height: 47px; padding: 8px 11px; align-items: center; gap: 8px; border: 1px solid var(--line-soft); border-radius: 10px; color: #604542; background: #fffaf9; font-size: 11px; }
.rule-form-grid label span, .reward-form label span { color: var(--muted); font-size: 10px; }
.rule-form-grid input, .reward-form input { width: 74px; border-color: var(--line); color: var(--ink); background: #fff; }
.rule-note { margin: 14px 2px 0; color: var(--muted); font-size: 10px; }
.reward-form { grid-template-columns: 1fr; }
.penalty-admin-list { display: grid; gap: 8px; }
.penalty-admin-list article { display: grid; grid-template-columns: 76px 1fr; padding: 11px 12px; gap: 3px 12px; border: 1px solid var(--line-soft); border-radius: 10px; background: #fffaf9; }
.penalty-admin-list b { grid-row: span 2; color: var(--coral-deep); font-size: 11px; }
.penalty-admin-list strong { color: #563b38; font-size: 11px; }
.penalty-admin-list span { color: var(--muted); font-size: 10px; }
.threshold-control { display: flex; min-height: 56px; padding: 11px; align-items: center; gap: 9px; border-radius: 10px; color: #604542; background: #fffaf9; font-size: 11px; }
.threshold-control input { border-color: var(--line); color: var(--ink); background: #fff; }
.poster-link { display: inline-block; margin: 14px 2px 0; color: var(--coral-deep); font-size: 11px; text-decoration: none; }
.add-company-panel { margin-bottom: 16px; }
.add-company-form { display: grid; grid-template-columns: 1.5fr .65fr .85fr auto; align-items: end; gap: 12px; }
.add-company-form label, .settings-form label, .notice-editor label { display: grid; gap: 6px; color: #6a4e4b; font-size: 10px; }
input, select, textarea { border: 1px solid var(--line); border-radius: 9px; outline: 0; color: #553a38; background: #fff; }
input, select { height: 38px; padding: 0 11px; }
textarea { padding: 10px 11px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #e98e87; box-shadow: 0 0 0 3px rgba(239,85,79,.09); }
.company-admin-table td:nth-child(2) { min-width: 320px; }
.company-admin-table .company-input.name { width: 260px; color: #543936; background: #fff; text-align: left; }
.company-admin-table .company-input.target { width: 110px; border-color: var(--line); color: #543936; background: #fff; }
.logo-select { width: 170px; height: 32px; font-size: 10px; }
.switch { position: relative; display: inline-block; width: 39px; height: 22px; }
.switch input { width: 0; height: 0; opacity: 0; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #d8c9c7; transition: .2s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(74,38,35,.2); transition: .2s; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(17px); }
.notice-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 16px; }
.notice-editor form { display: grid; gap: 12px; }
.notice-list { display: grid; gap: 9px; }
.notice-item { display: grid; grid-template-columns: 1fr auto; padding: 12px 13px; gap: 4px 12px; border: 1px solid var(--line-soft); border-radius: 10px; background: #fffaf9; }
.notice-item strong { color: #553a38; font-size: 12px; }
.notice-item time { color: var(--muted); font-size: 9px; }
.notice-item p { grid-column: 1/-1; margin: 3px 0 0; color: #806461; font-size: 10px; }
.notice-type { display: inline-flex; margin-right: 7px; padding: 3px 7px; align-items: center; border-radius: 7px; color: var(--coral-deep); background: #ffe8e5; font-size: 9px; }
.settings-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.settings-form { display: grid; gap: 12px; }
.data-maintenance p { color: var(--muted); font-size: 11px; }
.danger-button { min-height: 34px; padding: 0 12px; border: 1px solid #f2c4c0; border-radius: 9px; color: #bd3432; background: #fff3f1; font-size: 10px; }
.danger-button:hover { background: #ffe5e2; }
.operation-admin-mount { display: grid; gap: 16px; }
.operation-form-panel { padding: 17px 18px; }
.operation-date-guide { display: flex; min-height: 50px; margin: -2px 0 14px; padding: 9px 12px; align-items: center; gap: 10px; border: 1px solid #f0cbc5; border-radius: 12px; background: linear-gradient(100deg,#fff0ed,#fffaf1 55%,#fff); }
.operation-date-guide > span { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: #fff; background: linear-gradient(145deg,#f1625b,#d83a36); box-shadow: 0 6px 12px rgba(210,56,52,.17); }
.operation-date-guide svg { width: 16px; height: 16px; }
.operation-date-guide > div { display: grid; gap: 2px; }.operation-date-guide strong { color: #673c38; font-size: 11px; }.operation-date-guide small { color: #9b7773; font-size: 9px; }
.operation-form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 14px; }
.operation-form-fields { display: grid; grid-template-columns: repeat(5,minmax(120px,1fr)); gap: 12px; align-items: end; }
.operation-form-fields label { display: grid; gap: 6px; color: #654845; font-size: 10px; }
.operation-form-fields input, .operation-form-fields select { width: 100%; }
.operation-form-actions { display: flex; justify-content: flex-end; gap: 9px; }
.operation-form-actions .secondary-button { min-width: 130px; }
.operation-table-panel { padding: 0; overflow: hidden; }
.operation-admin-toolbar { display: flex; min-height: 57px; padding: 12px 16px; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); background: #fffaf9; }
.operation-admin-toolbar > div { display: flex; align-items: baseline; gap: 9px; }.operation-admin-toolbar span { color: var(--coral-deep); font-size: 10px; font-weight: 800; }.operation-admin-toolbar strong { color: #513633; font-size: 13px; }
.operation-admin-toolbar small { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; }.operation-admin-toolbar small i { width: 7px; height: 7px; border-radius: 50%; background: #37ad79; box-shadow: 0 0 0 4px rgba(55,173,121,.08); }
.operation-admin-table { width: 100%; min-width: 920px; border-collapse: separate; border-spacing: 0; }
.operation-admin-table td { height: 50px; }
.operation-admin-table tbody tr:hover td { background: #fff8f7; }
.inline-status { width: 90px; height: 31px; padding: 0 8px; border: 0; border-radius: 8px; font-size: 9px; font-weight: 750; }
.inline-status.is-pending { color: #c84a45; background: #ffe8e5; }.inline-status.is-progress { color: #315eb2; background: #e8efff; }.inline-status.is-complete { color: #2c8058; background: #e7f5ed; }
.row-actions { display: flex; gap: 7px; }.row-actions button { min-height: 28px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; color: #72514e; background: #fff; font-size: 9px; }.row-actions button:hover { border-color: #e9968f; color: var(--coral-deep); }.row-actions button.danger { color: #c33c38; background: #fff4f2; }
.empty-state { display: grid; min-height: 130px; place-items: center; color: var(--muted); font-size: 11px; text-align: center; }
.toast { position: fixed; left: calc(50% + var(--sidebar-width)/2); bottom: 26px; z-index: 80; padding: 11px 16px; border-radius: 10px; color: #fff; background: rgba(67,31,29,.94); box-shadow: 0 10px 24px rgba(72,34,31,.2); opacity: 0; pointer-events: none; transform: translate(-50%,20px); font-size: 11px; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%,0); }

/* 全局可读性与全宽内容规范 */
.page-content { padding: 16px 12px 36px; }
.view-panel, .admin-content .view-panel { width: 100%; max-width: none; }
.summit-banner-wrap { width: 100%; max-width: none; margin: 0 0 18px; }
body.cockpit-mode .page-content { padding: 12px 12px 22px; }
.brand-block img, .admin-sidebar .brand-block img { width: 72px; height: 72px; }
.brand-switch-logo { cursor: pointer; user-select: none; -webkit-user-drag: none; touch-action: manipulation; }
.brand-switch-logo:focus-visible { outline: 3px solid rgba(255,226,137,.92); outline-offset: 5px; }
.season-card { margin-top: auto; }
.topbar-page strong { font-size: 15px; }
.topbar-page span, .sync-indicator, .live-clock { font-size: 12px; }
.live-clock b { font-size: 14px; }
.outline-button, .primary-button, .secondary-button { min-height: 43px; padding-inline: 16px; font-size: 13px; }
.page-heading { min-height: 76px; margin-bottom: 15px; }
.page-heading h1 { font-size: 32px; }
.page-heading p { margin-top: 7px; font-size: 14px; line-height: 1.6; }
.live-status { font-size: 12px; }
.kpi-grid { gap: 16px; margin-bottom: 16px; }
.kpi-card { min-height: 96px; padding: 16px 20px; }
.kpi-icon { width: 49px; height: 49px; }
.kpi-icon svg { width: 26px; height: 26px; }
.kpi-card div > span { font-size: 13px; }
.kpi-card strong { font-size: 30px; }
.public-toolbar { margin-bottom: 12px; }
.public-tabs button { min-width: 136px; height: 41px; font-size: 14px; }
.search-field { width: 280px; height: 42px; }
.search-field input { font-size: 13px; }
th { height: 44px; padding-inline: 16px; font-size: 12px; }
td { height: 50px; padding: 6px 16px; font-size: 13px; }
.ranking-table { min-width: 980px; }
.company-cell { min-width: 300px; gap: 11px; }
.company-avatar { width: 34px; height: 34px; border-radius: 9px; }
.company-name { font-size: 13px; }
.progress-cell { min-width: 290px; }
.progress-track { height: 8px; }
.progress-value { width: 58px; font-size: 13px; }
.table-footer { min-height: 44px; padding: 13px 16px; font-size: 12px; }
.process-panel { min-height: 108px; }
.process-title h2 { font-size: 21px; }
.process-title span, .process-step small { font-size: 12px; }
.process-step strong { font-size: 21px; }
.process-step p { font-size: 11px; }
.calendar-toolbar { min-height: 88px; }
.calendar-toolbar-title small { font-size: 11px; }
.calendar-toolbar-title strong { font-size: 22px; }
.calendar-toolbar-summary span { font-size: 11px; }
.calendar-step, .calendar-today-button, .calendar-month-picker { height: 42px; }
.calendar-today-button, .calendar-month-picker span, .calendar-month-picker input { font-size: 12px; }
.calendar-weekdays { min-height: 44px; }
.calendar-weekdays span { font-size: 12px; }
.calendar-day { min-height: 132px; padding: 10px; }
.calendar-day > header { height: 32px; }
.calendar-day > header time { width: 30px; height: 30px; font-size: 14px; }
.calendar-day > header span { font-size: 10px; }
.calendar-event { min-height: 36px; padding: 6px 8px 6px 11px; }
.calendar-event strong { font-size: 11px; }
.calendar-event small, .calendar-more { font-size: 9px; }
.calendar-footer { min-height: 48px; padding: 11px 16px; font-size: 11px; }
.calendar-footer strong { font-size: 11px; }

/* 驾驶舱可读性 */
.cockpit-shell { padding: 20px; }
.cockpit-header { min-height: 76px; }
.cockpit-header h1 { font-size: clamp(34px,2.55vw,44px); }
.cockpit-header p { font-size: 15px; }
.cockpit-header > span { font-size: 12px; }
.cockpit-kpis { gap: 14px; margin-bottom: 14px; }
.cockpit-kpi { min-height: 92px; padding: 15px 19px; }
.cockpit-kpi > span { font-size: 13px; }
.cockpit-kpi strong { font-size: 34px; }
.cockpit-kpi b { font-size: 12px; }
.cockpit-main-grid { min-height: 340px; gap: 14px; }
.cockpit-panel-title { padding: 18px 18px 10px; }
.cockpit-panel-title span { font-size: 12px; }
.cockpit-panel-title h2 { font-size: 20px; }
.cockpit-panel-title small, .cockpit-panel-title a { font-size: 12px; }
.cockpit-bars { gap: 16px; padding: 18px; }
.cockpit-bar-row { grid-template-columns: 30px minmax(150px,.82fr) minmax(100px,1fr) 58px; gap: 11px; }
.combat-rank { width: 28px; height: 28px; font-size: 11px; }
.cockpit-bar-row label { font-size: 12px; }
.cockpit-bar-row strong { font-size: 13px; }
.combat-track { height: 9px; }
.ring-caption { font-size: 18px; }
.ring-core > span { font-size: 13px; }
.ring-core > strong { font-size: 45px; }
.ring-core p { font-size: 15px; }
.ring-foot span { font-size: 11px; }
.ring-foot b { font-size: 16px; }
.cockpit-contributions { gap: 16px; padding: 14px 18px 18px; }
.contribution-row { grid-template-columns: 32px 1fr 92px; gap: 12px; }
.contribution-row > span { width: 31px; height: 31px; font-size: 10px; }
.contribution-row label { font-size: 12px; }
.contribution-row > strong { font-size: 14px; }
.contribution-row small { font-size: 10px; }
.cockpit-bottom-grid { margin-top: 14px; }
.cockpit-table-wrap { margin: 0 14px 14px; border-radius: 10px; }
.cockpit-table { min-width: 900px; }
.cockpit-table th { height: 40px; padding: 0 12px; font-size: 12.5px; }
.cockpit-table td { height: 42px; padding: 7px 12px; font-size: 13.5px; }
.matrix-company { min-width: 280px; gap: 9px; }
.matrix-company img { width: 27px; height: 27px; padding: 3px; border-radius: 7px; }

/* 管理后台可读性 */
.admin-panel, .add-company-panel { padding: 22px; }
.section-header span { font-size: 11px; }
.section-header h2 { font-size: 20px; }
.entry-hint strong, .entry-hint span, .entry-hint em { font-size: 12px; }
.entry-table, .company-admin-table { min-width: 1080px; }
.entry-table td:first-child { min-width: 320px; }
.entry-input, .company-input, .rule-form-grid input, .reward-form input, .threshold-control input { height: 38px; font-size: 13px; }
.rule-form-grid label, .reward-form label, .threshold-control { font-size: 13px; }
.rule-form-grid label span, .reward-form label span, .rule-note { font-size: 12px; }
.penalty-admin-list b, .penalty-admin-list strong { font-size: 13px; }
.penalty-admin-list span { font-size: 12px; }
.poster-link, .add-company-form label, .settings-form label, .notice-editor label { font-size: 12px; }
input, select, textarea { font-size: 13px; }
input, select { height: 42px; }
.logo-select { height: 38px; font-size: 12px; }
.notice-item strong { font-size: 14px; }
.notice-item time, .notice-type { font-size: 11px; }
.notice-item p, .data-maintenance p { font-size: 12px; }
.danger-button { min-height: 38px; font-size: 12px; }
.operation-date-guide strong { font-size: 13px; }
.operation-date-guide small, .operation-form-fields label { font-size: 12px; }
.operation-admin-toolbar span, .operation-admin-toolbar small { font-size: 11px; }
.operation-admin-toolbar strong { font-size: 15px; }
.operation-admin-table { min-width: 1080px; }
.operation-admin-table td { height: 58px; }
.inline-status { height: 35px; font-size: 11px; }
.row-actions button { min-height: 32px; padding-inline: 11px; font-size: 11px; }
.empty-state, .toast { font-size: 13px; }

/* 长辈可读字号：仅放大桌面端的文字层级与对应承载空间，不改变业务结构 */
@media (min-width: 921px) {
  body { font-size: 20px; }

  /* 左侧导航与顶部状态 */
  .brand-block span { font-size: 14px; line-height: 1.5; }
  .nav-label { font-size: 12px; }
  .nav-item { min-height: 60px; padding-inline: 12px; gap: 10px; font-size: 20px; line-height: 1.35; }
  .nav-item svg { width: 23px; height: 23px; }
  .nav-count { width: 23px; height: 23px; font-size: 13px; }
  .admin-sidebar .nav-item { min-height: 45px; font-size: 15px; }
  .admin-sidebar .nav-item svg { width: 20px; height: 20px; }
  .admin-sidebar .nav-menu { gap: 3px; }
  .season-card { padding: 16px; }
  .season-card svg { width: 20px; height: 20px; }
  .season-card strong { font-size: 18px; }
  .season-card span { font-size: 18px; line-height: 1.5; }
  .admin-sidebar .season-card { padding: 13px 12px; }
  .admin-sidebar .season-card strong { font-size: 16px; }
  .admin-sidebar .season-card span { font-size: 16px; }
  .topbar { height: 78px; }
  .topbar-page { gap: 3px; }
  .topbar-page strong { font-size: 20px; }
  .topbar-page span, .sync-indicator, .live-clock { font-size: 16px; }
  .live-clock { height: 46px; }
  .live-clock b { min-width: 76px; font-size: 18px; }
  .outline-button, .primary-button, .secondary-button { min-height: 52px; padding-inline: 20px; font-size: 18px; }
  .outline-button svg, .primary-button svg, .secondary-button svg { width: 20px; height: 20px; }

  /* 公示页通用标题、指标与排行表 */
  .page-heading { min-height: 102px; margin-bottom: 20px; }
  .page-heading h1 { font-size: 40px; line-height: 1.18; }
  .page-heading p { margin-top: 10px; font-size: 20px; line-height: 1.65; }
  .live-status { font-size: 16px; }
  .kpi-grid { gap: 18px; margin-bottom: 18px; }
  .kpi-card { min-height: 118px; padding: 20px 22px; gap: 17px; }
  .kpi-icon { width: 58px; height: 58px; }
  .kpi-icon svg { width: 31px; height: 31px; }
  .kpi-card div { gap: 5px; }
  .kpi-card div > span { font-size: 20px; line-height: 1.35; }
  .kpi-card strong { font-size: 40px; }
  .public-toolbar { margin-bottom: 14px; }
  .public-tabs button { min-width: 166px; height: 52px; font-size: 20px; }
  .search-field { width: 350px; height: 52px; padding-inline: 17px; }
  .search-field svg { width: 21px; height: 21px; }
  .search-field input { font-size: 20px; }
  th { height: 58px; padding-inline: 20px; font-size: 18px; line-height: 1.4; }
  td { height: 70px; padding: 10px 20px; font-size: 20px; line-height: 1.45; }
  .ranking-table { min-width: 1320px; }
  .company-cell { min-width: 390px; gap: 14px; }
  .company-avatar { width: 44px; height: 44px; }
  .company-name { font-size: 20px; }
  .rank-award strong { font-size: 18px; }
  .rank-award small { font-size: 16px; }
  .rank-badge { width: 38px; height: 38px; font-size: 16px; }
  .rank-standard .rank-badge { top: 1px; }
  .progress-cell { min-width: 360px; }
  .progress-track { height: 11px; }
  .progress-value { width: 78px; font-size: 18px; }
  .table-footer { min-height: 56px; padding: 15px 20px; font-size: 16px; line-height: 1.5; }
  .priority-badge, .operation-status { min-height: 36px; padding-inline: 12px; font-size: 15px; }

  /* 每日流程 */
  .process-panel { min-height: 136px; padding: 18px 22px; }
  .process-title h2 { font-size: 28px; }
  .process-title span, .process-step small { font-size: 18px; line-height: 1.45; }
  .process-step strong { font-size: 28px; }
  .process-step p { font-size: 16px; line-height: 1.45; }
  .round-icon { width: 54px; height: 54px; }
  .round-icon svg { width: 27px; height: 27px; }

  /* 日历类页面 */
  .calendar-toolbar { min-height: 104px; padding: 18px 20px; }
  .calendar-toolbar-title small { font-size: 14px; }
  .calendar-toolbar-title strong { font-size: 30px; }
  .calendar-toolbar-summary span { font-size: 17px; line-height: 1.5; }
  .calendar-step, .calendar-today-button, .calendar-month-picker { height: 52px; }
  .calendar-step { width: 52px; }
  .calendar-today-button, .calendar-month-picker span, .calendar-month-picker input { font-size: 17px; }
  .calendar-month-picker input { width: 180px; }
  .calendar-weekdays { min-height: 56px; }
  .calendar-weekdays span { font-size: 18px; }
  .calendar-day { min-height: 172px; padding: 13px; }
  .calendar-day > header { height: 42px; }
  .calendar-day > header time { width: 38px; height: 38px; font-size: 19px; }
  .calendar-day > header span { font-size: 15px; }
  .calendar-event { min-height: 52px; padding: 9px 11px 9px 14px; }
  .calendar-event strong { font-size: 18px; line-height: 1.35; }
  .calendar-event small, .calendar-more { font-size: 15px; line-height: 1.4; }
  .calendar-footer { min-height: 62px; padding: 14px 20px; font-size: 17px; line-height: 1.5; }
  .calendar-footer strong { font-size: 17px; }

  /* 数据驾驶舱，包括“赛程执行” */
  .cockpit-shell { padding: 22px; }
  .cockpit-header { min-height: 88px; }
  .cockpit-header h1 { font-size: clamp(40px,2.8vw,50px); }
  .cockpit-header p { font-size: 20px; line-height: 1.5; }
  .cockpit-header > span { font-size: 16px; }
  .cockpit-kpis { gap: 16px; margin-bottom: 16px; }
  .cockpit-kpi { min-height: 104px; padding: 18px 21px; }
  .cockpit-kpi > span { font-size: 20px; }
  .cockpit-kpi strong { font-size: 42px; }
  .cockpit-kpi b { font-size: 16px; }
  .cockpit-main-grid { min-height: 390px; gap: 16px; }
  .cockpit-panel-title { padding: 20px 20px 12px; }
  .cockpit-panel-title span { font-size: 17px; }
  .cockpit-panel-title h2 { font-size: 28px; }
  .cockpit-panel-title small, .cockpit-panel-title a { font-size: 16px; }
  .cockpit-bars { gap: 18px; padding: 20px; }
  .cockpit-bar-row { grid-template-columns: 38px minmax(210px,.9fr) minmax(120px,1fr) 74px; gap: 14px; }
  .combat-rank { width: 36px; height: 36px; font-size: 15px; }
  .cockpit-bar-row label { font-size: 18px; }
  .cockpit-bar-row strong { font-size: 18px; }
  .combat-track { height: 10px; }
  .ring-caption { font-size: 20px; }
  .ring-core > span { font-size: 17px; }
  .ring-core > strong { font-size: 52px; }
  .ring-core p { font-size: 20px; }
  .ring-foot span { font-size: 15px; }
  .ring-foot b { font-size: 20px; }
  .cockpit-contributions { gap: 18px; padding: 16px 20px 20px; }
  .contribution-row { grid-template-columns: 40px 1fr 116px; gap: 15px; }
  .contribution-row > span { width: 39px; height: 39px; font-size: 14px; }
  .contribution-row label { font-size: 18px; }
  .contribution-row > strong { font-size: 20px; }
  .contribution-row small { font-size: 15px; }
  .cockpit-table-wrap { margin: 0 16px 16px; }
  .cockpit-table { min-width: 1280px; }
  .cockpit-table th { height: 52px; padding: 0 17px; font-size: 18px; }
  .cockpit-table td { height: 60px; padding: 9px 17px; font-size: 20px; }
  .matrix-company { min-width: 380px; gap: 12px; }
  .matrix-company img { width: 36px; height: 36px; }

  /* 管理后台 */
  .admin-panel, .add-company-panel { padding: 24px; }
  .section-header span { font-size: 16px; }
  .section-header h2 { font-size: 28px; }
  .entry-hint strong, .entry-hint span, .entry-hint em { font-size: 18px; line-height: 1.5; }
  .entry-table, .company-admin-table { min-width: 1360px; }
  .entry-table td:first-child { min-width: 400px; }
  .entry-input, .company-input, .rule-form-grid input, .reward-form input, .threshold-control input { height: 52px; font-size: 20px; }
  .rule-form-grid label, .reward-form label, .threshold-control { min-height: 66px; font-size: 20px; }
  .rule-form-grid label span, .reward-form label span, .rule-note { font-size: 17px; line-height: 1.5; }
  .penalty-admin-list b, .penalty-admin-list strong { font-size: 20px; }
  .penalty-admin-list span { font-size: 17px; line-height: 1.5; }
  .poster-link, .add-company-form label, .settings-form label, .notice-editor label { font-size: 18px; }
  input, select, textarea { font-size: 20px; line-height: 1.45; }
  input, select { height: 54px; }
  .logo-select { height: 52px; font-size: 18px; }
  .notice-item strong { font-size: 20px; }
  .notice-item time, .notice-type { font-size: 15px; }
  .notice-item p, .data-maintenance p { font-size: 18px; line-height: 1.6; }
  .danger-button { min-height: 48px; font-size: 17px; }
  .operation-date-guide { min-height: 62px; }
  .operation-date-guide strong { font-size: 20px; }
  .operation-date-guide small, .operation-form-fields label { font-size: 17px; line-height: 1.45; }
  .operation-admin-toolbar { min-height: 68px; }
  .operation-admin-toolbar span, .operation-admin-toolbar small { font-size: 16px; }
  .operation-admin-toolbar strong { font-size: 20px; }
  .operation-admin-table { min-width: 1360px; }
  .operation-admin-table td { height: 74px; }
  .inline-status { width: 116px; height: 46px; font-size: 17px; }
  .row-actions button { min-height: 44px; padding-inline: 15px; font-size: 17px; }
  .empty-state, .toast { font-size: 18px; line-height: 1.55; }

  /* 问鼎横幅下方的日期与倒计时 */
  .summit-countdown { min-height: 72px; }
  .summit-date span, .countdown-label span, .countdown-values > span { font-size: 16px; }
  .summit-date strong { font-size: 18px; }
  .countdown-values strong { min-width: 36px; font-size: 32px; }
  .countdown-values i { font-size: 15px; }
}

/* 30px 超大可读层级：菜单独立滚动，赛程时间始终留在侧栏底部 */
@media (min-width: 921px) {
  :root { --sidebar-width: 248px; }
  body { font-size: 30px; }

  .sidebar { overflow: hidden; }
  .sidebar .nav-menu {
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 186px;
    padding-right: 4px;
    overflow-x: hidden;
    overflow-y: auto;
    align-content: start;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.48) transparent;
  }
  body.cockpit-mode .sidebar .nav-menu { scrollbar-color: rgba(216,61,57,.42) transparent; }
  .sidebar .nav-menu::-webkit-scrollbar { width: 6px; }
  .sidebar .nav-menu::-webkit-scrollbar-track { background: transparent; }
  .sidebar .nav-menu::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(255,255,255,.48); }
  body.cockpit-mode .sidebar .nav-menu::-webkit-scrollbar-thumb { background: rgba(216,61,57,.42); }

  .brand-block { padding-bottom: 16px; }
  .brand-block img,
  .admin-sidebar .brand-block img {
    width: 112px;
    height: 112px;
  }
  .brand-block strong { font-size: 30px; }
  .brand-block span { font-size: 18px; }
  .nav-label { padding-top: 6px; font-size: 16px; }
  .nav-item,
  .admin-sidebar .nav-item {
    min-height: 70px;
    padding-inline: 8px;
    gap: 8px;
    font-size: 30px;
    line-height: 1.22;
    white-space: nowrap;
  }
  .nav-item svg,
  .admin-sidebar .nav-item svg { width: 26px; height: 26px; }
  .nav-count { width: 30px; height: 30px; font-size: 18px; }
  .admin-sidebar .nav-menu { gap: 4px; }
  .season-card,
  .admin-sidebar .season-card {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 24px;
    min-height: 174px;
    margin: 0;
    padding: 17px 16px;
    flex: 0 0 auto;
    grid-template-columns: 26px 1fr;
    gap: 9px 10px;
  }
  .season-card svg { width: 26px; height: 26px; }
  .season-card strong,
  .admin-sidebar .season-card strong { font-size: 26px; }
  .season-card span,
  .admin-sidebar .season-card span { font-size: 26px; line-height: 1.35; }

  .topbar { height: 86px; }
  .topbar-page strong { font-size: 26px; }
  .topbar-page span, .sync-indicator, .live-clock { font-size: 20px; }
  .live-clock { height: 52px; }
  .live-clock b { min-width: 92px; font-size: 22px; }
  .outline-button, .primary-button, .secondary-button { min-height: 60px; padding-inline: 24px; font-size: 24px; }
  .outline-button svg, .primary-button svg, .secondary-button svg { width: 24px; height: 24px; }

  .page-heading { min-height: 128px; margin-bottom: 24px; }
  .page-heading h1 { font-size: 45px; line-height: 1.16; }
  .page-heading p { margin-top: 12px; font-size: 30px; line-height: 1.55; }
  .live-status { font-size: 20px; }

  .kpi-grid { gap: 20px; margin-bottom: 22px; }
  .kpi-card { min-height: 142px; padding: 23px 25px; gap: 20px; }
  .kpi-icon { width: 68px; height: 68px; }
  .kpi-icon svg { width: 36px; height: 36px; }
  .kpi-card div > span { font-size: 26px; line-height: 1.3; }
  .kpi-card strong { font-size: 48px; }
  .public-toolbar { margin-bottom: 18px; }
  .public-tabs button { min-width: 192px; height: 62px; font-size: 26px; }
  .search-field { width: 400px; height: 62px; padding-inline: 20px; }
  .search-field svg { width: 25px; height: 25px; }
  .search-field input { font-size: 26px; }

  th { height: 68px; padding-inline: 22px; font-size: 24px; line-height: 1.35; }
  td { height: 86px; padding: 12px 22px; font-size: 30px; line-height: 1.4; }
  .ranking-table { min-width: 1650px; }
  .company-cell { min-width: 470px; gap: 16px; }
  .company-avatar { width: 52px; height: 52px; }
  .company-name { font-size: 30px; }
  .rank-award, .rank-standard { height: 60px; }
  .rank-trophy { top: 6px; width: 46px; height: 46px; }
  .rank-award > span { top: 3px; width: 78px; gap: 3px; }
  .rank-award strong { font-size: 24px; }
  .rank-award small { font-size: 20px; }
  .rank-badge { width: 48px; height: 48px; font-size: 20px; }
  .rank-standard .rank-badge { top: 6px; }
  .rank-creature { top: 9px; width: 58px; height: 42px; }
  .progress-cell { min-width: 430px; }
  .progress-track { height: 13px; }
  .progress-value { width: 96px; font-size: 24px; }
  .table-footer { min-height: 68px; padding: 18px 22px; font-size: 22px; }
  .priority-badge, .operation-status { min-height: 44px; padding-inline: 15px; font-size: 20px; }

  .process-panel { min-height: 176px; padding: 22px 26px; }
  .process-title h2 { font-size: 34px; }
  .process-title span, .process-step small { font-size: 25px; }
  .process-step strong { font-size: 34px; }
  .process-step p { font-size: 22px; }
  .round-icon { width: 64px; height: 64px; }
  .round-icon svg { width: 32px; height: 32px; }

  .calendar-toolbar { min-height: 126px; padding: 22px 24px; }
  .calendar-toolbar-title small { font-size: 20px; }
  .calendar-toolbar-title strong { font-size: 38px; }
  .calendar-toolbar-summary span { font-size: 24px; }
  .calendar-step, .calendar-today-button, .calendar-month-picker { height: 62px; }
  .calendar-step { width: 62px; }
  .calendar-today-button, .calendar-month-picker span, .calendar-month-picker input { font-size: 24px; }
  .calendar-month-picker input { width: 220px; }
  .calendar-weekdays { min-height: 68px; }
  .calendar-weekdays span { font-size: 25px; }
  .calendar-day { min-height: 214px; padding: 16px; }
  .calendar-day > header { height: 50px; }
  .calendar-day > header time { width: 46px; height: 46px; font-size: 25px; }
  .calendar-day > header span { font-size: 20px; }
  .calendar-event { min-height: 68px; padding: 12px 13px 12px 17px; }
  .calendar-event strong { font-size: 26px; }
  .calendar-event small, .calendar-more { font-size: 20px; }
  .calendar-footer { min-height: 76px; padding: 17px 22px; font-size: 24px; }
  .calendar-footer strong { font-size: 24px; }

  .cockpit-shell { padding: 24px; }
  .cockpit-header { min-height: 104px; }
  .cockpit-header h1 { font-size: clamp(45px,3vw,54px); }
  .cockpit-header p { font-size: 26px; }
  .cockpit-header > span { font-size: 20px; }
  .cockpit-kpis { gap: 18px; margin-bottom: 18px; }
  .cockpit-kpi { min-height: 126px; padding: 21px 24px; }
  .cockpit-kpi > span { font-size: 26px; }
  .cockpit-kpi strong { font-size: 48px; }
  .cockpit-kpi b { font-size: 21px; }
  .cockpit-main-grid { min-height: 500px; gap: 18px; }
  .cockpit-panel-title { padding: 23px 22px 14px; }
  .cockpit-panel-title span { font-size: 21px; }
  .cockpit-panel-title h2 { font-size: 32px; }
  .cockpit-panel-title small, .cockpit-panel-title a { font-size: 20px; }
  .cockpit-bars { gap: 21px; padding: 22px; }
  .cockpit-bar-row { grid-template-columns: 44px minmax(210px,.9fr) minmax(80px,1fr) 88px; gap: 12px; }
  .combat-rank { width: 42px; height: 42px; font-size: 19px; }
  .cockpit-bar-row label { font-size: 26px; }
  .cockpit-bar-row strong { font-size: 24px; }
  .combat-track { height: 12px; }
  .ring-caption { font-size: 26px; }
  .ring-core > span { font-size: 22px; }
  .ring-core > strong { font-size: 58px; }
  .ring-core p { font-size: 26px; }
  .ring-foot span { font-size: 20px; }
  .ring-foot b { font-size: 26px; }
  .cockpit-contributions { gap: 21px; padding: 18px 22px 22px; }
  .contribution-row { grid-template-columns: 46px 1fr 132px; gap: 16px; }
  .contribution-row > span { width: 45px; height: 45px; font-size: 18px; }
  .contribution-row label { font-size: 26px; }
  .contribution-row > strong { font-size: 26px; }
  .contribution-row small { font-size: 20px; }
  .cockpit-table { min-width: 1580px; }
  .cockpit-table th { height: 64px; padding-inline: 20px; font-size: 24px; }
  .cockpit-table td { height: 76px; padding: 11px 20px; font-size: 30px; }
  .matrix-company { min-width: 460px; gap: 14px; }
  .matrix-company img { width: 44px; height: 44px; }

  .admin-panel, .add-company-panel { padding: 28px; }
  .section-header span { font-size: 21px; }
  .section-header h2 { font-size: 36px; }
  .entry-hint strong, .entry-hint span, .entry-hint em { font-size: 25px; }
  .entry-table, .company-admin-table { min-width: 1720px; }
  .entry-table td:first-child { min-width: 500px; }
  .entry-input, .company-input, .rule-form-grid input, .reward-form input, .threshold-control input { height: 66px; font-size: 30px; }
  .rule-form-grid label, .reward-form label, .threshold-control { min-height: 82px; font-size: 28px; }
  .rule-form-grid label span, .reward-form label span, .rule-note { font-size: 23px; }
  .penalty-admin-list b, .penalty-admin-list strong { font-size: 28px; }
  .penalty-admin-list span { font-size: 23px; }
  .poster-link, .add-company-form label, .settings-form label, .notice-editor label { font-size: 25px; }
  input, select, textarea { font-size: 30px; line-height: 1.4; }
  input, select { height: 68px; }
  .oo-select { height: 64px; font-size: 25px; }
  .notice-item strong { font-size: 28px; }
  .notice-item time, .notice-type { font-size: 21px; }
  .notice-item p, .data-maintenance p { font-size: 25px; }
  .danger-button { min-height: 58px; font-size: 23px; }
  .operation-date-guide { min-height: 80px; }
  .operation-date-guide strong { font-size: 28px; }
  .operation-date-guide small, .operation-form-fields label { font-size: 24px; }
  .operation-admin-toolbar { min-height: 84px; }
  .operation-admin-toolbar span, .operation-admin-toolbar small { font-size: 22px; }
  .operation-admin-toolbar strong { font-size: 28px; }
  .operation-admin-table { min-width: 1720px; }
  .operation-admin-table td { height: 90px; }
  .inline-status { width: 136px; height: 56px; font-size: 23px; }
  .row-actions button { min-height: 54px; padding-inline: 18px; font-size: 23px; }
  .empty-state, .toast { font-size: 25px; }

  .summit-countdown { min-height: 82px; }
  .summit-date span, .countdown-label span, .countdown-values > span { font-size: 22px; }
  .summit-date strong { font-size: 25px; }
  .countdown-values strong { min-width: 42px; font-size: 38px; }
  .countdown-values i { font-size: 20px; }
}

@media (min-width: 1500px) {
  .cockpit-shell { padding-inline: 20px; }
}

@media (max-width: 1180px) {
  .summit-countdown { grid-template-columns: minmax(240px,1fr) minmax(430px,1.3fr); gap: 18px; }
  .countdown-label { display: none; }
  .calendar-toolbar { grid-template-columns: 1fr auto; }
  .calendar-toolbar-summary { display: none; }
  .operation-form { grid-template-columns: 1fr; }
  .operation-form-fields { grid-template-columns: repeat(3,minmax(150px,1fr)); }
  .process-panel { grid-template-columns: 1fr 1fr 22px 1fr 22px 1fr; }
  .process-title { grid-column: 1/-1; padding: 0 0 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .cockpit-main-grid { grid-template-columns: 1fr 1fr; }
  .combat-ring-panel { grid-column: 1/-1; grid-row: 1; min-height: 300px; }
  .cockpit-bottom-grid, .notice-layout { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  :root { --sidebar-width: 0px; }
  .sidebar { width: 230px; transform: translateX(-104%); }
  body.sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-overlay { position: fixed; inset: 0; z-index: 35; display: block; border: 0; background: rgba(42,13,13,.38); opacity: 0; pointer-events: none; transition: opacity .2s; }
  body.sidebar-open .sidebar-overlay { opacity: 1; pointer-events: auto; }
  .workspace { margin-left: 0; }
  .mobile-menu { display: grid; }
  .topbar-page { margin-left: 12px; }
  .topbar { padding-inline: 14px; }
  .topbar-actions { margin-left: auto; }
  .page-content { padding-inline: 18px; }
  .summit-banner-main { padding-inline: 28px; grid-template-columns: minmax(170px,.55fr) minmax(390px,1.45fr); }
  .summit-title { font-size: 54px; }
  .summit-countdown { grid-template-columns: minmax(210px,.8fr) minmax(420px,1.2fr); padding-inline: 24px; }
  .operation-form-fields { grid-template-columns: repeat(2,minmax(150px,1fr)); }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .rules-admin-grid, .settings-grid { grid-template-columns: 1fr; }
  .penalties-admin { grid-column: auto; }
  .add-company-form { grid-template-columns: 1fr 1fr; }
  .cockpit-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .topbar { height: 60px; padding: 8px 12px; }
  .topbar-page { display: none; }
  .topbar-actions { gap: 5px; }
  .sync-indicator { display: none; }
  .live-clock { padding: 0 8px; border-left: 0; }
  .outline-button { width: 40px; padding: 0; }
  .outline-button span { display: none; }
  .page-content { padding: 17px 12px 24px; }
  .summit-banner-wrap { margin-bottom: 14px; border-radius: 15px; }
  .summit-banner-main { min-height: 124px; padding: 15px 16px; grid-template-columns: 92px minmax(0,1fr); gap: 11px; }
  .summit-title { justify-content: center; font-size: 43px; }
  .summit-champion { grid-template-columns: 70px minmax(0,1fr); justify-self: stretch; gap: 12px; }
  .summit-logo-frame { width: 68px; height: 68px; border-width: 3px; border-radius: 18px; }
  .summit-logo-frame img { width: 53px; height: 53px; border-radius: 12px; }
  .summit-logo-frame::before, .summit-logo-frame::after { display: none; }
  .summit-crown { top: 7px; left: calc(50% + 8px); width: 23px; height: 23px; }
  .summit-champion-copy { gap: 4px; }.summit-champion-copy strong { font-size: 22px; }.summit-champion-copy span { font-size: 11px; white-space: normal; }
  .summit-countdown { min-height: 93px; padding: 10px 13px; grid-template-columns: 1fr; align-content: center; justify-items: center; gap: 7px; }
  .summit-date { justify-self: center; }.summit-date span { font-size: 9px; }.summit-date strong { font-size: 10px; }
  .countdown-values { justify-content: center; gap: 3px; }.countdown-values > span { margin-right: 3px; font-size: 9px; }.countdown-values strong { min-width: 23px; font-size: 20px; }.countdown-values i { font-size: 8px; }
  .calendar-toolbar { padding: 12px; grid-template-columns: 1fr; gap: 11px; }
  .calendar-toolbar-title strong { font-size: 17px; }
  .calendar-controls { display: grid; grid-template-columns: 38px minmax(0,1fr) 38px; justify-content: stretch; }
  .calendar-month-picker { min-width: 0; }.calendar-month-picker span { display: none; }.calendar-month-picker input { width: 100%; }
  .calendar-today-button { grid-column: 1/-1; }
  .calendar-weekdays, .calendar-grid { min-width: 840px; grid-template-columns: repeat(7,120px); }
  .calendar-day { min-height: 104px; }
  .calendar-footer { align-items: flex-start; flex-direction: column; gap: 5px; }
  .operation-form-fields { grid-template-columns: 1fr; }
  .operation-form-actions { justify-content: stretch; }.operation-form-actions button { flex: 1; }
  .page-heading { align-items: center; margin-inline: 2px; }
  .page-heading h1 { font-size: 23px; }
  .page-heading p { max-width: 260px; font-size: 10px; }
  .page-heading > .primary-button { width: 42px; padding: 0; font-size: 0; }
  .live-status { display: none; }
  .kpi-grid { gap: 9px; }
  .kpi-card { min-height: 76px; padding: 11px 12px; gap: 9px; }
  .kpi-icon { width: 35px; height: 35px; }
  .kpi-icon svg { width: 20px; height: 20px; }
  .kpi-card div > span { font-size: 9px; }
  .kpi-card strong { font-size: 21px; }
  .public-toolbar { align-items: stretch; flex-direction: column; }
  .public-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .public-tabs button { min-width: 0; }
  .search-field { width: 100%; }
  .process-panel { grid-template-columns: 1fr; gap: 10px; }
  .process-title { grid-column: auto; }
  .process-arrow { margin: -2px auto; transform: rotate(90deg); }
  .admin-panel, .add-company-panel { padding: 14px; }
  .rule-form-grid { grid-template-columns: 1fr; }
  .add-company-form { grid-template-columns: 1fr; }
  .table-footer, .entry-hint { align-items: flex-start; flex-direction: column; }
  .entry-hint em { margin-left: 0; }
  .toast { left: 50%; }
  body.cockpit-mode .page-content { padding: 0; }
  body.cockpit-mode .summit-banner-wrap { margin: 0; border-radius: 0; }
  .cockpit-shell { min-height: calc(100vh - 60px); padding: 13px 10px 18px; border: 0; border-radius: 0; }
  .cockpit-header { min-height: 74px; padding-top: 4px; }
  .cockpit-header h1 { font-size: 24px; letter-spacing: .03em; }
  .cockpit-header p { font-size: 10px; }
  .cockpit-header > span { position: absolute; top: 56px; left: 50%; right: auto; transform: translateX(-50%); }
  .cockpit-kpis { gap: 8px; }
  .cockpit-kpi { min-height: 68px; padding: 10px 12px; }
  .cockpit-kpi strong { font-size: 21px; }
  .cockpit-main-grid { grid-template-columns: 1fr; gap: 9px; }
  .combat-ring-panel { grid-column: auto; grid-row: auto; order: -1; }
  .cockpit-bar-row { grid-template-columns: 24px 92px 1fr 45px; }
  .cockpit-bottom-grid { grid-template-columns: 1fr; gap: 9px; }
  .cockpit-panel-title { padding-inline: 12px; }
  .cockpit-table-wrap { margin-inline: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* 大小周、在线表格同步与表格横向对齐 */
.workweek-inline {
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;
  color: #fff9dd;
  background: rgba(111,17,21,.18);
  font-family: var(--font-body) !important;
  font-weight: 800;
  text-align: center;
}
body.cockpit-mode .workweek-inline { border-color: #efc7c1; color: #c63f3b; background: #fff3ef; }
.workweek-pill {
  display: inline-flex;
  min-height: 28px;
  padding: 0 10px;
  align-items: center;
  border: 1px solid #f0c4bd;
  border-radius: 999px;
  color: #c63d38;
  background: #fff1ee;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.sheet-sync-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 16px; }
.sheet-status-panel { grid-column: 1/-1; }
.sheet-state-badge { display: inline-flex; min-height: 34px; padding: 0 12px; align-items: center; border-radius: 999px; color: #8a6330; background: #fff1ca; font-size: .78em; font-weight: 800; }
.sheet-state-badge.is-success { color: #287a57; background: #e4f5ec; }
.sheet-state-badge.is-error { color: #b73732; background: #ffe7e4; }
.sheet-status-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.sheet-status-metrics article { display: grid; min-height: 86px; padding: 14px 16px; align-content: center; gap: 8px; border: 1px solid var(--line-soft); border-radius: 12px; background: #fffaf9; }
.sheet-status-metrics span { color: var(--muted); font-size: .72em; }
.sheet-status-metrics strong { color: var(--ink); font-family: var(--font-number); font-size: 1.08em; font-variant-numeric: tabular-nums; }
.sheet-sync-message { margin-top: 14px; padding: 13px 15px; border-left: 4px solid #ef8f87; border-radius: 8px; color: #684844; background: #fff4f2; line-height: 1.6; }
.sheet-guide-panel ol { margin: 0; padding-left: 1.4em; color: #5d413e; line-height: 1.85; }
.sheet-guide-panel p { margin: 16px 0 0; color: var(--muted); line-height: 1.65; }
.sheet-guide-panel code { padding: 2px 6px; border-radius: 5px; color: #b93631; background: #fff0ed; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.sheet-warning-panel ul { margin: 0; padding-left: 1.3em; color: #684844; line-height: 1.8; }
.sheet-warning-panel li::marker { color: var(--coral); }
#runSheetSync:disabled { cursor: not-allowed; filter: grayscale(.35); opacity: .55; }
#runSheetSync { min-width: 180px; white-space: nowrap; }

.company-input.alias { min-width: 220px; }
.add-company-form { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) minmax(0,.7fr) minmax(0,.9fr) auto; }
.add-company-form > *, .add-company-form input, .add-company-form select { min-width: 0; }
.add-company-form input, .add-company-form select { width: 100%; }

.ranking-table col.col-rank { width: 18%; }
.ranking-table col.col-company { width: 36%; }
.ranking-table col.col-number { width: 12%; }
.ranking-table col.col-rate { width: 22%; }
.ranking-table { width: 100%; min-width: 100%; table-layout: fixed; }
.ranking-table .company-cell, .ranking-table .progress-cell { min-width: 0; }
.ranking-table .company-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranking-table th:first-child { text-align: center; }
.ranking-table th:nth-child(3),
.ranking-table th:nth-child(4),
.ranking-table td:nth-child(3),
.ranking-table td:nth-child(4) { text-align: right; }
.ranking-table th:nth-child(5) { text-align: center; }
.ranking-table .rank-cell { text-align: center; }

/* 统一排名区两条横向基准线：奖杯/动物一列，奖项文字/04–12 一列。 */
.rank-cell { --rank-icon-axis: 33px; --rank-secondary-axis: 108px; }
.rank-award, .rank-standard, .rank-standard.is-bottom { width: 148px; min-width: 148px; overflow: visible; }
.rank-award { left: -1px; display: inline-block; vertical-align: middle; }
.rank-trophy { left: var(--rank-icon-axis); margin-left: -18px; }
.rank-creature { left: var(--rank-icon-axis); margin-left: -25px; }
.rank-standard.is-bottom .rank-creature { z-index: 2; }
.rank-standard.is-bottom .rank-badge { left: var(--rank-secondary-axis); z-index: 3; }

/* 大字号下扩大三位数输入区，并移除会覆盖最后一位数字的原生步进按钮。 */
.rule-form-grid label, .reward-form label { grid-template-columns: minmax(0,1fr) 140px 54px; }
.rule-form-grid input, .reward-form input { width: 140px; min-width: 140px; padding-inline: 14px; appearance: textfield; -moz-appearance: textfield; }
.rule-form-grid input[type="number"]::-webkit-inner-spin-button,
.rule-form-grid input[type="number"]::-webkit-outer-spin-button,
.reward-form input[type="number"]::-webkit-inner-spin-button,
.reward-form input[type="number"]::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; appearance: none; }

@media (min-width: 921px) {
  .rank-trophy { margin-left: -23px; }
  .rank-creature { margin-left: -29px; }
}

.entry-table col.col-entry-company { width: 30%; }
.entry-table th:not(:first-child), .entry-table td:not(:first-child) { text-align: center; }
.entry-table .entry-input { text-align: center; }

.company-admin-table col.col-index { width: 7%; }
.company-admin-table col.col-company-admin { width: 29%; }
.company-admin-table col.col-alias { width: 20%; }
.company-admin-table th:first-child, .company-admin-table td:first-child,
.company-admin-table th:nth-child(n+4), .company-admin-table td:nth-child(n+4) { text-align: center; }

.cockpit-table col.col-matrix-rank { width: 9%; }
.cockpit-table col.col-matrix-company { width: 38%; }
.cockpit-table th:first-child, .cockpit-table td:first-child { text-align: center; }
.cockpit-table th:nth-child(n+3), .cockpit-table td:nth-child(n+3) { text-align: right; }

@media (min-width: 921px) {
  .ranking-table th:nth-child(2),
  .entry-table th:first-child,
  .company-admin-table th:nth-child(2) { padding-left: 90px; }
  .cockpit-table th:nth-child(2) { padding-left: 78px; }
  .workweek-pill { min-height: 36px; padding-inline: 14px; font-size: 18px; }
  .workweek-inline { font-size: 17px !important; white-space: nowrap; }
  .summit-date { display: grid; grid-template-columns: auto auto minmax(0,1fr); align-items: center; column-gap: 9px; row-gap: 3px; }
  .summit-date .workweek-pill { grid-column: 2/-1; justify-self: start; }
}

@media (max-width: 920px) {
  .sheet-sync-grid { grid-template-columns: 1fr; }
  .sheet-status-panel { grid-column: auto; }
  .sheet-status-metrics { grid-template-columns: repeat(2,1fr); }
  .add-company-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ranking-table th:nth-child(2),
  .entry-table th:first-child,
  .company-admin-table th:nth-child(2) { padding-left: 61px; }
  .cockpit-table th:nth-child(2) { padding-left: 58px; }
}

@media (max-width: 640px) {
  .ranking-table { min-width: 920px; table-layout: fixed; }
  .summit-date { flex-wrap: wrap; justify-content: center; }
  .workweek-pill { min-height: 22px; padding-inline: 8px; font-size: 9px; }
  .sheet-status-metrics { grid-template-columns: 1fr; }
  .sheet-status-metrics article { min-height: 70px; }
  .add-company-form { grid-template-columns: 1fr; }
}
