:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#10332c;background:#eaf1ed;font-size:16px;font-synthesis:none}
*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;width:100%}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #5ce1a1;outline-offset:3px}a{text-decoration:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,-apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:-.045em}h1{font-weight:800}.eyebrow,.stage-kicker,.question-label{font-size:.75rem;font-weight:800;letter-spacing:.19em;text-transform:uppercase}.glass{background:linear-gradient(135deg,rgba(255,255,255,.71),rgba(255,255,255,.46));border:1px solid rgba(255,255,255,.8);box-shadow:0 18px 50px rgba(9,53,38,.075),inset 0 1px 0 rgba(255,255,255,.9);backdrop-filter:blur(28px) saturate(160%);-webkit-backdrop-filter:blur(28px) saturate(160%)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:1px solid transparent;border-radius:16px;padding:.84rem 1.13rem;font-weight:750;white-space:nowrap;transition:transform .18s ease,background .18s ease,box-shadow .18s ease}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn.primary{background:linear-gradient(145deg,#07884f,#05a859);color:white;box-shadow:0 12px 26px rgba(5,168,89,.22),inset 0 1px 0 rgba(255,255,255,.28)}.btn.primary:hover:not(:disabled){background:linear-gradient(145deg,#087947,#049c52);box-shadow:0 14px 30px rgba(5,168,89,.28)}.btn.secondary{background:rgba(255,255,255,.75);border-color:rgba(13,94,59,.13);color:#0e4936}.btn.subtle{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.17);font-size:.85rem}.btn.text-button{padding:.65rem .25rem;color:#2b7560;background:transparent}.btn.danger{color:#bd4557}.btn.wide{width:100%}.btn.large{padding:1rem 1.5rem;font-size:1.02rem}.muted{color:#6a8279;line-height:1.55}.form-error{color:#ba344a;min-height:1.4em;margin-top:1rem;font-size:.9rem;font-weight:650}

