/* 36C 路演评分：浅暖灰底上的大圆角应用框、白色卡片、黑色胶囊主操作、橙色渐变问候卡与进度条。断点：≥1024 带外框，768–1023 铺满，<768 及横屏手机为底部悬浮导航。 */
@font-face{font-family:"Outfit 36C";src:url(/assets/fonts/outfit-latin.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0020-007E,U+00A0}
:root{--font:"PingFang SC","HarmonyOS Sans SC","MiSans","Hiragino Sans GB","Microsoft YaHei UI","Microsoft YaHei","Source Han Sans SC","Noto Sans CJK SC","Noto Sans SC",-apple-system,system-ui,sans-serif;--num:"Outfit 36C",var(--font);--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;--page:#ecebe7;--frame:#f8f7f4;--card:#fff;--soft:#f4f2ef;--soft-2:#eeebe7;--line:#ece8e3;--line-2:#ddd8d1;--ink:#161412;--ink-2:#6b655f;--ink-3:#a09a93;--pill:#141414;--pill-ink:#fff;--pill-hover:#2c2a28;--orange:#ff621f;--orange-ink:#d4470c;--orange-tint:#fff0e6;--ok-bg:#dcf5a4;--ok-ink:#3b6400;--warn-bg:#ffe8d8;--warn-ink:#c4470a;--bad-bg:#ffe1dd;--bad-ink:#c8322a;--gray-bg:#f1efec;--gray-ink:#736d66;--hero:radial-gradient(120% 90% at 0% 0%,#ffd1b2 0%,rgb(255 209 178 / 0) 55%),radial-gradient(90% 80% at 100% 0%,#fff0c2 0%,rgb(255 240 194 / 0) 60%),radial-gradient(80% 70% at 90% 100%,#ffd9de 0%,rgb(255 217 222 / 0) 60%),linear-gradient(160deg,#ffe8db,#fff6ec);--glass:rgb(255 255 255 / .72);--meter:linear-gradient(90deg,#ffc66b,#ff8a3d 55%,#ff621f);--track:#f2ede8;--bar-hl:linear-gradient(180deg,#ff9a4d,#ff621f);--bar-muted:#e7e1da;--t0:linear-gradient(135deg,#ffe0c6,#ffab7c);--t1:linear-gradient(135deg,#ffecb3,#ffc363);--t2:linear-gradient(135deg,#ffd9e0,#ff9fb4);--t3:linear-gradient(135deg,#dcebff,#a7c6ff);--tile-ink:#3a1d0c;--shadow:0 1px 2px rgb(30 20 10 / .04),0 12px 32px -20px rgb(30 20 10 / .22);--shadow-lg:0 30px 70px -30px rgb(30 20 10 / .4);--r-frame:28px;--r-card:24px;--r-md:16px;--r-sm:12px;--ease:cubic-bezier(.2,.8,.2,1);--bar-h:64px;--safe-b:env(safe-area-inset-bottom,0px);color-scheme:light}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--page:#0f0d0c;--frame:#161312;--card:#1f1b19;--soft:#272220;--soft-2:#2e2826;--line:#2f2926;--line-2:#3d3531;--ink:#f4f0ec;--ink-2:#bbb1a9;--ink-3:#857b74;--pill:#f4f0ec;--pill-ink:#141414;--pill-hover:#fff;--orange:#ff6a2b;--orange-ink:#ff9461;--orange-tint:rgb(255 106 43 / .14);--ok-bg:rgb(163 230 53 / .16);--ok-ink:#b6e86b;--warn-bg:rgb(255 138 61 / .17);--warn-ink:#ffa46b;--bad-bg:rgb(240 90 80 / .17);--bad-ink:#ff8d84;--gray-bg:#2a2522;--gray-ink:#b3a9a1;--hero:radial-gradient(120% 90% at 0% 0%,rgb(255 98 31 / .34) 0%,rgb(255 98 31 / 0) 55%),radial-gradient(90% 80% at 100% 0%,rgb(255 190 90 / .18) 0%,rgb(255 190 90 / 0) 60%),radial-gradient(80% 70% at 90% 100%,rgb(255 120 140 / .16) 0%,rgb(255 120 140 / 0) 60%),linear-gradient(160deg,#2b1d16,#1f1713);--glass:rgb(255 255 255 / .08);--track:#2d2623;--bar-muted:#3a332f;--t0:linear-gradient(135deg,#6b3a22,#a04f27);--t1:linear-gradient(135deg,#6a5020,#a07a25);--t2:linear-gradient(135deg,#6b2e3b,#9c4258);--t3:linear-gradient(135deg,#263c63,#3a5c96);--tile-ink:#fff1e6;--shadow:0 1px 2px rgb(0 0 0 / .4);--shadow-lg:0 30px 70px -30px rgb(0 0 0 / .8);color-scheme:dark}}
:root[data-theme=dark]{--page:#0f0d0c;--frame:#161312;--card:#1f1b19;--soft:#272220;--soft-2:#2e2826;--line:#2f2926;--line-2:#3d3531;--ink:#f4f0ec;--ink-2:#bbb1a9;--ink-3:#857b74;--pill:#f4f0ec;--pill-ink:#141414;--pill-hover:#fff;--orange:#ff6a2b;--orange-ink:#ff9461;--orange-tint:rgb(255 106 43 / .14);--ok-bg:rgb(163 230 53 / .16);--ok-ink:#b6e86b;--warn-bg:rgb(255 138 61 / .17);--warn-ink:#ffa46b;--bad-bg:rgb(240 90 80 / .17);--bad-ink:#ff8d84;--gray-bg:#2a2522;--gray-ink:#b3a9a1;--hero:radial-gradient(120% 90% at 0% 0%,rgb(255 98 31 / .34) 0%,rgb(255 98 31 / 0) 55%),radial-gradient(90% 80% at 100% 0%,rgb(255 190 90 / .18) 0%,rgb(255 190 90 / 0) 60%),radial-gradient(80% 70% at 90% 100%,rgb(255 120 140 / .16) 0%,rgb(255 120 140 / 0) 60%),linear-gradient(160deg,#2b1d16,#1f1713);--glass:rgb(255 255 255 / .08);--track:#2d2623;--bar-muted:#3a332f;--t0:linear-gradient(135deg,#6b3a22,#a04f27);--t1:linear-gradient(135deg,#6a5020,#a07a25);--t2:linear-gradient(135deg,#6b2e3b,#9c4258);--t3:linear-gradient(135deg,#263c63,#3a5c96);--tile-ink:#fff1e6;--shadow:0 1px 2px rgb(0 0 0 / .4);--shadow-lg:0 30px 70px -30px rgb(0 0 0 / .8);color-scheme:dark}

/* 基础 */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.judge-site{touch-action:manipulation}
body{margin:0;min-height:100dvh;background:linear-gradient(180deg,var(--page),color-mix(in srgb,var(--page) 88%,#000 3%));background-attachment:fixed;color:var(--ink);font:14px/1.65 var(--font);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-autospace:normal;line-break:strict;overflow-wrap:break-word}
body:has(dialog[open]:not(.as-menu)){overflow:hidden}
h1,h2,h3,p,dl,dd,figure{margin:0}
h1,h2,h3{font-weight:600;line-height:1.4}
img{display:block;max-width:100%}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;-webkit-tap-highlight-color:transparent}
button:disabled{cursor:not-allowed}
:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.ic{display:block;flex:none}
.hidden{display:none!important}
.muted{font-size:13px;color:var(--ink-3)}
output,[data-timer],.table .num,.chart-axis,.chart-x{font-variant-numeric:tabular-nums}

/* 按钮、圆钮、胶囊 */
.btn{--h:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--h);padding:0 20px;border:1px solid var(--line-2);border-radius:999px;background:var(--card);color:var(--ink);font-size:14px;font-weight:500;line-height:1.2;white-space:nowrap;transition:background .15s,border-color .15s,color .15s,transform .1s}
.btn:hover:not(:disabled){border-color:var(--ink-3)}
.btn:active:not(:disabled){transform:scale(.98)}
.btn:disabled{opacity:.45}
.btn.primary{background:var(--pill);border-color:var(--pill);color:var(--pill-ink)}
.btn.primary:hover:not(:disabled){background:var(--pill-hover);border-color:var(--pill-hover)}
.btn.danger{color:var(--bad-ink)}
.btn.danger:hover:not(:disabled){border-color:var(--bad-ink);background:var(--bad-bg)}
.btn.danger-solid{background:#e0483d;border-color:#e0483d;color:#fff}
.btn.danger-solid:hover:not(:disabled){background:#c9372d;border-color:#c9372d}
.btn.text{min-height:0;padding:6px 4px;border:1px solid transparent;background:none;color:var(--ink-2)}
.btn.small{--h:34px;padding:0 14px;gap:6px;font-size:13px}
.btn.large{--h:50px;padding:0 26px;font-size:15px}
.btn.wide{width:100%}
.btn.busy{position:relative;color:transparent!important}
.btn.busy>*{visibility:hidden}
.btn.busy::after{content:"";position:absolute;inset:0;width:16px;height:16px;margin:auto;border:2px solid var(--ink-3);border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}
.btn.primary.busy::after,.btn.danger-solid.busy::after{border-color:var(--pill-ink);border-right-color:transparent}
.link{padding:4px 0;border:1px solid transparent;background:none;color:var(--orange-ink);font-size:14px;font-weight:500;white-space:nowrap}
.link:hover:not(:disabled){text-decoration:underline;text-underline-offset:4px}
.link:disabled{color:var(--ink-3);opacity:.6}
.link.danger{color:var(--bad-ink)}
.circle{position:relative;display:inline-grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--card);color:var(--ink);transition:background .15s,border-color .15s,color .15s,transform .1s}
.circle:hover:not(:disabled){border-color:var(--line-2);background:var(--soft)}
.circle:active:not(:disabled){transform:scale(.95)}
.circle:disabled{opacity:.4}
.circle.small{width:34px;height:34px}
.circle.danger:hover:not(:disabled){border-color:var(--bad-ink);background:var(--bad-bg);color:var(--bad-ink)}
.circle.accent{border-color:transparent;background:linear-gradient(135deg,#ffa25a,#ff621f 55%,#f04d6f);color:#fff;box-shadow:0 10px 20px -10px rgb(255 98 31 / .8)}
.circle.accent:hover:not(:disabled){background:linear-gradient(135deg,#ff9748,#f2561a 55%,#e0405f)}
.pill{display:inline-flex;align-items:center;gap:6px;flex:none;height:26px;padding:0 11px;border-radius:999px;background:var(--gray-bg);color:var(--gray-ink);font-size:12px;font-weight:600;line-height:1;white-space:nowrap}
.pill.ok{background:var(--ok-bg);color:var(--ok-ink)}
.pill.warn{background:var(--warn-bg);color:var(--warn-ink)}
.pill.bad{background:var(--bad-bg);color:var(--bad-ink)}
.pill.soft{height:22px;padding:0 8px;background:var(--orange-tint);color:var(--orange-ink)}
.pill.plain{background:var(--glass);color:var(--ink-2);box-shadow:inset 0 0 0 1px var(--line)}
.pill.live{background:linear-gradient(90deg,#ff8a3d,#ff621f);color:#fff}
.pill.live::before{content:"";width:6px;height:6px;border-radius:50%;background:#fff;animation:pulse 1.8s ease-in-out infinite}
.pill b{font-family:var(--num);font-weight:600}
.avatar{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,hsl(calc(var(--h,20) * 1deg + 14deg) 100% 82%),hsl(calc(var(--h,20) * 1deg + 2deg) 95% 64%));color:#4d1e06;font-family:var(--num);font-size:15px;font-weight:700;box-shadow:inset 0 0 0 2px rgb(255 255 255 / .55)}
.avatar.lg{width:52px;height:52px;font-size:19px}
.tile{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:var(--r-md);background:var(--t0);color:var(--tile-ink);font-family:var(--num);font-size:16px;font-weight:700}
.tile.t1{background:var(--t1)}.tile.t2{background:var(--t2)}.tile.t3{background:var(--t3)}
.bar{display:block;height:8px;overflow:hidden;border-radius:999px;background:var(--track)}
.bar.lg{height:12px}
.bar i{display:block;height:100%;border-radius:inherit;background:var(--meter)}
.hero-card .bar{background:var(--glass)}
@media (hover:hover){[data-tip]:hover::after{content:attr(data-tip);position:absolute;top:calc(100% + 8px);left:50%;z-index:60;padding:5px 10px;border-radius:8px;background:var(--pill);color:var(--pill-ink);font-size:12px;font-weight:500;line-height:1.4;white-space:nowrap;transform:translateX(-50%);pointer-events:none}}
@media (pointer:coarse){.btn{--h:44px}.btn.small{--h:38px}.btn.large{--h:52px}.link{padding:8px 0}}

/* 表单 */
form{display:flex;flex-direction:column;gap:16px}
.field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500;color:var(--ink-2)}
input:where(:not([type=checkbox],[type=radio],[type=range],[type=file])),select,textarea{width:100%;min-height:46px;padding:10px 16px;border:1px solid transparent;border-radius:14px;background:var(--soft);color:var(--ink);font-size:14px;font-weight:400;transition:border-color .15s,box-shadow .15s,background .15s}
input:where(:not([type=checkbox],[type=radio],[type=range])):focus,select:focus,textarea:focus{outline:none;border-color:var(--orange);background:var(--card);box-shadow:0 0 0 4px var(--orange-tint)}
input:disabled,textarea:disabled,select:disabled{color:var(--ink-3);cursor:not-allowed}
::placeholder{color:var(--ink-3)}
textarea{min-height:112px;resize:vertical;line-height:1.7}
select{appearance:none;padding-right:40px;background:var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23a09a93' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 16px center}
input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}
.check{display:flex;align-items:center;gap:10px;padding:6px 0;font-size:14px;color:var(--ink);cursor:pointer}
input[type=checkbox]{display:grid;place-content:center;width:20px;height:20px;margin:0;flex:none;border:1.5px solid var(--line-2);border-radius:6px;background:var(--card);cursor:pointer;appearance:none;transition:background .15s,border-color .15s}
input[type=checkbox]::after{content:"";width:9px;height:5px;margin-top:-2px;border:2px solid var(--pill-ink);border-top:0;border-right:0;transform:rotate(-45deg);opacity:0}
input[type=checkbox]:checked{background:var(--pill);border-color:var(--pill)}
input[type=checkbox]:checked::after{opacity:1}
input[type=radio]{display:grid;place-content:center;width:20px;height:20px;margin:0;flex:none;border:1.5px solid var(--line-2);border-radius:50%;background:var(--card);cursor:pointer;appearance:none;transition:background .15s,border-color .15s}
input[type=radio]::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--pill-ink);opacity:0;transition:opacity .15s}
input[type=radio]:checked{background:var(--pill);border-color:var(--pill)}
input[type=radio]:checked::after{opacity:1}
input[type=radio]:focus-visible,input[type=checkbox]:focus-visible{outline:2px solid var(--orange-ink);outline-offset:2px}
fieldset{display:flex;flex-direction:column;margin:0;padding:10px 16px 12px;border:1px solid var(--line);border-radius:var(--r-md)}
legend{padding:0 6px;margin-left:-6px;font-size:13px;font-weight:500;color:var(--ink-2)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
form>.btn.small{align-self:flex-start}
.code,.copy-input{font-family:var(--mono)!important;font-size:13px!important}
.notice{display:flex;align-items:flex-start;gap:10px;margin:0 0 16px;padding:14px 18px;border-radius:18px;background:var(--orange-tint);color:var(--ink-2);font-size:13px;line-height:1.7}
.notice .ic{margin-top:2px;color:var(--orange-ink)}
#otp-fields{display:flex;flex-direction:column;gap:12px}
#otp-fields.hidden{display:none}
#invite-info{margin:0}

/* 外框与顶栏 */
.frame{width:calc(100% - 32px);max-width:1440px;min-height:calc(100dvh - 32px);margin:16px auto;padding:0 20px 28px;border-radius:var(--r-frame);background:var(--frame);box-shadow:0 0 0 1px rgb(30 20 10 / .03),var(--shadow-lg)}
.brand{display:inline-flex;align-items:center;gap:10px;min-width:0}
.brand img{width:36px;height:36px;flex:none;border-radius:11px;box-shadow:0 6px 14px -8px rgb(255 98 31 / .8)}
.brand-text{font-size:17px;font-weight:600;color:var(--ink);white-space:nowrap}
.brand-text b{margin-right:4px;font-family:var(--num);font-size:20px;font-weight:700;letter-spacing:-.01em}
.brand-link{flex:none;padding:0;border:1px solid transparent;background:none}
.app-header{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:20px;height:var(--bar-h);margin:0 -20px 4px;padding:0 20px;border-radius:var(--r-frame) var(--r-frame) 0 0;background:color-mix(in srgb,var(--frame) 88%,transparent);-webkit-backdrop-filter:saturate(160%) blur(14px);backdrop-filter:saturate(160%) blur(14px)}
.navpills{display:flex;align-items:center;gap:8px;margin:0 auto}
.navpill{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--ink);font-size:14px;font-weight:600;transition:background .15s,border-color .15s}
.navpill:hover:not(.active){background:var(--soft)}
.navpill.active{width:auto;padding:0 20px 0 16px;border-color:var(--pill);background:var(--pill);color:var(--pill-ink)}
.header-end{display:flex;align-items:center;gap:10px;min-width:0}
.header-sep{width:1px;height:28px;margin:0 4px;background:var(--line-2)}
.demo-tag{flex:none;padding:4px 10px;border-radius:999px;background:var(--orange-tint);color:var(--orange-ink);font-size:12px;font-weight:600}
.me{display:flex;align-items:center;gap:10px;min-width:0;padding:4px 12px 4px 4px;border:1px solid transparent;border-radius:999px;background:none;color:inherit;text-align:left}
.me:hover{background:var(--soft)}
.me-text{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.me-text strong{max-width:200px;overflow:hidden;font-size:14px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}
.me-text small{font-size:12px;color:var(--ink-3)}
.content{display:block}
.dock-nav{display:none}

/* 活动页头、区块标题、卡片 */
.event-bar{display:flex;align-items:center;gap:14px;margin:8px 0 20px}
.event-bar-cover{width:56px;height:56px;flex:none;border-radius:0;object-fit:cover}
.event-bar-text{flex:1;min-width:0}
.event-bar-title{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.event-bar-title h1{min-width:0;font-size:22px;line-height:1.35}
.event-bar-text p{margin-top:2px;font-size:13px;color:var(--ink-3)}
.event-bar-actions{display:flex;flex-wrap:wrap;gap:10px;flex:none}
.page-title{margin:12px 2px 20px}
.page-title h1{font-size:28px}
.page-title p{margin-top:4px;color:var(--ink-2)}
.section-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:0 2px 14px}
.section-head h2{font-size:18px}
.section-head p{font-size:13px;color:var(--ink-3)}
.card{min-width:0;border-radius:var(--r-card);background:var(--card);box-shadow:var(--shadow)}
.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:22px 22px 14px}
.card-head>div:first-child{min-width:0}
.card-head h2{font-size:18px}
.card-head h3{font-size:16px}
.card-head p{margin-top:2px;font-size:13px;color:var(--ink-3)}
.card-actions{padding:16px 22px 22px}
.card-bar{padding:0 22px}
.card-empty{padding:0 22px 22px;font-size:13px;color:var(--ink-3)}
.kv-pill{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 22px;padding:11px 16px;border:1px solid var(--line);border-radius:14px;font-size:13px;color:var(--ink-2)}
.kv-pill span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.kv-pill b{flex:none;max-width:60%;overflow:hidden;color:var(--ink);font-weight:600;white-space:nowrap;text-overflow:ellipsis}
.kv-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 22px 14px}
.kv-cols div{display:flex;flex-direction:column;gap:2px}
.kv-cols div:last-child{align-items:flex-end;text-align:right}
.kv-cols span{font-size:13px;color:var(--ink-3)}
.kv-cols b{font-family:var(--num);font-size:20px;font-weight:600;line-height:1.2}
.empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:56px 24px;border:1.5px dashed var(--line-2);border-radius:var(--r-card);text-align:center}
.card .empty{border:0}
.empty-ic{display:grid;place-items:center;width:48px;height:48px;margin-bottom:8px;border-radius:50%;background:var(--orange-tint);color:var(--orange-ink)}
.empty h3{font-size:17px}
.empty p{max-width:340px;color:var(--ink-2)}
.empty .btn{margin-top:14px}

/* 渐变问候卡与迷你卡 */
.hero-card{position:relative;min-width:0;overflow:hidden;padding:28px;border-radius:var(--r-card);background:var(--hero)}
.greet-text h1,.greet-text h2{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:28px;line-height:1.35}
.greet-text p{max-width:30em;margin-top:6px;font-size:17px;line-height:1.6;color:var(--ink-2)}
.greet-figure{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin:34px 0 18px}
.figure{display:flex;flex-direction:column;min-width:0}
.figure span{overflow:hidden;font-size:14px;color:var(--ink-2);white-space:nowrap;text-overflow:ellipsis}
.figure b{font-family:var(--num);font-size:52px;font-weight:600;line-height:1.1;letter-spacing:-.01em}
.greet-actions{display:flex;align-items:center;gap:10px}
.bar-legend{display:flex;justify-content:space-between;gap:12px;margin-top:10px;font-size:13px;color:var(--ink-2)}
.bar-legend b{font-family:var(--num);font-weight:600;color:var(--ink)}
.mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px}
.mini{display:flex;flex-direction:column;gap:10px;min-width:0;padding:18px;border-radius:20px;background:var(--card);box-shadow:var(--shadow)}
.mini-head{display:flex;align-items:center;gap:10px;min-width:0}
.mini-ic{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:var(--soft);color:var(--ink-2)}
.mini-title{flex:1;min-width:0;overflow:hidden;font-size:14px;font-weight:500;white-space:nowrap;text-overflow:ellipsis}
.mini-value{font-family:var(--num);font-size:30px;font-weight:600;line-height:1.15}
.mini-note{align-self:flex-start;max-width:100%;overflow:hidden;padding:3px 10px;border-radius:999px;background:var(--orange-tint);color:var(--orange-ink);font-size:12px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}
.mini-rows{display:flex;flex-direction:column;gap:4px}
.mini-rows div{display:flex;justify-content:space-between;gap:10px;font-size:13px}
.mini-rows dt{color:var(--ink-3)}
.mini-rows dd{font-family:var(--num);font-weight:600}

/* 首页 */
.home{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-areas:"greet side" "greet table";gap:20px;align-items:start;padding-top:12px}
.greet{grid-area:greet}
.home-side{display:grid;grid-area:side;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.events-card{grid-area:table;padding-bottom:10px}
.events-card .card-head{align-items:center;flex-wrap:wrap}
.events-card .search{width:240px;min-height:40px}
.spot{display:flex;align-items:center;gap:14px;padding:0 22px 14px}
.spot-cover{width:96px;height:72px;flex:none;border-radius:0;object-fit:cover}
.spot-text{display:flex;flex-direction:column;min-width:0}
.spot-text strong{display:-webkit-box;overflow:hidden;font-size:15px;font-weight:600;line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.spot-text small{margin-top:2px;overflow:hidden;font-size:12px;color:var(--ink-3);white-space:nowrap;text-overflow:ellipsis}
.seg{display:flex;gap:4px;margin:0 22px 6px;padding:5px;overflow-x:auto;border-radius:999px;background:var(--soft);scrollbar-width:none}
.seg::-webkit-scrollbar{display:none}
.seg button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1 0 auto;height:40px;padding:0 14px;border:1px solid transparent;border-radius:999px;background:none;color:var(--ink-2);font-size:14px;font-weight:500;white-space:nowrap;transition:background .15s,color .15s}
.seg button.active{background:var(--card);color:var(--ink);box-shadow:var(--shadow)}
.seg small{font-family:var(--num);font-size:12px;color:var(--ink-3)}
.seg-ic{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--gray-bg);color:var(--gray-ink)}
.seg-ic.live{background:var(--warn-bg);color:var(--orange-ink)}
.seg-ic.draft{background:#fff1cc;color:#a86a00}
.seg-ic.ended{background:var(--ok-bg);color:var(--ok-ink)}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .seg-ic.draft{background:rgb(250 204 21 / .16);color:#f5c84c}}
:root[data-theme=dark] .seg-ic.draft{background:rgb(250 204 21 / .16);color:#f5c84c}
.erow{position:relative;display:flex;align-items:center;gap:14px;padding:14px 22px;border-top:1px solid var(--line);transition:background .15s}
.event-table .erow:hover{background:var(--soft)}
.erow-main{--erow-h:60px;display:flex;flex:1;align-items:center;gap:14px;min-width:0}
.erow-cover{flex:none;width:auto;height:var(--erow-h);aspect-ratio:4/3;border-radius:0;object-fit:cover}
.erow-name{display:flex;flex:1;flex-direction:column;justify-content:center;gap:6px;min-width:0;height:var(--erow-h)}
.erow-title{display:flex;align-items:center;gap:8px;min-width:0}
.erow-title .pill{flex:none}
.event-title{overflow:hidden;min-width:0;padding:0;border:1px solid transparent;background:none;color:var(--ink);font-size:16px;font-weight:600;text-align:left;white-space:nowrap;text-overflow:ellipsis}
.event-title::after{content:"";position:absolute;inset:0}
.event-title:focus-visible{outline:none}
.erow:has(.event-title:focus-visible){outline:2px solid var(--orange);outline-offset:-2px}
.erow-meta{display:flex;align-items:center;min-width:0;font-size:13px;color:var(--ink-3);white-space:nowrap}
.erow-meta span:first-child{flex:none;font-family:var(--num)}
.erow-meta span+span{overflow:hidden;text-overflow:ellipsis}
.erow-meta span+span::before{content:"·";margin:0 6px}
.erow-go{display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;color:var(--ink-2)}
.event-table .empty{margin:8px 22px 14px}

/* 现场控制 */
.live-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:20px;align-items:start}
.live-side{display:flex;flex-direction:column;gap:20px;min-width:0}
.stage-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,40%);align-items:center;gap:24px}
.stage-top{display:flex;flex-wrap:wrap;gap:8px}
.stage-text h2{margin-top:16px;font-size:28px;line-height:1.35}
.stage-text p{margin-top:6px;font-size:15px;color:var(--ink-2)}
.stage-cover{width:100%;aspect-ratio:16/10;border-radius:20px;object-fit:cover;box-shadow:0 18px 36px -20px rgb(30 20 10 / .5)}
.stage-figure{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin:26px 0 16px}
.big-timer{font-family:var(--num);font-size:68px;font-weight:600;line-height:1.05}
.big-timer.over,[data-timer].over{color:var(--orange-ink)}
.timer-track{height:12px;overflow:hidden;border-radius:999px;background:var(--glass)}
.timer-track i{display:block;width:calc(var(--progress,0) * 100%);height:100%;border-radius:inherit;background:var(--meter);transition:width 1s linear}
.stage-tools{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.stage-tools .btn{background:var(--glass);border-color:transparent;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.stage-tools .btn:hover:not(:disabled){background:var(--card)}
.stage-note{margin-top:12px;font-size:13px;color:var(--ink-2)}
.score-card .kv-pill{margin-top:2px}
.people{display:flex;flex-direction:column;padding-bottom:8px}
.person{display:flex;align-items:center;gap:12px;padding:12px 22px;border-top:1px solid var(--line)}
.person:first-child{border-top:0}
.person-main{display:flex;flex:1;flex-direction:column;min-width:0;line-height:1.45}
.person-main strong{overflow:hidden;font-size:14px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}
.person-main small{font-size:12px;color:var(--ink-3)}
.chart-now{display:flex;flex-direction:column;align-items:flex-end;min-width:0;padding:10px 14px;border-radius:16px;background:var(--soft);text-align:right}
.chart-now span{font-size:12px;color:var(--ink-3)}
.chart-now b{font-family:var(--num);font-size:22px;font-weight:600;line-height:1.2}
.chart-now small{max-width:160px;overflow:hidden;font-size:12px;color:var(--ink-2);white-space:nowrap;text-overflow:ellipsis}
.chart{padding:8px 22px 20px}
.chart-plot{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;height:196px}
.chart-axis{position:relative;font-family:var(--num);font-size:12px;color:var(--ink-3)}
.chart-axis span{position:absolute;right:0;transform:translateY(-50%)}
.chart-axis span:nth-child(1){top:0}.chart-axis span:nth-child(2){top:50%}.chart-axis span:nth-child(3){top:100%}
.chart-bars{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));align-items:end;height:100%;border-bottom:1px solid var(--line-2);background:linear-gradient(var(--line) 1px,transparent 1px) 0 0/100% 50%}
.col{position:relative;height:100%}
.col-hit{position:relative;display:flex;align-items:flex-end;justify-content:center;width:100%;height:100%;padding:0;border:1px solid transparent;background:none}
.col-hit i{display:block;width:min(24px,60%);height:calc(var(--v) * 100%);border-radius:4px 4px 0 0;background:var(--bar-muted);transition:filter .15s}
.col.hl .col-hit i{background:var(--bar-hl)}
.col-hit:hover i,.col-hit:focus-visible i{filter:brightness(.94)}
.col-hit:focus-visible{outline:none}
.col-hit:focus-visible i{outline:2px solid var(--orange);outline-offset:2px}
@media (hover:hover){.col-hit[data-tip]:hover::after{top:auto;bottom:calc(var(--v) * 100% + 10px)}}
.col-cap{position:absolute;bottom:calc(var(--v) * 100% + 6px);left:50%;font-family:var(--num);font-size:12px;font-weight:600;color:var(--ink);white-space:nowrap;transform:translateX(-50%);pointer-events:none}
.chart-x{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));margin:8px 0 0 50px;font-family:var(--num);font-size:12px;color:var(--ink-3);text-align:center}
.chart-x .hl{color:var(--ink);font-weight:600}
.lineup{display:flex;flex-direction:column;padding-bottom:8px}
.lineup-row{display:flex;align-items:center;gap:12px;width:100%;padding:12px 22px;border:1px solid transparent;border-top:1px solid var(--line);background:none;color:inherit;text-align:left;transition:background .15s}
.lineup-row:first-child{border-top:0}
.lineup-row:hover{background:var(--soft)}
.lineup-row.active{background:var(--orange-tint);box-shadow:inset 3px 0 0 var(--orange)}
.order{width:24px;flex:none;font-family:var(--num);font-size:15px;font-weight:600;color:var(--ink-3)}
.lineup-row.active .order,.order.top{color:var(--orange-ink)}
.thumb{width:52px;height:38px;flex:none;border-radius:10px;object-fit:cover;background:var(--soft)}
.row-main{display:flex;flex:1;flex-direction:column;min-width:0;line-height:1.5}
.row-main strong{overflow:hidden;font-size:14px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}
.row-main small{overflow:hidden;font-size:12px;color:var(--ink-3);white-space:nowrap;text-overflow:ellipsis}

/* 项目、嘉宾 */
.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.project-card{display:flex;align-items:center;gap:16px;padding:14px}
.project-media{position:relative;flex:none}
.project-cover{width:132px;height:92px;border-radius:var(--r-md);object-fit:cover}
.order-tag{position:absolute;top:8px;left:8px;padding:2px 9px;border-radius:999px;background:var(--pill);color:var(--pill-ink);font-family:var(--num);font-size:12px;font-weight:600}
.project-info{flex:1;min-width:0}
.project-info h3{overflow:hidden;font-size:16px;white-space:nowrap;text-overflow:ellipsis}
.project-info p{font-size:13px;color:var(--ink-2)}
.project-desc{display:-webkit-box;overflow:hidden;margin-top:6px;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--ink-3)}
.project-tools{display:flex;gap:8px;flex:none}
.judge-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.judge-card{display:flex;flex-direction:column;padding:20px}
.judge-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.judge-card h3{margin-top:14px;font-size:17px}
.judge-card p{font-size:13px;color:var(--ink-2)}
.judge-card>small{margin-top:2px;font-size:12px;color:var(--ink-3)}
.judge-tools{display:flex;gap:8px;margin-top:16px}
.judge-tools .btn{flex:1}

/* 成绩 */
.results{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:20px;align-items:start}
.results:not(:has(.chart-card)) .result-hero,.results .table-card{grid-column:1/-1}
.result-hero .greet-text h2{font-size:24px}
.result-hero .greet-figure{margin:28px 0 16px}
.table-wrap{overflow-x:auto;padding-bottom:6px}
.table{width:100%;border-collapse:collapse}
.table th{padding:10px 22px;border-bottom:1px solid var(--line);color:var(--ink-3);font-size:13px;font-weight:400;text-align:left;white-space:nowrap}
.table td{padding:12px 22px;border-bottom:1px solid var(--line);vertical-align:middle}
.table tbody tr:last-child td{border-bottom:0}
.table tbody tr:hover td{background:var(--soft)}
.table .num{text-align:right}
.rank{width:72px;font-family:var(--num);font-size:17px;font-weight:600;color:var(--ink-3)}
.rank.top{color:var(--orange-ink)}
.cell-main{display:flex;align-items:center;gap:12px;min-width:0}
.cell-main strong{display:block;font-size:15px;font-weight:600}
.cell-main small{display:none;font-size:12px;color:var(--ink-3)}
.score{font-family:var(--num);font-size:18px;font-weight:600}

/* 设置、工作空间 */
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.weights{padding:0 22px 14px}
.weight-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;padding:14px 0;border-top:1px solid var(--line)}
.weight-row:first-child{border-top:0}
.weight-row>b{font-family:var(--num);font-size:17px;font-weight:600}
.weight-row .bar{grid-column:1/-1}
.facts{padding:0 22px 8px}
.facts>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--line)}
.facts>div:first-child{border-top:0}
.facts dt{display:flex;flex-direction:column;min-width:0}
.facts dt strong{font-size:14px;font-weight:600}
.facts dt small{font-size:12px;color:var(--ink-3)}
.facts dd{flex:none;padding:4px 12px;border-radius:999px;background:var(--soft);font-size:13px;font-weight:600}
.action-list{display:flex;flex-direction:column;padding-bottom:8px}
.action-row{display:flex;align-items:center;gap:14px;width:100%;padding:12px 22px;border:1px solid transparent;border-top:1px solid var(--line);background:none;color:inherit;text-align:left;transition:background .15s}
.action-row:first-child{border-top:0}
.action-row:hover{background:var(--soft)}
.danger-card{background:color-mix(in srgb,var(--bad-bg) 50%,var(--card))}
.danger-row{display:flex;align-items:center;gap:16px;padding:20px 22px}
.danger-row strong{color:var(--bad-ink)}
.ws-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:20px}
.ws-card{display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:22px;border:1px solid transparent;color:inherit;text-align:left;transition:transform .2s var(--ease),box-shadow .2s}
.ws-card:hover{transform:translateY(-2px)}
.ws-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:14px}
.ws-head .tile{width:52px;height:52px}
.ws-card strong{font-size:17px;font-weight:600}
.ws-card small{font-size:13px;color:var(--ink-2)}

