/* ============================================================
 * 苏青AI创赛圈 · 全局样式（浅色后台风格）
 * 覆盖 Element Plus 少量视觉细节，统一视觉语言
 * ============================================================ */

:root {
  --xst-primary: #2563eb;
  --xst-primary-dark: #1d4ed8;
  --xst-primary-soft: #eff6ff;
  --xst-success: #16a34a;
  --xst-warning: #d97706;
  --xst-danger: #dc2626;
  --xst-info: #64748b;
  --xst-bg: #f5f7fb;
  --xst-panel: #ffffff;
  --xst-border: #e5e9f2;
  --xst-text: #1e293b;
  --xst-text-sub: #64748b;
  --xst-text-faint: #94a3b8;
  --xst-radius: 10px;
  --xst-shadow: 0 1px 3px rgba(15, 23, 42, .05), 0 1px 2px rgba(15, 23, 42, .04);
  --xst-shadow-lg: 0 10px 30px rgba(15, 23, 42, .12);
  --xst-sidebar-w: 232px;
  --xst-header-h: 58px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--xst-bg);
  color: var(--xst-text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

#app { height: 100%; }

a { color: var(--xst-primary); text-decoration: none; }
a:hover { color: var(--xst-primary-dark); }

/* ---------------- 启动遮罩 ---------------- */
#boot-mask {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--xst-bg); gap: 18px;
}
.boot-logo {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff; font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, .3);
}
.boot-text { color: var(--xst-text-sub); font-size: 13px; letter-spacing: .5px; }

/* ---------------- 布局 ---------------- */
.xst-layout { display: flex; height: 100%; min-height: 100vh; }

