@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("./source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("./source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #232529;
  --muted: #53565a;
  --paper: #f3f4f5;
  --white: #fff;
  --line: #dcdfe1;
  --yellow: #ffb81c;
  --yellow-light: #fff5db;
  --teal: #007881;
  --teal-ink: #005c64;
  --teal-soft: #e7f2f3;
  --deep: #292c2f;
  --radius: 17px;
  font-family: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
h1, h2, p, ol { margin: 0; }
h1, h2 { letter-spacing: -.035em; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:not(:disabled), select { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
[hidden] { display: none !important; }
svg { flex-shrink: 0; vertical-align: middle; }
.initial-loading { padding: 4rem 1.5rem; text-align: center; font-size: 1.1rem; }

.masthead { background: var(--white); border-bottom: 1px solid var(--line); }
.masthead-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: 1320px; min-height: 74px; margin: 0 auto; padding: 0 30px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-logo { display: block; flex-shrink: 0; object-fit: contain; }
.brand-title strong, .brand-title span { display: block; line-height: 1.08; }
.brand strong { font-size: 1.05rem; letter-spacing: -.01em; }
.brand-title span { margin-top: 4px; color: var(--muted); font-size: .83rem; }
.tabs {
  display: flex; align-items: center; gap: 4px; padding: 4px;
  border: 1px solid #dfe2e4; border-radius: 11px; background: #f4f5f6;
}
.tabs a {
  display: flex; align-items: center; gap: 7px; padding: 8px 13px;
  border-radius: 8px; color: #51565b; font-size: .88rem; font-weight: 650; text-decoration: none;
}
.tabs a:hover { color: var(--ink); background: #e7e9eb; }
.tabs a[aria-current] { background: var(--white); color: var(--ink); box-shadow: 0 1px 4px #20252a15; }
.masthead-right { display: flex; align-items: center; gap: 15px; }
.phase {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px;
  border: 1px solid #dcdfe1; border-radius: 100px; background: #f2f3f4;
  color: #474b50; white-space: nowrap; font-size: .79rem; font-weight: 650;
}
.phase i { width: 7px; height: 7px; border-radius: 50%; background: #6c7378; }
.phase-open { color: var(--teal-ink); background: var(--teal-soft); border-color: #bddcde; }
.phase-open i { background: var(--teal); }
.phase-closed i { background: #686d72; }
.phase-revealed { color: #604000; background: #fff1cf; border-color: #ffdfa0; }
.phase-revealed i { background: #b47900; }

.workspace { max-width: 1320px; margin: 0 auto; padding: 28px 30px 48px; }
.regie-hero {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 182px; padding: 32px 38px; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(ellipse at 86% -10%, #43484c, transparent 61%), var(--deep);
  color: var(--white);
}
.regie-hero::after {
  position: absolute; top: -100px; right: 35px; width: 305px; height: 340px;
  content: ""; pointer-events: none; opacity: .32; transform: skewX(-31deg);
  background: repeating-linear-gradient(90deg, transparent 0 53px, #acb3ba45 54px 55px);
}
.regie-hero > div { position: relative; z-index: 1; }
h1 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 760; line-height: 1.04; }
.regie-hero p { max-width: 56ch; margin-top: 12px; font-size: 1.03rem; line-height: 1.5; color: #e3e5e7; }
.hero-actions, .program-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-actions { flex-shrink: 0; justify-content: flex-end; }
.button {
  min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 15px; border: 1px solid transparent; border-radius: 9px; text-align: center;
  font-weight: 720; font-size: .92rem; line-height: 1.25; text-decoration: none;
}
.primary { background: var(--yellow); color: var(--ink); }
.primary:not(:disabled):hover { background: #ffcb54; }
.primary:disabled { color: #61676b; background: #e7e9eb; border-color: var(--line); }
.regie-hero .primary:disabled { color: #e3e5e7; background: #3b4145; border-color: #60666b; }
.secondary { background: var(--white); border-color: #cdd1d4; }
.secondary:not(:disabled):hover, .icon-button:hover { background: #edf2f3; border-color: #9dbec0; }
.on-dark { border-color: #ffffff53; background: #ffffff10; color: var(--white); }
.on-dark:not(:disabled):hover { background: #ffffff25; }
.quiet { background: transparent; color: var(--muted); font-size: .85rem; }
.quiet:hover { background: #e9ebed; color: #693428; }
.regie-hero :focus-visible, [data-view="live"] :focus-visible { outline-color: #ffdc80; }

.regie-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; gap: 22px; margin-top: 22px; }
.regie-side { display: grid; gap: 17px; }
.regie-side > .quiet { justify-self: start; }
.presentation-control-body { padding: 0 22px 20px; }
.presentation-control-name { margin-bottom: 12px; overflow-wrap: anywhere; }
.presentation-control-name > strong { font-size: 1.14rem; }
.presentation-nav, .timer-actions, .timer-duration {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.timer-control { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.timer-actions, .timer-duration { margin-top: 11px; }
.timer-duration { align-items: flex-end; }
.timer-duration input {
  max-width: 7rem; min-height: 42px; padding: 7px 10px;
  border: 1px solid var(--line); border-radius: 7px;
  background: var(--white); color: var(--ink);
}
.timer-duration input:disabled { background: var(--paper); color: var(--muted); }
.presentation-clock {
  display: grid; align-content: center; gap: 2px; min-width: 7ch;
  padding: 9px 15px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--paper); text-align: center;
}
.clock-value {
  font-size: clamp(2rem, 3.1vw, 3rem); line-height: 1;
  font-weight: 780; letter-spacing: -.045em; font-variant-numeric: tabular-nums;
}
.clock-state { font-size: .85rem; font-weight: 670; color: var(--muted); }
.presentation-clock[data-status="running"] { border-color: #bddcde; background: var(--teal-soft); }
.presentation-clock[data-status="running"] .clock-state { color: var(--teal-ink); }
.presentation-clock[data-last-minute="true"] { border-color: #ecb849; background: var(--yellow-light); }
.presentation-clock[data-status="expired"] { border-color: #e0b0ab; background: #f9ebe9; }
.presentation-clock[data-status="expired"] .clock-state { color: #903d34; }
.panel {
  min-width: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 2px 8px #20252a08;
}
.entry-panel {
  width: min(540px, calc(100% - 28px)); margin: clamp(24px, 6vw, 70px) auto;
  padding: clamp(20px, 5vw, 34px); color: var(--ink);
}
.entry-panel h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); }
.entry-panel p { margin-top: 9px; color: var(--muted); }
.entry-panel .button { margin-top: 19px; }
.panel-heading {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 20px 22px 15px;
}
.panel-heading h2 { font-size: 1.36rem; line-height: 1.13; font-weight: 730; }
.panel-heading p { margin-top: 4px; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.program.is-editing .panel-heading {
  position: sticky; top: 0; z-index: 2; flex-wrap: wrap;
  background: var(--white); border-radius: var(--radius) var(--radius) 0 0; border-bottom: 1px solid var(--line);
}
.program-list, .personal-list, .regie-ranking ol { list-style: none; padding: 0; }
.program-list { padding: 0 13px 13px; }
.program-row {
  display: flex; align-items: center; gap: 11px; min-height: 43px; padding: 4px 9px;
  border-top: 1px solid #eceef0; border-radius: 0;
}
.program-row:first-child { border-top-color: transparent; }
.program-row.is-current { background: var(--teal-soft); border-top-color: transparent; border-radius: 9px; }
.program-row.is-current + .program-row { border-top-color: transparent; }
.program-number {
  display: inline-flex; flex: 0 0 29px; align-items: center; justify-content: center;
  width: 29px; height: 26px; background: #f0f1f2; border-radius: 6px;
  color: #53565a; font-size: .81rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.is-current .program-number { color: var(--teal-ink); background: #cce5e7; }
.program-meta { flex: 1; min-width: 0; }
.program-title { display: block; overflow-wrap: anywhere; font-size: .95rem; font-weight: 640; }
.speaker-name {
  display: block; margin-top: 2px; color: var(--muted);
  font-size: .85em; line-height: 1.3; overflow-wrap: anywhere;
}
.current-label { padding: 0 6px; color: var(--teal-ink); font-weight: 680; font-size: .78rem; }
.program-row input, .program-count input, select, .share-link input {
  min-width: 0; padding: 7px 10px; border: 1px solid #cdd1d4; border-radius: 7px;
  background: var(--white); color: var(--ink); font-size: .91rem;
}
.program.is-editing .program-row { padding-block: 9px; }
.program-fields {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 9px; flex: 1; min-width: 0;
}
.program-field { display: grid; gap: 3px; min-width: 0; color: var(--muted); font-size: .8rem; font-weight: 650; }
.program-field input { width: 100%; font-weight: 400; }
.program-count {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px;
  padding: 14px 22px; border-bottom: 1px solid var(--line);
}
.program-count input { max-width: 9rem; min-height: 42px; }
.program-count p { flex-basis: 100%; color: var(--muted); font-size: .86rem; }
.icon-button {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 34px; height: 34px; padding: 0; border: 1px solid var(--line);
  border-radius: 8px; background: var(--white); color: var(--teal-ink); text-decoration: none;
}
.program-row .icon-button { width: 31px; height: 31px; border-color: transparent; }
.program-row .icon-button:hover { border-color: #bddcde; }

.submissions { padding-bottom: 17px; }
.submissions .panel-heading { padding-bottom: 8px; }
.submission-count { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; padding: 0 22px; }
.submission-count strong { font-size: 3rem; letter-spacing: -.06em; font-weight: 780; line-height: 1.13; font-variant-numeric: tabular-nums; }
.submission-count span { font-size: .94rem; color: var(--muted); }
.regie-ranking { margin: 12px 18px 0; border-top: 1px solid var(--line); padding-top: 12px; }
.regie-ranking summary { cursor: pointer; font-weight: 660; font-size: .91rem; }
.regie-ranking ol { margin-top: 10px; }
.tiebreak { display: grid; gap: 9px; padding: 16px 20px 0; }
.tiebreak label { font-size: .9rem; font-weight: 650; }
.tiebreak .button { justify-self: start; }
.access { padding-bottom: 10px; }
.access-row { display: flex; align-items: center; gap: 10px; margin: 0 18px; padding: 11px 0; border-top: 1px solid #eceef0; }
.access-row > div { flex: 1; min-width: 0; }
.access-row strong, .access-row small { display: block; }
.access-row strong { font-size: .93rem; }
.access-row small { margin-top: 2px; color: var(--muted); font-size: .79rem; line-height: 1.3; }
.access-icon {
  display: inline-grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px;
  border-radius: 8px; background: var(--teal-soft); color: var(--teal-ink);
}
.network, .share-link { display: grid; gap: 4px; margin: 0 18px 10px; color: var(--muted); font-size: .79rem; }
.share-link input { background: #f7f8f9; font-size: .81rem; }

.vote-workspace { max-width: 1135px; margin: 0 auto; padding: 29px 26px 36px; }
.vote-workspace.has-submit { padding-bottom: 125px; }
.vote-intro { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin: 5px 0 23px; }
.vote-intro h1 { font-size: clamp(2rem, 4.8vw, 3.05rem); }
.vote-intro p { margin-top: 9px; color: var(--muted); line-height: 1.45; }
.progress-box { flex: 0 0 230px; font-size: .88rem; color: var(--muted); }
.progress-box strong { font-weight: 790; color: var(--ink); font-variant-numeric: tabular-nums; }
.meter { height: 7px; margin-top: 7px; border-radius: 7px; background: #dfe2e4; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--teal); border-radius: 7px; transition: width .18s ease; }
.vote-grid { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.scorecard { padding: 22px; }
.scorecard-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 15px; }
.contribution-label { color: var(--teal-ink); font-weight: 680; font-size: .78rem; }
.scorecard h2 { margin-top: 5px; font-size: clamp(1.35rem, 4vw, 1.8rem); overflow-wrap: anywhere; }
.scorecard h2:focus { outline: 0; }
.score-total {
  display: grid; gap: 1px; min-width: 78px; padding: 7px 9px;
  border-radius: 10px; background: var(--teal-soft); text-align: center; flex: 0 0 auto;
}
.score-total strong { font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; }
.score-total span { font-size: .72rem; color: var(--muted); }
.criterion { border-top: 1px solid #eceef0; padding-top: 13px; margin-top: 10px; }
.criterion-title { margin-bottom: 7px; font-size: .93rem; font-weight: 700; }
.point-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.point {
  min-height: 45px; padding: 7px 0; border: 1px solid var(--line); border-radius: 9px;
  background: #f7f8f9; font-size: 1.04rem; font-weight: 730;
}
.point:not(:disabled):hover { background: var(--teal-soft); border-color: #8cbabc; }
.point.chosen, .point.chosen:not(:disabled):hover { border-color: #e7a61d; background: var(--yellow); color: var(--ink); }
.point:disabled:not(.chosen) { color: #6c7378; }
.draft-tools {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 12px; margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line);
}
#draft-status { flex: 1 1 140px; color: var(--muted); font-size: .85rem; line-height: 1.3; }
#draft-status[data-tone="saved"] { color: var(--teal-ink); }
#draft-status[data-tone="waiting"] { color: #704e09; }
.draft-tools .button:disabled { color: var(--muted); opacity: .75; }
.vote-ranking .panel-heading { padding-bottom: 11px; }
.personal-list { padding: 0 9px 9px; }
.personal-list li + li { border-top: 1px solid #eceef0; }
.personal-row {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) max-content 16px; align-items: center; gap: 8px;
  width: 100%; padding: 10px 9px; border: 1px solid transparent; border-radius: 8px;
  background: transparent; text-align: left;
}
.personal-row:hover { background: #f1f4f5; }
.personal-row.is-selected { background: var(--yellow-light); border-color: #f4dfad; }
.personal-place { text-align: center; font-variant-numeric: tabular-nums; font-size: .9rem; font-weight: 760; color: #51565b; }
.personal-title strong, .personal-title small { display: block; overflow-wrap: anywhere; }
.personal-title strong { font-size: .93rem; }
.personal-title small { margin-top: 2px; font-size: .76rem; color: var(--muted); }
.personal-points { font-weight: 760; font-variant-numeric: tabular-nums; }
.personal-points small { color: var(--muted); font-size: .69rem; }
.personal-row > svg { color: var(--teal-ink); }
.personal-criteria {
  grid-column: 2 / -1; display: grid; gap: 4px; min-width: 0; padding-bottom: 2px;
}
.personal-criterion {
  display: grid; grid-template-columns: 8.4em minmax(22px, 1fr) 1.2em; align-items: center; gap: 7px;
  font-size: .79rem; line-height: 1.15; color: var(--muted);
}
.personal-criterion-label { overflow-wrap: anywhere; }
.personal-criterion-track {
  display: block; height: 4px; border-radius: 4px; overflow: hidden; background: #d7dadd;
}
.personal-criterion-track > span { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.personal-criterion-value { text-align: right; color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.current-jump {
  display: inline-flex; align-items: center; gap: 7px; max-width: 100%;
  margin-bottom: 13px; padding: 8px 10px; border: 1px solid #bddcde;
  border-radius: 8px; background: var(--teal-soft); color: var(--teal-ink); text-align: left; font-weight: 690; font-size: .85rem;
}
.vote-notice {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 14px; padding: 13px 15px; border: 1px solid #bddcde; border-radius: 10px;
  background: var(--teal-soft); color: var(--teal-ink); font-size: .93rem;
}
.vote-notice a { margin-left: auto; font-weight: 680; }
.submit-bar {
  position: fixed; z-index: 3; bottom: 0; left: 0; right: 0;
  padding: 10px 23px max(10px, env(safe-area-inset-bottom)); background: var(--white);
  border-top: 1px solid var(--line); box-shadow: 0 -2px 16px #20252a10;
}
.submit-bar > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 1083px; margin: auto; }
.submit-bar span { color: var(--muted); font-size: .87rem; line-height: 1.3; }
.submit-dialog {
  width: min(470px, calc(100% - 32px)); max-width: none; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--ink); box-shadow: 0 18px 70px #23252959;
}
.submit-dialog::backdrop { background: #232529a8; }
.submit-dialog h2 { font-size: 1.48rem; line-height: 1.15; }
.submit-dialog p { margin-top: 10px; color: var(--muted); line-height: 1.5; }
.submit-dialog form {
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 22px;
}
.submit-dialog .button { flex: 1 0 auto; min-height: 44px; }

[data-view="live"] { min-height: 100vh; color: var(--white); background: radial-gradient(ellipse at 92% 0, #45494d, transparent 58%), var(--deep); }
[data-view="live"] .masthead { border-color: #ffffff26; background: #23252970; }
[data-view="live"] .brand-title span { color: #d2d6d9; }
[data-view="live"] .phase { background: #ffffff10; border-color: #ffffff2d; color: #eef0f2; }
[data-view="live"] .phase-open i { background: #58bec6; }
[data-view="live"] .phase-revealed i { background: var(--yellow); }
.fullscreen {
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 1px solid #ffffff35; border-radius: 8px; background: #ffffff09; color: var(--white);
}
.fullscreen:hover { background: #ffffff25; }
.live-workspace { max-width: 1520px; margin: auto; padding: clamp(24px, 3.8vw, 58px) clamp(20px, 4.6vw, 65px) 42px; }
.live-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 22px; flex-wrap: wrap; margin-bottom: 23px; }
.live-heading h1 { font-size: clamp(2.2rem, 4.3vw, 4.7rem); }
.live-heading span { color: #e3e5e7; font-size: clamp(.98rem, 1.5vw, 1.28rem); }
.live-heading span strong { color: var(--white); font-size: 1.15em; }
.live-context, .live-wait-note {
  margin: 0 0 15px; color: #e3e5e7; font-size: clamp(.95rem, 1.35vw, 1.18rem);
}
.live-session {
  display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; gap: 18px;
  padding: clamp(14px, 2.2vw, 24px); margin-bottom: 18px;
  border: 1px solid #bfc5cb44; border-radius: 13px; background: #ffffff0c;
}
.live-session .live-current > span { width: clamp(42px, 4.8vw, 64px); font-size: clamp(1.4rem, 2.5vw, 2rem); }
.live-session .live-current > div { min-width: 0; }
.live-session .live-current h2 {
  font-size: clamp(1.35rem, 2.45vw, 2.6rem); line-height: 1.12; overflow-wrap: anywhere;
}
.live-session .live-current p { margin-bottom: 4px; color: #e3e5e7; }
.live-session .presentation-clock { min-width: 7ch; padding: 10px 17px; color: var(--ink); }
.live-session .clock-value { font-size: clamp(2.65rem, 5.5vw, 5rem); }
.live-session .clock-state { font-size: .9rem; }
.live-wait {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 260px; padding: clamp(23px, 4.8vw, 62px); border: 1px solid #bfc5cb44;
  border-radius: 19px; background: #ffffff0c;
}
.live-wait h2 { font-size: clamp(1.9rem, 4vw, 3.8rem); overflow-wrap: anywhere; }
.live-wait p { margin-top: 14px; color: #e3e5e7; font-size: clamp(.98rem, 1.5vw, 1.3rem); }
.live-current { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 30px); }
.live-current > span {
  display: grid; place-items: center; width: clamp(56px, 7vw, 105px); aspect-ratio: 1;
  background: var(--yellow); color: var(--ink); border-radius: 12px; flex-shrink: 0;
  font-size: clamp(1.75rem, 4.2vw, 3.8rem); font-weight: 800; letter-spacing: -.045em;
}
.live-current p { margin-top: 0; font-size: 1rem; font-weight: 650; }
[data-view="live"] .speaker-name { color: #e3e5e7; }
.live-current .speaker-name { font-size: clamp(1rem, 1.65vw, 1.4rem); }
.winner-banner {
  display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; align-items: center;
  gap: 15px clamp(14px, 3vw, 36px); min-height: 142px; padding: 22px clamp(17px, 3.2vw, 42px);
  border-radius: 15px; color: var(--ink); background: linear-gradient(110deg, #ffce61, var(--yellow) 75%);
}
.winner-place { font-size: clamp(3rem, 7vw, 6.1rem); line-height: .9; font-weight: 840; letter-spacing: -.08em; }
.winner-text > div { font-weight: 720; font-size: clamp(.9rem, 1.45vw, 1.25rem); }
.winner-text h2 { margin-top: 2px; font-size: clamp(1.65rem, 4vw, 3.9rem); line-height: 1.03; overflow-wrap: anywhere; }
.live-leaders {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 8px 18px; list-style: none; margin: 5px 0 0; padding: 0;
  font-size: clamp(1.15rem, 2.3vw, 2rem); line-height: 1.15;
}
.live-leaders strong { overflow-wrap: anywhere; }
[data-view="live"] .winner-text .speaker-name {
  margin-top: 5px; color: var(--ink); font-size: clamp(.96rem, 1.6vw, 1.4rem);
}
.winner-points { text-align: right; }
.winner-points strong, .winner-points span { display: block; }
.winner-points strong { font-size: clamp(1.65rem, 4.2vw, 3.8rem); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.winner-points span { margin-top: 3px; font-weight: 650; }
.live-ranks {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 20px; list-style: none; margin: 16px 0 0; padding: 0;
}
.result-row {
  display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; align-items: center;
  gap: 9px; min-height: 38px; padding: 4px 6px; border-top: 1px solid #eceef0;
  font-size: .88rem;
}
.result-title strong { display: block; overflow-wrap: anywhere; }
.rank-number {
  display: inline-grid; place-items: center; min-width: 25px; min-height: 24px; padding: 1px 3px;
  border-radius: 5px; background: #f0f1f2; color: #51565b; font-weight: 750; font-variant-numeric: tabular-nums;
}
.is-first .rank-number { background: var(--yellow); color: var(--ink); }
.result-points { font-weight: 770; font-variant-numeric: tabular-nums; }
.result-points small { font-size: .74em; font-weight: 550; opacity: .8; }
.live-ranks .result-row {
  padding: 7px 13px; min-height: 49px;
  border: 1px solid #bfc5cb38; border-radius: 8px; background: #ffffff09;
  font-size: clamp(.93rem, 1.6vw, 1.25rem);
}
.live-ranks .rank-number { min-width: 30px; background: #ffffff13; color: #e3e5e7; }
.live-ranks .is-first .rank-number { background: var(--yellow); color: var(--ink); }

.connection-error, .toast {
  position: fixed; z-index: 4; right: 18px; bottom: 18px; max-width: min(440px, calc(100vw - 36px));
  padding: 12px 15px; border: 1px solid #cdd1d4; border-radius: 10px;
  background: var(--deep); color: var(--white); font-size: .91rem; box-shadow: 0 4px 20px #23252935;
}
[data-view="eingabe"] .connection-error, [data-view="eingabe"] .toast { bottom: 91px; }
.connection-error, .toast-error { background: #612b24; border-color: #ca9b90; }

@media (max-width: 850px) {
  .regie-hero { align-items: start; flex-direction: column; min-height: 0; }
  .hero-actions { justify-content: flex-start; }
  .regie-grid { gap: 14px; }
  .program .panel-heading { align-items: start; }
}
@media (max-width: 680px) {
  .masthead-inner { min-height: 64px; padding: 10px 16px; gap: 10px; flex-wrap: wrap; }
  .brand-logo { width: 51px; height: 51px; }
  .brand { gap: 8px; }
  .brand strong { font-size: .98rem; }
  .brand-title span { font-size: .76rem; }
  .tabs { order: 3; flex: 1 0 100%; justify-content: space-around; }
  .tabs a { justify-content: center; flex: 1; padding: 7px; }
  .masthead-right { gap: 7px; }
  .phase { padding: 5px 8px; font-size: .72rem; }
  .workspace { padding: 15px 13px 32px; }
  .regie-hero { padding: 24px 20px; gap: 16px; }
  .regie-hero p { font-size: .94rem; }
  .regie-grid { grid-template-columns: 1fr; margin-top: 14px; }
  .regie-side { gap: 14px; }
  .presentation-control-body { padding: 0 16px 16px; }
  .panel-heading { padding: 17px 16px 12px; }
  .program-fields { grid-template-columns: 1fr; }
  .vote-workspace { padding: 19px 13px 24px; }
  .vote-intro { display: grid; gap: 13px; margin: 3px 1px 16px; }
  .vote-intro p { margin-top: 6px; font-size: .92rem; }
  .progress-box { width: 100%; font-size: .82rem; }
  .vote-grid { grid-template-columns: 1fr; gap: 14px; }
  .scorecard { padding: 15px; }
  .scorecard-top { padding-bottom: 5px; }
  .criterion { padding-top: 9px; margin-top: 7px; }
  .criterion-title { margin-bottom: 5px; }
  .point { min-height: 43px; }
  .submit-bar { padding-right: 13px; padding-left: 13px; }
  .submit-bar > div { gap: 8px; }
  .submit-bar span { font-size: .76rem; }
  .submit-bar .button { padding: 7px 10px; white-space: nowrap; font-size: .84rem; }
  .live-ranks { grid-template-columns: 1fr; }
  .live-heading { margin-bottom: 16px; }
  .live-session { grid-template-columns: 1fr; gap: 12px; }
  .live-session .presentation-clock { justify-self: start; }
  .live-wait { flex-direction: column; align-items: start; gap: 18px; min-height: 0; }
  .winner-banner { min-height: 106px; }
  .winner-points span { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