/* Public displays */
.projection{position:relative;height:100dvh;min-height:600px;overflow:hidden;display:grid;grid-template-rows:auto 1fr auto;padding:clamp(22px,3.2vw,55px) clamp(28px,4.7vw,90px) 23px;color:#f8fffa;background:radial-gradient(circle at 71% 16%,rgba(22,156,96,.21),transparent 34%),radial-gradient(circle at 9% 94%,rgba(44,145,111,.14),transparent 32%),linear-gradient(135deg,#051d1a 0%,#092f28 52%,#061d1c 100%)}.projection:before{content:"";position:absolute;inset:-25% -5%;pointer-events:none;background:repeating-linear-gradient(127deg,transparent 0 84px,rgba(255,255,255,.012) 85px 86px);mask-image:linear-gradient(to bottom,transparent,#000,transparent)}.projection:after{content:"";position:absolute;right:-10vw;top:27vh;width:37vw;height:37vw;border:1px solid rgba(80,214,150,.13);border-radius:50%;box-shadow:0 0 0 7vw rgba(68,209,140,.018),0 0 0 14vw rgba(68,209,140,.014);pointer-events:none}.projection-header,.projection-footer,.question-stage,.center-stage,.audience-stage,.winner-stage{position:relative;z-index:1}.projection-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.projection-brand{display:flex;align-items:center;gap:22px}.hop-logo{width:134px;height:80px;object-fit:contain;flex:none}.brand-rule{height:44px;width:1px;background:rgba(255,255,255,.3)}.projection-brand .eyebrow{line-height:1.55;color:#8ec9ae;font-size:.68rem}.projection-brand .eyebrow strong{color:white}.header-side{display:flex;align-items:center;gap:15px}.service-pill{padding:.55rem .9rem;border:1px solid rgba(255,255,255,.22);border-radius:99px;background:rgba(255,255,255,.08);font-size:.83rem;font-weight:700}.projection-footer{display:flex;justify-content:space-between;gap:20px;padding-top:14px;border-top:1px solid rgba(255,255,255,.16);font-size:.69rem;letter-spacing:.14em;font-weight:750;color:#84b49f}.projection .glass{background:linear-gradient(145deg,rgba(235,255,244,.14),rgba(121,212,163,.035));border:1px solid rgba(255,255,255,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.19),0 18px 55px rgba(0,0,0,.13);backdrop-filter:blur(28px) saturate(130%);-webkit-backdrop-filter:blur(28px) saturate(130%)}.center-stage{align-self:center;text-align:center;display:flex;flex-direction:column;align-items:center;gap:0;max-width:1300px;width:100%;margin:auto}.stage-kicker{display:inline-flex;align-items:center;gap:10px;color:#73d9a5;font-size:.86rem}.stage-kicker:before{content:"";width:18px;height:2px;background:#73d9a5;border-radius:3px}.center-stage h1,.winner-stage h1{font-size:clamp(3.4rem,7vw,7.3rem);line-height:1.05;margin:20px 0 20px;text-wrap:balance}.center-stage p,.winner-stage p{color:#b8d0c4;font-size:clamp(1.05rem,1.55vw,1.45rem);line-height:1.5;margin-bottom:32px}.title-spark{color:#64d79e;display:inline-block;margin-left:.2em;font-size:.45em;vertical-align:top;animation:spark 5s ease-in-out infinite}.score-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.projection-scores{width:100%;margin-top:auto}.score-card{min-width:0;border-radius:22px;padding:19px 22px;text-align:left}.score-name{font-weight:700;font-size:clamp(.9rem,1.35vw,1.22rem);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.score-number{font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-size:clamp(2rem,3.2vw,3.3rem);font-weight:800;letter-spacing:-.07em;line-height:1.15;margin-top:8px}.score-total{font-size:.4em;font-weight:500;color:#92b6a2;letter-spacing:0}.center-stage .projection-scores{margin-top:24px}.question-stage{display:grid;grid-template-rows:auto 1fr auto;align-self:stretch;min-height:0;padding:15px 0 22px}.question-overline{display:flex;justify-content:space-between;align-items:center}.question-counter{color:#9cbcac;font-size:.82rem;font-weight:700}.question-main{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:0}.question-label{color:#8abda0;margin:0 0 14px}.question-main h1{font-size:clamp(2.75rem,4.2vw,5.1rem);line-height:1.17;max-width:1300px;text-wrap:balance;margin:0 0 clamp(12px,2.5vh,30px)}.timer-wrap{display:flex;flex-direction:column;align-items:center}.timer-ring{--progress:100%;width:clamp(94px,9.5vw,150px);height:clamp(94px,9.5vw,150px);border-radius:50%;display:grid;place-items:center;position:relative;background:conic-gradient(#54db93 var(--progress),rgba(255,255,255,.13) 0);box-shadow:0 0 55px rgba(44,198,114,.12);transition:background .1s linear}.timer-ring:before{content:"";position:absolute;inset:7px;border-radius:50%;background:#0b2c27}.timer-ring.final-ten{background:conic-gradient(#f6c65a var(--progress),rgba(255,255,255,.13) 0);box-shadow:0 0 75px rgba(245,196,75,.3);animation:pulse 1s ease-in-out infinite}.timer-ring.time-up{background:#cc5a55;box-shadow:0 0 70px rgba(238,86,76,.3)}.timer-value{position:relative;font:800 clamp(2.25rem,4vw,4rem)/1 -apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:-.06em}.timer-copy{margin-top:12px;font-size:clamp(.84rem,1.2vw,1.06rem);font-weight:700;color:#9dcbb1}.boards-banner{font:800 clamp(2rem,5vw,4.5rem)/1 -apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:.08em;color:#fff;position:absolute;top:54%;left:50%;transform:translate(-50%,-50%);white-space:nowrap;text-shadow:0 0 32px #ff714e,0 0 90px #ff714e;animation:boardsIn .5s cubic-bezier(.16,1,.3,1) both}.boards-stage .timer-wrap{opacity:.2}.winner-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:0}.winner-icon{font-size:clamp(2rem,4vw,4rem);color:#ffd46a;text-shadow:0 0 32px #e4b34a;animation:spark 2s infinite}.winner-title{color:#fff;text-shadow:0 0 70px rgba(83,224,140,.28)}.winner-scores{width:100%;max-width:1350px;margin-top:25px}.winner-subtitle{margin-bottom:0!important}.confetti{position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle,#9be9ac 2px,transparent 3px),radial-gradient(circle,#f6d681 2px,transparent 3px),radial-gradient(circle,#fff 1.5px,transparent 3px);background-size:190px 150px,240px 190px,150px 240px;background-position:0 0,60px 90px,130px 40px;opacity:.45;animation:confetti 7s linear infinite}.tie-eligible{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin:12px 0 20px}.tie-eligible span{padding:15px 24px;border-radius:18px;font-weight:750;font-size:1.15rem}.connection-badge{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);color:#77b699;font-size:.7rem;opacity:0;transition:opacity .3s}.projection:has([data-connection]) .connection-badge:not(:empty){opacity:.65}.audience-stage{align-self:stretch;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:18px;min-height:0;padding:8px 0 23px}.audience-intro,.audience-reveal{align-self:center;text-align:center;max-width:1300px;margin:auto}.audience-intro h1{font-size:clamp(3.5rem,7vw,7rem);margin:18px 0}.audience-intro p,.audience-reveal p{font-size:clamp(1rem,1.6vw,1.5rem);color:#bbd0c3}.audience-reveal h1{font-size:clamp(2.8rem,5vw,5.3rem);line-height:1.14;text-wrap:balance;margin:20px 0}.audience-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(9px,1.3vw,20px)}.audience-tile{height:clamp(78px,12.5vh,150px);border-radius:22px;display:grid;place-items:center;transition:all .4s ease}.audience-tile span{font:800 clamp(2rem,3.6vw,4rem)/1 -apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:-.06em}.audience-tile.used{opacity:.28;filter:grayscale(1)}.audience-tile.selected{border-color:#7debaf;background:linear-gradient(145deg,rgba(67,216,128,.38),rgba(27,130,82,.15));box-shadow:0 0 40px rgba(58,215,118,.18)}.audience-grid.has-reveal .audience-tile{height:clamp(65px,9vh,110px)}

/* MC control */
.control-page{min-height:100dvh;display:grid;grid-template-columns:260px minmax(0,1fr);background:radial-gradient(circle at 80% 3%,rgba(123,218,169,.36),transparent 25%),radial-gradient(circle at 0% 90%,rgba(196,232,216,.6),transparent 38%),#edf4ef}.control-sidebar{height:100dvh;position:sticky;top:0;border-radius:0 28px 28px 0;padding:28px 21px;display:flex;flex-direction:column;background:linear-gradient(155deg,rgba(255,255,255,.87),rgba(247,255,250,.68))}.sidebar-top{display:flex;align-items:center;gap:10px;margin:0 0 45px}.sidebar-top .hop-logo{width:85px;height:52px}.sidebar-title{font-size:.64rem;letter-spacing:.11em;line-height:1.5;color:#6b8c7b;font-weight:750}.sidebar-title strong{font-size:.97rem;letter-spacing:-.01em;color:#103e2c}.sidebar-section-label{font-size:.67rem;letter-spacing:.16em;font-weight:800;color:#91a89b;margin:0 0 13px;padding:0 11px}.service-switch{display:flex;gap:4px;background:#e7f0e9;padding:4px;border-radius:13px;margin-bottom:37px}.service-switch button{border:0;background:transparent;border-radius:10px;padding:10px 9px;font-size:.82rem;font-weight:750;color:#6b8e7c;flex:1;white-space:nowrap}.service-switch button.active{background:#fff;box-shadow:0 3px 12px rgba(16,80,51,.11);color:#0a7545}.app-nav{display:grid;gap:8px}.app-nav button{display:flex;align-items:center;gap:12px;border:0;background:transparent;text-align:left;border-radius:13px;padding:14px 12px;font-weight:750;color:#6d887b}.app-nav button.active{background:linear-gradient(135deg,#0a8550,#10a65f);color:white;box-shadow:0 8px 20px rgba(11,142,78,.18)}.app-nav button span{font-size:1.2rem;line-height:1}.sidebar-bottom{margin-top:auto;padding:17px 11px 0;border-top:1px solid #dce9e0}.connection-line{font-size:.8rem;font-weight:750;color:#628e78;display:flex;align-items:center;gap:8px}.status-dot{display:inline-block;width:8px;height:8px;background:#13b867;border-radius:50%;box-shadow:0 0 0 4px rgba(19,184,103,.12)}.status-dot.offline{background:#d18349;box-shadow:0 0 0 4px rgba(209,131,73,.15)}.control-main{min-width:0;padding:36px clamp(24px,3vw,60px) 60px}.control-topbar{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.control-topbar .eyebrow{color:#138452;margin-bottom:7px}.control-topbar h1{font-size:clamp(2.25rem,3.5vw,3.65rem);line-height:1.08;margin:0;color:#092f23}.topbar-actions{display:flex;align-items:center;gap:14px}.live-chip{border:1px solid #dcebe0;background:rgba(255,255,255,.61);border-radius:99px;padding:11px 14px;display:flex;align-items:center;gap:9px;font-size:.78rem;font-weight:750;color:#47765e}.control-content{max-width:1600px}.overview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.metric{border-radius:20px;padding:17px 21px;display:grid;gap:2px}.metric>span{font-size:.65rem;letter-spacing:.14em;font-weight:800;color:#729d85}.metric strong{font:800 2rem/1.15 -apple-system,BlinkMacSystemFont,sans-serif;color:#0e5639;letter-spacing:-.05em}.metric strong.metric-text{font-size:1.35rem;letter-spacing:-.03em;margin:7px 0 3px}.metric small{font-size:.74rem;color:#8caa99}.control-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.85fr);gap:20px}.control-column{display:flex;flex-direction:column;gap:20px;min-width:0}.panel{border-radius:25px;padding:25px;min-width:0}.section-heading{margin-bottom:23px}.section-heading.inline{display:flex;justify-content:space-between;align-items:end;gap:15px}.section-heading .eyebrow{color:#169057;font-size:.66rem}.section-heading h2{font-size:1.42rem;margin:5px 0 4px;color:#123a2c}.section-heading p,.hint{color:#80998a;font-size:.85rem;line-height:1.5;margin:0}.active-question{background:linear-gradient(145deg,#0c4c36,#0c6d43);padding:24px;border-radius:19px;color:white;box-shadow:0 14px 30px rgba(6,94,57,.15)}.question-number{font-size:.67rem;letter-spacing:.15em;color:#a0dbb7;font-weight:800}.active-question h3{font-size:clamp(1.36rem,2.1vw,2.14rem);line-height:1.28;margin:12px 0 18px;color:white}.state-pill{border:1px solid rgba(255,255,255,.22);border-radius:99px;padding:6px 11px;font-size:.75rem;color:#d6f5de}.timer-controls{display:flex;align-items:center;gap:22px;margin:22px 0}.control-timer{width:76px;height:76px;flex:none;display:grid;place-items:center;background:rgba(5,168,89,.12);border:1px solid rgba(5,168,89,.17);border-radius:21px;color:#0b7748;font:800 2.45rem/1 -apple-system,BlinkMacSystemFont,sans-serif}.timer-buttons{display:flex;flex-wrap:wrap;gap:8px}.timer-buttons .btn{font-size:.78rem;padding:.75rem .86rem}.panel-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;border-top:1px solid rgba(53,115,75,.12);padding-top:14px}.empty-question{background:linear-gradient(155deg,rgba(230,250,237,.73),rgba(255,255,255,.5));border:1px solid rgba(4,140,76,.12);padding:27px;border-radius:19px;text-align:center}.question-orb{display:grid;place-items:center;margin:0 auto 14px;width:54px;height:54px;border-radius:18px;background:#d3f3df;color:#078d51;font-size:1.8rem}.empty-question p{color:#658474;max-width:330px;margin:0 auto 20px;line-height:1.55;font-size:.9rem}.score-entry{margin-top:20px;border:1px solid #cde9d6;background:#f5fff8;border-radius:18px;padding:19px}.score-entry h3{margin:0 0 4px;font-size:1.1rem}.score-entry p{font-size:.82rem;color:#799381;margin:0 0 15px}.match-list{display:grid;gap:7px;margin-bottom:15px}.match-row{display:flex;align-items:center;gap:10px;background:#fff;border-radius:10px;padding:11px 13px;font-weight:700;font-size:.87rem}.match-row input{accent-color:#07a45b;width:19px;height:19px}.match-points{margin-left:auto;color:#0da059;font-size:.75rem}.couples-list{display:grid;gap:9px}.couple-card{display:flex;align-items:center;gap:12px;border-radius:16px;padding:12px;background:rgba(255,255,255,.68);box-shadow:none}.couple-avatar{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:12px;background:#e5f4e9;color:#0a8b50;font:800 .85rem -apple-system,BlinkMacSystemFont,sans-serif}.couple-fields{min-width:0;flex:1}.couple-fields label{display:block;font-size:.59rem;font-weight:800;letter-spacing:.12em;color:#8cad97;margin-bottom:3px}.couple-fields input{display:block;width:100%;border:0;background:transparent;outline:0;font-weight:750;color:#173d2d;padding:3px 0}.couple-fields input:focus{border-bottom:1px solid #05a859}.couple-points{text-align:right;display:grid}.couple-points strong{font:800 1.4rem/1 -apple-system,BlinkMacSystemFont,sans-serif;color:#0c7046}.couple-points span{font-size:.61rem;color:#92a997}.standings{display:grid;gap:7px}.standing{display:flex;align-items:center;gap:11px;padding:10px 8px;border-bottom:1px solid #e6eee7}.standing:last-child{border:0}.standing-rank{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#e6f5ea;color:#0c9254;font-size:.75rem;font-weight:800}.standing strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.87rem}.standing>span:last-child{font:800 1.15rem -apple-system,BlinkMacSystemFont,sans-serif;color:#0a7b49}.history-list{max-height:340px;overflow:auto}.history-row{padding:12px 0;border-top:1px solid #e2eee5}.history-title{display:flex;gap:9px;align-items:start}.history-index{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:8px;background:#e6f3e9;color:#0b8b4f;font-size:.7rem;font-weight:800}.history-title strong{display:block;font-size:.79rem;line-height:1.4}.history-title small{display:block;color:#91a497;font-size:.68rem;margin-top:3px}.history-toggles{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0 0 33px}.history-toggle{border:1px solid #dfeae1;border-radius:7px;background:#fff;padding:5px 7px;color:#789181;font-size:.65rem;font-weight:750}.history-toggle.matched{background:#def4e7;border-color:#b6e5c7;color:#0b8d4d}.reset-panel{text-align:right}.tie-entries{display:grid;gap:9px;margin-bottom:20px}.tie-entry{padding:13px;background:#f8fcf8;border:1px solid #e0eee4;border-radius:13px;display:flex;align-items:center;justify-content:space-between;gap:15px}.tie-entry>strong{font-size:.84rem}.tie-selects{display:flex;gap:9px}.tie-selects label{font-size:.65rem;color:#739480;font-weight:700}.tie-selects select{display:block;margin-top:4px;min-width:82px;appearance:none;border:1px solid #d3e6d8;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23237951' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center;background-size:10px;padding:8px 24px 8px 10px;border-radius:9px;color:#16422f}.tie-note{font-size:.73rem;color:#9aac9d;margin:16px 0 0}.tie-people{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.tie-people span{background:#e5f5e9;padding:10px 14px;border-radius:10px;font-weight:700;font-size:.84rem}.winner-control{background:linear-gradient(145deg,rgba(230,255,237,.88),rgba(255,255,255,.54));border-color:#d0ecd6}.audience-control-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:20px}.control-tile-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.control-tile{height:86px;border-radius:17px;border:1px solid #c9e7d3;background:linear-gradient(145deg,#f9fffb,#e7f8ed);color:#0f8550;box-shadow:0 7px 18px rgba(14,99,57,.06),inset 0 1px 0 #fff;font:800 2rem -apple-system,BlinkMacSystemFont,sans-serif;transition:transform .2s ease,box-shadow .2s ease}.control-tile:hover:not(:disabled){transform:translateY(-4px);box-shadow:0 13px 23px rgba(14,99,57,.14)}.control-tile.used{opacity:.35;filter:grayscale(1)}.control-tile.selected{background:#0c9655;color:white}.audience-preview{min-height:180px;display:flex;flex-direction:column;justify-content:center;border:1px solid #d9eee0;background:#f4fff7;border-radius:16px;padding:22px}.audience-preview strong{font:750 1.35rem/1.35 -apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:-.04em}.audience-preview>span{font-size:2rem;color:#05a859}.audience-preview p{color:#789482;font-size:.83rem;line-height:1.5;margin:10px 0 0}.used-list{display:flex;gap:8px;flex-wrap:wrap}.used-list span{padding:8px 11px;border-radius:9px;background:#e4f4e8;color:#088749;font-weight:800}.login-page,.loading-screen{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(circle at 70% 20%,rgba(64,202,117,.33),transparent 34%),linear-gradient(140deg,#e9f4ec,#dcefe3);padding:20px;position:relative;overflow:hidden}.login-glow{position:absolute;width:510px;height:510px;border-radius:50%;border:1px solid rgba(5,168,89,.15);box-shadow:0 0 0 90px rgba(5,168,89,.025),0 0 0 190px rgba(5,168,89,.02);right:-120px;bottom:-180px}.login-card{position:relative;width:min(100%,460px);border-radius:30px;padding:38px}.login-card .hop-logo{width:115px;height:70px}.login-card .eyebrow{display:block;color:#0d9b55;margin:27px 0 9px;font-size:.66rem}.login-card h1{font-size:2.35rem;line-height:1.15;margin:0 0 8px}.login-card p{color:#719080;line-height:1.5;margin-bottom:28px}.login-card label{display:block;font-size:.77rem;font-weight:800;margin-bottom:8px}.login-card input{display:block;width:100%;border:1px solid #cfe6d6;border-radius:14px;padding:14px 16px;background:rgba(255,255,255,.75);margin-bottom:14px}.loading-screen{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;background:#071f1a;color:white;font-weight:700}.loading-screen .hop-logo{width:150px;height:90px}.modal-backdrop{position:fixed;inset:0;z-index:1000;background:rgba(4,27,17,.58);backdrop-filter:blur(12px);display:grid;place-items:center;padding:20px}.modal-backdrop[hidden]{display:none}.modal-card{width:min(100%,420px);border-radius:25px;padding:28px;text-align:center}.modal-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff3e0;color:#ad7120;margin:0 auto 15px;font-weight:900}.modal-card h2{margin:0 0 8px}.modal-card p{line-height:1.5;color:#6b8775;margin-bottom:22px}.modal-actions{display:flex;justify-content:center;gap:9px}
@keyframes pulse{50%{transform:scale(1.075)}}@keyframes spark{50%{transform:scale(1.3) rotate(18deg);opacity:.75}}@keyframes boardsIn{from{opacity:0;transform:translate(-50%,-50%) scale(.65)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes confetti{to{background-position:0 680px,60px 740px,130px 800px}}
@media(max-width:1050px){.control-grid,.audience-control-layout{grid-template-columns:1fr}.control-sidebar{width:230px}.control-page{grid-template-columns:230px 1fr}.question-main h1{font-size:clamp(2.5rem,4.8vw,4.2rem)}}
@media(max-width:720px){.control-page{display:block}.control-sidebar{position:relative;width:100%;height:auto;border-radius:0 0 24px 24px;padding:16px}.sidebar-top{margin-bottom:15px}.sidebar-top .hop-logo{width:75px;height:47px}.sidebar-section-label{display:none}.service-switch{margin:0 0 12px}.app-nav{display:flex}.app-nav button{flex:1;justify-content:center;font-size:.79rem;padding:11px 6px}.sidebar-bottom{display:none}.control-main{padding:24px 16px 40px}.control-topbar{align-items:start;flex-direction:column}.control-topbar h1{font-size:2.3rem}.topbar-actions{width:100%;justify-content:space-between}.overview-grid{gap:7px}.metric{padding:12px}.metric strong{font-size:1.45rem}.metric small{font-size:.64rem}.metric>span{font-size:.58rem}.panel{padding:18px}.tie-entry{display:block}.tie-selects{margin-top:12px}.projection{padding:15px;min-height:100dvh}.projection-header .hop-logo{width:72px;height:44px}.brand-rule{height:30px}.projection-brand{gap:10px}.projection-brand .eyebrow{font-size:.49rem}.service-pill{font-size:.67rem;padding:6px 9px}.fullscreen-button{display:none}.projection-footer{font-size:.5rem}.score-grid{gap:6px;grid-template-columns:repeat(2,1fr)}.score-card{padding:9px 12px;border-radius:13px}.score-name{font-size:.75rem}.score-number{font-size:1.6rem;margin-top:2px}.center-stage h1,.winner-stage h1{font-size:3rem}.center-stage p{font-size:1rem}.question-main h1{font-size:clamp(1.8rem,7vw,3.4rem)}.question-stage{padding:14px 0}.question-counter{font-size:.64rem}.timer-ring{width:95px;height:95px}.audience-grid{grid-template-columns:repeat(4,1fr);gap:7px}.audience-tile,.audience-grid.has-reveal .audience-tile{height:66px;border-radius:13px}.audience-tile span{font-size:1.6rem}.audience-intro h1{font-size:3rem}.audience-reveal h1{font-size:2rem}.audience-stage{padding:10px 0}.audience-intro p,.audience-reveal p{font-size:.9rem}}
@media(max-height:750px) and (min-width:721px){.projection{padding-top:18px;padding-bottom:14px}.projection-header .hop-logo{width:100px;height:60px}.question-stage{padding:5px 0 12px}.question-main h1{font-size:clamp(2.3rem,3.8vw,4.3rem);margin-bottom:12px}.timer-ring{width:102px;height:102px}.score-card{padding:12px 17px}.audience-tile{height:82px}.audience-grid.has-reveal .audience-tile{height:65px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
:fullscreen .projection{cursor:none}
:fullscreen .fullscreen-button{opacity:0;pointer-events:none}
.boards-stage .timer-copy{opacity:0}

.mobile-dock,.mobile-summary,.mobile-signout,.mobile-score-shortcut{display:none}
@media(max-width:720px){
  .control-page{display:block;min-height:100svh;background:radial-gradient(circle at 90% 0%,rgba(94,216,145,.25),transparent 38%),#eaf3ed}
  .control-sidebar{position:sticky;top:0;z-index:30;width:100%;height:auto;padding:calc(8px + env(safe-area-inset-top)) 14px 10px;border-radius:0 0 20px 20px;box-shadow:0 10px 24px rgba(8,68,40,.1);background:rgba(247,255,249,.88)}
  .sidebar-top{margin:0 0 8px;gap:8px}
  .sidebar-top .hop-logo{width:58px;height:38px}
  .sidebar-title{font-size:.6rem;line-height:1.35}
  .sidebar-title strong{font-size:.86rem}
  .service-switch{margin:0;padding:3px;border-radius:12px}
  .service-switch button{min-height:42px;padding:8px 6px;font-size:.86rem}
  .app-nav,.sidebar-section-label,.sidebar-bottom{display:none}
  .control-main{padding:16px 14px calc(110px + env(safe-area-inset-bottom))}
  .control-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;margin-bottom:9px}
  .control-topbar .eyebrow{font-size:.67rem;letter-spacing:.09em;line-height:1.35;margin-bottom:4px}
  .control-topbar h1{font-size:clamp(1.5rem,7vw,1.92rem);line-height:1.1;letter-spacing:-.055em}
  .topbar-actions{width:auto;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
  .topbar-actions .btn{min-height:38px;padding:7px 10px;border-radius:11px;font-size:.73rem}
  .live-chip{display:none}
  .mobile-signout{display:inline-block;border:0;background:none;color:#577c67;font-weight:700;font-size:.72rem;padding:3px 4px}
  .mobile-summary{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 14px;color:#527d65;font-size:.75rem;font-weight:700}
  .mobile-summary .status-dot{width:7px;height:7px}
  .mobile-summary .summary-divider{color:#9db8a5}
  .overview-grid{display:none}
  .control-grid,.audience-control-layout{display:flex;flex-direction:column;gap:12px}
  .control-column{gap:12px}
  .panel{padding:17px;border-radius:20px;scroll-margin-top:146px}
  .section-heading{margin-bottom:14px}
  .section-heading h2{font-size:1.3rem;margin:4px 0}
  .section-heading p,.hint{font-size:.85rem}
  .section-heading.inline{display:block}
  .section-heading.inline .hint{display:block;margin-top:5px}
  .active-question{padding:17px;border-radius:16px}
  .active-question h3{font-size:1.5rem;line-height:1.25;margin:9px 0 12px}
  .question-number{font-size:.7rem}
  .timer-controls{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;align-items:start;margin:14px 0}
  .control-timer{width:64px;height:64px;font-size:2rem;border-radius:16px}
  .timer-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .timer-buttons .btn{min-height:47px;padding:8px 5px;font-size:.81rem;white-space:normal;text-align:center;border-radius:12px}
  .timer-buttons .btn.primary{grid-column:1/-1}
  .mobile-score-shortcut{display:block;width:100%;min-height:46px;margin:0 0 12px;border:1px solid #b9e3c8;border-radius:12px;background:#e7f7ec;color:#087d49;font-weight:800}
  .score-entry{margin-top:14px;padding:15px;scroll-margin-top:146px}
  .score-entry h3{font-size:1.1rem}
  .score-entry p{font-size:.85rem}
  .match-row{min-height:52px;font-size:1rem;padding:11px}
  .match-row input{width:22px;height:22px}
  .match-points{font-size:.75rem}
  .score-entry .btn{min-height:52px}
  .panel-actions{gap:8px;flex-wrap:wrap}
  .panel-actions .btn{min-height:44px;font-size:.82rem}
  .couple-card{min-height:61px}
  .couple-fields input{font-size:1rem;min-height:30px}
  .couple-fields label{font-size:.68rem}
  .standing{min-height:48px}
  .standing strong{font-size:.95rem}
  .history-list{max-height:none}
  .history-toggle{min-height:38px;font-size:.76rem;padding:7px 9px}
  .control-tile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
  .control-tile{height:72px;font-size:1.75rem}
  .audience-preview{min-height:130px}
  .tie-selects label{font-size:.78rem}
  .tie-selects select{min-height:44px;font-size:1rem}
  .mobile-dock{position:fixed;left:0;right:0;bottom:0;z-index:50;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:8px 8px calc(8px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;background:rgba(248,255,250,.93);box-shadow:0 -12px 35px rgba(7,53,29,.13)}
  .mobile-dock button,.mobile-dock a{border:0;background:transparent;color:#6e8a78;min-height:55px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:13px;font-size:.71rem;font-weight:800;line-height:1.1;white-space:nowrap}
  .mobile-dock .current{background:#e1f5e8;color:#087d49}
  .mobile-dock .dock-icon{font-size:1.25rem;line-height:1}
  .login-card{padding:28px;border-radius:24px}
  .login-card input{font-size:1rem;min-height:52px}
  .login-card .btn{min-height:52px}
}
