@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#193438;--muted:#647575;--teal:#146c67;--teal-dark:#123e43;--gold:#edba51;--cream:#f7f6f0;--line:#dfe5df;--white:#fff;--red:#ab3b42;--green:#1c7d5b;--navy:#0c233d;--shadow:0 12px 36px #143b3510;font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}a{color:var(--teal)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d99c2e;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:'Manrope',system-ui,sans-serif}h1{font-size:clamp(2rem,3.2vw,3.5rem);line-height:1.15;margin-bottom:10px;letter-spacing:-.045em}h1 em,h2 em{font-style:normal;color:var(--teal)}h2{font-size:1.4rem;letter-spacing:-.025em}p{line-height:1.65}small{font-size:.75rem}.site-head{height:100px;display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1440px)/2));background:#fff;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:13px;color:var(--ink);text-decoration:none;font-family:Manrope,system-ui;font-size:1.1rem;line-height:1.25}.brand strong{font-weight:800}.brand small{display:block;font:400 .71rem 'DM Sans',system-ui;color:var(--muted);margin-top:4px}.brand-mark{display:grid;place-items:center;background:var(--teal);color:white;border-radius:15px;width:48px;height:48px;font-size:2rem;font-weight:800;position:relative}.brand-mark span{position:absolute;color:var(--gold);font-size:17px;right:3px;top:0}.back-link{font-size:.84rem;text-decoration:none;font-weight:600}.teacher-shell{max-width:1500px;margin:auto;padding:38px 30px 24px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.eyebrow{font-size:.68rem;font-weight:800;letter-spacing:.16em;color:var(--teal);margin-bottom:11px}.eyebrow span{padding:0 8px;color:#a7b5ad}.subtitle{color:var(--muted);font-size:.94rem;margin:0}.top-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.button{display:inline-flex;gap:8px;align-items:center;justify-content:center;padding:12px 17px;border:1px solid transparent;border-radius:9px;font-size:.83rem;font-weight:700;text-decoration:none;min-height:44px;transition:background .15s,transform .15s}.button:hover:not(:disabled){transform:translateY(-1px)}.primary{background:var(--teal);color:#fff}.primary:hover:not(:disabled){background:#105b57}.soft{background:#e8eeea;color:var(--teal-dark)}.quiet{background:transparent;color:var(--ink);border-color:var(--line)}.small{font-size:.75rem;padding:9px 11px;min-height:38px}.large{font-size:.95rem;padding:16px 22px}.full{width:100%;justify-content:space-between}.dashed{background:transparent;color:var(--teal);border:1px dashed #a8c5b6;width:100%;margin:8px 0 20px}.volume{display:flex;flex-direction:column;color:var(--muted);font-size:.65rem;gap:5px}.volume input{width:80px;accent-color:var(--teal)}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.setup-grid{display:grid;grid-template-columns:1.08fr 1fr;gap:28px}.setup-intro{background:#e9eee5;padding:38px 40px;position:relative;overflow:hidden}.setup-intro:before{content:'✦';position:absolute;right:24px;top:4px;font-size:200px;color:#d9e5d3;line-height:1;pointer-events:none}.pill{font-size:.63rem;font-weight:800;letter-spacing:.1em;padding:8px 11px;border:1px solid #cfddce;border-radius:6px;background:#f9fbf6;display:inline-block;color:var(--teal-dark)}.setup-intro h2{font-size:clamp(1.7rem,2.5vw,2.6rem);line-height:1.3;position:relative;margin-top:24px;margin-bottom:16px}.setup-intro>p{max-width:450px;color:#5b7068}.intro-metrics{display:flex;gap:30px;border-block:1px solid #cfdccc;padding:18px 0;margin:25px 0}.intro-metrics div{display:flex;flex-direction:column;gap:4px}.intro-metrics strong{font:800 1.8rem Manrope,system-ui;color:var(--teal-dark)}.intro-metrics span{font-size:.7rem;color:var(--muted)}.how-to{list-style:none;padding:0;margin:24px 0}.how-to li{display:flex;gap:15px;margin-bottom:20px}.how-to li>span{flex:0 0 32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--teal);font-size:.8rem;font-weight:800}.how-to strong{font-size:.9rem}.how-to p{font-size:.8rem;margin:4px 0 0;color:#5b7068}.teacher-tip{border-top:1px solid #cfdccc;padding-top:20px;font-size:.78rem}.teacher-tip p{margin:7px 0 0;color:#5b7068}.setup-form{padding:32px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.section-heading h2{margin:0}.number-badge{font:800 1.8rem Manrope,system-ui;color:#c7d7ce}.team-input-row{display:flex;align-items:center;gap:10px;margin-bottom:12px}.team-dot{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f1e3ba;color:#745826;font-weight:700;font-size:.8rem;flex-shrink:0}.team-input-row:nth-child(4n+2) .team-dot{background:#d5e7df;color:#23624b}.team-input-row:nth-child(4n+3) .team-dot{background:#dce3ee;color:#364e74}.team-input-row:nth-child(4n+4) .team-dot{background:#ebdfeb;color:#735776}input:not([type=range],[type=checkbox]),select{width:100%;min-height:44px;border:1px solid #cfdad3;border-radius:8px;padding:11px 12px;background:#fff;color:var(--ink)}.icon-button{background:transparent;border:0;width:36px;height:40px;font-size:1.4rem;color:var(--muted);flex-shrink:0}.field{display:flex;flex-direction:column;gap:8px;font-size:.8rem;font-weight:700;margin-bottom:18px}.options{border-top:1px solid var(--line);padding-top:16px;margin:20px 0}summary{cursor:pointer;font-size:.83rem;font-weight:700;min-height:36px}summary span{font-size:.68rem;color:var(--muted);font-weight:400;float:right}.timer-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0}.timer-options label{font-size:.7rem;font-weight:600}.timer-options input{margin:8px 0 4px}.timer-options small{font-weight:400;color:var(--muted)}.check{display:flex;align-items:center;gap:8px;font-size:.78rem;margin:14px 0}.check input{accent-color:var(--teal);width:17px;height:17px}.helper{font-size:.74rem;color:var(--muted);margin-bottom:12px}.center{text-align:center;margin:12px 0 0}.error{color:var(--red);font-size:.8rem}.error:empty{display:none}.notice,.saved-banner{padding:16px 22px;border-radius:12px;margin-bottom:20px;border:1px solid #bfd7ce;background:#eef5ef;font-size:.83rem}.notice[data-error=true]{background:#fff0ed;border-color:#e7c2b9;color:var(--red)}.saved-banner{display:flex;justify-content:space-between;gap:15px;align-items:center;background:#fff9e9;border-color:#e9d6a4}.saved-banner p{margin:4px 0 0;font-size:.78rem}.saved-banner>div:last-child{display:flex;gap:8px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:25px;align-items:start}.game-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;flex-wrap:wrap}.game-toolbar>div{display:flex;align-items:center;gap:8px}.progress{font-size:.73rem;color:var(--muted)}.stage{border-radius:16px;overflow:hidden;border:1px solid #173853;background:var(--navy);color:#f2f6fc;padding:22px;box-shadow:var(--shadow);min-height:440px}.board-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.board-title h2{font-size:1.05rem;color:#fff;margin:0}.board-title p{font-size:.73rem;color:#b9cbdc;margin:0}.board-wrap{overflow-x:auto;padding-bottom:3px}.board-grid{display:grid;grid-template-columns:repeat(6,minmax(100px,1fr));gap:7px;min-width:640px}.category-column{display:grid;grid-template-rows:72px repeat(5,63px);gap:7px}.category-title{display:grid;place-items:center;text-align:center;background:#21445c;border-radius:6px;font:700 .72rem Manrope,system-ui;padding:8px;line-height:1.3;color:#f6f9ff;overflow-wrap:anywhere}.clue-button{border:1px solid #2b4c6a;border-radius:6px;background:#173653;color:var(--gold);font:800 clamp(1.3rem,2.2vw,2rem) Manrope,system-ui;min-height:44px;transition:background .15s}.clue-button:hover:not(:disabled){background:#275273}.clue-button:disabled{background:#0f2b43;color:#3d617c;opacity:1}.board-footer{color:#b7c9da;text-align:center;font-size:.74rem;margin:20px 0 0}.clue-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:395px}.clue-stage .eyebrow{color:var(--gold);margin-bottom:22px}.clue-question{font:700 clamp(1.4rem,2.7vw,2.8rem)/1.5 Manrope,system-ui;letter-spacing:-.02em;margin-bottom:25px;max-width:960px;overflow-wrap:anywhere}.clue-answer{background:#184b48;border:1px solid #37796c;color:#c5f0d7;border-radius:10px;padding:20px 26px;width:100%;margin-bottom:20px}.clue-answer h3{font-size:clamp(1.2rem,2.2vw,1.8rem);margin-bottom:10px}.clue-answer p{font-size:.8rem;margin:0}.clue-stage .status{color:#c2d2df;font-size:.9rem;max-width:800px;margin:12px 0 0}.timer{display:inline-flex;align-items:center;justify-content:center;border:2px solid var(--gold);color:var(--gold);border-radius:50%;width:76px;height:76px;font:800 1.8rem Manrope,system-ui;margin:8px 0}.timer.urgent{color:#ffa5a7;border-color:#ffa5a7}.pause-badge{background:#f4cf76;color:#1b3044;padding:8px 20px;border-radius:7px;font-weight:800;margin:12px 0}.daily-icon{font-size:3rem;color:var(--gold);margin-bottom:14px}.action-bar{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.action-bar .button{flex:1;min-width:130px}.success{background:var(--green);color:white}.danger{background:var(--red);color:white}.gold{background:var(--gold);color:#443a23}.teacher-answer{background:#fff;border:1px dashed #b7c6bd;border-radius:12px;padding:20px;margin:20px 0}.teacher-answer .eyebrow{font-size:.62rem;color:#7b8275}.teacher-answer h3{font-size:1rem;line-height:1.5;margin-bottom:8px}.teacher-answer p{margin-bottom:7px}.teacher-answer #private-reference{font-size:.8rem;font-weight:700;color:var(--teal)}.score-panel{padding:22px;position:sticky;top:20px}.score-panel h2{font-size:1.2rem}.score-panel .section-heading{gap:4px}.score-panel .eyebrow{font-size:.58rem}.score-team{position:relative;border:1px solid var(--line);padding:16px;border-radius:11px;margin-bottom:10px;background:#fff}.score-team.respondable{cursor:pointer}.score-team.respondable:hover{border-color:var(--teal);background:#f1f8f3}.score-team.active{border:2px solid var(--gold);background:#fff9e9}.score-team.incorrect{background:#fbf0ef;border-color:#e7ccca}.score-team.correct{background:#ecf6ef;border-color:#c1dccc}.score-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.score-name{font-size:.85rem;font-weight:700;overflow-wrap:anywhere}.score-value{font:800 1.4rem Manrope,system-ui;white-space:nowrap}.score-meta{font-size:.66rem;color:var(--muted);margin-top:7px}.score-actions{margin-top:9px;display:flex;gap:6px;flex-wrap:wrap}.score-actions .button{padding:7px;font-size:.7rem;min-height:34px;flex:1}.respond-label{font-size:.72rem;margin-top:10px;color:var(--teal);font-weight:700;display:block}.choosing-control{margin-top:20px;border-top:1px solid var(--line);padding-top:18px}.choosing-control label{font-size:.72rem;font-weight:600}.choosing-control select{margin-top:8px;font-size:.8rem}.score-footer{font-size:.68rem;color:var(--muted);border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.score-footer p{margin:8px 0 0}.connection{font-size:.65rem}.connection.connected{color:var(--green)}.round-card{background:#fff7e3;border:1px solid #ead7a6;padding:22px;border-radius:12px;margin-top:18px}.round-card h3{font-size:1.1rem;margin-bottom:9px}.round-card p{font-size:.82rem;margin-bottom:12px}.round-card .button{margin-top:3px}.results-list{list-style:none;margin:15px 0;padding:0;width:min(100%,620px)}.results-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 18px;border-bottom:1px solid #31506d;color:#fff;font-weight:600}.results-list li:first-child{border-radius:9px;background:#234b4b;color:#ffe0a3}.results-list strong{font:800 1.5rem Manrope,system-ui}.results-list span{overflow-wrap:anywhere}.game-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:35px;padding-top:20px;color:var(--muted);font-size:.66rem;align-items:start}.game-footer details{max-width:410px}.game-footer summary{font-size:.66rem;font-weight:400}.game-footer p{font-size:.7rem}dialog{border:1px solid var(--line);border-radius:17px;padding:28px;max-width:520px;width:calc(100% - 32px);box-shadow:0 30px 100px #0004;color:var(--ink)}dialog::backdrop{background:#0a223ab0;backdrop-filter:blur(3px)}dialog h2{font-size:1.35rem;margin-bottom:0}dialog p{font-size:.86rem}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.modal-input{margin-top:12px}.help-list{padding-left:20px;font-size:.85rem}.help-list li{margin-bottom:13px;line-height:1.6}[hidden]{display:none!important}
/* Student presentation: intentionally no teacher controls or private answer panel. */
.student-body{min-height:100dvh;background:#0c233d;color:#f1f7ff;display:flex;flex-direction:column}.student-header{display:flex;justify-content:space-between;align-items:center;padding:20px 35px;gap:15px;border-bottom:1px solid #2d4960}.student-header h1{font-size:clamp(1.6rem,3vw,3rem);color:#fff;letter-spacing:-.025em;margin:0}.student-header h1 em{color:var(--gold)}.student-brand{font-size:.7rem;letter-spacing:.17em;color:#b9d8d2;max-width:150px;line-height:1.8}.glass{color:#cde0ea;background:#ffffff09;border-color:#ffffff22}.student-stage{flex:1;padding:28px 35px;display:flex;flex-direction:column;justify-content:center;min-width:0}.student-stage .board-grid{grid-template-columns:repeat(6,minmax(90px,1fr));min-width:620px;gap:10px}.student-stage .category-column{grid-template-rows:minmax(70px,1.1fr) repeat(5,minmax(55px,1fr));gap:9px}.student-stage .category-title{font-size:clamp(.8rem,1.6vw,1.5rem);padding:10px}.student-stage .clue-button{display:grid;place-items:center;font-size:clamp(1.4rem,3.3vw,3rem);height:100%}.student-stage .board-title h2{font-size:clamp(1.1rem,2.2vw,2rem);color:var(--gold)}.student-stage .board-title p{font-size:clamp(.8rem,1.3vw,1.2rem)}.student-stage .clue-stage{min-height:0;flex:1;padding:10px 0}.student-stage .clue-question{font-size:clamp(1.5rem,3.8vw,4.1rem);max-width:1500px;line-height:1.4;margin-bottom:25px}.student-stage .clue-stage .eyebrow{font-size:clamp(.75rem,1.7vw,1.4rem)}.student-stage .status{font-size:clamp(.85rem,1.8vw,1.8rem);max-width:1300px}.student-stage .timer{width:clamp(65px,8vw,110px);height:clamp(65px,8vw,110px);font-size:clamp(1.7rem,3.5vw,3.2rem);flex-shrink:0}.student-stage .clue-answer h3{font-size:clamp(1.3rem,2.7vw,3rem)}.student-stage .clue-answer p{font-size:clamp(.85rem,1.5vw,1.5rem)}.student-welcome{text-align:center;padding:20px}.student-welcome h2{font-size:clamp(2rem,5vw,5rem);margin-bottom:20px}.student-welcome .eyebrow{color:var(--gold);font-size:clamp(.8rem,1.6vw,1.3rem)}.student-welcome p{font-size:clamp(1rem,2.1vw,2rem);color:#c4d9e8}.student-rules{display:flex;gap:20px;flex-wrap:wrap;justify-content:center;margin-top:35px}.student-rules>div{border:1px solid #34546a;border-radius:12px;padding:22px;flex:1;max-width:380px;min-width:200px}.student-rules strong{font:800 clamp(1.1rem,2vw,1.8rem) Manrope,system-ui;color:#a5e0c7}.student-rules p{font-size:clamp(.85rem,1.3vw,1.3rem);margin:10px 0 0}.student-scores{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;padding:15px 35px 25px;border-top:1px solid #2d4960;max-height:30dvh;overflow:auto}.student-score{background:#17354e;border:1px solid #254b63;border-radius:9px;padding:12px 15px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:5px;min-width:0}.student-score span{font-size:clamp(.8rem,1.3vw,1.3rem);font-weight:700;overflow-wrap:anywhere}.student-score strong{font:800 clamp(1.3rem,2vw,2rem) Manrope,system-ui;color:var(--gold)}.student-score small{font-size:.75rem;color:#bacddc}.student-score.active{border-color:var(--gold);background:#3b453d}.student-score.correct{border-color:#47946f}.student-score.incorrect{border-color:#a15c65}.student-score.incorrect strong{color:#ffaaa9}.connection-warning{font-size:.85rem;text-align:center;padding:12px;background:#523f25;color:#ffe2a1}.student-stage .results-list{max-height:none}.student-stage .results-list li{font-size:clamp(1rem,1.8vw,1.8rem)}
@media(min-width:1600px){.student-stage .category-column{grid-template-rows:minmax(90px,1.1fr) repeat(5,minmax(70px,1fr))}.student-stage .board-grid{min-height:52vh}}
@media(max-width:1150px){.page-heading{align-items:start;flex-direction:column}.top-actions{width:100%;justify-content:flex-start}.game-layout{grid-template-columns:minmax(0,1fr) 265px;gap:16px}.score-panel{padding:16px}.stage{padding:16px}.setup-intro{padding:28px}.setup-form{padding:26px}.intro-metrics{gap:20px}.game-footer{flex-wrap:wrap}}
@media(max-width:850px){.game-layout{grid-template-columns:1fr}.score-panel{position:static}.score-panel #teams-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.score-team{margin:0}.setup-grid{grid-template-columns:1fr}.setup-intro{padding:28px}.setup-intro h2{font-size:2rem}.teacher-shell{padding:26px 18px}.site-head{padding:16px 20px;height:auto;min-height:82px}.back-link{max-width:155px;font-size:.72rem;text-align:right}.score-panel .section-heading{margin-bottom:12px}.student-header{padding:14px 18px}.student-stage{padding:20px 18px}.student-scores{padding:12px 18px;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.student-brand{display:none}.student-stage .board-grid{gap:6px}.student-stage .category-column{gap:6px;grid-template-rows:70px repeat(5,55px)}.student-stage .category-title{font-size:.8rem}.student-header h1{font-size:1.8rem}.student-stage .clue-question{font-size:clamp(1.6rem,4vw,3rem)}}
@media(max-width:500px){.brand{font-size:.9rem}.brand-mark{width:40px;height:40px;font-size:1.7rem}.brand small{font-size:.6rem}.back-link{font-size:.65rem;max-width:115px}.teacher-shell{padding:24px 14px}.top-actions{gap:8px}.top-actions .button{padding:11px;font-size:.72rem}.setup-intro,.setup-form{padding:23px}.intro-metrics{gap:18px}.intro-metrics strong{font-size:1.5rem}.intro-metrics span{font-size:.6rem}.saved-banner{flex-direction:column;align-items:stretch}.game-toolbar .button{padding:7px;font-size:.66rem}.game-toolbar>div{gap:5px}.stage{padding:14px;min-height:365px}.clue-stage{min-height:330px}.clue-question{font-size:1.4rem}.score-panel #teams-list{grid-template-columns:1fr}.game-footer{gap:10px;flex-direction:column}.student-header h1{font-size:1.4rem}.student-header .button{font-size:.7rem;padding:8px;min-height:38px}.student-stage .clue-question{font-size:1.5rem}.student-scores{max-height:35dvh;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.student-score{padding:9px}.student-stage .status{font-size:1rem}.timer-options{gap:8px}.timer-options label{font-size:.65rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-height:650px) and (min-width:850px){.student-header{padding:12px 25px}.student-stage{padding:14px 25px}.student-stage .category-column{grid-template-rows:50px repeat(5,38px);gap:5px}.student-stage .category-title{font-size:.8rem}.student-stage .clue-button{font-size:1.7rem}.student-stage .board-title{margin-bottom:10px}.student-scores{padding:8px 25px;max-height:26dvh}.student-stage .clue-question{font-size:clamp(1.5rem,3vw,2.4rem)}.student-stage .clue-stage .eyebrow{margin-bottom:10px}.student-stage .timer{width:55px;height:55px;font-size:1.5rem}.student-stage .clue-answer{padding:10px 18px;margin-bottom:8px}.student-stage .clue-answer h3{font-size:1.5rem}.student-stage .status{font-size:1rem}.student-rules{margin-top:10px}.student-rules>div{padding:14px}.student-welcome{padding:0}.student-welcome h2{font-size:2.4rem}}

/* Match the existing Bible Learning Studio header mark. */
.brand-mark{font-family:Georgia,serif;background:#1d514d;color:#e9bc63;border-radius:14px;font-weight:400}.studio-brand-name{font-family:'DM Sans',system-ui,sans-serif;font-weight:700;letter-spacing:2px;font-size:1.2rem;line-height:1.2}.studio-brand-small{display:block;font-size:.66rem;letter-spacing:3px;margin-top:5px}@media(max-width:500px){.studio-brand-name{font-size:1rem}.studio-brand-small{font-size:.57rem;letter-spacing:2px}}