/* 登录 */
.auth{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px;padding:20px}
.auth-hero{display:flex;flex-direction:column;gap:26px;padding:32px 36px}
.auth-brand{display:flex;align-items:center;justify-content:space-between;gap:12px}
.auth-copy h1{font-size:clamp(34px,3.6vw,48px);line-height:1.3;letter-spacing:.01em}
.auth-copy h1 span{color:var(--ink-2);font-weight:400}
.auth-copy p{margin-top:14px;font-size:17px;color:var(--ink-2)}
.auth-art{width:100%;max-width:560px;aspect-ratio:16/9;border-radius:22px;object-fit:cover;box-shadow:0 24px 48px -26px rgb(30 20 10 / .5)}
.auth-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:auto}
.auth-point{display:flex;flex-direction:column;gap:6px;padding:16px;border-radius:18px;background:var(--glass)}
.auth-point strong{font-size:14px;font-weight:600}
.auth-point small{font-size:12px;color:var(--ink-2)}
.auth-card{display:flex;flex-direction:column;justify-content:center;gap:26px;padding:48px 40px}
.auth-card>*{width:100%;max-width:400px;margin:0 auto}
.auth-heading h2{font-size:28px}
.auth-heading p{margin-top:6px;color:var(--ink-2)}
.auth-alt{display:flex;flex-direction:column;gap:12px;padding-top:24px;border-top:1px solid var(--line)}
.auth-alt>span{font-size:13px;color:var(--ink-3)}
.fine{font-size:13px;color:var(--ink-3)}

