:root { color-scheme: light; font-family: system-ui, sans-serif; color: #182123; background: #f5f6f4; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #175a50; text-underline-offset: 3px; }
button, input { font: inherit; }
button, .button { display: inline-block; border: 1px solid #175a50; border-radius: 6px; padding: .7em 1em; background: #175a50; color: white; text-decoration: none; cursor: pointer; }
button.secondary { background: white; color: #175a50; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #bc6c16; outline-offset: 4px; }
input:not([type="checkbox"]) { display: block; width: 100%; margin-top: .5rem; padding: .7rem; border: 1px solid #7c8987; border-radius: 4px; }
.panel { max-width: 1150px; margin: auto; padding: 40px 24px; }
.heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 30px; }
h1 { margin: .25em 0; font-size: clamp(28px, 3vw, 48px); line-height: 1.15; }
h2 { overflow-wrap: anywhere; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 650; color: #526460; }
.muted { color: #526460; }
.teams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; background: white; padding: 24px; border: 1px solid #d7ded9; border-radius: 8px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: white; margin-top: 24px; }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid #d7ded9; }
thead { color: #526460; }
.state { font-size: 14px; }
.state.open { color: #175a50; font-weight: bold; }
.notice, .errorlist { padding: 16px; background: #fff1d3; border: 1px solid #dbb46d; border-radius: 6px; }
.login { max-width: 380px; margin: 8vh auto; }
.confirmation { max-width: 660px; margin: 8vh auto; }
.confirmation p { line-height: 1.6; }
.checkbox { display: flex; align-items: baseline; gap: 12px; margin: 24px 0; }
.projection { padding: 3vw; }
.screen-back { font-size: 14px; }
.answers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2vw; }
.answer-card { padding: 2vw; background: white; border: 1px solid #d7ded9; border-radius: 8px; }
.team-name { color: #526460; font-weight: 650; margin: 0; }
.answer-card h2 { font-size: clamp(22px, 2.2vw, 38px); margin: .6em 0; }
.answer-text { font-size: clamp(18px, 1.6vw, 30px); line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 700px) { .answers, .teams { grid-template-columns: 1fr; } .answer-card { padding: 24px; } .projection { padding: 24px; } .heading { align-items: flex-start; } }

/* Fixed-ratio event canvas; client artwork is loaded as event data. */
[hidden] { display: none !important; }
button:disabled { opacity: .45; cursor: default; }
.stage-viewport { position: relative; height: calc(100dvh - 94px); min-height: 200px; overflow: hidden; background: #172320; }
.stage { position: absolute; left: 50%; top: 50%; width: 1600px; height: 900px; background: #f5f6f4; transform: translate(-50%, -50%) scale(var(--stage-scale, .6)); transform-origin: center; }
.slide-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.text-slide { height: 100%; padding: 100px; display: flex; flex-direction: column; justify-content: center; }
.text-slide .eyebrow { font-size: 20px; }
.text-slide h1 { font-size: 72px; max-width: 1300px; margin: 22px 0; }
.text-slide > p:last-child { font-size: 38px; line-height: 1.5; max-width: 1300px; }
.stage.answers { display: flex; flex-direction: column; gap: 32px; padding: 46px; }
.answer-context { display: flex; gap: 32px; height: 190px; flex: 0 0 190px; align-items: center; }
.answer-context img { width: 340px; height: 190px; object-fit: contain; }
.answer-context h1 { font-size: 42px; }
.answer-context p { font-size: 24px; line-height: 1.35; }
.answer-context .eyebrow { font-size: 16px; }
.stage-answers { display: flex; gap: 24px; flex: 1; min-height: 0; }
.stage-answer { flex: 1; min-width: 0; min-height: 0; padding: 28px; border: 1px solid #d7ded9; border-radius: 8px; background: white; overflow: auto; }
.stage-answer .team-name { font-size: 23px; }
.stage-answer h2 { font-size: 28px; line-height: 1.2; margin: 16px 0; }
.stage-answer-text { font-size: 26px; line-height: 1.35; overflow-wrap: anywhere; margin: 0; white-space: normal; }
.player-controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; padding: 14px 10px; background: #f5f6f4; }
.player-controls button, .player-controls a, .player-controls span { font-size: 14px; }
.player-controls .reply-count { color: #175a50; }
.presenter .notice { position: fixed; left: 20px; right: 20px; bottom: 70px; z-index: 2; }
dialog { max-width: 620px; padding: 30px; border: 1px solid #526460; border-radius: 10px; line-height: 1.5; box-shadow: 0 15px 70px #0004; }
dialog::backdrop { background: #172320b3; }
:fullscreen .stage-viewport { height: 100dvh; }
:fullscreen .player-controls { position: fixed; inset: auto 0 0; opacity: 0; transition: opacity .15s; z-index: 1; }
:fullscreen .player-controls:hover, :fullscreen .player-controls:focus-within { opacity: 1; }
@media (prefers-reduced-motion: reduce) { :fullscreen .player-controls { transition: none; } }
