/* 大屏页面：颁奖大屏（awards.html）和路演计时大屏（timer.html）。1920×1080 的舞台整体等比缩放到屏幕。
   深色底、粗黑体、只用圆方品牌橙一个强调色（纯色）、不用渐变。字要大：投到大屏幕上，后排也要看得清。 */
.stage-root { position: fixed; inset: 0; overflow: hidden; cursor: default; user-select: none; color: #FFFCF6; background: #14111C; }
.stage { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform-origin: center; }
.slide, .stage-center { position: absolute; inset: 0; }
.stage-center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; text-align: center; }
.muted-lg { font-size: 44px; color: rgba(255, 252, 246, .6); }
.stage-logos { position: absolute; left: 80px; top: 64px; display: flex; align-items: center; gap: 28px; }
.stage-logos img:first-child { height: 64px; }
.stage-logos i { width: 2px; height: 44px; background: rgba(255, 255, 255, .4); }
.stage-logos img:last-child { height: 42px; }
.stage-tag { position: absolute; right: 80px; top: 72px; font-size: 34px; font-weight: 700; letter-spacing: .12em; color: rgba(255, 252, 246, .7); }
.o { color: #FF5A1F; }

/* ---------- 封面 ---------- */
.aw-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; animation: aw-in .6s both; }
.aw-cover-edition { font-size: 54px; font-weight: 700; letter-spacing: .3em; color: #FF5A1F; }
.aw-cover-title { margin-top: 24px; font-size: 210px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.aw-cover-ceremony { margin-top: 36px; display: inline-flex; align-items: center; gap: 24px; padding: 20px 64px; border-radius: 999px; background: #FF5A1F; color: #fff; font-size: 72px; font-weight: 800; letter-spacing: .2em; }
.aw-cover-ceremony svg { width: 72px; height: 72px; }
.aw-cover-facts { margin-top: 44px; font-size: 44px; color: rgba(255, 252, 246, .72); }

/* ---------- 奖项标题页 ---------- */
.aw-intro { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; animation: aw-in .5s both; }
.aw-intro-title { font-size: 300px; font-weight: 800; line-height: 1.1; }
.aw-intro-title.first { color: #FF5A1F; }
.aw-intro-meta { margin-top: 20px; font-size: 64px; font-weight: 700; }
.aw-intro-prize { margin-top: 14px; font-size: 52px; color: rgba(255, 252, 246, .72); }
.aw-intro-note { margin-top: 20px; font-size: 34px; color: rgba(255, 252, 246, .5); }

/* ---------- 名单页 ---------- */
.aw-reveal { position: absolute; inset: 0; padding: 190px 80px 110px; display: flex; flex-direction: column; }
.aw-head { display: flex; align-items: baseline; gap: 32px; }
.aw-head h2 { margin: 0; font-size: 110px; font-weight: 800; line-height: 1.1; }
.aw-head h2.first { color: #FF5A1F; }
.aw-head span { font-size: 44px; color: rgba(255, 252, 246, .72); }
.aw-pools { flex: 1; min-height: 0; margin-top: 36px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 48px; }
.aw-pool { min-width: 0; display: flex; flex-direction: column; }
.aw-pool-title { margin: 0 0 18px; font-size: 44px; font-weight: 800; color: rgba(255, 252, 246, .72); }
.aw-cards { flex: 1; min-height: 0; display: grid; gap: 28px; align-content: center; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); }
.aw-card { position: relative; min-width: 0; padding: 40px 48px; border-radius: 36px; background: rgba(255, 255, 255, .07); border: 2px solid rgba(255, 255, 255, .22); display: flex; flex-direction: column; justify-content: center; animation: aw-pop .6s both; }
.aw-card.first { padding: 64px 80px; border: 4px solid #FF5A1F; background: rgba(255, 90, 31, .12); text-align: center; align-items: center; }
.aw-card-name { margin: 0; font-size: 60px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.aw-card.first .aw-card-name { font-size: 120px; }
.aw-card.second .aw-card-name { font-size: 76px; }
.aw-card-team { margin: 12px 0 0; font-size: 40px; font-weight: 600; color: rgba(255, 252, 246, .72); overflow-wrap: anywhere; }
.aw-card.first .aw-card-team { font-size: 60px; color: #FFFCF6; }
.aw-card-topic { margin: 8px 0 0; font-size: 30px; color: rgba(255, 252, 246, .5); }
.aw-card.first .aw-card-topic { font-size: 38px; }
.aw-card-summary { margin: 28px 0 0; font-size: 44px; line-height: 1.5; color: rgba(255, 252, 246, .8); }
.aw-score { margin-top: 16px; font-size: 40px; font-weight: 800; color: #FF5A1F; font-variant-numeric: tabular-nums; }
.aw-empty { font-size: 44px; color: rgba(255, 252, 246, .5); text-align: center; align-self: center; grid-column: 1 / -1; }

/* ---------- 汇总页 ---------- */
.aw-summary { position: absolute; inset: 0; padding: 180px 80px 100px; display: flex; flex-direction: column; }
.aw-summary-title { margin: 0; font-size: 96px; font-weight: 800; }
.aw-summary ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.aw-row { display: grid; grid-template-columns: 190px minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 16px 28px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .14); animation: aw-in .5s both; }
.aw-row.first { border-color: #FF5A1F; background: rgba(255, 90, 31, .12); }
.aw-tag { font-size: 36px; font-weight: 800; color: rgba(255, 252, 246, .72); white-space: nowrap; }
.aw-row.first .aw-tag { color: #FF5A1F; }
.aw-row-name { font-size: 44px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aw-row-team { font-size: 36px; color: rgba(255, 252, 246, .72); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aw-row-score { font-size: 36px; font-weight: 800; color: #FF5A1F; font-variant-numeric: tabular-nums; }
.aw-summary-foot { margin-top: auto; padding-top: 24px; font-size: 38px; color: rgba(255, 252, 246, .6); text-align: center; }

/* 一等奖揭晓时的彩纸：橙、黄、白、蓝（颜色在 awards.js 里） */
.aw-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aw-confetti span { position: absolute; top: -40px; opacity: 0; animation: aw-fall linear infinite; transform: rotate(var(--r)); }
@keyframes aw-fall { 0% { transform: translateY(-40px) rotate(var(--r)); opacity: 0; } 8% { opacity: .95; } 100% { transform: translateY(1160px) rotate(calc(var(--r) + 540deg)); opacity: .9; } }
@keyframes aw-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes aw-pop { from { opacity: 0; transform: translateY(30px) scale(.96); } }

/* ---------- 控制条（鼠标移到屏幕底部时出现） ---------- */
.stage-controls { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 20px 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; pointer-events: none; font: 14px/1.5 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
.stage-controls.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.stage-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(38, 33, 48, .96); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 14px 40px rgba(0, 0, 0, .4); }
.stage-bar button, .stage-bar a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: #FFFCF6; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; }
.stage-bar button:hover:not(:disabled), .stage-bar a:hover { background: rgba(255, 255, 255, .12); }
.stage-bar button:disabled { opacity: .35; cursor: default; }
.stage-bar svg { width: 18px; height: 18px; }
.stage-steps { display: flex; gap: 4px; }
.stage-steps button { width: 26px; padding: 0; justify-content: center; font-size: 12px; color: rgba(255, 252, 246, .6); }
.stage-steps button.is-active { background: #FF5A1F; color: #fff; }
.stage-sep { width: 1px; height: 20px; background: rgba(255, 255, 255, .2); }
.stage-sub { display: flex; gap: 14px; align-items: center; color: rgba(255, 252, 246, .6); font-size: 12px; }
.stage-warn { color: #FF8F86; font-weight: 700; }
.spin { animation: aw-spin .8s linear infinite; }
@keyframes aw-spin { to { transform: rotate(360deg); } }

/* ---------- 路演计时大屏 ---------- */
.tm { position: absolute; inset: 0; padding: 150px 80px 56px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tm > * { flex: none; }
.tm-no { font-size: 46px; font-weight: 800; color: #FF5A1F; letter-spacing: .08em; line-height: 1.2; }
.tm-title { margin: 6px 0 0; max-width: 1720px; font-size: 96px; font-weight: 800; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-title.long { font-size: 72px; }
.tm-team { margin: 4px 0 0; font-size: 50px; font-weight: 600; line-height: 1.3; color: rgba(255, 252, 246, .72); }
.tm-phase { margin-top: auto; display: inline-flex; align-items: center; padding: 6px 44px; border-radius: 999px; font-size: 50px; font-weight: 800; letter-spacing: .2em; text-indent: .2em; border: 3px solid rgba(255, 255, 255, .5); }
.tm-phase.talk { background: #FF5A1F; border-color: #FF5A1F; color: #fff; }
.tm-phase.over { background: #C23B35; border-color: #C23B35; color: #fff; }
.tm-clock { margin-top: 6px; font-family: "Avenir Next", "Helvetica Neue", "DIN Alternate", -apple-system, sans-serif; font-size: 400px; font-weight: 700; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tm-clock.warn { color: #FF5A1F; }
.tm-clock.over { color: #FF8F86; }
.tm-clock.paused { opacity: .6; }
.tm-foot { margin-top: 14px; font-size: 44px; line-height: 1.3; color: rgba(255, 252, 246, .6); }
.tm-foot b { color: #FFFCF6; font-weight: 700; }
.tm-idle { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.tm-idle h1 { margin: 20px 0 0; font-size: 200px; font-weight: 800; line-height: 1.1; }
.tm-idle p { margin: 0; font-size: 54px; font-weight: 700; letter-spacing: .3em; color: #FF5A1F; }
.tm-idle small { margin-top: 40px; font-size: 48px; color: rgba(255, 252, 246, .6); }

@media (prefers-reduced-motion: reduce) { .aw-confetti { display: none; } *, *::before, *::after { animation-duration: .01ms !important; } }

/* =====================================================================
   「阳光热血」主题（规范见 docs/style-rebuild.md）。大屏固定深色，不跟系统亮暗。
   这个文件里不用 CSS 渐变：放射光和网点都是内嵌的 SVG 图。
   封面、奖项标题页、计时空闲页铺橙色放射光；名单页、计时页是墨黑底；硬边框、硬阴影、直角；数字用等宽字。
   ===================================================================== */
.stage-root { color: #FFF8EC; background: #0B0B0F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='1.6' fill='%23FFF3DC' fill-opacity='.07'/%3E%3C/svg%3E"); }
.stage-root *, .stage-root *::before, .stage-root *::after { border-radius: 0 !important; }
.o { color: #FFD400; }
.stage-tag { padding: 6px 18px; font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 30px; color: #FFD400; background: #0B0B0F; border: 3px solid #FFF3DC; }
/* 放射光底 */
.aw-cover, .aw-intro, .tm-idle { isolation: isolate; overflow: hidden; }
.aw-cover::before, .aw-intro::before, .tm-idle::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 3200px; height: 3200px; margin: -1600px 0 0 -1600px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-100 -100 200 200'%3E%3Crect x='-100' y='-100' width='200' height='200' fill='%23FF5A1F'/%3E%3Cpath fill='%23FF7230' d='M0 0L150.0 0.0L148.7 19.6ZM0 0L144.9 38.8L138.6 57.4ZM0 0L129.9 75.0L119.0 91.3ZM0 0L106.1 106.1L91.3 119.0ZM0 0L75.0 129.9L57.4 138.6ZM0 0L38.8 144.9L19.6 148.7ZM0 0L0.0 150.0L-19.6 148.7ZM0 0L-38.8 144.9L-57.4 138.6ZM0 0L-75.0 129.9L-91.3 119.0ZM0 0L-106.1 106.1L-119.0 91.3ZM0 0L-129.9 75.0L-138.6 57.4ZM0 0L-144.9 38.8L-148.7 19.6ZM0 0L-150.0 0.0L-148.7 -19.6ZM0 0L-144.9 -38.8L-138.6 -57.4ZM0 0L-129.9 -75.0L-119.0 -91.3ZM0 0L-106.1 -106.1L-91.3 -119.0ZM0 0L-75.0 -129.9L-57.4 -138.6ZM0 0L-38.8 -144.9L-19.6 -148.7ZM0 0L-0.0 -150.0L19.6 -148.7ZM0 0L38.8 -144.9L57.4 -138.6ZM0 0L75.0 -129.9L91.3 -119.0ZM0 0L106.1 -106.1L119.0 -91.3ZM0 0L129.9 -75.0L138.6 -57.4ZM0 0L144.9 -38.8L148.7 -19.6Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; animation: aw-sun 160s linear infinite; }
@keyframes aw-sun { to { transform: rotate(360deg); } }
.aw-cover-edition, .tm-idle p { display: inline-block; padding: 10px 28px; font-size: 44px; letter-spacing: .2em; color: #FFD400; background: #0B0B0F; box-shadow: 8px 8px 0 rgba(11, 11, 15, .35); }
.aw-cover-title, .tm-idle h1 { font-weight: 900; color: #fff; -webkit-text-stroke: 4px #0B0B0F; paint-order: stroke fill; text-shadow: 14px 14px 0 #0B0B0F; }
.aw-cover-title .o, .tm-idle h1 .o { color: #FFD400; }
.aw-cover-ceremony { color: #0B0B0F; background: #FFD400; border: 6px solid #0B0B0F; box-shadow: 14px 14px 0 #0B0B0F; font-weight: 900; }
.aw-cover-facts, .tm-idle small { font-weight: 800; color: #0B0B0F; }
.aw-intro-title { font-weight: 900; color: #fff; -webkit-text-stroke: 5px #0B0B0F; paint-order: stroke fill; text-shadow: 18px 18px 0 #0B0B0F; }
.aw-intro-title.first { color: #FFD400; }
.aw-intro-meta { color: #0B0B0F; font-weight: 900; }
.aw-intro-prize, .aw-intro-note { color: rgba(11, 11, 15, .78); font-weight: 700; }
/* 名单页 */
.aw-head h2 { font-weight: 900; }
.aw-head h2.first { color: #FFD400; text-shadow: 8px 8px 0 #FF5A1F; }
.aw-pool-title { display: inline-block; align-self: flex-start; padding: 4px 16px; color: #0B0B0F; background: #FFF3DC; }
.aw-card { background: #16141C; border: 4px solid #FFF3DC; box-shadow: 12px 12px 0 #FF5A1F; animation-timing-function: steps(5); }
.aw-card.first { color: #0B0B0F; background: #FFD400; border: 6px solid #0B0B0F; box-shadow: 18px 18px 0 #FF5A1F, 18px 18px 0 6px #0B0B0F; }
.aw-card.first .aw-card-team { color: #0B0B0F; }
.aw-card.first .aw-card-topic, .aw-card.first .aw-card-summary { color: rgba(11, 11, 15, .75); }
.aw-score { font-family: "SF Mono", Menlo, Consolas, monospace; color: #FFD400; }
.aw-card.first .aw-score { color: #0B0B0F; }
/* 汇总页 */
.aw-summary-title { font-weight: 900; }
.aw-row { background: #16141C; border: 3px solid rgba(255, 243, 220, .3); }
.aw-row.first { color: #0B0B0F; background: #FFD400; border-color: #0B0B0F; box-shadow: 8px 8px 0 #FF5A1F; }
.aw-row.first .aw-tag, .aw-row.first .aw-row-team, .aw-row.first .aw-row-score { color: #0B0B0F; }
.aw-row-score { font-family: "SF Mono", Menlo, Consolas, monospace; color: #FFD400; }
/* 路演计时 */
.tm-no { display: inline-block; align-self: center; padding: 4px 22px; font-family: "SF Mono", Menlo, Consolas, monospace; color: #0B0B0F; background: #FFD400; }
.tm-title { font-weight: 900; }
.tm-phase { border: 5px solid #FFF3DC; font-weight: 900; }
.tm-phase.talk { color: #fff; background: #FF5A1F; border-color: #0B0B0F; box-shadow: 10px 10px 0 #FFD400; }
.tm-phase.over { color: #fff; background: #C23B35; border-color: #0B0B0F; box-shadow: 10px 10px 0 #FFF3DC; }
.tm-clock { font-family: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace; font-weight: 800; font-size: 360px; letter-spacing: -.02em; color: #FFF3DC; text-shadow: 16px 16px 0 #FF5A1F; }
.tm-clock.warn { color: #FFD400; }
.tm-clock.over { color: #FF8F86; text-shadow: 16px 16px 0 #C23B35; }
.tm-foot b { color: #FFD400; }
/* 控制条 */
.stage-bar { background: #0B0B0F; border: 2px solid #FFF3DC; box-shadow: 6px 6px 0 #FF5A1F; }
.stage-bar button:hover:not(:disabled), .stage-bar a:hover { color: #0B0B0F; background: #FFF3DC; }
.stage-steps button.is-active { color: #0B0B0F; background: #FFD400; }
@media (prefers-reduced-motion: reduce) { .aw-cover::before, .aw-intro::before, .tm-idle::before { animation: none; } }
.stage-logos, .stage-tag { z-index: 2; }
