
/* Welcome + classroom console. The picker is the primary workspace, not a long dashboard. */
:root{--console-bg:#edf0f6;--console-ink:#172e52;--console-muted:#596b86;--console-line:#dce3ef;--console-dark:#172f55;--console-lime:#d9ff8f}
body{background:var(--console-bg);color:var(--console-ink)}
body.console-mode .site-bar{display:none}
body.console-mode #main{padding:0;max-width:none;margin:0}
body.console-mode #teacher{width:100%}
body.console-mode{background:radial-gradient(ellipse at 20% 0,#e2e7fb,transparent 58%),#edf0f6}
.picker-console{width:100%;max-width:1900px;margin:0 auto;padding:12px 16px 14px;display:grid;grid-template-rows:auto minmax(0,1fr);gap:11px;height:100dvh;min-height:540px;min-width:0}
.console-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--console-line);border-radius:15px;padding:9px 12px;box-shadow:0 3px 12px #253e6410;min-width:0}
.console-identity{display:flex;align-items:center;gap:9px;min-width:0;flex-shrink:0}
.console-logo{display:grid;place-items:center;background:#203b73;color:white;border:0;border-radius:12px;width:40px;height:40px;flex:none;font-weight:950;font-size:20px;line-height:1;box-shadow:inset 0 -3px 0 #142d5c}
.console-logo:hover{background:#3557a1}.console-identity p{font-size:9px;line-height:1.15;letter-spacing:.12em;font-weight:900;color:#687c9c}.console-identity h1{font-size:clamp(19px,2.05vw,28px);font-weight:950;letter-spacing:-.045em;line-height:1.15}
.console-tools{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
.console-class-label{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--console-muted);font-weight:850;min-width:0}
.console-class-label select{max-width:170px;width:clamp(96px,12vw,170px);height:39px;border:1px solid #d5deed;border-radius:10px;background:#f5f7fc;font-size:13px;font-weight:850;padding:5px 7px;color:#243e6d}
.console-tool,.console-score-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:39px;padding:7px 10px;background:#f3f5fb;border:1px solid #dce3f0;border-radius:10px;color:#29456f;font-size:12px;font-weight:850;line-height:1.1;white-space:nowrap;flex:none}
.console-tool svg{width:17px;height:17px;flex:none;stroke-linecap:round;stroke-linejoin:round}.console-tool:hover{background:#e5ebff;border-color:#bdcceb}
.console-icon-only{width:39px;padding:8px}.console-tool[aria-pressed=true]{background:#ddf4e1;border-color:#a8cbb2;color:#215d46}.sound-on-mark{display:none}.console-tool[aria-pressed=true] .sound-on-mark{display:block}.console-tool[aria-pressed=true] .sound-off-mark{display:none}
.console-score-button{background:#e8f6dd;border-color:#c7e4b3;color:#285940;gap:5px}.console-score-button:hover{background:#d9f1c6;border-color:#a7d18d}.console-score-star{font-size:17px;color:#3c7a49}.console-score-button strong{font-size:16px;font-weight:950;font-variant-numeric:tabular-nums}.console-score-button small{font-size:11px}.console-score-meter{width:32px;height:5px;border-radius:9px;overflow:hidden;background:#c5dfbe}.console-score-meter i{display:block;height:100%;width:0;background:#54a46e;border-radius:9px;transition:width .25s}
.console-layout.playground{display:grid;grid-template-columns:clamp(186px,17vw,228px) minmax(0,1fr);gap:12px;min-height:0;min-width:0;padding:0;margin:0;background:transparent;border:0;box-shadow:none}
.console-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;gap:10px;padding:15px 12px 12px;background:#fff;border:1px solid var(--console-line);border-radius:17px;box-shadow:0 4px 16px #253e640b}
.console-sidebar .game-heading{display:block;margin:0;padding:0 2px}.console-sidebar .game-heading .eyebrow{font-size:10px;margin-bottom:4px;color:#6356b6}.console-sidebar .game-heading h2{font-size:clamp(19px,2vw,26px);line-height:1.05;letter-spacing:-.045em}
.console-sidebar .quick-filters{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0;padding:0;background:none;border:0;border-radius:0}
.console-sidebar .quick-filters label{display:grid;gap:2px;min-width:0;font-size:10px;font-weight:850;line-height:1.15;letter-spacing:.02em}
.console-sidebar .quick-filters select{min-height:33px;height:33px;width:100%;min-width:0;padding:3px 4px;font-size:12px;border-color:#d7dfed;background:#f5f7fb;border-radius:8px}
.console-sidebar .quick-filters label.check{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:4px;min-height:30px;border:1px solid #dce3ef;background:#f6f8fc;border-radius:8px;font-size:10px;letter-spacing:0;white-space:nowrap;cursor:pointer}
.console-sidebar .quick-filters label.check:has(input:checked){background:#e2ecff;border-color:#aebfe4;color:#244d94}.console-sidebar .quick-filters input{width:13px;height:13px;margin:0}
.console-sidebar .mood-grid{grid-template-columns:1fr;grid-auto-rows:minmax(40px,1fr);flex:1;min-height:0;gap:6px;margin:0}
.console-sidebar .mood-card{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:0;border-radius:11px;border:2px solid transparent;padding:5px 7px;text-align:left;min-width:0;box-shadow:none}
.console-sidebar .mood-card .mood-symbol{width:27px;height:27px;margin:0;font-size:18px;border-radius:8px;background:#ffffffa0;flex:none}.console-sidebar .mood-card strong{font-size:clamp(11px,1.05vw,14px);letter-spacing:-.015em;line-height:1.15}.console-sidebar .mood-card small{display:none}.console-sidebar .mood-card:hover{transform:translateX(2px);box-shadow:none}.console-sidebar .mood-card[aria-pressed=true]{border-color:#27436d;box-shadow:inset 0 0 0 1px #27436d}
.console-available{font-size:11px;color:#62748d;display:flex;align-items:center;gap:4px;white-space:nowrap;padding:2px;line-height:1.15}.console-available strong{color:#2c4876;font-weight:950}.available-dot{width:7px;height:7px;flex:none;border-radius:50%;background:#66bb83;margin-right:1px}
.sidebar-credit{border-top:1px solid #e9edf5;padding:6px 2px 0;font-size:10px;color:#61738e;font-weight:750}.sidebar-credit a{text-decoration:none}.sidebar-credit a:hover{text-decoration:underline}
.console-stage{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:10px;min-height:0;min-width:0}
#chooserMount{display:grid;grid-template-rows:auto minmax(0,1fr);gap:9px;min-height:0;min-width:0}
#chooserMount .mode-tabs{margin:0;gap:7px;grid-template-columns:repeat(5,minmax(0,1fr))}
#chooserMount .mode-tab{min-height:43px;padding:7px 5px;font-size:clamp(11px,1.13vw,15px);border-radius:11px;background:#fff;border-color:#d9e1ef;box-shadow:0 2px 0 #dfe5ef}
#chooserMount .mode-tab[aria-pressed=true]{background:#243e76;color:#fff;border-color:#243e76;box-shadow:0 3px 0 #132b57}
#chooserMount .chooser-board{height:100%;min-height:0;min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:4px;border-radius:19px;padding:clamp(14px,2vw,25px);background:radial-gradient(ellipse at 49% 39%,#2d6a7b,#1b4b68 48%,#193457 100%);box-shadow:0 7px 20px #263e6220}
#chooserMount .chooser-heading{min-height:0;padding:0 3px;text-align:center}
#chooserMount .chooser-title{font-size:clamp(25px,3.2vw,45px);line-height:1.05;letter-spacing:-.045em;overflow-wrap:anywhere}
#chooserMount .chooser-subtitle{margin:6px auto 0;font-size:clamp(12px,1.25vw,17px);line-height:1.3;max-width:680px}
#chooserMount .chooser-stage{min-height:0;min-width:0;height:100%;padding:6px 0;container-type:size;gap:clamp(6px,1.3vw,18px)}
#chooserMount .chooser-actions{display:flex;align-items:center;justify-content:center;gap:10px 14px;flex-wrap:wrap;margin:0}
#chooserMount .arcade-action{min-height:42px;font-size:clamp(13px,1.35vw,17px);padding:9px 22px;border-radius:11px;flex:none}
#chooserMount .chooser-note{margin:0;max-width:360px;line-height:1.3;font-size:12px}
#chooserMount .card-mat{height:100%;min-height:0;min-width:0;padding:10px 3px;gap:clamp(3px,1.1vw,15px)}
#chooserMount .real-card{--card-width:clamp(46px,min(10vw,20dvh),160px);--card-width:clamp(42px,min(12.3cqw,55cqh),165px);border-radius:10px;flex:0 1 var(--card-width)}
#chooserMount .real-card-back,#chooserMount .real-card-face{border-radius:10px}
#chooserMount .card-face-title{font-size:clamp(9px,1.4cqw,19px);padding-inline:2px}
#chooserMount .card-pattern{font-size:clamp(24px,6cqw,70px)}
#chooserMount .mode-wheel{gap:clamp(10px,3cqw,40px)}
#chooserMount .wheel-wrap{width:min(38vw,31dvh,345px);height:min(38vw,31dvh,345px);width:min(43cqw,83cqh,360px);height:min(43cqw,83cqh,360px);margin:11px 0 7px}
#chooserMount .wheel-legend{max-width:410px;gap:clamp(3px,1cqh,8px);margin:0;flex:0 1 auto;min-width:0}
#chooserMount .wheel-legend li{font-size:clamp(10px,1.4cqw,16px);line-height:1.15;gap:7px}.wheel-key{width:22px;height:22px;border-radius:6px;font-size:12px}
#chooserMount .mystery-door{width:min(25cqw,49cqh,182px);height:min(36cqw,76cqh,240px);min-width:0}
#chooserMount .class-choice{height:min(78cqh,230px);min-height:0;max-width:min(28cqw,225px);padding:10px 8px;gap:clamp(3px,1.8cqh,9px)}
#chooserMount .class-choice strong{font-size:clamp(12px,2.05cqw,22px)}
#chooserMount .quick-spark{font-size:clamp(48px,37cqh,140px)}
#chooserMount .quick-label{font-size:clamp(16px,2.4cqw,26px)}
.console-result{background:#fff;border:1px solid var(--console-line);border-radius:14px;padding:9px 13px;min-height:67px;min-width:0;display:grid;align-items:center;box-shadow:0 3px 12px #253e640e}
.console-result .ready-state{display:flex;align-items:center;gap:10px;min-width:0}
.ready-icon{display:grid;place-items:center;background:#e9edf9;color:#5165af;border-radius:10px;width:38px;height:38px;flex:none;font-size:23px}.ready-state>div{flex:1;min-width:0}
.ready-state strong{font-size:15px;line-height:1.15;display:block;overflow-wrap:anywhere}.ready-state p{font-size:12px;line-height:1.3;color:var(--console-muted);margin-top:3px}.ready-state button{min-height:38px;font-size:12px;flex:none}
.console-result:has(#deckStage:not([hidden])){background:#f1fae9;border-color:#bedcae}
.console-result .pick-banner{margin:0;padding:0;border:0;background:none;border-radius:0;gap:10px;align-items:center;justify-content:space-between;min-width:0;display:flex;flex-direction:row}
.picked-info{min-width:0;flex:1}.picked-info .eyebrow{font-size:9px;letter-spacing:.09em;color:#40744f;line-height:1.1}.console-result .pick-banner h3{font-size:clamp(17px,2vw,27px);line-height:1.1;margin:3px 0 2px;letter-spacing:-.035em;overflow-wrap:anywhere}.console-result #deckMessage{display:none}.console-result #deckDuration{font-size:11px;margin:0!important;line-height:1.2;padding:0}
.picked-actions{display:flex;gap:7px;align-items:center;flex:none}.picked-actions button,.picked-actions a{min-height:40px!important;font-size:13px!important;border-radius:9px!important;padding:7px 11px!important;white-space:nowrap}
.console-result .pick-banner .button{background:#285c45;color:#fff;box-shadow:0 3px 0 #1a4934}.console-result .pick-banner .button:hover{background:#397c59}
.console-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(590px,94vw);max-width:none;height:100dvh;max-height:none;border:0;border-left:1px solid #d9e2f1;border-radius:18px 0 0 18px;background:#f5f7fc;box-shadow:-18px 0 55px #132b5140;overflow:auto;overscroll-behavior:contain;padding:0 14px 18px}
.console-drawer::backdrop{background:#15274875;backdrop-filter:blur(2px)}
.console-drawer[open]{animation:drawer-in .18s ease-out}@keyframes drawer-in{from{transform:translateX(25px);opacity:.7}to{transform:translateX(0);opacity:1}}
.console-drawer .drawer-heading{position:sticky;top:0;z-index:2;margin:0 -14px 12px;background:#f5f7fcf5;backdrop-filter:blur(8px);border-bottom:1px solid #dde5f2;padding:14px 18px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.drawer-heading .eyebrow{color:#6356b6;font-size:10px;margin-bottom:3px}.drawer-heading h2{font-size:23px;line-height:1.05;letter-spacing:-.045em;margin:0}.drawer-close{display:grid;place-items:center;border:1px solid #d3ddeb;border-radius:10px;background:#fff;color:#284773;width:38px;height:38px;font-size:25px;line-height:1;font-weight:600}.drawer-close:hover{background:#e7ecfa}
.console-drawer .panel{padding:16px;border-radius:14px;box-shadow:none;border:1px solid #dce3ef;background:#fff;margin:0}
.console-drawer .filters>h2,.console-drawer .filter-intro{display:none}.console-drawer .class-line{align-items:end}.console-drawer .field{margin-top:8px}.console-drawer .filters #pick{margin-top:13px}
.console-drawer .library h2{font-size:21px}.console-drawer .activity-list{grid-template-columns:1fr}.console-drawer .activity-list button{min-height:54px}
.console-drawer .score-header{gap:8px}.console-drawer .score-heading .eyebrow{display:none}.console-drawer .score-heading h2{font-size:19px}.console-drawer .score-summary{grid-template-columns:1fr 1fr}.console-drawer .score-goal{grid-column:1/-1}.console-drawer .score-content{grid-template-columns:1fr}.console-drawer .score-content>div{grid-column:1}
.console-drawer #activity{min-height:0}.console-drawer #activityCard .directions li{padding:10px}
.console-drawer .score-details{margin-bottom:0}
/* Welcome is a separate view. It never takes space away from the picker. */
body.welcome-mode #main{max-width:1400px;padding:clamp(14px,3vw,32px) clamp(15px,3.8vw,44px)}
.welcome-screen{display:grid;gap:16px}
.welcome-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr);align-items:center;gap:20px;position:relative;overflow:hidden;isolation:isolate;min-height:490px;padding:clamp(27px,5vw,68px);border-radius:27px;color:#fff;background:radial-gradient(ellipse at 88% 5%,#455eb3 0,transparent 47%),linear-gradient(132deg,#14274f,#233f7a);box-shadow:0 20px 48px #223e6830}
.welcome-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(#fff 1px,transparent 1px);background-size:27px 27px;opacity:.09;z-index:-1;mask-image:linear-gradient(90deg,transparent,black)}
.welcome-copy{min-width:0;z-index:2}.welcome-kicker{font-size:11px;line-height:1.3;letter-spacing:.15em;font-weight:900;color:#d4ff96}.welcome-kicker span{font-size:18px;vertical-align:-1px;margin-right:6px}
.welcome-copy h1{font-size:clamp(43px,6.7vw,91px);line-height:.96;letter-spacing:-.068em;margin:17px 0 13px;font-weight:1000}.welcome-copy h1 span{color:#d9ff8f}.welcome-lead{font-size:clamp(20px,2.5vw,34px);font-weight:900;letter-spacing:-.04em;line-height:1.1;margin-bottom:10px}
.welcome-description{color:#e0e8ff;font-size:clamp(14px,1.4vw,18px);line-height:1.5;max-width:590px}
.welcome-tags{display:flex;gap:6px;flex-wrap:wrap;margin:17px 0 24px}.welcome-tags span{font-size:11px;line-height:1.2;font-weight:800;color:#eaf2ff;border:1px solid #ffffff40;background:#ffffff14;padding:6px 10px;border-radius:30px}
.welcome-enter{display:inline-flex;align-items:center;justify-content:space-between;gap:35px;min-width:190px;background:#d9ff8f;color:#20385c;border:0;border-radius:13px;padding:12px 21px;min-height:56px;box-shadow:0 6px 0 #8eaf63;font-size:20px;font-weight:950;line-height:1.1}.welcome-enter span{font-size:25px}.welcome-enter:hover{background:#edffc2;transform:translateY(2px);box-shadow:0 4px 0 #8eaf63}
.welcome-remember{display:flex;align-items:center;gap:7px;font-size:12px;color:#d7e3fb;margin-top:17px;cursor:pointer}.welcome-remember input{accent-color:#d9ff8f;width:16px;height:16px;margin:0}
.welcome-art{position:relative;height:clamp(290px,34vw,425px);width:100%;display:grid;place-items:center;isolation:isolate;min-width:0}
.welcome-orbit{position:absolute;width:90%;aspect-ratio:1;border:1px solid #ffffff32;border-radius:50%;z-index:-1}.orbit-two{width:109%;border-style:dashed;opacity:.6}
.welcome-art-card{width:clamp(133px,17vw,220px);height:clamp(190px,24vw,305px);position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:7px solid #fff9eb;border-radius:21px;box-shadow:0 22px 36px #11254e65;color:#213b66;line-height:1;overflow:hidden}
.welcome-art-back{background:repeating-linear-gradient(45deg,#ffbe9a 0 8px,#ffad90 8px 16px);transform:translate(-43%,-4%) rotate(-19deg)}.welcome-art-back span{font-size:65px}.welcome-art-back strong,.welcome-art-mid strong{font-size:12px;letter-spacing:.08em}
.welcome-art-mid{background:#c1c4ff;transform:translate(43%,2%) rotate(18deg)}.welcome-art-mid span{font-size:87px;font-weight:950}.welcome-art-front{background:#d9ff8f;transform:rotate(-4deg);gap:4px;padding:13px;outline:1px solid #203b6570;outline-offset:-14px;z-index:2}
.welcome-card-top,.welcome-card-bottom{position:absolute;top:15px;font-size:9px;font-weight:950;letter-spacing:.08em;white-space:nowrap}.welcome-card-bottom{top:auto;bottom:15px;font-size:8px}.welcome-card-spark{font-size:clamp(40px,5vw,72px);line-height:1}.welcome-art-front strong{font-size:clamp(27px,3.7vw,51px);font-weight:1000;line-height:.86;text-align:center;letter-spacing:-.07em}
.welcome-art-float{position:absolute;z-index:3;font-size:11px;letter-spacing:.08em;font-weight:950;background:#ffd46c;border:2px solid #fff4cc;color:#1d3a66;border-radius:8px;padding:8px 11px;box-shadow:0 8px 15px #122a4e44}.float-one{right:-2%;top:10%;transform:rotate(11deg)}.float-two{left:-4%;bottom:9%;background:#f1e3ff;transform:rotate(-9deg)}
.welcome-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.welcome-features article{display:flex;align-items:flex-start;gap:13px;padding:18px;background:#fff;border:1px solid #dde4ef;border-radius:17px;box-shadow:0 4px 14px #1e33590b}.welcome-feature-icon{width:39px;height:39px;display:grid;place-items:center;flex:none;border-radius:12px;background:#e1e7ff;color:#314c9b;font-size:22px;font-weight:950}.welcome-features article:nth-child(2) .welcome-feature-icon{background:#ffe3d7;color:#b45c41}.welcome-features article:nth-child(3) .welcome-feature-icon{background:#e0f4d4;color:#35754a}
.welcome-features h2{font-size:16px;line-height:1.18;font-weight:950;letter-spacing:-.025em;margin:0 0 5px}.welcome-features p{font-size:13px;line-height:1.4;color:#536782}.welcome-footer{padding:2px 3px 6px}
@media(min-width:851px) and (max-height:680px){
 .picker-console{padding:7px 10px 9px;gap:8px}.console-topbar{padding:6px 9px}.console-layout.playground{gap:9px}.console-sidebar{padding:11px 9px 9px;gap:7px}.console-sidebar .mood-grid{gap:5px;grid-auto-rows:minmax(34px,1fr)}.console-sidebar .mood-card .mood-symbol{width:23px;height:23px;font-size:15px}.console-sidebar .quick-filters select{height:31px;min-height:31px}.console-sidebar .quick-filters label.check{min-height:27px}.sidebar-credit{padding-top:4px}.console-stage{gap:8px}#chooserMount{gap:7px}#chooserMount .mode-tab{min-height:37px}#chooserMount .chooser-board{padding:13px 16px;gap:2px}#chooserMount .chooser-title{font-size:clamp(23px,2.7vw,37px)}#chooserMount .chooser-subtitle{margin-top:3px;font-size:13px}#chooserMount .arcade-action{min-height:36px;padding:7px 18px}#chooserMount .chooser-note{font-size:11px}.console-result{min-height:60px;padding:6px 11px}
}
@media(max-width:1050px){.console-tool:not(.console-icon-only){padding-inline:7px}.console-tool:not(.console-icon-only) span{font-size:11px}.console-help{display:none}.console-score-meter{display:none}.console-class-label>span{display:none}.console-tools{gap:5px}}
@media(max-width:850px){
 .picker-console{height:auto;min-height:100dvh;grid-template-rows:auto auto;padding:10px;gap:10px}.console-topbar{flex-wrap:wrap;gap:9px}.console-identity{flex:1}.console-tools{flex-wrap:wrap;justify-content:flex-start;gap:5px;width:100%}.console-class-label{flex:1;min-width:100px}.console-class-label select{max-width:none;width:100%}.console-class-label>span{display:none}.console-tool:not(.console-icon-only){padding-inline:8px}.console-tool:not(.console-icon-only) span{display:none}.console-help{display:inline-flex}.console-layout.playground{grid-template-columns:1fr;gap:10px}.console-sidebar{padding:11px;gap:8px}.console-sidebar .game-heading{display:flex;align-items:center;justify-content:space-between}.console-sidebar .game-heading .eyebrow{display:none}.console-sidebar .game-heading h2{font-size:17px}.console-sidebar .quick-filters{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.console-sidebar .quick-filters label.check{min-height:33px}.console-sidebar .mood-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:38px;flex:0;gap:5px}.console-sidebar .mood-card{padding:4px 5px;gap:4px}.console-sidebar .mood-card strong{font-size:11px}.console-sidebar .mood-card .mood-symbol{width:21px;height:21px;font-size:15px}.console-sidebar .sidebar-credit{display:none}.console-available{padding:0 2px;font-size:10px}.console-stage{gap:8px;grid-template-rows:auto auto}#chooserMount{grid-template-rows:auto auto;gap:8px}#chooserMount .mode-tabs{gap:5px}#chooserMount .mode-tab{font-size:10px;min-height:38px;padding:4px 2px;white-space:normal}#chooserMount .chooser-board{height:auto;min-height:300px;grid-template-rows:auto minmax(180px,auto) auto;padding:13px;gap:7px}#chooserMount .chooser-title{font-size:clamp(22px,4vw,34px)}#chooserMount .chooser-subtitle{font-size:12px}#chooserMount .chooser-stage{height:235px;min-height:0;container-type:inline-size}#chooserMount .card-mat{min-height:0}#chooserMount .real-card{--card-width:clamp(36px,12.2cqw,96px)}#chooserMount .card-face-title{font-size:clamp(8px,1.7cqw,12px)}#chooserMount .wheel-wrap{width:min(44cqw,190px);height:min(44cqw,190px)}#chooserMount .mode-wheel{flex-direction:row;gap:7px}#chooserMount .wheel-legend{display:grid;grid-template-columns:1fr;gap:4px;width:auto;flex:1}#chooserMount .wheel-legend li{font-size:11px}#chooserMount .mystery-door{width:min(25cqw,110px);height:min(41cqw,165px)}#chooserMount .class-choice{height:145px;max-width:30cqw}#chooserMount .quick-spark{font-size:88px}#chooserMount .chooser-note{font-size:11px}#chooserMount .arcade-action{min-height:39px}.console-result{min-height:65px}.welcome-hero{min-height:0;padding:29px;grid-template-columns:1fr .62fr}.welcome-copy h1{font-size:clamp(40px,7vw,64px)}.welcome-art{height:270px}.welcome-features{gap:8px}.welcome-features article{padding:12px;gap:8px}.welcome-features h2{font-size:14px}.welcome-features p{font-size:12px}.welcome-feature-icon{width:31px;height:31px;font-size:17px}
}
@media(max-width:540px){
 .picker-console{padding:7px;gap:7px}.console-topbar{padding:8px}.console-identity h1{font-size:20px}.console-logo{width:35px;height:35px}.console-tools{gap:4px}.console-tool,.console-score-button,.console-class-label select{min-height:35px;height:35px}.console-icon-only{width:35px}.console-tool:not(.console-icon-only){width:35px;padding:6px}.console-score-button{padding:4px 7px}.console-class-label{min-width:65px}.console-class-label select{font-size:12px}.console-help{display:none}.console-layout.playground{gap:7px}.console-sidebar{padding:8px}.console-sidebar .mood-grid{grid-auto-rows:36px}.console-sidebar .mood-card strong{font-size:10px}.console-sidebar .quick-filters{gap:4px}.console-sidebar .quick-filters label.check{font-size:9px}.console-sidebar .quick-filters select{font-size:11px}.console-sidebar .quick-filters input{width:12px;height:12px}.console-stage{gap:7px}#chooserMount .chooser-board{padding:12px 8px;min-height:280px;grid-template-rows:auto minmax(150px,auto) auto}#chooserMount .chooser-stage{height:180px}#chooserMount .mode-tab{font-size:9px;min-height:34px}#chooserMount .mode-wheel{gap:6px}#chooserMount .wheel-legend li{font-size:9px;gap:4px}.wheel-key{width:17px;height:17px;font-size:10px}.wheel-pointer{border-top-width:21px;border-left-width:9px;border-right-width:9px;top:-12px}.wheel-center{width:34px;height:34px;font-size:17px}#chooserMount .class-choice{height:125px}#chooserMount .class-choice strong{font-size:12px}#chooserMount .chooser-actions{gap:7px;flex-direction:column}#chooserMount .chooser-note{font-size:10px}.console-result{padding:7px 8px}.picked-actions{gap:4px}.picked-actions button,.picked-actions a{min-height:35px!important;font-size:11px!important;padding:6px 8px!important}.console-result .pick-banner h3{font-size:16px}.ready-icon{width:30px;height:30px;font-size:18px}.ready-state strong{font-size:13px}.ready-state p{font-size:11px}.welcome-hero{grid-template-columns:1fr;padding:26px 23px;gap:12px}.welcome-copy h1{font-size:clamp(43px,11vw,65px)}.welcome-description{font-size:14px}.welcome-art{height:210px;max-width:310px;margin:auto}.welcome-art-card{width:118px;height:163px;border-width:5px}.welcome-card-top{font-size:6px;top:10px}.welcome-card-bottom{font-size:6px;bottom:10px}.welcome-card-spark{font-size:41px}.welcome-art-front strong{font-size:31px}.welcome-features{grid-template-columns:1fr}.welcome-features article{padding:14px}
}
@media(prefers-reduced-motion:reduce){.console-drawer[open]{animation:none}.welcome-enter,.console-sidebar .mood-card,.console-score-meter i{transition:none}}

/* Keep the student-view return link readable on light and dark scenes. */
body.projected #returnPicker{background:#e7eeff;color:#17366a;border:1px solid #b8caf2;font-weight:850;min-height:44px;text-decoration:none}
body.projected #returnPicker:hover,body.projected #returnPicker:focus-visible{background:#cddcff;color:#142c56;border-color:#8ca9ee}
.console-result #launchGame{font-weight:900;letter-spacing:.01em}

/* After revealing a mystery card, its face doubles as the launch control. */
#chooserMount .card-mat{position:relative}
#chooserMount .card-play-cta{display:none}
#chooserMount .card-mat .real-card.play-ready{position:absolute;left:50%;top:50%;width:min(36cqw,62cqh,186px);--card-width:min(36cqw,62cqh,186px);height:calc(var(--card-width)*1.42);min-width:0;transform:translate(-50%,-50%) rotate(0);z-index:40;filter:drop-shadow(0 0 18px #d8ff8999);cursor:pointer}
#chooserMount .real-card.play-ready:hover,#chooserMount .real-card.play-ready:focus-visible{transform:translate(-50%,-50%) rotate(0) scale(1.025);filter:drop-shadow(0 0 20px #d8ff89cc)}
#chooserMount .real-card.play-ready .real-card-face{gap:clamp(3px,.7cqw,9px);padding:8px;outline-offset:-7px;justify-content:center}
#chooserMount .real-card.play-ready .card-face-title{font-size:clamp(11px,2.1cqw,21px);line-height:1.14}
#chooserMount .real-card.play-ready .card-face-icon{font-size:clamp(16px,3.2cqw,34px)}
#chooserMount .real-card.play-ready .card-play-cta{display:flex;align-items:center;justify-content:center;background:#214d39;color:#fff;border-radius:8px;box-shadow:0 3px 0 #123422;font-weight:900;font-size:clamp(11px,1.65cqw,17px);line-height:1.1;min-height:35px;padding:6px 7px;white-space:nowrap;max-width:100%}
#chooserMount .real-card.play-ready:hover .card-play-cta{background:#30684c}
#chooserMount .card-mat:has(.play-ready) .real-card:not(.play-ready){filter:brightness(.56)}
@media(max-width:850px){#chooserMount .card-mat .real-card.play-ready{--card-width:min(36cqw,130px);width:var(--card-width)}#chooserMount .real-card.play-ready .card-face-title{font-size:clamp(11px,2.8cqw,16px)}#chooserMount .real-card.play-ready .card-face-icon{font-size:24px}}
@media(max-width:540px){#chooserMount .card-mat .real-card.play-ready{--card-width:min(44cqw,112px);width:var(--card-width)}#chooserMount .real-card.play-ready .real-card-face{padding:6px;gap:4px}#chooserMount .real-card.play-ready .card-play-cta{font-size:12px;min-height:31px;padding:5px 6px}#chooserMount .real-card.play-ready .card-face-time{display:block;font-size:9px}}

/* Inline winners and independently refreshable wheel choices. */
#chooserMount .wheel-refresh{background:#eef5ff;color:#19365c;border:1px solid #adc9f4;border-radius:11px;min-height:42px;padding:8px 16px;font-weight:850;font-size:clamp(12px,1.2vw,16px);box-shadow:0 3px 0 #9fb8d8;white-space:nowrap}
#chooserMount .wheel-refresh:hover:not(:disabled){background:#fff}#chooserMount .wheel-refresh:disabled{opacity:.5;box-shadow:none}
#chooserMount .chooser-stage.has-winner>*:not(.chooser-winner){filter:brightness(.48);pointer-events:none}
#chooserMount .chooser-winner{position:absolute;z-index:70;left:50%;top:50%;transform:translate(-50%,-50%);width:min(88%,410px);max-height:calc(100% - 4px);overflow:auto;background:#fffdf3;color:#20365a;border:2px solid #d8ff89;border-radius:18px;box-shadow:0 10px 35px #07172caa;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:clamp(12px,2.5cqw,23px);text-align:center;animation:winner-pop .28s ease-out}
#chooserMount .winner-symbol{font-size:clamp(22px,4cqw,39px);line-height:1;color:#6a50ce}
#chooserMount .winner-label{color:#48694b;font-size:10px;font-weight:950;letter-spacing:.13em;margin:0}
#chooserMount .winner-title{font-size:clamp(19px,3.2cqw,34px);line-height:1.1;font-weight:950;letter-spacing:-.035em;overflow-wrap:anywhere;margin:0}
#chooserMount .winner-meta{font-size:12px;color:#52627a;margin:0}
#chooserMount .winner-buttons{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;width:100%;margin-top:6px}
#chooserMount .winner-play,#chooserMount .winner-details{font-size:clamp(13px,1.8cqw,17px);font-weight:850;min-height:42px;padding:8px 16px;border-radius:9px;flex:1}
#chooserMount .winner-play{background:#214d39;color:white;border:1px solid #163e2b;box-shadow:0 3px 0 #153523}#chooserMount .winner-play:hover{background:#326b4e}
#chooserMount .winner-details{background:#eaf0fa;color:#24426a;border:1px solid #bdcce3}#chooserMount .winner-details:hover{background:#dce7fc}
@keyframes winner-pop{from{opacity:0;transform:translate(-50%,-45%) scale(.91)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
#chooserMount .doors-shuffling .mystery-door{animation:door-mix .72s ease-in-out both;animation-delay:calc(var(--door-index)*20ms)}
@keyframes door-mix{0%,100%{transform:translateX(0) rotate(0deg)}25%{transform:translateX(calc(var(--door-offset)*-95%)) translateY(-14px) rotate(calc(var(--door-offset)*-8deg))}55%{transform:translateX(calc(var(--door-offset)*-145%)) translateY(8px) rotate(calc(var(--door-offset)*8deg))}78%{transform:translateX(calc(var(--door-offset)*-50%)) translateY(-7px) rotate(calc(var(--door-offset)*-3deg))}}
.directions-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:15px 0 7px}.directions-heading h3{font-size:15px;color:#263d62;margin:0}.directions-heading button{min-height:36px;padding:6px 10px;font-size:12px}
.directions-editor{background:#f3f6fc;border:1px solid #d4dfee;border-radius:12px;padding:12px;display:grid;gap:10px}.directions-editor[hidden]{display:none}.directions-editor label{font-size:12px;font-weight:800;color:#3a4f71}.directions-editor textarea{width:100%;min-height:135px;resize:vertical;font:inherit;padding:10px;border-radius:8px;border:1px solid #b6c6dc;background:#fff;color:#20365a}.directions-help{font-size:12px;line-height:1.4;color:#536785;margin:0}.directions-editor .button-row{flex-wrap:wrap;gap:6px}.directions-editor .button-row button{font-size:12px;min-height:36px}.pz-rule{white-space:pre-line}
@media(max-width:540px){#chooserMount .chooser-stage.has-winner{height:210px}#chooserMount .chooser-winner{padding:10px;gap:4px;width:94%}#chooserMount .winner-symbol{font-size:22px}#chooserMount .winner-title{font-size:20px}#chooserMount .winner-play,#chooserMount .winner-details{min-height:38px;padding:6px 10px}#chooserMount .wheel-refresh{min-height:38px;font-size:13px}#chooserMount .chooser-actions:has(.wheel-refresh:not([hidden])){flex-direction:row}#chooserMount .chooser-actions:has(.wheel-refresh:not([hidden])) .chooser-note{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){#chooserMount .chooser-winner,#chooserMount .doors-shuffling .mystery-door{animation:none}}
