@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#00395f;background:#f1fafe;font-synthesis:none;--red:#00a0dd;--muted:#888b83;--line:#e8e8e1}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{opacity:.45;cursor:default}button,.button{transition:background .15s,transform .15s}button:hover:not(:disabled){filter:brightness(.96)}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}h1,h2,h3,.brand{font-family:'Outfit',sans-serif}h1{font-size:34px;letter-spacing:-1.1px}h2{font-size:25px;letter-spacing:-.5px}small,.muted{color:var(--muted)}.shell{display:grid;grid-template-columns:232px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:35px 22px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:232px}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:28px;letter-spacing:-1px}.logo{background:var(--red);width:35px;height:33px;border-radius:7px;display:grid;grid-template-columns:repeat(2,7px);gap:5px;align-content:center;justify-content:center;box-shadow:inset 0 -4px #b83629}.logo i{background:#f88776;border-radius:50%;width:7px;height:7px;box-shadow:0 1px 1px #a82f26}.workspace{font-size:10px;letter-spacing:1.8px;color:#a2a49b;margin:45px 12px 18px}.nav{padding:13px 15px;border-radius:8px;color:#777c73;margin:4px 0;display:flex;gap:13px;align-items:center;font-size:14px}.nav.active{background:#fcf0eb;color:#cb4938;font-weight:700}.side-bottom{margin-top:auto}.tip{background:#faf8f0;border:1px solid #efeadc;border-radius:10px;padding:17px;font-size:12px;line-height:1.7;color:#858275;margin-bottom:22px}.tip strong{display:block;color:#5e5e54;margin-bottom:5px}.avatar{display:flex;gap:11px;align-items:center;font-size:12px;padding:14px 4px;border-top:1px solid var(--line)}.avatar b{display:grid;place-items:center;background:#eae9de;border-radius:50%;width:35px;height:35px}.main{grid-column:2;padding:30px 44px;max-width:1600px;width:100%;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px;font-size:12px;color:#8c8e86}.topbar span{display:flex;gap:9px;align-items:center}.dot{width:7px;height:7px;background:#58a67b;border-radius:50%;display:inline-block}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.heading p{font-size:14px;color:#85877f;margin-top:8px}.btn{border-radius:7px;padding:12px 18px;font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;color:#4b4e46;border:1px solid #e1e2db}.btn.primary{background:var(--red);color:#fff;border-color:var(--red);box-shadow:0 3px 0 #c6382a}.btn.dark{background:#292e2b;color:#fff;border:0}.btn.small{padding:8px 12px;font-size:12px}.hero{position:relative;background:#f0e3cf url('/assets/brick-trophy.png') center 52%/cover;border:1px solid #eae0cb;border-radius:13px;min-height:216px;overflow:hidden;margin-bottom:25px}.hero-copy{padding:32px;position:relative;max-width:53%;background:linear-gradient(90deg,#f8e8d2ee,#f8e8d200)}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.7px;text-transform:uppercase;color:#9c7d4a;display:block;margin-bottom:10px}.hero h2{font-size:30px;line-height:1.15}.hero p{font-size:12px;line-height:1.7;color:#8c775c;margin:12px 0 18px;max-width:270px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:30px}.stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:21px;display:flex;align-items:center;gap:16px}.stat-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:10px;background:#f9eee5;font-size:21px;color:#c48d54}.stat:nth-child(2) .stat-icon{background:#edf2f8;color:#5984b4}.stat:nth-child(3) .stat-icon{background:#eef3e9;color:#84a266}.stat strong{font-family:Outfit;font-size:27px;display:block;line-height:1.1}.stat small{font-size:11px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.section-head h2{font-size:20px}.tabs{display:flex;border-bottom:1px solid var(--line);gap:25px;margin-bottom:22px}.tab{padding:0 0 13px;background:none;color:#8c8f84;font-size:12px;border-bottom:2px solid transparent}.tab.active{border-color:var(--red);color:var(--red);font-weight:700}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.game-card{border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden}.card-art{height:126px;position:relative;background:#f4dfbe url('/assets/brick-trophy.png') center 57%/cover}.card-art.blue{background-color:#dce8f2;background-blend-mode:luminosity}.card-art.green{background-color:#e2ead7;background-blend-mode:luminosity}.badge{border-radius:5px;padding:5px 9px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.6px;background:#fff;color:#6b705f;display:inline-block}.card-art .badge{position:absolute;top:13px;left:14px}.badge.open{background:#e8f6ec;color:#2f8a57}.badge.revealed{background:#edf0fb;color:#5c70ac}.card-body{padding:19px}.card-body h3{font-size:18px;margin-bottom:8px}.meta{font-size:11px;color:#96998e;display:flex;gap:14px;margin-bottom:23px}.card-footer{border-top:1px solid #f0f0eb;padding-top:14px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#93968c}.new-card{min-height:286px;border:1px dashed #d8d9d0;border-radius:11px;background:transparent;display:grid;place-content:center;text-align:center;gap:9px;color:#9b9e91;font-size:12px}.new-card b{font-size:30px;font-weight:400;color:#b5b9aa}.new-card strong{color:#646b5c}.footer{display:flex;justify-content:space-between;color:#a2a598;font-size:10px;margin-top:35px;padding-top:22px;border-top:1px solid var(--line)}.host-grid{display:grid;grid-template-columns:1fr 290px;gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:25px;margin-bottom:20px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.question-title{font-size:28px;margin:15px 0 25px;line-height:1.3}.option-result{padding:14px 16px;border:1px solid var(--line);border-radius:8px;margin:10px 0;font-size:14px;position:relative;overflow:hidden;display:flex;justify-content:space-between}.option-result.correct{border-color:#74ad80;background:#f1f8ef}.option-result .bar{position:absolute;inset:0 auto 0 0;background:#edf0e8;z-index:0}.option-result span{position:relative;z-index:1}.actions{display:flex;gap:10px;margin-top:24px;flex-wrap:wrap}.qr{text-align:center}.qr img{width:160px;height:160px;margin:16px auto}.code{font-family:Outfit;font-size:32px;font-weight:600;letter-spacing:5px}.question-row{display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);padding:15px 0;font-size:13px}.question-row .num{width:28px;height:28px;border-radius:6px;background:#f2f2ec;display:grid;place-items:center;font-size:12px}.question-row.current .num{background:var(--red);color:white}.question-row .grow{flex:1}.question-row small{display:block;font-size:10px;margin-top:3px}.leader-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:13px 0;font-size:13px}.leader-row strong{margin-left:auto}.empty{padding:30px 12px;text-align:center;color:#95988d;font-size:13px;line-height:1.8}.phone-wrap{max-width:500px;margin:0 auto;min-height:100vh;padding:25px 23px}.phone-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:28px}.score{background:#fff0ce;color:#8f702a;border-radius:20px;padding:9px 13px;font-weight:700;font-size:12px}.player-hero{height:180px;background:url('/assets/brick-trophy.png') center/cover;border-radius:12px;margin-bottom:25px}.phone-wrap h1{font-size:32px;margin-bottom:12px}.phone-wrap p{font-size:14px;line-height:1.7;color:#8b8f80}.field{display:block;font-size:12px;font-weight:600;margin:18px 0 7px}input,textarea,select{width:100%;padding:13px;border:1px solid #dfe1d7;border-radius:7px;background:#fff;color:#30352b}textarea{resize:vertical;min-height:90px}.full{width:100%;margin-top:22px;min-height:47px}.answer-option{width:100%;display:flex;align-items:center;gap:14px;text-align:left;padding:18px;border:1px solid #dedfd7;border-radius:9px;background:#fff;margin:12px 0;font-size:14px}.answer-option b{background:#f2f2ec;padding:7px 10px;border-radius:5px;font-size:12px;color:#858a7b}.answer-option.selected{border-color:var(--red);background:#fff1e9}.answer-option.selected b{background:var(--red);color:#fff}.notice{padding:16px;background:#eaf1e4;border-radius:9px;font-size:13px;color:#5c7650;line-height:1.7;margin-top:25px}.ranking-row{display:flex;align-items:center;gap:10px;background:white;padding:12px;margin:10px 0;border:1px solid var(--line);border-radius:8px}.ranking-row span{flex:1}.ranking-row button{background:#f2f2eb;border-radius:4px;padding:8px}.big-score{font-family:Outfit;font-size:65px;font-weight:800;margin:20px 0;color:#c99c2a}.center{text-align:center}.login{max-width:410px;margin:10vh auto}.login .brand{margin-bottom:28px}dialog{border:1px solid var(--line);border-radius:14px;padding:28px;width:560px;max-width:calc(100vw - 30px);max-height:90vh}dialog::backdrop{background:#252b2355;backdrop-filter:blur(3px)}dialog h2{margin-bottom:10px}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head button{background:none;font-size:24px;color:#8c9285}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#2b3229;color:white;padding:13px 22px;border-radius:8px;font-size:13px;z-index:99;display:none}.presentation .sidebar,.presentation .topbar{display:none}.presentation .main{grid-column:1;max-width:1400px}.presentation .shell{display:block}.presentation .question-title{font-size:42px}.search{max-width:200px;padding:9px 12px;font-size:12px}.error{color:#bd382a;font-size:13px;margin-top:15px}
@media(min-width:1500px){.main{padding:35px 65px}.hero{min-height:250px}.card-art{height:155px}}@media(max-width:1100px){.sidebar{width:190px;padding:30px 15px}.shell{grid-template-columns:190px 1fr}.main{padding:25px}.game-grid{grid-template-columns:repeat(2,1fr)}.host-grid{grid-template-columns:1fr 240px}.hero-copy{max-width:60%}}@media(max-width:760px){.sidebar{position:static;width:auto;padding:16px 20px;flex-direction:row;align-items:center;gap:20px;border-bottom:1px solid var(--line)}.sidebar .workspace,.side-bottom,.sidebar .nav:not(.active){display:none}.sidebar .nav{margin-left:auto;font-size:12px}.brand{font-size:25px}.shell{display:block}.main{padding:22px 18px}.topbar{margin-bottom:23px}.heading{gap:10px;align-items:flex-start}h1{font-size:27px}.heading p{font-size:12px}.heading .btn{padding:10px;font-size:11px;white-space:nowrap}.hero{min-height:210px;background-position:57% center}.hero-copy{padding:23px;max-width:70%;background:linear-gradient(90deg,#f8e8d2,#f8e8d2bb,#f8e8d200)}.hero h2{font-size:25px}.hero p{max-width:200px}.stats{gap:8px}.stat{padding:13px 10px;gap:8px}.stat-icon{display:none}.stat strong{font-size:23px}.stat small{font-size:10px}.game-grid{grid-template-columns:1fr}.host-grid{display:block}.footer{font-size:9px}.search{max-width:140px}.question-title{font-size:25px}.presentation .question-title{font-size:30px}}
.qr-screen{min-height:100vh;padding:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:36px}.qr-brand .brand{font-size:30px}.qr-rooms{display:flex;justify-content:center;flex-wrap:wrap;gap:32px;max-width:1200px}.qr-room{text-align:center;background:white;padding:28px;border:1px solid var(--line);border-radius:14px;max-width:100%}.qr-room h1{font-size:23px;margin-bottom:20px}.qr-room img{display:block;width:320px;max-width:100%;height:auto}@media(max-width:480px){.qr-screen{padding:20px}.qr-room{padding:20px}.qr-room img{width:280px}}
.host-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.live-panel>.actions{position:sticky;bottom:12px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:10px;z-index:5;box-shadow:0 6px 20px #292a2812}.live-panel [data-action]{min-height:48px}.remote-host .sidebar,.remote-host .topbar,.remote-host .footer,.remote-host .session-questions,.remote-host .host-grid>aside,.remote-host #present{display:none}.remote-host .shell{display:block}.remote-host .main{max-width:620px;padding:18px 18px 115px}.remote-host .host-grid{display:block}.remote-host .live-panel>.actions{position:fixed;bottom:0;left:0;right:0;margin:0;border-radius:14px 14px 0 0;padding:15px 18px calc(15px + env(safe-area-inset-bottom));box-shadow:0 -5px 24px #292a2814}.remote-host .live-panel>.actions .primary{flex:1;font-size:16px}.remote-host .live-panel>.center>[data-action]{width:100%;min-height:58px;font-size:17px}.remote-host .question-title{font-size:27px}.remote-host .heading p{display:none}.remote-host .host-toolbar .btn{font-size:12px;min-height:44px}.remote-host .host-toolbar{gap:8px}.remote-host .heading{margin-bottom:20px}.remote-host .live-panel{padding:20px}.remote-host .live-panel .option-result{min-height:48px}.remote-host .live-panel>.panel-head{margin-bottom:20px}
@media(max-width:760px){.host-toolbar .btn{min-height:44px}.live-panel>.actions{bottom:8px}.live-panel>.actions .primary{flex:1}.question-row .grow{min-width:0;overflow-wrap:anywhere}}
.question-points,.phone-wrap p.question-points{font-family:'Outfit',sans-serif;font-size:18px;font-weight:600;color:#b77c20;margin:12px 0 8px;line-height:1.4}
.answer-explanation,.phone-wrap p.answer-explanation{margin-top:12px;font-size:15px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:#516849}
.practice-banner{background:#fff1b8!important;color:#654700!important;border:2px solid #d6a400;font-size:15px;font-weight:800;letter-spacing:.3px;padding:16px!important}.practice-mode .live-panel{border:2px solid #dfb53e}.practice-mode .live-panel>.practice-controls,.practice-mode.remote-host .live-panel>.practice-controls{position:sticky;top:0;bottom:auto;left:auto;right:auto;margin:0 0 22px;padding:12px;background:#fff6d6;border:1px solid #e1c167;border-radius:9px;box-shadow:0 4px 12px #292a2814;z-index:10}.practice-mode.remote-host .main{padding-bottom:25px}.practice-answer{padding:18px 0;margin-bottom:20px;border-bottom:1px solid var(--line)}.practice-answer>p{font-size:13px;line-height:1.7;margin:10px 0;overflow-wrap:anywhere}.practice-answer .answer-option{min-height:52px}.practice-mode .badge{background:#fff0ad;color:#765500}
.game-start-graphic{display:block;width:100%;max-height:300px;object-fit:contain;background:#f2f0e9;border-radius:10px;margin:0 auto 24px}.phone-wrap>.game-start-graphic{height:210px}.shared-leaderboard{max-width:900px;margin:auto;padding:32px 24px}.shared-leaderboard .leader-row{font-size:20px;padding:22px 6px}.shared-leaderboard .leader-row:first-child{font-size:25px;color:var(--red)}.ongoing-leaderboard{margin-top:28px}.remote-host .game-start-graphic{max-height:220px}
/* BAM brand palette: primary blue/yellow, secondary navy/orange/ice. */
:root{--bam-blue:#00a0dd;--bam-yellow:#ffce02;--bam-navy:#00395f;--bam-orange:#f99c24;--bam-ice:#f1fafe;--red:var(--bam-blue);--muted:#496b80;--line:#d5e9f2;accent-color:var(--bam-blue)}
body{background:var(--bam-ice);color:var(--bam-navy)}h1,h2,h3,h4,.brand{color:var(--bam-navy)}.logo{background:var(--bam-blue);box-shadow:inset 0 -4px #00395f}.logo i{background:var(--bam-yellow);box-shadow:0 1px 1px #00395f55}.sidebar{border-color:var(--line)}.workspace,.nav,.topbar,.heading p,.muted,small,.meta,.card-footer,.footer{color:var(--muted)}.nav.active{background:var(--bam-ice);color:var(--bam-navy);box-shadow:inset 3px 0 var(--bam-blue)}.btn{color:var(--bam-navy);border-color:var(--line)}.btn.primary{background:var(--bam-blue);border-color:var(--bam-blue);color:white;box-shadow:0 3px 0 var(--bam-navy)}.btn.dark{background:var(--bam-navy);color:white}.tab.active{color:var(--bam-navy);border-color:var(--bam-yellow);border-bottom-width:3px}.tab{color:var(--muted)}.hero{border-color:var(--line)}.hero-copy{background:linear-gradient(90deg,#f1fafef5,#f1fafed9,#f1fafe00)}.hero h2{color:var(--bam-navy)}.hero p,.eyebrow{color:var(--bam-navy)}.hero .eyebrow{display:inline-block;background:var(--bam-yellow);padding:6px 8px;border-radius:4px;font-size:9px}.stat .stat-icon,.stat:nth-child(2) .stat-icon{background:var(--bam-ice);color:var(--bam-blue)}.stat:nth-child(3) .stat-icon{background:#fff6ce;color:var(--bam-navy)}.badge,.badge.open,.badge.revealed{background:var(--bam-ice);color:var(--bam-navy)}.badge.open{border:1px solid var(--bam-blue)}.badge.revealed{background:var(--bam-yellow)}.tip{background:var(--bam-ice);border-color:var(--line);color:var(--muted)}.tip strong{color:var(--bam-navy)}.avatar b{background:var(--bam-yellow);color:var(--bam-navy)}.new-card{border-color:#9fcddd;color:var(--muted)}.new-card b{color:var(--bam-blue)}.new-card strong{color:var(--bam-navy)}.dot{background:var(--bam-blue)}.score{background:var(--bam-yellow);color:var(--bam-navy)}.big-score{color:var(--bam-navy)}.notice{background:var(--bam-ice);color:var(--bam-navy);border:1px solid var(--line);border-left:4px solid var(--bam-blue)}.answer-option.selected{border-color:var(--bam-blue);background:var(--bam-ice);box-shadow:inset 3px 0 var(--bam-blue)}.answer-option.selected b{background:var(--bam-blue);color:white}.answer-option b,.ranking-row button,.question-row .num{background:var(--bam-ice);color:var(--bam-navy)}.question-row.current .num{background:var(--bam-blue);color:white}.option-result.correct{background:#fff6ce;border-color:var(--bam-yellow)}.option-result .bar{background:#e5f6fc}.question-points,.phone-wrap p.question-points{color:var(--bam-navy);border-left:4px solid var(--bam-orange);padding-left:10px}.answer-explanation,.phone-wrap p.answer-explanation{color:var(--bam-navy)}.phone-wrap p{color:var(--muted)}input,textarea,select{color:var(--bam-navy);border-color:var(--line)}input:focus,textarea:focus,select:focus{outline-color:var(--bam-blue)}.game-start-graphic{background:var(--bam-ice)}.practice-banner{background:var(--bam-yellow)!important;color:var(--bam-navy)!important;border-color:var(--bam-navy)}.practice-mode .live-panel{border-color:var(--bam-yellow)}.practice-mode .badge{background:var(--bam-yellow);color:var(--bam-navy)}.practice-mode .live-panel>.practice-controls,.practice-mode.remote-host .live-panel>.practice-controls{background:var(--bam-yellow);border-color:var(--bam-orange)}#toast{background:var(--bam-navy)}
.minifig-feedback{max-width:210px;margin:6px auto 10px}.minifig-feedback svg{display:block;width:100%;height:auto}.phone-wrap .result-title{text-align:center;font-size:34px;line-height:1.2;margin-bottom:18px}.phone-wrap .result-title+.big-score{text-align:center;font-size:52px}.submission-locked{text-align:center;padding:20px 0 10px}.phone-wrap .submission-locked h1{font-size:40px;line-height:1.15;margin:20px 0 15px}.phone-wrap .submission-locked>p{font-size:21px;color:var(--bam-navy)}.locked-check{width:92px;height:92px;display:grid;place-items:center;margin:20px auto;background:var(--bam-yellow);color:var(--bam-navy);font-size:52px;font-weight:700;border-radius:24px}.phone-wrap .submission-locked .notice{font-size:17px;line-height:1.65;text-align:left}.phone-wrap .answer-option{font-size:18px;line-height:1.45;min-height:64px}.phone-wrap #typed-answer{font-size:22px;min-height:60px}.phone-wrap #submit{font-size:19px;min-height:58px}.phone-wrap .panel>h3{font-size:24px}.phone-wrap .panel .answer-explanation{font-size:19px}.phone-wrap .panel>p{font-size:17px!important}.phone-wrap .ranking-row{font-size:18px}.phone-wrap .ranking-row button{min-width:44px;min-height:44px;font-size:21px}
.with-pinned-leaderboard{padding-bottom:calc(min(220px, 30dvh) + env(safe-area-inset-bottom) + 30px)}.pinned-leaderboard{position:fixed;z-index:20;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:500px;height:min(220px,30dvh);padding:12px 20px calc(8px + env(safe-area-inset-bottom));box-sizing:content-box;background:white;border-top:4px solid var(--bam-yellow);box-shadow:0 -5px 25px #00395f18;display:flex;flex-direction:column;border-radius:14px 14px 0 0}.pinned-leaderboard-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:9px;flex-shrink:0}.pinned-leaderboard-head h3{font-size:19px}.pinned-leaderboard-head small{font-size:11px;text-align:right}.pinned-leaderboard-rows{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.pinned-leaderboard .leader-row{font-size:16px;padding:9px 0;min-height:42px}.pinned-leaderboard .leader-row>span:nth-child(2){overflow-wrap:anywhere;min-width:0;flex:1}.pinned-leaderboard .leader-row strong{white-space:nowrap}.pinned-leaderboard .leader-row:first-child{color:var(--bam-blue)}@media(max-width:540px){.pinned-leaderboard{max-width:none;width:100%;box-sizing:border-box;height:calc(min(220px,30dvh) + env(safe-area-inset-bottom));padding:12px 18px calc(8px + env(safe-area-inset-bottom))}}
.minifig-feedback img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
/* Fit the active phone game before falling back to normal page scrolling. */
.with-pinned-leaderboard{--board-height:clamp(104px,18dvh,148px);padding:12px 18px calc(var(--board-height) + env(safe-area-inset-bottom) + 14px);min-height:100dvh}.with-pinned-leaderboard .phone-top{padding-bottom:10px;margin-bottom:14px}.with-pinned-leaderboard .brand{font-size:24px;gap:7px}.with-pinned-leaderboard .logo{width:30px;height:29px}.with-pinned-leaderboard .score{padding:7px 10px}.with-pinned-leaderboard .eyebrow{font-size:10px;margin-bottom:8px}.with-pinned-leaderboard h1{font-size:clamp(24px,6vw,30px)!important;line-height:1.2!important;margin-bottom:10px}.with-pinned-leaderboard p{line-height:1.45}.with-pinned-leaderboard .question-points{font-size:18px;margin:8px 0}.with-pinned-leaderboard .answer-option{font-size:17px;min-height:48px;padding:10px 12px;margin:8px 0;gap:10px}.with-pinned-leaderboard .answer-option b{padding:5px 8px}.with-pinned-leaderboard #submit{font-size:18px;min-height:48px;margin-top:12px}.with-pinned-leaderboard .notice{font-size:13px;padding:10px 12px;margin-top:12px;line-height:1.45}.with-pinned-leaderboard .ranking-row{font-size:16px;padding:6px 10px;margin:7px 0}.with-pinned-leaderboard .ranking-row button{min-height:44px;min-width:44px;padding:6px}.with-pinned-leaderboard .minifig-feedback{width:clamp(90px,16dvh,140px);margin:0 auto 8px}.with-pinned-leaderboard .result-title{font-size:27px!important;margin-bottom:6px}.with-pinned-leaderboard .big-score{font-size:38px!important;margin:6px 0 12px}.with-pinned-leaderboard .panel{padding:14px;margin-bottom:12px}.with-pinned-leaderboard .panel>h3{font-size:21px!important;margin-top:7px!important;line-height:1.35!important}.with-pinned-leaderboard .panel .answer-explanation{font-size:17px;line-height:1.45}.with-pinned-leaderboard .panel>p{font-size:15px!important}.with-pinned-leaderboard .submission-locked{padding:10px 0}.with-pinned-leaderboard .submission-locked h1{font-size:36px!important}.with-pinned-leaderboard .locked-check{width:70px;height:70px;font-size:40px;margin:16px auto}.with-pinned-leaderboard .player-content>.game-start-graphic{max-height:24dvh;margin-bottom:14px}.pinned-leaderboard{box-sizing:border-box;height:calc(clamp(104px,18dvh,148px) + env(safe-area-inset-bottom));padding:8px 18px calc(6px + env(safe-area-inset-bottom))}.pinned-leaderboard-head{padding-bottom:5px}.pinned-leaderboard-head h3{font-size:17px}.pinned-leaderboard .leader-row{font-size:15px;min-height:32px;padding:6px 0}.with-pinned-leaderboard.fit-tight .phone-top{margin-bottom:8px;padding-bottom:7px}.with-pinned-leaderboard.fit-tight .answer-option{margin:5px 0;padding:7px 10px;font-size:16px;min-height:44px}.with-pinned-leaderboard.fit-tight h1{font-size:24px!important}.with-pinned-leaderboard.fit-tight .minifig-feedback{width:90px}.with-pinned-leaderboard.fit-tight .player-content>form+.notice{display:none}.with-pinned-leaderboard.fit-tight .ranking-row{margin:4px 0;padding:3px 8px}.with-pinned-leaderboard.fit-small{padding-top:8px}.with-pinned-leaderboard.fit-small .eyebrow{font-size:9px;margin-bottom:5px}.with-pinned-leaderboard.fit-small .question-points{font-size:16px;margin:5px 0}.with-pinned-leaderboard.fit-small .player-content>p{margin:6px 0!important}.with-pinned-leaderboard.fit-small .minifig-feedback{width:72px}.with-pinned-leaderboard.fit-small .big-score{font-size:30px!important;margin:4px 0 8px}.with-pinned-leaderboard.fit-small .panel{padding:10px}.with-pinned-leaderboard.fit-small .notice{margin-top:8px;padding:8px;font-size:12px}
.btn.delete-game{color:#ab3023;border-color:#ead1cc}.btn.delete-confirm{background:#ab3023;border-color:#ab3023;color:white}.card-footer{gap:8px;flex-wrap:wrap}.card-footer>span{margin-right:auto}
.powerup-warning{display:flex;flex-direction:column;gap:4px;width:100%;text-align:left;border:2px solid var(--bam-orange);border-radius:8px;background:#fff6ce;color:var(--bam-navy);padding:9px 11px;margin:0 0 12px}.powerup-warning strong{font-size:16px}.powerup-warning span{font-size:12px;line-height:1.35}.powerup-warning b{font-size:12px;color:#00395f}.powerup-used{font-size:12px;background:var(--bam-ice);border-left:3px solid var(--bam-blue);padding:7px 10px;margin-bottom:10px}.fit-tight .powerup-warning{gap:2px;padding:6px 9px;margin-bottom:8px}.fit-tight .powerup-warning strong{font-size:14px}
.wager-control{display:grid;grid-template-columns:1fr 85px;gap:5px 10px;background:var(--bam-ice);border:1px solid var(--line);padding:9px;border-radius:8px;margin-top:10px}.wager-control label{font-size:14px;font-weight:700;align-self:center}.wager-control label small{display:block;font-size:11px;font-weight:400}.wager-control>small{grid-column:1/-1;font-size:10px;line-height:1.35}.wager-control input{font-size:17px;padding:7px;min-height:44px}.loot-banner{display:flex;flex-direction:column;gap:3px;background:var(--bam-navy);color:white;padding:8px 11px;border-radius:8px;width:100%;text-align:left;margin-bottom:10px}.loot-banner strong{font-size:14px;color:var(--bam-yellow)}.loot-banner span{font-size:11px}.loot-card,.loot-rule{border:1px solid var(--line);border-radius:9px;padding:14px;margin:12px 0}.loot-card h3{margin:12px 0;line-height:1.5}.round-details{text-align:center;font-size:13px!important;margin:5px 0}.loot-rule .field{margin-top:8px}.loot-rule .remove-loot{margin-top:8px}.fit-small .wager-control{padding:6px;margin-top:6px}.fit-small .powerup-warning span{font-size:11px}
.loot-banner{display:grid;grid-template-columns:44px 1fr;align-items:center;column-gap:10px}.loot-banner-image{grid-row:1/3;width:44px;height:44px;object-fit:contain}.loot-banner strong,.loot-banner span{grid-column:2}.loot-prize-image{display:block;width:130px;height:130px;object-fit:contain;margin:0 auto 10px}.loot-card>strong{display:block;text-align:center}.loot-card>h3{text-align:center}
.first-place-prize{background:#fff6ce;border:1px solid var(--bam-yellow);border-radius:8px;padding:10px 12px;margin:0 0 12px;display:flex;flex-direction:column;gap:4px;color:var(--bam-navy)}.first-place-prize strong{font-size:14px}.first-place-prize span{font-size:15px;font-weight:600;overflow-wrap:anywhere}.first-place-prize small{font-size:12px}
.dialog-message{background:#fff0e8;border:1px solid #c8552a;border-left:4px solid #c8552a;color:#85341d;border-radius:7px;padding:12px 14px;margin:14px 0;font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.dialog-message[hidden]{display:none}
.question-timer{position:sticky;top:0;z-index:15;display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--bam-navy);color:white;padding:10px 14px;border-bottom:4px solid var(--bam-yellow);border-radius:8px;margin-bottom:12px;font-size:14px}.question-timer strong{font-family:Outfit,sans-serif;font-size:26px;font-variant-numeric:tabular-nums;color:var(--bam-yellow)}.question-timer.timer-urgent{background:#a93722}.question-timer.timer-stopped{background:#e1f1f8;color:var(--bam-navy);border-color:var(--bam-blue)}.question-timer.timer-stopped strong{color:var(--bam-navy);font-size:19px}.final-player-row{align-items:flex-start}.final-points,.final-loot{display:block;margin-top:5px!important;white-space:normal!important}.final-points{font-size:17px;color:var(--bam-navy)}.final-loot{font-size:13px;line-height:1.5}.practice-mode .practice-controls{top:60px!important}
.pinned-leaderboard{display:none!important}.with-pinned-leaderboard{padding-bottom:20px!important;max-width:540px}.with-pinned-leaderboard .player-content>h1{font-size:clamp(27px,6.5vw,34px)!important;font-weight:700;line-height:1.22!important;letter-spacing:-.4px;color:var(--bam-navy);padding:12px 0;margin-bottom:14px}.with-pinned-leaderboard .player-content>h1:first-of-type{border-bottom:3px solid var(--bam-yellow)}.with-pinned-leaderboard .answer-option{font-size:18px;min-height:48px}.with-pinned-leaderboard .phone-top{margin-bottom:10px}.with-pinned-leaderboard .player-content>p:not(.question-points):not(.notice):not(.round-details){font-size:13px!important;margin:6px 0 10px!important}.final-player-row>span:first-child{display:none}.with-pinned-leaderboard.fit-small .player-content>h1{font-size:24px!important}.with-pinned-leaderboard .powerup-warning{margin-bottom:10px}.with-pinned-leaderboard .player-content>form+.notice{display:none}
.question-image{display:block;width:100%;height:auto;max-height:240px;object-fit:contain;border-radius:9px;margin:12px auto;background:white}.with-pinned-leaderboard .question-image{height:clamp(90px,20dvh,170px);max-height:170px;margin:8px auto}.with-pinned-leaderboard.fit-tight .question-image{height:120px}.with-pinned-leaderboard.fit-small .question-image{height:85px}#q-image-preview .question-image{max-height:200px}.remote-host .question-image{max-height:200px}
.question-drag-handle{background:var(--bam-ice);color:var(--bam-navy);border:1px solid var(--line);border-radius:6px;width:36px;min-width:36px;height:44px;font-size:25px;cursor:grab;touch-action:none;user-select:none}.question-drag-handle:active{cursor:grabbing}.question-dragging{background:#e5f6fc;border:2px solid var(--bam-blue);border-radius:9px;box-shadow:0 4px 15px #00395f22}.question-order-buttons{display:flex;gap:4px;flex-shrink:0}.question-order-buttons .btn{min-height:38px;min-width:32px;padding:6px}.question-row .grow{min-width:0;overflow-wrap:anywhere}@media(max-width:600px){.question-row{gap:7px;flex-wrap:wrap}.question-row .grow{flex-basis:calc(100% - 90px)}.question-order-buttons{margin-left:calc(36px + 7px + 28px + 7px)}.question-order-buttons .btn{min-height:44px;min-width:44px}}
.reordering-questions,.reordering-questions *{user-select:none!important;cursor:grabbing!important}.question-row[data-question-id]{position:relative}.question-row[data-question-id]>.grow{cursor:grab}.question-dragging{outline:2px dashed var(--bam-blue);outline-offset:2px}

.quiz-run-date{font-size:12px;color:#00395f;margin:12px 0}.card-footer{flex-wrap:wrap;gap:8px}

/* Keep the longer app name readable in the sidebar and phone header. */
.brand{font-size:23px;gap:6px;white-space:nowrap;letter-spacing:-.7px}.brand .logo{flex-shrink:0;width:29px;height:29px}.phone-top{flex-wrap:wrap;gap:10px}
