/* AI Partner Day — Judge Scoring · shared design system
   Tokens + components reused across judge, admin, and projector pages.
   Palette: violet #6C4BF4 · magenta #E86FE0 · orange #FF7A45 · ink #0B0A1F */

:root {
  --violet: #6C4BF4;
  --violet-dark: #5a3ad4;
  --violet-soft: #f0ecff;
  --magenta: #E86FE0;
  --orange: #FF7A45;
  --ink: #0B0A1F;
  --muted: #888;
  --faint: #aaa;
  --line: #eee;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.06);
  --grad: linear-gradient(135deg, #6C4BF4, #E86FE0);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #f5f0ff 0%, #ffffff 40%, #ffffff 100%);
  color: var(--ink);
  min-height: 100vh;
  padding: 24px 16px;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 880px; margin: 0 auto; }
.container.wide { max-width: 1080px; }
.hidden { display: none !important; }

/* Header */
.header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 12px; flex-wrap: wrap; }
.header-left { display: flex; align-items: center; gap: 10px; }
.logo { width: 32px; height: 32px; background: var(--orange); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo svg { width: 18px; height: 18px; fill: white; }
.header-brand { font-size: 13px; font-weight: 600; color: var(--ink); }
.header-right { display: flex; align-items: center; gap: 8px; }
.who-badge { font-size: 11px; color: #666; background: #f0f0f0; padding: 6px 14px; border-radius: 20px; font-weight: 600; }

/* SSE status dot */
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; display: inline-block; flex-shrink: 0; transition: background 0.3s; }
.status-dot.live { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.18); }
.status-dot.wait { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,0.18); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #999; background: #f7f7f7; padding: 6px 12px; border-radius: 20px; font-weight: 600; }