.xst-sidebar {
  width: var(--xst-sidebar-w); flex: 0 0 var(--xst-sidebar-w);
  background: #fff; border-right: 1px solid var(--xst-border);
  display: flex; flex-direction: column; overflow: hidden;
}
.xst-brand {
  height: var(--xst-header-h); flex: 0 0 var(--xst-header-h);
  display: flex; align-items: center; gap: 10px; padding: 0 16px;
  border-bottom: 1px solid var(--xst-border);
}
.xst-brand-logo {
  width: 32px; height: 32px; border-radius: 9px; flex: 0 0 32px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.xst-brand-name { font-size: 15px; font-weight: 700; letter-spacing: .5px; }
.xst-brand-sub { font-size: 11px; color: var(--xst-text-faint); margin-top: 1px; }

.xst-menu { flex: 1; overflow-y: auto; padding: 8px 0 24px; }
.xst-menu::-webkit-scrollbar { width: 6px; }
.xst-menu::-webkit-scrollbar-thumb { background: #dbe2ec; border-radius: 3px; }

.xst-menu-group {
  padding: 14px 18px 6px; font-size: 11px; font-weight: 600;
  color: var(--xst-text-faint); letter-spacing: 1px;
}
.xst-menu-item {
  display: flex; align-items: center; gap: 9px;
  margin: 2px 8px; padding: 9px 12px; border-radius: 8px;
  color: #475569; font-size: 13.5px; cursor: pointer;
  transition: background .15s, color .15s; user-select: none;
}
.xst-menu-item:hover { background: #f1f5f9; color: var(--xst-text); }
.xst-menu-item.active { background: var(--xst-primary-soft); color: var(--xst-primary); font-weight: 600; }
.xst-menu-item .el-icon { font-size: 16px; flex: 0 0 16px; }

.xst-main { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }

.xst-header {
  height: var(--xst-header-h); flex: 0 0 var(--xst-header-h);
  background: #fff; border-bottom: 1px solid var(--xst-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; gap: 12px;
}
.xst-crumb { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.xst-crumb-sub { font-size: 12px; color: var(--xst-text-faint); font-weight: 400; }
.xst-header-right { display: flex; align-items: center; gap: 8px; }
.xst-user-chip {
  display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 6px;
  border-radius: 999px; cursor: pointer; transition: background .15s;
}
.xst-user-chip:hover { background: #f1f5f9; }
.xst-user-name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.xst-user-role { font-size: 11px; color: var(--xst-text-faint); line-height: 1.2; }

.xst-content { flex: 1; overflow-y: auto; padding: 18px 20px 40px; }
.xst-content::-webkit-scrollbar { width: 8px; }
.xst-content::-webkit-scrollbar-thumb { background: #dbe2ec; border-radius: 4px; }

/* ---------------- 面板 / 卡片 ---------------- */
.panel {
  background: var(--xst-panel); border: 1px solid var(--xst-border);
  border-radius: var(--xst-radius); box-shadow: var(--xst-shadow);
  margin-bottom: 16px;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 18px; border-bottom: 1px solid var(--xst-border);
}
.panel-title { font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.panel-title .bar { width: 3px; height: 15px; border-radius: 2px; background: var(--xst-primary); }
.panel-title-sub { font-size: 12px; color: var(--xst-text-faint); font-weight: 400; margin-left: 4px; }
.panel-body { padding: 16px 18px; }
.panel-body.tight { padding: 10px 12px; }
.panel-body.nopad { padding: 0; }

/* ---------------- 指标卡 ---------------- */
.stat-grid { display: grid; gap: 14px; margin-bottom: 16px; }
.stat-grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-grid.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.stat-card {
  background: #fff; border: 1px solid var(--xst-border); border-radius: var(--xst-radius);
  padding: 15px 16px; box-shadow: var(--xst-shadow); position: relative; overflow: hidden;
}
.stat-card::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent, var(--xst-primary));
}
.stat-label { font-size: 12.5px; color: var(--xst-text-sub); display: flex; align-items: center; gap: 6px; }
.stat-value { font-size: 26px; font-weight: 700; margin-top: 7px; line-height: 1.15; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.stat-value .unit { font-size: 13px; font-weight: 500; color: var(--xst-text-faint); margin-left: 3px; }
.stat-foot { font-size: 11.5px; color: var(--xst-text-faint); margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.stat-icon {
  position: absolute; right: 14px; top: 14px; font-size: 22px;
  opacity: .14; color: var(--accent, var(--xst-primary));
}

/* ---------------- 工具条 ---------------- */
.toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  padding: 13px 18px; border-bottom: 1px solid var(--xst-border);
}
.toolbar .grow { flex: 1; }
.toolbar-right { margin-left: auto; display: flex; align-items: center; gap: 9px; }

/* ---------------- 表格微调 ---------------- */
.el-table th.el-table__cell { background: #f8fafc !important; color: #475569; font-weight: 600; }
.el-table .cell { line-height: 1.5; }
.el-table--border .el-table__cell { border-right-color: #eef2f7; }
.row-actions { display: flex; gap: 2px; flex-wrap: wrap; }

/* ---------------- 状态标签 ---------------- */
.stage-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 500;
  border: 1px solid transparent; white-space: nowrap;
}
.dot { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 6px; }

/* ---------------- 漏斗 ---------------- */
.funnel-row { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.funnel-name { width: 120px; flex: 0 0 120px; font-size: 13px; color: var(--xst-text-sub); text-align: right; }
.funnel-track { flex: 1; height: 26px; background: #f1f5f9; border-radius: 6px; overflow: hidden; position: relative; }
.funnel-fill {
  height: 100%; border-radius: 6px; display: flex; align-items: center; justify-content: flex-end;
  padding-right: 9px; color: #fff; font-size: 12px; font-weight: 600; min-width: 36px;
  transition: width .6s cubic-bezier(.4, 0, .2, 1);
}
.funnel-num { width: 84px; flex: 0 0 84px; font-size: 13px; font-variant-numeric: tabular-nums; }
.funnel-num em { font-style: normal; color: var(--xst-text-faint); font-size: 11.5px; }

/* ---------------- 排名 ---------------- */
.rank-badge {
  width: 24px; height: 24px; border-radius: 7px; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: 12.5px;
  background: #f1f5f9; color: #64748b;
}
.rank-badge.r1 { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #fff; }
.rank-badge.r2 { background: linear-gradient(135deg, #94a3b8, #cbd5e1); color: #fff; }
.rank-badge.r3 { background: linear-gradient(135deg, #d97706, #f59e0b); color: #fff; }

/* ---------------- 详情 ---------------- */
.desc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.desc-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.desc-cell {
  padding: 11px 16px; border-bottom: 1px solid #f1f5f9; border-right: 1px solid #f1f5f9;
  display: flex; gap: 10px; align-items: baseline; min-height: 44px;
}
.desc-cell.full { grid-column: 1 / -1; }
.desc-key { flex: 0 0 96px; color: var(--xst-text-faint); font-size: 12.5px; }
.desc-val { flex: 1; font-size: 13.5px; word-break: break-all; }

/* ---------------- 空态 ---------------- */
.empty-box { padding: 46px 20px; text-align: center; color: var(--xst-text-faint); }
.empty-box .el-icon { font-size: 40px; opacity: .35; margin-bottom: 10px; }
.empty-box p { margin: 0; font-size: 13px; }

/* ---------------- 登录页 ---------------- */
.login-wrap {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f0f6ff 0%, #f5f7fb 45%, #eef7f4 100%);
  overflow: auto; padding: 24px;
}
.login-bg-deco { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.login-bg-deco.d1 { width: 420px; height: 420px; background: #bfdbfe; top: -140px; left: -100px; }
.login-bg-deco.d2 { width: 380px; height: 380px; background: #a7f3d0; bottom: -150px; right: -80px; }
.login-card {
  position: relative; width: 400px; max-width: 100%; background: #fff;
  border-radius: 16px; box-shadow: var(--xst-shadow-lg); padding: 34px 32px 26px;
  border: 1px solid rgba(226, 232, 240, .9);
}
.login-logo {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 16px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; box-shadow: 0 8px 20px rgba(37, 99, 235, .28);
}
.login-title { font-size: 21px; font-weight: 700; letter-spacing: .5px; }
.login-sub { font-size: 12.5px; color: var(--xst-text-faint); margin-top: 6px; line-height: 1.6; }
.login-form { margin-top: 24px; }
.login-form .el-form-item { margin-bottom: 18px; }
.login-form .el-input__wrapper { padding: 4px 12px; }
.login-btn { width: 100%; height: 42px; font-size: 15px; font-weight: 600; letter-spacing: 2px; }
.login-foot { margin-top: 20px; text-align: center; font-size: 11.5px; color: var(--xst-text-faint); line-height: 1.8; }
.login-tip {
  margin-top: 16px; padding: 10px 12px; border-radius: 8px; font-size: 12px;
  background: #f8fafc; border: 1px dashed #dbe2ec; color: var(--xst-text-sub); line-height: 1.7;
}
.login-tip code { background: #eef2f7; padding: 1px 5px; border-radius: 4px; font-size: 11.5px; color: #334155; }

/* ---------------- 通用 ---------------- */
.mb0 { margin-bottom: 0 !important; }
.mb8 { margin-bottom: 8px; }
.mb12 { margin-bottom: 12px; }
.mb16 { margin-bottom: 16px; }
.mt8 { margin-top: 8px; }
.mt12 { margin-top: 12px; }
.mt16 { margin-top: 16px; }
.text-sub { color: var(--xst-text-sub); }
.text-faint { color: var(--xst-text-faint); }
.text-xs { font-size: 12px; }
.text-sm { font-size: 13px; }
.text-big { font-size: 16px; font-weight: 600; }
.mono { font-family: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.flex { display: flex; }
.flex-mid { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap4 { gap: 4px; } .gap8 { gap: 8px; } .gap12 { gap: 12px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; }
.hint-bar {
  padding: 10px 14px; border-radius: 8px; font-size: 12.5px; line-height: 1.7;
  background: #eff6ff; border: 1px solid #dbeafe; color: #1e40af;
}
.hint-bar.warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.hint-bar.danger { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.hint-bar.ok { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }

/* 路由切换动画 */
.fade-enter-active, .fade-leave-active { transition: opacity .18s ease; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

/* 打印 */
@media print {
  .xst-sidebar, .xst-header, .toolbar, .no-print { display: none !important; }
  .xst-content { padding: 0; overflow: visible; }
  .panel { box-shadow: none; break-inside: avoid; }
}

/* 窄屏 */
@media (max-width: 1180px) {
  .stat-grid.g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desc-grid.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .xst-sidebar { position: fixed; z-index: 900; height: 100%; transform: translateX(-100%); transition: transform .22s; }
  .xst-sidebar.open { transform: none; box-shadow: var(--xst-shadow-lg); }
  .stat-grid.g6, .stat-grid.g4, .stat-grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desc-grid, .desc-grid.c3 { grid-template-columns: 1fr; }
}

/* ---------- 页脚备案号（ICP 备案通过后自动显示，法定要求） ---------- */
.login-beian,
.xst-beian {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #94a3b8;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.login-beian { justify-content: center; }
.xst-beian { flex-direction: column; gap: 2px; }
.login-beian a,
.xst-beian a {
  color: #94a3b8;
  text-decoration: none;
}
.login-beian a:hover,
.xst-beian a:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* ============================================================
 * 现场打分系统
 * 四端：评委端（手机）/ 后台管理 / 现场大屏（LED）/ 场外排行（电视）
 * 大屏与排行为「舞台风格」深色底 —— 酒店 LED / 电视实际投放需要
 * ============================================================ */

/* ---------------- 一、后台管理页（浅色，与主系统一致） ---------------- */
.onsite-page { display: block; }
.onsite-loading { padding: 46px; text-align: center; color: var(--xst-text-faint); font-size: 13px; }

.cell-main { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.cell-sub { font-size: 11.5px; color: var(--xst-text-faint); line-height: 1.5; margin-top: 2px; }
.muted-text { color: var(--xst-text-faint); }
.ok-text { color: var(--xst-success); font-weight: 600; }
.score-text {
  font-family: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 15px; font-weight: 700; color: var(--xst-primary);
  font-variant-numeric: tabular-nums;
}

.detail-title { font-size: 16px; font-weight: 700; letter-spacing: .3px; }
.detail-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 14px 0 16px; }
.detail-card {
  background: #f8fafc; border: 1px solid var(--xst-border);
  border-radius: var(--xst-radius); padding: 13px 14px;
  border-left: 3px solid var(--xst-primary);
}
.dc-label { font-size: 11.5px; color: var(--xst-text-faint); letter-spacing: .4px; }
.dc-value { font-size: 17px; font-weight: 700; margin-top: 6px; line-height: 1.3; word-break: break-all; }
.dc-tip { font-size: 11.5px; color: var(--xst-text-faint); margin-top: 5px; line-height: 1.5; }

.detail-tabs { margin-top: 4px; }
.tab-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 4px 0 12px; }
.tab-toolbar .pager { margin-left: auto; }
.tab-tip { font-size: 12.5px; color: var(--xst-text-sub); line-height: 1.7; }

.form-section {
  font-size: 13px; font-weight: 700; color: var(--xst-text);
  padding: 6px 0 10px; margin-bottom: 6px;
  border-bottom: 1px solid var(--xst-border); display: flex; align-items: center; gap: 8px;
}
.form-section::before {
  content: ''; width: 3px; height: 13px; border-radius: 2px; background: var(--xst-primary);
}
.form-tip {
  font-size: 12px; line-height: 1.75; color: #92400e;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px;
  padding: 9px 12px; margin-bottom: 16px;
}

.dim-list { border: 1px solid var(--xst-border); border-radius: 8px; padding: 10px 12px; background: #fbfcfe; }
.dim-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.dim-row:last-child { margin-bottom: 0; }
.dim-unit { font-size: 12.5px; color: var(--xst-text-sub); flex: 0 0 auto; }

.pager { display: flex; justify-content: flex-end; }

/* 评委头像（后台：列表小圆 + 表单录入） */
.judge-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 1px solid #dbe2ec; background: #f4f7fb; display: block;
}
.judge-avatar-empty {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #f1f5f9; border: 1px dashed #cfd9e6; color: #93a3b8;
  font-size: 13px; font-weight: 700;
}
.avatar-picker { display: flex; align-items: center; gap: 14px; }
.avatar-preview {
  width: 76px; height: 76px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  border: 1px solid #dbe2ec; background: #f4f7fb;
  display: flex; align-items: center; justify-content: center;
}
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-empty { font-size: 12.5px; color: #9aa8ba; }
.avatar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.avatar-library { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.avatar-library-tip { font-size: 12.5px; color: var(--xst-text-sub); margin-right: 2px; }
.avatar-thumb {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover; cursor: pointer;
  border: 2px solid transparent; box-shadow: 0 0 0 1px #dbe2ec; transition: border-color .2s, transform .2s;
}
.avatar-thumb:hover { transform: translateY(-1px); }
.avatar-thumb.on { border-color: var(--xst-primary); box-shadow: 0 0 0 2px rgba(37, 99, 235, .18); }

/* 二维码 */
.qr-box { text-align: center; padding: 6px 0 2px; }
.qr-img {
  display: inline-block; padding: 10px; background: #fff;
  border: 1px solid var(--xst-border); border-radius: 10px;
}
.qr-img svg { display: block; width: 216px; height: 216px; }
.qr-name { font-size: 15px; font-weight: 700; margin-top: 12px; }
.qr-org { font-size: 12.5px; color: var(--xst-text-sub); margin-top: 4px; }
.qr-tip { font-size: 12px; color: var(--xst-text-faint); margin-top: 10px; }
.qr-link {
  font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 11px;
  color: var(--xst-text-faint); word-break: break-all;
  background: #f8fafc; border: 1px dashed #dbe2ec; border-radius: 6px;
  padding: 7px 9px; margin-top: 10px;
}

/* 二维码打印版 */
.qr-print-dialog .el-dialog__body { padding-top: 8px; }
.qr-print-head { text-align: center; margin-bottom: 16px; }
.qr-print-title { font-size: 17px; font-weight: 700; }
.qr-print-sub { font-size: 12px; color: var(--xst-text-faint); margin-top: 5px; }
.qr-print-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.qr-print-item {
  border: 1px dashed #cbd5e1; border-radius: 10px;
  padding: 14px 10px; text-align: center; background: #fff;
  break-inside: avoid; page-break-inside: avoid;
}
.qr-print-name { font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.qr-print-img svg { display: block; width: 148px; height: 148px; margin: 0 auto; }
.qr-print-org { font-size: 11.5px; color: var(--xst-text-sub); margin-top: 7px; min-height: 16px; }
.qr-print-code {
  font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 10px;
  color: var(--xst-text-faint); margin-top: 4px; letter-spacing: .5px;
}

/* ---------------- 二、评委端（手机 / Pad 优先） ---------------- */
.judge-page {
  min-height: 100vh; width: 100%; max-width: 560px; margin: 0 auto;
  background: var(--xst-bg); padding: 0 0 28px;
  display: flex; flex-direction: column;
}
.judge-loading { padding: 80px 20px; text-align: center; color: var(--xst-text-faint); font-size: 14px; }

.judge-fatal { padding: 70px 26px; text-align: center; }
.judge-fatal-title { font-size: 18px; font-weight: 700; margin-top: 14px; }
.judge-fatal-text { font-size: 14px; color: var(--xst-text-sub); margin-top: 10px; line-height: 1.7; }
.judge-fatal-tip { font-size: 12.5px; color: var(--xst-text-faint); margin-top: 18px; line-height: 1.7; }

.judge-head {
  background: linear-gradient(135deg, #2563eb, #1d4ed8 55%, #0ea5e9);
  color: #fff; padding: 16px 18px 18px;
  border-radius: 0 0 16px 16px; box-shadow: 0 6px 18px rgba(37, 99, 235, .22);
}
.judge-head-event { font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: .3px; }
.judge-head-me { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.judge-badge {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .22); font-size: 12.5px; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .35);
}
.judge-name { font-size: 14px; font-weight: 600; }
.judge-org { font-size: 12px; opacity: .82; }

.judge-progress { padding: 14px 18px 4px; }
.judge-progress-text { font-size: 13px; color: var(--xst-text-sub); }
.judge-progress-text b { color: var(--xst-primary); font-size: 16px; font-variant-numeric: tabular-nums; }
.judge-progress-bar { height: 7px; border-radius: 4px; background: #e2e8f0; overflow: hidden; margin-top: 9px; }
.judge-progress-bar span {
  display: block; height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  transition: width .45s cubic-bezier(.4, 0, .2, 1);
}

.judge-wait { padding: 56px 26px; text-align: center; }
.judge-wait-title { font-size: 15.5px; font-weight: 600; margin-top: 12px; }
.judge-wait-tip { font-size: 12.5px; color: var(--xst-text-faint); margin-top: 8px; line-height: 1.7; }

.judge-player {
  margin: 12px 16px 0; padding: 16px 18px; background: #fff;
  border: 1px solid var(--xst-border); border-radius: 12px; box-shadow: var(--xst-shadow);
}
.judge-player-seq {
  display: inline-block; padding: 2px 9px; border-radius: 6px;
  background: var(--xst-primary-soft); color: var(--xst-primary);
  font-size: 12px; font-weight: 700;
}
.judge-player-name { font-size: 22px; font-weight: 700; margin-top: 10px; line-height: 1.35; letter-spacing: .3px; }
.judge-player-meta { font-size: 13px; color: var(--xst-text-sub); margin-top: 7px; }
.judge-player-intro {
  font-size: 12.5px; color: var(--xst-text-sub); line-height: 1.75; margin-top: 10px;
  padding-top: 10px; border-top: 1px dashed var(--xst-border);
}

.judge-done {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 10px 16px 0; padding: 11px 14px; border-radius: 10px;
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; font-size: 13.5px;
}
.judge-done b { font-size: 16px; font-variant-numeric: tabular-nums; }
.judge-done-tip { margin-left: auto; font-size: 12px; color: #4d7c5f; }

.judge-form { margin: 12px 16px 0; display: flex; flex-direction: column; gap: 14px; }
.judge-dim { background: #fff; border: 1px solid var(--xst-border); border-radius: 12px; padding: 14px 16px 6px; }
.judge-dim-head { display: flex; align-items: baseline; justify-content: space-between; font-size: 14px; font-weight: 600; }
.judge-dim-score { font-size: 16px; font-weight: 700; color: var(--xst-primary); font-variant-numeric: tabular-nums; }
.judge-dim-score i { font-style: normal; font-size: 12px; color: var(--xst-text-faint); font-weight: 400; }

.judge-score-label { font-size: 13px; color: var(--xst-text-sub); }
.judge-score-input {
  display: flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid var(--xst-border); border-radius: 12px; padding: 8px 16px;
  box-shadow: var(--xst-shadow);
}
.judge-score-input input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 40px; font-weight: 700; color: var(--xst-primary);
  font-variant-numeric: tabular-nums; letter-spacing: -.5px; padding: 4px 0;
  font-family: inherit; -moz-appearance: textfield;
}
.judge-score-input input::-webkit-outer-spin-button,
.judge-score-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.judge-score-input input::placeholder { color: #cbd5e1; }
.judge-score-unit { font-size: 15px; color: var(--xst-text-faint); flex: 0 0 auto; }

.judge-quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.judge-quick button {
  padding: 11px 0; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--xst-border); background: #fff;
  font-size: 15px; font-weight: 700; color: #475569;
  font-variant-numeric: tabular-nums; font-family: inherit;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.judge-quick button:active { transform: scale(.96); }
.judge-quick button.on { background: var(--xst-primary); border-color: var(--xst-primary); color: #fff; }

.judge-comment .el-textarea__inner { border-radius: 10px; font-size: 13.5px; }

.judge-actions { margin: 16px 16px 0; display: flex; flex-direction: column; gap: 9px; }
.judge-submit {
  width: 100%; margin-left: 0 !important; height: 52px;
  font-size: 17px; font-weight: 700; letter-spacing: 2px; border-radius: 12px;
}
.judge-abstain {
  width: 100%; margin-left: 0 !important; height: 42px;
  font-size: 14px; border-radius: 12px; color: var(--xst-text-sub);
}

.judge-foot { margin: 18px 16px 0; padding-top: 14px; border-top: 1px solid var(--xst-border); }
.judge-foot, .judge-foot-tip { font-size: 11.5px; color: var(--xst-text-faint); line-height: 1.8; }
.judge-foot-tip { margin-top: 4px; }

/* ---------------- 三、现场大屏（酒店 LED / 投影） ---------------- */
.screen-page {
  position: relative; min-height: 100vh; width: 100%; overflow: hidden;
  /* 兜底底色：科技感背景层由 .screen-bg 叠加（网格 / 光晕 / 扫描线） */
  background: radial-gradient(ellipse at 50% -8%, #0d2140 0%, #071022 45%, #03060d 100%);
  color: #eaf1ff; padding: clamp(14px, 2.2vw, 34px) clamp(18px, 3vw, 52px) clamp(10px, 1.6vw, 22px);
  display: flex; flex-direction: column; gap: clamp(10px, 1.6vw, 26px);
  font-variant-numeric: tabular-nums;
}

/* ---------- 科技感背景层（纯装饰） ---------- */
.screen-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.screen-bg-grid {
  position: absolute; inset: -25%;
  background-image:
    linear-gradient(rgba(88, 166, 255, .085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 166, 255, .085) 1px, transparent 1px);
  background-size: clamp(40px, 5vw, 96px) clamp(40px, 5vw, 96px);
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 42%, #000 18%, transparent 76%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 42%, #000 18%, transparent 76%);
  animation: xst-grid-drift 34s linear infinite;
}
.screen-bg-glow { position: absolute; border-radius: 50%; filter: blur(clamp(60px, 9vw, 160px)); }
.screen-bg-glow.g1 {
  width: 62vw; height: 62vw; left: -14vw; top: -22vw; opacity: .5;
  background: radial-gradient(circle, rgba(37, 99, 235, .55), transparent 68%);
  animation: xst-float-a 26s ease-in-out infinite;
}
.screen-bg-glow.g2 {
  width: 54vw; height: 54vw; right: -12vw; bottom: -20vw; opacity: .42;
  background: radial-gradient(circle, rgba(14, 165, 233, .5), transparent 68%);
  animation: xst-float-b 32s ease-in-out infinite;
}
.screen-scan {
  position: absolute; left: 0; right: 0; height: clamp(110px, 17vh, 240px);
  background: linear-gradient(180deg, transparent, rgba(96, 165, 250, .12), transparent);
  animation: xst-scan 9s cubic-bezier(.55, 0, .45, 1) infinite;
}
@keyframes xst-grid-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -96px, 0); } }
@keyframes xst-float-a { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6vw, 4vw, 0) scale(1.12); } }
@keyframes xst-float-b { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-5vw, -4vw, 0) scale(1.16); } }
@keyframes xst-scan { 0% { top: -20vh; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 108vh; opacity: 0; } }

/* 内容整体抬到背景之上 */
.screen-head, .screen-idle, .screen-signin, .screen-scoring, .screen-reveal,
.screen-ranking, .screen-foot, .screen-error, .screen-loading { position: relative; z-index: 1; }
.screen-loading { margin: auto; font-size: clamp(14px, 1.5vw, 20px); color: #7f9ac4; }
.screen-error { margin: auto; text-align: center; }
.screen-error-title { font-size: clamp(20px, 2.6vw, 40px); font-weight: 700; color: #ffb4b4; }
.screen-error-text { font-size: clamp(13px, 1.2vw, 18px); color: #9fb3d1; margin-top: 12px; }
.screen-error-tip { font-size: clamp(12px, 1vw, 15px); color: #6f86a8; margin-top: 16px; }

.screen-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.screen-brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: clamp(11px, 1vw, 16px); letter-spacing: 4px; color: #6f9ad6;
  margin-bottom: clamp(6px, .8vw, 12px);
}
.screen-brand-dot {
  width: .62em; height: .62em; border-radius: 2px;
  background: linear-gradient(135deg, #58a6ff, #22d3ee);
  box-shadow: 0 0 14px rgba(88, 166, 255, .95);
  animation: xst-blink 2.4s ease-in-out infinite;
}
@keyframes xst-blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.screen-title {
  font-size: clamp(20px, 2.7vw, 46px); font-weight: 800; letter-spacing: 1.5px; line-height: 1.2;
  text-shadow: 0 0 34px rgba(88, 166, 255, .32);
}
.screen-sub { font-size: clamp(12px, 1.1vw, 18px); color: #8faad0; margin-top: 8px; letter-spacing: .8px; }
.screen-head-right { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 20px); flex: 0 0 auto; }
/* 当前出分方式徽标：现场人员一眼知道这场怎么亮分 */
.screen-reveal-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: clamp(3px, .4vw, 6px) clamp(9px, 1vw, 16px); border-radius: 999px;
  font-size: clamp(11px, 1vw, 16px); letter-spacing: 1.5px; font-weight: 600;
  border: 1px solid rgba(148, 190, 255, .32); background: rgba(88, 166, 255, .1); color: #a9c6ff;
}
.screen-reveal-chip .dot {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.screen-reveal-chip.r-LIVE_SCORE { border-color: rgba(52, 211, 153, .45); background: rgba(16, 185, 129, .14); color: #6ee7b7; }
.screen-reveal-chip.r-LIGHT_ONLY { border-color: rgba(56, 189, 248, .42); background: rgba(14, 165, 233, .13); color: #7dd3fc; }
.screen-reveal-chip.r-ALL_AT_ONCE { border-color: rgba(245, 158, 11, .42); background: rgba(245, 158, 11, .13); color: #ffd166; }
.screen-mode-tag {
  padding: clamp(4px, .5vw, 8px) clamp(10px, 1.2vw, 22px); border-radius: 999px;
  font-size: clamp(12px, 1.15vw, 20px); font-weight: 700; letter-spacing: 2px;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08);
}
.screen-mode-tag.m-SCORING { background: rgba(37, 99, 235, .28); border-color: #4f83ff; color: #a9c6ff; }
.screen-mode-tag.m-REVEAL { background: rgba(217, 119, 6, .3); border-color: #f0a531; color: #ffd79a; }
.screen-mode-tag.m-RANKING { background: rgba(22, 163, 74, .26); border-color: #34d399; color: #a7f3d0; }
.screen-mode-tag.m-SIGNIN { background: rgba(14, 165, 233, .24); border-color: #38bdf8; color: #bae6fd; }
.screen-clock {
  font-family: "SF Mono", Menlo, Consolas, monospace; font-size: clamp(15px, 1.7vw, 30px);
  color: #7f9ac4; letter-spacing: 2px; text-shadow: 0 0 18px rgba(88, 166, 255, .5);
}

/* 待机 */
.screen-idle { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(8px, 1.2vw, 18px); }
.screen-idle-ring { display: flex; gap: clamp(8px, 1vw, 16px); margin-bottom: clamp(4px, .8vw, 14px); }
.screen-idle-ring span {
  width: clamp(8px, .8vw, 14px); height: clamp(8px, .8vw, 14px); border-radius: 50%;
  background: #38bdf8; box-shadow: 0 0 20px rgba(56, 189, 248, .9);
  animation: xst-dot-jump 1.5s ease-in-out infinite;
}
.screen-idle-ring span:nth-child(2) { animation-delay: .18s; }
.screen-idle-ring span:nth-child(3) { animation-delay: .36s; }
@keyframes xst-dot-jump { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-10px); opacity: 1; } }
.screen-idle-title {
  font-size: clamp(26px, 4vw, 76px); font-weight: 800; letter-spacing: 6px;
  text-shadow: 0 0 40px rgba(88, 166, 255, .35);
}
.screen-idle-tip { font-size: clamp(13px, 1.3vw, 22px); color: #93aecd; letter-spacing: 1px; text-align: center; }
.screen-idle-stats { display: flex; gap: clamp(20px, 4vw, 80px); margin-top: clamp(14px, 2.4vw, 44px); }
.screen-idle-stat { text-align: center; }
.screen-idle-stat .n {
  font-size: clamp(30px, 4.4vw, 84px); font-weight: 800; line-height: 1;
  background: linear-gradient(180deg, #ffffff, #8fb6ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.screen-idle-stat .l { font-size: clamp(12px, 1.1vw, 18px); color: #8faad0; margin-top: 8px; letter-spacing: 2px; }

/* 签到 */
.screen-signin { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 30px); }
.screen-signin-title { font-size: clamp(22px, 3vw, 52px); font-weight: 800; letter-spacing: 8px; }
.screen-signin-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(120px, 12vw, 210px), 1fr));
  gap: clamp(10px, 1.3vw, 22px); width: 100%; max-width: 1500px;
}
.screen-signin-item {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px; padding: clamp(12px, 1.4vw, 24px); text-align: center;
  transition: background .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.screen-signin-item.on {
  background: rgba(16, 185, 129, .12); border-color: rgba(52, 211, 153, .55);
  box-shadow: 0 0 26px rgba(52, 211, 153, .22);
}
.screen-signin-name { font-size: clamp(14px, 1.4vw, 24px); font-weight: 700; }
.screen-signin-state { font-size: clamp(11px, 1vw, 16px); color: #7f9ac4; margin-top: 8px; letter-spacing: 1px; }
.screen-signin-state.on { color: #6ee7a8; font-weight: 700; }
.screen-signin-tip { font-size: clamp(13px, 1.2vw, 20px); color: #93aecd; }

/* 打分中 */
.screen-scoring { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(6px, .9vw, 14px); }
.screen-player-seq {
  padding: 4px 16px; border-radius: 999px; background: rgba(37, 99, 235, .25);
  border: 1px solid #4f83ff; color: #a9c6ff;
  font-size: clamp(12px, 1.2vw, 20px); font-weight: 700; letter-spacing: 2px;
  box-shadow: 0 0 22px rgba(79, 131, 255, .35);
}
.screen-player-name {
  font-size: clamp(30px, 4.6vw, 92px); font-weight: 800; letter-spacing: 4px;
  line-height: 1.15; text-align: center; margin-top: 6px;
  text-shadow: 0 0 44px rgba(88, 166, 255, .3);
}
.screen-player-meta { font-size: clamp(13px, 1.3vw, 22px); color: #93aecd; letter-spacing: 1px; }
.screen-progress { display: flex; align-items: baseline; gap: 10px; margin-top: clamp(10px, 1.6vw, 26px); }
.screen-progress-num { font-size: clamp(20px, 2.6vw, 48px); font-weight: 800; }
.screen-progress-num b { color: #6ea8ff; text-shadow: 0 0 22px rgba(110, 168, 255, .7); }
.screen-progress-label { font-size: clamp(12px, 1.1vw, 18px); color: #8faad0; letter-spacing: 1px; }
.screen-progress-bar {
  width: min(1200px, 82%); height: clamp(6px, .7vw, 12px); margin-top: clamp(8px, 1vw, 18px);
  border-radius: 999px; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12); overflow: hidden;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .6);
}
.screen-progress-bar i {
  position: relative; display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #1d4ed8, #38bdf8 55%, #67e8f9);
  box-shadow: 0 0 22px rgba(56, 189, 248, .75);
  transition: width .6s cubic-bezier(.2, .9, .3, 1);
}
.screen-progress-bar i::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: translateX(-100%); animation: xst-sheen 2.2s linear infinite;
}
@keyframes xst-sheen { to { transform: translateX(100%); } }
.screen-hint { font-size: clamp(11px, 1.05vw, 17px); color: #6f9ad6; letter-spacing: 2px; margin-top: clamp(6px, .9vw, 14px); }

/* 评委席位：切角卡片 + 顶部状态灯带 */
.screen-judge-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(110px, 11vw, 190px), 1fr));
  gap: clamp(8px, 1.1vw, 18px); width: 100%; max-width: 1700px; margin-top: clamp(12px, 2vw, 34px);
}
.screen-judge-cell {
  position: relative; text-align: center;
  padding: clamp(12px, 1.4vw, 24px) clamp(10px, 1.2vw, 20px) clamp(10px, 1.2vw, 20px);
  background: linear-gradient(180deg, rgba(19, 32, 56, .92), rgba(9, 16, 31, .94));
  border: 1px solid rgba(120, 160, 220, .16);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: background .45s ease, border-color .45s ease, box-shadow .45s ease, transform .45s cubic-bezier(.2, 1.2, .4, 1);
}
.screen-judge-cell::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: rgba(120, 160, 220, .2);
  transition: background .45s ease, box-shadow .45s ease;
}
.screen-judge-cell.on {
  border-color: rgba(52, 211, 153, .62);
  background: linear-gradient(180deg, rgba(16, 58, 50, .92), rgba(8, 26, 28, .94));
  box-shadow: 0 0 34px rgba(52, 211, 153, .3), inset 0 0 24px rgba(52, 211, 153, .1);
  transform: translateY(-3px);
}
.screen-judge-cell.on::before {
  background: linear-gradient(90deg, #34d399, #67e8f9);
  box-shadow: 0 0 18px rgba(52, 211, 153, .95);
}
.screen-judge-cell.live {
  border-color: rgba(103, 232, 249, .7);
  box-shadow: 0 0 40px rgba(103, 232, 249, .32), inset 0 0 26px rgba(103, 232, 249, .12);
}
.screen-judge-cell.off { opacity: .48; filter: grayscale(.6); }

/* 席位灯：等待＝暗，提交＝亮并呼吸（只亮灯模式的核心视觉） */
.screen-lamp { display: flex; justify-content: center; margin-bottom: clamp(6px, .8vw, 12px); }
.screen-lamp i {
  display: block; width: clamp(10px, 1.1vw, 18px); height: clamp(10px, 1.1vw, 18px);
  border-radius: 50%; transition: background .45s ease, box-shadow .45s ease;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .26), rgba(120, 150, 200, .16) 58%, rgba(36, 54, 86, .92));
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .7);
}
.screen-judge-cell.on .screen-lamp i,
.screen-lamp-card.on .screen-lamp i {
  background: radial-gradient(circle at 35% 30%, #ffffff, #6ee7b7 42%, #10b981);
  box-shadow: 0 0 16px rgba(52, 211, 153, .95), 0 0 36px rgba(52, 211, 153, .5);
  animation: xst-lamp-breathe 2.1s ease-in-out infinite;
}
.screen-judge-cell.live .screen-lamp i {
  background: radial-gradient(circle at 35% 30%, #ffffff, #a5f3fc 42%, #22d3ee);
  box-shadow: 0 0 20px rgba(103, 232, 249, .95), 0 0 44px rgba(103, 232, 249, .5);
}
@keyframes xst-lamp-breathe { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.5); } }

/* ---------- 评委头像：赛事级开关，头像挂在「评委N」上方 ---------- */
.jface {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  background: linear-gradient(180deg, rgba(28, 48, 82, .95), rgba(10, 19, 36, .96));
  border: 1px solid rgba(120, 170, 240, .34);
  box-shadow: 0 0 0 3px rgba(56, 130, 246, .09), 0 0 22px rgba(56, 130, 246, .16);
  transition: border-color .45s ease, box-shadow .45s ease, transform .45s cubic-bezier(.2, 1.2, .4, 1);
}
.jface img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jface-ph { font-weight: 800; color: #9fc4ff; font-variant-numeric: tabular-nums; line-height: 1; }

/* 四种场景各自的尺寸（大屏按视口缩放） */
.jface-cell { width: clamp(40px, 4.8vw, 84px); height: clamp(40px, 4.8vw, 84px); margin-bottom: clamp(6px, .8vw, 12px); }
.jface-cell .jface-ph { font-size: clamp(16px, 1.9vw, 34px); }
.jface-reveal { width: clamp(52px, 6vw, 106px); height: clamp(52px, 6vw, 106px); margin: 0 auto clamp(6px, .8vw, 12px); }
.jface-reveal .jface-ph { font-size: clamp(20px, 2.4vw, 42px); }
.jface-lamp { width: clamp(46px, 5.2vw, 94px); height: clamp(46px, 5.2vw, 94px); margin-bottom: clamp(8px, 1vw, 14px); }
.jface-lamp .jface-ph { font-size: clamp(18px, 2.1vw, 38px); }
.jface-signin { width: clamp(52px, 5.6vw, 100px); height: clamp(52px, 5.6vw, 100px); margin-bottom: clamp(8px, 1vw, 14px); }
.jface-signin .jface-ph { font-size: clamp(20px, 2.2vw, 40px); }

/* 提交 / 就绪时头像亮起光环，和席位状态灯同步 */
.screen-judge-cell.on .jface,
.screen-lamp-card.on .jface,
.screen-signin-item.on .jface {
  border-color: rgba(52, 211, 153, .78);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, .15), 0 0 26px rgba(52, 211, 153, .42);
}
.screen-judge-cell.live .jface,
.screen-reveal-cell.keep .jface {
  border-color: rgba(103, 232, 249, .82);
  box-shadow: 0 0 0 3px rgba(103, 232, 249, .17), 0 0 30px rgba(103, 232, 249, .5);
}

/* 各场景的姓名行（开关关闭时服务端不下发姓名，v-if 自然隐藏） */
.screen-reveal-name { font-size: clamp(11px, .95vw, 16px); color: #8faad0; margin-top: 3px; }
.screen-lamp-realname { font-size: clamp(11px, .95vw, 16px); color: #8faad0; margin-top: 4px; }
.screen-signin-realname { font-size: clamp(12px, 1.05vw, 18px); color: #a9c6ff; margin-top: 4px; font-weight: 600; }

.screen-judge-no { font-size: clamp(12px, 1.15vw, 19px); font-weight: 700; color: #cfe0f7; letter-spacing: 1px; }
.screen-judge-name {
  font-size: clamp(11px, .95vw, 15px); color: #8faad0; margin-top: 6px;
  height: 1.4em; line-height: 1.4em; overflow: hidden;
}
.screen-judge-state {
  font-size: clamp(11px, 1vw, 16px); color: #6f86a8;
  margin-top: clamp(8px, .9vw, 14px); letter-spacing: 1px; min-height: 1.7em;
}
.screen-judge-cell.on .screen-judge-state { color: #6ee7a8; font-weight: 700; }
/* 边打边亮分：分数直接出现在席位上 */
.screen-judge-score {
  display: inline-block; font-size: clamp(26px, 3.4vw, 62px); font-weight: 800; line-height: 1;
  background: linear-gradient(180deg, #ffffff, #7dd3fc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(103, 232, 249, .7));
  animation: xst-score-in .5s cubic-bezier(.2, 1.5, .4, 1) both;
}
@keyframes xst-score-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* 只亮灯不亮分：出分时的灯阵（不出现任何个人分数） */
.screen-lampboard {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(120px, 12vw, 220px), 1fr));
  gap: clamp(10px, 1.3vw, 22px); width: 100%; max-width: 1700px; margin-top: clamp(8px, 1.2vw, 20px);
}
.screen-lamp-card {
  text-align: center; padding: clamp(14px, 1.7vw, 28px);
  background: linear-gradient(180deg, rgba(19, 32, 56, .9), rgba(9, 16, 31, .94));
  border: 1px solid rgba(120, 160, 220, .16);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: background .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.screen-lamp-card.on {
  border-color: rgba(52, 211, 153, .6); background: linear-gradient(180deg, rgba(16, 58, 50, .9), rgba(8, 26, 28, .94));
  box-shadow: 0 0 30px rgba(52, 211, 153, .28);
}
.screen-lamp-card.off { opacity: .45; filter: grayscale(.6); }
.screen-lamp.big { margin-bottom: clamp(10px, 1.2vw, 18px); }
.screen-lamp.big i { width: clamp(18px, 2vw, 34px); height: clamp(18px, 2vw, 34px); }
.screen-lamp-name { font-size: clamp(12px, 1.15vw, 19px); font-weight: 700; color: #cfe0f7; letter-spacing: 1px; }
.screen-lamp-state { font-size: clamp(11px, 1vw, 16px); color: #6f9ad6; margin-top: 6px; letter-spacing: 1px; }
.screen-lamp-card.on .screen-lamp-state { color: #6ee7a8; font-weight: 700; }

/* 出分 */
.screen-reveal { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: clamp(8px, 1.2vw, 20px); }
.screen-reveal-player {
  font-size: clamp(22px, 3vw, 58px); font-weight: 800; letter-spacing: 3px; text-align: center;
  text-shadow: 0 0 34px rgba(88, 166, 255, .32);
}
.screen-reveal-player .seq {
  display: inline-block; padding: 2px 14px; border-radius: 999px; margin-right: 12px;
  background: rgba(37, 99, 235, .25); border: 1px solid #4f83ff; color: #a9c6ff;
  font-size: clamp(12px, 1.1vw, 19px); vertical-align: middle;
  box-shadow: 0 0 20px rgba(79, 131, 255, .4);
}
.screen-reveal-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(110px, 11vw, 190px), 1fr));
  gap: clamp(8px, 1.1vw, 18px); width: 100%; max-width: 1700px; margin-top: clamp(6px, 1vw, 16px);
}
.screen-reveal-cell {
  position: relative; text-align: center;
  padding: clamp(12px, 1.4vw, 24px) clamp(8px, 1vw, 16px);
  background: linear-gradient(180deg, rgba(19, 32, 56, .94), rgba(9, 16, 31, .96));
  border: 1px solid rgba(120, 160, 220, .22);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: opacity .5s, filter .5s, transform .35s, background .5s, border-color .5s, box-shadow .5s;
}
.screen-reveal-cell.pop { animation: xst-pop .42s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes xst-pop {
  from { opacity: 0; transform: translateY(14px) scale(.9); }
  to { opacity: 1; transform: none; }
}
/* 保留参与计算的分数：亮边强调 */
.screen-reveal-cell.keep { border-color: rgba(52, 211, 153, .5); box-shadow: 0 0 28px rgba(52, 211, 153, .16); }
/* 被去掉的最高/最低分：压暗并缩小，一眼可见 */
.screen-reveal-cell.dim {
  opacity: .32; filter: grayscale(.8);
  background: linear-gradient(180deg, rgba(14, 20, 32, .9), rgba(8, 12, 20, .94));
  border-color: rgba(255, 255, 255, .06); transform: scale(.94); box-shadow: none;
}
.screen-reveal-judge { font-size: clamp(12px, 1.15vw, 19px); color: #b9cde8; font-weight: 600; letter-spacing: 1px; }
.screen-reveal-score {
  font-size: clamp(28px, 4vw, 78px); font-weight: 800; line-height: 1.05; margin-top: 8px;
  font-variant-numeric: tabular-nums; letter-spacing: -.5px;
  text-shadow: 0 0 30px rgba(103, 232, 249, .45);
}
.screen-reveal-tag {
  position: absolute; top: 6px; right: 8px;
  padding: 2px 9px; border-radius: 999px; white-space: nowrap;
  font-size: clamp(10px, .85vw, 13px); font-weight: 700;
  background: #f59e0b; color: #3b1d00;
  box-shadow: 0 0 16px rgba(245, 158, 11, .7);
}
.screen-reveal-rule {
  font-size: clamp(12px, 1.15vw, 20px); color: #ffd79a; letter-spacing: 1.5px;
  padding: clamp(6px, .7vw, 12px) clamp(14px, 1.6vw, 28px);
  background: rgba(217, 119, 6, .16); border: 1px solid rgba(240, 165, 49, .35);
  border-radius: 999px;
  box-shadow: 0 0 26px rgba(240, 165, 49, .22);
  animation: fadein .5s ease both;
}
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.screen-final {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin-top: clamp(6px, 1.2vw, 18px);
  opacity: 0; transform: translateY(20px) scale(.94);
  transition: opacity .6s cubic-bezier(.2, 1.2, .4, 1), transform .6s cubic-bezier(.2, 1.2, .4, 1);
}
.screen-final.show { opacity: 1; transform: none; }
/* 得分背后的呼吸光晕 */
.screen-final-halo {
  position: absolute; top: 50%; left: 50%;
  width: clamp(280px, 36vw, 660px); height: clamp(170px, 23vw, 420px);
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(245, 158, 11, .3), rgba(245, 158, 11, .07) 45%, transparent 70%);
  filter: blur(clamp(16px, 2.4vw, 44px)); opacity: 0; transition: opacity .8s ease;
}
.screen-final.show .screen-final-halo { opacity: 1; animation: xst-halo 2.6s ease-in-out infinite; }
@keyframes xst-halo {
  0%, 100% { transform: translate(-50%, -50%) scale(.94); opacity: .72; }
  50% { transform: translate(-50%, -50%) scale(1.09); opacity: 1; }
}
.screen-final-label { position: relative; font-size: clamp(12px, 1.3vw, 22px); color: #93aecd; letter-spacing: 10px; }
.screen-final-score {
  position: relative;
  font-size: clamp(56px, 10vw, 206px); font-weight: 800; line-height: 1;
  letter-spacing: -3px; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fffdf5 0%, #ffe08a 44%, #f59e0b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 46px rgba(245, 158, 11, .62));
}
/* 数字的弹出只在「定格」那一刻播一次（元素常驻，不能挂在基础类上） */
.screen-final.show .screen-final-score { animation: xst-final-pop .85s cubic-bezier(.16, 1.4, .3, 1) both; }
@keyframes xst-final-pop {
  0% { opacity: 0; transform: scale(.72); }
  58% { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}
.screen-final-detail { position: relative; font-size: clamp(11px, 1vw, 17px); color: #8faad0; letter-spacing: 1px; margin-top: 8px; }
/* 定格瞬间的全屏光波 */
.screen-ripple {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at 50% 56%, rgba(255, 214, 102, .24), rgba(255, 214, 102, .06) 38%, transparent 62%);
  animation: xst-ripple-in .95s ease-out both;
}
@keyframes xst-ripple-in {
  0% { opacity: 0; transform: scale(.62); }
  38% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.28); }
}

/* 排行榜（大屏内嵌） */
.screen-ranking { flex: 1; display: flex; flex-direction: column; gap: clamp(8px, 1.2vw, 20px); min-height: 0; }
.screen-ranking-title {
  font-size: clamp(20px, 2.6vw, 46px); font-weight: 800; letter-spacing: 8px; text-align: center;
  text-shadow: 0 0 34px rgba(126, 224, 168, .35);
}
.screen-ranking-list { display: flex; flex-direction: column; gap: clamp(5px, .7vw, 12px); overflow: hidden; }
.screen-rank-row {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: clamp(48px, 5vw, 92px) 1fr auto;
  align-items: center; gap: clamp(10px, 1.4vw, 24px);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px; padding: clamp(7px, .9vw, 16px) clamp(12px, 1.4vw, 26px);
  animation: fadein .4s ease both;
}
.screen-rank-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: rgba(120, 160, 220, .25);
}
.screen-rank-row.top3 { background: rgba(245, 158, 11, .14); border-color: rgba(245, 158, 11, .42); }
.screen-rank-row.top3::before {
  background: linear-gradient(180deg, #fbbf24, #f59e0b);
  box-shadow: 0 0 18px rgba(245, 158, 11, .85);
}
.screen-rank-no {
  font-size: clamp(18px, 2.2vw, 40px); font-weight: 800; text-align: center; color: #8faad0;
}
.screen-rank-row.top3 .screen-rank-no { color: #ffd166; }
.screen-rank-name .n { font-size: clamp(14px, 1.6vw, 28px); font-weight: 700; }
.screen-rank-name .m { font-size: clamp(11px, .95vw, 16px); color: #8faad0; margin-top: 3px; }
.screen-rank-score {
  font-size: clamp(22px, 3vw, 56px); font-weight: 800; color: #7ee0a8;
  font-variant-numeric: tabular-nums;
}
.screen-ranking-empty { margin: auto; font-size: clamp(13px, 1.3vw, 22px); color: #7f9ac4; }

.screen-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: clamp(6px, .9vw, 14px); border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: clamp(11px, 1vw, 16px); color: #7f9ac4; letter-spacing: 1px;
}
.screen-foot a { color: #7f9ac4; }
.screen-foot a:hover { color: #bcd4f5; }
.screen-foot-right { display: flex; align-items: center; gap: 8px; }
.dot-sep { color: #4d6386; }

/* ---------------- 四、场外排行（走廊电视） ---------------- */
.rank-page {
  min-height: 100vh; width: 100%; display: flex; flex-direction: column;
  background: radial-gradient(ellipse at 50% -10%, #12274d 0%, #0a1428 45%, #060b16 100%);
  color: #eaf1ff; padding: clamp(16px, 2.2vw, 34px) clamp(20px, 3vw, 52px) clamp(10px, 1.6vw, 22px);
  gap: clamp(10px, 1.4vw, 22px); font-variant-numeric: tabular-nums;
}
.rank-loading { margin: auto; font-size: clamp(14px, 1.5vw, 20px); color: #7f9ac4; }
.rank-error { margin: auto; text-align: center; }
.rank-error-title { font-size: clamp(20px, 2.6vw, 40px); font-weight: 700; color: #ffb4b4; }
.rank-error-text { font-size: clamp(13px, 1.2vw, 18px); color: #9fb3d1; margin-top: 12px; }

.rank-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.rank-title { font-size: clamp(20px, 2.6vw, 44px); font-weight: 800; letter-spacing: 1.5px; line-height: 1.2; }
.rank-sub { font-size: clamp(12px, 1.05vw, 17px); color: #8faad0; margin-top: 8px; letter-spacing: .8px; }
.rank-head-right { display: flex; align-items: center; gap: clamp(14px, 2vw, 38px); flex: 0 0 auto; }
.rank-stat { text-align: center; }
.rank-stat b { display: block; font-size: clamp(20px, 2.4vw, 42px); font-weight: 800; line-height: 1; color: #7ee0a8; }
.rank-stat span { font-size: clamp(10px, .9vw, 14px); color: #8faad0; letter-spacing: 2px; }
.rank-clock {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(15px, 1.7vw, 30px); color: #7f9ac4; letter-spacing: 2px;
}

.rank-list { flex: 1; display: flex; flex-direction: column; gap: clamp(5px, .7vw, 12px); min-height: 0; }
.rank-row {
  display: grid; grid-template-columns: clamp(72px, 8vw, 150px) 1fr clamp(110px, 12vw, 220px);
  align-items: center; gap: clamp(10px, 1.4vw, 24px);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px; padding: clamp(7px, .9vw, 16px) clamp(12px, 1.6vw, 28px);
  animation: fadein .4s ease both;
}
.rank-row-head {
  background: transparent; border: 0; padding-top: 0; padding-bottom: 2px;
  color: #6f86a8; font-size: clamp(11px, 1vw, 15px); font-weight: 600;
  letter-spacing: 2px; animation: none;
}
.rank-row-head .c-no .no { font-size: inherit; min-width: 0; color: inherit; font-weight: 600; }
.rank-row-head .c-score { font-size: inherit; font-weight: 600; white-space: nowrap; }
.rank-row.top3 { background: rgba(245, 158, 11, .14); border-color: rgba(245, 158, 11, .42); }
.rank-row .c-no { display: flex; align-items: center; gap: 8px; }
.rank-row .c-no .no {
  min-width: clamp(30px, 3.2vw, 58px); text-align: center;
  font-size: clamp(17px, 2.1vw, 38px); font-weight: 800; color: #8faad0;
}
.rank-row.top3 .c-no .no { color: #ffd166; }
.rank-row .c-name .n { font-size: clamp(14px, 1.55vw, 27px); font-weight: 700; line-height: 1.3; }
.rank-row .c-name .m { font-size: clamp(11px, .95vw, 16px); color: #8faad0; margin-top: 3px; }
.rank-row .c-score {
  text-align: right; font-size: clamp(22px, 2.9vw, 54px); font-weight: 800; color: #7ee0a8;
}
.rank-row .c-score.na { font-size: clamp(14px, 1.4vw, 24px); color: #6f86a8; font-weight: 600; }
.delta { font-size: clamp(10px, .9vw, 14px); font-weight: 700; }
.delta.up { color: #ff8f8f; }    /* 名次上升 —— 中文习惯用红色 */
.delta.down { color: #7ee0a8; }  /* 名次下降 */
.rank-empty { margin: auto; font-size: clamp(13px, 1.3vw, 22px); color: #7f9ac4; }

.rank-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: clamp(6px, .9vw, 14px); border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: clamp(11px, 1vw, 16px); color: #7f9ac4; letter-spacing: 1px;
}

/* ---------------- 五、现场控台（浅色后台） ---------------- */
.console-page { display: block; }
.console-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; background: #fff; border: 1px solid var(--xst-border);
  border-radius: var(--xst-radius); box-shadow: var(--xst-shadow);
  padding: 11px 16px; margin-bottom: 14px;
}
.console-bar-left, .console-bar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.console-label { font-size: 13px; font-weight: 600; color: var(--xst-text-sub); }
.console-empty { padding: 60px; text-align: center; color: var(--xst-text-faint); }

.console-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.console-main, .console-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.console-card {
  background: #fff; border: 1px solid var(--xst-border);
  border-radius: var(--xst-radius); box-shadow: var(--xst-shadow);
}
.console-card.current { border-top: 3px solid var(--xst-primary); }
.console-card-title {
  font-size: 13.5px; font-weight: 700; padding: 12px 16px;
  border-bottom: 1px solid var(--xst-border); display: flex; align-items: center; gap: 8px;
}
.console-card-title::before { content: ''; width: 3px; height: 13px; border-radius: 2px; background: var(--xst-primary); }

.console-cur-seq {
  padding: 14px 16px 0;
  font-size: 12.5px; color: var(--xst-primary); font-weight: 700;
}
.console-cur-name { padding: 2px 16px 0; font-size: 24px; font-weight: 700; letter-spacing: .5px; }
.console-cur-meta { padding: 6px 16px 0; font-size: 13px; color: var(--xst-text-sub); }
.console-cur-none { padding: 34px 16px 30px; text-align: center; color: var(--xst-text-faint); font-size: 13.5px; }
.console-cur-none .tip { font-size: 12px; margin-top: 7px; }

.console-progress { padding: 14px 16px 6px; }
.console-progress-num { font-size: 13.5px; color: var(--xst-text-sub); margin-bottom: 8px; }
.console-progress-num b { font-size: 20px; color: var(--xst-primary); font-variant-numeric: tabular-nums; }

.console-judges { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px 16px; }
.console-judge {
  min-width: 78px; flex: 1 1 78px; text-align: center;
  border: 1px solid var(--xst-border); border-radius: 9px; padding: 8px 6px;
  background: #f8fafc; transition: background .2s, border-color .2s;
}
.console-judge .jn { font-size: 11.5px; color: var(--xst-text-sub); }
.console-judge .js { font-size: 17px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.console-judge.on { background: #f0fdf4; border-color: #86efac; }
.console-judge.on .js { color: var(--xst-success); }
.console-judge.off { opacity: .62; }

.console-actions { display: flex; flex-wrap: wrap; gap: 9px; padding: 14px 16px 4px; }
.console-screens {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px 15px; border-top: 1px solid var(--xst-border); margin-top: 10px;
}
.console-screens-label { font-size: 12.5px; color: var(--xst-text-sub); }

.console-queue { max-height: 300px; overflow-y: auto; padding: 8px; }
.console-queue-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px;
  border-radius: 8px; cursor: pointer; transition: background .15s; font-size: 13.5px;
}
.console-queue-item:hover { background: #f1f5f9; }
.console-queue-item.rec { background: var(--xst-primary-soft); font-weight: 700; color: var(--xst-primary); }
.console-queue-item .seq { flex: 0 0 30px; font-size: 11.5px; color: var(--xst-text-faint); font-variant-numeric: tabular-nums; }
.console-queue-item .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-queue-none { padding: 22px; text-align: center; color: var(--xst-text-faint); font-size: 12.5px; }

.console-rank { max-height: 320px; overflow-y: auto; padding: 8px; }
.console-rank-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 11px;
  border-radius: 8px; font-size: 13.5px;
}
.console-rank-item:nth-child(odd) { background: #f8fafc; }
.console-rank-item .no {
  flex: 0 0 24px; text-align: center; font-weight: 700; color: var(--xst-text-faint);
  font-variant-numeric: tabular-nums;
}
.console-rank-item .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-rank-item .sc { font-weight: 700; color: var(--xst-primary); font-variant-numeric: tabular-nums; }

.console-picker { display: flex; flex-direction: column; gap: 8px; }
.console-picker-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px;
  border: 1px solid var(--xst-border); border-radius: 9px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.console-picker-item:hover { border-color: var(--xst-primary); background: var(--xst-primary-soft); }
.console-picker-item .seq {
  flex: 0 0 32px; text-align: center; font-weight: 700; color: var(--xst-primary);
  font-variant-numeric: tabular-nums;
}
.console-picker-item .info { flex: 1; min-width: 0; }
.console-picker-item .nm { font-size: 14px; font-weight: 600; }
.console-picker-item .mt { font-size: 12px; color: var(--xst-text-faint); margin-top: 3px; }

/* ---------------- 六、响应式与打印 ---------------- */
@media (max-width: 1180px) {
  .detail-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .console-grid { grid-template-columns: minmax(0, 1fr); }
  .qr-print-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .detail-cards { grid-template-columns: 1fr; }
  .judge-quick { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .judge-quick button { font-size: 13.5px; padding: 10px 0; }
  .judge-score-input input { font-size: 34px; }
  .qr-print-grid { grid-template-columns: 1fr; }
}

/* 二维码打印：只出二维码卡片 */
@media print {
  .qr-print-dialog .el-dialog__header,
  .qr-print-dialog .el-dialog__footer,
  .qr-print-dialog .el-dialog__headerbtn,
  .qr-print-dialog .qr-print-sub { display: none !important; }
  .qr-print-grid { gap: 8px; }
  .qr-print-item { border-color: #94a3b8; }
}
