@import url("/fact-picker.css");
:root{font-family:ui-rounded,'Trebuchet MS',system-ui,sans-serif;color:#092c54;background:#f2f9fe;font-synthesis:none;--navy:#082c57;--blue:#0679bd;--yellow:#ffd34b;--line:#d7e7f1;--muted:#48627b}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.5}a{color:inherit}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,.button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.62}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ef9400;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2rem,4.5vw,4.3rem);line-height:1.08;letter-spacing:-.045em;margin-bottom:22px}h2{font-size:clamp(1.5rem,2.5vw,2.4rem);line-height:1.2;letter-spacing:-.03em}h3{font-size:1.2rem;line-height:1.3}p{color:var(--muted)}.skip{position:absolute;left:-999px;top:10px}.skip:focus{left:10px;background:white;padding:12px;z-index:99}.mq-header{background:#fff;display:flex;align-items:center;justify-content:space-between;padding:19px max(24px,calc((100vw - 1280px)/2));gap:28px;border-bottom:1px solid var(--line);position:relative;z-index:3}.logo{font-size:30px;font-weight:1000;letter-spacing:-1.4px;line-height:1.05;text-decoration:none;display:flex;align-items:center;color:#006ea9;gap:9px;white-space:nowrap}.logo small{display:block;font-size:12px;letter-spacing:.25px;color:#244562;font-weight:800;margin-top:5px}.gold{color:#ca8400}.compass{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;border:3px solid #ffd34b;background:#0a345f;color:#ffe37a;font-size:34px}nav{display:flex;gap:25px;align-items:center}nav a{font-size:14px;font-weight:800;text-decoration:none;white-space:nowrap}nav a:hover{text-decoration:underline}.nav-student,.nav-teacher{border:1px solid #bcdcec;border-radius:10px;padding:10px 15px}.nav-teacher{background:#083361;color:#fff;border-color:#083361}.wrap{max-width:1280px;margin:auto;padding:56px 32px}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:900;color:#097aaa;margin-bottom:14px}.hero{overflow:hidden;position:relative;background:#d9f2ff url('/assets/migo-landscape.webp') center/cover;isolation:isolate;min-height:550px}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#eafbffff 0%,#eafaffec 38%,#eafaff40 78%);z-index:-1}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:20px;padding-top:48px;padding-bottom:38px}.hero-copy{max-width:640px}.hero h1{max-width:650px}.hero h1 span{color:#007dad}.hero .intro{font-size:20px;max-width:470px;line-height:1.6}.hero-art{max-height:460px;width:100%;object-fit:contain;filter:drop-shadow(0 16px 12px #07577725)}.pill{display:inline-block;border:1px solid #92d9eb;background:#ecfcff;border-radius:99px;padding:6px 13px;font-size:12px;font-weight:800;color:#056080;margin-bottom:22px;letter-spacing:.07em}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.button,button{border-radius:11px;background:#0879b7;color:#fff;border:1px solid #0879b7;display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:12px 20px;text-decoration:none;font-weight:800;min-height:46px;font-size:15px;line-height:1.35}.button:hover,button:hover{background:#065e93}.button.sun{background:var(--yellow);border-color:#d49e0b;color:#072d50;box-shadow:0 3px 0 #ba850d}.button.secondary,button.secondary{background:#fff;border-color:#b5cfdf;color:#0a3964}.button.subtle,button.subtle{padding:7px 12px;background:#eef6fc;color:#0b426d;border-color:#d6e8f3;font-size:14px;min-height:36px}.button.danger,button.danger{background:#fff2f2;border-color:#e6b4b4;color:#9e2738}.micro{font-size:13px;color:#526b7d;margin:14px 0 0}.trail-strip{background:#0c345d;color:#fff}.trail-strip .wrap{padding-top:18px;padding-bottom:18px;display:flex;justify-content:space-around;gap:22px;flex-wrap:wrap;font-size:14px;font-weight:800}.trail-strip span{display:flex;gap:10px}.trail-strip b{color:#76e3f0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:28px}.section-head h2{margin-bottom:8px}.section-head p{margin:0;max-width:520px}.worlds{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.world{padding:27px;border-radius:20px;position:relative;overflow:hidden;border:1px solid #c5e0eb;text-decoration:none;box-shadow:0 4px 0 #d7e7ef;transition:transform .2s}.world:hover{transform:translateY(-4px)}.world h3{font-size:23px;margin-bottom:12px}.world p{font-size:15px;min-height:48px;color:#244969}.world .symbol{font-size:35px;line-height:1;display:inline-flex;align-items:center;justify-content:center;background:#ffffffb0;border-radius:15px;width:62px;height:62px;margin-bottom:26px}.world b{font-size:14px}.mint{background:#ddf8e9}.sky{background:#dcefff}.lilac{background:#eae4ff}.price-band{background:#fff}.price-layout{display:grid;grid-template-columns:1fr 440px;align-items:center;gap:80px}.price-layout p{max-width:490px}.features{list-style:none;padding:0;display:grid;gap:12px}.features li{display:flex;gap:10px;color:#244a67}.features li:before{content:'✓';color:#077d59;font-weight:900}.price-card{border:2px solid #0a5486;background:#fff;border-radius:22px;box-shadow:8px 8px 0 #d8eefb;overflow:hidden}.price-label{background:#0a345e;color:#d5f8ff;text-align:center;padding:12px;font-size:13px;letter-spacing:.1em;font-weight:900}.price-content{padding:30px}.price-number{font-size:64px;line-height:1;font-weight:900;letter-spacing:-3px}.price-number small{font-size:16px;letter-spacing:0;color:#48627b;font-weight:500}.price-content .button{width:100%}.price-content .micro{line-height:1.6}.notice{padding:15px 18px;border-radius:12px;background:#fff5d6;border:1px solid #ebd69e;color:#785417;font-size:14px;margin:18px 0}.notice.good{background:#e4f7ef;border-color:#b3dac7;color:#176343}.notice.error{background:#fff0f0;border-color:#e9bbbb;color:#982938}.notice a{font-weight:800}.account-wrap{max-width:1120px}.account-head{display:flex;align-items:start;justify-content:space-between;gap:24px;margin-bottom:30px}.account-head h1{font-size:36px;margin-bottom:10px}.account-head p{margin:0}.account-head .eyebrow{margin-bottom:8px}.signin-grid{display:grid;grid-template-columns:1fr 390px;gap:60px;align-items:center;max-width:1000px}.signin-grid .mascot{height:360px;width:100%;object-fit:contain}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px;margin-bottom:22px}.panel h2{font-size:23px}.login-panel{box-shadow:0 8px 24px #10354d0a}.google{width:100%;background:#fff;color:#1c3654;border:1px solid #abc1d4;box-shadow:0 2px 0 #dce6ed}.google:hover{background:#eaf7ff}.google-mark{font-family:Arial,sans-serif;font-size:22px;color:#4285f4;font-weight:700}.number-steps{list-style:none;padding:0;counter-reset:step;display:grid;gap:20px}.number-steps li{counter-increment:step;display:flex;gap:13px;align-items:start}.number-steps li:before{content:counter(step);background:#d8f2ff;color:#0870a5;min-width:30px;height:30px;border-radius:50%;text-align:center;font-weight:900;line-height:30px}.number-steps p{font-size:14px;margin:3px 0}.field{display:grid;gap:8px;font-size:14px;font-weight:800;margin-bottom:18px}.field input,.field select{width:100%;border:1px solid #a8c7dc;padding:12px;border-radius:9px;background:#fff;color:#123955;min-height:46px}.field input:focus{outline:2px solid #16acd4}.class-input{text-transform:uppercase;letter-spacing:.2em;font-size:24px;font-weight:900}.checkline{display:flex;align-items:start;gap:10px;color:#425c72;font-size:14px}.checkline input{width:20px;height:20px;flex-shrink:0}.dash-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px}.dash-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.stat{padding:18px;background:#fff;border:1px solid var(--line);border-radius:14px}.stat strong{display:block;font-size:27px;line-height:1.2}.stat span{font-size:13px;color:#5c6f82}.class-header{display:flex;justify-content:space-between;align-items:center;gap:20px}.class-header h2{margin-bottom:4px}.code-display{font-family:ui-monospace,monospace;font-size:27px;font-weight:900;letter-spacing:.13em;color:#07507e;overflow-wrap:anywhere}.small{font-size:14px}.muted{color:#587186}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#627b91;padding:14px 12px;border-bottom:1px solid var(--line);background:#f6fafd}td{padding:16px 12px;border-bottom:1px solid #e8eff5;vertical-align:middle}td strong{display:block}tr:last-child td{border-bottom:0}.status{border-radius:99px;padding:4px 9px;background:#e9f0f7;font-size:12px;font-weight:800;display:inline-block}.status.active{color:#126445;background:#e1f7ec}.status.pending{background:#fff0c2;color:#7b5915}.status.invited{background:#e5eeff;color:#285788}.toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:20px 0}.toolbar input{font:inherit;padding:10px 12px;border:1px solid #c3d8e5;border-radius:8px;max-width:260px;width:100%}.empty{padding:40px 20px;text-align:center;background:#f5faff;border:1px dashed #bfd8e9;border-radius:12px}.empty h3{margin-bottom:8px}.empty p{max-width:440px;margin:0 auto 20px;font-size:15px}.side-panel{background:#dff4fc}.side-panel h3{font-size:18px}.side-panel .button{width:100%;margin-top:10px}.course-row{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:16px 0;border-top:1px solid var(--line)}.course-row p{margin:4px 0;font-size:14px}.report-grid{display:grid;grid-template-columns:repeat(13,minmax(36px,1fr));gap:5px;margin:20px 0;overflow-x:auto}.fact-cell{padding:8px 3px;min-width:36px;text-align:center;border-radius:7px;font-size:12px;background:#eff3f8;color:#516a81}.fact-cell.practiced{background:#c8eee1;color:#116147}.fact-cell.revisit{background:#ffedbd;color:#7a5411}.fact-cell strong{display:block}.legend{display:flex;gap:20px;font-size:13px}.report{min-width:0}.game-demo{max-width:720px;margin:auto;text-align:center}.demo-top{display:flex;justify-content:space-between;font-size:14px;font-weight:800}.demo-equation{font-size:clamp(48px,8vw,78px);font-weight:900;margin:36px 0 24px;letter-spacing:-.03em}.game-demo .field input{max-width:190px;text-align:center;margin:auto;font-size:30px;font-weight:900}.game-demo .field{font-weight:600}.demo-mascot{width:130px;height:130px;object-fit:contain}.feedback{min-height:60px;padding:16px;font-weight:800;color:#087250}.faq{max-width:840px;margin:auto}details{padding:20px 0;border-bottom:1px solid var(--line)}summary{font-size:18px;font-weight:800;cursor:pointer}details p{padding-top:15px;margin-bottom:0}.prose{max-width:820px}.prose h1{font-size:38px}.prose h2{font-size:24px;margin-top:36px}.prose li{margin:10px 0;color:#425d74}.prose a{color:#086caa}.prose code{overflow-wrap:anywhere}.mq-footer{background:#092c52;color:white;padding:36px max(32px,calc((100vw - 1216px)/2));display:flex;gap:28px;align-items:center;justify-content:space-between;flex-wrap:wrap}.mq-footer .logo{color:#89e8ff;font-size:24px}.mq-footer p{color:#d0eaf5;margin:0;font-size:14px}.mq-footer .gold{color:#ffd45b}.mq-footer>div{display:flex;gap:22px}.mq-footer a{font-size:14px}.mq-footer small{font-size:12px;color:#bad3e4}.loading{padding:100px;text-align:center;color:#54748b}dialog{border:1px solid #c5ddec;border-radius:20px;padding:28px;max-width:800px;width:calc(100% - 32px);max-height:90vh;overflow:auto;color:#0a3057}dialog::backdrop{background:#05224588}.modal-close{float:right;background:#eef6fc;color:#164c70;border:none;width:38px;min-height:38px;padding:0;font-size:26px;margin-left:16px}.modal-close:hover{background:#d9ebf6}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#082d53;color:#fff;padding:14px 22px;border-radius:12px;z-index:100;box-shadow:0 4px 24px #09294730;max-width:calc(100% - 32px);display:none}#toast.visible{display:block}.setup-list{list-style:none;padding:0}.setup-list li{padding:12px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:16px}.setup-list code{font-size:13px}.full{width:100%}.loading-error{max-width:600px;margin:60px auto;padding:32px}.dashboard-banner{background:#0b426d;color:#fff;border-radius:16px;padding:24px;margin:0 0 24px}.dashboard-banner p{color:#d4edfd;margin:8px 0 0}.dashboard-banner h2{font-size:23px;margin:0}.subtle-link{font-size:13px;color:#53758e}.legal-meta{font-size:13px}.owner-entry{margin-top:32px}.signout{font-size:14px;padding:8px 12px;min-height:36px}@media(max-width:1050px){.mq-header{padding:18px 24px;flex-wrap:wrap}.mq-header nav{gap:16px}.hero-grid{grid-template-columns:1.1fr .8fr}.price-layout{gap:38px;grid-template-columns:1fr 380px}.dash-layout{grid-template-columns:1fr}.side-panel{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dash-stats{grid-template-columns:repeat(4,1fr)}.signin-grid{gap:24px;grid-template-columns:1fr 1fr}}@media(max-width:720px){.mq-header{padding:14px 20px;gap:15px}.mq-header .logo{font-size:27px}.mq-header nav{width:100%;justify-content:space-between;gap:8px;flex-wrap:wrap}.mq-header nav a{font-size:13px}.nav-teacher,.nav-student{padding:8px}.wrap{padding:36px 20px}.hero-grid{grid-template-columns:1fr;padding-bottom:0;gap:0}.hero .intro{font-size:18px}.hero-art{height:275px;max-width:350px;justify-self:center}.hero:before{background:linear-gradient(#eafbfff5 20%,#eafbffda 60%,#eafbff00)}h1{font-size:41px;max-width:550px}.hero{min-height:0}.worlds,.price-layout,.signin-grid{grid-template-columns:1fr}.world{padding:23px}.world .symbol{float:right;margin:0 0 10px 20px}.world p{min-height:0}.section-head{display:block}.price-layout{gap:24px}.price-card{max-width:440px;width:100%;margin:auto}.signin-grid .mascot{height:230px;order:-1}.signin-grid{gap:8px}.signin-grid>div{min-width:0}.account-head{flex-wrap:wrap;gap:15px}.account-head h1{font-size:31px}.dash-stats{grid-template-columns:repeat(2,1fr)}.class-header{align-items:start;flex-direction:column;gap:10px}.panel{padding:21px}.side-panel{display:block}.mq-footer{padding:30px 20px;gap:20px}.mq-footer>div{gap:15px;flex-wrap:wrap}.mq-footer small{width:100%}.toolbar{flex-wrap:wrap}.toolbar input{max-width:100%}.report-grid{grid-template-columns:repeat(13,40px)}.prose h1{font-size:32px}.trail-strip .wrap{justify-content:start;gap:14px 24px;font-size:13px}.course-row{flex-wrap:wrap}.loading{padding:60px 20px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.nav-owner{color:#715007}.owner-quick-links{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 26px}.owner-connections{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}.owner-connections section{background:#f2f9ff;border:1px solid #d1e3ef;border-radius:14px;padding:22px}.owner-connections p{font-size:15px}@media(max-width:720px){.owner-connections{grid-template-columns:1fr}.owner-quick-links>.button{width:100%}}
.login-cards-wrap{max-width:980px}.cards-controls h1{font-size:2rem;margin-top:22px}.cards-options{display:flex;align-items:end;gap:18px;flex-wrap:wrap}.cards-options .field{flex:1;min-width:180px;margin-bottom:0}.cards-options input,.cards-options select{width:100%;min-height:46px;padding:10px;border:1px solid #a9c9da;border-radius:8px;background:white;color:var(--navy)}.cards-options input:disabled{background:#edf2f5;color:#667786}.cards-controls>.small{margin-top:22px}.cards-sheet{background:white;padding:22px;margin:24px 0;border:1px solid var(--line);box-shadow:0 6px 20px #092c540c}.cards-sheet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.login-card{padding:16px;border:1px dashed #668398;color:#102f49;overflow-wrap:anywhere;break-inside:avoid;page-break-inside:avoid}.login-card-brand{font-size:1.6rem;font-weight:900;line-height:1;color:#006ea9}.login-card-brand span{color:#946100}.login-card-brand small{display:block;font-size:.75rem;letter-spacing:.03em;margin-top:5px;color:#334c5c}.login-card p{color:inherit}.login-card-class{font-size:.875rem;font-weight:700;margin:12px 0 8px;line-height:1.3}.login-card-class span{font-weight:400}.login-card-name{font-size:.875rem;margin:8px 0}.write-name{display:inline-block;border-bottom:1px solid #6d7e89;width:70%;height:1em}.login-card-url{display:block;font-size:1rem;font-weight:800;text-decoration:none;line-height:1.3;margin:10px 0}.login-card-code{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.875rem;border-top:1px solid #b5c7d3;border-bottom:1px solid #b5c7d3;padding:8px 0;margin:8px 0}.login-card-code strong{font-size:1.6rem;letter-spacing:.09em;font-family:ui-monospace,monospace;color:#082c57}.login-card ol{font-size:.875rem;line-height:1.35;padding-left:20px;margin:10px 0}.login-card li{margin:4px 0}.login-card-end{font-size:.75rem;margin:8px 0 0;line-height:1.3}.cards-sheet-caption{font-size:.75rem;text-align:center;margin:12px 0 0}.side-panel .full{margin-top:14px}
@media screen and (max-width:620px){.cards-sheet-grid{grid-template-columns:1fr}.cards-sheet{padding:10px}.cards-options>*{width:100%}.login-card{padding:18px}}
@media print{
 html{background:#fff}
 @page{size:auto;margin:10mm}
 body.printing-login-cards{background:#fff;color:#111}
 body.printing-login-cards>*:not(#content){display:none!important}
 body.printing-login-cards .cards-controls{display:none!important}
 body.printing-login-cards #content,body.printing-login-cards .login-cards-wrap{margin:0;padding:0;max-width:none;width:auto}
 .cards-sheet{margin:0;padding:0;border:0;box-shadow:none;break-after:page;page-break-after:always}
 .cards-sheet:last-child{break-after:auto;page-break-after:auto}
 .cards-sheet-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:117mm}
 .login-card{padding:4mm;border-color:#666;font-size:10pt}
 .login-card-brand{font-size:18pt;color:#111}.login-card-brand span,.login-card-brand small{color:#111}.login-card-brand small{font-size:8pt;margin-top:1mm}
 .login-card-class{font-size:9pt;margin:2.5mm 0 1.5mm;line-height:1.2}
 .login-card-name{font-size:10pt;margin:1.5mm 0}.login-card-url{font-size:11pt;margin:2mm 0;color:#111}
 .login-card-code{font-size:10pt;padding:1.5mm 0;margin:2mm 0}.login-card-code strong{font-size:20pt;color:#111}
 .login-card ol{font-size:9.5pt;line-height:1.25;margin:2mm 0;padding-left:5mm}.login-card li{margin:1mm 0}
 .login-card-end{font-size:8pt;margin:1.5mm 0 0}.cards-sheet-caption{font-size:8pt;margin:2mm 0 0}
}
.field textarea{font:inherit;width:100%;padding:12px;border:1px solid #b5cfdf;border-radius:9px;min-height:160px;resize:vertical;color:var(--navy);background:white}.field textarea:focus-visible{outline:3px solid #ef9400;outline-offset:3px}.form-error{color:#a32635;white-space:normal}.form-error:empty{display:none}.student-login-method{display:block;font-size:13px;color:var(--muted);margin-top:3px}#modal-content code{font-size:1.25rem;font-weight:800;letter-spacing:.08em}#student-code-form .class-input{text-transform:uppercase}#student-code-form .class-input::placeholder{text-transform:none;font-size:16px;letter-spacing:normal}.login-card-code{flex-wrap:wrap}

/* Class Game Zone: the live waiting list stays beside a compact game setup. */
.zone-layout{display:grid;grid-template-columns:minmax(250px,320px) minmax(0,1fr);gap:24px;align-items:start}.zone-create{margin:0;border-top:5px solid #0879b7}.zone-create details{margin-bottom:18px;padding:10px 0}.zone-create details .field:first-of-type{margin-top:18px}.zone-facts{border:0;padding:0;margin:0 0 18px;min-width:0}.zone-facts legend{font-size:14px;font-weight:800;margin-bottom:10px}.zone-facts>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.zone-facts label{display:flex;gap:6px;align-items:center;padding:8px;border:1px solid #c4deee;border-radius:8px;background:#eef8ff;cursor:pointer;min-height:44px}.zone-facts input{width:18px;height:18px;accent-color:#0879b7}.zone-live{min-width:0}.zone-live-head{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:18px}.zone-live-head h2{font-size:25px;margin-bottom:5px}.zone-live-head p{margin:0}.zone-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.zone-game{background:white;border:1px solid #c7dce9;border-radius:17px;padding:20px;min-width:0;overflow-wrap:anywhere}.zone-game.zone-waiting{border-top:5px solid #159c76;box-shadow:0 3px 0 #c7e9de}.zone-game-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.zone-game-icon{font-size:25px}.zone-status{font-size:14px;font-weight:800;color:#095d49;background:#e2f6ed;padding:5px 8px;border-radius:7px}.zone-game:not(.zone-waiting) .zone-status{color:#215486;background:#e8f0fa}.zone-game h3{font-size:21px;margin-bottom:10px}.zone-players{color:#092c54}.zone-game .actions{gap:8px}.zone-game .actions>*{width:100%}.zone-empty{grid-column:1/-1;padding:35px 24px;text-align:center;border:2px dashed #a8cee0;border-radius:18px;background:#eaf7ff}.zone-empty strong{font-size:22px}.zone-empty p{max-width:450px;margin:12px auto 0}.zone-games .loading{grid-column:1/-1;padding:40px 20px}#zone-error{padding:0 0 15px}
@media(max-width:1020px){.zone-games{grid-template-columns:1fr}}@media(max-width:740px){.zone-layout{grid-template-columns:1fr}.zone-live{grid-row:1}.zone-games{grid-template-columns:repeat(2,minmax(0,1fr))}.zone-create{margin-top:8px}.zone-facts>div{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:460px){.zone-games{grid-template-columns:1fr}.zone-facts>div{grid-template-columns:repeat(3,minmax(0,1fr))}.zone-live-head{flex-wrap:wrap}}

.teacher-guide{max-width:1120px;padding-top:40px;padding-bottom:70px}.teacher-guide h1{font-size:clamp(2rem,4vw,3.2rem)}.guide-head{display:flex;align-items:center;justify-content:space-between;gap:30px}.guide-head>div{max-width:690px}.guide-head>.button{flex-shrink:0}.guide-shortcuts{margin:20px 0 30px}.guide-contents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:35px}.guide-contents a{display:flex;align-items:center;gap:12px;background:#102f52;color:white;padding:15px 18px;border-radius:10px;text-decoration:none;font-weight:700}.guide-contents b{color:#ffcd45}.guide-section{background:white;border:1px solid #bfd7e7;border-radius:18px;padding:30px;margin:24px 0;scroll-margin-top:25px}.guide-section h2{font-size:1.8rem;letter-spacing:-.02em}.guide-section h3{font-size:1.2rem;margin:24px 0 12px}.guide-intro{font-size:1.15rem;color:#08675d}.guide-section li{padding-left:6px;margin:13px 0;line-height:1.65}.guide-section ol,.guide-section ul{padding-left:24px}.guide-note{background:#fff1bb;border-left:4px solid #d79700;border-radius:8px;padding:18px 20px;line-height:1.65}.guide-table-scroll{overflow:auto;margin:20px 0}.guide-section table{width:100%;border-collapse:collapse;font-size:1rem}.guide-section th,.guide-section td{text-align:left;vertical-align:top;padding:13px 16px;border-bottom:1px solid #c5dbe7;min-width:170px}.guide-section th{background:#dcefed}.guide-section td:first-child{width:30%;font-weight:700}.guide-section tbody tr:nth-child(even){background:#f0f7fb}.guide-top{display:inline-block;font-size:.875rem;font-weight:700;color:#07669d;margin-top:12px}@media(max-width:800px){.guide-head{display:block}.guide-contents{grid-template-columns:1fr}.guide-section{padding:22px 18px}.guide-head>.button{margin:10px 0}.teacher-guide{padding-top:25px}}

/* Timed, teacher-approved Class Migo Party */
.migo-party{border:2px solid #08746c;background:#f0fbfa;margin:24px 0;color:#102f52}.party-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.party-heading h2{margin:6px 0;font-size:1.7rem}.party-heading p{max-width:700px}.party-heading>a{color:#075b55;font-weight:700;white-space:nowrap}.party-setup{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:18px 0}.party-setup form{background:white;border:1px solid #9abfbc;border-radius:12px;padding:20px}.party-consent{display:flex;align-items:flex-start;gap:10px;line-height:1.5;margin:16px 0;font-size:1rem}.party-consent input{width:20px;height:20px;flex-shrink:0;margin-top:3px}.party-clock{background:#102f52;color:white;border-radius:12px;padding:16px;text-align:center;min-width:210px}.party-clock span{display:block;font-size:.875rem}.party-clock strong{display:block;font-size:1.8rem;letter-spacing:.08em;margin:6px 0;color:#ffcd45;font-variant-numeric:tabular-nums}.party-classes{padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.party-classes li{display:flex;justify-content:space-between;align-items:center;gap:12px;background:white;border:1px solid #adc9ca;border-radius:10px;padding:15px;overflow-wrap:anywhere}.party-classes span{display:block;font-size:.875rem;margin-top:4px}.party-classes .actions{flex-wrap:wrap}.party-active{border-color:#08746c;box-shadow:inset 0 5px #ffcd45}#party-transition:not(:empty){padding:14px;background:#fff1bb;border-radius:8px}@media(max-width:800px){.party-setup,.party-classes{grid-template-columns:1fr}.party-heading{flex-direction:column}.party-clock{width:100%}.party-classes li{flex-wrap:wrap}.party-heading>a{white-space:normal}}

#class-migo-party{scroll-margin-top:24px}.party-instructions{line-height:1.6;padding-left:24px}.party-instructions li{margin:10px 0}

.party-code{display:flex;align-items:center;flex-wrap:wrap;gap:14px;background:#102f52;color:white;padding:14px 18px;border-radius:10px;margin:14px 0}.party-code strong{font-size:1.6rem;letter-spacing:.08em;color:#ffcd45}.party-code span{font-size:.875rem}

.party-classes .party-open-slot{background:transparent;border:2px dashed #6c9895;color:#244e60}

/* The complete teacher plan, with a compact price summary on phones. */
.price-layout{grid-template-columns:minmax(0,1fr) minmax(360px,520px);align-items:start;gap:clamp(28px,5vw,64px)}
.price-layout>*,.plan-features li>div{min-width:0}.price-layout p{max-width:none}.price-intro h1,.price-intro h2{font-size:clamp(2rem,3.4vw,3.1rem);line-height:1.13;max-width:590px}.price-intro .eyebrow{font-size:.875rem}.plan-lead{font-size:1.125rem;line-height:1.65}.plan-lead strong{color:#082c57}.plan-steps{gap:23px;margin:28px 0}.plan-steps p{font-size:1rem;line-height:1.55;margin:5px 0 0}.plan-steps b{font-size:1.0625rem}.price-label{font-size:.875rem;letter-spacing:.07em;padding:13px 16px}.price-content{padding:26px}.price-kicker{font-size:1rem;font-weight:800;color:#075f70;margin:0 0 8px}.price-content .price-number{font-size:4rem;color:#082c57;line-height:1.08;margin:0 0 10px;letter-spacing:-.04em}.price-number small{font-size:1.125rem;white-space:nowrap}.price-equivalent{font-size:.875rem;margin:0 0 18px}.price-capacity{background:#e8f5fb;border-radius:10px;padding:14px;margin:0;font-size:1rem;line-height:1.5}.price-capacity strong{color:#082c57}.price-capacity span{display:block;font-size:.875rem;margin-top:4px}.price-included{font-size:1.125rem;margin:24px 0 16px}.plan-features{gap:16px;margin:0 0 20px}.plan-features li{gap:12px;align-items:flex-start}.plan-features li:before{font-size:1.15rem;line-height:1.3;flex:0 0 18px}.plan-features strong{display:block;font-size:1rem;line-height:1.4;color:#103b59}.plan-features span{display:block;font-size:.9375rem;line-height:1.5;color:#48627b;margin-top:3px}.price-party-note{font-size:.875rem;line-height:1.5;border-top:1px solid #d7e7f1;padding-top:14px;margin:0 0 18px}.price-content .micro{font-size:.875rem;line-height:1.55;margin:16px 0 0}.price-content .button{font-size:1rem}.plan-availability{grid-column:1/-1;margin:0}
@media(max-width:800px){.price-layout{grid-template-columns:minmax(0,1fr);gap:28px}.price-card{max-width:600px;width:100%;margin:0 auto}.price-content{padding:22px}.price-content .price-number{font-size:3.75rem}.price-intro h1,.price-intro h2{font-size:2rem}.plan-features{gap:16px}}

.party-rule-editor{margin:18px 0;padding:16px;border:1px solid #83aba8;border-radius:12px;background:#fff}.party-rule-editor summary{font-size:1rem;font-weight:800;color:#102f52;cursor:pointer}.party-rule-editor .party-required-facts>div{grid-template-columns:repeat(auto-fit,minmax(68px,1fr))}.party-required-facts:disabled{opacity:.6}.party-required-facts>.field{margin-top:12px}.party-rule-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:0 18px}.party-rule-grid .field{min-width:0}.party-rules-summary{padding:16px;background:#fff;border-left:5px solid #08746c;border-radius:8px;margin:18px 0;line-height:1.6}.party-rules-summary ul{margin:8px 0 0;padding-left:22px}.party-rule-notice{padding:12px;background:#e0f4f1;border:1px solid #83aba8;border-radius:8px;color:#102f52;font-size:.95rem;line-height:1.5}[data-party-locked]{opacity:1!important;color:#173c5c!important}#migo-party-rules{margin:18px 0}

.party-extend{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:12px 0}.party-clock .party-extend button{padding:9px 12px;min-height:44px;background:#fff;color:#102f52;border:1px solid #bddadf;font-size:.95rem}.party-clock .party-extend button:hover{background:#fff1bb}.party-clock .party-extend-help{max-width:270px;font-size:.875rem;line-height:1.4}

.game-lock-group{border-top:1px solid #c8dce5;padding:14px 0}.game-lock-group summary{font-weight:800;cursor:pointer}.game-lock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.game-lock-grid .checkline{min-height:44px;align-items:center}.game-lock-grid input{width:22px;height:22px;flex-shrink:0;accent-color:#087c88}@media(max-width:560px){.game-lock-grid{grid-template-columns:1fr}}
