/* Shared quiz tokens and components; no global changes to the team portal. */
:root{--hq-bg:#0d1527;--hq-card:#162238;--hq-yellow:#f5b000;--hq-glow:rgba(245,176,0,.35);--hq-text:#ffffff;--hq-muted:#94a3b8;--hq-radius-control:30px;--hq-radius-card:16px;--hq-border:#364359;--hq-focus:0 0 15px var(--hq-glow)}
.hq-theme,.hk,#lqGuestInvite,.lq:has(.lq-podium){
 --hq-bg:#0d1527;--hq-card:#162238;--hq-yellow:#f5b000;--hq-glow:rgba(245,176,0,.35);
 --hq-text:#ffffff;--hq-muted:#94a3b8;--hq-radius-control:30px;--hq-radius-card:16px;
 --hq-border:#364359;--hq-focus:0 0 15px var(--hq-glow);--hk-muted:var(--hq-muted);
 color:var(--hq-text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
.hq-theme{background:var(--hq-bg);min-height:100dvh;margin:0;padding:clamp(16px,4vw,48px);line-height:1.6}
.hq-theme *{box-sizing:border-box}.hq-container{max-width:1080px;margin:auto}.hq-panel{background:var(--hq-card);border:1px solid var(--hq-border);border-radius:var(--hq-radius-card);padding:clamp(20px,4vw,40px);margin:24px 0}.hq-icon{width:32px;height:32px;flex:none;vertical-align:middle}.hq-muted{color:var(--hq-muted)}
.hq-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:var(--hq-radius-card);padding:clamp(28px,5vw,64px);min-height:290px;display:flex;flex-direction:column;justify-content:end;background:var(--hq-bg)}
.hq-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(13,21,39,.92),rgba(13,21,39,.2)),linear-gradient(0deg,#0d1527 0,rgba(13,21,39,.1) 90%),url('/kiosk/preparedness-hero.png') center 43%/cover no-repeat}
.hq-hero h1,.hq-hero h2{font-size:clamp(30px,4vw,48px);line-height:1.15;letter-spacing:-.03em;margin:0 0 18px;color:var(--hq-text)}.hq-hero h1 strong,.hq-hero h2 strong{color:var(--hq-yellow);font-weight:800}.hq-hero p{color:#bac7d9;max-width:520px;margin:0}
.hq-checklist{display:flex;flex-wrap:wrap;list-style:none;gap:12px 28px;padding:0;margin:24px 0;color:#ccd6e5;font-size:14px}.hq-checklist li{display:flex;align-items:center;gap:8px}.hq-checklist .hq-icon{width:17px;height:17px;color:var(--hq-yellow)}
.hq-input{background:var(--hq-card);border:1px solid var(--hq-border);border-radius:var(--hq-radius-control);min-height:56px;padding:15px 22px;color:var(--hq-text);font:inherit;width:100%}.hq-input::placeholder{color:var(--hq-muted)}.hq-input:focus{outline:none;border-color:var(--hq-yellow);box-shadow:var(--hq-focus)}
.hq-button{display:inline-flex;justify-content:center;align-items:center;gap:16px;min-height:58px;padding:16px 30px;border:0;border-radius:var(--hq-radius-control);background:var(--hq-yellow);color:#000;font:800 18px/1.4 Inter,system-ui,sans-serif;text-decoration:none;cursor:pointer;touch-action:manipulation;transition:box-shadow .2s,background .2s}.hq-button:hover{box-shadow:0 0 24px var(--hq-glow);background:#ffc329}.hq-button:focus-visible{outline:3px solid white;outline-offset:4px}.hq-button-wide{width:100%;min-height:74px;font-size:23px}
.hq-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hq-option{position:relative;cursor:pointer}.hq-option>input{position:absolute;opacity:0;width:1px;height:1px}.hq-option-body{height:100%;min-height:180px;display:flex;flex-direction:column;gap:14px;padding:24px;background:var(--hq-card);border:1px solid var(--hq-border);border-radius:var(--hq-radius-card);box-shadow:inset 0 0 0 1px transparent}.hq-option-body b{font-size:19px}.hq-option-body small{color:var(--hq-muted)}.hq-option>input:checked+.hq-option-body{border-color:var(--hq-yellow);box-shadow:inset 0 0 0 1px var(--hq-yellow),0 0 28px rgba(245,176,0,.1);background:radial-gradient(ellipse at 0 0,rgba(245,176,0,.1),transparent 80%),var(--hq-card)}.hq-option>input:checked+.hq-option-body .hq-icon{color:var(--hq-yellow)}.hq-option>input:focus-visible+.hq-option-body{outline:3px solid #fff;outline-offset:4px}
/* Adapt existing gameplay without changing its scoring or timers. */
.hk{background:var(--hq-bg);color:var(--hq-text)}.hk-card{background:var(--hq-card);border-radius:var(--hq-radius-card);border-color:var(--hq-border);box-shadow:0 20px 60px #0003}.hk-brand .hk-mark{background:var(--hq-yellow);border-radius:16px;color:#000}.hk-eyebrow,.hk-score,.hk-result-icon{color:var(--hq-yellow)}.hk h1 span{color:inherit;font-weight:inherit}.hk h1 strong{color:var(--hq-yellow)}.hk .hq-hero{margin:calc(clamp(22px,4vw,48px)*-1) calc(clamp(22px,4vw,48px)*-1) 0;border-radius:16px 16px 0 0}.hk .hq-hero h1 span{display:block;color:white;font-size:.7em;margin-top:12px}.hk .hq-hero p{color:#bac7d9!important}.hk .hk-name input{background:var(--hq-card);border-radius:30px;border-color:var(--hq-border)}.hk .hk-name input:focus{outline:none;border-color:var(--hq-yellow);box-shadow:0 0 15px var(--hq-glow)}.hk input::placeholder{color:var(--hq-muted)}.hk-mode-content{background:var(--hq-card);border-radius:16px;border:1px solid var(--hq-border);box-shadow:inset 0 0 0 1px transparent}.hk-mode input:checked+.hk-mode-content{border-color:var(--hq-yellow);background:radial-gradient(ellipse at 0 0,rgba(245,176,0,.12),transparent 80%),var(--hq-card);box-shadow:inset 0 0 0 1px var(--hq-yellow),0 0 28px rgba(245,176,0,.12)}.hk-mode-icon{color:white}.hk-mode-icon .hq-icon{width:36px;height:36px}.hk-mode input:checked+.hk-mode-content .hk-mode-icon,.hk-selected{color:var(--hq-yellow)}.hk .hk-primary{border-radius:30px;background:var(--hq-yellow)!important;color:#000!important;box-shadow:none}.hk .hk-primary:hover{background:#ffc329!important;box-shadow:0 0 24px var(--hq-glow)}.hk .hk-answer{border-radius:30px;background:var(--hq-card);border-width:1px}.hk .hk-answer:hover:not(:disabled){border-color:var(--hq-yellow);box-shadow:0 0 15px var(--hq-glow)}.hk .hk-answer.hk-correct{background:#123e35;border-color:#41ce9b}.hk .hk-answer.hk-wrong{background:#482a36;border-color:#ff8e93}.hk .hk-feedback,.hk .hk-clock{border-radius:16px;background:var(--hq-card)}.hk .hk-clock-urgent{border-color:#ff8e93}.hk progress{accent-color:var(--hq-yellow)}
.hq-rank-wrap{overflow-x:auto;margin:24px 0}.hq-table{width:100%;border-collapse:collapse;min-width:420px;text-align:left}.hq-table th{color:var(--hq-muted);font-size:12px;letter-spacing:.08em;text-transform:uppercase}.hq-table th,.hq-table td{padding:16px;border-bottom:1px solid var(--hq-border)}.hq-table tbody tr:first-child td:first-child{color:var(--hq-yellow);font-weight:800}.hq-rank-score{color:var(--hq-yellow);font-weight:800;font-variant-numeric:tabular-nums}.hq-rank-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.hk-name select{display:block;margin-top:10px;max-width:100%;white-space:normal;padding-right:32px}.hk-topic-tag{color:var(--hq-yellow);font-size:13px;margin:0 0 14px}.hk-name select option{background:var(--hq-card);color:white}
/* The public invitation uses the same photo, tokens and controls. */
#lqGuestInvite.lq-invite{background:#0d1527;border-radius:16px;border-color:#364359;box-shadow:0 28px 100px #0009;color:#fff;width:min(900px,calc(100vw - 32px));font-family:Inter,system-ui,sans-serif}
#lqGuestInvite.lq-invite[open]{grid-template-columns:1fr}#lqGuestInvite .lq-invite-art{display:none}#lqGuestInvite .lq-invite-copy{background:linear-gradient(0deg,#0d1527 35%,rgba(13,21,39,.5)),url('/kiosk/preparedness-hero.png') center top/cover no-repeat;padding:clamp(28px,6vw,64px);padding-top:140px}#lqGuestInvite h2{color:#fff;font-size:clamp(30px,4vw,44px)}#lqGuestInvite h2 em{color:#f5b000;font-style:normal}#lqGuestInvite .lq-invite-features{display:flex;gap:16px;flex-wrap:wrap}#lqGuestInvite .lq-invite-features span{background:none;border:0;padding:0;display:flex;align-items:center;gap:7px;color:#cbd5e1;font-size:14px}#lqGuestInvite .lq-invite-features svg{width:17px;height:17px;color:#f5b000}#lqGuestInvite .lq-invite-start{background:#f5b000;color:#000;border:0;border-radius:30px;min-height:68px;font-size:20px;box-shadow:none}#lqGuestInvite .lq-invite-start:hover{box-shadow:0 0 24px rgba(245,176,0,.35)}#lqGuestInvite .lq-invite-skip{border-radius:30px;color:#cbd5e1}#lqGuestInvite .lq-invite-note,#lqGuestInvite #lqInviteDescription{color:#94a3b8}#lqGuestInvite .lq-invite-close{background:#162238;border-color:#364359;color:white}
.lq:has(.lq-podium) .panel{background:var(--hq-card)!important;color:white;border-radius:16px}.lq:has(.lq-podium) button,.lq:has(.lq-podium) select{border-radius:30px}.lq:has(.lq-podium) .lq-podium>div{background:var(--hq-card);border:1px solid var(--hq-border);border-radius:16px}.lq:has(.lq-podium) .lq-podium strong{color:var(--hq-yellow)}
@media(max-width:700px){.hq-grid{grid-template-columns:1fr}.hq-hero{min-height:250px}.hq-checklist{display:grid;gap:10px}.hk .hk-card{border-radius:16px}.hk .hq-hero{padding:28px 22px;min-height:280px}.hk .hq-hero::before{background-position:center,center,65% 35%}.hk .hq-hero h1{font-size:32px}.hq-table th,.hq-table td{padding:12px}#lqGuestInvite .lq-invite-copy{padding-top:110px}}
@media(prefers-reduced-motion:reduce){.hq-theme *,.hk *{transition:none!important}}