/* Title */
.title-block { text-align: center; margin-bottom: 28px; }
.title-block .org { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #999; margin-bottom: 4px; }
.title-block .series { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 600; color: var(--violet); margin-bottom: 2px; }
.title-block .event { font-family: 'Sora', sans-serif; font-size: 36px; font-weight: 800; color: var(--violet); letter-spacing: -1px; line-height: 1.1; }
.title-block .subtitle { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Cards */
.card { background: white; border-radius: 18px; padding: 24px; box-shadow: var(--card-shadow); margin-bottom: 20px; }
.card h3 { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.card .card-sub { font-size: 12px; color: var(--faint); margin: -8px 0 16px; line-height: 1.5; }

/* Forms */
.field-row { display: flex; gap: 10px; flex-wrap: wrap; }
input[type="text"], input[type="password"], input[type="number"], select, textarea {
  font-family: 'Inter', sans-serif;
  background: #f7f7f7;
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--ink);
  font-size: 16px; /* ≥16px prevents iOS zoom */
  transition: border-color 0.2s;
}
select { cursor: pointer; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); background: #fff; }
input::placeholder { color: #bbb; }
.grow { flex: 1; min-width: 140px; }
label.small { font-size: 11px; font-weight: 600; color: #999; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 6px; }

/* Buttons */
.btn-primary { font-family: 'Inter', sans-serif; background: var(--violet); border: none; border-radius: 12px; padding: 12px 28px; color: white; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-primary:hover { background: var(--violet-dark); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-sm { padding: 9px 18px; font-size: 12px; border-radius: 10px; }
.btn-outline { font-family: 'Inter', sans-serif; background: transparent; border: 1.5px solid #e0e0e0; border-radius: 10px; padding: 9px 18px; color: #666; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-outline:hover { border-color: var(--violet); color: var(--violet); }
.btn-danger { font-family: 'Inter', sans-serif; background: #fff1f0; border: 1.5px solid #ffccc7; border-radius: 10px; padding: 9px 18px; color: #cf1322; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-danger:hover { background: #cf1322; color: white; border-color: #cf1322; }
.btn-ghost { font-family: 'Inter', sans-serif; background: #f5f5f5; border: none; border-radius: 10px; padding: 9px 16px; color: #666; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-ghost:hover { background: #ececec; color: var(--ink); }
.btn-icon { background: transparent; border: none; color: #ccc; cursor: pointer; font-size: 16px; padding: 6px 10px; border-radius: 8px; transition: all 0.15s; line-height: 1; }
.btn-icon:hover { background: #fff1f0; color: #cf1322; }

/* Tabs */
.tabs { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
.tab { padding: 10px 22px; border-radius: 12px; font-size: 13px; font-weight: 600; cursor: pointer; background: #f5f5f5; color: #999; transition: all 0.2s; border: none; font-family: 'Inter', sans-serif; }
.tab.active { background: var(--violet); color: white; }
.tab:hover:not(.active) { background: #eee; color: #666; }

/* Team grid + cards */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 24px; }
.team-card { background: white; border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; cursor: pointer; transition: all 0.2s; position: relative; }
.team-card:hover { border-color: #d4c8f7; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(108,75,244,0.08); }
.team-card.selected { border-color: var(--violet); box-shadow: 0 4px 20px rgba(108,75,244,0.12); }
.team-card.scored { border-color: var(--magenta); }
.team-card .team-num { font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 800; color: #e8e0ff; margin-bottom: 2px; }
.team-card.selected .team-num { color: var(--violet); }
.team-card .team-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.team-card .team-meta { font-size: 11px; color: var(--faint); margin-top: 2px; }
.score-badge { display: inline-block; background: var(--grad); color: white; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; margin-top: 8px; }

/* Scoring panel */
.scoring-card { background: white; border-radius: 18px; padding: 28px; box-shadow: var(--card-shadow); margin-bottom: 24px; }
.scoring-card h3 { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.scoring-card .sc-desc { font-size: 13px; color: #999; margin-bottom: 24px; }
.dimension { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid #f0f0f0; }
.dimension:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.dim-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; gap: 10px; }
.dim-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.dim-weight { font-size: 11px; font-weight: 700; color: var(--violet); background: var(--violet-soft); padding: 3px 10px; border-radius: 8px; white-space: nowrap; }
.dim-desc { font-size: 12px; color: var(--faint); margin-bottom: 12px; line-height: 1.4; }
.score-row { display: flex; gap: 10px; flex-wrap: wrap; }
.score-btn { width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid #e8e8e8; background: #fafafa; color: #999; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.15s; display: flex; align-items: center; justify-content: center; font-family: 'Inter', sans-serif; }
.score-btn:hover { border-color: var(--violet); background: #f7f4ff; color: var(--violet); }
.score-btn.active { background: var(--violet); border-color: var(--violet); color: white; box-shadow: 0 2px 8px rgba(108,75,244,0.3); }
.score-btn.s1.active { background: #ef4444; border-color: #ef4444; box-shadow: 0 2px 8px rgba(239,68,68,0.3); }
.score-btn.s2.active { background: #FF7A45; border-color: #FF7A45; box-shadow: 0 2px 8px rgba(255,122,69,0.3); }
.score-btn.s3.active { background: #f59e0b; border-color: #f59e0b; box-shadow: 0 2px 8px rgba(245,158,11,0.3); }
.score-btn.s4.active { background: #E86FE0; border-color: #E86FE0; box-shadow: 0 2px 8px rgba(232,111,224,0.3); }
.score-btn.s5.active { background: #6C4BF4; border-color: #6C4BF4; box-shadow: 0 2px 8px rgba(108,75,244,0.3); }
.dim-total-line { font-size: 11px; color: #bbb; margin-top: 8px; text-align: right; font-family: 'Inter', monospace; }

/* Total bar */
.total-bar { background: var(--grad); border-radius: 16px; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.total-label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); }
.total-score { font-family: 'Sora', sans-serif; font-size: 36px; font-weight: 800; color: white; }
.total-max { font-size: 14px; color: rgba(255,255,255,0.6); font-weight: 600; }
.action-row { display: flex; gap: 10px; margin-top: 16px; justify-content: flex-end; flex-wrap: wrap; }

/* Leaderboard */
.lb-card { background: white; border-radius: 18px; overflow: hidden; box-shadow: var(--card-shadow); margin-bottom: 24px; }
.lb-header { padding: 18px 24px; background: var(--grad); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.lb-header h3 { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 700; color: white; }
.lb-table { width: 100%; border-collapse: collapse; }
.lb-table th { text-align: left; padding: 12px 24px; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: #bbb; font-weight: 600; border-bottom: 1px solid #f0f0f0; }
.lb-table td { padding: 14px 24px; font-size: 13px; border-bottom: 1px solid #f7f7f7; color: var(--ink); vertical-align: middle; }
.lb-table tr:hover td { background: #faf8ff; }
.lb-rank { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 16px; color: #ddd; width: 44px; }
.lb-rank.r1 { color: var(--violet); }
.lb-rank.r2 { color: var(--magenta); }
.lb-rank.r3 { color: var(--orange); }
.lb-name { font-weight: 600; }
.lb-sub { font-size: 11px; color: var(--faint); margin-top: 2px; }
.lb-score-cell { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; color: var(--violet); white-space: nowrap; }
.lb-max { font-size: 11px; color: #ccc; font-weight: 600; }
.tag { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 8px; letter-spacing: 0.3px; }
.tag.provisional { background: #fff3cd; color: #856404; }
.tag.awaiting { background: #f1f5f9; color: #64748b; }
.tag.complete { background: #dcfce7; color: #166534; }

/* Podium — top 3 highlight */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.podium-card { position: relative; border-radius: 18px; padding: 22px 20px; background: white; box-shadow: var(--card-shadow); border: 1.5px solid var(--line); }
.podium-card .medal { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 19px; color: white; margin-bottom: 12px; box-shadow: 0 3px 10px rgba(0,0,0,0.16); }
.podium-card .p-rank { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; color: var(--faint); }
.podium-card .p-name { font-family: 'Sora', sans-serif; font-size: 21px; font-weight: 800; color: var(--ink); line-height: 1.2; margin-top: 2px; }
.podium-card .p-team { font-size: 12px; color: var(--faint); margin-top: 2px; }
.podium-card .p-score { font-family: 'Sora', sans-serif; font-size: 36px; font-weight: 800; margin-top: 12px; line-height: 1; }
.podium-card .p-score .lb-max { font-size: 14px; }
.podium-card .p-judges { font-size: 11px; color: var(--faint); margin-top: 8px; }
.podium-card.gold { border-color: #ffe08a; background: linear-gradient(180deg,#fffdf4,#fff 70%); }
.podium-card.gold .medal { background: linear-gradient(135deg,#f7c948,#dfa62a); }
.podium-card.gold .p-score { color: #b8860b; }
.podium-card.silver { border-color: #e4e4ec; background: linear-gradient(180deg,#fbfbfe,#fff 70%); }
.podium-card.silver .medal { background: linear-gradient(135deg,#c6c6d2,#9b9bab); }
.podium-card.silver .p-score { color: #6c6c7c; }
.podium-card.bronze { border-color: #f1d6b8; background: linear-gradient(180deg,#fffaf4,#fff 70%); }
.podium-card.bronze .medal { background: linear-gradient(135deg,#d99f63,#bb7740); }
.podium-card.bronze .p-score { color: #a7622b; }

/* Leaderboard top-3 row highlight */
.lb-table tr.podium-row td { background: #fffdf4; }
.lb-table tr.podium-row.silver td { background: #fbfbfe; }
.lb-table tr.podium-row.bronze td { background: #fffaf4; }
.rank-medal { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: white; font-size: 14px; font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,0.16); }
.rank-medal.gold { background: linear-gradient(135deg,#f7c948,#dfa62a); }
.rank-medal.silver { background: linear-gradient(135deg,#c6c6d2,#9b9bab); }
.rank-medal.bronze { background: linear-gradient(135deg,#d99f63,#bb7740); }

/* How scoring works — explainer */
.how-card { background: white; border-radius: 18px; padding: 24px; box-shadow: var(--card-shadow); margin-bottom: 24px; }
.how-card h3 { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.how-card .how-sub { font-size: 12px; color: var(--faint); margin-bottom: 18px; line-height: 1.5; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.how-col h4 { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--violet); font-weight: 700; margin-bottom: 10px; }
.how-dim { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; padding: 7px 0; border-bottom: 1px solid #f5f5f5; }
.how-dim:last-of-type { border-bottom: none; }
.how-dim .w { font-weight: 600; color: var(--ink); }
.how-dim .w b { color: #c4c4c4; font-weight: 700; }
.how-dim .pts { font-family: 'Sora', sans-serif; font-size: 12px; color: var(--violet); font-weight: 700; white-space: nowrap; }
.how-sum { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding-top: 9px; margin-top: 2px; border-top: 1.5px solid #f0f0f0; font-weight: 700; }
.how-formula { background: #faf8ff; border: 1.5px solid var(--violet-soft); border-radius: 12px; padding: 14px 16px; font-size: 13px; line-height: 1.75; color: #4c34b8; }
.how-formula b { color: var(--violet); }

/* Recognition */
.rec-card { background: white; border-radius: 18px; padding: 24px; box-shadow: var(--card-shadow); margin-bottom: 24px; }
.rec-card h3 { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.rec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.rec-item { background: #faf8ff; border: 1.5px solid var(--violet-soft); border-radius: 14px; padding: 18px; transition: all 0.2s; }
.rec-item:hover { border-color: #d4c8f7; }
.rec-item.champion { background: var(--grad); border-color: transparent; }
.rec-item.champion .rec-label { color: rgba(255,255,255,0.85); }
.rec-item.champion .rec-winner { color: white; }
.rec-item.champion .rec-detail { color: rgba(255,255,255,0.8); }
.rec-label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--violet); font-weight: 700; margin-bottom: 6px; }
.rec-winner { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); }
.rec-detail { font-size: 11px; color: var(--faint); margin-top: 4px; }
.rec-tied { font-size: 10px; color: var(--orange); font-weight: 700; margin-top: 4px; }
.rec-item.nominated { background: #fffaf3; border-color: #ffe3bd; }
.rec-item.nominated .rec-label { color: var(--orange); }

/* Subjective award nominations (judge) */
.award-block { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid #f0f0f0; }
.award-block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.award-name { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink); }
.award-desc { font-size: 12px; color: #999; margin: 3px 0 12px; }
.nom-row { display: flex; flex-wrap: wrap; gap: 8px; }
.nom-chip { padding: 9px 14px; border-radius: 12px; border: 1.5px solid #e8e8e8; background: #fafafa; color: #777; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.15s; font-family: 'Inter', sans-serif; }
.nom-chip:hover { border-color: #f0c48a; }
.nom-chip.active { background: var(--orange); border-color: var(--orange); color: white; box-shadow: 0 2px 8px rgba(255,122,69,0.3); }

.empty-state { text-align: center; padding: 40px; color: #ccc; font-size: 14px; }

/* Admin editor */
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.editor-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #f5f5f5; }
.editor-row:last-child { border-bottom: none; }
.editor-row input[type="text"] { flex: 1; padding: 9px 12px; font-size: 14px; min-width: 0; }
.editor-row select { padding: 9px 10px; font-size: 13px; }
.editor-num { font-family: 'Sora', sans-serif; font-weight: 800; color: #e0d8fb; width: 26px; text-align: center; flex-shrink: 0; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 10px; background: var(--violet-soft); color: var(--violet); white-space: nowrap; }
.chip.done { background: #dcfce7; color: #166534; }
.chip.idle { background: #f1f5f9; color: #94a3b8; }
.add-row { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }

/* Assignment matrix */
.matrix { width: 100%; border-collapse: collapse; }
.matrix th, .matrix td { padding: 12px 14px; text-align: center; border-bottom: 1px solid #f2f2f2; font-size: 13px; }
.matrix th { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #999; font-weight: 700; }
.matrix td.rowlabel { text-align: left; font-weight: 600; }
.matrix input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--violet); cursor: pointer; }

/* Toggle switch */
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.toggle-label { font-size: 14px; font-weight: 600; }
.toggle-hint { font-size: 12px; color: var(--faint); margin-top: 2px; }
.switch { position: relative; width: 48px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; inset: 0; background: #ddd; border-radius: 28px; transition: 0.2s; }
.slider:before { content: ""; position: absolute; height: 22px; width: 22px; left: 3px; top: 3px; background: white; border-radius: 50%; transition: 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.switch input:checked + .slider { background: var(--violet); }
.switch input:checked + .slider:before { transform: translateX(20px); }

/* Danger zone */
.danger-zone { border: 1.5px solid #ffccc7; background: #fffafa; }
.danger-zone h3 { color: #cf1322; }

/* Notice / banner */
.notice { background: var(--violet-soft); border: 1.5px solid #ddd2fb; color: #4c34b8; border-radius: 12px; padding: 12px 16px; font-size: 13px; margin-bottom: 16px; line-height: 1.5; }
.notice.warn { background: #fff8e6; border-color: #ffe08a; color: #8a6d00; }
.notice.error { background: #fff1f0; border-color: #ffccc7; color: #cf1322; }

/* Section heading inside pages */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.section-head h2 { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; }
.section-head .hint { font-size: 12px; color: var(--faint); }

/* Holding screen (projector) */
.holding { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 70vh; text-align: center; gap: 16px; }
.holding .big { font-family: 'Sora', sans-serif; font-size: 42px; font-weight: 800; color: var(--violet); letter-spacing: -1px; }
.holding .sub { font-size: 18px; color: #999; }
.spinner { width: 40px; height: 40px; border: 4px solid var(--violet-soft); border-top-color: var(--violet); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Projector (large-screen results) */
body.projector { padding: 32px 40px; background: linear-gradient(180deg, #f5f0ff 0%, #ffffff 30%, #ffffff 100%); }
.proj-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 8px; flex-wrap: wrap; }
.proj-title { font-family: 'Sora', sans-serif; font-size: 30px; font-weight: 800; color: var(--violet); letter-spacing: -0.5px; }
.proj-asof { font-size: 13px; color: #aaa; }
.proj-lb { font-size: 16px; }
.proj-lb td { padding: 18px 24px; }
.proj-lb .lb-name { font-size: 20px; }
.proj-lb .lb-score-cell { font-size: 26px; }
.proj-lb .lb-rank { font-size: 24px; width: 56px; }
.proj-rec .rec-winner { font-size: 22px; }
.proj-rec .rec-label { font-size: 12px; }
.proj-rec .rec-item { padding: 24px; }

/* Footer note */
.foot { text-align: center; font-size: 11px; color: #ccc; margin-top: 28px; line-height: 1.6; }
.foot a { color: #bbb; }

/* Responsive */
@media (max-width: 600px) {
  body { padding: 16px 12px; }
  .title-block .event { font-size: 28px; }
  .field-row { flex-direction: column; }
  .score-btn { width: 44px; height: 44px; font-size: 15px; }
  .total-score { font-size: 28px; }
  .admin-cols { grid-template-columns: 1fr; }
  .scoring-card { padding: 20px; }
  .lb-table th, .lb-table td { padding: 12px 14px; }
  .proj-lb .lb-score-cell { font-size: 20px; }
  .proj-title { font-size: 24px; }
  .podium { grid-template-columns: 1fr; }
  .podium-card .p-score { font-size: 30px; }
  .how-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* Print — awards sheet */
@media print {
  body { background: white; padding: 0; }
  .tabs, .btn-primary, .btn-outline, .btn-ghost, .btn-danger, .no-print, .status-pill, .header-right { display: none !important; }
  .card, .lb-card, .rec-card, .podium-card, .how-card { box-shadow: none; border: 1px solid #eee; break-inside: avoid; }
  .lb-header { background: #6C4BF4 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rank-medal, .podium-card .medal, .podium-card.gold, .podium-card.silver, .podium-card.bronze { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
