@import url("https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;600;700;800;900&display=swap");
* { box-sizing: border-box; }
[hidden] { display: none !important; }
:root {
  --purple: #7c1fa2; --purple-2: #9c27b0; --purple-dark: #33134c;
  --gold: #f9a825; --green: #28a745; --red: #e53935; --blue: #1976d2;
  --bg: #f2f3f7; --surface: #fff; --surface-2: #f7f7fa; --line: #e1e3e9;
  --text: #1e2230; --muted: #7b8191; --shadow: 0 4px 18px rgba(31, 20, 47, .08);
}
html[data-theme="dark"] {
  --bg: #0d0f16; --surface: #171a24; --surface-2: #202431; --line: #303645;
  --text: #f4f5f8; --muted: #aab0bf; --shadow: 0 5px 22px rgba(0, 0, 0, .3);
}
html, body { margin: 0; min-height: 100%; }
body { color: var(--text); background: var(--bg); font-family: "Prompt", system-ui, sans-serif; }
.display-body { background: #050509; overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.room-gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; overflow: hidden; position: relative; background: radial-gradient(circle at 12% 8%, rgba(197, 126, 255, .24), transparent 32%), linear-gradient(135deg, #26043f 0%, #4b0872 50%, #7b1fa2 100%); }
.room-gate::before, .room-gate::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; width: 440px; aspect-ratio: 1; }
.room-gate::before { left: -240px; top: -190px; } .room-gate::after { right: -180px; bottom: -260px; width: 560px; }
.room-card { width: min(100%, 470px); background: var(--surface); border-radius: 24px; padding: 34px; box-shadow: 0 24px 70px rgba(25, 3, 40, .42); position: relative; z-index: 1; }
.gate-mark { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; margin-bottom: 22px; color: white; background: linear-gradient(135deg, var(--purple), var(--purple-2)); box-shadow: 0 10px 28px rgba(124,31,162,.3); }
.eyebrow-dark { color: var(--purple); font-size: 12px; font-weight: 900; letter-spacing: .19em; margin: 0 0 3px; }
.room-card h1 { margin: 0; font-size: clamp(34px, 7vw, 46px); line-height: 1.1; text-transform: uppercase; letter-spacing: -.04em; }
.gate-subtitle { color: var(--muted); line-height: 1.7; margin: 9px 0 27px; font-size: 14px; }
.field-label { display: block; font-size: 13px; font-weight: 750; margin-bottom: 8px; color: var(--text); }
.room-input-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-bottom: 12px; }
.room-input-row input { width: 100%; min-width: 0; border: 2px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--text); text-align: center; padding: 12px; font-size: 24px; font-weight: 800; letter-spacing: .35em; }
.room-input-row input:focus { outline: none; border-color: var(--purple-2); }