/* 嘉宾端 */
.judge-app{padding-top:20px}
.judge-hero{padding:22px 28px 30px}
.judge-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.judge-top-start{display:flex;align-items:center;gap:14px;min-width:0}
.judge-top-start .brand{flex:none}
.judge-top-end{display:flex;flex:none;align-items:center;gap:8px}
.btn.judge-progress{flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;min-width:0;max-width:280px;min-height:46px;padding:6px 18px;text-align:left}
.judge-progress small{max-width:100%;overflow:hidden;font-size:11px;font-weight:400;opacity:.7;text-overflow:ellipsis}
.judge-progress b{font-size:14px;font-weight:600}
.judge-top-end .me{padding:2px}
.judge-hero-body{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);align-items:center;gap:36px;margin-top:22px}
.judge-cover{width:100%;aspect-ratio:4/3;border-radius:24px;object-fit:cover;box-shadow:0 24px 44px -24px rgb(30 20 10 / .5)}
.judge-copy{min-width:0}
.judge-copy h1{font-size:34px;line-height:1.35}
.judge-copy h1 .lite{color:var(--ink-2);font-weight:400}
.judge-copy>p{margin-top:8px;font-size:15px;color:var(--ink-2)}
.judge-desc{max-width:62ch;line-height:1.75;white-space:pre-line}
.judge-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.judge-main{padding-top:24px}
.judge-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
.judge-scores{display:flex;flex-direction:column;gap:14px;min-width:0}
.criterion{padding:20px 22px}
.criterion-head{display:flex;align-items:flex-start;gap:14px}
.criterion-head .tile{width:52px;height:52px}
.criterion-info{flex:1;min-width:0}
.criterion-info h3{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:16px}
.criterion-info p{margin-top:2px;font-size:13px;color:var(--ink-2)}
.criterion output{min-width:72px;font-family:var(--num);font-size:42px;font-weight:600;line-height:1;text-align:right}
.criterion-ctrl{display:flex;align-items:center;gap:12px;margin:16px 0 12px}
.slider{--p:1;position:relative;flex:1;min-width:0;height:32px}
.slider::before,.slider-fill{position:absolute;top:50%;left:0;height:8px;margin-top:-4px;border-radius:999px;content:"";pointer-events:none}
.slider::before{right:0;background:var(--track)}
.slider-fill{width:calc(12px + (100% - 24px) * var(--p));background:linear-gradient(90deg,#ffb060,var(--orange));transition:width .22s var(--ease)}
.slider-thumb{position:absolute;top:50%;left:calc((100% - 24px) * var(--p));width:24px;height:24px;margin-top:-12px;border:4px solid var(--pill);border-radius:50%;background:#fff;box-shadow:0 4px 10px rgb(30 20 10 / .25);pointer-events:none;transition:left .22s var(--ease),transform .15s,box-shadow .15s}
.slider input{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;background:transparent;opacity:0;cursor:pointer;-webkit-appearance:none;appearance:none}
.slider input::-webkit-slider-thumb{width:24px;height:32px;-webkit-appearance:none;appearance:none}
.slider input::-moz-range-thumb{width:24px;height:32px;border:0}
.slider:has(input:active) .slider-thumb{transform:scale(1.12)}
.slider:has(input:focus-visible) .slider-thumb{box-shadow:0 0 0 5px var(--orange-tint)}
.slider:has(input:disabled){opacity:.45}
.slider input:disabled{cursor:not-allowed}
.criterion output.roll-up{animation:roll-up .24s var(--ease)}
.criterion output.roll-down{animation:roll-down .24s var(--ease)}
@keyframes roll-up{from{opacity:.25;transform:translateY(40%)}to{opacity:1;transform:none}}
@keyframes roll-down{from{opacity:.25;transform:translateY(-40%)}to{opacity:1;transform:none}}
.presets{position:relative;display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:6px}
.presets button{height:36px;padding:0;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--ink-2);font-family:var(--num);font-size:13px;font-weight:600;transition:background .15s,border-color .15s,color .15s}
.presets button:hover:not(:disabled){border-color:var(--line-2)}
.presets button.selected{border-color:var(--pill);background:var(--pill);color:var(--pill-ink)}
.presets button:disabled{opacity:.45}
.comment-card{display:flex;flex-direction:column;gap:10px;padding:20px 22px 22px}
.comment-card label{font-size:15px;font-weight:600}
.comment-card label small{margin-left:8px;font-size:12px;font-weight:400;color:var(--ink-3)}
.submit-dock{position:sticky;top:calc(var(--bar-h) + 16px);display:flex;flex-direction:column;gap:16px;padding:24px;border-radius:var(--r-card);background:var(--card);box-shadow:var(--shadow)}
.dock-total span{font-size:13px;color:var(--ink-3)}
.dock-total div{display:flex;align-items:baseline;gap:6px}
.dock-total b{font-family:var(--num);font-size:56px;font-weight:600;line-height:1.05;color:var(--orange-ink)}
.dock-total small{font-family:var(--num);font-size:16px;color:var(--ink-3)}
.dock-breakdown{display:flex;flex-direction:column;gap:8px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.dock-breakdown div{display:flex;justify-content:space-between;gap:12px;font-size:13px}
.dock-breakdown span{overflow:hidden;color:var(--ink-2);white-space:nowrap;text-overflow:ellipsis}
.dock-breakdown b{font-family:var(--num);font-size:15px;font-weight:600}
.save-state{font-size:13px;color:var(--ink-3)}
.submit-dock .btn{width:100%}

/* 弹层、菜单 */
dialog{flex-direction:column;width:min(560px,calc(100vw - 32px));max-width:none;max-height:min(88dvh,860px);padding:0;overflow:hidden;border:0;border-radius:28px;background:var(--card);color:var(--ink);box-shadow:var(--shadow-lg)}
dialog[open]{display:flex;animation:pop .22s var(--ease)}
dialog::backdrop{background:rgb(22 18 14 / .4);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:fade .2s}
.sheet-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:22px 20px 12px 26px}
.sheet-head h2{min-width:0;overflow:hidden;font-size:19px;white-space:nowrap;text-overflow:ellipsis}
.sheet-body{display:flex;flex-direction:column;gap:16px;padding:4px 26px 26px;overflow-y:auto;overscroll-behavior:contain}
.sheet-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}
.sheet-note{font-size:14px;line-height:1.75;color:var(--ink-2)}
.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.choice-list{display:flex;flex-direction:column;gap:10px}
.choice-list .btn{justify-content:flex-start}
dialog.as-menu{width:300px;margin:calc(var(--bar-h) + 20px) max(28px,calc((100vw - 1440px) / 2 + 36px)) auto auto;border-radius:22px}
dialog.as-menu::backdrop{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
dialog.as-menu .sheet-head{padding:16px 14px 4px 20px}
dialog.as-menu .sheet-head h2{font-size:13px;font-weight:500;color:var(--ink-3)}
dialog.as-menu .sheet-body{gap:8px;padding:4px 10px 10px}
.menu-user{display:flex;align-items:center;gap:12px;padding:4px 10px 12px;border-bottom:1px solid var(--line)}
.menu-user div{display:flex;flex-direction:column;min-width:0}
.menu-user strong{overflow:hidden;font-size:15px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}
.menu-user small{overflow:hidden;font-size:12px;color:var(--ink-3);white-space:nowrap;text-overflow:ellipsis}
.menu-list{display:flex;flex-direction:column;gap:2px}
.btn.menu-item{--h:46px;justify-content:flex-start;gap:12px;padding:0 12px;border:1px solid transparent;border-radius:14px;background:none;font-size:15px}
.btn.menu-item:hover:not(:disabled){background:var(--soft)}
.btn.menu-item.danger{color:var(--bad-ink)}
.image-field{display:flex;align-items:center;gap:16px}
.image-field>div{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.image-field strong{font-size:14px;font-weight:600}
.image-field small{font-size:12px;color:var(--ink-3)}
.image-field label.btn{position:relative;margin-top:8px;overflow:hidden}
.image-field input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}
.form-cover{width:160px;aspect-ratio:16/10;flex:none;border-radius:var(--r-md);object-fit:cover}
.theme-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.theme-options button{aspect-ratio:16/10;padding:0;overflow:hidden;border:2px solid transparent;border-radius:12px;background:none;transition:border-color .15s}
.theme-options button:hover{border-color:var(--line-2)}
.theme-options button.selected{border-color:var(--pill)}
.theme-options img{width:100%;height:100%;object-fit:cover}
#rule-rows{display:flex;flex-direction:column;gap:8px}
.rule-edit{display:grid;grid-template-columns:minmax(0,1fr) 110px auto;gap:8px 12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:var(--r-md)}
.rule-edit .rule-description{grid-column:1/-1}
.weight-input{position:relative}
.weight-input input{padding-right:30px!important}
.weight-input span{position:absolute;top:50%;right:14px;color:var(--ink-3);transform:translateY(-50%);pointer-events:none}
.audit-list{display:flex;flex-direction:column}
.audit-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:12px 0;border-top:1px solid var(--line)}
.audit-list article:first-child{padding-top:0;border-top:0}
.audit-list strong{font-size:14px;font-weight:600}
.audit-list span{font-size:12px;color:var(--ink-3);white-space:nowrap}
.audit-list p{grid-column:1/-1;font-family:var(--mono);font-size:12px;color:var(--ink-2);word-break:break-all}
.key-list{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.key-list h3{padding:14px 0 4px;font-size:14px}
.key-list div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.key-list span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.judge-project-list{display:flex;flex-direction:column;gap:8px}
.judge-project-list button{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:18px;background:var(--card);color:inherit;text-align:left;transition:border-color .15s,background .15s}
.judge-project-list button:hover{border-color:var(--line-2)}
.judge-project-list button.current,.judge-project-list button.current:hover{border-color:transparent;background:var(--orange);color:#fff}
.judge-project-list button.current b,.judge-project-list button.current small{color:inherit}
.judge-project-list b{width:24px;flex:none;color:var(--ink-3);font-family:var(--num);font-size:15px}
.judge-project-list img{width:64px;height:46px;flex:none;border-radius:12px;object-fit:cover}
.judge-project-list span:not(.pill){display:flex;flex:1;flex-direction:column;min-width:0}
.judge-project-list strong{overflow:hidden;font-size:15px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}
.judge-project-list small{font-size:12px;color:var(--ink-3)}
.result-list .row{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.result-list .row:first-child{border-top:0}
.submit-summary{display:flex;align-items:baseline;gap:6px;padding:22px;border-radius:22px;background:var(--hero)}
.submit-summary span{margin-right:auto;color:var(--ink-2)}
.submit-summary b{font-family:var(--num);font-size:44px;font-weight:600;line-height:1}
.submit-summary small{font-family:var(--num);color:var(--ink-3)}
.summary-row{display:flex;justify-content:space-between;gap:12px;padding:12px 2px;border-bottom:1px solid var(--line);font-size:14px}
.summary-row span{color:var(--ink-2)}
.summary-row b{font-family:var(--num);font-size:16px;font-weight:600}
.speaker-prompt{padding:44px 24px;border-radius:22px;background:#17110d;color:#fff;text-align:center}
.speaker-prompt small{font-size:13px;letter-spacing:.1em;color:#ff8a4c}
.speaker-prompt h2{margin:12px 0 8px;color:#fff;font-size:28px}
.speaker-prompt p{color:rgb(255 255 255 / .6)}

/* 提示、现场提示屏、加载 */
#toast{position:fixed;inset:auto auto calc(24px + var(--safe-b)) 50%;z-index:100;max-width:calc(100vw - 32px);margin:0;padding:12px 20px;overflow:visible;border:0;border-radius:999px;background:#141414;color:#fff;font-size:14px;box-shadow:0 14px 34px -10px rgb(20 14 10 / .45);opacity:0;transform:translateX(-50%);transition:opacity .2s;pointer-events:none}
#toast.show{opacity:1;animation:toast-in .3s var(--ease)}
.stage-display{display:flex;flex-direction:column;justify-content:center;gap:32px;min-height:100dvh;padding:48px clamp(24px,7vw,120px);border-top:10px solid #ff621f;background:#17110d;color:#fff}
.stage-display span{font-size:clamp(14px,1.4vw,18px);color:rgb(255 255 255 / .6)}
.stage-display h1{max-width:16em;color:#fff;font-size:clamp(44px,8vw,140px);line-height:1.25;letter-spacing:.02em;text-wrap:balance}
.stage-display p{font-size:clamp(16px,2vw,26px);color:#ff8a4c}
.loading-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-height:100dvh;color:var(--ink-2)}
.spinner{width:24px;height:24px;border:2px solid var(--line-2);border-top-color:var(--orange);border-radius:50%;animation:spin .7s linear infinite}
.page-enter{animation:rise .32s var(--ease)}
@keyframes rise{from{opacity:0;transform:translateY(8px)}}
@keyframes fade{from{opacity:0}}
@keyframes pop{from{opacity:0;transform:translateY(8px) scale(.98)}}
@keyframes sheet-up{from{transform:translateY(100%)}}
@keyframes toast-in{from{opacity:0;transform:translate(-50%,10px)}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes pulse{50%{opacity:.35}}

/* ≤1279：首页与成绩改为上下两段，项目卡单列，嘉宾总分改为底部悬浮栏前的过渡宽度 */
@media (max-width:1279px){
.home{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"greet side" "table table"}
.home-side{grid-template-columns:minmax(0,1fr)}
.project-grid{grid-template-columns:minmax(0,1fr)}
.judge-layout{grid-template-columns:minmax(0,1fr) 280px}
}
@media (max-width:1199px){
.judge-main{padding-bottom:120px}
.judge-layout{grid-template-columns:minmax(0,1fr)}
.dock-breakdown{display:none}
.submit-dock{position:fixed;inset:auto 16px calc(16px + var(--safe-b)) 16px;top:auto;z-index:25;flex-direction:row;align-items:center;gap:16px;max-width:760px;margin:0 auto;padding:8px 8px 8px 24px;border-radius:999px;box-shadow:0 18px 40px -14px rgb(30 20 10 / .4),0 0 0 1px var(--line)}
.dock-total{display:flex;align-items:baseline;gap:10px}
.dock-total b{font-size:30px}
.save-state{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.submit-dock .btn{width:auto;min-width:160px}
body:has(.submit-dock) #toast{bottom:calc(96px + var(--safe-b))}
}

/* 768–1023：取消外框，仪表盘单列 */
@media (max-width:1023px){
.frame{width:100%;min-height:100dvh;margin:0;padding:0 20px 28px;border-radius:0;box-shadow:none}
.app-header{border-radius:0}
.me-text,.demo-tag{display:none}
.home{grid-template-columns:minmax(0,1fr);grid-template-areas:"greet" "side" "table"}
.home-side{grid-template-columns:repeat(2,minmax(0,1fr))}
.live-grid,.results,.settings-grid{grid-template-columns:minmax(0,1fr)}
.live-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.ws-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.auth{grid-template-columns:minmax(0,1fr);padding:16px 0}
.auth-card{padding:36px 28px}
.judge-hero-body{grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:24px}
.judge-copy h1{font-size:28px}
.wide-only{display:none!important}
}

/* 手机（含横屏）：底部悬浮导航、全宽头图、底部弹层 */
@media (max-width:767px),(max-width:1023px) and (max-height:520px){
input:where(:not([type=checkbox],[type=radio],[type=range],[type=file])),select,textarea{font-size:16px}
.frame{padding:0 16px calc(104px + var(--safe-b))}
.app-header{gap:10px;height:60px;margin:0 -16px 4px;padding:0 16px}
.brand img{width:34px;height:34px}
.judge-top .brand-text{display:none}
.navpills,.header-sep{display:none}
.header-end{margin-left:auto}
.me{padding:2px}
.dock-nav{position:fixed;bottom:calc(14px + var(--safe-b));left:50%;z-index:30;display:flex;gap:6px;padding:6px;border-radius:999px;background:color-mix(in srgb,var(--card) 92%,transparent);-webkit-backdrop-filter:saturate(160%) blur(16px);backdrop-filter:saturate(160%) blur(16px);box-shadow:0 18px 40px -14px rgb(30 20 10 / .45),0 0 0 1px var(--line);transform:translateX(-50%)}
.dock-nav .navpill{width:48px;height:48px;border-color:transparent;background:var(--soft)}
.dock-nav .navpill.active{width:auto;padding:0 18px 0 14px;background:var(--pill)}
.dock-nav [data-tip]:hover::after{display:none}
body:has(.dock-nav) #toast{bottom:calc(88px + var(--safe-b))}
.event-bar{flex-wrap:wrap;gap:12px;margin:4px 0 16px}
.event-bar-cover{width:48px;height:48px;border-radius:0}
.event-bar-text{flex:1 1 calc(100% - 128px)}
.event-bar-title h1{font-size:18px}
.event-bar-actions{flex:1 1 100%}
.event-bar-actions .btn{flex:1}
.page-title h1{font-size:24px}
.hero-card{padding:22px 20px}
.greet-text h1,.greet-text h2{font-size:23px}
.greet-text p{font-size:15px}
.greet-figure{margin:24px 0 14px}
.figure b{font-size:44px}
.mini-grid{gap:10px;margin-top:18px}
.mini{padding:14px;border-radius:18px}
.mini-value{font-size:24px}
.home{gap:16px;padding-top:4px}
.home-side{grid-template-columns:minmax(0,1fr);gap:16px}
.card-head{padding:18px 18px 12px}
.card-actions{padding:14px 18px 18px}
.card-bar,.card-empty{padding-right:18px;padding-left:18px}
.kv-pill{margin:0 18px}
.kv-cols{padding:14px 18px 12px}
.spot{padding:0 18px 14px}
.events-card .search{width:100%}
.seg{margin:0 18px 6px}
.seg button{flex:none;padding:0 12px}
.erow{gap:10px;padding:14px 18px}
.mini-head:has(.circle) .mini-ic{display:none}
.event-table .empty{margin:8px 18px 14px}
.live-grid{gap:16px}
.live-side{display:flex;gap:16px}
.stage-main{grid-template-columns:minmax(0,1fr);gap:16px}
.stage-cover{order:-1;aspect-ratio:16/9}
.stage-text h2{margin-top:12px;font-size:22px}
.big-timer{font-size:54px}
.stage-figure{flex-direction:column;align-items:stretch;margin:20px 0 14px}
.stage-cta .btn{width:100%}
.stage-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.stage-tools .btn{padding:0 10px}
.person,.lineup-row,.action-row{padding-right:18px;padding-left:18px}
.chart{padding:4px 18px 16px}
.chart-plot{height:160px;grid-template-columns:34px minmax(0,1fr);gap:8px}
.chart-x{margin-left:42px}
.chart-now{padding:8px 12px}
.chart-now small{display:none}
.project-card{flex-wrap:wrap;gap:12px}
.project-cover{width:104px;height:76px}
.project-info{flex:1 1 calc(100% - 120px)}
.project-tools{flex:1 1 100%;justify-content:flex-end}
.judge-grid{grid-template-columns:minmax(0,1fr)}
.table thead{display:none}
.table,.table tbody{display:block}
.table tr{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:4px 12px;padding:12px 18px;border-bottom:1px solid var(--line)}
.table tbody tr:last-child{border-bottom:0}
.table td{padding:0;border:0!important;background:none!important}
.table .hide-sm{display:none}
.rank{width:auto}
.cell-main small{display:block}
.cell-main .thumb{display:none}
.weights,.facts{padding-right:18px;padding-left:18px}
.danger-row{flex-wrap:wrap;padding:18px}
.ws-grid{grid-template-columns:minmax(0,1fr);gap:14px}
.auth{gap:14px;padding:12px 0 24px}
.auth-hero{gap:18px;padding:22px 20px}
.auth-copy h1{font-size:28px}
.auth-copy p{margin-top:8px;font-size:15px}
.auth-art{aspect-ratio:2/1}
.auth-points{grid-template-columns:minmax(0,1fr)}
.auth-point{flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:10px;padding:12px 14px}
.auth-point small{flex:1 1 100%;padding-left:42px}
.auth-card{padding:26px 20px}
.judge-app{padding-top:0}
.judge-hero{margin:0 -16px;padding:14px 16px 22px;border-radius:0 0 32px 32px}
.judge-hero-body{grid-template-columns:minmax(0,1fr);justify-items:center;gap:18px;margin-top:16px;text-align:center}
.judge-cover{width:72%;max-width:300px;border-radius:26px}
.judge-copy h1{font-size:23px}
.judge-chips{justify-content:center}
.judge-main{padding:18px 0 calc(110px + var(--safe-b))}
.criterion{padding:18px 16px}
.criterion-head{gap:12px}
.criterion-head .tile{width:44px;height:44px;border-radius:14px;font-size:14px}
.criterion output{min-width:58px;font-size:34px}
.criterion-ctrl{gap:10px}
.presets{display:flex;margin:0 -16px;padding:0 16px 2px;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding:0 16px;scrollbar-width:none}
.presets::-webkit-scrollbar{display:none}
.presets button{flex:0 0 52px;height:40px;scroll-snap-align:start}
.comment-card{padding:16px}
.submit-dock{inset:auto 12px calc(12px + var(--safe-b)) 12px;gap:12px;padding:8px 8px 8px 20px}
.dock-total span,.save-state{display:none}
.save-line .draft-submit-hint::before{display:none}
.dock-total{gap:6px}
.dock-total b{font-size:28px}
.submit-dock .btn{flex:1;min-width:0;max-width:210px;margin-left:auto}
body:has(.submit-dock) #toast{bottom:calc(88px + var(--safe-b))}
dialog,dialog.as-menu{width:100%;max-height:92dvh;margin:auto 0 0;border-radius:28px 28px 0 0}
dialog[open]{animation:sheet-up .32s var(--ease)}
dialog.as-menu::backdrop{background:rgb(22 18 14 / .4)}
.sheet-head{padding:26px 16px 10px 22px}
.sheet-head::before{content:"";position:absolute;top:9px;left:50%;width:38px;height:5px;margin-left:-19px;border-radius:99px;background:var(--line-2)}
.sheet-body,dialog.as-menu .sheet-body{padding:4px 22px calc(24px + var(--safe-b))}
.sheet-actions{flex-direction:column-reverse}
.sheet-actions .btn{width:100%}
.form-grid,.choice-grid{grid-template-columns:minmax(0,1fr)}
.theme-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.form-cover{width:120px}
}
@media (max-width:359px){.judge-top-end [data-action=judge-results]{display:none}.frame{padding-right:12px;padding-left:12px}.app-header{margin:0 -12px 4px;padding:0 12px}.brand-text{font-size:15px}.dock-nav .navpill{width:44px;height:44px}.dock-nav .navpill.active{padding:0 14px}.dock-nav .navpill.active span{display:none}.judge-hero{margin:0 -12px}.presets{margin:0 -16px;padding:0 16px 2px}.criterion output{font-size:30px}.stage-tools .btn{font-size:13px}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* 嘉宾项目：标题、计时状态、16:9 项目图和介绍依次展示。 */
.btn.judge-progress{background:transparent;border-color:var(--line-2)}
.judge-hero-body{grid-template-columns:minmax(0,1fr);gap:18px;text-align:left;justify-items:stretch}
.judge-heading{min-width:0}
.judge-heading h1{font-size:30px;line-height:1.45}
.judge-heading h1 .lite{color:var(--ink-2);font-weight:400}
.judge-chips{justify-content:space-between;align-items:center;margin-top:12px}
.judge-status{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.judge-cover{width:100%;max-width:none;aspect-ratio:16/9;object-fit:contain;background:transparent;border-radius:0;box-shadow:none}
.judge-copy>p:first-child{margin-top:0}
.judge-desc{max-width:none}
.presets button.selected:hover:not(:disabled){color:var(--pill-ink);border-color:var(--pill)}
@media(max-width:767px),(max-height:500px) and (pointer:coarse){
 .judge-heading h1{font-size:23px}
 .judge-hero-body{gap:16px;text-align:left;justify-items:stretch}
 .judge-cover{width:calc(100% + 32px);max-width:none;margin-inline:-16px;border-radius:0;box-shadow:none}
 .judge-chips{justify-content:space-between}
}
@media(max-width:359px){.judge-cover{width:calc(100% + 24px);margin-inline:-12px}}
.btn.judge-progress,.btn.judge-progress:hover:not(:disabled){background:transparent;border-color:var(--line-2);color:var(--ink)}

/* 评分页项目名与醒目计时。 */
.btn.judge-progress,.btn.judge-progress:hover:not(:disabled){border-color:rgb(51 51 51 / .1)}
.judge-chips>.pill.plain{height:auto;min-height:44px;padding:8px 14px;gap:12px;background:var(--card);color:var(--ink-2);box-shadow:none}
.judge-chips [data-timer]{font-family:var(--num);font-size:28px;font-weight:650;line-height:1;color:var(--orange-ink)}
.judge-chips [data-timer].over{color:var(--bad-ink)}

/* 关闭前保留 dialog 与遮罩，完成收起动效后再释放焦点。 */
dialog[open].closing{animation:dialog-out .22s ease-in forwards;pointer-events:none}
dialog.closing::backdrop{animation:backdrop-out .22s ease-in forwards}
@keyframes dialog-out{to{opacity:0;transform:translateY(16px) scale(.96)}}
@keyframes backdrop-out{to{opacity:0}}
@media(max-width:767px),(max-height:500px) and (pointer:coarse){
 dialog[open].closing{animation:sheet-down .22s ease-in forwards}
 @keyframes sheet-down{to{transform:translateY(100%);opacity:0}}
}
@media(prefers-reduced-motion:reduce){dialog[open],dialog[open].closing,dialog::backdrop{animation:none!important}}

.judge-project-image{position:relative;overflow:hidden;min-width:0;isolation:isolate}
.judge-project-image .judge-cover{width:100%;margin:0}
.judge-project-image::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to bottom,transparent 25%,rgb(0 0 0 / .2) 50%,rgb(0 0 0 / .88) 100%)}
.judge-project-image .judge-copy{position:absolute;inset:auto 0 0;z-index:2;padding:24px;color:#fff;max-height:100%;overflow-y:auto}
.judge-project-image .judge-copy>p{color:#fff;text-shadow:0 1px 3px rgb(0 0 0 / .3)}
.judge-project-image .judge-desc{font-size:14px;line-height:1.6}
@media(max-width:767px),(max-height:500px) and (pointer:coarse){
 .judge-project-image{width:calc(100% + 32px);margin-inline:-16px}
 .judge-project-image .judge-copy{padding:16px}
 .judge-project-image .judge-cover{width:100%;margin:0}
}
@media(max-width:359px){.judge-project-image{width:calc(100% + 24px);margin-inline:-12px}}

.judge-hero{padding-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}
.judge-project-image{margin-bottom:0}

/* 评分时持续显示项目名、剩余时间与开放状态。 */
.judge-heading{position:sticky;top:0;z-index:30;padding:18px 28px 16px;background:var(--hero);box-shadow:0 6px 14px -12px rgb(0 0 0 / .3)}
.judge-hero{border-radius:var(--r-card) var(--r-card) 0 0;padding-bottom:16px}
.judge-app>.judge-project-image{width:100%;margin:0}
@media(max-width:767px),(max-height:500px) and (pointer:coarse){
 .judge-hero{border-radius:0;padding-bottom:0}
 .judge-heading{margin-inline:-16px;padding:16px;top:0}
 .judge-app>.judge-project-image{width:calc(100% + 32px);margin-inline:-16px}
}
@media(max-width:359px){.judge-heading{margin-inline:-12px;padding-inline:12px}.judge-app>.judge-project-image{width:calc(100% + 24px);margin-inline:-12px}}

.judge-sticky-header{position:sticky;top:0;z-index:30;background:var(--hero);border-radius:var(--r-card) var(--r-card) 0 0;box-shadow:0 6px 14px -12px rgb(0 0 0 / .3)}
.judge-sticky-header .judge-heading{position:static;margin:0;background:none;box-shadow:none}
.judge-sticky-header .judge-hero{margin:0;background:none;box-shadow:none}
@media(max-width:767px),(max-height:500px) and (pointer:coarse){
 .judge-sticky-header{margin-inline:-16px;border-radius:0}
 .judge-sticky-header .judge-hero{padding:14px 16px 0}
}
@media(max-width:359px){.judge-sticky-header{margin-inline:-12px}.judge-sticky-header .judge-hero{padding-inline:12px}}

.submit-dock .dock-total{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.submit-dock .dock-total .save-state{display:block;flex:none;min-height:17px;font-size:11px;line-height:17px;color:var(--ink-2)}
.submit-dock .dock-total .save-line{font-size:11px}
.save-state.saving{display:flex!important;align-items:center;gap:5px}
.save-state.saving::before{content:"";display:inline-block;flex:none;width:10px;height:10px;border:1.5px solid var(--line-2);border-top-color:var(--orange);border-radius:50%;animation:spin .7s linear infinite}
@media(prefers-reduced-motion:reduce){.save-state.saving::before{animation:none}}

.judge-tablet-cover,.judge-tablet-description{display:none}
@media(min-width:768px) and (min-height:501px){
 .frame.judge-app{width:100%;max-width:none;min-height:100dvh;margin:0;padding:0 24px 130px;border-radius:0;box-shadow:none}
 .judge-sticky-header{margin-inline:-24px;border-radius:0}
 .judge-sticky-header .judge-hero{padding:18px 24px 0}
 .judge-sticky-header .judge-heading{display:grid;grid-template-columns:minmax(180px,25%) minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:24px;row-gap:8px;padding:20px 24px 24px;align-items:start}
 .judge-tablet-cover{display:block;grid-column:1;grid-row:1/4;align-self:stretch;position:relative;overflow:hidden}
 .judge-tablet-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:rgb(255 255 255 / .35)}
 .judge-heading h1{grid-column:2;font-size:26px}
 .judge-tablet-description{display:block;grid-column:2;color:var(--ink-2);font-size:14px}
 .judge-tablet-description .judge-desc{margin-top:4px;line-height:1.6}
 .judge-heading .judge-chips{grid-column:2;margin-top:4px}
 .judge-app>.judge-project-image{display:none}
}

/* 底部提交栏：较小圆角，主操作靠右。 */
.submit-dock{border-radius:20px}
@media(max-width:1023px){
 .submit-dock>.btn{margin-left:auto;flex:0 1 210px}
}
@media(min-width:768px) and (max-width:1366px) and (min-height:501px){
 .judge-layout{grid-template-columns:minmax(0,1fr)}
 .dock-breakdown{display:none}
 .submit-dock{position:fixed;inset:auto 16px calc(16px + var(--safe-b)) 16px;z-index:25;flex-direction:row;align-items:center;gap:16px;max-width:760px;margin:0 auto;padding:8px 8px 8px 24px;border-radius:20px}
 .submit-dock>.btn{width:auto;min-width:160px;max-width:210px;margin-left:auto;flex:0 1 210px}
 .dock-total b{font-size:30px}
}
/* 窄屏手机：文字与控件随屏宽收紧，保留完整评分内容。 */
@media(max-width:430px){
 .judge-heading h1{font-size:clamp(17px,5.3vw,23px);line-height:1.4}
 .btn.judge-progress{max-width:clamp(130px,40vw,172px);padding:6px 12px}
 .judge-progress small{font-size:10px}
 .judge-progress b{font-size:12px}
 .judge-top-start{gap:10px}
 .judge-top-end{gap:6px}
 .judge-chips [data-timer]{font-size:clamp(23px,6.5vw,28px)}
 .judge-chips>.pill.plain{padding:7px 11px;gap:8px;font-size:11px;min-height:38px}
 .judge-project-image .judge-copy>p{font-size:clamp(11px,3.3vw,14px)}
 .judge-project-image .judge-desc{line-height:1.5}
 .criterion-info h3{font-size:clamp(13px,3.8vw,16px);gap:4px 6px}
 .criterion-info p{font-size:clamp(11px,3vw,13px)}
 .criterion output{min-width:52px;font-size:clamp(28px,9vw,38px)}
 .criterion-head{gap:10px}
 .criterion-head .tile{width:40px;height:40px;font-size:14px}
 .criterion{padding:16px}
 .criterion-ctrl{gap:8px}
 .presets{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:3px;margin:0;padding:0;overflow:visible}
 .presets button{width:100%;min-width:0;height:30px;font-size:clamp(10px,2.8vw,12px)}
 .submit-dock{gap:8px;padding-left:16px}
 .submit-dock .dock-total b{font-size:clamp(23px,6.7vw,28px)}
 .submit-dock .dock-total small{font-size:13px}
 .submit-dock .dock-total .save-state{font-size:10px}
 .submit-dock .dock-total .save-line{font-size:10px}
 .submit-dock>.btn{font-size:13px;padding-inline:14px;flex:0 1 190px}
 .judge-project-list button{gap:8px;padding:10px}
 .judge-project-list strong{font-size:13px;white-space:normal}
 .judge-project-list img{width:48px;height:36px}
 .judge-project-list .pill{padding-inline:8px;font-size:11px}
}
@media(max-width:359px){
 .judge-top .brand img{width:30px;height:30px}
 .judge-top-end .circle{width:36px;height:36px}
 .judge-top-end .avatar{width:34px;height:34px}
 .judge-top-start{gap:7px}
 .btn.judge-progress{padding-inline:10px;max-width:132px}
 .judge-heading{padding-block:12px}
 .judge-chips{gap:6px;margin-top:8px}
 .judge-status .pill{font-size:11px;padding-inline:8px}
 .judge-project-image .judge-copy{padding:12px}
 .criterion-head{gap:8px}
 .criterion-head .tile{width:34px;height:34px;font-size:12px}
 .criterion-info .pill{font-size:10px;padding-inline:6px}
 .criterion-ctrl .circle{width:36px;height:36px}
 .section-head h2{font-size:18px}
 .section-head p{font-size:11px}
 .submit-dock>.btn{font-size:12px;padding-inline:10px;gap:5px}
}
/* 总分不换行；手机保留胶囊底栏，平板维持 20px 圆角。 */
.submit-dock .dock-total{flex-shrink:0;min-width:max-content}
.submit-dock .dock-total>div{flex-wrap:nowrap;white-space:nowrap}
.submit-dock .dock-total b,.submit-dock .dock-total small{white-space:nowrap;flex-shrink:0}
@media(max-width:767px),(max-height:500px) and (pointer:coarse){
 .submit-dock{border-radius:999px}
 .submit-dock>.btn{min-width:0;flex-shrink:1}
}
@media(max-width:359px){
 .submit-dock{padding-left:14px;gap:8px}
 .submit-dock .dock-total>div{gap:4px}
 .submit-dock .dock-total b{font-size:23px}
 .submit-dock .dock-total small{font-size:12px}
}

.score-review-sheet .sheet-head{padding:26px 26px 14px;border-bottom:1px solid var(--line)}
.score-review-sheet .sheet-body{padding:20px 26px 26px}
.score-review{display:flex;flex-direction:column;gap:22px}
.review-project{font-size:15px;font-weight:600;color:var(--ink-2)}
.score-review .submit-summary{padding:22px 24px;align-items:center;gap:16px;border:1px solid transparent;border-radius:20px}
.score-review .submit-summary>span{font-size:13px}
.score-review .submit-summary>div{display:flex;align-items:baseline;gap:6px;white-space:nowrap}
.score-review .submit-summary b{color:var(--orange-ink);font-size:46px}
.review-section h3{margin-bottom:12px;font-size:14px;font-weight:600}
.review-details{padding:0 16px;border:1px solid var(--line);border-radius:16px}
.score-review .summary-row{padding:13px 0;align-items:center}
.score-review .summary-row:last-child{border-bottom-color:transparent}
.score-review .summary-row>span{display:flex;flex-direction:column;gap:2px;color:var(--ink)}
.score-review .summary-row small{color:var(--ink-3);font-size:11px;font-weight:400}
.score-review .summary-row b{font-size:22px;white-space:nowrap}
.review-comment{padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--soft);font-size:14px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.review-comment.empty-comment{color:var(--ink-3)}
.review-warning{padding:12px 16px;border:1px solid transparent;border-radius:14px;background:var(--warn-bg);color:var(--warn-ink);font-size:13px}
.review-actions{margin-top:0;padding-top:18px;border-top:1px solid var(--line)}
@media(max-width:767px){
 .score-review-sheet .sheet-head{padding:26px 20px 14px}
 .score-review-sheet .sheet-body{padding:18px 20px calc(20px + var(--safe-b))}
 .score-review{gap:18px}
 .score-review .submit-summary{padding:18px}
 .score-review .submit-summary b{font-size:38px}
}
/* 紧凑提交总结，常规四项评分与评语一屏核对。 */
.score-review-sheet .sheet-head{padding:20px 20px 10px}
.score-review-sheet .sheet-body{padding:12px 20px 18px}
.score-review{gap:12px}
.review-project{font-size:13px}
.score-review .submit-summary{padding:14px 16px;border-radius:16px}
.score-review .submit-summary b{font-size:34px}
.review-section h3{margin-bottom:7px;font-size:13px}
.review-details{padding-inline:12px;border-radius:14px}
.score-review .summary-row{padding:9px 0;font-size:13px}
.score-review .summary-row>span{flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:4px 8px}
.score-review .summary-row b{font-size:18px}
.review-comment{padding:10px 12px;font-size:13px;line-height:1.5;max-height:90px;overflow-y:auto;border-radius:14px}
.review-warning{padding:9px 12px;font-size:12px}
.review-actions{padding-top:12px;gap:10px;flex-direction:row}
.review-actions .btn{flex:1;min-height:40px;padding-inline:12px;width:auto}
@media(max-width:767px){
 .score-review-sheet .sheet-head{padding:23px 20px 10px}
 .score-review-sheet .sheet-body{padding:12px 20px calc(14px + var(--safe-b))}
 .score-review{gap:12px}
 .score-review .submit-summary{padding:14px 16px}
 .score-review .submit-summary b{font-size:34px}
 .score-review .review-actions{flex-direction:row}
}
.score-review .review-comment{padding:0;border:0;border-radius:0;background:transparent;color:var(--ink-3);font-size:12px;line-height:1.6}

@media(min-width:1367px) and (min-height:501px){
 .judge-sticky-header .judge-heading{grid-template-columns:220px minmax(0,1fr)}
 .judge-sticky-header .judge-top,.judge-sticky-header .judge-heading{max-width:1440px;margin-inline:auto}
 .judge-main{max-width:1392px;margin-inline:auto}
}

.desktop-project-summary{display:none}
/* 电脑仅导航固定，项目与计时集中在右侧评分栏。 */
@media(min-width:1200px) and (min-height:501px){
 .judge-sticky-header .judge-heading{display:none}
 .judge-sticky-header .judge-hero{padding:16px 24px}
 .judge-sticky-header{z-index:30}
 .judge-layout{grid-template-columns:minmax(0,1fr) 340px}
 .judge-main{padding-top:24px}
 .submit-dock{position:sticky;inset:auto;top:104px;z-index:20;display:flex;flex-direction:column;align-items:stretch;gap:16px;max-width:none;margin:0;padding:20px;border-radius:20px;max-height:calc(100dvh - 120px);overflow-y:auto}
 .submit-dock>.btn{width:100%;min-width:0;max-width:none;margin:0;flex:none}
 .dock-breakdown{display:block}
 .desktop-project-summary{display:flex;flex-direction:column;gap:8px;padding-bottom:16px;border-bottom:1px solid var(--line)}
 .desktop-project-cover{width:100%;aspect-ratio:16/9;object-fit:contain;background:var(--soft)}
 .desktop-project-summary h2{font-size:20px;line-height:1.4;margin-top:4px}
 .desktop-project-summary p{font-size:12px;color:var(--ink-2);line-height:1.6}
 .desktop-project-desc{max-height:96px;overflow-y:auto;white-space:pre-wrap}
 .desktop-project-status{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}
 .desktop-project-status>span{display:flex;flex-direction:column;font-size:11px;color:var(--ink-2)}
 .desktop-project-status [data-timer]{font:600 28px/1.2 var(--num);color:var(--orange-ink)}
 .desktop-project-status [data-timer].over{color:var(--bad-ink)}
}

/* 状态胶囊保持图标与文字横排，避免被父级 span 规则覆盖。 */
.desktop-project-status>.pill{display:inline-flex;flex-direction:row;align-items:center;white-space:nowrap;flex-shrink:0}
@media(min-width:1200px) and (min-height:501px){
 .submit-dock{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:12px}
 .desktop-project-summary{display:contents}
 .desktop-project-cover,.desktop-project-summary h2,.desktop-project-summary>p{grid-column:1/-1}
 .desktop-project-summary h2{margin-top:0}
 .desktop-project-status{grid-column:1;grid-row:auto;justify-content:flex-start;gap:12px;margin:0;padding-top:12px;border-top:1px solid var(--line);align-self:stretch}
 .desktop-project-status>span:not(.pill){display:flex;flex-direction:column;font-size:11px}
 .desktop-project-status [data-timer]{font-size:24px}
 .desktop-project-status>.pill{height:25px;padding-inline:9px;font-size:11px}
 .submit-dock .dock-total{grid-column:2;align-items:flex-end;padding-top:12px;border-top:1px solid var(--line);justify-content:center;gap:2px}
 .submit-dock .dock-total b{font-size:28px}
 .submit-dock .dock-total small{font-size:12px}
 .submit-dock .dock-total .save-state{font-size:10px;min-height:15px;line-height:15px}
 .submit-dock .dock-total .save-line{font-size:10px}
 .submit-dock .dock-breakdown{display:none}
 .submit-dock>.btn{grid-column:1/-1}
}
/* 电脑右栏评分明细：紧凑名称与分数列表。 */
@media(min-width:1200px) and (min-height:501px){
 .submit-dock .dock-breakdown{display:flex;grid-column:1/-1;flex-direction:column;gap:0;padding-top:6px;border-top:1px solid var(--line)}
 .submit-dock .dock-breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 0;font-size:12px;line-height:1.5}
 .submit-dock .dock-breakdown span{color:var(--ink-2)}
 .submit-dock .dock-breakdown b{font-family:var(--num);font-size:14px;font-weight:500}
}
:root[data-theme=dark] .btn.judge-progress,:root[data-theme=dark] .btn.judge-progress:hover:not(:disabled){border-color:rgb(255 255 255 / .1)}
@media(prefers-color-scheme:dark){
 :root:not([data-theme=light]) .btn.judge-progress,:root:not([data-theme=light]) .btn.judge-progress:hover:not(:disabled){border-color:rgb(255 255 255 / .1)}
}
/* 极窄手机：缩小视觉元素，保留操作触达面积。 */
@media(max-width:359px){
 .judge-site .ic{width:16px;height:16px}
 .judge-top .brand img{width:28px;height:28px}
 .judge-top .brand svg{width:28px;height:28px}
 .judge-top-end .circle .ic{width:15px;height:15px}
 .judge-top-end .avatar{font-size:12px}
 .btn.judge-progress{min-height:40px;padding:5px 9px;max-width:124px}
 .judge-progress small{font-size:9px}
 .judge-progress b{font-size:11px}
 .judge-heading h1{font-size:clamp(15px,5vw,18px);line-height:1.35}
 .judge-heading{padding-block:10px}
 .judge-chips>.pill.plain{font-size:10px;min-height:34px;padding:5px 9px;gap:6px}
 .judge-chips [data-timer]{font-size:22px}
 .judge-status{gap:4px}
 .judge-status .pill{height:23px;font-size:10px;padding-inline:7px;gap:4px}
 .judge-project-image .judge-copy>p{font-size:11px;line-height:1.4}
 .judge-main .section-head h2{font-size:16px}
 .judge-main .section-head p{font-size:10px;line-height:1.5}
 .criterion-info h3{font-size:12px;gap:3px 5px}
 .criterion-info p{font-size:10px;line-height:1.4}
 .criterion-head .tile{width:30px;height:30px;font-size:11px}
 .criterion output{font-size:27px;min-width:44px}
 .criterion{padding:13px}
 .criterion-ctrl{margin:12px 0 10px}
 .comment-card label{font-size:13px}
 .comment-card label small{font-size:10px}
 .judge-site textarea{font-size:12px}
 .sheet-head h2{font-size:16px}
 .judge-project-list b{width:20px;font-size:12px}
 .judge-project-list strong{font-size:12px}
 .judge-project-list small{font-size:10px}
 .review-project,.review-section h3{font-size:12px}
 .score-review .summary-row{font-size:12px}
 .score-review .summary-row small{font-size:10px}
 .score-review .submit-summary>span{font-size:11px}
 .score-review .submit-summary b{font-size:29px}
}
@media(max-width:320px){
 .judge-top-start{gap:5px}
 .judge-top-end{gap:4px}
 .judge-top-end .circle{width:32px;height:32px}
 .judge-top-end .avatar{width:30px;height:30px}
 .btn.judge-progress{max-width:115px;padding-inline:8px}
 .judge-heading h1{font-size:15px}
 .criterion-head{gap:6px}
 .criterion-info h3{font-size:11px}
}
/* 管理端登录：全屏品牌渐变，登录卡片叠放在背景上。 */
.frame.auth{width:100%;max-width:none;min-height:100dvh;margin:0;border-radius:0;background:var(--hero);box-shadow:none;padding:clamp(20px,4vw,64px);gap:clamp(24px,5vw,80px);align-items:center}
.auth .auth-hero{padding:0;background:transparent;border-radius:0;overflow:visible;box-shadow:none}
.auth .auth-card{position:relative;border-radius:28px;background:var(--card);box-shadow:0 24px 70px -32px rgb(60 25 5 / .3)}
@media(min-width:1024px){
 .frame.auth{grid-template-columns:minmax(0,1fr) minmax(360px,480px);padding-inline:max(40px,calc((100vw - 1360px)/2));padding-block:40px}
 .auth .auth-hero{gap:clamp(18px,3vh,32px)}
 .auth .auth-card{padding:clamp(32px,4vw,56px) 36px;min-height:min(680px,calc(100dvh - 80px))}
 .auth .auth-art{max-width:600px;max-height:30vh;object-fit:cover}
 .auth .auth-points{margin-top:0}
 .auth .auth-point{padding:14px}
}
@media(min-width:1024px) and (max-height:760px){
 .frame.auth{padding-block:24px}
 .auth .auth-card{min-height:calc(100dvh - 48px);padding-block:28px;gap:20px}
 .auth .auth-copy h1{font-size:36px}
 .auth .auth-art{max-height:24vh}
 .auth .auth-hero{gap:18px}
 .auth .auth-point{padding:10px}
}
@media(max-width:767px){
 .frame.auth{padding:20px 16px 28px;gap:24px}
 .auth .auth-card{padding:28px 22px;border-radius:24px}
}
/* 手机登录页仅保留品牌、主标题与登录卡片。 */
@media(max-width:767px){
 .auth .auth-copy>p,.auth .auth-art,.auth .auth-points{display:none}
 .frame.auth{align-content:center;gap:26px;padding-top:28px;padding-bottom:28px}
 .auth .auth-hero{gap:24px}
 .auth .auth-copy h1{font-size:clamp(25px,7vw,34px);line-height:1.4}
 .auth .auth-card{gap:22px}
}

/* 管理端登录与嘉宾端共用主题、字号及窄屏控件规则。 */
.auth-top-actions{display:flex;align-items:center;gap:10px;flex:none}
.auth-top-actions .circle{border-color:rgb(51 51 51 / .1);background:var(--glass)}
:root[data-theme=dark] .auth-top-actions .circle{border-color:rgb(255 255 255 / .1)}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .auth-top-actions .circle{border-color:rgb(255 255 255 / .1)}}
.auth .field{font-size:13px}
.auth .auth-alt .fine{font-size:12px;line-height:1.6;color:var(--ink-3)}
.auth .auth-copy h1{font-size:clamp(28px,3.6vw,48px)}
@media(max-width:767px){
 .auth .auth-copy h1{font-size:clamp(25px,7vw,34px)}
 .auth .auth-top-actions{gap:8px}
 .auth .auth-copy p{font-size:14px}
 .auth .auth-card{padding:26px 22px}
 .auth .auth-card input{font-size:16px}
}
@media(max-width:359px){
 .frame.auth{padding:20px 12px;gap:20px}
 .auth .auth-brand{gap:8px}
 .auth .brand-text{font-size:13px}
 .auth .brand img,.auth .brand svg{width:28px;height:28px}
 .auth-top-actions{gap:6px}
 .auth-top-actions .circle{width:34px;height:34px}
 .auth-top-actions .ic{width:15px;height:15px}
 .auth-top-actions .pill{font-size:10px;height:23px;padding-inline:7px}
 .auth .auth-copy h1{font-size:24px}
 .auth .auth-hero{gap:20px}
 .auth .auth-card{padding:22px 18px;gap:18px}
 .auth .field{font-size:12px}
 .auth .btn{font-size:13px;padding-inline:14px}
 .auth .auth-alt{gap:10px;padding-top:18px}
 .auth .auth-alt>span,.auth .auth-alt .fine{font-size:11px}
}

/* 平板沿用手机的精简登录内容，电脑保留登录标题。 */
@media(max-width:1199px){
 .frame.auth{grid-template-columns:minmax(0,1fr);align-content:center;justify-items:center;gap:26px;padding:28px 20px}
 .auth .auth-hero,.auth .auth-card{width:100%;max-width:560px}
 .auth .auth-hero{gap:24px}
 .auth .auth-copy>p,.auth .auth-art,.auth .auth-points,.auth .auth-heading{display:none}
 .auth .auth-card{min-height:0;padding:28px;gap:22px}
 .auth .auth-copy h1{font-size:clamp(25px,5vw,34px)}
}
@media(max-width:767px){.frame.auth{padding:28px 16px}.auth .auth-card{padding:26px 22px}}
@media(max-width:359px){.frame.auth{padding:20px 12px;gap:20px}.auth .auth-card{padding:22px 18px}.auth .auth-copy h1{font-size:24px}}

.auth-brand-label{display:flex;align-items:center;gap:12px;min-width:0}
.auth-brand-label>.pill{flex:none}
.auth-card-theme{display:none}
@media(min-width:1200px){
 .auth .auth-top-actions{display:none}
 .auth .auth-card>.auth-card-theme{display:block;position:absolute;top:18px;right:18px;width:auto;max-width:none;margin:0}
 .auth-card-theme .circle{background:transparent;border-color:var(--line)}
}
@media(max-width:359px){.auth-brand-label{gap:7px}.auth-brand-label>.pill{font-size:10px;padding-inline:7px}}
@media(min-width:1200px){.auth .auth-art{display:none}}
/* 手机登录品牌置于页顶，主标题增强层级。 */
@media(max-width:767px){
 .frame.auth{position:relative;padding-top:108px;align-content:center}
 .auth .auth-brand{position:absolute;top:24px;left:16px;right:16px}
 .auth .auth-copy h1{font-size:clamp(32px,8.5vw,44px);line-height:1.32;letter-spacing:0}
}
@media(max-width:359px){
 .frame.auth{padding-top:92px}
 .auth .auth-brand{top:20px;left:12px;right:12px}
 .auth .auth-copy h1{font-size:clamp(28px,8.5vw,32px)}
}
@media(max-width:767px){.auth .auth-hero{position:static}}

.auth #login-form>button[type=submit]{margin-top:12px}

.mobile-home-greeting,.mobile-home-actions{display:none}
@media(max-width:767px){
 .home{grid-template-areas:"greeting" "side" "table";gap:18px}
 .home>.greet{display:none}
 .mobile-home-greeting{display:block;grid-area:greeting;padding:6px 2px;font-size:clamp(20px,5.8vw,26px);font-weight:500;line-height:1.4}
 .home-side>.spotlight.no-live,.home-side>:not(.spotlight){display:none}
 .home-side:has(.spotlight.no-live){display:none}
 .mobile-home-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:16px 20px 0}
}

/* 管理端顶栏沿用嘉宾端的图标、文字与窄屏缩放。 */
.app-header .header-end>.circle{width:44px;height:44px}
.app-header .brand-text{font-size:17px}
.app-header .header-end{gap:8px}
@media(max-width:767px){
 .app-header{gap:12px}
 .app-header .header-end{gap:6px}
 .app-header .header-sep{display:none}
 .app-header .me{padding:2px}
 .app-header .brand-text{font-size:15px}
 .app-header .brand-text b{font-size:18px}
 .app-header .header-end>.circle{width:40px;height:40px}
 .app-header .header-end .ic{width:18px;height:18px}
}
@media(max-width:359px){
 .app-header .brand img{width:28px;height:28px}
 .app-header .brand{gap:7px}
 .app-header .brand-text{font-size:12px}
 .app-header .brand-text b{font-size:15px;margin-right:3px}
 .app-header .header-end{gap:5px}
 .app-header .header-end>.circle{width:34px;height:34px}
 .app-header .header-end .avatar{width:34px;height:34px;font-size:12px}
 .app-header .ic,.dock-nav .ic{width:16px;height:16px}
 .app-header{gap:8px}
}
@media(max-width:320px){
 .app-header .brand-text{display:none}
 .app-header .header-end>.circle{width:32px;height:32px}
 .app-header .header-end .avatar{width:30px;height:30px}
}
/* 顶部品牌上方标识当前为管理端。 */
.app-header .brand-text{display:flex;flex-wrap:wrap;align-items:baseline;line-height:1.2}
.app-header .brand-text::before{content:"管理端";display:block;flex:0 0 100%;margin-bottom:3px;color:var(--ink-3);font-size:10px;font-weight:400;line-height:1.2;letter-spacing:.08em}
@media(max-width:359px){.app-header .brand-text::before{font-size:9px;margin-bottom:2px}}
@media(max-width:320px){.app-header .brand-text{display:flex}.app-header .brand-text b{display:none}.app-header .brand-text{font-size:11px}}

.app-header .brand-text{position:relative;display:block;padding-top:18px;text-align:left}
.app-header .brand-text::before{position:absolute;top:0;left:0;display:inline-block;width:max-content;margin:0;padding:1px 5px;border:.5px solid var(--line-2);border-radius:4px;font-size:9px;line-height:12px;letter-spacing:0}
@media(max-width:359px){.app-header .brand-text{padding-top:17px}.app-header .brand-text::before{font-size:8px;line-height:11px}}
/* 管理端暂将平板与手机统一，平板专项布局留待最后调整。 */
@media(min-width:768px) and (max-width:1199px){
 body:has(.app-header) .frame{width:100%;max-width:none;min-height:100dvh;margin:0;padding:0 16px calc(104px + var(--safe-b));border-radius:0;box-shadow:none}
 .app-header{height:60px;margin:0 -16px 4px;padding:0 16px;gap:12px;border-radius:0}
 .app-header .navpills,.app-header .header-sep,.app-header .me-text,.app-header .demo-tag{display:none}
 .app-header .header-end{margin-left:auto;gap:6px}
 .app-header .me{padding:2px}
 .app-header .brand img{width:34px;height:34px}
 .app-header .brand-text{font-size:15px}
 .app-header .brand-text b{font-size:18px}
 .app-header .header-end>.circle{width:40px;height:40px}
 .dock-nav{position:fixed;bottom:calc(14px + var(--safe-b));left:50%;z-index:30;display:flex;gap:6px;padding:6px;border-radius:999px;background:color-mix(in srgb,var(--card) 92%,transparent);backdrop-filter:blur(16px);box-shadow:var(--shadow-lg),0 0 0 1px var(--line);transform:translateX(-50%)}
 .dock-nav .navpill{width:48px;height:48px;border-color:transparent;background:var(--soft)}
 .dock-nav .navpill.active{width:auto;padding:0 18px 0 14px;background:var(--pill)}
 .home{grid-template-columns:minmax(0,1fr);grid-template-areas:"greeting" "side" "table";gap:18px}
 .home>.greet{display:none}
 .mobile-home-greeting{display:block;grid-area:greeting;padding:6px 2px;font-size:26px;font-weight:500;line-height:1.4}
 .home-side{grid-template-columns:minmax(0,1fr)}
 .home-side>.spotlight.no-live,.home-side>:not(.spotlight),.home-side:has(.spotlight.no-live){display:none}
 .mobile-home-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:16px 20px 0}
}

.desktop-home-live{display:none}
@media(min-width:1200px){
 .home>.greet{padding:0;background:transparent;border-radius:0;overflow:visible}
 .home>.greet>.greet-text{margin-bottom:22px}
 .home>.greet>.greet-text h1{font-size:28px;font-weight:500}
 .home>.greet>.greet-text p,.home>.greet>.greet-figure,.home>.greet>.bar,.home>.greet>.bar-legend,.home>.greet>.mini-grid{display:none}
 .desktop-home-live{display:block}
 .desktop-home-live>.spotlight{background:var(--hero);box-shadow:none}
 .desktop-home-live .spot-cover{width:96px;height:76px}
 .home-side>.spotlight{display:none}
 .home-side{grid-template-columns:minmax(0,1fr)}
}

.live-event-facts{display:flex;flex-direction:column;gap:12px;margin:0 22px;padding:14px 0;border-top:1px solid var(--line)}
.live-event-facts>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;font-size:13px}
.live-event-facts span{flex:none;color:var(--ink-2)}
.live-event-facts small{margin-left:5px;color:var(--ink-3);font-size:10px}
.live-event-facts b{font-family:var(--num);font-size:18px;font-weight:500;white-space:nowrap}
.live-event-facts strong{font-size:13px;font-weight:500;text-align:right;overflow-wrap:anywhere}
@media(max-width:1199px){.live-event-facts{margin-inline:18px}}

.desktop-live-details{display:none}
@media(min-width:1200px){
 .desktop-live-details{display:flex;flex-direction:column;gap:20px;padding:12px 22px 4px}
 .desktop-live-details h4{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;font-size:14px;font-weight:600}
 .desktop-live-details h4 small{font-size:11px;font-weight:400;color:var(--ink-2)}
 .live-projects{display:flex;flex-direction:column;gap:6px}
 .live-project-detail{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid rgb(51 51 51 / .08);min-width:0}
 .live-project-order{flex:none;color:var(--ink-3);font:500 12px var(--num)}
 .live-project-copy{flex:1;min-width:0}
 .live-project-copy>div{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
 .live-project-copy strong{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .live-project-copy small{font-size:11px;color:var(--ink-2)}
 .live-project-detail:not(.current) .live-project-copy{display:flex;align-items:center;justify-content:space-between;gap:10px}
 .live-project-detail:not(.current) small{white-space:nowrap;flex:none}
 .live-project-detail.current{padding:12px;border:1px solid transparent;border-radius:16px;background:var(--glass);align-items:flex-start;flex-wrap:wrap}
 .live-project-detail.current .live-project-order{display:none}
 .live-project-image{width:100%;aspect-ratio:16/9;object-fit:contain;border-radius:10px;background:var(--soft)}
 .live-project-detail.current .live-project-copy{flex-basis:100%}
 .live-project-detail.current strong{font-size:14px;white-space:normal}
 .live-project-copy p{margin-top:6px;font-size:12px;line-height:1.6;color:var(--ink-2);white-space:pre-wrap}
 .live-project-copy .pill{font-size:10px;height:22px;padding-inline:8px}
 .pending-judge-list{display:flex;flex-wrap:wrap;gap:8px}
 .pending-judge-list>span{padding:5px 10px;border:1px solid var(--line-2);border-radius:8px;font-size:12px;background:var(--glass)}
 .pending-judge-list>p{font-size:12px;color:var(--ink-2)}
}
@media(min-width:1200px){
 .live-project-detail.current{flex-wrap:nowrap;align-items:center;padding:10px;gap:12px}
 .live-project-detail.current .live-project-image{flex:none;width:88px;height:50px;aspect-ratio:16/9;object-fit:contain;border-radius:7px}
 .live-project-detail.current .live-project-copy{flex:1;min-width:0}
 .live-project-detail.current .live-project-copy>div{display:block}
 .live-project-detail.current strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
 .live-project-detail.current .live-project-copy small{display:block;margin-top:3px;font-size:11px}
 .live-project-detail.current .live-project-copy p,.live-project-detail.current .pill{display:none}
}

@media(min-width:1200px){
 .desktop-home-live .live-event-facts{display:none}
 .desktop-live-details{padding-top:6px;gap:18px}
 .live-project-detail.current .live-project-order{display:block;align-self:center;min-width:18px;color:var(--orange-ink)}
 .live-project-detail:not(.current) .live-project-order{min-width:18px}
 .invitation-judge-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;border-top:1px solid var(--line)}
 .invitation-judge-list>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px;min-width:0}
 .invitation-judge-list>div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .invitation-judge-list small{flex:none;font-size:10px}
 .invitation-judge-list .accepted{color:var(--ink-3)}
 .invitation-judge-list .pending{color:var(--orange-ink)}
 .invitation-judge-list>p{color:var(--ink-2);font-size:12px}
}

@media(min-width:1200px){
 .invitation-judge-list{display:flex;flex-direction:column;gap:0}
 .invitation-judge-list>.invitation-judge-row{display:flex;align-items:baseline;justify-content:flex-start;gap:14px;padding:12px 0}
 .invitation-judge-row>small{width:36px;flex:none;color:var(--ink-2);font-size:11px}
 .invitation-judge-row>div{display:flex;flex:1;flex-wrap:wrap;gap:8px 16px;min-width:0}
 .invitation-judge-row>div>span{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--ink);white-space:nowrap}
 .invitation-judge-row i{display:block;flex:none;width:6px;height:6px;border-radius:50%;background:#929292}
 .invitation-judge-row.accepted i{background:#51ae64}
 .invitation-judge-row em{font-size:12px;font-style:normal;color:var(--ink-3)}
}

@media(min-width:1200px){.home>.greet>.greet-text{display:none}}
/* 电脑管理后台铺满暖黄色画布，去除最外层应用框。 */
@media(min-width:1200px){
 body:has(.app-header){background:#f6f0df;background-attachment:fixed}
 body:has(.app-header) .frame{width:100%;max-width:none;min-height:100dvh;margin:0;padding:0 32px 32px;border-radius:0;background:transparent;box-shadow:none}
 .app-header{margin:0 -32px 4px;padding-inline:32px;border-radius:0;background:rgb(246 240 223 / .92)}
 :root[data-theme=dark] body:has(.app-header){background:#211d16}
 :root[data-theme=dark] .app-header{background:rgb(33 29 22 / .92)}
}
@media(min-width:1200px) and (prefers-color-scheme:dark){
 :root:not([data-theme=light]) body:has(.app-header){background:#211d16}
 :root:not([data-theme=light]) .app-header{background:rgb(33 29 22 / .92)}
}
@media(min-width:1200px){
 body:has(.app-header),:root[data-theme=dark] body:has(.app-header){background:linear-gradient(180deg,var(--page),color-mix(in srgb,var(--page) 88%,#000 3%));background-attachment:fixed}
 .app-header,:root[data-theme=dark] .app-header{background:color-mix(in srgb,var(--frame) 88%,transparent)}
}
@media(min-width:1200px) and (prefers-color-scheme:dark){
 :root:not([data-theme=light]) body:has(.app-header){background:linear-gradient(180deg,var(--page),color-mix(in srgb,var(--page) 88%,#000 3%));background-attachment:fixed}
 :root:not([data-theme=light]) .app-header{background:color-mix(in srgb,var(--frame) 88%,transparent)}
}
@media(min-width:1200px){body:has(.app-header) .frame{background:var(--frame)}}

/* 电脑首页双面板，各自滚动，现场入口始终停留底部。 */
@media(min-width:1200px){
 .home{height:calc(100dvh - 112px);min-height:320px;grid-template-columns:minmax(340px,5fr) minmax(0,7fr);grid-template-areas:"greet table";grid-template-rows:minmax(0,1fr);align-items:stretch;overflow:hidden;padding-top:12px}
 .home>.home-side{display:none}
 .home>.greet{min-height:0;height:100%;overflow:hidden}
 .desktop-home-live{height:100%;min-height:0}
 .desktop-home-live>.spotlight{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
 .desktop-home-live>.spotlight>.card-head,.desktop-home-live>.spotlight>.spot{flex:none}
 .desktop-home-live .desktop-live-details{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-bottom:16px}
 .desktop-home-live>.spotlight>.card-actions{flex:none;margin-top:auto;padding:16px 22px;background:var(--hero);border-top:1px solid var(--line)}
 .home>.events-card{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
 .home>.events-card>.card-head,.home>.events-card>.seg{flex:none}
 .home>.events-card>.event-table{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
 .live-detail-group{min-width:0}
 .live-detail-group>summary{display:flex;align-items:center;gap:8px;padding:8px 0;font-size:14px;font-weight:600;cursor:pointer;list-style:none;border-bottom:1px solid var(--line);margin-bottom:8px}
 .live-detail-group>summary::-webkit-details-marker{display:none}
 .live-detail-group>summary small{margin-left:auto;font-size:11px;font-weight:400;color:var(--ink-2)}
 .detail-chevron{font-size:17px;line-height:1;transform:rotate(-90deg);transition:transform .18s}
 .live-detail-group[open]>summary .detail-chevron{transform:rotate(0)}
}
@media(min-width:1200px) and (max-height:700px){
 .desktop-home-live .spot{padding-bottom:10px}
 .desktop-home-live .spot-cover{width:64px;height:48px}
 .desktop-home-live .card-head{padding-top:16px;padding-bottom:10px}
 .desktop-home-live .desktop-live-details{gap:10px}
}

/* 所有屏幕的活动筛选：横向滚动并为两端选项预留居中空间。 */
.events-card .seg{position:relative;min-width:0;max-width:calc(100% - 44px);flex:none;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y}
.events-card .seg button{flex:1 0 auto;transition:background .2s,color .2s,box-shadow .2s}
.events-card .seg::-webkit-scrollbar{display:none}

@media(max-width:1199px){.events-card>.card-head>div>p{display:none}}

.events-card .seg,.members-seg{isolation:isolate}
.events-card .seg .seg-indicator,.members-seg .seg-indicator{position:absolute;top:5px;left:5px;z-index:0;display:block;pointer-events:none;border-radius:999px;background:var(--card);box-shadow:var(--shadow);transition:transform .3s var(--ease),width .3s var(--ease),height .3s var(--ease)}
.events-card .seg button,.members-seg button{position:relative;z-index:1;background:transparent;box-shadow:none}
.events-card .seg button.active,.members-seg button.active{background:transparent;box-shadow:none}
.members-seg{position:relative}
.members-seg button{transition:background .2s,color .2s,box-shadow .2s}
@media(prefers-reduced-motion:reduce){.events-card .seg .seg-indicator,.members-seg .seg-indicator{transition:none}}
@media(max-width:1199px){
 .events-card{position:relative}
 .events-card>.mobile-home-actions{position:absolute;top:14px;right:18px;z-index:2;padding:0}
 .events-card>.mobile-home-actions .btn{min-height:34px;padding-inline:13px;font-size:12px}
 .events-card>.mobile-home-actions .ic{width:14px;height:14px}
 .events-card>.card-head{padding-top:20px}
 .events-card>.card-head>div{min-height:34px;display:flex;align-items:center;padding-right:125px}
}
/* 活动内六项导航铺开可用宽度，避免选中项遮挡相邻入口。 */
@media(max-width:1199px){
 .dock-nav:has([data-nav=overview]){width:calc(100% - 24px);max-width:680px;box-sizing:border-box;gap:3px;padding:6px}
 .dock-nav:has([data-nav=overview]) .navpill{flex:1 1 0;min-width:0;width:auto;height:44px;padding:0;gap:5px}
 .dock-nav:has([data-nav=overview]) .navpill.active{flex:1.65 1 0;width:auto;padding:0 8px;font-size:12px}
 .dock-nav:has([data-nav=overview]) .navpill .ic{width:18px;height:18px}
}
@media(max-width:359px){
 .dock-nav:has([data-nav=overview]){width:calc(100% - 16px);gap:2px;padding:5px}
 .dock-nav:has([data-nav=overview]) .navpill{height:40px}
 .dock-nav:has([data-nav=overview]) .navpill.active{flex:1 1 0;padding:0}
 .dock-nav:has([data-nav=overview]) .navpill.active span{display:none}
 .dock-nav:has([data-nav=overview]) .navpill .ic{width:16px;height:16px}
}
/* 剩余/超时计时与暂停状态，各端共用。 */
.timing-display{min-width:0}
.timing-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.timing-label{font-size:11px;color:var(--ink-2)}
.timing-number{font:600 28px/1.1 var(--num);color:var(--orange-ink);white-space:nowrap}
.timing-number.over{color:var(--bad-ink)}
.timing-display>small{display:block;margin-top:4px;font-size:11px;color:var(--ink-2)}
.timing-paused{font-size:18px;font-weight:600}
.timing-overtime{font-size:10px;padding-inline:8px;height:23px}
.timing-overtime[hidden],.speech-notice[hidden]{display:none!important}
.judge-chips>.timing-display{padding:8px 12px;border-radius:16px;background:var(--card)}
.speech-notice{margin:0 0 14px;padding:10px 14px;border-radius:12px;background:var(--warn-bg);color:var(--warn-ink);font-size:13px}
.stage-figure .timing-number{font-size:clamp(36px,5vw,64px)}
.stage-figure .timing-label{flex-basis:100%;font-size:12px}
.draft-submit-hint{display:block;font-size:10px;line-height:1.4;color:var(--ink-3);white-space:normal;max-width:180px}
.reminder-help{padding:0 22px 18px;font-size:12px;color:var(--ink-3)}
.timer-reminder{z-index:100}
@media(min-width:1200px){
 .desktop-project-status .timing-number{font-size:24px}
 .desktop-project-status .timing-line{gap:5px}
 .desktop-project-status .timing-label{flex-basis:100%}
 .desktop-project-status .timing-overtime{font-size:9px}
 .submit-dock .draft-submit-hint{text-align:right;max-width:120px}
}
@media(max-width:1199px){
 .stage-main{grid-template-columns:88px minmax(0,1fr);gap:12px}
 .stage-main .stage-cover{grid-column:1;grid-row:1;width:88px;height:60px;aspect-ratio:16/9;border-radius:10px;box-shadow:none;order:0;object-fit:contain}
 .stage-main .stage-text{grid-column:2;grid-row:1;min-width:0}
 .stage-text h2{font-size:19px;line-height:1.4}
 .stage-text>p{font-size:12px;margin-top:4px}
 .stage-top{gap:4px;flex-wrap:wrap}
 .stage-top .pill{font-size:10px;height:22px;padding-inline:7px}
 .stage-figure{flex-direction:row;align-items:center;margin:16px 0 12px}
 .stage-figure .timing-number{font-size:42px}
 .stage .stage-tools{justify-content:flex-end}
 .stage .stage-tools .btn{flex:none;min-width:100px}
 .submit-dock .draft-submit-hint{font-size:9px;max-width:150px}
 .submit-dock .dock-total{min-width:0;flex:0 1 auto}
 .submit-dock>.btn{flex:0 1 180px}
}
@media(max-width:359px){
 .stage-main{grid-template-columns:64px minmax(0,1fr);gap:9px}
 .stage-main .stage-cover{width:64px;height:46px}
 .stage-text h2{font-size:16px}
 .timing-number{font-size:23px}
 .timing-paused{font-size:15px}
 .timing-overtime{font-size:9px}
 .draft-submit-hint{max-width:126px}
}
.judge-heading>.speech-notice{margin:10px 0 0}
@media(min-width:768px) and (min-height:501px){.judge-heading>.speech-notice{grid-column:2}}
@media(min-width:1200px){.desktop-project-summary>.speech-notice{grid-column:1/-1;margin:0}}
.stage-cta{display:flex;align-items:center;gap:10px}
.stage-cta>.btn{flex:1;white-space:nowrap}
.stage-figure{align-items:center}
@media(max-width:1199px){
 .stage-figure{flex-direction:column;align-items:stretch;gap:14px}
 .stage-cta{width:100%}
 .stage-cta>.btn{min-height:42px;font-size:13px}
}

/* 当前图片与项目编号/名称/演讲人三行信息等高。 */
.stage-main{grid-template-columns:minmax(88px,28%) minmax(0,1fr);align-items:stretch;gap:14px}
.stage-main .stage-cover{grid-column:1;grid-row:1;align-self:stretch;width:100%;height:100%;min-height:0;aspect-ratio:auto;object-fit:cover;border-radius:10px;box-shadow:none}
.stage-main .stage-text{grid-column:2;grid-row:1;min-width:0}
.scoring-guest-list{padding:0 22px}
.scoring-guest-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}
.scoring-guest-row:last-child{border-bottom-color:transparent}
.scoring-guest-name{display:flex;flex-wrap:wrap;align-items:center;gap:5px 7px;min-width:0}
.scoring-guest-name strong{font-size:13px;font-weight:500}
.scoring-guest-name small{color:var(--ink-3);font-size:11px}
.claim-dot{display:inline-block;flex:none;width:6px;height:6px;border-radius:50%;background:#999}
.claim-dot.claimed{background:#51ae64}
.scoring-guest-actions{display:flex;align-items:center;gap:7px;flex:none}
.scoring-guest-actions .pill{font-size:10px;padding-inline:8px}
.scoring-guest-actions .btn{font-size:11px;padding-inline:10px;min-height:30px}
@media(max-width:1199px){
 .stage-main{grid-template-columns:88px minmax(0,1fr)}
 .stage-main .stage-cover{width:88px;height:100%;aspect-ratio:auto}
 .scoring-guest-list{padding-inline:18px}
}
@media(max-width:359px){
 .stage-main{grid-template-columns:64px minmax(0,1fr)}
 .stage-main .stage-cover{width:64px;height:100%}
 .scoring-guest-row{gap:8px}
 .scoring-guest-name strong{font-size:12px}
}
.stage-main{position:relative}
.stage-main .stage-cover{position:absolute;left:0;top:0;bottom:0;width:28%;height:100%}
@media(max-width:1199px){.stage-main .stage-cover{width:88px}}
@media(max-width:359px){.stage-main .stage-cover{width:64px}}

@media(max-width:1199px){
 .live-grid{grid-template-columns:minmax(0,1fr)}
 .live-side{width:100%;min-width:0;grid-template-columns:minmax(0,1fr)}
 .live-side>.score-card{width:100%;min-width:0;box-sizing:border-box}
}
/* 活动信息行固定在顶部导航下方；项目图保持原比例。 */
.event-bar{position:sticky;top:var(--bar-h);z-index:29;background:var(--frame);padding-top:8px;padding-bottom:8px}
.stage-main{grid-template-columns:minmax(120px,32%) minmax(0,1fr)}
.stage-main .stage-cover{width:32%;object-fit:contain;background:var(--glass)}
@media(max-width:1199px){
 .event-bar{top:60px}
 .stage-main{grid-template-columns:120px minmax(0,1fr)}
 .stage-main .stage-cover{width:120px;object-fit:contain}
}
@media(max-width:359px){
 .stage-main{grid-template-columns:88px minmax(0,1fr)}
 .stage-main .stage-cover{width:88px}
}
/* 管理端信息文字统一单行，超长内容省略。 */
body:has(.app-header) :is(h1,h2,h3,h4,.stage-text>p,.spot-text>strong,.spot-text>small,.row-main>strong,.row-main>small,.live-project-copy strong,.live-project-copy small,.live-project-copy p,.scoring-guest-name strong,.scoring-guest-name small,.live-event-facts strong,.me-text strong,.card-head p,.event-bar p){min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:has(.app-header) :is(.stage-text,.spot-text,.row-main,.event-bar-main,.criterion-info,.card-head>div,.scoring-guest-name,.live-project-copy,.me-text){min-width:0}
.stage-top{flex-wrap:nowrap;min-width:0}
.stage-top .pill{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stage-top .pill:first-child{flex-shrink:0}
.scoring-guest-name{flex-wrap:nowrap;flex:1;min-width:0}
.scoring-guest-name strong{flex:0 1 auto}
.scoring-guest-name small{flex:none}
.event-bar :is(h1,.event-meta){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stage-cta .btn,.scoring-guest-actions .btn,.pill{white-space:nowrap}
@media(max-width:1199px){
 .event-bar{flex-wrap:nowrap}
 .event-bar h1{font-size:clamp(14px,3.6vw,20px)}
 .event-bar>div{min-width:0}
 .stage-main .stage-text h2{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .stage-top .pill{font-size:9px;padding-inline:5px}
}

.stage-figure{display:flex;flex-direction:column;align-items:stretch;gap:14px}
.stage-figure>.timer-track{width:100%;margin:0}
.stage-figure>.stage-cta{display:flex;width:100%}
.btn.visually-disabled{opacity:.42;cursor:not-allowed;transform:none}
.scoring-settings-form{padding:0 22px 22px}
.projects-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.projects-section-heading>.section-head{flex:1;min-width:0;margin:0}
.projects-section-heading>.btn{flex:none}
@media(max-width:1199px){
 .projects-section-heading .section-head{display:block}
 .projects-section-heading .section-head h2{font-size:18px}
 .projects-section-heading .section-head p{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .projects-section-heading>.btn{font-size:12px;padding-inline:12px}
}

.navpill:not(.active)>span{display:none}
@media(min-width:1200px){
 .app-header .navpill{width:auto;padding:0 14px;gap:7px;font-size:14px;white-space:nowrap}
 .app-header .navpill>span{display:inline}
 .app-header .navpill.active{padding:0 16px}
 .app-header{gap:14px}
 .app-header .navpills{gap:6px}
}
/* 分类设置：桌面侧栏，手机/平板标题与分块列表。 */
.settings-shell{display:grid;grid-template-columns:238px minmax(0,1fr);gap:0;max-width:1120px;margin:12px auto 24px;border:1px solid var(--line);border-radius:24px;background:var(--card);overflow:hidden;min-height:620px}
.settings-sidebar{padding:26px 18px;background:var(--soft);border-right:1px solid var(--line)}
.settings-sidebar h1{font-size:23px;margin:0 10px 20px}
.settings-search{display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line-2);border-radius:12px;background:var(--card);color:var(--ink-3)}
.settings-search input[type=search]{min-width:0;min-height:40px;padding:8px 0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:12px}
.settings-search>span{display:flex;flex:none}
.settings-categories{display:flex;flex-direction:column;gap:4px;margin-top:16px}
.settings-categories button{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid transparent;border-radius:10px;background:transparent;text-align:left;font-size:13px;color:var(--ink-2)}
.settings-categories button:hover{background:var(--soft-2)}
.settings-categories button.active{background:var(--card);color:var(--ink);font-weight:600}
.settings-scope{font-size:11px;color:var(--ink-3);margin:22px 12px 0}
.settings-detail{min-width:0;padding:30px 36px;max-height:calc(100dvh - 210px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.settings-group{display:none}
.settings-group.is-current{display:block}
.settings-group+.settings-group{margin-top:28px}
.settings-group-title{margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.settings-group-title h2{font-size:21px;font-weight:600}
.settings-group-blocks{display:flex;flex-direction:column;gap:18px}
.settings-group-blocks>.card{border:1px solid var(--line);border-radius:16px;box-shadow:none;overflow:hidden}
.settings-group-blocks .card-head{padding:18px 20px 12px;gap:14px}
.settings-group-blocks h3{font-size:14px}
.settings-group-blocks .card-head p{font-size:12px}
.settings-group-blocks .facts>div{gap:16px;padding:14px 20px}
.settings-group-blocks .facts dt{min-width:0;font-size:13px}
.settings-group-blocks .facts dd{font-size:13px;text-align:right;max-width:65%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.settings-group-blocks .scoring-settings-form{padding:4px 20px 20px}
.settings-theme-options{display:flex;flex-wrap:wrap;gap:8px;padding:4px 20px 20px}
.settings-theme-options .btn{font-size:12px;padding-inline:14px}
.settings-search-count{font-size:12px;color:var(--ink-3);margin-bottom:20px}
.settings-no-results{padding:60px 12px;text-align:center}
.settings-no-results h3{font-size:16px;margin-bottom:8px}
.settings-no-results p{font-size:12px;color:var(--ink-2)}
@media(min-width:1200px){
 .settings-group:first-child:not(.is-current)+.settings-group.is-current{margin-top:0}
 .settings-detail>.settings-group.is-current{margin-top:0}
 .settings-detail:has(.settings-search-count)>.settings-group{margin-top:24px}
}
@media(max-width:1199px){
 .settings-shell{display:block;border:0;border-radius:0;background:transparent;min-height:0;margin:8px 0 20px;overflow:visible}
 .settings-sidebar{padding:8px 0 20px;background:transparent;border:0}
 .settings-sidebar h1{font-size:24px;margin:0 0 16px}
 .settings-categories,.settings-scope{display:none}
 .settings-search{background:var(--card);border-color:var(--line);padding-inline:14px}
 .settings-search input[type=search]{font-size:16px;min-height:44px}
 .settings-detail{padding:0;max-height:none;overflow:visible;scrollbar-gutter:auto}
 .settings-group{display:block;margin:0 0 26px}
 .settings-group+.settings-group{margin-top:0}
 .settings-group-title{border:0;margin:0 0 10px;padding:0 4px}
 .settings-group-title h2{font-size:16px}
 .settings-group-blocks{gap:12px}
 .settings-group-blocks>.card{background:var(--card);border-color:var(--line);border-radius:18px}
 .settings-group-blocks .card-head{padding:16px 18px 10px}
 .settings-group-blocks .facts>div{padding:12px 18px}
 .settings-group-blocks .facts dd{font-size:12px}
 .settings-group-blocks .card-head .btn{font-size:12px;padding-inline:12px}
}
.settings-info-actions{justify-content:flex-end;padding-bottom:0!important}
.settings-sidebar .settings-search{margin-top:0}
.settings-group[data-settings-group=data] .card-head{display:none}
.settings-group[data-settings-group=reminders] .card-head h3{display:none}
.activity-timeline{display:flex;flex-direction:column;gap:0}
.activity-timeline article{position:relative;display:flex;align-items:flex-start;gap:12px;padding:0 0 20px}
.activity-timeline article:not(:last-child)::after{content:"";position:absolute;top:12px;bottom:0;left:3px;width:1px;background:var(--line)}
.activity-timeline article>i{width:7px;height:7px;margin-top:7px;border-radius:50%;background:var(--orange);flex:none}
.activity-timeline article>div{min-width:0}
.activity-timeline strong{display:block;font-size:13px;font-weight:500;line-height:1.6;white-space:normal}
.activity-timeline small{display:block;margin-top:4px;color:var(--ink-3);font-size:11px}
/* 设置直接编辑：紧凑行、自动保存、与分类标题对齐。 */
.settings-shell{max-width:1480px;width:100%;grid-template-columns:230px minmax(0,1fr)}
.settings-detail{padding:24px 28px}
.settings-group-title{padding-bottom:12px;margin-bottom:0}
.settings-group-blocks{gap:18px}
.settings-inline-block{padding:0;margin:0;border:0;background:transparent}
.setting-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:62px;padding:12px 0;border-bottom:1px solid var(--line)}
.setting-row-label{min-width:0;flex:1;font-size:14px}
.setting-row-label>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.setting-row-label>small{display:block;color:var(--ink-3);font-size:11px;line-height:1.5;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.setting-row-control{flex:0 1 48%;min-width:0;display:flex;align-items:center;justify-content:flex-end}
.setting-row-control input:not([type=checkbox]),.setting-row-control select{width:auto;max-width:100%;min-width:0;min-height:36px;padding:6px 10px;border:1px solid transparent;border-radius:8px;background:transparent;font-size:13px;text-align:right;text-overflow:ellipsis}
.setting-row-control input:not([type=checkbox]):hover,.setting-row-control select:hover{background:var(--soft)}
.setting-row-control input:not([type=checkbox]):focus,.setting-row-control select:focus{background:var(--soft);border-color:var(--line-2);box-shadow:none}
.setting-row-control select{padding-right:30px;background-position:right 9px center}
.setting-row-control .settings-switch{width:34px;height:20px;border:1px solid transparent;border-radius:999px;appearance:none;background:var(--line-2);position:relative;display:block;flex:none;transition:background .15s}
.settings-switch::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;border:0!important;border-radius:50%;background:#fff;opacity:1!important;transform:none!important;margin:0!important;transition:left .15s}
.setting-row-control .settings-switch:checked{background:var(--pill)}
.setting-row-control .settings-switch:checked::after{left:16px;background:var(--pill-ink)}
.settings-seconds{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--ink-3)}
.settings-seconds input[type=number]{width:78px;color:var(--ink)}
.settings-cover-control{display:flex;align-items:center;gap:8px;max-width:100%}
.settings-cover-control img{width:52px;height:32px;border-radius:5px;object-fit:cover}
.settings-save-status{display:block;padding:8px 12px;font-size:11px;color:var(--ink-3);min-height:32px}
.setting-saving{opacity:.5}
.settings-criteria h3{font-size:14px;margin:20px 0 8px}
.settings-criteria form{gap:0}
.setting-criterion-row{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:4px 16px;padding:10px 0;border-bottom:1px solid var(--line)}
.setting-criterion-row input{min-height:32px;padding:5px 0;border-radius:6px;background:transparent;font-size:13px}
.setting-criterion-row>label{display:flex;align-items:center;gap:5px;font-size:12px}
.setting-criterion-row>label input{width:65px;text-align:right}
.setting-criterion-row>input[name=criterion-description]{grid-column:1/-1;font-size:11px;color:var(--ink-3)}
.settings-weight-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}
.settings-weight-footer small{font-size:11px;color:var(--ink-3)}
@media(max-width:1199px){
 .settings-detail{padding:0}
 .settings-group-title{padding:0;margin-bottom:2px}
 .settings-group-blocks{gap:10px}
 .settings-inline-block{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:0 14px}
 .setting-row{gap:12px;min-height:56px;padding:11px 0}
 .setting-row:last-child{border-bottom:0}
 .setting-row-label{font-size:13px}
 .setting-row-control{flex-basis:48%}
 .setting-row-control input:not([type=checkbox]),.setting-row-control select{font-size:13px}
 .setting-row-label>small{font-size:10px}
 .settings-criteria h3{margin-top:14px}
}
@media(max-width:359px){
 .setting-row-label{font-size:12px}
 .setting-row-control input:not([type=checkbox]),.setting-row-control select{font-size:12px;padding-inline:5px}
 .setting-row-control select{padding-right:23px}
 .setting-row{gap:8px}
 .settings-inline-block{padding-inline:12px}
}
.settings-save-status:empty{display:none}
.settings-save-status{min-height:0;padding:4px 0;font-size:10px}
@media(max-width:1199px){
 .settings-sidebar{padding-bottom:14px}
 .settings-group{margin-bottom:18px}
 .settings-group-title{margin-bottom:4px}
}
/* 胶囊搜索与轻量设置分块，可编辑字段保留清晰边界。 */
.settings-search{border-radius:999px}
.settings-search input[type=search]{border-radius:999px}
.settings-shell{border:0;border-radius:30px}
.settings-group-blocks>.card,.settings-inline-block{border:0;border-radius:24px}
.setting-row-control input:not([type=checkbox]),.setting-row-control select{border:1px solid var(--line-2);border-radius:10px;background-color:var(--card);min-height:36px}
.setting-row-control select{padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='18' viewBox='0 0 12 18' fill='none' stroke='%238c8680' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 6 3-3 3 3M3 12l3 3 3-3'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center}
.setting-row-control input[type=number]{appearance:auto;-moz-appearance:auto;padding-right:5px}
.setting-row-control input[type=number]::-webkit-inner-spin-button{opacity:1;height:24px}
.setting-criterion-row input{border:1px solid var(--line-2);padding-inline:8px;background:var(--card)}
.setting-criterion-row input[type=number]::-webkit-inner-spin-button{opacity:1}
.settings-cover-control select{min-width:100px}
.projects-section-heading .section-head h2{font-size:20px}
@media(max-width:1199px){
 .settings-inline-block,.settings-group-blocks>.card{border:0;border-radius:24px}
 .projects-section-heading .section-head h2{font-size:18px}
 .projects-section-heading .section-head p{font-size:11px;color:var(--ink-3)}
}
body:has(.app-header) input[type=search]{border-radius:999px}
.settings-cover-upload{display:flex;align-items:center;gap:12px;min-width:0}
.settings-cover-preview{width:120px;aspect-ratio:16/9;object-fit:cover;border-radius:10px;background:var(--soft)}
.settings-cover-upload>div{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:none}
.settings-cover-upload .btn{font-size:11px;padding-inline:10px;min-height:30px;white-space:nowrap}
.settings-cover-upload .btn.text{font-size:10px;padding:0;min-height:20px}
.setting-row:has(.settings-cover-upload){align-items:center}
@media(max-width:767px){
 .setting-row:has(.settings-cover-upload){flex-wrap:wrap}
 .setting-row:has(.settings-cover-upload) .setting-row-control{flex:1 1 100%;justify-content:flex-start}
 .settings-cover-preview{width:150px}
 .settings-cover-upload>div{align-items:flex-start}
}
/* 活动标题和页面内容使用统一边距，底部导航充分利用屏宽。 */
.event-bar{margin-top:0;margin-bottom:16px;padding-top:10px;padding-bottom:10px}
.projects-section-heading{margin-top:0;margin-bottom:16px;align-items:center}
.projects-section-heading .section-head{padding:0;margin:0}
@media(max-width:1199px){
 .event-bar{margin-bottom:14px;padding-block:8px;gap:10px}
 .projects-section-heading{margin:0 0 14px;gap:12px}
 .projects-section-heading .section-head h2{margin:0;line-height:1.4}
 .projects-section-heading .section-head p{margin-top:4px;line-height:1.4}
 .dock-nav{width:calc(100% - 24px);max-width:680px;box-sizing:border-box;gap:4px;padding:6px}
 .dock-nav .navpill{flex:1 1 0;width:auto;min-width:0;height:44px;padding:0}
 .dock-nav .navpill.active{flex:1.4 1 0;width:auto;padding:0 12px}
}
@media(max-width:359px){
 .dock-nav{width:calc(100% - 16px);gap:3px;padding:5px}
 .dock-nav .navpill{height:40px}
 .dock-nav .navpill.active{padding:0 8px}
}
/* 底部导航恢复内容自适应胶囊：圆形入口，选中后展开。 */
@media(max-width:1199px){
 .dock-nav,.dock-nav:has([data-nav=overview]){width:max-content;max-width:calc(100% - 24px);gap:6px;padding:6px;border-radius:999px;transition:width .35s var(--ease),box-shadow .25s,background .25s}
 .dock-nav .navpill,.dock-nav:has([data-nav=overview]) .navpill{flex:0 0 auto;width:44px;min-width:44px;height:44px;padding:0;gap:0;border-radius:999px;transition:width .38s cubic-bezier(.22,1,.36,1),background .2s,color .2s,transform .2s}
 .dock-nav .navpill.active,.dock-nav:has([data-nav=overview]) .navpill.active{flex:0 0 auto;width:auto;min-width:44px;padding:0 16px;gap:7px;animation:nav-expand .32s var(--ease)}
 .dock-nav .navpill:not(.active)>span{display:none}
 .dock-nav .navpill.active>span,.dock-nav:has([data-nav=overview]) .navpill.active>span{display:inline;font-size:13px;animation:nav-label-in .28s var(--ease)}
 .dock-nav .navpill:active{transform:scale(.92)}
 .dock-nav .navpill .ic{transition:transform .3s var(--ease)}
 .dock-nav .navpill.active .ic{animation:nav-icon-in .35s var(--ease)}
}
@keyframes nav-expand{from{transform:scale(.94)}to{transform:scale(1)}}
@keyframes nav-label-in{from{opacity:0;transform:translateX(-5px)}to{opacity:1;transform:translateX(0)}}
@keyframes nav-icon-in{0%{transform:scale(.86)}60%{transform:scale(1.08)}100%{transform:scale(1)}}
@media(max-width:359px){
 .dock-nav,.dock-nav:has([data-nav=overview]){max-width:calc(100% - 16px);gap:4px;padding:5px}
 .dock-nav .navpill,.dock-nav:has([data-nav=overview]) .navpill{width:38px;min-width:38px;height:40px}
 .dock-nav .navpill.active,.dock-nav:has([data-nav=overview]) .navpill.active{min-width:38px;padding-inline:12px;gap:5px}
 .dock-nav .navpill.active>span{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.dock-nav,.dock-nav .navpill,.dock-nav .navpill>span,.dock-nav .navpill .ic{animation:none!important;transition:none!important}}
@media(max-width:359px){
 .dock-nav .navpill,.dock-nav:has([data-nav=overview]) .navpill{width:40px;min-width:40px;height:40px}
 .dock-nav .navpill.active,.dock-nav:has([data-nav=overview]) .navpill.active{width:auto;min-width:40px}
}
/* 保留导航节点，只过渡局部尺寸，避免全页重排动画叠加。 */
@media(max-width:1199px){
 .dock-nav,.dock-nav:has([data-nav=overview]){transition:background .16s;contain:layout style;will-change:auto}
 .dock-nav .navpill,.dock-nav:has([data-nav=overview]) .navpill{box-sizing:border-box;transition:width .22s cubic-bezier(.2,.8,.2,1),background .16s,color .16s;animation:none}
 .dock-nav .navpill.active,.dock-nav:has([data-nav=overview]) .navpill.active{animation:none;overflow:hidden}
 .dock-nav .navpill.active>span,.dock-nav .navpill.active .ic{animation:none}
 .dock-nav .navpill>span{white-space:nowrap}
}
/* 手机活动上下文收进顶栏；各页操作标题全宽吸顶。 */
.compact-event-context{display:none}
.page-section-heading{position:sticky;top:var(--activity-title-top,64px);z-index:27;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--frame);padding:12px 0;margin-bottom:16px}
.page-section-heading>.section-head{min-width:0;flex:1;margin:0;padding:0}
.page-section-heading>.btn{flex:none}
.results-ranking{display:block}
.results-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:4px 0 16px}
.results-heading>div:first-child{display:flex;align-items:center;gap:8px;min-width:0}
.results-heading h2{font-size:22px;font-weight:600}
.results-actions{display:flex;align-items:center;gap:8px;flex:none}
.ranking-list{list-style:none;padding:0 22px;margin:0}
.ranking-list>li{border-bottom:1px solid var(--line)}
.ranking-list>li:last-child{border-bottom:0}
.ranking-item{display:flex;align-items:center;gap:16px;padding:18px 0;cursor:pointer;list-style:none}
.ranking-item::-webkit-details-marker{display:none}
.ranking-toggle{display:grid;place-items:center;flex:none;width:28px;height:28px;color:var(--ink-3);transition:transform .2s}
.ranking-details[open] .ranking-toggle{transform:rotate(90deg)}
.ranking-item:focus-visible{outline:2px solid var(--orange);outline-offset:2px;border-radius:8px}
.ranking-judges{overflow-x:auto;margin:0 0 18px;border-radius:12px;background:var(--soft)}
.ranking-judges table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}
.ranking-judges th,.ranking-judges td{padding:10px 14px;text-align:right;font-family:var(--num)}
.ranking-judges th:first-child,.ranking-judges td:first-child{text-align:left;font-family:inherit}
.ranking-judges th{font-weight:500;color:var(--ink-3);border-bottom:1px solid var(--line)}
.ranking-judges th small,.ranking-judges td small{display:block;font-size:11px;color:var(--ink-3)}
.ranking-judges tbody td{border-bottom:1px solid var(--line)}
.ranking-judges tr.trimmed td{color:var(--ink-3)}
.ranking-judges tr.final-row td{font-weight:600;color:var(--orange-ink);border-bottom:1px solid var(--line)}
.ranking-judges-empty{margin:0 0 18px;padding:14px;border-radius:12px;background:var(--soft);font-size:13px;color:var(--ink-3)}
.ranking-number{width:32px;flex:none;font:500 18px var(--num);color:var(--ink-3)}
.ranking-number.top{color:var(--orange-ink)}
.ranking-cover{width:68px;aspect-ratio:16/9;object-fit:cover;border-radius:8px;flex:none}
.ranking-project{flex:1;min-width:0}
.ranking-project strong{display:block;font-size:15px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ranking-project small{display:block;font-size:11px;color:var(--ink-3);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ranking-score{flex:none;font:600 24px var(--num)}
@media(max-width:1199px){
 .event-bar{position:relative;top:auto;z-index:auto;margin-bottom:8px}
 .app-header.has-event .brand-link{flex:1;min-width:0;text-align:left;overflow:hidden}
 .app-header.compact-event .brand-link>.brand{display:none}
 .app-header.compact-event .compact-event-context{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;animation:event-context-in .16s ease-out}
 .compact-event-context>span{display:flex;align-items:center;gap:7px;max-width:100%;min-width:0}
 .compact-event-context strong{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
 .compact-event-context .pill{height:20px;padding-inline:7px;font-size:9px;flex:none}
 .compact-event-context>small{font-size:10px;color:var(--ink-3);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .page-section-heading{top:60px;box-sizing:border-box;margin-inline:-16px;width:calc(100% + 32px);padding:12px 16px;box-shadow:0 1px 0 var(--line)}
 .page-section-heading .section-head h2{font-size:18px}
 .page-section-heading .section-head p{font-size:11px;margin-top:3px}
 .page-section-heading>.btn{font-size:12px;min-height:34px;padding-inline:12px}
 .settings-group-title{position:sticky;top:60px;z-index:25;margin-inline:-16px!important;width:calc(100% + 32px);padding:10px 16px!important;background:var(--frame)}
 .results-heading{gap:8px;margin-top:4px}
 .results-heading h2{font-size:18px}
 .results-actions{gap:6px}
 .results-actions .btn{font-size:11px;min-height:32px;padding-inline:10px}
 .results-heading .pill{font-size:9px;padding-inline:7px;height:21px}
 .ranking-list{padding-inline:16px}
 .ranking-item{gap:10px;padding:15px 0}
 .ranking-judges th,.ranking-judges td{padding:9px 10px}
 .ranking-number{width:24px;font-size:16px}
 .ranking-cover{width:52px}
 .ranking-project strong{font-size:13px}
 .ranking-project small{font-size:10px}
 .ranking-score{font-size:21px}
}
@media(max-width:359px){
 .page-section-heading,.settings-group-title{margin-inline:-12px!important;width:calc(100% + 24px);padding-inline:12px!important}
 .compact-event-context strong{font-size:12px}
 .compact-event-context>small{font-size:9px}
 .compact-event-context .pill{display:none}
 .results-heading>div:first-child{gap:4px}
 .results-heading h2{font-size:16px}
 .results-heading .pill{display:none}
 .results-actions .btn{padding-inline:8px;font-size:10px}
}
@keyframes event-context-in{from{opacity:.4;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.compact-event-context{animation:none!important}}
.compact-event-back{display:none}
@media(max-width:1199px){
 .app-header.compact-event .brand-link{display:flex;align-items:center;gap:8px;min-width:0}
 .app-header.compact-event .compact-event-back{display:flex;align-items:center;flex:none;color:var(--ink)}
 .app-header.compact-event .compact-event-context{flex:1;min-width:0}
}
.results-dimension-charts{margin-top:24px}
.results-dimension-charts>h3{font-size:18px;margin-bottom:14px}
.results-dimension-charts>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.dimension-chart{padding:18px 20px}
.dimension-chart>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.dimension-chart header strong{font-size:14px;font-weight:600}
.dimension-chart header small{font-size:11px;color:var(--ink-3)}
.dimension-bar-row{display:grid;grid-template-columns:minmax(80px,1fr) minmax(90px,1.5fr) 36px;gap:10px;align-items:center;margin:13px 0}
.dimension-bar-row>span{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink-2)}
.dimension-bar-row>i{height:7px;background:var(--soft-2);border-radius:99px;overflow:hidden}
.dimension-bar-row em{display:block;height:100%;border-radius:99px}
.dimension-bar-row b{font:500 12px var(--num);text-align:right}
.results-dimension-table{margin-top:20px;overflow:hidden}
.results-dimension-table h3{font-size:16px;padding:18px 20px 8px}
.results-dimension-table th small{display:block;font-size:10px;color:var(--ink-3);font-weight:400}
.results-dimension-table table{min-width:620px}
@media(max-width:1199px){
 .results-dimension-charts>div{grid-template-columns:minmax(0,1fr)}
 .dimension-chart{padding:16px}
 .results-dimension-charts>h3{font-size:17px}
 .dimension-bar-row{grid-template-columns:minmax(80px,1fr) minmax(100px,1.5fr) 34px}
 .results-dimension-table .table-wrap{overflow-x:auto}
 .results-dimension-table table{display:table}
 .results-dimension-table thead{display:table-header-group}
 .results-dimension-table tbody{display:table-row-group}
 .results-dimension-table tr{display:table-row}
 .results-dimension-table th,.results-dimension-table td{display:table-cell;padding:12px!important;border-bottom:1px solid var(--line)!important}
}
/* 成绩页分区标题 */
.results-section-title{display:flex;align-items:baseline;gap:10px;margin:24px 0 12px;font-size:18px;font-weight:600}
.results-ranking>.results-section-title:first-of-type{margin-top:4px}
.results-section-title small{font-size:12px;font-weight:400;color:var(--ink-3)}
/* 评分结果标题与导出按钮吸顶 */
.results-heading{position:sticky;top:var(--activity-title-top,64px);z-index:27;margin-top:0;padding:12px 0;background:var(--frame)}
/* 电脑端吸顶小标题：用背景填满上下间距，避免滚动内容从缝隙中露出 */
@media(min-width:1200px){
 .event-bar::after{content:"";position:absolute;top:100%;right:0;left:0;height:16px;background:var(--frame);pointer-events:none}
 .page-section-heading{margin-bottom:0;padding-bottom:28px}
 .results-heading{margin-bottom:0;padding-bottom:28px}
}
/* 管理成员 */
.members-heading{flex-wrap:wrap}
.members-heading>.members-seg{flex:1 0 100%;min-width:0;margin:4px 0 0;overflow-x:auto;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
.members-heading>.members-seg button{flex:1 0 auto}
.member-list{padding:4px 0;overflow:hidden}
.member-row{display:flex;align-items:center;gap:14px;width:100%;padding:14px 22px;border:0;border-top:1px solid var(--line);background:none;color:inherit;font:inherit;text-align:left}
.member-row:first-child{border-top:0}
button.member-row{cursor:pointer;transition:background .15s}
button.member-row:hover{background:var(--soft)}
.member-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.member-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.member-title strong{font-size:15px}
.member-main>small{overflow:hidden;font-size:13px;color:var(--ink-3);text-overflow:ellipsis;white-space:nowrap}
.member-main>small.member-perms{color:var(--ink-2)}
.member-choice,.member-perm,.member-events .check{align-items:flex-start}
.member-choice input,.member-perm input,.member-events .check input{margin-top:1px}
.member-choice>span,.member-perm>span,.member-events .check>span{display:flex;flex-direction:column;gap:2px}
.member-choice small,.member-perm small,.member-events small{font-size:12px;color:var(--ink-3)}
.member-scope-modes{display:flex;gap:4px;margin:2px 0 8px;padding:4px;border-radius:999px;background:var(--soft)}
.member-scope-modes label{position:relative;flex:1;cursor:pointer}
.member-scope-modes input{position:absolute;opacity:0;pointer-events:none}
.member-scope-modes span{display:flex;align-items:center;justify-content:center;height:34px;border-radius:999px;font-size:13px;color:var(--ink-2);transition:background .15s,color .15s}
.member-scope-modes input:checked+span{background:var(--card);color:var(--ink);font-weight:600;box-shadow:var(--shadow)}
.member-scope-modes label:has(input:disabled){display:none}
.member-form[data-role=admin] .member-scope-modes label{cursor:default;pointer-events:none}
.member-scope-note{margin:0 0 6px;font-size:12px}
.member-scope-modes input:focus-visible+span{outline:2px solid var(--orange-ink);outline-offset:1px}
.member-events{max-height:220px;overflow:auto}
.member-form[data-scope=all] .member-events,.member-form[data-role=admin] .member-perm,.member-form:not([data-role=temp]) .member-expiry{display:none}
.member-admin-note{display:none;margin:0}
.member-form[data-role=admin] .member-admin-note{display:block}
.password-row{position:relative;display:flex;align-items:center;margin-bottom:8px}
.password-row input{flex:1;min-width:0;height:44px;padding:0 64px 0 12px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);font:500 15px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em}
.password-row input:focus{outline:none;border-color:var(--orange-ink)}
.member-password .btn.wide{width:100%;margin-bottom:4px}
.member-extra{display:flex;flex-direction:column;gap:8px}
.member-extra h3{margin:0;font-size:15px}
.member-extra p{margin:0}
.member-exports{max-height:200px;margin:0;padding:0;overflow:auto;list-style:none;border:1px solid var(--line);border-radius:var(--r-md)}
.member-exports li{display:flex;justify-content:space-between;gap:12px;padding:9px 14px;border-top:1px solid var(--line);font-size:13px}
.member-exports li:first-child{border-top:0}
.member-exports small{color:var(--ink-3);white-space:nowrap}
.member-lock{align-items:center}
.member-lock span{flex:1}
.password-gen{position:absolute;top:50%;right:6px;transform:translateY(-50%);height:32px;padding:0 12px;border:0;border-radius:8px;background:none;color:var(--ink-3);font-size:14px;font-weight:500;cursor:pointer}
.password-gen:hover{background:var(--soft);color:var(--ink-2)}
.password-gen:focus-visible{outline:2px solid var(--orange-ink);outline-offset:1px}
.member-actions{display:flex;flex-direction:column;gap:10px;margin-top:4px}
.member-actions>.btn,.member-actions-row>.btn{width:100%}
.member-actions-row{display:flex;gap:10px}
.member-actions-row>.btn{flex:1}
.credential-message{margin:0 0 4px;padding:14px 16px;border-radius:var(--r-md);background:var(--soft);color:var(--ink);font:13px/1.75 inherit;white-space:pre-wrap;word-break:break-all;user-select:all}
@media (max-width:640px){.member-row{gap:12px;padding:12px 18px}.member-exports li{flex-direction:column;gap:2px}}
.sms-records{min-width:0}.sms-record-toolbar,.sms-record-heading,.sms-record-pages{display:flex;align-items:center;justify-content:space-between;gap:12px}.sms-record-toolbar{font-size:12px;color:var(--muted);margin-bottom:12px}.sms-record{padding:16px 0;border-bottom:1px solid rgb(128 128 128/.15)}.sms-record:last-of-type{border-bottom-color:transparent}.sms-record-heading{flex-wrap:wrap;gap:6px}.sms-record-heading strong{font-size:14px}.sms-record-heading strong span{font-weight:400;color:var(--muted);margin-left:6px}.sms-record p{font-size:12px;margin:7px 0;color:var(--muted)}.sms-record small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.sms-record-status{font-size:11px;color:var(--muted);white-space:nowrap}.sms-record-status.delivered{color:#2f995b}.sms-record-status.failed,.sms-record .sms-record-error{color:#d7573d}.sms-record-status.accepted,.sms-record-status.sending{color:#e77a27}.sms-record-empty{padding:40px 8px;text-align:center;color:var(--muted);font-size:14px}.sms-record-pages{justify-content:flex-end;margin-top:16px}
.sms-record-toolbar .sms-refresh{padding:4px 0;min-height:28px;background:transparent;border:1px solid transparent;box-shadow:none;color:var(--orange);font-size:13px}.sms-record-toolbar .sms-refresh:hover,.sms-record-toolbar .sms-refresh:active{background:transparent;color:var(--orange);border-color:transparent}
.judge-card .judge-card-top{align-items:center;gap:12px}.judge-card-top>.avatar{flex-shrink:0}.judge-card-identity{flex:1;min-width:0}.judge-card .judge-card-identity h3{margin:0 0 4px;font-size:16px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.judge-card .judge-card-identity p{margin:0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.judge-card-header-actions{display:flex;align-items:center;gap:5px;flex-shrink:0}.judge-card-header-actions .circle{width:26px;height:26px;min-width:26px}.judge-card>small{margin-top:14px}.judge-tools .btn{white-space:nowrap;padding-inline:10px}.judge-tools .btn:last-child{flex:1.2}@media(max-width:359px){.judge-card .judge-card-top{gap:8px}.judge-card .judge-card-identity h3{font-size:14px}.judge-tools{gap:6px}.judge-tools .btn{font-size:11px;padding-inline:7px}.judge-card-header-actions .pill{font-size:10px;padding-inline:6px}}
/* Keep short filter results from collapsing the document beneath the user's scroll position. */
@media(max-width:1199px){.events-card>.event-table{min-height:clamp(320px,55svh,520px);overflow-anchor:none}}
#timer-reminder{position:fixed;inset:0;margin:auto;width:min(400px,calc(100vw - 40px));height:fit-content;max-height:calc(100dvh - 40px);padding:36px 28px 28px;border:1px solid rgb(239 68 68/.18);border-radius:28px;background:var(--card);color:var(--ink);text-align:center;box-shadow:0 24px 100px rgb(0 0 0/.3);overflow-y:auto;transform:none;animation:timer-reminder-enter .25s ease-out}
#timer-reminder::backdrop{background:rgb(0 0 0/.56);backdrop-filter:blur(8px)}
#timer-reminder .timer-reminder-close{position:absolute;right:14px;top:14px;color:var(--ink-3)}.timer-reminder-symbol{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 18px;border-radius:50%;color:#ef4444;background:rgb(239 68 68/.1)}
#timer-reminder h2{font-size:16px;font-weight:500;color:var(--ink-2);margin:0}.timer-reminder-value{display:flex;align-items:baseline;justify-content:center;gap:6px;white-space:nowrap;margin:12px 0 16px;font-family:var(--num);font-size:clamp(68px,20vw,108px);font-weight:650;line-height:1.05;letter-spacing:-.045em;color:#ef4444}.timer-reminder-value span{font-family:var(--font);font-size:clamp(22px,6vw,32px);font-weight:600;letter-spacing:0}.timer-reminder-project{margin:0;font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timer-reminder-caption{margin:8px 0 26px;font-size:13px;color:var(--ink-3)}
#timer-reminder .timer-reminder-confirm{width:100%;min-height:46px;border:1px solid transparent;border-radius:999px;background:#ef4444;color:#fff;font-weight:600}#timer-reminder .timer-reminder-confirm:hover{background:#dc2626;color:#fff}
@keyframes timer-reminder-enter{from{opacity:0;scale:.94}to{opacity:1;scale:1}}@media(prefers-reduced-motion:reduce){#timer-reminder{animation:none}}

/* 草稿状态与自动提交说明同一行 */
.save-line,.dock-total .save-line{display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap;font-size:13px}
.dock-total .save-line .save-state{flex:none;font-size:inherit}
.dock-total .save-line .draft-submit-hint,.submit-dock .dock-total .save-line .draft-submit-hint{display:inline;flex:0 1 auto;min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-size:inherit;line-height:inherit;color:var(--ink-3)}
.save-line .draft-submit-hint::before{content:"·";margin-right:6px}