.button { border: 0; border-radius: 11px; min-height: 44px; padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 750; font-size: 13px; cursor: pointer; text-decoration: none; transition: transform .15s, filter .15s, opacity .15s; }
.button:hover { filter: brightness(1.04); transform: translateY(-1px); } .button:active { transform: translateY(0); }
.button:disabled { cursor: not-allowed; opacity: .38; transform: none; }
.button.full { width: 100%; margin-top: 9px; } .button.large { min-height: 52px; font-size: 15px; }
.button.primary { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: white; box-shadow: 0 7px 18px rgba(124,31,162,.22); }
.button.secondary { background: var(--purple); color: white; } .button.compact { padding-inline: 18px; }
.button.ghost { color: var(--text); border: 1px solid var(--line); background: var(--surface); }
.button.success { background: linear-gradient(135deg, #218838, #34b654); color: white; box-shadow: 0 7px 18px rgba(40,167,69,.18); }
.button.warning { background: linear-gradient(135deg, #ef9b18, #f7b431); color: #2b1a00; }
.button.muted { color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); }
.button.danger-outline { border: 1px solid rgba(229,57,53,.45); color: var(--red); background: transparent; }
.button.danger-soft { background: rgba(229,57,53,.08); color: var(--red); border: 1px solid rgba(229,57,53,.18); }

.control-shell { min-height: 100vh; background: var(--bg); }
.control-header { min-height: 72px; padding: 10px 24px; position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; color: white; background: linear-gradient(100deg, #171426, #29123d 47%, #4c155f); box-shadow: 0 6px 20px rgba(23,20,38,.28); }
.brand-line { margin: 0; font-weight: 900; letter-spacing: .035em; font-size: 18px; white-space: nowrap; }.brand-line span { color: #ffc23d; }
.header-caption { margin: 1px 0 0; color: #b8acc6; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }
.room-pill { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.09); color: white; border-radius: 99px; padding: 7px 13px; font-size: 12px; font-weight: 800; letter-spacing: .08em; display: flex; align-items: center; gap: 7px; cursor: pointer; }
.sync-state { font-size: 11px; color: #bdb6c8; display: flex; align-items: center; gap: 7px; }.sync-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff625d; }.sync-state.online .sync-dot { background: #5dea83; box-shadow: 0 0 8px rgba(93,234,131,.8); }.sync-state.online { color: #c7fbd5; }
.header-actions { margin-left: auto; display: flex; gap: 7px; }.icon-button { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); cursor: pointer; }.icon-button.light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: white; text-decoration: none; }
.control-grid { width: min(1280px, 100%); margin: 0 auto; padding: 20px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .8fr); gap: 18px; }
.panel { border: 1px solid var(--line); background: var(--surface); border-radius: 17px; box-shadow: var(--shadow); overflow: hidden; margin-bottom: 18px; }
.panel-heading { min-height: 63px; padding: 12px 17px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.panel-heading > div { display: flex; align-items: center; gap: 11px; }.heading-icon { width: 35px; height: 35px; border-radius: 10px; display: grid; place-items: center; background: rgba(124,31,162,.1); color: var(--purple); flex: 0 0 auto; }
.panel-heading h2 { margin: 0; font-size: 15px; }.panel-heading p { margin: 1px 0 0; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.phase-chip { padding: 6px 11px; border-radius: 99px; font-size: 10px; font-weight: 800; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); white-space: nowrap; }
.phase-chip.running { color: #17813a; background: rgba(40,167,69,.09); border-color: rgba(40,167,69,.22); }.phase-chip.paused { color: #b36c00; background: rgba(249,168,37,.1); }.phase-chip.countdown { color: var(--purple); background: rgba(124,31,162,.1); }.phase-chip.finished { color: var(--red); background: rgba(229,57,53,.08); }
.control-clock { margin: 18px 18px 14px; min-height: 145px; border-radius: 16px; display: grid; place-items: center; background: radial-gradient(circle at 50% 10%, rgba(171,86,207,.32), transparent 50%), linear-gradient(135deg, #2a1039, #4b1463 65%, #741b86); color: white; box-shadow: inset 0 1px rgba(255,255,255,.13), 0 12px 25px rgba(74,20,99,.2); }
.clock { display: inline-flex; align-items: baseline; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: .015em; }.control-clock .clock { font-size: clamp(56px, 8.5vw, 92px); }.clock-ms { font-size: .52em; letter-spacing: 0; opacity: .9; }
.control-clock.danger { color: #ff706c; animation: softPulse .7s infinite; }
@keyframes softPulse { 50% { opacity: .62; } }
.timer-actions { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 9px; padding: 0 18px 18px; }.timer-actions .large { grid-row: span 1; }.countdown-mini { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); color: white; font-size: 15px; }
.live-tag { border-radius: 99px; padding: 5px 9px; background: rgba(229,57,53,.08); color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .12em; }.live-tag span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: livePulse 1.1s infinite; } @keyframes livePulse { 50% { opacity: .28; } }
.score-controls { padding: 18px; display: grid; grid-template-columns: 1fr 42px 1fr; gap: 10px; align-items: center; }.versus { font-size: 13px; font-weight: 900; text-align: center; color: var(--muted); }
.team-score-card { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: var(--surface-2); text-align: center; }.team-color-line { height: 5px; }.team-score-card.blue .team-color-line { background: linear-gradient(90deg, #0d47a1, #27a7ff); }.team-score-card.red .team-color-line { background: linear-gradient(90deg, #a91228, #ff5757); }
.team-name-input { width: calc(100% - 28px); margin: 12px 14px 2px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 8px; text-align: center; font-size: 13px; font-weight: 700; }.team-name-input:focus { outline: 2px solid rgba(124,31,162,.18); border-color: var(--purple); }
.score-number { font-size: clamp(68px, 10vw, 104px); line-height: 1.1; font-weight: 900; font-variant-numeric: tabular-nums; padding: 3px 10px 8px; }.team-score-card.blue .score-number { color: var(--blue); }.team-score-card.red .score-number { color: var(--red); }
.score-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-top: 1px solid var(--line); background: var(--line); }.score-buttons button { min-height: 51px; border: 0; background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer; }.team-score-card.blue .score-buttons button:last-child { background: var(--blue); color: white; }.team-score-card.red .score-buttons button:last-child { background: var(--red); color: white; }.score-buttons button:active { transform: scale(.96); }
.panel-content { padding: 17px; }.duration-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 9px; align-items: start; }.duration-grid b { font-size: 28px; margin-top: 5px; color: var(--muted); }.duration-grid label { display: grid; gap: 4px; }.duration-grid input { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--text); font-size: 26px; font-weight: 800; padding: 8px; text-align: center; }.duration-grid span { color: var(--muted); font-size: 10px; text-align: center; }
.switch-row { margin: 15px 0 6px; padding: 12px 0; border-block: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; }.switch-row > span { display: flex; align-items: center; gap: 10px; }.switch-row strong { display: block; font-size: 12px; }.switch-row small { display: block; color: var(--muted); font-size: 9px; margin-top: 2px; }.switch-row input { appearance: none; width: 42px; height: 23px; background: #b9bec9; border-radius: 99px; position: relative; cursor: pointer; flex: 0 0 auto; }.switch-row input::after { content: ""; width: 17px; height: 17px; background: white; border-radius: 50%; position: absolute; left: 3px; top: 3px; transition: .2s; box-shadow: 0 1px 5px rgba(0,0,0,.25); }.switch-row input:checked { background: var(--purple); }.switch-row input:checked::after { left: 22px; }
.accordion-button { border: 0; padding: 0; width: 100%; background: transparent; color: inherit; cursor: pointer; text-align: left; }.accordion-button > .panel-heading { border-bottom: 0; }
.asset-info { border-top: 1px solid var(--line); display: grid; gap: 6px; }.asset-info code { padding: 7px 9px; border-radius: 7px; background: var(--surface-2); color: var(--purple); font-size: 10px; overflow-wrap: anywhere; }.asset-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 5px; }.asset-actions .button { padding-inline: 8px; font-size: 10px; }
.display-preview { border-radius: 16px; color: white; background: radial-gradient(circle at 50% 20%, #32134b, #0c0b14 70%); padding: 16px; box-shadow: var(--shadow); border: 1px solid rgba(124,31,162,.25); }.preview-top { display: flex; justify-content: space-between; color: #b999ca; font-size: 9px; letter-spacing: .13em; }.preview-clock { text-align: center; margin: 12px 0 5px; color: white; }.preview-clock .clock { font-size: 38px; }.preview-scores { display: flex; justify-content: center; align-items: center; gap: 18px; font-size: 33px; font-weight: 900; }.preview-scores span:first-child { color: #54b8ff; }.preview-scores span:last-child { color: #ff6a70; }.preview-scores b { color: #7d7489; font-size: 16px; }.display-preview a { margin-top: 13px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: #dbbfeb; font-size: 11px; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 11px 18px; background: #19151f; color: white; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.3); z-index: 100; font-size: 12px; font-weight: 700; animation: toastIn .2s ease; } @keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } }

/* Display */
.display-entry { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; color: white; background: radial-gradient(circle at 50% 35%, #491064, #08050d 65%); }.display-eyebrow { margin: 0; color: #c39bd3; letter-spacing: .24em; font-weight: 800; font-size: clamp(10px, 1.2vw, 14px); }.display-entry h1 { margin: 5px 0 0; font-size: clamp(44px, 8vw, 88px); line-height: 1; letter-spacing: -.04em; }.ball-mark { font-size: 68px; margin: 25px 0 12px; filter: drop-shadow(0 10px 16px rgba(0,0,0,.4)); }.display-entry > p:not(.display-eyebrow) { color: #a79cb0; font-size: 13px; }.display-entry input { width: min(280px, 80vw); margin: 12px 0; padding: 13px; border-radius: 11px; border: 1px solid #6f4c7c; background: rgba(255,255,255,.07); color: white; text-align: center; font-size: 25px; font-weight: 800; letter-spacing: .2em; }.display-entry button { border: 0; border-radius: 99px; padding: 14px 32px; font-weight: 900; color: white; background: linear-gradient(135deg, #7c1fa2, #d03deb); cursor: pointer; box-shadow: 0 10px 28px rgba(156,39,176,.35); }
.match-display { --display-blue: #1e9cff; --display-red: #ff3c52; min-height: 100vh; height: 100vh; overflow: hidden; position: relative; display: flex; flex-direction: column; color: white; background: radial-gradient(circle at 50% 20%, #25132f 0%, #0a0910 46%, #050509 100%); }.display-ambient { position: absolute; width: 46vw; aspect-ratio: 1; border-radius: 50%; filter: blur(110px); opacity: .12; pointer-events: none; }.ambient-one { background: var(--display-blue); left: -22vw; bottom: -20vw; }.ambient-two { background: var(--display-red); right: -22vw; bottom: -20vw; }
.display-topbar { min-height: 82px; display: flex; align-items: center; justify-content: center; padding: 14px 30px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(7,6,10,.36); position: relative; z-index: 2; text-align: center; }.display-topbar h1 { font-size: clamp(19px, 2.4vw, 34px); letter-spacing: .06em; margin: 2px 0 0; }.display-status { position: absolute; right: 26px; top: 27px; border: 1px solid rgba(255,255,255,.11); border-radius: 99px; padding: 6px 10px; display: flex; gap: 6px; align-items: center; color: #a29aa9; font-size: 10px; font-weight: 800; letter-spacing: .08em; }.display-status.online { color: #66ee91; }
.corner-logo { position: fixed; z-index: 5; top: 17px; max-height: 54px; max-width: 130px; object-fit: contain; }.corner-logo.left { left: 22px; }.corner-logo.right { right: 22px; top: 82px; }
.display-stage { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px clamp(18px, 4vw, 60px) 24px; position: relative; z-index: 1; }.phase-display { border-radius: 99px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #b9b2bf; padding: 6px 16px; font-size: clamp(10px, 1vw, 13px); font-weight: 800; letter-spacing: .08em; }.phase-display.running { color: #65f19a; border-color: rgba(101,241,154,.25); background: rgba(101,241,154,.07); }.phase-display.paused { color: #ffd166; }.phase-display.finished { color: #ff7d88; }
.display-timer { margin: clamp(8px, 1vh, 14px) 0 2px; line-height: 1; text-shadow: 0 0 45px rgba(201,144,232,.24); }.display-timer .clock-large { font-size: clamp(76px, 15vw, 190px); }.display-timer.danger { color: #ff5d67; animation: softPulse .6s infinite; }.match-rule { display: flex; align-items: center; gap: 12px; width: min(620px, 70vw); color: #6f6973; font-size: clamp(8px, .9vw, 11px); letter-spacing: .17em; }.match-rule span { height: 1px; background: linear-gradient(90deg, transparent, #4d4850); flex: 1; }.match-rule span:last-child { background: linear-gradient(90deg, #4d4850, transparent); }
.display-scoreboard { width: min(1200px, 92vw); display: grid; grid-template-columns: 1fr minmax(70px, .18fr) 1fr; align-items: stretch; gap: clamp(12px, 2.5vw, 34px); margin-top: clamp(12px, 2.2vh, 28px); }.display-team { min-width: 0; border: 1px solid rgba(255,255,255,.1); border-radius: clamp(13px, 1.5vw, 22px); padding: clamp(12px, 1.8vw, 25px); text-align: center; position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.025)); }.display-team::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; opacity: .1; }.display-team.blue::after { background: linear-gradient(0deg, var(--display-blue), transparent); }.display-team.red::after { background: linear-gradient(0deg, var(--display-red), transparent); }.team-accent { width: 36px; height: 4px; border-radius: 4px; margin: 0 auto 8px; }.display-team.blue .team-accent { background: var(--display-blue); box-shadow: 0 0 14px var(--display-blue); }.display-team.red .team-accent { background: var(--display-red); box-shadow: 0 0 14px var(--display-red); }.display-team p { position: relative; z-index: 1; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #dcd7e0; font-size: clamp(15px, 2.2vw, 30px); font-weight: 800; }.display-team strong { position: relative; z-index: 1; display: block; font-size: clamp(74px, 12vw, 150px); line-height: .95; font-variant-numeric: tabular-nums; }.display-team.blue strong { color: var(--display-blue); text-shadow: 0 0 35px rgba(30,156,255,.25); }.display-team.red strong { color: var(--display-red); text-shadow: 0 0 35px rgba(255,60,82,.25); }.display-versus { display: grid; place-content: center; text-align: center; }.display-versus span { font-size: clamp(18px, 2.6vw, 38px); font-weight: 900; color: #7d7581; }.display-versus small { margin-top: 6px; color: #ff5d67; font-size: 8px; font-weight: 900; letter-spacing: .2em; }.display-team.winner { border-color: rgba(255,209,102,.45); box-shadow: 0 0 40px rgba(255,209,102,.12); }.winner-label { position: absolute; left: 12px; top: 10px; color: #ffd166; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.display-footer { min-height: 38px; padding: 8px 28px; display: flex; justify-content: space-between; align-items: center; color: #5d5861; border-top: 1px solid rgba(255,255,255,.06); font-size: 8px; letter-spacing: .14em; position: relative; z-index: 2; }.display-tools { position: fixed; left: 16px; bottom: 52px; z-index: 8; display: flex; gap: 7px; opacity: .34; transition: opacity .2s; }.display-tools:hover { opacity: 1; }.display-tools button { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); background: rgba(10,8,13,.75); color: white; cursor: pointer; }
.display-settings { position: fixed; left: 16px; bottom: 101px; z-index: 9; width: min(310px, calc(100vw - 32px)); padding: 18px; background: rgba(20,17,24,.97); border: 1px solid rgba(255,255,255,.13); border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.4); }.display-settings h2 { font-size: 15px; margin: 0 0 5px; }.display-settings p { color: #9d95a4; font-size: 10px; line-height: 1.6; }.display-settings code { color: #dba9f2; }.display-settings > button:not(.close-settings) { width: 100%; margin-top: 7px; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; padding: 8px; background: rgba(255,255,255,.05); color: white; display: flex; gap: 7px; justify-content: center; cursor: pointer; }.close-settings { position: absolute; right: 10px; top: 10px; background: none; border: 0; color: #a39ba8; cursor: pointer; }
.countdown-overlay { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at center, rgba(85,24,111,.72), rgba(5,4,8,.98) 62%); animation: overlayIn .18s ease; }.countdown-overlay p { color: #c5b3cc; font-size: clamp(15px, 2vw, 25px); text-transform: uppercase; letter-spacing: .25em; font-weight: 800; }.countdown-overlay strong { font-size: clamp(180px, 34vw, 430px); line-height: .83; text-shadow: 0 0 80px rgba(218,133,255,.52); animation: countPop .42s ease; }.countdown-overlay span { color: #9c81a9; letter-spacing: .35em; font-size: clamp(10px, 1.3vw, 16px); font-weight: 800; margin-top: 35px; } @keyframes countPop { from { opacity: 0; transform: scale(.52); } to { opacity: 1; transform: scale(1); } } @keyframes overlayIn { from { opacity: 0; } }
.paused-ribbon { position: fixed; z-index: 12; top: 50%; left: 0; right: 0; transform: translateY(-50%) rotate(-2deg); text-align: center; padding: 11px; color: #3b2600; background: rgba(255,209,102,.94); font-weight: 900; letter-spacing: .14em; font-size: clamp(12px, 1.8vw, 22px); box-shadow: 0 8px 30px rgba(0,0,0,.3); }.match-display.is-paused .display-stage { filter: saturate(.6) brightness(.72); }

@media (max-width: 900px) {
  .control-grid { grid-template-columns: 1fr; }.control-header { flex-wrap: wrap; padding: 10px 14px; }.header-actions { margin-left: auto; }.sync-state { order: 4; width: 100%; }.control-grid { padding: 13px; }.corner-logo.right { display: none; }
}
@media (max-width: 620px) {
  .brand-line { font-size: 14px; }.header-caption { display: none; }.room-pill { margin-left: auto; }.header-actions { margin-left: 0; }.control-grid { padding: 10px; }.panel { border-radius: 14px; margin-bottom: 11px; }.control-clock { min-height: 110px; margin: 12px; }.control-clock .clock { font-size: 52px; }.timer-actions { grid-template-columns: 1fr 1fr; padding: 0 12px 12px; }.timer-actions .large { grid-column: 1 / -1; }.score-controls { grid-template-columns: 1fr 26px 1fr; gap: 5px; padding: 11px; }.team-name-input { width: calc(100% - 14px); margin-inline: 7px; font-size: 10px; }.score-number { font-size: 58px; }.versus { font-size: 10px; }.room-card { padding: 25px 20px; }.display-status { right: 12px; top: 14px; font-size: 8px; }.display-topbar { justify-content: flex-start; padding-left: 20px; min-height: 70px; text-align: left; }.corner-logo { display: none; }.display-scoreboard { width: 96vw; grid-template-columns: 1fr 38px 1fr; gap: 6px; }.display-team { padding: 10px 6px; }.display-team p { font-size: 12px; }.display-team strong { font-size: 60px; }.display-versus span { font-size: 15px; }.display-footer { font-size: 6px; padding-inline: 12px; }
}
@media (max-height: 680px) and (min-width: 700px) {
  .display-topbar { min-height: 62px; padding-block: 7px; }.display-stage { padding-block: 8px; }.display-timer .clock-large { font-size: clamp(64px, 13vh, 110px); }.display-scoreboard { margin-top: 8px; }.display-team { padding-block: 9px; }.display-team strong { font-size: clamp(58px, 14vh, 94px); }.display-team p { font-size: clamp(13px, 2.5vh, 20px); }.display-footer { min-height: 28px; }
}

/* Vanilla HTML overrides */
.display-preview > button { width:100%; margin-top:13px; border:0; border-top:1px solid rgba(255,255,255,.1); padding-top:10px; display:flex; align-items:center; justify-content:center; color:#dbbfeb; background:transparent; font-size:11px; cursor:pointer; }
.entry-error { color:#ff7d88; font-size:12px; font-weight:700; margin-top:12px; }
.switch-icon { width:22px; text-align:center; color:var(--purple); font-weight:900; }
