.platform-shell.teacher-app-shell:has(.teacher-home-v2){background:#fff}.teacher-home-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;color:#173e37}.teacher-home-heading h1{margin:0 0 6px;font-size:clamp(28px,3vw,36px);font-weight:850;line-height:1.4;letter-spacing:-.04em}.teacher-home-heading p{color:#5c706a;font-size:14px;margin:0}.teacher-home-heading-actions{display:flex;align-items:flex-end;flex-direction:column;gap:10px}.teacher-home-connection{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:#725f3e;background:#fff5dd;border-radius:10px;padding:7px 10px;font-size:11px}.teacher-home-connection.configured{color:#236b52;background:#e6f6ed}.teacher-home-connection .platform-icon{width:16px;height:16px}.teacher-home-v2{container:teacher-home / inline-size;color:#173e37}.platform-shell .teacher-workspace-overview.teacher-home-v2{gap:22px}.teacher-home-v2 :is(h2,h3,p){margin:0}.teacher-home-phases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.teacher-home-phase{position:relative;min-width:0;display:flex;align-items:center;flex-direction:column;gap:10px;padding:30px 20px 20px;border:1px solid #dce8e2;border-radius:15px;background:#f9fbfc;text-align:center}.teacher-home-phase.after{background:#efedfc;border-color:#e3ddf6}.teacher-home-phase.current{border:2px solid #197d70;background:#eaf7f1;padding:29px 19px 19px}.teacher-home-phase.after.current{background:#efedfc;border-color:#766494}.teacher-home-phase .teacher-home-art,.teacher-home-phase .lobby-illustration{display:block;width:86px;height:86px;margin-bottom:2px;flex:0 0 auto}.teacher-home-current{position:absolute;top:12px;left:12px;font-size:10px;padding:3px 7px;border-radius:6px;color:#fff;background:#197d70}.teacher-home-phase.after .teacher-home-current{background:#766494}.teacher-home-v2 .teacher-home-phase h2{color:#173e37;font-size:22px;line-height:1.5;font-weight:800}.teacher-home-v2 .teacher-home-phase p{flex:1;font-size:12px;line-height:1.8;color:#5c706a;overflow-wrap:anywhere;margin:0 0 6px}.platform-shell .teacher-home-phase .button{width:100%;padding:10px 8px;font-size:12px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}.teacher-home-v2 .teacher-home-text-link{display:inline-flex;align-items:center;gap:6px;padding-block:3px;font-size:12px;font-weight:700;color:#236b5b;text-underline-offset:4px}.teacher-home-text-link .platform-icon{width:16px;height:16px}.teacher-home-v2 .teacher-home-text-link.attention{color:#93681e}.teacher-home-waiting{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 8px;width:100%;min-height:44px;background:#e8ebee;border-radius:10px;font-size:12px;color:#65757a}.teacher-home-waiting .platform-icon{width:16px;height:16px}.teacher-home-arrow{flex:0 0 18px}.teacher-home-tools{padding:16px 18px;background:#fff6df;border:1px solid #f2e7c9;border-radius:14px}.teacher-home-v2 .teacher-home-tools h2{font-size:18px;line-height:1.5;margin-bottom:10px}.teacher-home-tools>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.teacher-home-tools a{display:flex;align-items:center;gap:9px;min-height:56px;padding:6px 12px;border-right:1px solid #e6dbbb;color:#173e37;text-decoration:none;min-width:0;border-radius:6px}.teacher-home-tools a:last-child{border-right:0}.teacher-home-tools a strong{flex:1;font-size:12px;line-height:1.6}.teacher-home-tool-icon{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;color:#376b5f}.teacher-home-tool-icon .platform-icon{width:28px;height:28px;stroke-width:1.8}.teacher-home-settings{padding:18px;border:1px solid #dce8e2;border-radius:14px}.teacher-home-v2 .teacher-home-settings h2{font-size:20px;line-height:1.5;margin-bottom:14px}.teacher-home-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.teacher-home-settings-grid>a,.teacher-home-other{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #dce8e2;border-radius:12px;min-width:0;background:#fff;color:#173e37;text-decoration:none}.teacher-home-setting-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;color:#286c5b;border-radius:10px;background:#edf7f1}.teacher-home-setting-icon .platform-icon{width:25px;height:25px}.teacher-home-settings-grid>a>div,.teacher-home-other>div{flex:1;min-width:0;overflow-wrap:anywhere}.teacher-home-settings-grid span:not(.teacher-home-setting-icon),.teacher-home-other>div>span{font-size:12px;font-weight:750}.teacher-home-settings-grid strong{display:block;font-size:14px;font-weight:650;margin-top:3px}.teacher-home-settings-grid small{display:block;color:#63766e;font-size:11px;margin-top:3px}.teacher-home-other nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.teacher-home-other nav a{color:#236b5b;font-size:11px;text-underline-offset:3px}.platform-shell .teacher-sidebar.teacher-navigation-v2{padding-top:24px;background:#143c35}.teacher-navigation-v2 .teacher-nav-search{display:flex;align-items:center;gap:8px;margin:20px 0 2px;padding:0 10px;min-height:44px;border:1px solid #ffffff30;border-radius:10px;background:#ffffff08;color:#c7ddd3}.teacher-nav-search>svg{flex:0 0 18px}.teacher-navigation-v2 .teacher-nav-search input{min-width:0;flex:1;width:100%;background:transparent;border:0;padding:10px 0;font:inherit;font-size:13px;color:#fff;box-shadow:none;outline-offset:0}.teacher-navigation-v2 .teacher-nav-search input::placeholder{color:#b8cfc4;opacity:1}.teacher-nav-search input::-webkit-search-cancel-button{display:none}.teacher-nav-search button{display:grid;place-items:center;min-width:28px;min-height:32px;padding:0;background:transparent;color:#c7ddd3;border:0;cursor:pointer}.platform-shell .teacher-navigation-v2 .teacher-navigation-group{margin-bottom:10px}.platform-shell .teacher-navigation-v2 .teacher-navigation-group h2{margin:0;font-size:13px;letter-spacing:0}.teacher-navigation-v2 .teacher-nav-group-toggle{display:flex;align-items:center;gap:10px;width:100%;padding:11px 10px;border:1px solid #ffffff20;border-radius:10px;font:inherit;font-weight:750;line-height:1.6;color:#e3f0e9;background:#ffffff05;cursor:pointer;min-height:46px}.teacher-nav-group-toggle>span{flex:1;text-align:left}.teacher-nav-chevron{transition:transform .16s ease}.teacher-nav-group-toggle[aria-expanded=true] .teacher-nav-chevron{transform:rotate(180deg)}.teacher-navigation-v2 .teacher-navigation-group>div{padding-top:5px}.teacher-navigation-v2 .teacher-navigation-group>[hidden]{display:none}.platform-shell .teacher-navigation-v2 nav a{min-height:44px;gap:10px;margin-block:3px;padding:8px 10px}.platform-shell .teacher-navigation-v2 nav a.active{background:#2e7869;border-color:#89c5aa60;box-shadow:inset 3px 0 #b0d9c3}.platform-shell .teacher-navigation-v2 nav a .teacher-nav-icon{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:7px;color:#c3dfd0;background:#ffffff09}.platform-shell .teacher-navigation-v2 nav a.active .teacher-nav-icon{color:#fff1c5;background:#ffffff12}.teacher-nav-empty{font-size:13px;padding:12px;color:#d1e1d9}.platform-shell .teacher-navigation-v2 .teacher-sidebar-note{margin-top:auto;padding-top:20px}.platform-shell .teacher-navigation-v2 .teacher-sidebar-note a{display:inline-flex;gap:7px;align-items:center}@media(hover:hover){.teacher-home-tools a:hover{background:#f6e9c6}.teacher-home-settings-grid>a:hover{border-color:#9dbdab;background:#f7fbf8}.teacher-nav-group-toggle:hover{background:#ffffff12}}@container teacher-home (max-width:760px){.teacher-home-phase{padding-inline:12px}.teacher-home-phase.current{padding-inline:11px}.teacher-home-v2 .teacher-home-phase h2{font-size:20px}.teacher-home-tools>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 0}.teacher-home-tools a:nth-child(2n){border-right:0}}@container teacher-home (max-width:520px){.teacher-home-phases{grid-template-columns:minmax(0,1fr);gap:12px}.teacher-home-phase,.teacher-home-phase.current{padding:20px 16px;gap:8px}.teacher-home-phase:not(.current){display:grid;grid-template-columns:54px minmax(0,1fr);text-align:left;gap:4px 14px}.teacher-home-phase:not(.current) .teacher-home-art,.teacher-home-phase:not(.current) .lobby-illustration{width:54px;height:54px;grid-row:1/3;margin:0}.teacher-home-phase:not(.current)>:not(svg):not(h2){grid-column:2}.teacher-home-phase:not(.current) .button,.teacher-home-phase:not(.current) .teacher-home-waiting{grid-column:1/-1;margin-top:4px}.teacher-home-v2 .teacher-home-phase p{font-size:12px;margin-bottom:0}.teacher-home-settings{padding:16px}.teacher-home-settings-grid{grid-template-columns:minmax(0,1fr)}.teacher-home-tools{padding:14px 10px}.teacher-home-tools a{padding:8px;gap:6px}.teacher-home-tools a strong{font-size:12px}.teacher-home-tool-icon{width:26px;flex-basis:26px}.teacher-home-tool-icon .platform-icon{width:23px;height:23px}}@media(max-width:820px){.teacher-home-heading{flex-direction:column;gap:12px}.teacher-home-heading-actions{align-items:flex-start}.platform-shell .teacher-sidebar.teacher-navigation-v2 .teacher-sidebar-brand{padding-bottom:18px}}@media(prefers-reduced-motion:reduce){.teacher-nav-chevron{transition:none}}.teacher-notifications{display:inline-flex}.notification-bell{display:inline-flex;align-items:center;gap:8px;min-height:44px}.notification-bell b{min-width:23px;padding:3px 7px;border-radius:20px;background:#a42d28;color:#fff;font-size:12px}.notification-backdrop{position:fixed;inset:0;z-index:1500;background:#12223888;display:flex;align-items:flex-start;justify-content:center;padding:24px 16px;overflow:auto}.notification-panel{width:min(760px,100%);max-height:calc(100dvh - 48px);overflow:auto;box-sizing:border-box;border:1px solid #d4e1dd;border-radius:22px;padding:24px;background:#fffdf6;color:#183c38;box-shadow:0 24px 60px #0003;text-align:left}.notification-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.notification-heading h2{margin:0;font-size:22px}.notification-heading p{margin:8px 0 12px}.notification-list{margin:18px 0;display:grid;gap:10px}.notification-entry{display:flex;gap:12px;align-items:center;justify-content:space-between;border:1px solid #d7e3df;border-radius:14px;padding:14px;background:#fff}.notification-entry.unread{border-left:5px solid #137b69;background:#effaf3}.notification-entry p{margin:7px 0}.notification-entry small{color:#5e7470}.notification-entry>div{min-width:0;overflow-wrap:anywhere}.notification-entry .button{flex-shrink:0}.notification-test{display:inline-block;padding:2px 7px;border-radius:10px;background:#eee3bc;color:#584a16;font-size:11px}.notification-panel>.button{margin-top:10px}@media(max-width:600px){.notification-backdrop{padding:12px 8px}.notification-panel{padding:16px;max-height:calc(100dvh - 24px)}.notification-heading{flex-wrap:wrap}.notification-entry{align-items:flex-start;flex-direction:column}.notification-heading h2{font-size:20px}.notification-bell{gap:4px;font-size:12px}.teacher-topbar-note{display:none}}.notification-toast{position:fixed;right:18px;bottom:18px;z-index:1400;width:min(360px,calc(100vw - 36px));box-sizing:border-box;border:1px solid #aed6c7;border-radius:18px;background:#fffdf6;color:#183c38;box-shadow:0 12px 40px #0003;padding:18px;text-align:left}.notification-toast p{margin:8px 0 14px}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f6f7fb;font-synthesis:none}*{box-sizing:border-box}.boss-selector{margin:0;padding:18px;border:1px solid #c5d5dc;border-radius:16px;min-width:0}.boss-selector legend{font-size:18px;font-weight:800;padding:0 8px}.boss-selector-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.boss-choice{position:relative;display:grid;gap:6px;padding:14px;border:2px solid #d4dfeb;border-radius:16px;background:#edf2f8;color:#253e58;cursor:pointer;min-width:0}.boss-choice.selected{border-color:#2975db;background:#e1edfc;box-shadow:0 0 0 2px #b3d2fc}.boss-choice input{position:absolute;top:12px;left:12px;width:18px;height:18px;accent-color:#2975db}.boss-choice img{width:100%;height:160px;object-fit:contain;filter:drop-shadow(0 5px 6px #223c5540)}.boss-choice strong{font-size:16px}.boss-choice span{font-size:13px;color:#546883}.boss-choice:has(input:focus-visible){outline:3px solid #e9b53e;outline-offset:3px}.boss-selector:disabled .boss-choice{cursor:default;opacity:.65}@media(max-width:760px){.boss-selector-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.boss-choice{padding:10px}.boss-choice img{height:125px}.boss-choice strong{font-size:14px}}body{margin:0;min-width:320px;min-height:100vh}a{color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.app-shell{min-height:100vh}.topbar{height:66px;background:#111827;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100vw - 1120px)/2));gap:20px}.brand{text-decoration:none;font-weight:800;letter-spacing:-.02em}.brand span{color:#a7f3d0;font-size:.78rem;margin-left:8px}.topbar nav{display:flex;gap:8px}.topbar nav a{color:#d1d5db;text-decoration:none;padding:9px 12px;border-radius:10px}.topbar nav a.active{color:#fff;background:#374151}.nav-button{border:0;border-radius:10px;padding:9px 12px;background:transparent;color:#d1d5db;cursor:pointer;font:inherit}.nav-button:hover{color:#fff;background:#374151}.student-mode-label{border:1px solid #475467;border-radius:999px;padding:7px 11px;color:#d1fae5;font-size:.8rem;font-weight:800}.auth-panel{width:min(100%,520px);margin:48px auto;display:grid;gap:18px}.auth-panel h1{margin:4px 0 0}.auth-form{display:grid;gap:16px}.teacher-registration-email{overflow-wrap:anywhere;min-width:0}.auth-form p{margin:0;color:#475467}.page{max-width:1120px;margin:0 auto;padding:42px 22px 80px}.stack-xl{display:grid;gap:28px}.hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.6fr);gap:32px;align-items:stretch}.hero h1,.page-heading h1,.join-card h1{margin:8px 0 14px;font-size:clamp(2rem,4vw,4rem);line-height:1.04;letter-spacing:-.04em}.hero p,.page-heading p,.join-card p{color:#667085;font-size:1.05rem;line-height:1.7}.eyebrow{font-size:.72rem;font-weight:800;letter-spacing:.12em;color:#0f766e;text-transform:uppercase}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid transparent;padding:11px 16px;border-radius:12px;font-weight:750}.button.primary{background:#111827;color:#fff}.button.secondary{background:#fff;border-color:#d8dde8;color:#283246}.button.danger{background:#fff1f0;border-color:#fda29b;color:#b42318}.button.full{width:100%}.architecture-card,.panel,.feature,.join-card,.question-card{background:#fff;border:1px solid #e2e6ee;border-radius:20px}.architecture-card{padding:24px;display:grid;align-content:center;gap:5px}.architecture-card span{color:#98a2b3;font-size:.8rem;margin-top:9px}.architecture-card strong{font-size:1.12rem}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.feature{padding:20px}.feature p{margin-bottom:0;color:#667085;line-height:1.6}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.page-heading h1{font-size:clamp(2rem,3vw,3rem)}.status{border-radius:999px;border:1px solid #f0d5a8;background:#fff9ed;color:#9a6700;padding:8px 12px;font-size:.8rem;font-weight:700;white-space:nowrap}.status.ok{border-color:#abefc6;background:#ecfdf3;color:#067647}.teacher-preview-shortcut{position:fixed;z-index:15;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom))}.teacher-preview-shortcut summary{display:flex;align-items:center;justify-content:center;min-height:48px;padding:11px 18px;border:1px solid #67e8f9;border-radius:999px;background:#102946;color:#effcff;box-shadow:0 9px 30px #071c3d70;cursor:pointer;font-weight:900;list-style:none}.teacher-preview-shortcut summary::-webkit-details-marker{display:none}.teacher-preview-shortcut summary:hover,.teacher-preview-shortcut summary:focus-visible{background:#164a71;outline:2px solid #22d3ee;outline-offset:2px}.teacher-preview-shortcut nav{position:absolute;right:0;bottom:calc(100% + 10px);display:grid;gap:6px;width:min(260px,calc(100vw - 40px));padding:10px;border:1px solid #cbd5e1;border-radius:16px;background:#fff;box-shadow:0 14px 36px #071c3d38}.teacher-preview-shortcut nav a{display:block;padding:11px 13px;border-radius:10px;color:#172033;font-weight:800;text-decoration:none}.teacher-preview-shortcut nav a:hover,.teacher-preview-shortcut nav a:focus-visible{background:#ecfeff;outline:2px solid #0e7490;outline-offset:-2px}.panel{padding:24px}.panel.compact{display:flex;align-items:center;justify-content:space-between;gap:18px}.room-panel{display:grid;grid-template-columns:1fr auto;gap:32px;align-items:center}.label{font-size:.8rem;color:#667085}.room-code{font-size:clamp(2.5rem,8vw,5.5rem);letter-spacing:.1em;font-weight:900;color:#111827}.qr-box{display:grid;place-items:center;gap:8px;background:#f9fafb;padding:18px;border-radius:16px;max-width:220px}.qr-placeholder{width:186px;min-height:186px;display:grid;place-items:center;align-content:center;gap:8px;border:1.5px dashed #cfd5df;background:#f9fafb;color:#98a2b3;border-radius:16px}.qr-placeholder span{font-size:2.4rem;font-weight:900;letter-spacing:.08em}.qr-link{display:block;line-height:0}.qr-box small{color:#667085;word-break:break-all;text-align:center}.muted{color:#667085}.section-title-row{display:flex;justify-content:space-between;gap:20px;align-items:center}.section-title-row h2{margin:5px 0 0}.file-drop{margin-top:18px;border:1.5px dashed #b8c0cf;background:#fbfcfe;border-radius:16px;padding:24px;display:grid;gap:10px;color:#475467;font-weight:700}.file-drop input{width:100%}.question-image-files{background:#f0fdfa;border-color:#99f6e4}.question-image-files small{color:#667085;font-weight:500;line-height:1.5}.import-result{margin-top:16px;border-top:1px solid #eceff4;padding-top:14px}.success-text{color:#067647;font-weight:700}.error-text{color:#b42318}.warning-text{color:#b54708}.question-nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.question-nav button{border:1px solid #d7dce5;background:#fff;padding:8px 12px;border-radius:9px}.question-nav .publish-question-button{border-color:#111827;background:#111827;color:#fff}.duration-select{display:inline-flex;align-items:center;gap:7px;color:#475467;font-size:.86rem;font-weight:700}.duration-select select{border:1px solid #d7dce5;background:#fff;padding:8px 10px;border-radius:9px}.quiz-submission-count{display:block;margin-top:6px;color:#0f766e;font-size:.84rem;font-weight:800}.question-card{padding:clamp(20px,4vw,36px)}.question-card h3{font-size:clamp(1.6rem,3vw,2.6rem);margin:9px 0 24px;overflow-wrap:anywhere}.question-image{width:100%;margin:0 0 22px;display:grid;place-items:center;overflow:hidden;border:1px solid #e2e6ee;border-radius:16px;background:#f8fafc}.question-image img{display:block;width:100%;max-height:min(44vh,480px);object-fit:contain}.question-image.display{margin-bottom:18px;border-color:#94a3b847;background:#0f172a94}.question-image.display img{max-height:min(30vh,340px)}.question-image-error{margin:0 0 18px;padding:12px;border:1px dashed #fda29b;border-radius:12px;background:#fff1f0;color:#b42318;text-align:center}.question-image-error.display{border-color:#fda4af8c;background:#7f1d1d47;color:#fecdd3}.answer-grid,.student-answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.answer-option{min-height:92px;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;text-align:left;gap:12px;background:#f8fafc;border:1px solid #e1e6ef;border-radius:14px;padding:14px;color:#263148}.answer-option span,.display-question-card h2{overflow-wrap:anywhere}.answer-option strong{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#111827;color:#fff}.answer-option.correct{border-color:#6ce9a6;background:#ecfdf3}.answer-reveal{margin:16px 0 0;color:#067647;font-weight:800}.join-card{max-width:480px;margin:30px auto;padding:30px}.join-card h1{font-size:2.6rem}.join-card form{display:grid;gap:16px;margin-top:22px}.join-card label{display:grid;gap:8px;font-weight:700}.join-card input{width:100%;border:1px solid #cfd5df;border-radius:12px;padding:13px;font-size:16px}.student-frame{max-width:900px;margin:0 auto}.student-meta{display:flex;justify-content:space-between;color:#667085;margin-bottom:18px}.student-question h1{font-size:clamp(1.8rem,6vw,3.6rem);line-height:1.1;margin:10px 0 24px}.student-countdown{width:fit-content;margin-top:10px;border-radius:999px;padding:7px 12px;background:#ecfdf3;color:#067647;font-weight:900}.student-countdown.urgent{background:#fff1f0;color:#b42318}.student-answer-grid button{min-height:120px;border:2px solid transparent;border-radius:18px;display:grid;place-items:center;background:#fff;box-shadow:0 1px 2px #1018280d}.student-answer-grid button b{font-size:1.6rem}.student-answer-grid button span{font-size:1.2rem}.student-answer-grid button.selected{border-color:#111827;background:#f3f4f6}.student-submit{display:grid;gap:4px;margin-top:18px}.student-submit p{margin-bottom:0}.waiting-question{min-height:320px;display:grid;place-items:center;align-content:center}.waiting-question h1,.center{text-align:center}.participant-panel{display:grid;gap:18px}.participant-list{list-style:none;display:grid;gap:10px;margin:0;padding:0}.participant-list li{display:grid;grid-template-columns:12px 1fr auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid #e2e6ee;border-radius:12px;background:#fbfcfe}.presence-dot{width:10px;height:10px;border-radius:50%;background:#98a2b3;box-shadow:0 0 0 3px #eaecf0}.presence-dot.online{background:#12b76a;box-shadow:0 0 0 3px #d1fadf}.presence-label{border-radius:999px;padding:5px 9px;background:#f2f4f7;color:#667085;font-size:.78rem;font-weight:800}.presence-label.online{background:#ecfdf3;color:#067647}.round-control-panel{display:grid;gap:18px;border-color:#a7f3d0;background:linear-gradient(135deg,#fff,#f0fdfa)}.round-control-panel h2{margin:5px 0 8px}.round-control-panel p{margin:0;color:#475467}.round-control-panel .auto-reveal-note{margin-top:8px;color:#0f766e;font-weight:750}.round-metrics{display:grid;grid-template-columns:repeat(3,minmax(100px,1fr));gap:12px}.round-metrics div{display:grid;gap:2px;padding:16px;border-radius:14px;background:#fff;border:1px solid #d1fae5;text-align:center}.round-metrics strong{font-size:2rem;color:#0f766e}.round-metrics span{color:#667085;font-size:.82rem;font-weight:700}.answer-progress-panel{display:grid;gap:12px;padding:16px;border:1px solid #d1fae5;border-radius:14px;background:#fff}.answer-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.answer-progress-heading h3{margin:0;font-size:1rem}.answer-progress-heading>span{color:#0f766e;font-size:.86rem;font-weight:800}.answer-progress-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:0;padding:0;list-style:none}.answer-progress-list li{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:9px;padding:11px 12px;border:1px solid;border-radius:11px}.answer-progress-list li.answered{border-color:#a7f3d0;background:#ecfdf3;color:#067647}.answer-progress-list li.waiting{border-color:#fedf89;background:#fffaeb;color:#93370d}.answer-progress-list li>span:last-child{font-size:.78rem;font-weight:800}.answer-progress-icon{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#ffffffbf;font-weight:900}.room-metadata-inputs{display:grid;grid-template-columns:minmax(180px,1fr) minmax(150px,.7fr);gap:12px;margin-bottom:22px}.field-label{display:grid;gap:7px;color:#344054;font-size:.88rem;font-weight:750}.field-label input,.field-label textarea,.data-table input{width:100%;border:1px solid #cfd5df;border-radius:10px;padding:10px 12px;color:#172033;background:#fff}.field-label textarea{resize:vertical}.session-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-block:16px}.session-batch-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.toggle-label{display:inline-flex;align-items:center;gap:9px;font-weight:750;color:#344054}.toggle-label input{width:18px;height:18px}.session-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.session-card{display:grid;gap:18px}.session-card.archived{background:#f9fafb}.session-select{width:fit-content}.session-card h2{margin:5px 0 0}.session-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0}.session-facts div{min-width:0;padding:12px;border-radius:12px;background:#f8fafc}.session-facts div:nth-child(2){grid-column:span 2}.session-facts dt{color:#667085;font-size:.74rem;font-weight:750}.session-facts dd{margin:5px 0 0;font-weight:850;overflow-wrap:anywhere}.empty-state{text-align:center;padding-block:50px}.dialog-backdrop{position:fixed;inset:0;z-index:110;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);place-items:center;padding:clamp(8px,3dvh,20px);background:#1118278c}.confirm-dialog{width:min(520px,100%);max-height:100%;overflow:auto;overscroll-behavior:contain;padding:26px;border-radius:18px;background:#fff;box-shadow:0 24px 60px #10182840}.points-dialog{width:min(920px,100%);display:flex;flex-direction:column;overflow:hidden;padding:0}.points-dialog>.section-title-row{flex:none;flex-flow:row wrap;align-items:center;gap:8px 16px;padding:12px 20px;border-bottom:1px solid #dce3ec}.points-dialog>.section-title-row h2{margin:0;font-size:clamp(1rem,2.5vw,1.5rem);overflow-wrap:anywhere}.points-dialog-body{min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;padding:12px 20px 20px}.points-dialog .roster-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}.points-dialog .points-confirm{overflow-wrap:anywhere}.points-balance{font-size:1.35rem}.points-confirm{margin:18px 0;padding:16px;border:1px solid #d4a64c;border-radius:12px;background:#fff9e9}.points-dialog details p{overflow-wrap:anywhere;max-width:320px;font-size:.8rem}.member-review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px}.member-review-card{padding:18px;border:1px solid #d4e1df;border-radius:14px;background:#f8fbfa}.member-name-list{display:flex;flex-wrap:wrap;gap:8px 10px;padding:0;list-style:none;margin:10px 0}.member-name-list li{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;background:#f0fdfa;border:1px solid #ccfbf1;border-radius:999px;font-weight:750;font-size:.88rem;color:#0f766e}.student-members{border:1.5px solid #dbeafe;background:linear-gradient(180deg,#fff,#fbfcfe);box-shadow:0 4px 20px #0f172a0d}.member-count-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:10px 14px;background:#f0fdfa;border:1px solid #ccfbf1;border-radius:12px;color:#134e4a;font-size:.92rem;line-height:1.5}.member-count-pill{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;background:#0f766e;color:#fff;border-radius:999px;font-size:.85rem;font-weight:700;box-shadow:0 2px 5px #0f766e40;white-space:nowrap}.member-count-pill strong{font-size:1rem;color:#fff}.member-count-tip{color:#0f766e;font-weight:500}.member-candidates{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));gap:10px;padding:16px 14px 14px;border:1.5px solid #cbd5e1;border-radius:16px;background:#f8fafc;max-height:380px;overflow-y:auto;position:relative}.member-candidates legend{padding:3px 12px;font-size:.84rem;font-weight:800;letter-spacing:.02em;color:#0f766e;background:#fff;border:1.5px solid #ccfbf1;border-radius:999px;box-shadow:0 2px 5px #0000000a}.member-candidate{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:#fff;border:1.5px solid #e2e8f0;border-radius:13px;box-shadow:0 1px 3px #0000000a;cursor:pointer;-webkit-user-select:none;user-select:none;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease;min-height:52px;box-sizing:border-box}.member-candidate:hover:not(.disabled){border-color:#0d9488;background:#fcfdfd;transform:translateY(-2px);box-shadow:0 4px 12px #0d948826}.member-candidate:active:not(.disabled){transform:translateY(0) scale(.985)}.member-candidate.selected{background:linear-gradient(135deg,#f0fdf4,#ecfdf5);border-color:#0d9488;box-shadow:0 4px 14px #0d94882e,inset 0 0 0 1px #0d9488}.member-candidate.disabled{background:#f1f5f9;border-color:#e2e8f0;opacity:.55;cursor:not-allowed;box-shadow:none;transform:none}.member-candidate-info{display:flex;align-items:center;gap:9px;min-width:0;flex:1}.member-seat-badge{display:inline-flex;align-items:center;justify-content:center;min-width:32px;padding:3px 6px;font-size:.78rem;font-weight:800;border-radius:7px;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;flex-shrink:0;letter-spacing:.02em;transition:background .16s ease,color .16s ease,border-color .16s ease}.member-candidate.selected .member-seat-badge{background:#0f766e;color:#fff;border-color:#0f766e;box-shadow:0 2px 4px #0f766e40}.member-candidate-details{display:flex;flex-direction:column;gap:1px;min-width:0}.member-name{font-size:.98rem;font-weight:750;color:#1e293b;overflow-wrap:anywhere;line-height:1.3;letter-spacing:.01em}.member-candidate.selected .member-name{color:#064e3b;font-weight:800}.member-unavailable-badge{display:inline-block;font-size:.72rem;font-weight:600;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;padding:1px 6px;border-radius:4px;width:fit-content;white-space:nowrap}.member-checkbox-input{position:absolute;opacity:0;width:100%;height:100%;top:0;left:0;margin:0;cursor:inherit;z-index:1}.member-candidate:has(.member-checkbox-input:focus-visible){outline:3px solid #14b8a6;outline-offset:2px}.member-check-indicator{display:flex;align-items:center;justify-content:center;width:22px;height:22px;flex-shrink:0;border-radius:7px;border:2px solid #cbd5e1;background:#fff;color:#fff;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;box-sizing:border-box}.member-candidate:hover:not(.disabled) .member-check-indicator{border-color:#0d9488}.member-candidate.selected .member-check-indicator{background:#0f766e;border-color:#0f766e;box-shadow:0 2px 5px #0f766e59}.member-check-icon{width:14px;height:14px;opacity:0;transform:scale(.6);transition:opacity .16s ease,transform .16s ease}.member-candidate.selected .member-check-icon{opacity:1;transform:scale(1)}.member-candidates-empty{grid-column:1 / -1;text-align:center;padding:24px 12px;margin:0;font-size:.9rem}@media(max-width:600px){.member-candidates{grid-template-columns:repeat(auto-fill,minmax(min(100%,140px),1fr));gap:8px;padding:12px 10px 10px}.member-candidate{padding:8px 10px;min-height:48px}.member-name{font-size:.92rem}}@media(prefers-reduced-motion:reduce){.member-candidate,.member-check-indicator,.member-check-icon{transition:none!important;transform:none!important}}.batch-delete-list{max-height:min(240px,30vh);overflow:auto;padding-left:24px}.confirm-dialog h2{margin:7px 0 12px}.confirm-dialog .field-label{margin-top:20px}.actions.flush{margin-top:0}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:20px}.full-span{grid-column:1 / -1}.session-meta-row{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:16px;color:#667085;font-size:.84rem}.data-table-wrap{overflow-x:auto;margin-top:18px}.data-table{width:100%;border-collapse:collapse;min-width:650px}.data-table th,.data-table td{padding:12px 10px;border-bottom:1px solid #eaecf0;text-align:left;vertical-align:middle}.data-table th{color:#667085;font-size:.78rem}.table-actions{display:flex;gap:7px}.table-actions button{border:1px solid #d7dce5;border-radius:8px;background:#fff;padding:6px 9px}.question-history-list{display:grid;gap:12px;margin-top:18px}.answer-analysis{display:grid;gap:18px}.analysis-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.analysis-metrics>div{display:grid;gap:4px;padding:16px;border-radius:13px;background:#f0fdfa}.analysis-metrics strong{color:#0f766e;font-size:1.55rem}.analysis-metrics span,.analysis-note{color:#667085;font-size:.82rem}.analysis-note{margin:0;line-height:1.6}.analysis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.analysis-chart{min-width:0;padding:17px;border:1px solid #e2e6ee;border-radius:14px;background:#fbfcfe}.analysis-chart h3{margin:0 0 15px;font-size:1rem}.analysis-rows{display:grid;gap:12px;max-height:350px;overflow-y:auto}.analysis-row{display:grid;grid-template-columns:minmax(70px,1fr) minmax(80px,3fr) 44px;gap:10px;align-items:center;font-size:.85rem}.analysis-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analysis-row>strong{text-align:right}.analysis-track,.analysis-option-track{height:14px;border-radius:999px;background:#e9edf3;overflow:hidden}.analysis-fill{display:block;height:100%;border-radius:inherit;background:#0d9488}.analysis-fill.group{background:#3b82f6}.analysis-option-list{display:grid;gap:16px;max-height:450px;overflow-y:auto}.analysis-option-row{display:grid;gap:7px}.analysis-option-row>div:first-child{display:flex;gap:8px;min-width:0;font-size:.85rem}.analysis-option-row>div:first-child span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#475467}.analysis-option-row small{color:#667085}.analysis-option-track{display:flex;height:20px;background:#e9edf3}.analysis-option-segment{display:block;height:100%}.option-a{background:#0d9488}.option-b{background:#3b82f6}.option-c{background:#f59e0b}.option-d{background:#e879a0}.analysis-legend{display:flex;flex-wrap:wrap;gap:9px 16px;margin-top:15px;color:#667085;font-size:.78rem}.analysis-legend span{display:inline-flex;gap:5px;align-items:center}.analysis-legend i{width:11px;height:11px;border-radius:3px}.analysis-focus-list{display:grid;gap:9px;margin:0;padding:0;list-style:none}.analysis-focus-list li{display:grid;gap:4px;padding:10px;border-radius:10px;background:#fff7ed}.analysis-focus-list li strong{color:#9a3412;font-size:.85rem}.analysis-focus-list li span{overflow-wrap:anywhere}.question-history-list article{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;padding:16px;border:1px solid #e2e6ee;border-radius:14px;background:#fbfcfe}.question-history-list h3{margin:5px 0 0}.question-history-meta{display:grid;gap:4px;color:#667085;font-size:.82rem;text-align:right}.group-answer-list{display:grid;gap:16px;margin-top:18px}.group-answer-card{overflow:hidden;border:1px solid #e2e6ee;border-radius:16px;background:#fbfcfe}.group-answer-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border-bottom:1px solid #e2e6ee}.group-answer-header h3{margin:5px 0 0}.group-answer-summary{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.group-answer-summary span{padding:7px 10px;border-radius:999px;background:#fff;color:#475467;font-size:.8rem;font-weight:750}.group-answer-card .data-table-wrap{margin-top:0;background:#fff}.group-answer-table{min-width:560px}.group-answer-empty{margin:0;padding:18px;background:#fff}.answer-result{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:.78rem;font-weight:800}.answer-result.correct{background:#ecfdf3;color:#067647}.answer-result.incorrect{background:#fff1f0;color:#b42318}.answer-result.unanswered{background:#f2f4f7;color:#667085}.answer-result.pending{background:#fff9ed;color:#9a6700}.question-result-panel{display:grid;gap:12px;padding-top:18px;border-top:1px solid #a7f3d0}.result-summary{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px}.result-summary div{display:grid;gap:3px;padding:13px;border-radius:12px;border:1px solid #d1fae5;background:#fff;text-align:center}.result-summary strong{color:#0f766e;font-size:1.6rem}.result-summary span{color:#667085;font-size:.78rem;font-weight:700}.option-distribution{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.option-distribution span{padding:9px 12px;border-radius:10px;background:#fff;border:1px solid #e2e6ee;text-align:center;font-weight:750}.option-distribution span.correct{border-color:#6ce9a6;background:#ecfdf3;color:#067647}.student-result{margin-top:22px;padding:20px;border:2px solid #d0d5dd;border-radius:18px;background:#fff;text-align:center}.student-result.correct{border-color:#6ce9a6;background:#ecfdf3}.student-result.incorrect{border-color:#fda29b;background:#fff1f0}.student-result.unanswered{border-color:#f0d5a8;background:#fff9ed}.student-result h2{margin:6px 0 8px}.student-result p{margin:0}.scoring-panel{display:grid;gap:16px}.scoring-settings{display:flex;flex-wrap:wrap;gap:12px 24px;padding:16px;border-radius:14px;background:#f8fafc}.scoring-help{margin:-4px 0 0}.scoring-live-note{margin:-8px 0 0;color:#0f766e;font-weight:750}.scoring-meaning{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.scoring-meaning p{margin:0;padding:12px;border:1px solid #dce4ee;border-radius:12px;background:#f8fafc;color:#475467;font-size:.83rem;line-height:1.5}.scoring-meaning strong{display:block;color:#101828;font-size:.9rem}.score-table{min-width:520px}.student-score-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:10px;margin-top:18px}.student-score-summary div{display:grid;gap:3px;padding:12px;border-radius:12px;background:#ffffffb3}.student-score-summary strong{font-size:1.35rem}.student-score-summary span{color:#667085;font-size:.75rem;font-weight:700}.student-result .student-score-explanation{margin-top:12px;color:#475467;font-size:.8rem;line-height:1.5;text-align:left}.student-leaderboard{margin-top:18px;padding:20px;border:1px solid #e2e6ee;border-radius:18px;background:#fff}.student-leaderboard h2{margin:6px 0 14px}.student-leaderboard ol{display:grid;gap:8px;margin:0;padding:0;list-style:none}.student-leaderboard li{display:grid;grid-template-columns:80px 1fr auto;gap:10px;padding:11px 12px;border-radius:10px;background:#f8fafc}.student-leaderboard li.current{background:#ecfdf3;color:#067647}.pve-panel{display:grid;gap:18px;border-color:#d6bbfb;background:linear-gradient(135deg,#fff,#f9f5ff)}.pve-panel.status-won{border-color:#6ce9a6;background:linear-gradient(135deg,#fff,#ecfdf3)}.pve-panel.status-lost,.pve-panel.status-ended{border-color:#fda29b;background:linear-gradient(135deg,#fff,#fff1f0)}.pve-setup{grid-template-columns:1fr}.pve-setup h2,.pve-heading h2{margin:5px 0 0}.pve-setup-actions{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.pve-setup-actions label{display:grid;gap:7px;color:#344054;font-size:.85rem;font-weight:800}.pve-setup-actions select,.pve-setup-actions input{min-width:150px;border:1px solid #d0d5dd;border-radius:10px;padding:10px 12px;background:#fff}.pve-recommendation{grid-column:1 / -1;display:grid;gap:12px;padding:16px;border:1px solid #d6bbfb;border-radius:14px;background:#fff}.pve-recommendation-heading{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:12px}.pve-recommendation-heading>div{display:grid;gap:4px}.pve-recommendation-heading span{color:#667085;font-size:.85rem}.pve-recommendation-heading label{display:grid;gap:6px;color:#344054;font-size:.85rem;font-weight:800}.pve-recommendation-heading input{width:130px;border:1px solid #d0d5dd;border-radius:10px;padding:10px 12px}.pve-recommendation-value{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.pve-recommendation-value strong{color:#6941c6;font-size:1.5rem}.pve-recommendation .muted{margin:0;font-size:.85rem}.pve-edit-button{justify-self:start}.pve-heading,.pve-bar-label,.pve-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.pve-rounds{border-radius:999px;padding:7px 11px;background:#f4ebff;color:#6941c6;font-size:.8rem;font-weight:850}.pve-bars{display:grid;grid-template-columns:1fr 1fr;gap:18px}.pve-bar-label{margin-bottom:7px;font-size:.85rem}.pve-bar{overflow:hidden;height:16px;border-radius:999px;background:#eaecf0;box-shadow:inset 0 1px 2px #1018281f}.pve-bar i{display:block;height:100%;border-radius:inherit;transition:width .35s ease}.pve-bar.boss i{background:linear-gradient(90deg,#d92d20,#f97066)}.pve-controls{justify-content:flex-start}.teacher-pve-intervention{display:grid;gap:10px;margin:14px 0;padding:14px;border:1px solid rgb(148 163 184 / 30%);border-radius:12px;background:#0f172a73}.teacher-pve-intervention-row{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.teacher-pve-intervention label{display:grid;gap:4px;font-size:.9rem}.teacher-pve-intervention input{width:110px}.teacher-pve-intervention select{max-width:240px}.teacher-pve-intervention button{width:fit-content;padding:8px 12px;border:1px solid rgb(250 204 21 / 45%);border-radius:8px;color:#fff7c2;background:#713f1259;cursor:pointer}.teacher-pve-intervention button:disabled{opacity:.5;cursor:not-allowed}.pve-contributions{padding-top:14px;border-top:1px solid #e9d7fe}.pve-contributions h3{margin:0 0 10px}.pve-contributions ol{display:grid;gap:8px;margin:0;padding:0;list-style:none}.pve-contributions li{display:grid;grid-template-columns:auto minmax(0,1fr) auto 90px;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;background:#ffffffbf}.pve-contributions li.current{outline:2px solid #9e77ed;background:#fff}.pve-contributions small{color:#667085;text-align:right}.student-frame>.pve-panel{margin:18px auto 0;width:min(920px,100%)}.pvp-panel{display:grid;gap:18px;border-color:#93c5fd;background:linear-gradient(135deg,#fff,#eff6ff)}.pvp-panel.status-left_won,.pvp-panel.status-right_won,.pvp-panel.status-draw{border-color:#6ce9a6;background:linear-gradient(135deg,#fff,#ecfdf3)}.pvp-setup-grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr)) auto;align-items:end;gap:10px}.pvp-setup-grid label{display:grid;gap:6px;color:#344054;font-size:.82rem;font-weight:800}.pvp-setup-grid select,.pvp-setup-grid input{width:100%;border:1px solid #d0d5dd;border-radius:10px;padding:10px;background:#fff}.pvp-setup-grid>.pvp-balance-preview,.pvp-setup-grid>.pvp-balance-lock-note{grid-column:1 / -1}.pvp-balance-preview{display:grid;gap:11px;margin-top:8px;padding:17px;border:1px solid #bfdbfe;border-radius:14px;background:#f8fbff}.pvp-balance-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 12px}.pvp-balance-heading>span,.pvp-balance-preview>small{color:#667085;font-size:.78rem}.pvp-balance-sides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pvp-balance-sides>div{display:grid;gap:4px;padding:12px;border:1px solid;border-radius:10px;font-size:.85rem}.pvp-balance-sides .side-left{border-color:#93c5fd;background:#eff6ff}.pvp-balance-sides .side-right{border-color:#fda4af;background:#fff1f2}.pvp-balance-sides small{color:#475467}.pvp-balance-preview p,.pvp-balance-lock-note{margin:0;line-height:1.5;font-size:.84rem}.pvp-balance-warning{color:#9a3412;font-weight:750}.pvp-balance-even{color:#067647;font-weight:750}.pvp-panel.status-active .pvp-balance-preview{margin-block:14px}.pvp-duel{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px}.pvp-side{display:grid;gap:7px;padding:18px;border:1px solid #d0d5dd;border-radius:16px;background:#fffc}.pvp-side.current{outline:3px solid #60a5fa}.pvp-side>span{color:#2563eb;font-size:.7rem;font-weight:900;letter-spacing:.15em}.pvp-side h3{margin:0}.pvp-hp-track{overflow:hidden;height:13px;border-radius:999px;background:#e5e7eb}.pvp-hp-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#dc2626,#fb7185);transition:width .4s ease}.pvp-versus{color:#1d4ed8;font-size:1.3rem}.pvp-role{margin:0;color:#1d4ed8;font-weight:850;text-align:center}.student-frame>.pvp-panel{margin:18px auto 0;width:min(920px,100%)}.character-panel{display:grid;gap:14px;border-color:#b8c7dc;background:linear-gradient(135deg,#fff,#f1f5f9)}.character-panel h2,.character-picker h2{margin:5px 0 0}.ability-progress{display:grid;gap:10px;border-color:#c4b5fd;background:#faf8ff}.ability-progress h2{margin:0;font-size:1.15rem}.ability-progress-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.ability-progress-entry{padding:12px;border:1px solid #ddd6fe;border-radius:12px;background:#fff}.ability-progress-entry p{margin:7px 0;color:#475467}.ability-progress-entry small{color:#6d28d9;font-weight:700}.character-roster{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.character-roster article{display:flex;align-items:center;gap:10px;padding:10px;border-radius:12px;background:#fff}.character-roster article>div:last-child{display:grid;gap:3px}.character-roster small{color:#667085}.character-picker{width:min(1100px,100%);margin:18px auto 0;padding:20px;border:1px solid #cbd5e1;border-radius:18px;background:linear-gradient(135deg,#fff,#f8fafc)}.character-picker-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.character-picker-heading>span{padding:7px 11px;border-radius:999px;background:#e2e8f0;color:#475569;font-size:.76rem;font-weight:850}.character-confirm-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:16px;padding:14px;border:1px solid #cbd5e1;border-radius:12px;background:#eff6ff}.character-confirm-row strong{color:#166534}.character-options{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr));gap:10px;margin:16px 0 10px}.character-options>button{display:grid;place-items:center;gap:5px;padding:12px 8px;border:2px solid transparent;border-radius:14px;background:#eef2f6;color:#172033}.character-options>button:hover:not(:disabled){background:#fff;border-color:#94a3b8}.character-options>button.selected{border-color:var(--teal);background:#fff;box-shadow:0 0 0 3px #0f766e1f}.character-options small{color:#667085;font-size:.7rem}.character-disabled-note{margin:14px auto 0;color:#667085;font-size:.8rem;text-align:center}.character-avatar{--character-accent: #38bdf8;position:relative;display:grid;place-items:center;flex:0 0 auto;filter:drop-shadow(0 5px 6px rgb(15 23 42 / 30%));transform-origin:center bottom}.character-avatar.size-small{width:46px;height:52px}.character-avatar.size-medium{width:82px;height:92px}.character-avatar.size-large{width:min(190px,48%);height:min(230px,28vh);justify-self:center}.character-avatar svg{width:100%;height:100%;overflow:visible}.character-art-stack{position:relative;width:100%;height:100%}.character-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:var(--character-sprite-position, center bottom);transform:scale(var(--character-sprite-scale, 1));transform-origin:center bottom}.character-art.art-ready,.character-art.art-hit,.character-art.art-hurt{opacity:0}.character-avatar.is-attacking .character-art.art-idle{animation:character-art-idle-phase var(--attack-pose-duration, .9s) step-end}.character-avatar.is-attacking .character-art.art-ready{animation:character-art-ready-phase var(--attack-pose-duration, .9s) step-end}.character-avatar.is-attacking .character-art.art-hit{animation:character-art-hit-phase var(--attack-pose-duration, .9s) step-end}.character-avatar.is-hurt .character-art.art-idle{opacity:0}.character-avatar.is-hurt .character-art.art-hurt{opacity:1}.character-avatar .character-head,.character-avatar .character-body,.character-avatar .character-leg,.character-avatar .character-gear{fill:#111827}.character-avatar .character-body{stroke:var(--character-accent);stroke-width:3}.character-avatar .gear-stroke{fill:none;stroke:#111827;stroke-width:8;stroke-linecap:round}.character-avatar.facing-left svg{transform:scaleX(-1)}.character-avatar.facing-left .character-art-stack{transform:scaleX(-1)}.character-avatar.is-attacking{animation:character-attack-lunge var(--attack-body-duration, .9s) cubic-bezier(.2,.75,.2,1);filter:drop-shadow(0 0 15px var(--character-accent))}.character-avatar.is-hurt{animation:character-hit-recoil .62s cubic-bezier(.36,.07,.19,.97) both;filter:drop-shadow(0 0 18px #ef4444)}@keyframes character-attack-lunge{0%,to{transform:translate(0) scale(1)}28%{transform:translate(-8%) scale(.96)}52%{transform:translate(30%) scale(1.12) rotate(2deg)}68%{transform:translate(20%) scale(1.05)}}@keyframes character-hit-recoil{0%,to{transform:translate(0) rotate(0)}18%{transform:translate(-16%) rotate(-7deg)}42%{transform:translate(8%) rotate(4deg)}68%{transform:translate(-5%) rotate(-2deg)}}@keyframes character-art-idle-phase{0%,27%,76%,to{opacity:1}28%,75%{opacity:0}}@keyframes character-art-ready-phase{0%,27%,53%,to{opacity:0}28%,52%{opacity:1}}@keyframes character-art-hit-phase{0%,52%,76%,to{opacity:0}53%,75%{opacity:1}}.question-library{display:grid;gap:16px;margin:18px 0;padding:16px;border:1px solid #e2e6ee;border-radius:14px;background:#f8fafc}.question-import-mode{display:grid;grid-template-columns:1fr 1fr;gap:12px}.question-import-mode label{display:flex;gap:10px;align-items:flex-start;padding:14px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;cursor:pointer}.question-import-mode label.selected{border-color:#7f56d9;box-shadow:0 0 0 2px #e9d7fe}.question-import-mode input{margin-top:3px}.question-import-mode span{display:grid;gap:4px}.question-import-mode small{color:#667085;line-height:1.45}.question-import-form{display:grid;gap:18px;color:#27364a;line-height:1.6;background:#fff;border-radius:16px;padding:20px;min-width:0;container-type:inline-size}.question-import-intro{display:flex;align-items:start;justify-content:space-between;gap:14px;flex-wrap:wrap}.question-import-intro h2{margin:0 0 5px;font-size:1.45rem}.question-import-intro p{margin:0;color:#64748b}.question-import-intro>a,.question-import-steps a,.question-guide-button{color:#0f766e;font-size:.9rem;font-weight:700}.question-import-steps{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.question-import-steps li{min-width:0;padding:18px;border-radius:14px;background:#f4f8f7;border:1px solid #dde9e4}.question-import-steps li:nth-child(2){background:#fff9ef;border-color:#f0e2c6}.question-import-steps li:nth-child(3){background:#f4f5fc;border-color:#e1e4f2}.question-step-number{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff;color:#0f766e;font-weight:800}.question-import-steps h3{font-size:1rem;margin:10px 0 6px}.question-import-steps p{font-size:.9rem;margin:0 0 14px;color:#596b78}.question-import-steps .button{font-size:.87rem;padding:9px 12px}.question-guide-button{padding:0;border:0;background:transparent;text-decoration:underline}.question-fill-guide{border:1px solid #dce5e4;border-radius:12px;scroll-margin-top:20px}.question-fill-guide>summary{padding:13px 16px;cursor:pointer;font-weight:700}.question-fill-content{padding:0 16px 16px;display:grid;gap:16px}.question-fill-content>p{margin:0;color:#596b78;font-size:.9rem}.question-example{padding:18px;background:#f7f9fc;border-radius:12px;display:grid;gap:8px}.question-example>span{font-size:.8rem;color:#64748b}.question-example>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.question-example>div>span{padding:8px 12px;border:1px solid #dde3ed;border-radius:8px;background:#fff}.question-example .correct{border-color:#9ccebc;color:#125c49;background:#eef9f3}.question-example small{font-size:.76rem}.question-example p{margin:0;font-size:.88rem}.question-column-guide{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}.question-column-guide div{border-bottom:1px solid #edf0f4;padding-bottom:8px}.question-column-guide dt{font-weight:750;font-size:.85rem;overflow-wrap:anywhere}.question-column-guide dd{margin:2px 0 0;font-size:.9rem;color:#596b78}.question-fill-content .question-image-tip{border-left:3px solid #dbb265;padding:10px 14px;background:#fff9ed}.question-import-choice{border:0;padding:0;margin:0;min-width:0}.question-import-choice legend{font-weight:750;margin-bottom:10px}.question-import-form .question-import-mode label.selected{border-color:#419380;box-shadow:0 0 0 1px #419380;background:#f2fbf6}.question-file-picker{display:grid;gap:7px;padding:20px;border:2px dashed #a9c9bc;background:#fbfdfb;border-radius:14px;min-width:0}.question-file-picker>span,.question-file-picker small{font-size:.9rem;color:#596b78;overflow-wrap:anywhere}.question-file-picker input{width:122px;max-width:100%;min-width:0;font-size:.9rem;color:transparent}.question-file-picker input::file-selector-button{border:0;border-radius:9px;background:#176b56;color:#fff;padding:11px 16px;margin-right:12px;font:inherit;font-weight:700;cursor:pointer}.question-import-form .question-image-files{margin:0}.question-import-form .question-image-files small{display:block;margin:8px 0;color:#596b78}.question-saved-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:18px}.question-saved-section>summary{cursor:pointer;padding:16px;font-weight:750}.question-saved-section .saved-unit-picker{padding:0 16px 16px}.question-import-feedback{padding:16px;border:1px solid #f3c7a1;background:#fffbf5;border-radius:12px;color:#643e20}.question-import-feedback p{font-size:.9rem}.question-import-feedback ul{margin:12px 0 0;padding-left:22px;max-height:300px;overflow:auto}.question-import-feedback li{margin:9px 0}.question-import-feedback li b{display:block;font-size:.85rem}.projection-library .question-import-form p{color:#596b78;font-size:.88rem}.projection-library .question-fill-guide>summary{color:#27364a;font-size:.85rem}.projection-library .question-import-feedback p{color:#643e20}@container (max-width: 620px){.question-import-steps,.question-import-form .question-import-mode{grid-template-columns:1fr}.question-import-steps li{padding:14px}.question-import-steps h3{margin-top:6px}.question-column-guide{grid-template-columns:1fr}}.saved-unit-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}.saved-unit-picker select{width:100%;border:1px solid #cfd5df;border-radius:10px;padding:10px 12px;color:#172033;background:#fff}.display-shell{min-height:100vh;background:#070b13;color:#fff}.battle-display-message{min-height:100vh;display:grid;place-items:center;align-content:center;gap:10px;padding:30px;text-align:center;background:radial-gradient(circle at center,#1f2937,#030712 70%);color:#fff}.battle-display-message h1,.battle-display-message p{margin:0}.battle-display-message p{color:#cbd5e1}.battle-display{--battle-background: none;position:relative;height:100vh;min-height:620px;overflow:hidden;display:grid;grid-template-rows:72px minmax(0,1fr);gap:clamp(12px,1.2vw,22px);padding:clamp(14px,1.4vw,28px);background-image:var(--battle-background);background-size:cover;background-position:center;color:#f8fafc;isolation:isolate}.battle-display-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#030712d1,#03071233 30%,#03071252,#030712eb)}.battle-hit-flash{position:fixed;inset:32% 18% 0;z-index:8;pointer-events:none;opacity:0;border-radius:50% 50% 0 0;background:radial-gradient(ellipse at 50% 86%,rgb(255 255 255 / 42%) 0 3%,rgb(239 68 68 / 30%) 24%,transparent 68%);mix-blend-mode:screen}.battle-impact-wave{position:fixed;z-index:9;left:72%;top:74%;width:90px;aspect-ratio:1;pointer-events:none;border:9px solid rgb(254 202 202 / 80%);border-radius:50%;opacity:0;transform:translate(-50%,-50%) scale(.2);box-shadow:0 0 24px #ef4444a6}.battle-display-header{height:72px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:0 20px;border:1px solid rgb(148 163 184 / 24%);border-radius:18px;background:#020617c2;box-shadow:0 12px 36px #00000047;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.battle-display-header h1{margin:2px 0 0;font-size:clamp(1.05rem,1.8vw,1.8rem);line-height:1}.battle-display-kicker,.display-boss-heading span,.display-ranking-heading span,.display-waiting>span{color:#93c5fd;font-size:.68rem;font-weight:900;letter-spacing:.18em}.battle-display-room{display:flex;align-items:baseline;gap:12px}.battle-display-room span{color:#cbd5e1;font-size:.76rem;font-weight:800}.battle-display-room strong{color:#fbbf24;font-size:clamp(1.5rem,2.8vw,2.8rem);letter-spacing:.14em;line-height:1}.battle-display-connection{justify-self:end;display:inline-flex;align-items:center;gap:8px;color:#86efac;font-size:.8rem;font-weight:850}.battle-display-connection i{width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 14px #22c55e}.battle-display-connection.offline{color:#fda4af}.battle-display-connection.offline i{background:#f43f5e;box-shadow:0 0 14px #f43f5e}.network-recovery-banner{position:sticky;top:0;z-index:1000;display:flex;align-items:center;justify-content:center;gap:12px;padding:9px 16px;background:#fff7ed;color:#9a3412;border-bottom:1px solid #fdba74}.network-recovery-banner.restored{background:#ecfdf3;color:#067647;border-color:#6ce9a6}.network-recovery-banner button{border:1px solid currentColor;border-radius:999px;padding:5px 10px;background:transparent;color:inherit;font-weight:800;cursor:pointer}.room-recovery-list{display:grid;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid #d0d5dd}.room-recovery-list .actions{max-height:150px;overflow:auto}.retention-panel{display:grid;gap:14px}.retention-settings-grid{display:grid;grid-template-columns:minmax(260px,2fr) repeat(2,minmax(150px,1fr));gap:14px;align-items:end}.cleanup-reminder{display:grid;gap:4px;padding:12px 14px;border:1px solid #f79009;border-radius:12px;background:#fffaeb;color:#93370d}.battle-display-header-actions{justify-self:end;display:flex;align-items:center;justify-content:flex-end;gap:12px}.projection-motion-control{display:inline-flex;align-items:center;gap:5px;color:#cbd5e1;font-size:.72rem;font-weight:800;white-space:nowrap}.projection-motion-control select,.projection-sound-control{border:1px solid rgb(148 163 184 / 50%);border-radius:9px;padding:7px 9px;background:#0f172adb;color:#e2e8f0;font-size:.72rem;font-weight:800}.projection-sound-control[aria-pressed=true]{border-color:#86efac;color:#bbf7d0}.projection-audio-error{position:absolute;z-index:8;top:82px;right:20px;max-width:360px;margin:0;padding:8px 12px;border:1px solid #fda4af;border-radius:9px;background:#3f1427;color:#fff1f2;font-size:.78rem}.battle-display.motion-simple .battle-hit-flash,.battle-display.motion-simple .battle-impact-wave,.battle-display.motion-simple .pve-fx{display:none}.battle-display.motion-simple .pve-presentation *,.battle-display.motion-simple .pve-presentation *:before,.battle-display.motion-simple .pve-presentation *:after,.battle-display.motion-simple .teacher-victory-effect,.battle-display.motion-simple .teacher-victory-effect *{animation:none!important;transition:none!important}.battle-display.motion-simple .teacher-victory-figure{transform:translate(-50%,-46%)}.battle-display-control-button{border:1px solid #fbbf24;border-radius:11px;padding:9px 14px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#111827;box-shadow:0 0 18px #f59e0b40;font-size:.78rem;font-weight:900}.battle-display-control-button:disabled{border-color:#64748b;background:#334155;color:#cbd5e1;box-shadow:none}.battle-display-question-picker-button{border:1px solid rgb(147 197 253 / 52%);border-radius:11px;padding:9px 13px;background:#0f172ad1;color:#bfdbfe;font-size:.76rem;font-weight:850}.battle-display-main{min-height:0;display:grid;grid-template-columns:minmax(320px,.92fr) minmax(420px,1.25fr) minmax(300px,.83fr);gap:clamp(12px,1.2vw,22px);align-items:stretch}.battle-display-main.pvp-layout{grid-template-columns:minmax(280px,32%) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.battle-display.mode-pvp .battle-display-header{grid-template-columns:minmax(170px,1fr) auto auto;gap:clamp(8px,1vw,18px)}.battle-display.mode-pvp .battle-display-header-actions{gap:clamp(5px,.55vw,10px);white-space:nowrap}.battle-display.mode-pvp .battle-display-header-actions button{white-space:nowrap}.pvp-layout>.display-question-card{min-width:0;width:100%;max-height:100%}.display-question-card,.display-ranking-card{align-self:center;max-height:calc(100vh - 130px);overflow:auto;padding:clamp(18px,1.7vw,30px);border:1px solid rgb(148 163 184 / 25%);border-radius:22px;background:#020617d1;box-shadow:0 20px 60px #00000057;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.display-question-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.display-question-heading>span{color:#93c5fd;font-size:.78rem;font-weight:900;letter-spacing:.1em}.display-question-heading>strong{display:grid;place-items:center;width:58px;height:58px;border:2px solid #4ade80;border-radius:50%;color:#86efac;font-size:1.8rem;box-shadow:0 0 22px #4ade8040}.display-question-heading>strong.urgent{border-color:#fb7185;color:#fda4af;box-shadow:0 0 22px #fb71854d}.display-question-heading>strong.closed{width:auto;height:auto;padding:8px 12px;border-width:1px;border-radius:999px;font-size:.75rem}.display-question-card h2{margin:16px 0 20px;font-size:clamp(1.25rem,2.15vw,2.35rem);line-height:1.22}.display-options{display:grid;gap:9px}.display-options>div{display:grid;grid-template-columns:35px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid rgb(148 163 184 / 20%);border-radius:12px;background:#0f172aad}.display-options>div.correct{border-color:#4ade80;background:#14532d9e;box-shadow:0 0 20px #4ade801f}.display-options b{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#334155}.display-options .correct b{background:#16a34a}.display-options span{overflow-wrap:anywhere}.display-options em{color:#cbd5e1;font-size:.76rem;font-style:normal;font-weight:800}.display-answer-progress{display:grid;gap:9px;margin-top:18px}.display-answer-progress>div:first-child{display:flex;justify-content:space-between;color:#cbd5e1;font-size:.82rem}.display-answer-progress>div:first-child strong{color:#fff;font-size:1rem}.display-answer-progress p{margin:0;color:#bfdbfe;font-size:.82rem;font-weight:750}.display-progress-track,.display-boss-hp-track,.display-group-hp{overflow:hidden;border-radius:999px;background:#94a3b83d}.display-progress-track{height:9px}.display-progress-track i,.display-boss-hp-track i,.display-group-hp i{display:block;height:100%;border-radius:inherit;transition:width .45s ease}.display-progress-track i{background:linear-gradient(90deg,#0ea5e9,#67e8f9)}.display-waiting{min-height:330px;display:grid;place-items:center;align-content:center;gap:10px;text-align:center}.display-waiting h2,.display-waiting p{margin:0}.display-waiting p{color:#cbd5e1}.display-waiting.compact{min-height:180px}.display-boss-stage{position:relative;min-height:0;display:grid;grid-template-rows:auto auto 1fr auto;align-items:start;padding:12px 4px 6px}.display-pvp-stage{grid-column:2;min-width:0;min-height:0;align-self:stretch;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px;padding:clamp(9px,1vw,18px);border:1px solid rgb(147 197 253 / 38%);border-radius:24px;background:#020617c2;box-shadow:0 24px 80px #0000006b;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.display-pvp-stage .team-arena{min-height:0;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.display-pvp-stage .team-battlefield{min-height:0}.display-pvp-stage .team-fighter .character-avatar{width:clamp(112px,12cqi,220px);max-width:none;height:min(30cqi,36vh,300px)}.display-pvp-stage .team-faction.is-crowded .team-fighter .character-avatar{width:min(100%,96px);max-width:100%;height:var(--crowd-avatar-height)}.display-pvp-stage .team-faction.is-crowded .team-no-character{width:min(100%,96px);height:var(--crowd-avatar-height)}.display-pvp-stage .team-size-1 .team-fighter .character-avatar{width:min(29cqi,320px);height:min(34cqi,44vh,370px)}.display-pvp-stage .team-no-character{height:min(24cqi,34vh,290px)}.display-pvp-stage .team-size-1 .team-no-character{height:min(30cqi,42vh,350px)}.display-pvp-stage .team-fighter small,.display-pvp-stage .team-contribution,.display-pvp-stage .team-faction footer{display:none}.display-pvp-stage .team-roster{padding-bottom:4px}@media(min-width:600px){.display-pvp-stage .team-roster{flex-wrap:nowrap}.display-pvp-stage .team-fighter{flex:1 1 0}}@media(min-width:761px)and (max-width:950px){.battle-display.mode-pvp{height:auto;min-height:100vh;overflow:auto}.battle-display.mode-pvp .battle-display-header{height:auto;grid-template-columns:1fr auto;padding:12px 16px}.battle-display.mode-pvp .battle-display-header-actions{grid-column:1 / -1;justify-self:start;flex-wrap:wrap}.battle-display-main.pvp-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto}.pvp-layout>.display-question-card{max-height:none}.display-pvp-stage{grid-column:1}.display-pvp-stage .team-arena{height:auto;min-height:500px}.display-pvp-stage .team-battlefield{min-height:340px}}.display-pvp-stage .team-faction{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.display-pvp-stage .team-roster{align-self:end;width:100%}.display-pvp-heading{text-align:center}.display-pvp-heading span{color:#93c5fd;font-size:.75rem;font-weight:900;letter-spacing:.18em}.display-pvp-heading h2{margin:6px 0;font-size:clamp(1.5rem,3vw,3rem)}.display-pvp-heading small{color:#cbd5e1}.display-pvp-duel{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:clamp(18px,3vw,50px)}.display-pvp-duel article{display:grid;gap:12px;min-width:0;padding:clamp(20px,2.5vw,36px);border:1px solid rgb(148 163 184 / 28%);border-radius:22px;background:#0f172ac7}.display-pvp-duel article>span{color:#93c5fd;font-size:.72rem;font-weight:900;letter-spacing:.2em}.display-pvp-duel article h2{overflow-wrap:anywhere;margin:0;font-size:clamp(1.4rem,3vw,3.2rem)}.display-pvp-duel article strong{font-size:clamp(1.2rem,2.2vw,2.2rem)}.display-pvp-duel article>div{overflow:hidden;height:22px;border-radius:999px;background:#94a3b83d}.display-pvp-duel article i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#991b1b,#ef4444,#fb7185);transition:width .45s ease}.display-pvp-duel>b{color:#fbbf24;font-size:clamp(2rem,5vw,5rem);text-shadow:0 0 24px rgb(251 191 36 / 42%)}.display-pvp-stage>p{margin:0;color:#cbd5e1;text-align:center}.display-boss-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:0 18px;text-shadow:0 2px 12px #000}.display-boss-heading h2,.display-ranking-heading h2{margin:3px 0 0;font-size:clamp(1.25rem,2vw,2rem)}.display-boss-heading>strong{padding:8px 12px;border:1px solid rgb(148 163 184 / 35%);border-radius:999px;background:#020617a3;color:#e2e8f0;font-size:.76rem}.display-boss-hp{display:grid;gap:7px;padding:13px 18px 0;text-shadow:0 2px 10px #000}.display-boss-hp>div:first-child{display:flex;justify-content:space-between;font-size:.84rem;font-weight:900}.display-boss-hp-track{height:18px;border:2px solid rgb(254 202 202 / 42%);background:#0f172ac7;box-shadow:0 0 26px #ef444447}.display-boss-hp-track i{background:linear-gradient(90deg,#991b1b,#ef4444 62%,#fb7185)}.display-boss-rage{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;color:#fecaca;font-size:.62rem;font-weight:850}.display-boss-rage>div{overflow:hidden;height:5px;border-radius:999px;background:#7f1d1d6b}.display-boss-rage>div i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f97316,#ef4444,#f43f5e);box-shadow:0 0 12px #ef4444;transition:width .45s ease}.display-boss-art-wrap{position:relative;min-height:0;display:grid;place-items:end center;overflow:visible}.display-boss-art{position:relative;z-index:2;width:min(82%,680px);max-height:calc(100vh - 260px);margin-left:auto;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 22px 24px rgb(0 0 0 / 64%));transform-origin:64% 82%;transition:transform .25s ease,filter .25s ease}.display-boss-stage.pose-attack .display-boss-art{animation:boss-hammer-fall .9s cubic-bezier(.2,.72,.18,1) both}.display-boss-stage.pose-slam .display-boss-art{animation:boss-hammer-land .45s cubic-bezier(.2,.8,.2,1) both}.display-boss-stage.pose-slam .display-boss-art.boss-hammer-ghost{z-index:3;pointer-events:none;clip-path:polygon(48% 0,100% 0,100% 48%,75% 42%,55% 38%);animation:boss-hammer-arc .25s ease-in both}.display-boss-stage.pose-hurt .display-boss-art{animation:boss-hurt .65s ease-out both}.display-boss-stage.pose-defeated .display-boss-art{animation:boss-defeated .7s ease-out both}.battle-display.screen-hit .display-boss-stage{animation:arena-impact-shake .52s cubic-bezier(.36,.07,.19,.97) both}.battle-display.screen-hit .battle-hit-flash{animation:screen-red-flash .58s ease-out both}.battle-display.screen-hit .battle-impact-wave{animation:impact-wave .62s ease-out both}.display-hero-party{position:absolute;z-index:3;left:-3%;bottom:2%;width:50%;display:grid;grid-template-columns:repeat(3,minmax(54px,1fr));align-items:end;gap:2px 5px}.display-hero-fighter{position:relative;min-width:0;display:grid;justify-items:center;align-items:end}.display-hero-party.large-party{width:64%;max-height:55%;overflow-y:auto;grid-template-columns:repeat(4,minmax(48px,1fr));padding:20px 4px 8px}.display-hero-party.large-party .character-avatar{width:60px;height:70px}.display-hero-fighter:nth-child(3n+2){transform:translateY(-9%)}.display-hero-fighter.knocked-out{filter:grayscale(.7);opacity:.72}.display-hero-fighter.is-dead{filter:grayscale(1);opacity:.48}.display-hero-fighter.is-dead .character-avatar{transform:translateY(12%) rotate(-55deg) scale(.82);transform-origin:center bottom}.display-hero-fighter.is-dead .fighter-resolution{color:#fecaca;border:1px solid #fb7185;background:#3f1427e8}.display-hero-fighter>span{position:relative;z-index:2;max-width:88px;overflow:hidden;padding:3px 7px;border:1px solid rgb(148 163 184 / 35%);border-radius:999px;background:#020617d1;color:#f8fafc;font-size:.58rem;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.display-hero-fighter.is-targeted:before{content:"";position:absolute;z-index:-1;left:50%;bottom:8px;width:88%;aspect-ratio:1.9;border:3px solid #ef4444;border-radius:50%;box-shadow:0 0 9px #ef4444,inset 0 0 18px #ef4444a8;transform:translate(-50%);animation:danger-target-pulse .48s ease-in-out infinite alternate}.display-hero-fighter.is-targeted:after{content:"!";position:absolute;z-index:7;top:-9px;left:50%;display:grid;place-items:center;width:24px;height:24px;border:2px solid #fecaca;border-radius:50%;background:#b91c1c;color:#fff;box-shadow:0 0 18px #ef4444;transform:translate(-50%);font-size:.82rem;font-weight:950}.display-hero-fighter.is-shielded:before{content:"";position:absolute;z-index:4;left:50%;top:4%;width:88%;height:80%;border:3px solid rgb(125 211 252 / 88%);border-radius:50% 50% 44% 44%;background:radial-gradient(circle at 50% 65%,#38bdf814,#3b82f633);box-shadow:0 0 20px #38bdf8cc,inset 0 0 18px #93c5fd57;transform:translate(-50%);animation:shield-impact .7s ease-out both;pointer-events:none}.display-hero-fighter.is-healing .character-avatar{filter:drop-shadow(0 0 18px #4ade80);animation:healing-rise 1.1s ease-out both}.fighter-resolution{position:relative;z-index:6;margin-top:2px;padding:2px 6px;border-radius:999px;background:#0f172ae0;color:#fef3c7;font-size:.52rem;font-style:normal;font-weight:900;white-space:nowrap}.is-targeted .fighter-resolution,.round-targeted .display-group-info small{color:#fca5a5}.is-shielded .fighter-resolution,.round-shielded .display-group-info small{color:#7dd3fc}.is-healing .fighter-resolution{color:#86efac}.display-party-reserve{grid-column:1 / -1;justify-self:center;padding:4px 8px;border-radius:999px;background:#020617c2;color:#bfdbfe;font-size:.58rem;font-weight:800}.floating-number{position:absolute;z-index:7;pointer-events:none;font-size:clamp(1.1rem,2vw,2rem);font-weight:950;text-shadow:0 3px 8px #000,0 0 16px currentColor;animation:floating-number-rise .9s ease-out both}.floating-number.damage{top:-10%;right:-8%;color:#fef08a}.floating-number.hit{top:8%;left:2%;color:#fda4af;animation-delay:.02s}.floating-number.heal{top:4%;right:0;color:#86efac}.floating-number.boss-damage{z-index:5;top:34%;right:21%;color:#fef08a;font-size:clamp(2.2rem,5vw,5.5rem)}.battle-action-cue{position:absolute;z-index:6;left:50%;top:13%;min-width:max-content;padding:9px 18px;border:1px solid rgb(251 191 36 / 54%);border-radius:999px;background:#020617db;color:#fef3c7;box-shadow:0 0 30px #fbbf2442;transform:translate(-50%);font-size:clamp(.85rem,1.5vw,1.3rem);font-weight:950;letter-spacing:.04em;animation:battle-cue-enter .35s ease-out both}.battle-action-cue.cue-boss,.battle-action-cue.cue-targeting,.battle-action-cue.cue-impact{border-color:#f87171b3;color:#fecaca;box-shadow:0 0 34px #ef444466}.battle-action-cue.cue-heroes{border-color:#7dd3fcb8;color:#e0f2fe;box-shadow:0 0 34px #38bdf857}.battle-action-cue.cue-recovery{border-color:#86efacb8;color:#dcfce7;box-shadow:0 0 34px #22c55e52}.display-event-summary{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:8px}.display-event-summary span,.display-event-summary b{padding:7px 10px;border-radius:999px;background:#020617c7;box-shadow:0 6px 18px #00000038;font-size:.74rem}.display-event-summary span{color:#93c5fd}.display-ranking-heading{margin-bottom:14px}.display-ranking-card ol{display:grid;gap:9px;margin:0;padding:0;list-style:none}.display-ranking-card li{display:grid;grid-template-columns:40px auto 1fr;align-items:center;gap:10px;padding:10px;border:1px solid rgb(148 163 184 / 18%);border-radius:12px;background:#0f172a9e}.display-ranking-card li.knocked-out{border-color:#fb71857f;background:#7f1d1d52}.display-ranking-card li.round-targeted{border-color:#ef4444;box-shadow:0 0 18px #ef444447}.display-ranking-card li.round-hit{animation:group-card-hit .62s cubic-bezier(.36,.07,.19,.97) both;background:#7f1d1d94}.display-ranking-card li.round-shielded{border-color:#38bdf8;box-shadow:0 0 16px #38bdf84d}.display-rank{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#334155;color:#fbbf24;font-size:.8rem;font-weight:900}.display-group-info{min-width:0;display:grid;gap:5px}.display-group-info>div:first-child{display:flex;justify-content:space-between;gap:8px}.display-group-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.display-group-info em{color:#93c5fd;font-size:.72rem;font-style:normal;font-weight:850;white-space:nowrap}.display-group-info small{color:#cbd5e1;font-size:.68rem}.display-group-hp{height:7px}.display-group-hp i{background:linear-gradient(90deg,#16a34a,#4ade80)}.knocked-out .display-group-hp i{background:#ef4444}.battle-result-overlay{position:fixed;inset:0;z-index:5;display:grid;place-items:center;align-content:center;gap:8px;pointer-events:none;background:radial-gradient(circle,#14532d1f,#020617c2);text-align:center;text-shadow:0 5px 24px #000;animation:result-enter .9s ease-out both}.battle-result-overlay span{color:#fbbf24;font-size:clamp(3rem,9vw,9rem);font-weight:950;letter-spacing:.08em}.battle-result-overlay strong{font-size:clamp(1.3rem,3vw,3rem)}.battle-result-overlay.lost span{color:#fb7185}.battle-display-control-note{position:fixed;z-index:6;left:50%;bottom:10px;display:flex;align-items:center;gap:9px;max-width:min(760px,calc(100vw - 24px));padding:7px 11px;border:1px solid rgb(251 191 36 / 32%);border-radius:999px;background:#020617db;box-shadow:0 8px 24px #0000004d;transform:translate(-50%);color:#cbd5e1;font-size:.68rem}.battle-display-control-note span{color:#fbbf24;font-weight:900}.battle-display-control-note b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.battle-display-control-note em{color:#fda4af;font-style:normal;font-weight:800}.projection-control-panel{position:fixed;z-index:12;top:20px;right:20px;bottom:20px;width:min(500px,calc(100vw - 40px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;overflow:hidden;border:1px solid rgb(147 197 253 / 38%);border-radius:20px;background:#0b1324;box-shadow:0 24px 80px #000000a8;color:#f8fafc}.projection-control-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:17px 20px;border-bottom:1px solid rgb(148 163 184 / 22%)}.projection-control-heading span{color:#93c5fd;font-size:.65rem;font-weight:900;letter-spacing:.16em}.projection-control-heading h2{margin:4px 0 0;font-size:1.25rem}.projection-control-heading button{flex:0 0 auto;width:38px;height:38px;border:1px solid rgb(148 163 184 / 32%);border-radius:10px;background:#172033;color:#fff;font-size:1.35rem}.projection-control-body{display:grid;align-content:start;gap:14px;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 20px 20px;scrollbar-gutter:stable}.projection-library{min-width:0;border:1px solid rgb(125 211 252 / 30%);border-radius:12px;background:#0f172ad1}.projection-library summary{padding:13px 14px;color:#e0f2fe;cursor:pointer;font-size:.82rem;font-weight:900}.projection-library-content{display:grid;gap:13px;padding:2px 14px 16px}.projection-library-content p{margin:0;color:#cbd5e1;font-size:.69rem;line-height:1.5}.projection-library-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.projection-library-mode label{display:flex;align-items:center;gap:7px;min-width:0;padding:9px;border:1px solid rgb(148 163 184 / 26%);border-radius:9px;background:#111c2e;color:#e2e8f0;font-size:.72rem;cursor:pointer}.projection-library-mode label:has(input:checked){border-color:#38bdf8;background:#0c3850}.projection-library-field{display:grid;gap:5px;color:#cbd5e1;font-size:.7rem;font-weight:800}.projection-library-field input,.projection-library-field select{min-width:0;width:100%;padding:9px;border:1px solid rgb(148 163 184 / 42%);border-radius:8px;background:#172033;color:#f8fafc;font-size:.73rem}.projection-library-field input[type=file]::file-selector-button{margin-right:10px;padding:7px 9px;border:0;border-radius:6px;background:#294b69;color:#fff;cursor:pointer}.projection-library-content>a{width:fit-content;color:#7dd3fc;font-size:.68rem}.projection-library-saved{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:7px}.projection-library-saved button{padding:8px 11px;border:1px solid #38bdf8;border-radius:8px;background:#075985;color:#fff;font-weight:800}.projection-library-issues{max-height:100px;overflow:auto;display:grid;gap:4px;margin:0;padding-left:17px;color:#fbbf24;font-size:.67rem}.projection-library-issues li.error{color:#fda4af}.projection-library-content .projection-library-success{color:#86efac}.projection-control-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:11px 13px;border-radius:11px;background:#1d2a40;color:#dbeafe}.projection-control-summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.projection-control-summary b{flex:0 0 auto}.projection-control-body>p{margin:0;color:#cbd5e1;font-size:.76rem;line-height:1.5}.projection-question-list{display:grid;align-content:start;gap:8px;min-width:0;margin:0;padding:0;list-style:none}.projection-question-list button{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:52px;padding:9px 11px;border:1px solid rgb(148 163 184 / 24%);border-radius:11px;background:#121e32;color:#fff;text-align:left}.projection-question-list button:hover:not(:disabled),.projection-question-list button.selected{border-color:#fbbf24;background:#78350f7a}.projection-question-list button.current{border-color:#38bdf8}.projection-question-list button:disabled{opacity:.62}.projection-question-list button>span{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#334155;color:#fbbf24;font-weight:900}.projection-question-list button>b{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.78rem;line-height:1.45;overflow-wrap:anywhere}.projection-question-list button>em{color:#93c5fd;font-size:.62rem;font-style:normal;font-weight:800}.projection-control-footer{display:grid;gap:8px;padding:13px 20px 16px;border-top:1px solid rgb(148 163 184 / 22%);background:#0b1324}.projection-main-action{width:100%;min-height:46px;padding:12px 14px;font-size:.85rem}.projection-control-error{color:#fda4af;font-size:.72rem;font-style:normal;font-weight:800}.projection-force-victory{width:100%;min-height:42px;border:1px solid rgb(251 191 36 / 65%);border-radius:10px;background:linear-gradient(115deg,#713f12,#b45309);color:#fff7ed;font-size:.82rem;font-weight:900;cursor:pointer}.projection-force-victory:disabled{opacity:.5;cursor:wait}.projection-peace-end{width:100%;min-height:42px;border:1px solid #bae6fd;border-radius:10px;background:linear-gradient(115deg,#164e63,#0f766e);color:#f0fdfa;font-size:.82rem;font-weight:900;cursor:pointer}.projection-peace-end:disabled{opacity:.5;cursor:not-allowed}.teacher-victory-effect{position:fixed;z-index:9;inset:0;display:grid;place-items:center;overflow:hidden;pointer-events:none;background:radial-gradient(circle at 50% 42%,#facc151f,#0206178c 65%)}.teacher-victory-rays{position:absolute;top:-35vh;left:50%;width:min(90vw,900px);height:130vh;transform:translate(-50%);background:linear-gradient(90deg,transparent 13%,rgb(254 240 138 / 8%) 31%,rgb(255 255 255 / 24%) 50%,rgb(254 240 138 / 8%) 69%,transparent 87%);filter:blur(20px)}.teacher-victory-figure{position:absolute;z-index:2;left:50%;top:50%;width:clamp(240px,31vw,480px);height:min(77vh,760px);transform:translate(-50%,-46%);animation:teacher-descend 1.45s cubic-bezier(.16,.82,.27,1) both}.teacher-victory-figure img{position:relative;z-index:2;display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 28px rgb(0 0 0 / 70%)) drop-shadow(0 0 24px rgb(250 204 21 / 55%))}.teacher-victory-halo{position:absolute;z-index:1;top:10%;left:50%;width:38%;aspect-ratio:1;border:9px solid rgb(255 251 195 / 95%);border-radius:50%;transform:translate(-50%) rotateX(62deg);box-shadow:0 0 20px #fef08a,0 0 58px #facc15,inset 0 0 24px #fef08a}.teacher-victory-effect>strong{position:absolute;z-index:4;bottom:7%;width:min(90vw,900px);text-align:center;color:#fff7c2;font-size:clamp(1.7rem,4vw,4rem);text-shadow:0 3px 9px #000,0 0 25px #facc15;letter-spacing:.08em}.teacher-victory-aura{position:absolute;z-index:1;left:50%;top:46%;width:min(72vmin,760px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgb(255 255 255 / 85%) 0%,rgb(254 240 138 / 45%) 25%,rgb(250 204 21 / 12%) 55%,transparent 72%);opacity:0;transform:translate(-50%,-50%) scale(.3)}.teacher-victory-ring{position:absolute;z-index:1;left:50%;top:46%;width:min(28vmin,300px);aspect-ratio:1;border:clamp(5px,1vmin,12px) solid rgb(254 240 138 / 90%);border-radius:50%;box-shadow:0 0 30px #fef08a,inset 0 0 20px #facc15;opacity:0;transform:translate(-50%,-50%) scale(.3)}.teacher-victory-spokes{position:absolute;z-index:1;inset:0}.teacher-victory-spokes i{position:absolute;left:50%;top:46%;width:clamp(160px,42vw,650px);height:clamp(8px,1.3vw,20px);transform-origin:left center;border-radius:999px;background:linear-gradient(90deg,#fff,#fef08a 25%,#facc1500);box-shadow:0 0 22px #fef08acc;opacity:0;transform:rotate(var(--ray-angle)) scaleX(.08)}.teacher-victory-spokes i:nth-child(1){--ray-angle: 0deg}.teacher-victory-spokes i:nth-child(2){--ray-angle: 45deg}.teacher-victory-spokes i:nth-child(3){--ray-angle: 90deg}.teacher-victory-spokes i:nth-child(4){--ray-angle: 135deg}.teacher-victory-spokes i:nth-child(5){--ray-angle: 180deg}.teacher-victory-spokes i:nth-child(6){--ray-angle: 225deg}.teacher-victory-spokes i:nth-child(7){--ray-angle: 270deg}.teacher-victory-spokes i:nth-child(8){--ray-angle: 315deg}.teacher-victory-effect.phase-teacher-charge .teacher-victory-figure{animation:teacher-charge .8s ease-in-out both}.teacher-victory-effect.phase-teacher-charge .teacher-victory-halo{animation:teacher-halo-charge .8s ease-in-out both}.teacher-victory-effect.phase-teacher-charge .teacher-victory-aura{animation:teacher-aura-charge .8s ease-in both}.teacher-victory-effect.phase-teacher-burst{animation:teacher-impact-flash .8s ease-out both}.teacher-victory-effect.phase-teacher-burst .teacher-victory-figure{animation:teacher-burst-pose 1s ease-out both}.teacher-victory-effect.phase-teacher-burst .teacher-victory-halo{animation:teacher-halo-burst 1s ease-out both}.teacher-victory-effect.phase-teacher-burst .teacher-victory-aura{animation:teacher-aura-burst 1s ease-out both}.teacher-victory-effect.phase-teacher-burst .teacher-victory-ring{animation:teacher-ring-burst .95s ease-out both}.teacher-victory-effect.phase-teacher-burst .teacher-victory-spokes i{animation:teacher-ray-burst .9s ease-out both}.teacher-heal-effect{background:radial-gradient(circle at 50% 42%,#4ade802e,#0206175c 65%)}.teacher-heal-effect .teacher-victory-aura{background:radial-gradient(circle,rgb(240 253 244 / 90%) 0%,rgb(134 239 172 / 55%) 28%,rgb(34 197 94 / 12%) 58%,transparent 72%)}.teacher-heal-effect .teacher-victory-ring{border-color:#bbf7d0f2;box-shadow:0 0 30px #4ade80,inset 0 0 20px #22c55e}.teacher-heal-effect .teacher-victory-spokes i{background:linear-gradient(90deg,#fff,#bbf7d0 25%,#4ade8000);box-shadow:0 0 22px #4ade80cc}.teacher-heal-effect .teacher-victory-halo{border-color:#dcfce7f2;box-shadow:0 0 20px #bbf7d0,0 0 58px #4ade80,inset 0 0 24px #86efac}.teacher-heal-effect>strong{color:#dcfce7;text-shadow:0 3px 9px #000,0 0 25px #22c55e}@keyframes teacher-descend{0%{transform:translate(-50%,-150vh) scale(.7);opacity:0}68%{opacity:1}to{transform:translate(-50%,-46%) scale(1);opacity:1}}@keyframes teacher-charge{0%{transform:translate(-50%,-46%) scale(1)}55%{transform:translate(-50%,-52%) scale(.94)}to{transform:translate(-50%,-49%) scale(.96)}}@keyframes teacher-burst-pose{0%{transform:translate(-50%,-49%) scale(.96)}22%{transform:translate(-50%,-43%) scale(1.08)}to{transform:translate(-50%,-46%) scale(1)}}@keyframes teacher-halo-charge{0%{transform:translate(-50%) rotateX(62deg) scale(1)}to{transform:translate(-50%) rotateX(62deg) scale(1.3)}}@keyframes teacher-halo-burst{0%{transform:translate(-50%) rotateX(62deg) scale(1.3)}30%{transform:translate(-50%) rotateX(62deg) scale(1.65)}to{transform:translate(-50%) rotateX(62deg) scale(1)}}@keyframes teacher-aura-charge{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}to{opacity:.75;transform:translate(-50%,-50%) scale(.7)}}@keyframes teacher-aura-burst{0%{opacity:.75;transform:translate(-50%,-50%) scale(.7)}25%{opacity:1}to{opacity:0;transform:translate(-50%,-50%) scale(2.5)}}@keyframes teacher-ring-burst{0%{opacity:.95;transform:translate(-50%,-50%) scale(.3)}to{opacity:0;transform:translate(-50%,-50%) scale(6)}}@keyframes teacher-ray-burst{0%{opacity:0;transform:rotate(var(--ray-angle)) scaleX(.08)}25%{opacity:.95}to{opacity:0;transform:rotate(var(--ray-angle)) scaleX(1.35)}}@keyframes teacher-impact-flash{0%{background-color:#ffffff8c}to{background-color:transparent}}.battle-display-main.pve-final-layout{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;min-height:0;padding:clamp(12px,2.5vw,34px)}.pve-final-statistics{width:min(100%,1350px);max-height:100%;margin:auto;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:clamp(14px,2vh,26px);padding:clamp(20px,3vw,44px);overflow:hidden;border:1px solid rgb(251 191 36 / 45%);border-radius:26px;background:linear-gradient(145deg,#0f172af7,#03101ff5);box-shadow:0 24px 80px #0009,0 0 60px #fbbf2421}.pve-final-statistics:not(.pvp-final-statistics){grid-template-rows:auto auto auto minmax(0,1fr) auto}.pve-final-learning{min-height:0;color:#e2e8f0}.pve-final-learning h3{margin:0 0 4px;font-size:1rem}.pve-final-learning p{margin:0 0 9px;color:#cbd5e1;font-size:.78rem;line-height:1.5}.pve-learning-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:7px;max-height:110px;overflow-y:auto}.pve-learning-card{display:grid;gap:3px;padding:8px 10px;border:1px solid rgb(148 163 184 / 28%);border-radius:9px;background:#1e293bbf;font-size:.75rem}.pve-learning-card strong{color:#fef08a}.pve-final-heading{text-align:center}.pve-final-heading>span{color:#fbbf24;font-size:.75rem;font-weight:950;letter-spacing:.22em}.pve-final-heading h2{margin:6px 0;font-size:clamp(1.7rem,3.1vw,3.3rem)}.pve-final-heading p{margin:0;color:#cbd5e1;font-size:clamp(.8rem,1.2vw,1.1rem)}.pve-final-heading small{display:block;margin-top:7px;color:#94a3b8}.pve-final-statistics.outcome-lost,.pve-final-statistics.outcome-ended{border-color:#fb718585;box-shadow:0 24px 80px #00000073,0 0 55px #fb71851a}.pve-final-boss-hp{margin:-5px 0;color:#cbd5e1;text-align:center;font-size:.86rem}.pve-final-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.pve-final-metrics>div{display:flex;align-items:baseline;justify-content:center;gap:5px;min-width:0;padding:12px 8px;border:1px solid rgb(148 163 184 / 20%);border-radius:14px;background:#1e293bb3}.pve-final-metrics span{margin-right:auto;color:#cbd5e1;font-size:.74rem}.pve-final-metrics strong{color:#fef08a;font-size:clamp(1.25rem,2.2vw,2.1rem)}.pve-final-metrics small{color:#fde68a}.pve-final-ranking{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px}.pve-final-ranking-header{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.pve-final-ranking-header h3{margin:0;font-size:clamp(1rem,1.7vw,1.5rem)}.pve-final-ranking-header span{color:#94a3b8;font-size:.72rem}.pve-final-ranking-list{min-height:0;overflow-y:auto;display:grid;align-content:start;gap:7px;padding-right:5px}.pve-final-group{display:grid;grid-template-columns:42px minmax(90px,1fr) auto minmax(80px,2fr) 50px minmax(120px,1.2fr);align-items:center;gap:10px;padding:9px 12px;border:1px solid rgb(148 163 184 / 23%);border-radius:11px;background:#0f172ad6}.pve-final-group:first-child{border-color:#fbbf24a6;background:#713f1261}.pve-final-group.is-dead{opacity:.7}.pve-final-rank{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#334155;color:#fbbf24}.pve-final-group>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pve-final-group-damage{color:#fde68a;font-weight:850;white-space:nowrap}.pve-final-group-bar{height:11px;overflow:hidden;border-radius:999px;background:#64748b59}.pve-final-group-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f59e0b,#fef08a)}.pve-final-group-share{text-align:right;color:#fef08a}.pve-final-group small{color:#cbd5e1;text-align:right;white-space:nowrap}.pvp-final-statistics{grid-template-rows:auto minmax(0,1fr) auto}.pvp-final-sides{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.pvp-final-side{min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:13px;padding:18px;border:1px solid rgb(96 165 250 / 50%);border-radius:17px;background:#1d4ed821}.pvp-final-side.side-right{border-color:#fb71857f;background:#be123c1f}.pvp-final-side.winner{border-color:#fbbf24;box-shadow:inset 0 0 25px #fbbf241f}.pvp-final-side-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-weight:850}.pvp-final-side-heading strong{color:#fef08a;font-size:clamp(1.1rem,2vw,1.8rem);white-space:nowrap}.pvp-final-side-metrics{display:flex;flex-wrap:wrap;gap:8px}.pvp-final-side-metrics span{padding:7px 10px;border-radius:9px;background:#0f172acc;color:#cbd5e1;font-size:.8rem}.pvp-final-side-metrics b{color:#fff}.pvp-final-side ol{min-height:0;overflow-y:auto;display:grid;align-content:start;gap:7px;margin:0;padding:0;list-style:none}.pvp-final-side li{display:flex;align-items:center;gap:12px;padding:9px 11px;border-radius:10px;background:#0f172abf}.pvp-final-side li span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pvp-final-side li b{color:#fde68a;white-space:nowrap}.pvp-final-side li small{color:#cbd5e1;white-space:nowrap}.pvp-final-rounds{margin:0;color:#cbd5e1;text-align:center}.teacher-battle-final,.student-battle-final{margin:18px 0}.teacher-battle-final .pve-final-statistics,.student-battle-final .pve-final-statistics,.teacher-battle-final .pve-learning-grid,.student-battle-final .pve-learning-grid{max-height:none;overflow:visible}.student-death-notice{display:grid;gap:3px;margin:0 0 12px;padding:13px 16px;border:1px solid #fda29b;border-radius:12px;background:#fff1f0;color:#912018;line-height:1.5}.student-death-notice span{font-size:.86rem}.student-death-feedback{padding:9px 12px;border-radius:9px;background:#f0fdfa;color:#0f766e;font-weight:700}.teacher-battle-final .pve-final-ranking-list,.student-battle-final .pve-final-ranking-list,.teacher-battle-final .pvp-final-side ol,.student-battle-final .pvp-final-side ol{overflow:visible}.teacher-battle-final-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:12px 0 24px}@media(max-width:760px){.battle-display-main.pve-final-layout{min-height:0}.pve-final-statistics{max-height:none;overflow:visible}.pve-final-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.pve-final-ranking-list{overflow:visible}.pve-final-group{grid-template-columns:34px minmax(0,1fr) auto;gap:6px}.pve-final-group-bar{grid-column:2 / 4}.pve-final-group-share{grid-column:3;grid-row:1}.pve-final-group small{grid-column:2 / 4;text-align:left}.pve-final-group-damage{grid-column:2}.pvp-final-sides{grid-template-columns:1fr}.pvp-final-side{min-height:0}.pvp-final-side li{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.teacher-victory-figure,.teacher-victory-effect,.teacher-victory-halo,.teacher-victory-aura,.teacher-victory-ring,.teacher-victory-spokes i{animation-duration:.01ms!important}}@keyframes boss-hammer-fall{0%{transform:translateY(-5%) scale(1.01) rotate(-2deg)}34%{transform:translateY(-9%) translate(3%) scale(1.055) rotate(-4deg)}50%{transform:translateY(13%) translate(-5%) scale(1.13) rotate(6deg)}64%{transform:translateY(7%) translate(-2%) scale(1.07) rotate(2deg)}78%{transform:translateY(1%) scale(1.025) rotate(-.5deg)}to{transform:translateY(0) scale(1)}}@keyframes boss-hammer-land{0%{transform:translateY(-9%) translate(2%) rotate(-3deg) scale(1.07)}24%{transform:translateY(8%) translate(-2%) rotate(3deg) scale(1.1)}58%{transform:translateY(5%) rotate(1deg) scale(1.04)}to{transform:translateY(0) rotate(0) scale(1)}}@keyframes boss-hammer-arc{0%{opacity:.5;transform:translateY(-9%) rotate(-4deg) scale(1.05)}60%{opacity:.25;transform:translate(-10%,12%) rotate(11deg) scale(1.08)}to{opacity:0;transform:translate(-17%,22%) rotate(16deg) scale(1.1)}}@keyframes boss-hurt{0%,to{transform:translate(0)}35%{transform:translate(-3%)}70%{transform:translate(3%)}}@keyframes boss-defeated{0%{transform:scale(1.04);opacity:1}to{transform:scale(.96) translateY(2%);opacity:.92}}@keyframes result-enter{0%{opacity:0;transform:scale(1.08)}to{opacity:1;transform:scale(1)}}@keyframes screen-hit-shake{0%,to{transform:translateZ(0) rotate(0)}12%{transform:translate3d(-10px,5px,0) rotate(-.35deg)}25%{transform:translate3d(12px,-7px,0) rotate(.35deg)}38%{transform:translate3d(-9px,-3px,0) rotate(-.2deg)}52%{transform:translate3d(8px,6px,0) rotate(.2deg)}68%{transform:translate3d(-5px,2px,0)}84%{transform:translate3d(3px,-2px,0)}}@keyframes arena-impact-shake{0%,to{transform:translateZ(0)}15%{transform:translate3d(-8px,5px,0)}32%{transform:translate3d(10px,-5px,0)}52%{transform:translate3d(-6px,3px,0)}72%{transform:translate3d(5px,-2px,0)}}@keyframes screen-red-flash{0%{opacity:0}12%{opacity:.95}36%{opacity:.48}to{opacity:0}}@keyframes impact-wave{0%{opacity:.9;transform:translate(-50%,-50%) scale(.18)}to{opacity:0;transform:translate(-50%,-50%) scale(8)}}@keyframes floating-number-rise{0%{opacity:0;transform:translateY(14px) scale(.72)}24%{opacity:1;transform:translateY(0) scale(1.12)}to{opacity:0;transform:translateY(-42px) scale(1)}}@keyframes battle-cue-enter{0%{opacity:0;transform:translate(-50%,-12px) scale(.88)}to{opacity:1;transform:translate(-50%) scale(1)}}@keyframes danger-target-pulse{0%{opacity:.58;transform:translate(-50%) scale(.9)}to{opacity:1;transform:translate(-50%) scale(1.08)}}@keyframes shield-impact{0%{opacity:0;transform:translate(-50%) scale(.72)}28%{opacity:1;transform:translate(-50%) scale(1.08)}to{opacity:0;transform:translate(-50%) scale(1)}}@keyframes healing-rise{0%{transform:translateY(8px);opacity:.72}45%{transform:translateY(-7px) scale(1.05);opacity:1}to{transform:translateY(0)}}@keyframes group-card-hit{0%,to{transform:translate(0)}20%{transform:translate(-6px)}42%{transform:translate(7px)}66%{transform:translate(-4px)}}@media(prefers-reduced-motion:reduce){.display-boss-art,.character-avatar,.floating-number,.battle-action-cue,.battle-display-header,.battle-display-main,.battle-hit-flash,.battle-impact-wave{animation-duration:.01ms!important;animation-iteration-count:1!important}.boss-hammer-ghost{display:none}}@media(max-width:760px){.scoring-meaning{grid-template-columns:1fr}.network-recovery-banner{align-items:flex-start;flex-direction:column}.retention-settings-grid{grid-template-columns:1fr}.topbar{height:auto;padding:14px 18px;align-items:flex-start}.topbar nav{flex-direction:column}.hero,.feature-grid,.room-panel{grid-template-columns:1fr}.page-heading,.section-title-row,.panel.compact{align-items:stretch;flex-direction:column}.qr-box,.qr-placeholder{width:100%;max-width:none}.round-metrics,.room-metadata-inputs,.session-grid,.form-grid{grid-template-columns:1fr}.full-span{grid-column:auto}.pvp-setup-grid,.pvp-duel,.display-pvp-duel,.pvp-balance-sides{grid-template-columns:1fr}.character-options{grid-template-columns:repeat(2,1fr)}.pvp-versus,.display-pvp-duel>b{text-align:center}.display-pvp-stage{grid-column:auto}.session-toolbar{align-items:stretch;flex-direction:column}.question-history-list article{grid-template-columns:1fr}.analysis-grid{grid-template-columns:1fr}.analysis-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.question-history-meta{text-align:left}.group-answer-header{align-items:flex-start;flex-direction:column}.group-answer-summary{justify-content:flex-start}.student-score-summary{grid-template-columns:1fr}.result-summary,.option-distribution{grid-template-columns:repeat(2,1fr)}.pve-setup,.pve-bars{grid-template-columns:1fr}.pve-setup-actions{align-items:stretch;flex-direction:column}.pve-contributions li{grid-template-columns:minmax(0,1fr) auto}.pve-contributions small{grid-column:1 / -1;text-align:left}.question-import-mode,.saved-unit-picker{grid-template-columns:1fr}.battle-display{height:auto;min-height:100vh;overflow:auto;display:block}.battle-display-header{height:auto;grid-template-columns:1fr auto;padding:14px}.battle-display.mode-pvp .battle-display-header{grid-template-columns:1fr auto}.battle-display.mode-pvp .battle-display-header-actions{grid-column:1 / -1;flex-wrap:wrap;white-space:normal}.battle-display-room{grid-row:span 2}.battle-display-connection{justify-self:start}.battle-display-header-actions{justify-self:start;flex-wrap:wrap}.battle-display-main{grid-template-columns:1fr;min-height:auto;padding-top:12px}.battle-display-main.pvp-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto}.pvp-layout>.display-question-card{max-height:none}.display-pvp-stage .team-arena{min-height:440px;height:auto}.display-pvp-stage .team-battlefield{min-height:300px}.display-question-card,.display-ranking-card{max-height:none}.display-boss-stage{min-height:70vh;order:-1}.display-boss-art{max-height:55vh}.display-hero-party{left:0;width:55%}.display-hero-party .character-avatar.size-medium{width:62px;height:72px}.projection-control-panel{top:12px;right:12px;bottom:12px;width:calc(100vw - 24px)}}@media(max-height:650px)and (min-width:761px){.battle-display.mode-pvp{height:auto;min-height:100vh;overflow:auto}.battle-display.mode-pvp .battle-display-main.pvp-layout{min-height:500px}}@media(max-width:520px){.page{padding:28px 14px 64px}.answer-grid,.student-answer-grid{grid-template-columns:1fr}}.character-avatar.variant-portrait{overflow:hidden;border:2px solid color-mix(in srgb,var(--character-accent) 72%,white 12%);border-radius:50%;background:#0f172aeb;box-shadow:0 0 16px color-mix(in srgb,var(--character-accent) 38%,transparent)}.character-avatar.variant-portrait .character-portrait{width:100%;height:100%;object-fit:cover;object-position:var(--character-portrait-position, center)}.battle-display-main.pve-layout{display:block;min-height:0}.pve-presentation{position:relative;height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:10px}.pve-presentation .display-boss-stage{grid-row:1;min-height:0;height:100%;grid-template-rows:auto auto minmax(0,1fr);align-items:stretch;padding:0;transition:filter .35s ease,opacity .35s ease}.pve-presentation .display-boss-heading{padding:0 clamp(16px,3vw,50px)}.pve-presentation .display-boss-hp{width:min(72%,1040px);padding:8px clamp(16px,3vw,50px) 0}.pve-presentation .display-boss-art-wrap{align-self:stretch;height:100%;overflow:hidden}.pve-presentation .display-boss-art{position:absolute;right:3%;bottom:0;width:min(var(--boss-art-width),var(--boss-art-max-width));max-width:var(--boss-art-max-width);max-height:var(--boss-art-max-height);margin:0;object-position:var(--boss-art-position)}.pve-presentation .display-hero-party{left:1%;bottom:1%;width:61%;max-height:78%;grid-template-columns:repeat(var(--party-count),minmax(0,1fr));align-items:end;gap:4px;overflow:visible}.pve-presentation .display-hero-party.large-party{width:64%;max-height:74%;grid-template-columns:repeat(5,minmax(0,1fr));overflow-y:auto}.pve-presentation .display-hero-fighter:nth-child(3n+2){transform:none}.pve-presentation .display-hero-fighter:nth-child(2n){transform:translateY(-5%)}.pve-presentation .display-hero-fighter .character-avatar.size-large{width:min(150px,92%);height:clamp(150px,27vh,270px)}.pve-presentation .display-hero-party.large-party .character-avatar{width:min(115px,90%);height:clamp(120px,20vh,205px)}.pve-presentation .display-hero-fighter>span{max-width:120px;padding:4px 9px;font-size:.66rem}.pve-presentation.stage-answering .display-boss-stage,.pve-presentation.stage-results .display-boss-stage{filter:brightness(.62) blur(.6px);opacity:.9}.pve-presentation.stage-answering .display-boss-art,.pve-presentation.stage-results .display-boss-art{right:0;width:min(27%,var(--boss-art-max-width));max-height:min(52vh,var(--boss-art-max-height))}.pve-presentation.stage-answering .display-hero-party,.pve-presentation.stage-results .display-hero-party{left:0;bottom:4%;width:28%;grid-template-columns:repeat(var(--party-count),minmax(0,1fr));gap:0}.pve-presentation.stage-answering .display-hero-fighter .character-avatar.size-large,.pve-presentation.stage-results .display-hero-fighter .character-avatar.size-large{width:min(105px,96%);height:clamp(100px,17vh,170px)}.pve-presentation.stage-answering .display-hero-fighter>span,.pve-presentation.stage-results .display-hero-fighter>span{max-width:72px;padding:2px 5px;font-size:.52rem}.pve-presentation>.display-question-card{position:absolute;z-index:7;top:2%;left:50%;overflow:auto;transform:translate(-50%)}.display-question-card.mode-answering{width:min(58%,900px);max-height:calc(100% - 116px);padding:clamp(22px,2.4vw,42px);border-color:#38bdf894;background:#020617eb;box-shadow:0 28px 90px #00000094,0 0 40px #0ea5e91f}.display-question-card.mode-answering h2{margin:10px 0 16px;text-align:center;font-size:clamp(1.65rem,3.1vw,3.2rem)}.display-question-card.mode-answering .display-question-heading{min-height:66px}.display-question-card.mode-answering .display-options{gap:10px}.display-question-card.mode-answering .display-options>div{min-height:48px;padding:10px 16px;font-size:clamp(.9rem,1.25vw,1.2rem)}.display-question-card.mode-results{top:1%;width:min(78%,1180px);max-height:calc(100% - 112px);display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(22px,3vw,46px);padding:clamp(22px,2.3vw,40px);border-color:#38bdf885;background:#020617f0;box-shadow:0 28px 90px #0000009e}.display-result-question,.display-class-stats{min-width:0}.display-result-question{padding-right:clamp(18px,2vw,34px);border-right:1px solid rgb(125 211 252 / 24%)}.display-result-eyebrow{color:#67e8f9;font-size:.76rem;font-weight:900;letter-spacing:.12em}.display-question-card.mode-results h2{margin:8px 0 16px;font-size:clamp(1.3rem,2.25vw,2.35rem)}.display-question-card.mode-results .display-options>div{padding:8px 10px}.display-question-card.mode-results .display-options em{color:#86efac}.display-class-stats{display:grid;align-content:start;gap:14px}.display-stat-bars{display:grid;gap:10px}.display-stat-bars>div{display:grid;grid-template-columns:32px minmax(70px,.8fr) minmax(100px,1.6fr) 48px;align-items:center;gap:9px;padding:9px 10px;border:1px solid rgb(148 163 184 / 18%);border-radius:12px;background:#0f172aad}.display-stat-bars>div.correct{border-color:#34d399;background:#064e3b6b}.display-stat-bars>div>b{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#334155}.display-stat-bars>div.correct>b{background:#059669}.display-stat-bars>div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.display-stat-bars>div>div{overflow:hidden;height:12px;border-radius:999px;background:#64748b57}.display-stat-bars>div>div i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0284c7,#38bdf8)}.display-stat-bars>div.correct>div i{background:linear-gradient(90deg,#059669,#34d399)}.display-stat-bars>div>strong{text-align:right}.display-result-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:14px;border-top:1px solid rgb(148 163 184 / 22%);color:#cbd5e1}.display-result-summary span{display:grid;gap:4px}.display-result-summary b{color:#fff;font-size:1.2rem}.display-result-summary strong{color:#34d399;font-size:clamp(1.65rem,3vw,3rem)}.pve-team-dock{position:relative;z-index:8;grid-row:2;display:grid;grid-template-columns:repeat(var(--team-count),minmax(0,1fr));gap:clamp(6px,.75vw,12px);margin:0;padding:0;list-style:none}.pve-team-dock>li{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;padding:9px 11px;border:1px solid rgb(148 163 184 / 30%);border-radius:14px;background:#020617e5;box-shadow:0 12px 30px #0000004d}.pve-team-dock>li.result-attack,.pve-team-dock>li.result-heal{border-color:#34d399b8;background:#064e3ba8}.pve-team-dock>li.result-hurt{border-color:#f87171c7;background:#7f1d1dad}.pve-team-dock>li.is-dead{border-color:#fb7185;background:#3f1427e8}.pve-team-dock>li.is-dead em{color:#fecaca}.pve-team-dock-copy{min-width:0;display:grid;gap:5px}.pve-team-dock-copy>div:first-child{display:flex;justify-content:space-between;gap:6px}.pve-team-dock-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pve-team-dock-copy em{color:#93c5fd;font-size:.72rem;font-style:normal;font-weight:900;white-space:nowrap}.result-attack .pve-team-dock-copy em,.result-heal .pve-team-dock-copy em{color:#6ee7b7}.result-hurt .pve-team-dock-copy em{color:#fca5a5}.pve-team-dock-copy small{color:#cbd5e1;font-size:.68rem}.pve-stage-message{position:absolute;z-index:6;top:42%;left:50%;display:grid;place-items:center;gap:8px;min-width:300px;padding:24px 32px;border:1px solid rgb(125 211 252 / 34%);border-radius:18px;background:#020617d1;transform:translate(-50%,-50%);text-align:center}.pve-stage-message span{color:#93c5fd;font-size:.7rem;font-weight:900;letter-spacing:.2em}.pve-stage-message h2,.pve-stage-message p{margin:0}.pve-stage-message p{color:#cbd5e1}@media(max-width:1100px){.display-question-card.mode-answering{width:min(68%,760px)}.display-question-card.mode-results{width:90%}.pve-presentation .display-hero-party{width:66%}.pve-presentation .display-hero-fighter .character-avatar.size-large{height:clamp(125px,23vh,220px)}.pve-presentation.stage-answering .display-hero-party,.pve-presentation.stage-results .display-hero-party{width:30%}.pve-presentation.stage-answering .display-hero-fighter .character-avatar.size-large,.pve-presentation.stage-results .display-hero-fighter .character-avatar.size-large{height:clamp(90px,15vh,145px)}.pve-team-dock>li{padding:7px}.pve-team-dock .character-avatar.size-small{width:38px;height:38px}.pve-team-dock-copy em{font-size:.62rem}}@media(max-width:760px){.battle-display-main.pve-layout{min-height:760px}.pve-presentation{min-height:740px}.pve-presentation>.display-question-card{position:relative;top:auto;left:auto;grid-row:1;width:100%;max-height:none;transform:none}.pve-presentation .display-boss-stage{grid-row:1;min-height:560px}.pve-presentation.stage-answering .display-boss-stage,.pve-presentation.stage-results .display-boss-stage{position:absolute;inset:0 0 120px}.display-question-card.mode-results{grid-template-columns:1fr}.display-result-question{padding-right:0;border-right:0}.pve-team-dock{grid-template-columns:repeat(2,minmax(0,1fr))}.pve-presentation .display-hero-party{width:72%;grid-template-columns:repeat(3,minmax(0,1fr))}.pve-presentation .display-boss-art{width:min(48%,var(--boss-art-max-width))}}.student-shell .topbar{height:52px}.student-shell .page{padding:16px 18px 36px}.student-frame .student-meta{align-items:center;flex-wrap:wrap;gap:6px 12px;margin-bottom:10px;font-size:.82rem}.student-battle-summary{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding:8px 14px;border:1px solid #dce4ee;border-radius:14px;background:#fff}.student-battle-summary .character-avatar{width:40px;height:40px;filter:none}.student-hero-name{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}.student-hero-name>strong{font-size:.9rem}.student-hero-name>span{color:#667085;font-size:.78rem}.student-health{min-width:110px;margin-left:auto;text-align:right}.student-health>strong{font-size:1rem}.student-health small{color:#667085;font-size:.78rem}.student-health-track{overflow:hidden;height:5px;margin-top:5px;border-radius:99px;background:#eaecf0}.student-health-track i{display:block;height:100%;border-radius:inherit;background:#0f766e}.student-question-card{padding:clamp(16px,2.5vw,24px);border:1px solid #dce4ee;border-radius:18px;background:#fff;box-shadow:0 3px 12px #1018280a}.student-question-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#475467;font-size:.85rem;font-weight:800}.student-question-heading .student-countdown{margin:0;padding:6px 10px;font-size:.85rem}.student-question-card h1{margin:14px 0 20px;font-size:clamp(1.35rem,3vw,2rem);line-height:1.45;overflow-wrap:anywhere}.student-question-card .question-image{margin-bottom:16px}.student-question-card .question-image img{max-height:min(32vh,300px)}.student-question-card .student-answer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.student-question-card .student-answer-grid button{min-height:78px;grid-template-columns:38px minmax(0,1fr);align-items:center;justify-items:start;gap:12px;padding:14px;border:2px solid #e2e8f0;border-radius:12px;background:#f8fafc;text-align:left;color:#172033}.student-question-card .student-answer-grid button b{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#e2e8f0;color:#334155;font-size:1.1rem}.student-question-card .student-answer-grid button span{font-size:1.05rem;line-height:1.5;overflow-wrap:anywhere}.student-question-card .student-answer-grid button.selected{border-color:#0f766e;background:#ecfdf5}.student-question-card .student-answer-grid button.selected b{background:#0f766e;color:#fff}.student-question-card .student-answer-grid button:disabled{opacity:.72}.student-question-card .student-answer-grid button.selected:disabled{opacity:1}.student-question-card .student-submit{margin-top:14px;gap:10px}.student-answer-status{margin:0;color:#475467;font-size:.85rem;line-height:1.5}.student-answer-status.accepted{color:#067647;font-weight:750}.student-question-card .student-submit .button{min-height:48px}.student-extra{margin-top:12px;border:1px solid #dce4ee;border-radius:12px;background:#fff}.student-extra[hidden]{display:none}.student-extra>summary{min-height:48px;padding:14px 16px;color:#344054;cursor:pointer;font-size:.88rem;font-weight:800}.student-extra[open]>summary{border-bottom:1px solid #e2e8f0}.student-extra>.panel,.student-extra>.character-picker{margin:0;width:100%;border:0;box-shadow:none}.student-extra.student-leaderboard{padding:0}.student-extra.student-leaderboard ol{padding:12px}.student-frame .waiting-question{min-height:160px}.student-frame .waiting-question h1{font-size:1.8rem}.student-frame button:focus-visible,.student-extra>summary:focus-visible{outline:3px solid #2563eb;outline-offset:3px}@media(max-width:600px){.student-shell .student-mode-label{display:none}.student-shell .page{padding:12px 10px 28px}.student-extra .character-options{grid-template-columns:repeat(2,minmax(0,1fr))}.student-extra .pve-contributions li{grid-template-columns:auto minmax(0,1fr)}.student-extra .pve-contributions small{text-align:left}.student-extra .pve-bars{grid-template-columns:1fr}}@media(max-width:420px){.student-question-card .student-answer-grid{grid-template-columns:1fr}.student-question-card .student-answer-grid button{min-height:64px}}.teacher-stage-guide{display:grid;gap:16px;padding:clamp(18px,2.5vw,28px);border:1px solid #bad8d0;border-radius:20px;background:linear-gradient(135deg,#effcf7,#fff 65%);box-shadow:0 10px 28px #0f766e14}.teacher-preparation-notice{margin:0;padding:13px 16px;border:1px solid #bad8d0;border-radius:12px;background:#effcf7;color:#175c52;line-height:1.5}.teacher-stage-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}.teacher-stage-steps li{display:flex;align-items:center;gap:9px;min-width:0;padding:9px 12px;border-radius:10px;background:#f2f4f7;color:#667085;font-size:.82rem;font-weight:850}.teacher-stage-steps li.current{background:#0f766e;color:#fff}.teacher-stage-steps li>span{display:grid;place-items:center;flex:0 0 auto;width:24px;height:24px;border-radius:50%;background:#ffffffbf;color:#0f766e}.teacher-stage-steps li.current>span{background:#fff}.teacher-stage-focus{display:flex;align-items:center;justify-content:space-between;gap:18px}.teacher-stage-focus h2{margin:5px 0;font-size:clamp(1.35rem,2.2vw,1.9rem)}.teacher-stage-focus p{margin:0;color:#475467;line-height:1.5;overflow-wrap:anywhere}.teacher-stage-action{display:flex;flex-wrap:wrap;gap:8px;flex:0 0 auto}.teacher-stage-action .button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.teacher-readiness-note{margin:0;padding:9px 12px;border-radius:10px;background:#dcfae6;color:#067647;font-size:.86rem;font-weight:800}.teacher-readiness-note.needs-work{background:#fff4dd;color:#93370d}.teacher-section-disclosure{min-width:0;overflow:hidden;border:1px solid #dbe3ed;border-radius:16px;background:#fff}.teacher-section-disclosure>summary{padding:15px 20px;cursor:pointer;color:#344054;font-weight:850}.teacher-section-disclosure[open]>summary{border-bottom:1px solid #e2e8f0}.teacher-section-disclosure>.panel{margin:12px}.teacher-section-disclosure>.panel+.panel{margin-top:0}.teacher-section-disclosure .question-card{margin:12px}.teacher-section-disclosure>.warning-text,.teacher-section-disclosure>.success-text,.teacher-section-disclosure>.error-text{margin:12px 18px}.teacher-start-review{display:grid;gap:12px;padding:22px;border:2px solid #0f766e;border-radius:18px;background:#fff;box-shadow:0 16px 38px #0f766e1f}.teacher-start-heading{display:flex;align-items:start;justify-content:space-between;gap:16px}.teacher-start-heading h2{margin:5px 0 0}.teacher-start-heading>button{width:34px;height:34px;border:0;border-radius:9px;background:#f2f4f7;font-size:1.4rem}.teacher-start-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}.teacher-start-checklist li{padding:11px 12px;border-radius:10px;background:#ecfdf3;color:#067647;font-weight:750}.teacher-start-checklist li.missing{background:#fff4dd;color:#93370d}.teacher-start-checklist li.warning{background:#fffaf0;color:#93370d}.teacher-start-review>p{margin:0}.teacher-start-review>.actions{justify-content:flex-end}.teacher-reveal-panel{display:grid;gap:12px}.teacher-reveal-panel h2,.teacher-reveal-panel p{margin:0}.teacher-reveal-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.teacher-reveal-options label{display:flex;align-items:flex-start;gap:10px;padding:15px;border:1px solid #d0d5dd;border-radius:12px;cursor:pointer}.teacher-reveal-options label:has(input:checked){border-color:#0f766e;background:#effcf7}.teacher-reveal-options input{margin-top:4px}.teacher-reveal-options span{display:grid;gap:5px}.teacher-reveal-options small{color:#667085;line-height:1.45}.teacher-console.stage-after>.participant-panel,.teacher-console.stage-after>.round-control-panel{display:none}@media(max-width:760px){.teacher-stage-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-stage-focus{align-items:stretch;flex-direction:column}.teacher-stage-action,.teacher-stage-action .button{flex:1}.teacher-start-checklist,.teacher-reveal-options{grid-template-columns:1fr}}.projection-reveal-mode{margin:0;padding:10px 12px;border-radius:10px;background:#1e3a5fa6;color:#dbeafe}.projection-ready-backdrop{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:20px;background:#020617b3}.projection-ready-dialog{width:min(560px,100%);max-height:min(90vh,720px);overflow-y:auto;padding:24px;border:1px solid rgb(147 197 253 / 40%);border-radius:18px;background:#0b1324;color:#fff;box-shadow:0 24px 80px #0009}.projection-ready-heading{display:flex;justify-content:space-between;align-items:start;gap:16px}.projection-ready-heading span{color:#93c5fd;font-size:.7rem;font-weight:900;letter-spacing:.15em}.projection-ready-heading h2{margin:5px 0 0}.projection-ready-heading>button{width:36px;height:36px;border:1px solid #475569;border-radius:9px;background:#1e293b;color:#fff;font-size:1.4rem}.projection-ready-dialog ul{display:grid;gap:8px;margin:20px 0;padding:0;list-style:none}.projection-ready-dialog li{padding:11px 13px;border-radius:10px;background:#1e293b}.projection-ready-dialog li.ready{border-left:4px solid #34d399}.projection-ready-dialog li.missing{border-left:4px solid #fbbf24}.projection-ready-dialog>p{color:#fda4af;font-weight:750}.projection-ready-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px}.projection-ready-actions button{min-height:44px;padding:9px 14px;border:1px solid #475569;border-radius:10px;background:#1e293b;color:#fff;font-weight:800}.projection-ready-actions button.primary{border-color:#fbbf24;background:#f59e0b;color:#111827}:root{color:#172b38;background:#f4f8f7}body{background:radial-gradient(circle at 85% 8%,#dff3e9 0,transparent 34%),#f4f8f7}.topbar{height:72px;padding:0 max(22px,calc((100vw - 1180px)/2));background:#102b30;box-shadow:0 2px 20px #08292c1f}.brand{display:inline-flex;align-items:center;gap:9px;font-size:1.03rem;white-space:nowrap}.brand .brand-mark{display:grid;place-items:center;width:30px;height:30px;margin:0;border-radius:9px;background:#e8bb65;color:#123035;font-size:1.15rem}.brand span:not(.brand-mark){margin-left:4px;color:#8fd5bc;font-size:.7rem;font-weight:800;letter-spacing:.1em}.topbar nav a,.nav-button{color:#e3f2ee;font-weight:700}.topbar nav a:hover,.nav-button:hover,.topbar nav a.active{background:#23464a;color:#fff}.student-mode-label{border-color:#4e7674;color:#c4f2da}.page{max-width:1180px;padding-top:44px}.button{min-height:44px;gap:12px;border-radius:11px;padding:11px 17px;transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}.button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 18px #0d353721}.button.primary{background:#126e68;color:#fff}.button.primary:hover:not(:disabled){background:#0b5b56}.button.secondary{border-color:#cbdcd8;color:#234046;background:#fff}.button:focus-visible,.topbar a:focus-visible,.nav-button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e8bb65;outline-offset:3px}.panel,.feature,.join-card,.question-card{border-color:#dce8e4;box-shadow:0 10px 30px #133c3d0d}.panel{border-radius:18px}.eyebrow{color:#168077}.page-heading h1{color:#16333a;line-height:1.18}.page-heading p,.muted{color:#536b70}.auth-panel{margin-top:64px;padding:clamp(24px,4vw,36px);border-top:5px solid #d6ae5d}.auth-panel h1{color:#14343a}.auth-form .button{margin-top:5px}.field-label input,.field-label textarea,.join-card input{border-color:#c4d6d2;background:#fbfdfc}.teacher-stage-guide{border-color:#b6d8cb;background:linear-gradient(115deg,#e5f7ed,#fff 72%)}.teacher-stage-steps li.current{background:#126e68}.teacher-section-disclosure{border-color:#d4e3de;box-shadow:0 7px 24px #133c3d0a}.teacher-section-disclosure>summary{padding:18px 21px;color:#24474a}.teacher-section-disclosure>summary:hover{background:#f4fbf7}.file-drop{border-color:#8fc7b7;background:#f6fcf9}.room-panel{border-left:5px solid #ddba70}.room-code{color:#126e68}.join-card{border-top:5px solid #d6ae5d}.student-shell .student-battle-summary,.student-question-card{border-color:#d7e8df;box-shadow:0 8px 24px #133c3d0f}.student-question-card .student-answer-grid button:hover:not(:disabled){border-color:#6ab6a4;background:#f2fbf6}.student-question-card .student-answer-grid button.selected{border-color:#126e68}.home-page{display:grid;gap:clamp(58px,7vw,96px)}.home-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);align-items:center;gap:clamp(32px,5vw,72px);min-height:570px}.home-hero-copy{padding:12px 0}.home-kicker{display:inline-flex;align-items:center;gap:9px;padding:7px 12px;border:1px solid #bfe3d1;border-radius:999px;background:#eaf8ee;color:#126e68;font-size:.78rem;font-weight:850;letter-spacing:.04em}.home-kicker span,.home-preview-live i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#29b47e;box-shadow:0 0 0 4px #29b47e29}.home-hero h1{margin:25px 0 20px;color:#15333a;font-size:clamp(2.7rem,5vw,4.5rem);font-weight:900;line-height:1.2;letter-spacing:-.065em}.home-hero h1 em{color:#11766c;font-style:normal}.home-hero-copy>p{max-width:560px;margin:0;color:#526c70;font-size:1.05rem;line-height:1.9}.home-hero-actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:30px}.home-hero-actions .button{min-height:52px;padding:12px 20px}.home-hero-actions .button.primary{box-shadow:0 10px 22px #126e682e}.home-hero-actions .button.primary span{font-size:1.15rem;line-height:1}.home-hero-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:31px;color:#66817e;font-size:.84rem;font-weight:700}.home-hero-meta span:before{content:"✓";margin-right:7px;color:#148d72;font-weight:900}.home-preview{overflow:hidden;border:1px solid #c9ddd5;border-radius:26px;background:#fff;box-shadow:0 28px 70px #114c4726;transform:rotate(1deg)}.home-preview-top{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 22px;background:#12383b;color:#b8d9d1;font-size:.75rem;font-weight:850;letter-spacing:.08em}.home-preview-live{display:inline-flex;align-items:center;gap:10px;color:#dcf6e7}.home-preview-main{display:grid;grid-template-columns:118px minmax(0,1fr);gap:18px 22px;align-items:center;padding:32px 30px;background:radial-gradient(circle at 16% 48%,#e0f4de,transparent 42%),linear-gradient(140deg,#f5fcf8,#edf7f4)}.home-preview-boss{display:grid;place-items:center;grid-row:span 2;width:116px;height:116px;border:1px solid #8cbca9;border-radius:28px;background:linear-gradient(135deg,#b5dbc2,#6eab9a);box-shadow:0 12px 22px #2c736029;transform:rotate(-7deg)}.home-preview-boss span{color:#fff7d9;font-size:5.4rem;line-height:1;text-shadow:0 4px 0 #3e887b}.home-preview-heading{display:grid;gap:7px}.home-preview-heading span{color:#168077;font-size:.75rem;font-weight:900;letter-spacing:.12em}.home-preview-heading strong{color:#1a4144;font-size:1.25rem;line-height:1.35}.home-preview-health{display:grid;grid-template-columns:1fr auto;align-self:end;gap:8px;color:#365d5f;font-size:.78rem;font-weight:800}.home-preview-health strong{color:#d37250}.home-preview-health div{grid-column:1 / -1;overflow:hidden;height:10px;border-radius:99px;background:#e8d6c4}.home-preview-health i{display:block;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#db8057,#edb378)}.home-preview-steps{display:grid;gap:0;padding:10px 22px 18px}.home-preview-steps>div{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:12px;padding:13px 2px;border-bottom:1px solid #edf2ee}.home-preview-steps>div:last-child{border-bottom:0}.home-preview-steps span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#e9f7ef;color:#14796b;font-size:.72rem;font-weight:900}.home-preview-steps strong{color:#29494b;font-size:.88rem}.home-preview-steps small{color:#829a97;font-size:.75rem}.home-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.home-section-heading h2{margin:7px 0 0;color:#19383e;font-size:clamp(1.75rem,3vw,2.4rem);letter-spacing:-.04em}.home-section-heading>p{max-width:340px;margin:0 0 3px;color:#66817e;line-height:1.6}.home-pillars-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.home-pillar-card{display:flex;flex-direction:column;justify-content:space-between;padding:24px;border:1px solid #d8e8df;border-radius:20px;background:#fff;box-shadow:0 8px 24px #164b420d;transition:transform .2s ease,border-color .2s ease}.home-pillar-card:hover{transform:translateY(-2px);border-color:#79bfad}.home-pillar-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.home-pillar-num{color:#d0943a;font-size:1.8rem;font-weight:900;letter-spacing:-.05em}.home-pillar-tag{padding:4px 10px;border-radius:999px;background:#eaf6ef;color:#15796b;font-size:.68rem;font-weight:850;letter-spacing:.04em}.home-pillar-card h3{margin:0 0 8px;color:#1c3d42;font-size:1.18rem;font-weight:800}.home-pillar-card p{margin:0 0 14px;color:#597375;font-size:.88rem;line-height:1.65}.home-pillar-list{list-style:none;padding:0;margin:0;display:grid;gap:6px;font-size:.8rem;color:#2e595b;font-weight:600}.home-showcase-columns{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}.home-boss-panel,.home-hero-panel{padding:24px;border:1px solid #d8e8df;border-radius:22px;background:#fff;box-shadow:0 8px 24px #164b420d}.home-panel-header{display:flex;align-items:center;gap:10px;margin-bottom:18px}.badge-pve{padding:4px 10px;border-radius:999px;background:#fff3e6;color:#c0632a;font-size:.7rem;font-weight:850}.badge-pvp{padding:4px 10px;border-radius:999px;background:#e8f4fc;color:#2378b8;font-size:.7rem;font-weight:850}.home-panel-header h4{margin:0;color:#1d3b40;font-size:1rem;font-weight:800}.home-boss-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.home-boss-item{display:grid;grid-template-columns:72px 1fr;gap:12px;align-items:center;padding:12px;border-radius:14px;background:#f6fbf8;border:1px solid #e1efe8}.home-boss-item img{width:72px;height:72px;object-fit:contain;border-radius:12px;background:#162a2d}.home-boss-title{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:4px}.home-boss-title strong{color:#1c3d42;font-size:.92rem}.home-skill-pill{padding:2px 7px;border-radius:999px;background:#fed7aa;color:#9a3412;font-size:.65rem;font-weight:800}.home-boss-item p{margin:0;color:#627b7c;font-size:.76rem;line-height:1.45}.home-heroes-grid{display:grid;gap:10px}.home-hero-item{display:grid;grid-template-columns:50px 1fr;gap:12px;align-items:center;padding:10px 12px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0}.home-hero-item img{width:50px;height:50px;object-fit:cover;border-radius:12px;background:#e2e8f0}.home-hero-title{display:flex;align-items:center;gap:8px;margin-bottom:2px}.home-hero-title strong{color:#1e293b;font-size:.9rem}.home-role-pill{padding:2px 8px;border-radius:999px;background:#e0e7ff;color:#3730a3;font-size:.65rem;font-weight:800}.home-hero-item p{margin:0;color:#64748b;font-size:.76rem;line-height:1.4}.home-workflow-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.home-workflow-step{padding:22px 20px;border-radius:18px;background:#fff;border:1px solid #d8e8df;box-shadow:0 6px 20px #164b420a}.step-time{display:inline-block;padding:4px 9px;border-radius:999px;background:#eaf6ef;color:#147a6b;font-size:.68rem;font-weight:850;margin-bottom:12px}.home-workflow-step h4{margin:0 0 6px;color:#1e3c41;font-size:1rem;font-weight:800}.home-workflow-step p{margin:0;color:#627b7c;font-size:.8rem;line-height:1.6}.home-faq-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.home-faq-card{padding:22px;border-radius:18px;background:#fff;border:1px solid #d8e8df}.home-faq-card h4{margin:0 0 8px;color:#1b3c41;font-size:.95rem;font-weight:800;line-height:1.45}.home-faq-card p{margin:0;color:#587376;font-size:.82rem;line-height:1.65}.home-cta-box{border-radius:24px;padding:42px 28px;background:linear-gradient(135deg,#113c3b,#0d282b);color:#fff;text-align:center}.home-cta-content{max-width:640px;margin:0 auto}.home-cta-content h2{margin:0 0 10px;font-size:clamp(1.6rem,3.2vw,2.2rem);font-weight:900;letter-spacing:-.03em;color:#fff}.home-cta-content p{margin:0 0 24px;color:#b6dcd2;font-size:.95rem;line-height:1.65}.home-cta-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}@media(max-width:900px){.home-hero{grid-template-columns:1fr;min-height:0;gap:32px}.home-preview{width:min(100%,620px);transform:none}.home-showcase-columns{grid-template-columns:1fr}.home-workflow-cards{grid-template-columns:repeat(2,1fr)}.home-faq-grid{grid-template-columns:1fr}}@media(max-width:760px){.topbar{height:62px;padding:0 18px}.brand span:not(.brand-mark){display:none}.page{padding:28px 16px 58px}.home-page{gap:62px}.home-hero h1{font-size:clamp(2.5rem,9vw,3.8rem)}.home-section-heading{display:block}.home-section-heading>p{margin-top:8px}.auth-panel{margin-top:22px}}@media(max-width:600px){.home-boss-grid,.home-workflow-cards{grid-template-columns:1fr}}@media(max-width:500px){.home-hero-actions .button{width:100%}.home-preview-main{grid-template-columns:78px 1fr;gap:12px;padding:20px}.home-preview-boss{width:76px;height:76px;border-radius:19px}.home-preview-boss span{font-size:3.6rem}.home-preview-heading strong{font-size:1rem}.home-preview-steps>div{grid-template-columns:32px 1fr}.home-preview-steps small{grid-column:2;margin-top:-8px}}@media(prefers-reduced-motion:reduce){.button{transition:none}}.roster-stack{display:grid;gap:18px}.class-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:18px}.class-card{padding:20px;border:1px solid #c4d6d2;border-radius:14px;background:#fbfdfc}.battle-mode-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.battle-mode-choice{display:grid;gap:8px;text-align:left;padding:20px;border:2px solid #c4d6d2;border-radius:14px;color:#102b30;background:#fbfdfc;cursor:pointer}.battle-mode-choice strong{font-size:1.1rem}.battle-mode-choice.selected{border-color:#0e7490;background:#ecfeff}.battle-mode-choice:disabled{cursor:default}#teacher-battle-setup [hidden]{display:none}.roster-fields select{width:100%;border:1px solid #c4d6d2;border-radius:10px;padding:10px 12px;background:#fbfdfc}.roster-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;border:0;padding:0;margin:0;min-width:0}.roster-actions{display:flex;flex-wrap:wrap;gap:8px}.roster-table-wrap{overflow-x:auto}.roster-import-preview{max-height:420px;overflow-y:auto}.roster-stack>.field-label select{padding:10px 12px;border:1px solid #c4d6d2;border-radius:10px;background:#fbfdfc}.roster-table{width:100%;border-collapse:collapse;text-align:left}.roster-table th,.roster-table td{padding:12px;border-bottom:1px solid #dce3ec}.roster-table th{white-space:nowrap}.course-review-display{min-height:100vh;background:#edf5f3;color:#163a35;padding:clamp(16px,3vw,48px)}.course-review-display>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.course-review-display .course-review-view{max-width:1500px;margin:20px auto;font-size:clamp(18px,1.7vw,28px)}.course-review-view h1{font-size:clamp(24px,3vw,46px);line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}.course-review-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}.course-review-options>div{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:10px;padding:18px;border:2px solid #c4d6d2;border-radius:14px;white-space:pre-wrap;overflow-wrap:anywhere}.course-review-options .is-correct{background:#e1f5e8;border-color:#218754}.course-review-options b,.course-review-options small,.course-review-options progress{grid-column:2}.course-review-options progress{width:100%;accent-color:#218754}.course-review-image{display:block;max-width:100%;max-height:40vh;object-fit:contain;margin:18px auto}.course-review-own{background:#e5f3ff;font-weight:700}.course-review-projection-controls{position:fixed;bottom:16px;right:16px;width:min(500px,calc(100vw - 32px));display:flex;flex-direction:column;align-items:stretch;gap:8px;z-index:100;color:#163a35}.course-review-control-toggle{align-self:flex-end;box-shadow:0 4px 18px #0000002e}.course-review-control-panel{max-height:55vh;overflow:auto;border-radius:20px}.course-review-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.course-review-navigation .button{min-width:0;min-height:44px;justify-content:center}.course-review-navigation small{grid-column:1 / -1;overflow-wrap:anywhere}#teacher-course-review{min-width:0}#teacher-course-review .section-title-row{flex-wrap:wrap}#teacher-course-review .field-label{min-width:0}#teacher-course-review select{width:100%;min-width:0;max-width:100%}.course-review-student .course-review-view{margin-top:16px}@media(max-width:600px){.course-review-options{grid-template-columns:1fr}.course-review-display>header{display:block}}.teacher-app-shell{padding-left:220px;background:#f3f6fc}.teacher-sidebar{position:fixed;inset:0 auto 0 0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#557096 #0c192c;width:220px;z-index:30;display:flex;flex-direction:column;padding:30px 16px;background:linear-gradient(160deg,#142b4a,#0c192c);color:#ecf3ff}.teacher-sidebar-brand{flex-shrink:0;display:flex;align-items:center;gap:12px;padding:0 10px 30px;text-decoration:none}.teacher-sidebar-brand>span{font-size:30px;color:#ffd279}.teacher-sidebar-brand strong{font-size:21px}.teacher-sidebar-brand small{display:block;margin-top:8px;font-size:11px;color:#a3b9d6;letter-spacing:.08em}.teacher-sidebar nav{flex-shrink:0;display:grid;gap:8px}.teacher-sidebar nav a{display:flex;gap:13px;align-items:center;min-height:52px;padding:13px 16px;border-radius:12px;color:#d4e2f5;font-weight:750;text-decoration:none}.teacher-sidebar nav a>span{width:24px;font-size:24px;text-align:center}.teacher-sidebar nav a.active{background:#2470db;color:#fff;box-shadow:0 8px 24px #030f2433}.teacher-sidebar nav a:hover{background:#274466;color:#fff}.teacher-sidebar nav a:focus-visible{outline:3px solid #ffd279;outline-offset:2px}.teacher-sidebar-note{flex-shrink:0;margin-top:auto;padding:28px 12px 8px;color:#9eb4d2;line-height:1.8;font-size:13px}.teacher-app-shell>.topbar{padding:0 30px;background:#fff;color:#183552;border-bottom:1px solid #e0e8f2;box-shadow:none}.teacher-app-shell .topbar .brand span{color:#557096}.teacher-app-shell .topbar .nav-button{color:#183552;border:1px solid #dce5ef}.teacher-app-shell .topbar .nav-button:hover{background:#edf3fc}.teacher-topbar-note{align-self:center;color:#58718e;font-size:13px;margin-right:12px}.teacher-app-shell>.page{max-width:1400px;padding:30px clamp(18px,3vw,40px) 70px}.teacher-workspace{gap:18px}.teacher-workspace .page-heading h1{font-size:clamp(26px,2.8vw,38px);color:#132d4e}.teacher-workspace .page-heading p{margin-bottom:0;font-size:15px}.teacher-workspace-overview{display:grid;gap:18px}.teacher-flow-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.teacher-flow-card{position:relative;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:23px;background:#fff;border:1px solid #dae4f1;border-top:5px solid var(--flow-color);border-radius:16px;box-shadow:0 5px 18px #123d6810}.teacher-flow-card.prepare{--flow-color: #286acb}.teacher-flow-card.live{--flow-color: #008b78}.teacher-flow-card.after{--flow-color: #8053ce}.teacher-flow-card.current{background:linear-gradient(145deg,#f4f8ff,#fff)}.teacher-flow-icon{color:var(--flow-color);font-weight:850;font-size:12px;letter-spacing:.1em}.teacher-flow-card h2{margin:0;font-size:23px;color:#17344f}.teacher-flow-card p{flex:1;margin:0 0 6px;color:#536b84;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.teacher-flow-card .button{width:100%;min-height:44px}.teacher-flow-card .button.primary{background:var(--flow-color)}.teacher-card-link{font-weight:750;color:var(--flow-color);font-size:14px;padding:5px 0;text-underline-offset:4px}.teacher-card-hint{padding:12px;background:#f1f5fa;border-radius:10px;width:100%;color:#687c92;font-size:14px}.teacher-settings-summary{display:grid;gap:18px;padding:22px;background:#fff;border:1px solid #dae4f1;border-radius:16px}.teacher-settings-summary h2{margin:6px 0 0;font-size:20px;color:#17344f}.teacher-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.teacher-summary-grid>a,.teacher-summary-other{display:grid;gap:7px;min-width:0;padding:15px;border:1px solid #e1e9f3;border-radius:12px;background:#f8faff;text-decoration:none}.teacher-summary-other nav{display:flex;flex-wrap:wrap;gap:10px}.teacher-summary-other nav a{color:#2567bd;font-size:12px;text-underline-offset:3px}.teacher-summary-grid>a:hover{border-color:#7bace6;background:#edf5ff}.teacher-summary-grid span{font-size:12px;color:#5e7692}.teacher-summary-grid strong{font-size:15px;color:#163753;overflow-wrap:anywhere}.teacher-summary-grid small{color:#2567bd;font-size:12px}.teacher-workspace.stage-preparation .teacher-stage-focus,.teacher-workspace.stage-lobby .teacher-stage-focus{display:none}.teacher-workspace .teacher-stage-guide{padding:16px;box-shadow:none;background:#fff;border-color:#dae4f1}.teacher-workspace .teacher-stage-action{max-width:440px}.teacher-workspace details,.teacher-workspace [id^=teacher-]{scroll-margin-top:24px}.teacher-workspace .teacher-section-disclosure>summary{padding:17px 22px}.teacher-battle-section>section{padding:12px}.teacher-workspace .teacher-review-section{border-left:4px solid #8053ce}.teacher-workspace .teacher-points-section{border-left:4px solid #008b78}.teacher-workspace .teacher-members-section{border-left:4px solid #286acb}@media(max-width:1100px){.teacher-app-shell{padding-left:185px}.teacher-sidebar{width:185px;padding-inline:10px}.teacher-flow-card{padding:18px}.teacher-topbar-note{display:none}}@media(max-width:820px){.teacher-app-shell{padding-left:0}.teacher-sidebar{position:static;overflow-y:visible;overscroll-behavior-y:auto;width:100%;padding:12px}.teacher-sidebar-brand,.teacher-sidebar-note{display:none}.teacher-sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.teacher-sidebar nav a{flex-direction:column;justify-content:center;gap:4px;padding:8px 3px;font-size:12px;min-height:60px}.teacher-sidebar nav a>span{font-size:20px}.teacher-app-shell>.topbar{padding-inline:18px}.teacher-app-shell>.page{padding:22px 14px 70px}.teacher-flow-cards{gap:10px}.teacher-flow-card{padding:14px}.teacher-flow-card h2{font-size:20px}.teacher-flow-card .button{padding-inline:10px;font-size:13px}.teacher-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.teacher-flow-cards{grid-template-columns:1fr}.teacher-flow-card{padding:18px}.teacher-settings-summary{padding:16px}.teacher-summary-grid{grid-template-columns:1fr}}.shop-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.shop-card{border:1px solid var(--border,#d6e3e8);border-radius:16px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:10px;min-width:0}.shop-card.selected{border-color:#087c73;box-shadow:0 0 0 2px #087c73;background:#f0fbf8}.shop-card h3,.shop-card p{margin:0}.shop-product-image{width:100%;height:140px;border-radius:12px;object-fit:contain;background:#eef6f7}.shop-placeholder{display:grid;place-items:center;font-size:50px}.shop-quantity{font-weight:700;color:#087c73;font-size:1.2rem}.shop-link{display:flex;gap:24px;align-items:center;padding:16px;background:#f0f8f8;border-radius:14px}.shop-link>div{min-width:0;flex:1}.shop-link input{width:100%;margin-top:12px}.shop-order-id{overflow-wrap:anywhere;font-size:.85rem}.shop-image-editor{max-width:320px;padding:12px;border:1px solid #d6e3e8;border-radius:12px;background:#fff}.shop-image-editor .shop-product-image{height:180px}.shop-request{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #d6e3e8;padding:16px 0}.shop-request p{margin:6px 0}.student-shop{max-width:1000px;margin:auto}.shop-signature-confirm{display:flex;align-items:flex-start;gap:10px;margin:16px 0}.shop-signature-confirm input{width:auto;margin-top:4px}.shop-print-root{position:fixed;inset:0;z-index:100;background:#102632aa;padding:20px;overflow:auto}.shop-print-preview{max-width:1200px;margin:auto;background:#fff;border-radius:12px;color:#111}.shop-print-controls{padding:20px;border-bottom:1px solid #ccc}.shop-print-controls h2{margin-top:0}.shop-print-scroll{overflow:auto;padding:20px}.shop-signature-sheet{min-width:960px;background:#fff;color:#111;font-size:13px;line-height:1.5}.shop-signature-sheet h1{font-size:24px;margin:0 0 12px}.shop-preparation-sheet h2{font-size:18px;color:#111;margin:24px 0 12px;break-after:avoid}.shop-signature-sheet table{width:100%;border-collapse:collapse;table-layout:fixed}.shop-signature-sheet th,.shop-signature-sheet td{padding:8px;border:1px solid #777;text-align:left;vertical-align:top;overflow-wrap:anywhere}.shop-signature-sheet th{background:#eee}.shop-signature-space{min-height:80px;border-bottom:1px solid #999;margin-bottom:8px}@media print{@page{size:A4 landscape;margin:12mm}body:has(.shop-print-root){margin:0;background:#fff}body:has(.shop-print-root)>:not(.shop-print-root){display:none!important}.shop-print-root{position:static;padding:0;overflow:visible;background:#fff}.shop-print-preview{max-width:none;border-radius:0}.shop-print-controls{display:none!important}.shop-print-scroll{padding:0;overflow:visible}.shop-signature-sheet{min-width:0;font-size:10pt}.shop-signature-sheet h1{font-size:18pt}.shop-signature-sheet thead{display:table-header-group}.shop-signature-sheet tr{break-inside:avoid;page-break-inside:avoid}.shop-signature-sheet th,.shop-signature-sheet td{padding:2mm}.shop-signature-space{min-height:22mm}}@media(max-width:600px){.shop-link{flex-direction:column;align-items:stretch}.shop-link svg{align-self:center}.shop-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.shop-request{align-items:flex-start;flex-direction:column}}.draw-prize-editor{display:grid;grid-template-columns:minmax(160px,1.4fr) minmax(120px,1.5fr) 70px minmax(100px,1fr) minmax(90px,1fr) auto;gap:12px;align-items:end;padding:14px;border:1px solid #d7e6e9;border-radius:12px}.draw-prize-editor input,.draw-prize-editor select{width:100%;min-width:0}.draw-editor-icon,.draw-prize-icon{object-fit:contain;vertical-align:middle}.draw-result-item{object-fit:contain;display:block;margin-bottom:8px}.capsule-lobby{position:relative;max-width:1160px;margin:auto;padding:clamp(18px,3vw,36px);background:radial-gradient(ellipse at 30% 55%,#fff0cf,transparent 65%),#fffaf0;border-radius:30px;color:#493b32}.capsule-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.capsule-heading h1{font-size:clamp(30px,4vw,48px);color:#385f59;letter-spacing:.05em;margin:8px 0}.capsule-heading p{font-size:14px;color:#786b5c}.capsule-wallet{background:#fff;border-radius:20px;padding:14px 22px;box-shadow:0 5px #e9dbbb;text-align:center;font-size:12px;flex-shrink:0}.capsule-wallet strong{display:block;font-size:27px;color:#ae6929}.capsule-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:40px;align-items:start}.capsule-stage{text-align:center;padding:10px;min-width:0}.capsule-machine{width:300px;max-width:100%;margin:20px auto 30px;position:relative;filter:drop-shadow(0 18px 18px #7e654521)}.capsule-sign{position:relative;z-index:2;width:270px;max-width:100%;margin:0 auto -10px;background:#fff4d7;color:#466a60;border:5px solid #4d7a6c;border-radius:20px;padding:12px;font-size:20px;font-weight:800;box-shadow:0 5px #315247}.capsule-sign span{color:#c58638;font-size:13px;margin:0 6px}.capsule-dome{height:250px;position:relative;overflow:hidden;border:8px solid #527c70;border-radius:120px 120px 35px 35px;background:linear-gradient(140deg,#eff9f6eb,#dcece09c);box-shadow:inset 0 0 20px #ffffffbd}.capsule-glass-shine{position:absolute;left:24px;top:32px;width:25px;height:100px;background:#ffffff85;border-radius:20px;transform:rotate(23deg)}.capsule-machine-body{position:relative;height:235px;background:linear-gradient(105deg,#5f8e7d,#407465);margin-top:-16px;z-index:1;border-radius:28px 28px 32px 32px;box-shadow:inset -12px 0 #234f4122,inset 10px 0 #a1c8b321;border:5px solid #3b6659}.capsule-cost{display:block;margin:22px auto 12px;background:#fff7df;width:max-content;max-width:90%;padding:6px 18px;border-radius:12px;color:#745332;font-size:14px;font-weight:700}.capsule-coin-slot{position:absolute;right:34px;top:86px;width:13px;height:34px;border:4px solid #ddc890;background:#27483e;border-radius:6px}.capsule-handle{position:absolute;left:calc(50% - 38px);top:73px;width:76px;height:76px;background:radial-gradient(circle at 40% 30%,#fff5d7,#ddc58c);border:6px solid #b79c67;border-radius:50%;box-shadow:0 5px #2f5948;cursor:pointer}.capsule-handle span{display:block;width:64px;height:16px;background:#fff0ca;border:3px solid #c5ab79;border-radius:9px;position:absolute;left:0;top:23px;transform:rotate(-30deg)}.capsule-handle:focus-visible{outline:4px solid #f6cb59;outline-offset:6px}.capsule-handle:disabled{cursor:default}.capsule-turn-label{position:absolute;top:158px;left:0;right:0;font-size:12px;color:#fff5db;letter-spacing:.04em}.capsule-outlet{position:absolute;bottom:0;left:calc(50% - 47px);width:94px;height:42px;background:#244d40;border:5px solid #ceba8c;border-bottom:0;border-radius:34px 34px 0 0;box-shadow:inset 0 6px #163c30}.outlet-ball{display:block;width:32px;height:32px;border-radius:50%;margin:4px auto;background:linear-gradient(#eab882 0 49%,#fff5d7 51%)}.capsule-feet{height:13px;margin:0 24px;border-radius:0 0 12px 12px;background:#315749}.capsule-pool-label{font-weight:700;color:#536b59;margin-bottom:8px}.capsule-fine-print{font-size:12px;color:#89765f;max-width:380px;margin:14px auto;line-height:1.8}.capsule-prize-shelf{padding:28px 24px;background:#ffffffa6;border-radius:28px;box-shadow:0 10px 25px #80644708}.capsule-prize-shelf h2{font-size:24px;color:#526757;margin:8px 0 22px}.capsule-prize{display:flex;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid #e9dfcf}.capsule-prize>img{object-fit:contain;flex-shrink:0}.capsule-prize>div{min-width:0;overflow-wrap:anywhere}.capsule-prize h3{font-size:17px;margin:0 0 5px}.capsule-prize strong{font-size:13px;color:#7b674b}.capsule-prize small{display:block;margin-top:5px;color:#8a7c66;font-size:12px}.capsule-points-icon{width:72px;text-align:center;font-size:48px;color:#d6a33f;flex-shrink:0}.capsule-prize-shelf>.button{margin-top:22px}.capsule-reveal{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:18px;background:#284c40b3;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.capsule-reveal-card{padding:32px;text-align:center;max-width:480px;width:100%;max-height:90vh;overflow:auto;background:#fff9ed;border-radius:32px;box-shadow:0 24px 80px #132d2d4d}.capsule-reveal-card h2{font-size:28px;color:#526755;margin:12px 0}.capsule-reveal-card p{margin:12px 0;line-height:1.7}.sealed-capsule{display:block;position:relative;width:160px;height:160px;background:none;border:0;margin:30px auto;cursor:pointer;filter:drop-shadow(0 14px 10px #856f4533);animation:capsule-bob 1.5s ease-in-out infinite}.sealed-capsule span{position:absolute;left:0;width:160px;height:78px;background:linear-gradient(110deg,#eeb684,#d19869);border:4px solid #f1c698;top:0;border-radius:100px 100px 10px 10px}.sealed-capsule span+span{top:82px;border-radius:10px 10px 100px 100px;background:linear-gradient(110deg,#fffaf0,#e8ddc2);border-color:#f6f0df}.capsule-reward-image{object-fit:contain}.capsule-reward-points{font-size:60px;color:#d7a03a}.capsule-reward-points strong{display:block;font-size:42px}.capsule-reveal-card details{margin-top:16px;font-size:12px}@keyframes capsule-bob{50%{transform:translateY(-10px) rotate(5deg)}}@media(max-width:700px){.capsule-layout{grid-template-columns:minmax(0,1fr);gap:16px}.capsule-heading{align-items:start;gap:10px}.capsule-heading h1{font-size:30px}.capsule-wallet{padding:10px 12px}.capsule-wallet strong{font-size:21px}.capsule-prize-shelf{padding:22px}.capsule-stage{padding:0}.capsule-machine{width:280px}.capsule-reveal-card{padding:24px}.portal-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}}.portal-gacha{background:linear-gradient(130deg,#fff0d2,#f9e4c2)}.portal-gacha>span{color:#658a70}.portal-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:700px){.portal-destinations{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.capsule-lobby *{animation:none!important;transition:none!important}}.draw-backpack{margin-top:24px;padding:clamp(18px,3vw,30px);background:linear-gradient(135deg,#fffcf5,#f3f7ed);border-radius:26px;box-shadow:0 8px 26px #76562e0b;color:#493b2f}.draw-backpack>p{margin:12px 0;font-size:14px;line-height:1.7}.draw-inventory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px;margin-top:18px}.draw-inventory-item{display:flex;gap:14px;align-items:center;background:#ffffffb3;padding:18px;border-radius:20px}.draw-inventory-item>img{object-fit:contain;flex-shrink:0}.draw-inventory-item>div{min-width:0;overflow-wrap:anywhere}.draw-inventory-item h3{font-size:20px;margin:0}.draw-inventory-item h3 small{font-size:14px;color:#706756}.draw-inventory-item p{font-size:12px;color:#766b5a;margin:6px 0}.draw-inventory-item strong{font-size:14px}.draw-inventory-item .roster-actions{margin-top:12px}.draw-backpack-empty{padding:24px 0;color:#796b58}@media(max-width:1050px){.draw-prize-editor{grid-template-columns:1fr 1fr 80px}.draw-prize-editor .field-label{min-width:0}}@media(max-width:700px){.draw-prize-editor{grid-template-columns:1fr 1fr}.draw-inventory-item{padding:14px;gap:10px}.draw-inventory-item>img{width:80px;height:80px}.draw-backpack .portal-history-heading{align-items:start;gap:10px}.draw-backpack .portal-history-heading .button{font-size:12px;padding:8px}}.draw-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.draw-metrics p{margin:0;padding:18px;background:#f0f8f6;border:1px solid #d0e7e0;border-radius:12px}.draw-metrics strong{display:block;margin-top:10px;font-size:1.2rem;overflow-wrap:anywhere;color:#126a62}.pool-recovery{padding:20px;border:1px solid #bddcd5;border-radius:16px;background:#f5faf8;min-width:0}.pool-recovery h3,.pool-recovery h4{margin:0}.pool-recovery-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pool-recovery-inputs input,.pool-recovery-inputs select{width:100%;min-width:0}.pool-recovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pool-recovery-card{padding:18px;background:#fff;border:1px solid #d0e7e0;border-radius:12px;min-width:0;overflow-wrap:anywhere}.pool-recovery-card p{margin:8px 0;font-size:.9rem}.pool-recovery-ratio{display:block;margin-top:12px;font-size:1.8rem;color:#126a62;font-variant-numeric:tabular-nums}.pool-recovery-card dl{margin:16px 0;display:grid;gap:10px}.pool-recovery-card dl div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;font-size:.85rem}.pool-recovery-card dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.pool-recovery-card.is-loss{border-color:#e3b4a6;background:#fff8f5}.pool-recovery-card.is-loss .pool-recovery-ratio{color:#a23525}.pool-recovery-details>summary{cursor:pointer;color:#126a62;font-weight:700;margin-bottom:16px}.pool-actual-recovery strong{display:block;font-size:1.3rem;margin:6px 0;font-variant-numeric:tabular-nums}.pool-actual-recovery span{display:block;font-size:.85rem;color:#52696b}@media(max-width:760px){.pool-recovery-grid,.pool-recovery-inputs{grid-template-columns:1fr}.pool-recovery{padding:16px}}.draw-animation{display:block;width:100%;height:720px;border:0;border-radius:18px;background:#171026}@media(max-width:700px){.draw-prize-editor{grid-template-columns:1fr 1fr}.draw-prize-editor .field-label:first-child{grid-column:1/-1}.draw-animation{height:620px}}.draw-pin-sheet{width:186mm;margin:auto;color:#111;background:#fff;font-size:11px;line-height:1.35}.draw-pin-page{break-after:page;page-break-after:always}.draw-pin-page:last-child{break-after:auto;page-break-after:auto}.draw-pin-sheet+.draw-pin-sheet{break-before:page;page-break-before:always}.pin-class-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}.pin-class-option{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #c9dcd7;border-radius:12px;background:#f6fbf9;min-height:48px;overflow-wrap:anywhere}.pin-class-option input{flex:none;width:18px;height:18px;accent-color:#157c72}.pin-class-option:has(input:checked){background:#e7f5f0;border-color:#157c72}.draw-pin-page>header{height:14mm;box-sizing:border-box;overflow-wrap:anywhere}.draw-pin-sheet h1{font-size:18px;margin:0 0 1mm;color:#111}.draw-pin-page>header p{margin:0;font-size:10px}.draw-pin-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(4,64mm);gap:0;border-top:1px dashed #777;border-left:1px dashed #777;box-sizing:border-box}.draw-pin-slip,.draw-pin-cut-placeholder{border-right:1px dashed #777;border-bottom:1px dashed #777;break-inside:avoid;page-break-inside:avoid;height:64mm;min-width:0;box-sizing:border-box}.draw-pin-slip{padding:3.5mm;display:flex;flex-direction:column;gap:1.5mm}.draw-pin-slip-top{display:flex;align-items:start;justify-content:space-between;gap:2mm;min-height:30mm}.draw-pin-slip-identity{min-width:0;flex:1}.draw-pin-slip h2{font-size:14px;margin:0 0 1mm;color:#111}.draw-pin-slip p{margin:0;overflow-wrap:anywhere}.draw-pin-slip-identity p{margin:0 0 .7mm}.draw-pin-class{font-size:14px;font-weight:600;line-height:1.25}.draw-pin-student{font-size:18px;line-height:1.25}.draw-pin-qr{width:27mm;flex:0 0 27mm;text-align:center;color:#111}.draw-pin-qr svg{display:block;width:27mm;height:27mm;background:#fff}.draw-pin-qr small{display:block;font-size:9px;line-height:1.25}.draw-pin-slip>small{font-size:10px;line-height:1.3}.draw-pin-url{font-size:9px;line-height:1.25;word-break:break-all}.draw-pin-page.spacious .draw-pin-grid{grid-template-rows:repeat(2,128mm)}.draw-pin-page.spacious .draw-pin-slip,.draw-pin-page.spacious .draw-pin-cut-placeholder{height:128mm}.draw-pin-page.spacious>header p{font-size:8px;line-height:1.2}.draw-pin-code,.draw-pin-value{font-family:ui-monospace,monospace;font-variant-numeric:tabular-nums;letter-spacing:.18em}.draw-pin-code{font-size:23px;color:#111;white-space:nowrap}@media print{@page draw-pin{size:A4 portrait;margin:12mm}.draw-pin-sheet{page:draw-pin;width:186mm;max-width:none}.draw-pin-page{height:271mm}.draw-pin-sheet header{break-after:avoid}.draw-pin-sheet h1{font-size:14pt}.draw-pin-qr svg{print-color-adjust:exact;-webkit-print-color-adjust:exact}}.shop-student-shell{min-height:100vh;background:#71917c;color:#452d21}.shop-student-shell>.page{max-width:none;width:100%;padding:0;margin:0}.shop-student-shell .school-coop{min-height:100svh;padding-bottom:32px;background:linear-gradient(to bottom,#efe5c8 0 265px,#71917c 265px 75%,#c3a477 75%);border-bottom:12px solid #765438}.shop-student-shell .coop-header{padding-top:64px}.shop-student-shell .coop-awning{height:90px;border-radius:0;border-top:0;border-left:0;border-right:0;transform:none}.shop-student-shell .coop-header-content{padding:0 clamp(16px,3vw,48px)}.shop-student-shell .coop-tools{margin:26px clamp(16px,2.4vw,36px) 20px;color:#254735}.shop-student-shell .coop-layout,.shop-student-shell .coop-orders,.shop-student-shell .coop-notice{margin-left:clamp(16px,2.4vw,36px);margin-right:clamp(16px,2.4vw,36px)}.shop-student-shell .coop-layout{grid-template-columns:minmax(0,1fr) clamp(215px,19vw,300px)}.shop-student-shell .coop-clerk{padding-top:12px}.shop-student-shell .network-recovery-banner{margin:0;border-radius:0}@media(max-width:1150px){.shop-student-shell .coop-layout{grid-template-columns:minmax(0,1fr)}}@media(max-width:760px){.shop-student-shell .coop-header-content{padding:0 16px}.shop-student-shell .coop-layout,.shop-student-shell .coop-orders,.shop-student-shell .coop-notice,.shop-student-shell .coop-tools{margin-left:12px;margin-right:12px}}.school-coop{--coop-wood:#6b402c;--coop-ink:#482c1d;--coop-green:#39634e;color:var(--coop-ink)}.school-coop h1,.school-coop h2,.school-coop h3{color:var(--coop-ink)}.school-coop p{line-height:1.65}.coop-header{position:relative;padding-top:54px;margin-bottom:18px}.coop-awning{position:absolute;left:0;right:0;top:0;height:76px;background:repeating-linear-gradient(90deg,#44785c 0 64px,#f3e8c6 64px 128px);border:3px solid #31503e;border-bottom:8px solid #35583f;border-radius:3px 3px 18px 18px;box-shadow:0 6px #9c7d5b;transform:perspective(700px) rotateX(-8deg)}.coop-header-content{position:relative;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0 26px}.coop-sign{padding:16px 36px;background:linear-gradient(#edd09b,#d9ac70);border:4px solid #6b432b;outline:2px solid #bd9361;box-shadow:inset 0 0 0 3px #f4dab0,0 7px #66422d;border-radius:6px;text-align:center}.coop-sign small{font-size:11px;font-weight:800;letter-spacing:.16em;color:#715035}.coop-sign h1{font-size:clamp(28px,3.1vw,42px);margin:3px 0 5px;letter-spacing:.06em}.coop-sign p{font-size:13px;margin:0;font-weight:700}.coop-entry-note{display:flex;align-items:center;gap:12px;border:3px solid #68452d;background:#f7e5bd;padding:15px 18px;border-radius:4px;box-shadow:0 4px #99734e}.coop-entry-note>span{font-size:30px;color:#b07b17}.coop-entry-note strong{font-size:15px}.coop-entry-note small{display:block;font-size:12px;margin-top:5px}.coop-tools{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:26px 0 20px;font-size:13px;font-weight:700;color:#335945}.school-coop .button{border-radius:4px;min-height:44px;border:2px solid #694a32;font-weight:700;font-size:14px;box-shadow:0 3px #7a593d}.school-coop .button.primary{color:#fff7db;background:#39634e;border-color:#284a39;box-shadow:0 3px #1f3a2c}.school-coop .button.secondary{background:#fff3d7;color:#62452e}.school-coop .button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.coop-layout{display:grid;grid-template-columns:minmax(0,1fr) 215px;gap:24px;align-items:start}.coop-main{min-width:0}.coop-shopping{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:start}.coop-paper{background:#fff4d8;border:3px solid #8d6543;border-radius:5px;box-shadow:inset 0 0 0 4px #e8cca0,0 5px #96714c;padding:22px;min-width:0}.coop-identity{display:flex;flex-direction:column;gap:18px;margin:0;padding:20px 16px}.coop-identity legend{padding:9px 12px;background:#c8945f;border:3px solid #68472e;color:#3c271b;font-weight:850;font-size:17px;border-radius:3px}.coop-small{font-size:12px;color:#7b624c;line-height:1.75;margin:0}.school-coop .field-label{font-size:13px;gap:8px;color:#533c28;min-width:0}.school-coop select,.school-coop input[type=number]{width:100%;min-width:0;min-height:46px;background:#fffaf0;color:#4c3623;border:2px solid #ac835c;border-radius:4px;font-size:15px;padding:10px;box-sizing:border-box}.school-coop select:focus-visible,.school-coop input:focus-visible,.school-coop button:focus-visible{outline:3px solid #6db799;outline-offset:3px}.coop-class-name{padding:12px;background:#ecd2a7;border:1px solid #bb9468;text-align:center;font-weight:750}.coop-student-card{display:flex;align-items:center;gap:10px;background:#f3e1bd;border:2px solid #bd9466;padding:12px}.coop-student-mark{display:grid;place-items:center;flex-shrink:0;width:44px;height:48px;background:#456d58;color:#fff9dd;border:2px solid #274938;font-size:22px;font-weight:800}.coop-student-card small{display:block;font-size:11px;color:#7b624a}.coop-student-card strong{display:block;margin-top:5px;font-size:14px;overflow-wrap:anywhere}.coop-shelf-area{min-width:0}.coop-shelf{margin:0;background:linear-gradient(#543328,#80533a);border:6px solid #8d5c39;outline:2px solid #513325;box-shadow:inset 0 0 0 3px #b47b4a,0 7px #5b3828;padding:22px 16px 16px;min-width:0;border-radius:3px}.coop-shelf legend{background:#ba8554;color:#fff8dd;font-size:20px;font-weight:850;letter-spacing:.02em;padding:9px 20px;border:3px solid #543728;border-radius:3px}.coop-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:18px 14px}.coop-product{display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px 9px 12px;background:linear-gradient(#fff7df,#f1d5a7);border:3px solid #b58d59;box-shadow:0 6px #3f281e;cursor:pointer}.coop-product.selected{border-color:#f6d263;box-shadow:0 0 0 2px #ffd969,0 6px #3f281e}.coop-product.sold-out{opacity:.7;cursor:not-allowed}.coop-product-photo{background:radial-gradient(ellipse at top,#fff7d7,#ecd0a0);border-bottom:5px solid #a6784c;margin:-10px -9px 2px;padding:10px 6px 0}.coop-product-photo .shop-product-image{height:145px;background:transparent;border-radius:0}.coop-product h3{font-size:16px;line-height:1.4;margin:0;overflow-wrap:anywhere;min-height:22px}.coop-product-price{background:#ffe1a0;border:2px solid #a87b42;padding:6px 8px;text-align:center;margin:0;font-size:21px;font-weight:900;color:#68451f;overflow-wrap:anywhere}.coop-product-price small{font-size:11px}.coop-stock{font-size:12px;color:#745237;margin:0;text-align:center}.coop-pick{display:flex;justify-content:center;align-items:center;gap:6px;background:#446b54;border:2px solid #2b4a38;color:#fff6dd;min-height:42px;font-size:13px;font-weight:750;border-radius:2px;margin-top:auto}.coop-product.selected .coop-pick{background:#e9b75d;color:#503418;border-color:#926a37}.coop-pick input{accent-color:#c29132;margin:0}.coop-empty{padding:22px;margin:0;text-align:center;font-size:14px;color:#7c654e}.coop-shelf>.coop-empty{color:#fff0cc}.coop-checkout{border-width:2px;margin:22px 0 0;padding:20px;display:flex;flex-direction:column;gap:14px}.coop-checkout h2{font-size:17px;margin:0 0 5px}.coop-checkout p{font-size:12px;color:#846c53;margin:0}.coop-checkout-row{display:flex;gap:20px;justify-content:space-between;align-items:end}.coop-checkout-row>.field-label{width:100px}.coop-total{text-align:right;min-width:0}.coop-total>small{display:block;font-size:12px;color:#8c7254}.coop-total strong{display:block;font-size:25px;color:#6d482a;overflow-wrap:anywhere}.coop-total strong small{font-size:12px}.coop-checkout>.button{width:100%}.coop-clerk{display:flex;flex-direction:column;align-items:center;gap:8px;padding-top:8px;min-width:0}.coop-speech{padding:18px 14px;background:#fffaf0;border:3px solid #654934;border-radius:8px;position:relative;text-align:center;width:100%;box-sizing:border-box}.coop-speech:after{content:"";position:absolute;width:16px;height:16px;background:#fffaf0;border-bottom:3px solid #654934;border-right:3px solid #654934;transform:rotate(45deg);bottom:-11px;left:48%}.coop-speech strong{font-size:16px}.coop-speech p{font-size:13px;margin:6px 0 0}.coop-clerk>img{width:100%;height:auto;object-fit:contain;image-rendering:pixelated;margin-top:8px}.coop-clerk-note{background:#f7e7c3;border:2px solid #977552;padding:17px 15px;width:100%;box-sizing:border-box;box-shadow:4px 4px #ba9b70;transform:rotate(1deg)}.coop-clerk-note h2{font-size:17px;margin:0}.coop-clerk-note ol{padding-left:20px;font-size:12px;line-height:2.1;margin:9px 0}.coop-clerk-note p{font-size:12px;color:#846144;margin:0}.coop-notice{padding:16px 20px;background:#fff7e6;border:2px solid #bd9563;border-radius:4px;margin:0 0 20px;overflow-wrap:anywhere}.coop-notice h2{font-size:20px;margin:0 0 8px}.coop-notice p{margin:0;font-size:14px}.coop-draft{display:flex;flex-direction:column;gap:15px}.coop-draft h2{font-size:23px;margin:0}.coop-draft p{margin:0}.coop-draft-total{font-size:28px;color:#80511e}.coop-section-kicker{font-size:11px;letter-spacing:.13em;color:#94693f;font-weight:800}.coop-orders{margin-top:30px;padding:24px}.coop-order-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:12px}.coop-order-heading h2{margin:6px 0 0;font-size:23px}.coop-order-heading>span{font-size:12px;color:#886c4c}.coop-order{display:flex;justify-content:space-between;gap:20px;border-top:1px dashed #bd9d70;padding:18px 0}.coop-order:first-of-type{margin-top:15px}.coop-order strong{display:block;margin-top:5px;font-size:16px}.coop-order p{font-size:14px;margin:8px 0}.coop-order small{font-size:12px;color:#8b7154}.coop-order details{font-size:12px;color:#827053;margin-top:10px}.coop-order-actions{display:flex;align-items:end;flex-direction:column;gap:14px;flex-shrink:0}.coop-order-status{font-size:12px;padding:7px 10px;background:#f1dfb2;border:1px solid #c4a575;border-radius:3px}.coop-order-status.approved,.coop-order-status.delivered{background:#dce9cd;color:#3c633e;border-color:#9dbb8c}@media(max-width:1150px){.coop-layout{grid-template-columns:minmax(0,1fr)}.coop-clerk{display:grid;grid-template-columns:1fr 160px 1fr;gap:22px;align-items:center}.coop-clerk>img{margin:0}.coop-clerk-note{transform:none}.coop-shopping{grid-template-columns:210px minmax(0,1fr)}}@media(max-width:760px){.coop-header-content{flex-direction:column;padding:0 12px}.coop-sign{width:100%;box-sizing:border-box;padding:16px}.coop-entry-note{align-self:end;padding:10px 14px;margin-top:10px}.coop-shopping{grid-template-columns:minmax(0,1fr)}.coop-identity{gap:14px;padding:16px}.coop-clerk{grid-template-columns:1fr 130px;gap:12px}.coop-clerk-note{grid-column:1/-1}.coop-tools{align-items:start;gap:10px}.coop-tools>.button{font-size:12px}.coop-order{flex-direction:column;gap:12px}.coop-order-actions{align-items:center;flex-direction:row;justify-content:space-between}.coop-products{grid-template-columns:repeat(2,minmax(0,1fr))}.coop-product-photo .shop-product-image{height:125px}.coop-orders{padding:20px 16px}.coop-speech strong{font-size:14px}}@media(max-width:380px){.coop-products{grid-template-columns:minmax(0,1fr)}.coop-product-photo .shop-product-image{height:150px}.coop-clerk{grid-template-columns:minmax(0,1fr)}.coop-clerk>img{max-width:170px;justify-self:center}.coop-entry-note{align-self:stretch}.coop-tools{flex-direction:column}}.shop-editor{border:1px solid #dbe7e9;border-radius:20px;background:#fff;overflow:hidden;color:#23414b}.shop-editor-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:24px 28px;background:linear-gradient(115deg,#f0f9f7,#f9fbfd);border-bottom:1px solid #e0ecea}.shop-editor-heading h3{margin:5px 0 7px;font-size:24px;color:#123e47}.shop-editor-heading p{margin:0;font-size:14px;color:#607a81}.shop-editor-heading .eyebrow{color:#4c827e;font-size:10px;letter-spacing:.14em}.shop-editor-badge{padding:8px 12px;border-radius:24px;background:#eaf0f4;color:#536d7b;font-size:12px;white-space:nowrap}.shop-editor-badge.active{background:#d9f2e6;color:#216a4e}.shop-editor-body{display:grid;grid-template-columns:250px minmax(0,1fr);gap:32px;border:0;margin:0;padding:28px;min-width:0}.shop-editor-photo,.shop-editor-fields{display:flex;flex-direction:column;gap:14px;min-width:0}.shop-editor-preview{border:1px dashed #b9d7d1;border-radius:16px;background:#f3f8f7;overflow:hidden;position:relative}.shop-editor-preview .shop-product-image{height:210px;background:transparent;border-radius:0}.shop-editor-preview .shop-placeholder{font-size:58px}.shop-editor-preview p{margin:0 12px 16px;text-align:center;font-size:12px;color:#718b8a}.shop-editor .field-label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:700;color:#2b4d57;min-width:0}.shop-editor input:not([type=checkbox]){width:100%;min-width:0;min-height:48px;box-sizing:border-box;border-radius:10px;padding:12px;background:#fbfdfd;border:1px solid #ccdce0;font-size:15px}.shop-editor input:focus-visible{outline:3px solid #b2e2d8;outline-offset:2px}.shop-editor input[type=file]{padding:8px;font-size:11px;color:#657a82;background:#fff}.shop-editor input[type=file]::file-selector-button{border:0;background:#e3f3ef;color:#14675e;border-radius:7px;padding:9px 10px;margin-right:6px;font-weight:700;cursor:pointer}.shop-editor-hint,.shop-editor-image-meta{font-size:12px;line-height:1.6;margin:0;color:#69818a}.shop-editor-image-meta{padding:9px;border-radius:9px;background:#eaf7f0;color:#25734f}.shop-editor-numbers{display:grid;grid-template-columns:1fr 1fr;gap:16px}.shop-editor-input-unit{position:relative;display:block}.shop-editor .shop-editor-input-unit input{padding-right:54px}.shop-editor-input-unit>span{position:absolute;right:13px;top:15px;font-weight:400;font-size:13px;color:#7b9297;pointer-events:none}.shop-editor-price-note{display:grid;grid-template-columns:1fr auto;gap:8px 16px;padding:17px 18px;border-radius:13px;background:#f0f7fa;color:#4d7688;font-size:13px}.shop-editor-price-note strong{color:#1d6579;text-align:right;overflow-wrap:anywhere}.shop-editor-price-note small{grid-column:1/-1;font-size:12px;color:#62808d}.shop-editor-details{font-size:13px;color:#547480}.shop-editor-details summary{cursor:pointer;font-weight:650;padding:6px 0;color:#2b7476}.shop-editor-details[open] summary{margin-bottom:10px}.shop-editor-details p{font-size:12px;color:#6e858d;line-height:1.6;margin:10px 0 0}.shop-editor-cost{border-top:1px solid #e6edef;padding-top:10px}.shop-editor-cost-row{display:flex;align-items:end;gap:12px}.shop-editor-cost-row .field-label{flex:1}.shop-editor-cost-row .button{min-height:48px;white-space:nowrap}.shop-editor-listing{display:flex;align-items:center;gap:12px;padding:17px;border:1px solid #dce9e5;border-radius:13px;background:#fcfefd;cursor:pointer;margin-top:auto}.shop-editor-listing input{width:19px;height:19px;accent-color:#107d72;margin:0;flex-shrink:0}.shop-editor-listing strong{font-size:14px;color:#28564f}.shop-editor-listing small{display:block;font-size:12px;color:#73908a;margin-top:5px}.shop-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 28px;background:#f9fbfc;border-top:1px solid #e2ecee}.shop-editor-footer p{margin:0;font-size:12px;color:#779098}.shop-editor .button{min-height:44px;border-radius:10px;font-size:14px}.shop-editor-footer .button.primary{padding:12px 28px}.shop-editor-economy{padding:12px 28px;font-size:12px;color:#67818b;border-top:1px solid #e8eff0}.shop-editor-economy summary{cursor:pointer}.shop-editor-economy p{line-height:1.8;margin:10px 0}@media(max-width:1000px){.shop-editor-body{grid-template-columns:210px minmax(0,1fr);gap:22px;padding:22px}.shop-editor-price-note{grid-template-columns:1fr}.shop-editor-price-note strong{text-align:left}.shop-editor-cost-row{flex-direction:column;align-items:stretch}}@media(max-width:650px){.shop-editor-heading{align-items:start;flex-direction:column;padding:20px}.shop-editor-body{grid-template-columns:minmax(0,1fr);padding:20px;gap:24px}.shop-editor-preview .shop-product-image{height:190px}.shop-editor-numbers{grid-template-columns:minmax(0,1fr)}.shop-editor-footer{align-items:stretch;flex-direction:column;padding:20px}.shop-editor-footer .roster-actions{justify-content:flex-end}.shop-editor-economy{padding:12px 20px}}.draw-student-shell{background:radial-gradient(ellipse at 12% 14%,#fff2b9 0,transparent 38%),radial-gradient(ellipse at 92% 35%,#c8f2ee 0,transparent 35%),linear-gradient(160deg,#fff7e9,#ffe3c8);color:#423024;min-height:100vh}.draw-student-shell .topbar{background:#fffaf0;border-bottom:1px solid #edcfad;color:#564331}.draw-student-shell .brand,.draw-student-shell .brand span,.draw-student-shell .student-mode-label{color:#564331}.draw-student-shell .page{max-width:1480px;padding:24px clamp(12px,3vw,44px) 40px}.draw-lobby{--draw-teal:#087f80;--draw-coral:#cc5045;position:relative}.draw-lobby fieldset{border:0;padding:0;margin:0;min-width:0}.draw-lobby-identity,.draw-lobby-prizes{min-width:0}.draw-prize-tile>div{min-width:0}.draw-prize-tile strong,.draw-lobby-receipt,.draw-player-card h2{overflow-wrap:anywhere}.draw-lobby-header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px}.draw-lobby-brand{display:flex;align-items:center;gap:12px;font-weight:900;font-size:clamp(22px,3vw,36px);color:#086e73}.draw-lobby-brand>span{color:#b57506;font-size:46px;filter:drop-shadow(0 3px 0 #ffd67c)}.draw-lobby-brand small{display:block;font-size:13px;font-weight:600;letter-spacing:.03em;color:#685143;margin-top:3px}.draw-lobby-balance{display:flex;align-items:center;gap:10px;background:#fffaf1;border:2px solid #f0d092;border-radius:100px;padding:12px 20px;box-shadow:0 5px #edcd9d;font-size:15px;white-space:nowrap;font-weight:700}.draw-lobby-balance>span{color:#b16e02;font-size:24px}.draw-lobby-balance strong{font-size:24px;color:#096e72}.draw-lobby-grid{display:grid;grid-template-columns:minmax(250px,.95fr) minmax(350px,1.7fr) minmax(200px,.75fr);gap:20px;align-items:start}.draw-lobby-identity,.draw-lobby-prizes{background:#fffdf7;border:2px solid #fff;outline:1px solid #f0d4b1;border-radius:28px;padding:22px;box-shadow:0 9px #edcda6,0 15px 35px #855d2410}.draw-lobby h2,.draw-lobby h3,.draw-lobby p{margin:0}.draw-lobby h2{font-size:24px;color:#453026}.draw-card-heading{display:flex;align-items:center;gap:10px;margin-bottom:6px}.draw-card-heading>span{font-size:38px;color:#a56610}.draw-card-heading p{font-size:12px;color:#796352;margin-top:5px}.draw-lobby .field-label{font-size:15px;font-weight:750;color:#493628;gap:9px}.draw-lobby input,.draw-lobby select{border:2px solid #e4daca;border-radius:15px;background:#fff;min-height:54px;font-size:16px;color:#322c28;padding:12px;width:100%}.draw-lobby input:focus,.draw-lobby select:focus{outline:3px solid #8cddd7;outline-offset:2px}.draw-step{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#fce8bf;color:#755211;font-size:13px}.draw-lobby .button{border-radius:16px;min-height:48px;font-weight:750}.draw-lobby .button.primary{background:#087f80;border:2px solid #0b9392;color:#fff;box-shadow:0 5px #065c60;transition:transform .15s,box-shadow .15s}.draw-lobby .button.primary:not(:disabled):active{transform:translateY(3px);box-shadow:0 2px #065c60}.draw-lobby .button.secondary{background:#fffdf7;color:#096d73;border:1px solid #b7d9d3}.draw-lobby .button:disabled{opacity:.58;box-shadow:none;cursor:not-allowed}.draw-lobby-primary{width:100%;font-size:17px;padding:14px 12px}.draw-text-button{align-self:start;border:0;background:transparent;color:#096d73;padding:6px 0;text-decoration:underline;text-underline-offset:3px;font:inherit;font-size:13px;cursor:pointer}.draw-text-button:disabled{color:#806e60;cursor:not-allowed;text-decoration:none}.draw-quiet-note{font-size:12px!important;line-height:1.65;color:#735c49!important}.draw-lobby-stage{text-align:center;min-width:0;padding:8px 0 0}.draw-stage-eyebrow{font-size:12px;font-weight:750;color:#8b5725;letter-spacing:.08em}.draw-lobby-stage h1{font-size:clamp(34px,4vw,56px);font-weight:950;line-height:1.15;margin:8px 0;color:#c95732;text-shadow:0 3px 0 #ffe5ab}.draw-pool-name{font-size:14px;font-weight:700;color:#69503c;padding:2px 0 12px}.draw-fee{display:inline-flex;align-items:baseline;gap:7px;background:#fff3cc;border:2px solid #e5b960;border-radius:40px;padding:6px 16px;font-weight:800}.draw-fee strong{color:#bf4a29;font-size:30px}.draw-fee small{font-size:12px;margin-left:6px;color:#725221}.draw-lobby-hero{display:block;width:100%;height:auto;aspect-ratio:1.6;object-fit:contain;border-radius:26px;margin:14px 0 18px;box-shadow:0 7px 25px #b8772210}.draw-stage-invitation{background:#d4f1e9;border:2px solid #97d4c9;color:#08696d;font-size:17px;font-weight:800;padding:15px;border-radius:18px;margin-bottom:12px!important}.draw-lobby-stage>.draw-quiet-note{margin:14px auto 0;max-width:460px}.draw-lobby .draw-animation{height:570px;min-height:420px;border-radius:24px;margin:14px 0 16px;background:#fff4da;box-shadow:0 8px 25px #98562116}.draw-lobby-prizes h2{font-size:20px;background:#cc5045;color:#fff;padding:10px;border-radius:15px;text-align:center;margin-bottom:10px}.draw-prize-list{display:grid;gap:12px;margin:16px 0}.draw-prize-tile{display:flex;align-items:center;gap:12px;border:1px solid #f0dbbd;border-radius:18px;background:#fff7e9;padding:12px;min-width:0}.draw-prize-ball{width:36px;height:36px;flex-shrink:0;border-radius:50%;border:1px solid #cab996;box-shadow:inset 5px 6px 7px #fffb,inset -4px -5px 6px #0003,0 3px 6px #835c2120}.draw-prize-tile h3{font-size:14px;color:#4f382b;overflow-wrap:anywhere}.draw-prize-tile strong{font-size:25px;color:#086e73}.draw-prize-tile strong small{font-size:12px}.draw-prize-tile p{font-size:11px;color:#765d47}.draw-lobby-prizes>.button{width:100%;font-size:13px}.draw-player-card{text-align:center}.draw-player-avatar{margin:0 auto;width:82px;height:82px;border-radius:50%;background:#ffe5b2;color:#866027;font-size:62px;line-height:82px}.draw-welcome{font-size:14px;font-weight:800;color:#087c7a}.draw-verified{padding:8px 16px;background:#e5f5e9;color:#286538;border-radius:40px;font-size:13px}.draw-lobby-notice{background:#fffdf6;border:2px solid #dcb77d;border-radius:20px;padding:16px;margin:0 0 22px!important;overflow-wrap:anywhere}.draw-lobby-notice h2{font-size:20px;margin-bottom:8px}.draw-lobby-notice .button{margin-top:12px}.draw-lobby-receipt{display:flex;gap:18px;align-items:start;background:#fff9e4;border:2px solid #e8c16a;border-radius:24px;padding:22px;margin-top:24px}.draw-receipt-star{font-size:40px;color:#b16e02}.draw-lobby-receipt h2{font-size:22px}.draw-lobby-receipt p{margin-top:8px}.draw-lobby-receipt details{margin-top:12px;font-size:13px}@media(max-width:1120px){.draw-lobby-grid{grid-template-columns:minmax(250px,.9fr) minmax(330px,1.3fr)}.draw-lobby-prizes{grid-column:1/-1}.draw-prize-list{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.draw-lobby-prizes>.button{width:auto}.draw-lobby .draw-animation{height:520px}}@media(max-width:700px){.draw-lobby-header{align-items:start;flex-direction:column;gap:12px;margin-bottom:20px}.draw-lobby-balance{padding:8px 14px;font-size:13px;align-self:end}.draw-lobby-grid{grid-template-columns:minmax(0,1fr);gap:24px}.draw-lobby-identity{padding:20px}.draw-lobby-stage{padding:0}.draw-lobby-stage h1{font-size:42px}.draw-lobby-prizes{grid-column:auto}.draw-lobby .draw-animation{height:600px}.draw-lobby-receipt{padding:16px;gap:12px}.draw-lobby-receipt h2{font-size:18px}.draw-lobby-brand>span{font-size:34px}.draw-quiet-note{font-size:13px!important}}@media(prefers-reduced-motion:reduce){.draw-lobby .button{transition:none}}.school-coop .coop-products{grid-template-columns:repeat(4,minmax(0,1fr))}.coop-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding-top:18px;border-top:1px solid #e4ca9b35}.coop-pagination>span{font-size:13px;color:#fff1d6;text-align:center}.coop-pagination small{display:block;margin-top:4px;color:#ddc5a5;font-size:11px}.school-coop .coop-pagination .button{font-size:12px;padding:10px 14px}@media(max-width:760px){.school-coop .coop-products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:380px){.school-coop .coop-products{grid-template-columns:minmax(0,1fr)}}.shop-student-shell .school-coop{background:linear-gradient(to bottom,#f4ecd8 0 265px,#92aa95 265px 75%,#d3bb92 75%);border-bottom:0}.school-coop .coop-awning{border-bottom-width:4px;box-shadow:0 5px 12px #3d533b25}.school-coop .coop-sign{border:1px solid #ae7c49;outline:0;border-radius:12px;box-shadow:inset 0 1px #fff4d4,0 8px 18px #67402122;background:linear-gradient(135deg,#efd5a5,#dfb982);padding:18px 36px}.school-coop .coop-entry-note{border:0;border-radius:14px;background:#fff5dd;box-shadow:0 5px 16px #69472716;color:#735236}.school-coop .button{border:1px solid #bea37d;border-radius:10px;box-shadow:none;font-weight:700}.school-coop .button.primary{border:0;background:#3d7157;box-shadow:0 3px 8px #23463320}.school-coop .button.secondary{background:#fff9eb;border-color:#e0cfb0;color:#70553d}.school-coop .coop-paper{border:0;border-radius:16px;box-shadow:0 8px 24px #45351f12;background:#fff8e8}.school-coop .coop-identity{padding:22px 18px;gap:18px}.school-coop .coop-identity legend{border:0;border-radius:9px;background:#eacda1;color:#60472f;font-size:15px;padding:10px 14px;box-shadow:none}.school-coop select,.school-coop input[type=number]{border:1px solid #dbc8ab;background:#fffcf5;border-radius:9px;box-shadow:none}.school-coop .coop-class-name{border:0;border-radius:9px;background:#f0e3cb}.school-coop .coop-student-card{border:0;border-radius:12px;background:#f2e6cf;padding:14px}.school-coop .coop-student-mark{border:0;border-radius:10px;background:#52795f}.school-coop .coop-shelf{border:0;outline:0;border-radius:14px;background:linear-gradient(110deg,#71513b,#8b6747 48%,#765339);box-shadow:inset 0 2px #bc9564,0 9px 22px #39261924;padding:26px 20px 20px}.school-coop .coop-shelf legend{border:0;border-radius:9px;background:#b68b59;color:#fff4d8;padding:11px 20px;font-size:18px;box-shadow:0 3px 10px #42291a20}.school-coop .coop-products{gap:22px 16px}.school-coop .coop-product{border:0;background:none;box-shadow:none;padding:0 4px 8px;gap:9px;border-radius:10px}.school-coop .coop-product.selected{border:0;box-shadow:none;background:linear-gradient(transparent,#f6d37a14)}.school-coop .coop-product-photo{margin:0 -4px 2px;padding:12px 6px 0;border:0;background:radial-gradient(ellipse at 50% 0,#fff2b346,transparent 80%);position:relative;border-radius:8px}.school-coop .coop-product-photo:after{content:"";display:block;height:8px;background:linear-gradient(#cba273,#9a714d);border-radius:3px;box-shadow:0 4px 5px #30201730}.school-coop .coop-product-photo .shop-product-image{height:150px;filter:drop-shadow(0 6px 5px #301b1925)}.school-coop .coop-product h3{color:#fff5e3;text-align:center;font-size:15px;font-weight:700}.school-coop .coop-product-price{align-self:center;border:0;background:#ebc790;border-radius:7px;padding:6px 14px;min-width:100px;font-size:20px;color:#634122;box-shadow:0 2px 3px #4a2c1b20}.school-coop .coop-stock{color:#e6d1b6;font-size:12px}.school-coop .coop-pick{border:0;border-radius:8px;background:#4c7b61;font-size:12px;box-shadow:0 2px 4px #3526191c;min-height:42px}.school-coop .coop-product.selected .coop-pick{border:0;background:#edc47d;color:#593d22;box-shadow:0 0 0 2px #ffecb55e}.school-coop .coop-checkout{border:0;padding:22px 24px;background:#fff7e6}.school-coop .coop-speech{border:0;border-radius:18px;box-shadow:0 6px 20px #4b553721;color:#61513c;background:#fffaf0;padding:20px 16px}.school-coop .coop-speech:after{border:0;width:14px;height:14px;bottom:-7px;background:#fffaf0}.school-coop .coop-clerk-note{border:0;border-radius:12px;box-shadow:0 5px 14px #4e54331a;transform:none;background:#f8ecd1;padding:20px}.school-coop .coop-orders{background:#fbf3df;padding:26px}.school-coop .coop-order{border-color:#ddcbb1}.school-coop .coop-order-status{border:0;border-radius:20px;padding:8px 12px}.school-coop .coop-notice{border:0;border-radius:12px;box-shadow:0 3px 12px #5d4e3212}.school-coop .coop-order-status.approved,.school-coop .coop-order-status.delivered{border:0}@media(max-width:760px){.school-coop .coop-sign{padding:18px 20px}.school-coop .coop-shelf{padding:22px 12px 16px}.school-coop .coop-products{gap:20px 12px}.school-coop .coop-product-photo .shop-product-image{height:125px}.school-coop .coop-checkout{padding:20px}.school-coop .coop-orders{padding:22px 18px}}.student-feedback-footer{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;padding:20px 16px;color:#38564d;background:#f7f4eb;font-size:.9rem}.student-feedback-footer a{display:inline-flex;align-items:center;min-height:44px;padding:8px 15px;border-radius:24px;background:#e4eee5;color:#22564a;font-weight:700;text-decoration:none}.student-feedback-footer a:hover{background:#d3e4d6}.student-feedback-footer a:focus-visible{outline:3px solid #22776d;outline-offset:3px}.student-feedback-footer small{color:#65766e}.teacher-sidebar-note a{display:inline-block;margin-top:16px;color:inherit;text-decoration:underline;text-underline-offset:4px}.student-access-bar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:16px 4px;color:#195d53}.student-access-bar button{margin-left:auto}.student-signin{display:grid;grid-template-columns:1fr 1fr;gap:48px;max-width:950px;margin:40px auto;align-items:center}.student-signin h1{font-size:clamp(28px,4vw,46px);line-height:1.3;color:#18574c}.student-signin>div{padding:24px}.student-signin img{object-fit:contain;display:block;margin:auto}.student-signin .panel{border:0;box-shadow:0 12px 45px #23514912;padding:32px;border-radius:24px}.student-portal{max-width:1100px;margin:auto;display:grid;gap:28px}.portal-welcome{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:38px;background:linear-gradient(120deg,#dff0e6,#fdf3da);border-radius:28px}.portal-welcome h1{font-size:clamp(28px,4vw,42px);margin:12px 0}.portal-balance{display:grid;gap:5px;text-align:right;color:#28614d}.portal-balance strong{font-size:50px;font-variant-numeric:tabular-nums}.portal-destinations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.portal-destinations article{position:relative;overflow:hidden;padding:28px 24px 130px;border-radius:24px;box-shadow:0 8px 24px #28463808;background:#fff}.portal-destinations article>span:first-child{font-size:32px}.portal-destinations h2{margin:12px 0}.portal-destinations article img{position:absolute;bottom:0;right:0;object-fit:contain;pointer-events:none}.portal-destinations .portal-shop{background:#eaf3e9}.portal-destinations .portal-draw{background:#fff0d9}.portal-destinations .portal-feedback{background:#eeeafa;padding-bottom:28px}.portal-closed{display:inline-block;color:#66736b;padding:12px 0}.portal-history-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.portal-ledger-entry{display:flex;gap:20px;padding:18px 0;border-bottom:1px solid #e8ece8;align-items:center}.portal-ledger-entry>div{flex:1}.portal-ledger-entry small{display:block;margin-top:6px;color:#738077}.teacher-todo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.teacher-todo-card{display:grid;gap:10px;padding:24px;border-radius:18px;background:#fff;border:1px solid #e0e9e5;color:#255c54;text-decoration:none}.teacher-todo-card strong{font-size:42px;line-height:1.2}.teacher-todo-card small{color:#738077}.teacher-todo-card.attention{background:#fff8e8;border-color:#e8cf91}.teacher-todo-card:hover{box-shadow:0 6px 18px #203b2914}.portal-share{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.shop-student-shell .student-access-bar,.shop-student-shell>.page>.student-signin{margin-left:24px;margin-right:24px}.student-access-bar~.error-text{margin:16px}@media(max-width:760px){.student-signin{grid-template-columns:1fr;gap:8px;margin:12px auto}.student-signin>div{padding:12px}.student-signin img{display:none}.student-signin .panel{padding:24px}.portal-destinations{grid-template-columns:1fr}.portal-destinations article{padding-bottom:30px}.portal-destinations img{opacity:.15}.portal-welcome{padding:24px;flex-wrap:wrap}.portal-balance{text-align:left}.teacher-todo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-todo-card{padding:18px}.portal-ledger-entry{flex-wrap:wrap}.portal-ledger-entry>span{width:100%;font-size:13px}.student-access-bar{gap:10px}}.capsule-catalog-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:10px}.capsule-catalog-picker .button{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px;white-space:normal;text-align:center}.capsule-catalog-picker img{object-fit:contain}.capsule-catalog-picker small{display:block;margin-top:5px;font-size:.73rem;font-weight:400;color:var(--muted)}.capsule-handle{transform-origin:center;isolation:isolate}.capsule-handle:before{content:"";position:absolute;width:9px;height:9px;left:calc(50% - 4.5px);top:4px;border-radius:50%;background:#714b25;box-shadow:0 1px #fff4c4}.capsule-handle:after{content:"";position:absolute;left:calc(50% - 7px);top:-17px;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:10px solid #fbe4a9;pointer-events:none}.capsule-handle:focus-visible{outline:3px solid #fff4c4;outline-offset:8px}.is-turning .capsule-handle{animation:capsule-crank var(--turn-duration) cubic-bezier(.35,.02,.2,1) both}.is-turning .capsule-handle:disabled{opacity:1}.is-turning .capsule-handle span{animation:none}.capsule-dome .capsule-physics{position:absolute;inset:0;width:100%;height:100%;display:block;transform:none;animation:none;overflow:visible}.capsule-physics [data-capsule]{will-change:transform}.is-turning .capsule-dome{animation:capsule-settle .3s ease-in-out 4 alternate}.capsule-outlet{overflow:hidden}.is-dispensing .outlet-ball{animation:capsule-drop var(--drop-duration) ease-out both}@keyframes capsule-crank{0%{transform:rotate(0)}12%{transform:rotate(-18deg)}76%{transform:rotate(330deg)}90%{transform:rotate(367deg)}to{transform:rotate(360deg)}}@keyframes capsule-settle{0%{transform:translate(-1px)}to{transform:translate(1px)}}@keyframes capsule-drop{0%{transform:translate(-14px,-48px) rotate(-140deg)}45%{transform:translate(8px,3px) rotate(25deg)}65%{transform:translate(2px,-9px) rotate(65deg)}82%{transform:translate(-2px) rotate(95deg)}to{transform:translate(0) rotate(100deg)}}.student-batch-controls{display:grid;gap:12px;margin:18px 0;padding:20px;border:1px solid #dfcda5;border-radius:20px;background:#fffaf1;text-align:left;min-width:0}.student-batch-controls label{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-weight:700}.student-batch-controls select{padding:10px 14px;border:1px solid #c7cdbf;border-radius:12px;background:#fff}.student-batch-controls p{font-size:14px;line-height:1.6;margin:0}.draw-loyalty{display:grid;gap:8px;border-top:1px solid #e5dece;padding-top:12px}.draw-loyalty .button{justify-self:start}.student-batch-results{padding:22px;border-radius:20px;background:#fffaf1;min-width:0;overflow-wrap:anywhere;text-align:left}.student-batch-results ol{list-style:none;padding:0;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}.student-batch-results li{display:flex;gap:12px;align-items:start;padding:14px;background:#fff;border:1px solid #eee3d1;border-radius:14px}.student-batch-results li>div{min-width:0}.student-batch-results p{font-size:14px;line-height:1.6}.student-batch-results details{font-size:12px}.capsule-reveal-card:has(.student-batch-results){max-height:90svh;overflow-y:auto;width:min(700px,94vw)}.draw-lobby-balance,.capsule-wallet{max-width:100%;min-width:0;overflow-wrap:anywhere;white-space:normal}.draw-lobby-balance strong{min-width:0;overflow-wrap:anywhere}body:has(.student-portal){min-width:0}.student-portal{width:100%;min-width:0;grid-template-columns:minmax(0,1fr)}.portal-welcome{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.portal-welcome>div,.portal-backpack-entry>div,.portal-ledger-entry>div{min-width:0;overflow-wrap:anywhere}.portal-balance strong{min-width:0;max-width:100%;overflow-wrap:anywhere;line-height:1.2}.portal-balance .portal-balance-long{font-size:clamp(16px,5.5vw,32px)}.portal-ledger-entry>strong,.portal-ledger-entry>span{min-width:0;overflow-wrap:anywhere}@media(max-width:760px){.portal-welcome{grid-template-columns:minmax(0,1fr);gap:22px}.portal-balance strong{font-size:clamp(32px,8vw,50px)}.portal-balance .portal-balance-long{font-size:clamp(16px,5.5vw,32px)}}.portal-backpack-entry{display:flex;align-items:center;gap:16px;padding:20px 24px;border:1px solid #bdd5c4;border-radius:22px;background:#f1f7ec;color:#285a43;text-decoration:none}.portal-backpack-entry>div{display:grid;gap:4px;flex:1}.portal-backpack-entry strong{font-size:22px}.portal-backpack-entry>div>span{font-size:14px}.portal-backpack-entry:hover{background:#e7f1df}.portal-backpack-entry:focus-visible{outline:3px solid #3f7956;outline-offset:3px}.backpack-mark{display:grid;place-items:center;width:54px;height:54px;flex-shrink:0;background:#ddebcf;border-radius:18px;font-size:34px;color:#346340}.student-backpack{max-width:1100px;margin:28px auto;scroll-margin-top:24px;border:1px solid #dce5d1;border-radius:28px;background:#fffdf8;overflow:hidden;color:#493b2f}.backpack-heading{display:flex;align-items:center;gap:18px;padding:28px;background:linear-gradient(120deg,#edf4e3,#fff0d5)}.backpack-heading h2{font-size:30px;margin:8px 0}.backpack-heading p{margin:0;line-height:1.6}.student-backpack .backpack-collections{margin:0;background:transparent;box-shadow:none;border-radius:0;border-bottom:1px solid #e8e8dc}.backpack-collections h3,.backpack-gifts h3{font-size:24px;margin:8px 0}.backpack-collection-count{color:#3c6445}.backpack-collection-count strong{font-size:20px}.backpack-gifts{padding:clamp(18px,3vw,30px)}.backpack-gifts>.muted{font-size:14px;line-height:1.7}.backpack-shop-link{display:inline-block;margin:0 0 18px;color:#28614d;font-weight:600}.backpack-filters{display:flex;flex-wrap:wrap;gap:8px}.backpack-filters button{border:1px solid #d2decc;background:#fff;color:#42604c;border-radius:20px;padding:9px 14px;font:inherit;font-size:14px;cursor:pointer}.backpack-filters button[aria-pressed=true]{background:#31604b;color:#fff;border-color:#31604b}.backpack-filters button:focus-visible{outline:3px solid #a1bb86;outline-offset:2px}.backpack-loaded{font-size:13px;color:#6b7566;margin:16px 0}.backpack-gift-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:16px;margin-bottom:16px}.backpack-gift{display:flex;align-items:flex-start;gap:16px;border:1px solid #e4e8df;padding:18px;background:#fff;border-radius:20px}.backpack-gift-photo{width:84px;height:84px;flex-shrink:0;background:#f5f2e8;border-radius:16px;overflow:hidden}.backpack-gift-photo .shop-product-image{width:100%;height:100%;object-fit:contain;display:grid;place-items:center;margin:0}.backpack-gift-info{min-width:0;flex:1;overflow-wrap:anywhere}.backpack-gift h4{font-size:19px;margin:10px 0 6px}.backpack-gift p{font-size:14px;line-height:1.6;margin:6px 0}.backpack-gift small{display:block;font-size:12px;color:#71776d;line-height:1.6}.backpack-gift details{font-size:12px;margin-top:12px}.backpack-gift summary{cursor:pointer}.backpack-gift-reason{color:#626c5a}.backpack-gift-status{display:inline-block;font-size:12px;padding:5px 10px;border-radius:12px;background:#f0f0ee;color:#596156}.backpack-gift-status.pending{background:#fff0cf;color:#785717}.backpack-gift-status.approved{background:#e1f0da;color:#335f37}.backpack-gift-status.delivered{background:#e4edf7;color:#355571}.backpack-empty{padding:20px;background:#f7f7ef;border-radius:16px;line-height:1.8;font-size:14px}@media(max-width:760px){.portal-backpack-entry{padding:18px;gap:12px}.portal-backpack-entry strong{font-size:20px}.backpack-heading{padding:22px 18px;gap:12px}.backpack-heading h2{font-size:26px}.backpack-heading p{font-size:14px}.backpack-gift{padding:14px;gap:12px}.backpack-gift-photo{width:64px;height:64px}}.student-entrance-closed{max-width:960px;margin:28px auto;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:18px;padding:clamp(24px,4vw,44px);border:1px solid #e5dcc6;border-radius:32px;background:#fffdf5;box-shadow:0 18px 55px #325b4520}.student-gate-art{position:relative;min-width:0;text-align:center}.student-gate-art svg{display:block;width:100%;height:auto}.student-gate-art-caption{display:inline-block;margin-top:-8px;padding:7px 14px;border-radius:999px;color:#52705c;background:#eaf2e6;font-size:13px;font-weight:700}.student-gate-copy{min-width:0}.student-gate-badge{display:inline-flex;align-items:center;gap:7px;border:1px solid #efcf9c;background:#fff0d4;color:#916223;border-radius:999px;padding:8px 13px;font-size:14px;font-weight:800}.student-gate-copy h1{margin:20px 0 16px;font-size:clamp(30px,3.5vw,42px);line-height:1.3;letter-spacing:.01em;color:#254c43}.student-gate-status{color:#94643c;font-weight:800;line-height:1.6}.student-gate-note{color:#65746b;font-size:16px;line-height:1.9;margin:14px 0 22px}.student-gate-hint{display:block;margin-top:14px;color:#748075;line-height:1.7}@media(max-width:640px){.student-entrance-closed{grid-template-columns:minmax(0,1fr);text-align:center;gap:24px;margin:12px auto;padding:22px 18px 28px;border-radius:26px}.student-gate-art{width:min(100%,350px);margin:0 auto}.student-gate-copy h1{margin-top:16px;font-size:clamp(27px,8vw,34px)}}.points-issuance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px}.points-issuance-grid article{min-width:0;padding:18px;border:1px solid #dbe9e5;border-radius:16px;background:linear-gradient(135deg,#f3faf7,#fff)}.points-issuance-grid span{display:block;font-size:14px;color:#556b62;margin-bottom:8px}.points-issuance-grid strong{display:block;font-size:clamp(22px,3vw,32px);overflow-wrap:anywhere;line-height:1.3;color:#145e49}.points-issuance-grid strong small{font-size:14px;font-weight:500}.points-issuance-panel{min-width:0;grid-template-columns:minmax(0,1fr)}.points-issuance-panel>*{min-width:0}.issuance-history{min-width:0;grid-template-columns:minmax(0,1fr)}.issuance-history>*{min-width:0}.issuance-history-search{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.issuance-history-search .field-label{flex:1;min-width:min(100%,200px)}.issuance-history-search input{width:100%;min-width:0;padding:12px;border:1px solid #c4d6d2;border-radius:10px}.issuance-history-list{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.issuance-history-entry{min-width:0;padding:16px;border:1px solid #dbe9e5;border-radius:14px;background:#fbfdfc;overflow-wrap:anywhere}.issuance-history-entry p{white-space:pre-wrap}.issuance-history-choice{display:flex;gap:12px;align-items:start;cursor:pointer}.issuance-history-choice input{width:20px;height:20px;flex-shrink:0;accent-color:#14675e}.issuance-history-choice span{min-width:0}.issuance-history-choice small{display:block;margin-top:6px;color:#556b62}.points-issuance-panel p{overflow-wrap:anywhere}.draw-opening-panel{border:2px solid #60957a;background:linear-gradient(135deg,#f0fdf4,#fff);scroll-margin-top:24px}.draw-opening-panel h2{margin:0}.draw-opening-status{color:#285840;overflow-wrap:anywhere}.draw-opening-panel select{max-width:100%;min-width:0}.draw-opening-panel .button{white-space:normal;overflow-wrap:anywhere}#draw-pool-create{scroll-margin-top:24px}.portal-destinations .portal-blackjack{background:linear-gradient(135deg,#e4f3ee,#f3f8e6)}.portal-destinations .portal-gacha{background:linear-gradient(135deg,#eaf6f4,#fff5df)}.portal-destinations .portal-blackjack>span:first-child{color:#246b5e}.portal-destinations article:has(img){padding-bottom:190px}.portal-destinations article img{right:16px;bottom:12px;max-width:calc(100% - 32px);opacity:1}@media(min-width:1000px){.portal-destinations{grid-template-columns:repeat(4,minmax(0,1fr))}.portal-destinations .portal-feedback{grid-column:1/-1}}@media(min-width:761px)and (max-width:999px){.portal-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-destinations .portal-feedback{grid-column:1/-1}}.student-portal-back{display:inline-flex;align-items:center;justify-self:start;gap:10px;min-height:48px;max-width:100%;padding:8px 16px 8px 10px;border:1px solid #dfc990;border-radius:16px;background:linear-gradient(135deg,#fffdf6,#fff4da);color:#195d53;font-size:15px;font-weight:700;line-height:1.4;text-decoration:none;box-shadow:0 4px 12px #6450290d;transition:background .16s,box-shadow .16s,transform .16s}.student-portal-back-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:10px;background:#1b7065;color:#fff;font-size:22px;line-height:1}.student-portal-back:focus-visible{outline:3px solid #1b7065;outline-offset:3px}.student-portal-back:active{transform:translateY(1px);box-shadow:0 1px 4px #64502912}@media(hover:hover){.student-portal-back:hover{color:#124d44;background:#fff1ca;box-shadow:0 6px 16px #6450291a;transform:translateY(-1px)}}@media(prefers-reduced-motion:reduce){.student-portal-back{transition:none}.student-portal-back:hover,.student-portal-back:active{transform:none}}.draw-result-dismiss{display:block;width:100%;min-height:48px;margin-top:12px}.math-text{white-space:pre-wrap;overflow-wrap:anywhere}.math-expression{display:inline-block;max-width:100%;overflow-x:auto;overflow-y:hidden;white-space:nowrap;overflow-wrap:normal;vertical-align:middle;padding:.08em 0;box-sizing:border-box}.math-expression .math-text{white-space:nowrap;overflow-wrap:normal}.math-expression .math-expression{display:inline;overflow:visible;padding:0}.math-text sup,.math-text sub{font-size:.72em;line-height:0;position:relative;vertical-align:baseline}.math-text sup{top:-.5em}.math-text sub{bottom:-.25em}.math-fraction{display:inline-grid;grid-template-rows:auto auto;vertical-align:middle;text-align:center;line-height:1.35;margin:0 .2em;max-width:100%}.math-fraction>span{padding:.1em .25em;min-width:0}.math-fraction>span:first-child{border-bottom:1px solid currentColor}.math-fraction,.math-root{white-space:nowrap;overflow-wrap:normal}.math-root{font-family:math;vertical-align:baseline;font-size:1em;max-width:100%}.math-input{display:grid;gap:8px;min-width:0}.math-input textarea{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.math-input textarea{font-family:Consolas,Cascadia Code,monospace;line-height:1.6}.math-latex{display:inline-block;max-width:100%;overflow-x:auto;overflow-y:hidden;vertical-align:middle;padding:.2em .08em;box-sizing:border-box;white-space:nowrap}.math-latex .katex{white-space:nowrap;overflow-wrap:normal}.math-latex-block{display:block;text-align:center}.math-latex-block .katex-display{margin:.4em 0}.math-latex-error{color:#9c3a23;text-decoration:underline dotted;text-underline-offset:3px}.math-input>small{color:#526b62;line-height:1.6;overflow-wrap:anywhere}.math-input-tools{min-width:0;color:#526b62;font-size:.85rem;overflow-wrap:anywhere}.math-input-tools summary{cursor:pointer;width:fit-content;padding:4px 0;color:#245d4d}.math-input-tools .math-keyboard{margin:6px 0}@media(max-width:760px){.student-signin>div.student-signin-intro{display:none}}.math-keyboard{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.math-keyboard button{min-width:44px;min-height:44px;padding:6px 10px;border:1px solid #b7ccc0;border-radius:10px;background:#f4faf6;color:#215c4a;font:inherit;font-weight:700;cursor:pointer}.math-keyboard button:focus-visible{outline:3px solid #237b65;outline-offset:2px}.math-keyboard button:disabled{opacity:.5;cursor:default}@media(hover:hover){.math-keyboard button:hover:not(:disabled){background:#e0f1e6}}.math-input-preview{min-width:0;padding:12px 14px;border:1px solid #d6e5dc;border-radius:12px;background:#fbfdf8;line-height:1.9}.math-input-preview>small{display:block;margin-bottom:4px;color:#526b62;font-size:.75rem}.math-input-preview-content{overflow-x:auto}.math-input-preview-content .math-latex:not(.math-latex-block){display:inline;vertical-align:baseline;padding:0}@media(max-width:700px){.draw-lobby .draw-animation{height:480px;min-height:360px}.draw-lobby-stage h1{font-size:clamp(30px,9vw,42px)}}.student-login-history,.student-login-history>*{min-width:0}.login-history-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;border:0;padding:0;min-width:0;align-items:end}.login-history-filters .field-label{min-width:0}.login-history-filters input,.login-history-filters select{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #c4d6d2;border-radius:10px;font:inherit;background:#fff;color:#254f47}.login-history-list{display:grid;gap:12px}.login-daily-chart{margin:0;padding:clamp(12px,3vw,20px);border:1px solid #dbe9e5;border-radius:14px;background:#f7fbf9}.login-daily-chart figcaption{font-weight:750}.login-daily-chart ul{display:grid;gap:10px;list-style:none;margin:0;padding:0}.login-daily-chart li{display:grid;grid-template-columns:3.25rem minmax(0,1fr) max-content;align-items:center;gap:10px;font-variant-numeric:tabular-nums}.login-daily-track{height:.75rem;border-radius:99px;background:#dcebe5;overflow:hidden}.login-daily-track>span{display:block;height:100%;border-radius:inherit;background:#24816c}.login-history-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;padding:16px 18px;background:#f7fbf9;border:1px solid #dbe9e5;border-radius:14px;overflow-wrap:anywhere}.login-history-entry p{margin:6px 0 0;color:#526b62}.login-history-entry time{font-variant-numeric:tabular-nums;color:#315e55}@media(max-width:700px){.login-history-filters{grid-template-columns:minmax(0,1fr)}.login-history-entry{align-items:flex-start;flex-direction:column;gap:10px}.student-login-history .page-heading{align-items:flex-start}}.question-bank-preview{min-width:0;margin-top:20px;padding:20px;border:1px solid #bad8ce;border-radius:18px;background:#f4faf7;color:#234b43}.question-bank-preview>header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.question-bank-preview h3{margin:0;font-size:1.2rem}.question-bank-preview>header p{margin:6px 0}.question-bank-preview>header>span{font-size:.8rem;padding:8px 12px;border-radius:20px;background:#e0f0e8}.question-preview-nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0}.question-preview-nav button,.question-preview-matches button{min-height:44px;border:1px solid #acc8bd;border-radius:10px;background:#fff;color:#245b4c;padding:8px 12px;font:inherit;cursor:pointer}.question-preview-nav button:disabled{opacity:.5;cursor:default}.question-preview-nav label{display:flex;align-items:center;gap:6px}.question-preview-nav input{width:75px;min-height:44px;padding:8px;border:1px solid #acc8bd;border-radius:10px;font:inherit;background:#fff;color:#234b43}.question-preview-search{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:.85rem;margin:12px 0}.question-preview-search input{min-width:0;width:min(100%,260px);min-height:44px;border:1px solid #acc8bd;border-radius:10px;padding:10px;font:inherit;background:#fff;color:#234b43}.question-preview-matches{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.question-preview-matches p{flex-basis:100%}.question-preview-stage{min-width:0;padding:clamp(18px,3vw,32px);border-radius:16px;background:#071427;color:#f1f5f9;box-shadow:0 8px 24px #0206171f}.question-preview-number{color:#93c5fd;font-size:.85rem;font-weight:800}.question-preview-stage h4{margin:16px 0 24px;font-size:clamp(1.35rem,2.8vw,2.6rem);line-height:1.65;font-weight:700;min-width:0}.question-preview-options{display:grid;gap:12px}.question-preview-options>div{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:center;min-height:66px;padding:12px;border:1px solid #34445a;border-radius:12px;background:#132137;font-size:clamp(1rem,1.7vw,1.55rem);line-height:1.65}.question-preview-options b{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#34445a;font-size:1rem}.question-preview-options>div.correct{background:#104d38;border-color:#4ade80}.question-preview-stage .question-preview-answer{color:#86efac;font-weight:800}.question-preview-source{margin-top:16px}.question-preview-source summary{min-height:44px;cursor:pointer}.question-preview-source p{white-space:pre-wrap;overflow-wrap:anywhere}.question-preview-actions{margin-top:16px}.question-preview-actions button{min-height:48px}.question-import-form,.question-import-form>*{min-width:0}.display-question-card h2{line-height:1.6}.display-options>div>span{min-width:0;line-height:1.65}@media(max-width:700px){.question-bank-preview{padding:12px}.question-preview-nav{gap:8px}.question-preview-nav>button:last-child{width:100%}.question-preview-stage{padding:16px}.question-preview-actions{align-items:stretch;flex-direction:column}.question-preview-actions button{width:100%}}.backpack-batch-students{display:grid;gap:.75rem;max-height:22rem;overflow:auto;padding:.25rem}.backpack-batch-students label{display:flex;align-items:center;gap:.6rem}.backpack-batch-students article{border-bottom:1px solid #dce5e5;padding:.5rem}.teacher-room-launch{padding:24px;border:1px solid #c8dcd5;border-radius:22px;background:linear-gradient(120deg,#f0f8ed,#e7f4fa);box-shadow:0 8px 24px #17433b0c}.teacher-workspace .teacher-stage-guide[hidden]{display:none}.teacher-launch-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.teacher-launch-heading span{color:#617d70;font-size:11px;letter-spacing:.16em;font-weight:800}.teacher-launch-heading h2{margin:6px 0;font-size:clamp(20px,2vw,28px);color:#173e3b}.teacher-launch-heading p{margin:0;color:#61756c}.teacher-launch-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0}.teacher-launch-steps li{border:1px solid #d8e4dd;border-radius:14px;background:#fffa}.teacher-launch-steps li.current{border:2px solid #397e6f;background:#fff}.teacher-launch-steps li.done{background:#e3f2e5}.teacher-launch-steps a,.teacher-launch-steps li>div{display:grid;grid-template-columns:30px 1fr;gap:6px 8px;padding:14px;text-decoration:none;color:#20433b}.teacher-launch-steps b{grid-row:span 2;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#d9e9e3}.teacher-launch-steps .current b,.teacher-launch-steps .done b{background:#397e6f;color:#fff}.teacher-launch-steps strong{font-size:14px}.teacher-launch-steps small{color:#698074;font-size:12px}.teacher-precreate-mode{margin:20px 0;padding-top:16px;border-top:1px solid #dbe5de}.teacher-precreate-mode h3{margin:0 0 12px}.feedback-page{max-width:1100px;margin-inline:auto}.feedback-page input,.feedback-page textarea,.feedback-page select{width:100%;max-width:100%;box-sizing:border-box}.feedback-page textarea{min-height:160px;resize:vertical}.feedback-card{border:1px solid #dbe5de;border-radius:16px;padding:20px;min-width:0;background:#fff;overflow-wrap:anywhere}.feedback-card h3{margin:14px 0 8px}.feedback-card time{color:#61766b;font-size:13px}.feedback-body{white-space:pre-wrap}.student-frame .student-question[hidden]{display:none}.course-review-display>header{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.course-review-display>header>p{margin-left:auto}.projection-review-navigation{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.projection-review-navigation .course-review-navigation{margin:0}.projection-review-navigation .course-review-navigation small{display:none}.feedback-page fieldset{min-width:0}@media(max-width:760px){.teacher-launch-heading{align-items:flex-start;flex-direction:column}.teacher-launch-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-room-launch{padding:16px}}.daily-page{min-width:0}.daily-manual-editor{border-color:#a9cdbb;background:linear-gradient(135deg,#f3faf4,#fffdf6)}.daily-manual-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.daily-manual-editor .field-label{min-width:0}.daily-manual-editor input[type=file]{overflow:hidden}@media(max-width:760px){.daily-manual-options{grid-template-columns:minmax(0,1fr)}}.task-class-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}.task-class-option{display:flex;gap:12px;align-items:center;min-height:48px;padding:12px;border:1px solid #cbd8d1;border-radius:12px;background:#f9fcfa;overflow-wrap:anywhere}.daily-page .task-class-option input{width:20px;height:20px;flex:0 0 20px;accent-color:#19785e}.task-class-option:has(input:checked){background:#eaf7ee;border-color:#19785e}.task-class-option:has(input:disabled){opacity:.65}.task-class-option small{display:block}.daily-page fieldset{border:0;margin:0;padding:0;min-width:0}.daily-heading{background:linear-gradient(115deg,#e6f3df,#fff3da)}.daily-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:18px}.daily-editor-grid{display:grid;grid-template-columns:minmax(0,1fr)}.daily-editor{padding:18px;border:1px solid #cbded2;border-radius:16px;background:#f6faf6;min-width:0;grid-template-columns:minmax(0,1fr);align-content:start}.daily-editor>*,.daily-settings>*,.daily-ai-editor>*,.daily-ai-options>*{min-width:0}.daily-ai-editor{grid-template-columns:minmax(0,1fr)}.daily-ai-version{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:10px}.daily-ai-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:14px}.daily-editor h3,.daily-ai-editor h4{margin:0}.daily-preview-anchor{scroll-margin-top:24px}.daily-page .field-label select,.daily-page .field-label input,.daily-page textarea{width:100%;min-width:0;box-sizing:border-box}.daily-page select{padding:11px 12px;border:1px solid #cbd8d1;border-radius:12px;background:#f9fcfa;font:inherit}.daily-page textarea{padding:12px;border:1px solid #b8cfc4;border-radius:10px;font:inherit;resize:vertical}.daily-levels{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.daily-option{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid #d0ded5;border-radius:12px;overflow-wrap:anywhere}.daily-option input{flex:0 0 auto;margin-top:4px}.daily-prompt{font-size:1.2rem;font-weight:700;line-height:1.6;overflow-wrap:anywhere}.daily-submission{padding:16px;border:1px solid #d0ded5;border-radius:14px}.daily-submission p{margin:0}.daily-reason{white-space:pre-wrap;overflow-wrap:anywhere}.daily-portal-entry{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:20px 0;background:#fff6df}.daily-portal-entry h2,.daily-portal-entry p{margin:0 0 8px}.daily-page details{overflow-wrap:anywhere}@media(max-width:760px){.daily-settings,.daily-editor-grid{grid-template-columns:minmax(0,1fr)}.daily-portal-entry{align-items:flex-start;flex-direction:column}}.mission-guide{display:flex;align-items:center;gap:24px;padding:24px 32px;border:1px solid #d4ddca;border-radius:22px;background:linear-gradient(115deg,#e7f3e5,#fff4dc);min-width:0}.mission-guide img{flex:0 0 150px;object-fit:contain;filter:drop-shadow(0 8px 7px #376a4420)}.mission-guide>div{min-width:0;overflow-wrap:anywhere}.mission-guide h1{margin:8px 0 12px}.mission-guide p{margin:0;line-height:1.7}.mission-tabs{display:flex;flex-wrap:wrap;gap:10px}.mission-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding:28px;border:9px solid #a97747;border-radius:22px;background-color:#ccaa7c;background-image:radial-gradient(#a0784238 1px,transparent 1px);background-size:6px 6px;box-shadow:inset 0 0 20px #61402622}.mission-card{position:relative;min-width:0;display:flex;flex-direction:column;gap:14px;padding:30px 24px 24px;border-radius:3px 3px 14px;background:#fff9e8;box-shadow:0 6px 12px #5a38172e;overflow-wrap:anywhere}.mission-card:nth-child(2n){background:#eff7e9}.mission-card h2,.mission-card p{margin:0}.mission-pin{position:absolute;top:-7px;left:50%;width:18px;height:18px;border-radius:50%;background:#c16445;border:3px solid #e7976d;box-shadow:0 2px 3px #4a321533}.mission-meta{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:.87rem;color:#6c6247}.mission-description{line-height:1.85}.mission-link{display:block;font-weight:700;color:#176c60;text-decoration:underline;overflow-wrap:anywhere}.mission-link span{display:block;font-size:.78rem;font-weight:400;margin-top:5px}.mission-card-footer{display:flex;flex-direction:column;gap:12px;margin-top:auto;padding-top:16px;border-top:1px dashed #cabf9f}.mission-state{color:#6a624a;font-size:.88rem}.mission-complete{opacity:.85}@media(max-width:760px){.mission-guide{gap:12px;padding:18px;align-items:flex-start}.mission-guide img{width:82px;height:82px;flex-basis:82px}.mission-guide h1{font-size:1.7rem}.mission-board{grid-template-columns:minmax(0,1fr);padding:22px 12px;border-width:6px;gap:24px}.mission-card{padding:26px 18px 20px}}@media screen{.platform-shell{--ui-canvas: #f3f7f5;--ui-surface: #fff;--ui-ink: #193b34;--ui-muted: #5c706a;--ui-line: #dbe6df;--ui-accent: #24624f;--ui-accent-hover: #184c3e;--ui-soft: #eaf3ed;--ui-gold: #d4ac55;--ui-radius: 16px;--ui-ease: cubic-bezier(.2, .8, .2, 1);--ui-motion: .16s;color:var(--ui-ink);background:var(--ui-canvas);font-family:Noto Sans TC,PingFang TC,Microsoft JhengHei,system-ui,sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}.platform-shell *,.platform-shell *:before,.platform-shell *:after{box-sizing:border-box}.platform-main{min-width:0}.platform-main:focus{outline:none}.platform-route-loading{display:grid;place-content:center;justify-items:center;min-height:240px;padding:32px;color:#5c706a}.platform-route-loading>span{font-size:32px;color:#b4872e}.platform-route-loading>p{font-size:14px}.platform-load-error{max-width:560px;margin:48px auto;padding:28px;color:#193b34;background:#fff}.platform-load-error h1{font-size:26px;line-height:1.5}.platform-load-error p{color:#5c706a}.platform-shell>.page{padding-top:36px;padding-bottom:80px}.platform-shell .platform-icon{flex:0 0 auto;vertical-align:middle}.platform-brand-group{display:flex;align-items:center;gap:12px;min-width:0}.platform-shell>.topbar{position:sticky;top:0;z-index:60;height:72px;background:var(--ui-surface);color:var(--ui-ink);box-shadow:none;border-bottom:1px solid var(--ui-line);align-items:center;gap:12px}.platform-shell .brand{color:var(--ui-ink);font-size:18px;gap:10px}.platform-shell .topbar .brand .brand-mark{color:var(--ui-gold);background:transparent;font-size:30px;width:30px;height:34px}.platform-shell .brand span:not(.brand-mark){color:var(--ui-muted);font-size:10px;letter-spacing:.08em}.platform-shell .topbar nav{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:6px;flex-shrink:0}.platform-shell .topbar nav>a,.platform-shell .topbar .nav-button{color:var(--ui-ink);min-height:44px;display:inline-flex;align-items:center;font-size:14px}.platform-shell .topbar nav>a:hover,.platform-shell .topbar nav>a.active,.platform-shell .topbar .nav-button:hover{background:var(--ui-soft);color:var(--ui-ink)}.platform-shell .student-mode-label{background:var(--ui-soft);border-color:var(--ui-line);color:var(--ui-accent);font-size:11px;padding:5px 10px}.platform-skip-link{position:fixed;top:10px;left:16px;z-index:100;padding:10px 18px;border-radius:10px;background:var(--ui-ink);color:#fff;transform:translateY(-180%);text-decoration:none}.platform-skip-link:focus{transform:translateY(0)}.platform-shell :where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #b4872e;outline-offset:3px}.platform-shell .button{min-height:44px;padding:11px 18px;gap:10px;border-radius:10px;font-size:14px;font-weight:750;line-height:1.5;text-align:center;transition:transform var(--ui-motion) var(--ui-ease),opacity var(--ui-motion) var(--ui-ease)}.platform-shell .button:hover:not(:disabled){transform:none;box-shadow:none}.platform-shell .button:active:not(:disabled){transform:translateY(1px)}.platform-shell .button.primary{background:var(--ui-accent);border-color:var(--ui-accent);color:#fff}.platform-shell .button.primary:hover:not(:disabled){background:var(--ui-accent-hover);border-color:var(--ui-accent-hover)}.platform-shell .button.secondary{background:#fff;color:var(--ui-ink);border-color:#ccdcd2}.platform-shell .button.secondary:hover:not(:disabled){background:var(--ui-soft)}.platform-shell .button:disabled{cursor:not-allowed}.platform-shell .panel,.platform-shell .teacher-section-disclosure{background:var(--ui-surface);border-color:var(--ui-line);border-radius:var(--ui-radius);box-shadow:0 4px 18px #173d3104}.platform-shell .panel{padding:clamp(20px,2.5vw,28px)}.platform-shell .panel h2{margin-top:0;line-height:1.5}.platform-shell .page-heading{align-items:center;gap:20px}.platform-shell .page-heading h1{color:var(--ui-ink);margin:0 0 10px;font-size:clamp(26px,2.6vw,38px);font-weight:850;letter-spacing:-.04em;line-height:1.35}.platform-shell .page-heading p{color:var(--ui-muted);margin:0;font-size:15px;line-height:1.8}.platform-shell .eyebrow{color:var(--ui-muted);font-size:11px;letter-spacing:.1em;line-height:1.7}.platform-shell .muted{color:var(--ui-muted)}.platform-shell .field-label{color:var(--ui-ink);gap:8px;font-size:14px;line-height:1.6;min-width:0}.platform-shell .room-metadata-inputs{align-items:start}.platform-shell .room-metadata-inputs .field-label{align-content:start}.platform-shell :where(.field-label,.auth-form,.room-metadata-inputs) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){width:100%;min-width:0;min-height:46px;padding:11px 13px;border:1px solid #cbdad1;border-radius:9px;color:var(--ui-ink);background:#fff;font-size:15px;line-height:1.6;box-shadow:0 1px 2px #193b3403}.platform-shell :where(input,textarea)::placeholder{color:#74857d;opacity:1}.platform-shell :where(input[type=checkbox],input[type=radio]){accent-color:var(--ui-accent)}.platform-shell :where(textarea){resize:vertical}.platform-shell .file-drop{border-color:#a2bdb0;background:#f6faf7;border-radius:12px}.platform-shell .file-drop input{min-width:0}.platform-shell input[type=file]{display:block;width:100%;max-width:100%;min-width:0;font-size:13px}.platform-shell input[type=file]::file-selector-button{min-height:40px;margin-right:10px;padding:8px 14px;border:1px solid #cbdad1;border-radius:8px;background:#fff;color:var(--ui-ink);cursor:pointer;font:inherit}.platform-shell .teacher-section-disclosure>summary{color:var(--ui-ink);min-height:56px;padding:17px 22px}.platform-shell .teacher-section-disclosure>summary:hover{background:#f6faf7}.platform-shell .teacher-section-disclosure[open]>summary{border-color:var(--ui-line)}.platform-shell :where(.roster-table,.session-table,.shop-orders-table){font-size:14px}.platform-shell .status{line-height:1.5}.platform-shell.teacher-app-shell{padding-left:248px;background:var(--ui-canvas)}.platform-shell .teacher-sidebar{position:fixed;inset:0 auto 0 0;z-index:40;width:248px;padding:28px 18px 20px;display:flex;flex-direction:column;gap:0;overflow-y:auto;overscroll-behavior-y:contain;background:#143c35;color:#fff;scrollbar-color:#51776a #143c35}.platform-shell .teacher-sidebar-brand{padding:0 10px 25px;gap:12px;border-bottom:1px solid #ffffff16}.platform-shell .teacher-sidebar-brand>span{color:var(--ui-gold);font-size:34px}.platform-shell .teacher-sidebar-brand strong{font-size:21px;letter-spacing:.01em}.platform-shell .teacher-sidebar-brand small{color:#bed3c9;font-size:11px;letter-spacing:.06em;margin-top:4px;font-weight:500}.platform-shell .teacher-sidebar nav{display:block;padding-top:18px}.teacher-navigation-group{margin-bottom:20px}.teacher-navigation-group h2{margin:0 12px 7px;font-size:11px;font-weight:650;letter-spacing:.12em;color:#a9c5b9}.platform-shell .teacher-sidebar nav a{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;min-height:43px;padding:9px 12px;border-radius:8px;font-size:13px;font-weight:550;color:#dfebe4;line-height:1.6;text-decoration:none;border:1px solid transparent}.platform-shell .teacher-sidebar nav a>span{width:auto;text-align:left;font-size:inherit}.platform-shell .teacher-sidebar nav a.active{background:#2d6250;color:#fff;box-shadow:none;border-color:#5d8a7040;font-weight:750}.platform-shell .teacher-sidebar nav a:hover:not(.active){background:#ffffff0e;color:#fff}.platform-shell .teacher-sidebar nav a .platform-icon{width:19px;height:19px;opacity:.85}.platform-shell .teacher-sidebar-note{color:#abc8bb;padding:20px 12px 4px;border-top:1px solid #ffffff16;font-size:12px}.platform-shell .teacher-sidebar-note a{margin-top:6px}.platform-shell.teacher-app-shell>.topbar{padding-inline:32px}.platform-shell.teacher-app-shell>.page{max-width:1440px;padding:32px clamp(20px,3vw,42px) 80px}.platform-shell .teacher-topbar-note{color:var(--ui-muted);font-size:12px}.platform-shell.teacher-app-shell .topbar nav>.teacher-student-access-link{background:#25634e;color:#fff;font-weight:700;white-space:nowrap}.platform-shell.teacher-app-shell .topbar nav>.teacher-student-access-link:hover{background:#194c3b;color:#fff}.teacher-navigation-toggle{display:none}.platform-shell .teacher-workspace,.platform-shell .teacher-workspace-overview{gap:24px}.platform-shell .teacher-flow-cards{gap:0;border:1px solid var(--ui-line);border-radius:var(--ui-radius);overflow:hidden;background:#fff}.platform-shell .teacher-flow-card{border:0;border-right:1px solid var(--ui-line);border-radius:0;padding:24px;box-shadow:none;background:#fff;gap:10px}.platform-shell .teacher-flow-card:last-child{border-right:0}.platform-shell .teacher-flow-card.prepare{--flow-color: #24624f}.platform-shell .teacher-flow-card.live{--flow-color: #246d7a}.platform-shell .teacher-flow-card.after{--flow-color: #735e8b}.platform-shell .teacher-flow-card.current{background:#f1f8f3;box-shadow:inset 0 3px var(--flow-color)}.platform-shell .teacher-flow-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#edf1ee;color:#6c7e74;font-size:12px;letter-spacing:0}.platform-shell .teacher-flow-card.current .teacher-flow-icon{background:var(--flow-color);color:#fff}.platform-shell .teacher-flow-card h2{font-size:21px;color:var(--ui-ink)}.platform-shell .teacher-flow-card p{font-size:13px;color:var(--ui-muted)}.platform-shell .teacher-flow-card .button{font-size:13px}.platform-shell .teacher-card-hint{background:#f2f5f2;color:var(--ui-muted);border:1px dashed #d8e2da;border-radius:9px}.platform-shell .teacher-settings-summary{padding:24px;border-color:var(--ui-line);border-radius:var(--ui-radius)}.platform-shell .teacher-settings-summary h2{color:var(--ui-ink);font-size:22px}.platform-shell .teacher-summary-grid>a,.platform-shell .teacher-summary-other{background:#fbfdfb;border-color:var(--ui-line);border-radius:10px;padding:18px}.platform-shell .teacher-summary-grid>a:hover{background:var(--ui-soft);border-color:#9bbba7}.platform-shell .teacher-summary-grid span{color:var(--ui-muted)}.platform-shell .teacher-summary-grid strong{color:var(--ui-ink)}.platform-shell .teacher-summary-grid small,.platform-shell .teacher-summary-other nav a{color:var(--ui-accent)}.platform-shell .teacher-room-launch{background:#ecf4ef;border-color:#c9ded1;border-radius:var(--ui-radius);padding:24px;box-shadow:none}.platform-shell .teacher-launch-heading h2{color:var(--ui-ink)}.platform-shell .teacher-launch-steps li{background:#ffffffab;border-radius:10px}.platform-shell .teacher-launch-steps li.current{border-color:#3a765c}.platform-shell .teacher-todo-card{border-color:var(--ui-line);border-radius:12px;padding:22px;box-shadow:none}.platform-shell .teacher-todo-card.attention{background:#fffbef;border-color:#dfcc9e}.platform-shell .teacher-todo-card strong{color:var(--ui-ink);font-size:36px;font-variant-numeric:tabular-nums}.platform-shell .teacher-todo-card:hover{border-color:#91b39e;background:#f9fcf9}.platform-auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.95fr);gap:clamp(32px,6vw,90px);max-width:1000px;margin:32px auto;align-items:center}.platform-auth-story{min-width:0}.platform-auth-emblem{display:inline-grid;place-items:center;width:48px;height:48px;border:1px solid #cddfd2;background:#e6f0e9;border-radius:14px;color:var(--ui-accent)}.platform-auth-emblem .platform-icon{width:26px;height:26px}.platform-auth-story h2{margin:24px 0 16px;font-size:clamp(32px,3.5vw,48px);line-height:1.4;letter-spacing:-.04em;color:var(--ui-ink)}.platform-auth-story>p{font-size:15px;line-height:1.9;color:var(--ui-muted)}.platform-auth-steps{display:grid;gap:12px;padding:0;margin:26px 0 0;list-style:none;font-size:14px}.platform-auth-steps li{display:flex;gap:14px;align-items:center}.platform-auth-steps li span{color:#8b6b28;font-size:12px;font-weight:800;letter-spacing:.08em}.platform-auth-art{display:flex;align-items:flex-end;gap:8px;margin-top:4px}.platform-auth-art img{object-fit:contain;width:155px;height:155px}.platform-auth-art>span{max-width:170px;color:var(--ui-muted);font-size:12px;padding-bottom:25px}.platform-shell .platform-auth-layout .auth-panel{width:100%;margin:0;padding:clamp(26px,3vw,40px);gap:20px;border:1px solid var(--ui-line);box-shadow:0 16px 48px #183d3307}.platform-shell .auth-panel h1{color:var(--ui-ink);font-size:28px;margin:0;line-height:1.5}.platform-shell .auth-form{gap:20px}.platform-shell .auth-form p,.platform-shell .auth-form small{color:var(--ui-muted);font-size:13px;line-height:1.8}.platform-shell .auth-panel .button{width:100%}.platform-shell .student-signin{max-width:940px;margin:36px auto;gap:clamp(28px,6vw,80px);align-items:center}.platform-shell .student-signin>div{padding:0}.platform-shell .student-signin-intro h2{font-size:clamp(25px,3.2vw,38px);color:var(--ui-ink);line-height:1.35;letter-spacing:-.04em}.platform-shell .student-signin>div>p{color:var(--ui-muted);font-size:15px;line-height:1.9}.platform-shell .student-signin>div>img{width:220px;height:220px;object-fit:contain}.platform-shell .student-signin .panel{padding:32px;background:#fff;border:1px solid var(--ui-line);border-radius:18px}.platform-shell .student-signin .panel>p{margin:0;font-size:14px}.platform-shell .student-signin .panel h1{margin:0;font-size:clamp(24px,3vw,30px);color:var(--ui-ink)}.platform-shell .student-signin fieldset{border:0;margin:0;padding:0;min-width:0}.platform-shell .student-signin .draw-text-button{justify-self:center;min-height:44px}.platform-shell .student-access-bar:empty{display:none}.platform-shell .student-portal{gap:22px}.platform-shell .portal-welcome{background:transparent;border-radius:0;padding:10px 0 4px;grid-template-columns:minmax(0,1fr) minmax(240px,.55fr);align-items:center;gap:28px}.platform-shell .portal-welcome h1{margin:9px 0;font-size:clamp(30px,3.4vw,42px);line-height:1.4;color:var(--ui-ink);letter-spacing:-.04em}.platform-shell .portal-welcome p{color:var(--ui-muted);font-size:15px;margin:0 0 12px}.platform-shell .portal-welcome>div>span{color:var(--ui-muted);font-size:13px}.platform-shell .portal-balance{padding:22px 26px;background:#143c35;border:1px solid #143c35;border-radius:16px;text-align:left;gap:5px}.platform-shell .portal-welcome .portal-balance>span,.platform-shell .portal-balance>small{color:#c8ded0}.platform-shell .portal-balance>strong{color:#fff;font-size:44px;letter-spacing:-.025em}.platform-shell .portal-balance>.portal-balance-long{font-size:clamp(19px,2.3vw,30px)}.platform-shell .portal-balance>small{font-size:11px}.platform-shell .portal-backpack-entry{padding:18px 22px;background:#fff;border-color:var(--ui-line);border-radius:12px}.platform-shell .portal-backpack-entry strong{color:var(--ui-ink);font-size:18px}.platform-shell .portal-backpack-entry>div>span{color:var(--ui-muted);font-size:13px}.platform-shell .backpack-mark{width:46px;height:46px;border-radius:12px;background:var(--ui-soft);font-size:26px}.platform-shell .portal-backpack-entry:hover{background:#f9fcfa;border-color:#99b8a4}.portal-learning-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}.platform-shell .daily-portal-entry{display:flex;flex-direction:column;align-items:flex-start;gap:18px;margin:0;border-color:#c8dbce;background:#f9fcf9}.platform-shell .daily-portal-entry h2{margin:0 0 8px;font-size:20px}.platform-shell .daily-portal-entry p{margin:0;font-size:13px;color:var(--ui-muted)}.platform-shell .daily-portal-entry .button{margin-top:auto}.platform-shell .portal-destinations{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.platform-shell .portal-destinations article{padding:24px 22px 150px;border:1px solid var(--ui-line);border-radius:16px;box-shadow:none;background:#fff;min-width:0}.platform-shell .portal-destinations article>span:first-child{font-size:26px;color:#8d7137}.platform-shell .portal-destinations article h2{font-size:20px;margin:10px 0;color:var(--ui-ink);line-height:1.5}.platform-shell .portal-destinations article p{font-size:13px;color:var(--ui-muted);line-height:1.8;margin:0 0 20px}.platform-shell .portal-destinations article img{width:150px;max-height:125px;right:14px;bottom:12px;opacity:1}.platform-shell .portal-destinations .portal-draw{background:#fffcf4;border-color:#e7debf}.platform-shell .portal-destinations .portal-gacha{background:#f4f9f5}.platform-shell .portal-destinations .portal-feedback{grid-column:1 / -1;padding-bottom:24px;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:0 16px}.platform-shell .portal-feedback>span:first-child{grid-row:1 / 3}.platform-shell .portal-feedback h2{grid-column:2;margin:0 0 6px}.platform-shell .portal-feedback p{grid-column:2;margin:0}.platform-shell .portal-feedback .button{grid-column:3;grid-row:1 / 3}.platform-shell .portal-closed{color:var(--ui-muted);border-top:1px solid var(--ui-line);font-size:13px;width:100%}.platform-shell .portal-history-heading h2{color:var(--ui-ink);margin:4px 0;font-size:22px}.platform-shell .portal-ledger-entry{padding:18px 0;font-size:14px;border-color:var(--ui-line)}.platform-shell .student-access-bar{font-size:13px;padding-block:4px;min-width:0}.platform-home-shell{background:#f7faf8}.platform-shell .home-hero{min-height:540px;gap:clamp(30px,4vw,64px);padding-block:20px}.platform-shell .home-hero h1{margin-top:0;font-size:clamp(38px,4.5vw,62px);color:var(--ui-ink);line-height:1.3;letter-spacing:-.055em}.platform-shell .home-hero h1 em{color:#347c5d}.platform-shell .home-hero p{color:var(--ui-muted);max-width:480px;font-size:16px;line-height:1.95}.platform-shell .home-hero-actions{margin-top:28px;gap:12px}.platform-shell .home-hero-actions .button{box-shadow:none;min-height:48px;padding-inline:20px}.home-template-link{display:inline-block;padding-block:12px;margin-top:8px;color:#57776a;font-size:13px;text-underline-offset:4px}.platform-shell .home-hero-meta{margin-top:12px;font-size:12px;gap:8px 16px}.platform-shell .home-preview{transform:none;border-color:#cbdacf;border-radius:20px;box-shadow:0 20px 48px #1e4c3510}.platform-shell .home-preview-top{padding:14px 20px;background:#143c35;color:#bdd7c9;letter-spacing:.01em;font-size:11px}.platform-shell .home-preview-live{color:#f5e8c4}.platform-shell .home-preview-main{grid-template-columns:minmax(130px,.8fr) minmax(0,1fr);padding:24px;gap:14px;min-height:260px;background:linear-gradient(90deg,#102b2a45,#102b2ae6),url(/%E7%BE%8E%E8%A1%93%E5%9C%96/battle/scenes/candidates/enchanted-forest/background.webp) center / cover}.platform-shell .home-preview-boss{width:100%;height:180px;background:none;border:0;box-shadow:none;border-radius:0;transform:none}.platform-shell .home-preview-boss img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 12px #0008)}.platform-shell .home-preview-heading span{color:#e5cf98;font-size:11px;letter-spacing:.06em}.platform-shell .home-preview-heading strong{color:#fff;font-size:clamp(19px,1.8vw,25px);line-height:1.6}.platform-shell .home-preview-health{color:#cee3d5;font-size:11px}.platform-shell .home-preview-health strong{color:#f0dca6}.platform-shell .home-preview-health div{height:6px;background:#ffffff30}.platform-shell .home-preview-health i{background:#d4ac55}.platform-shell .home-preview-steps>div{padding:14px 20px}.platform-shell .home-section-heading h2{font-size:clamp(24px,2.5vw,33px);line-height:1.5;letter-spacing:-.035em}.platform-shell .home-section-heading>p{font-size:14px}.platform-shell .home-pillars-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}.platform-shell .home-pillar-card{padding:26px 0;border:0;border-top:1px solid var(--ui-line);border-radius:0;background:transparent;box-shadow:none;transition:none}.platform-shell .home-pillar-card:hover{transform:none}.platform-shell .home-pillar-header{margin-bottom:16px}.platform-shell .home-pillar-num{color:#9b7832;font-size:24px}.platform-shell .home-pillar-tag{border-radius:4px;background:#eaf1eb;color:#4f6c5a;font-size:10px}.platform-shell .home-pillar-card h3{font-size:21px;margin-bottom:12px}.platform-shell .home-pillar-card p{font-size:14px}.platform-shell .home-pillar-list{font-size:12px}.platform-shell .home-boss-panel,.platform-shell .home-hero-panel,.platform-shell .home-faq-card,.platform-shell .home-workflow-step{border-radius:14px;border-color:var(--ui-line);box-shadow:none}.platform-shell .home-cta-box{border-radius:18px;background:#143c35;padding-block:48px}.platform-shell .home-cta-box .button.primary{background:#f0db9d;border-color:#f0db9d;color:#143c35}@media(hover:hover)and (prefers-reduced-motion:no-preference){.platform-shell .portal-destinations article{transition:transform .22s var(--ui-ease)}.platform-shell .portal-destinations article:hover{transform:translateY(-3px)}}@media(max-width:1100px){.platform-shell.teacher-app-shell{padding-left:224px}.platform-shell .teacher-sidebar{width:224px;padding-inline:12px}.platform-shell .teacher-flow-card{padding:20px}.platform-shell .teacher-topbar-note{display:none}.platform-shell .portal-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px),(max-width:1400px)and (orientation:landscape)and (pointer:coarse){.platform-shell.teacher-app-shell{padding-left:0}.platform-shell.teacher-app-shell>.topbar{height:64px;padding-inline:18px}.platform-shell .teacher-sidebar{position:fixed;inset:64px 0 auto;display:none;z-index:34;width:100%;max-height:calc(100dvh - 64px);padding:20px 18px;overflow-y:auto;box-shadow:0 16px 32px #12352b26}.platform-shell .teacher-sidebar.is-navigation-open{display:flex}.platform-shell .teacher-sidebar-brand,.platform-shell .teacher-sidebar-note{display:none}.platform-shell .teacher-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:0}.platform-shell .teacher-sidebar nav a{min-height:44px}.teacher-navigation-group{margin:0;min-width:0}.platform-shell .teacher-navigation-toggle{display:inline-grid;place-items:center;width:44px;height:44px;border:1px solid var(--ui-line);background:#fff;color:var(--ui-ink);border-radius:10px;padding:0}.platform-shell.teacher-app-shell>.page{padding:24px 20px 64px}.platform-shell .teacher-flow-card h2{font-size:19px}.platform-shell .teacher-flow-card .button{font-size:12px;padding-inline:10px}.platform-shell .teacher-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){.platform-shell>.topbar{height:64px;padding-inline:18px}.platform-auth-layout{grid-template-columns:minmax(0,1fr) minmax(300px,1fr);gap:28px}.platform-auth-story h2{font-size:32px}.platform-auth-art img{width:120px;height:120px}.platform-auth-art>span{display:none}}@media(max-width:640px){.platform-shell>.page,.platform-shell.teacher-app-shell>.page{padding:24px 16px 64px}.platform-shell .brand{font-size:16px;gap:6px}.platform-shell .brand span:not(.brand-mark){display:none}.platform-shell .topbar nav>a,.platform-shell .topbar .nav-button{padding:8px 10px;font-size:12px}.platform-shell .topbar nav{gap:0}.platform-shell .topbar .notification-bell{padding-inline:10px;gap:4px;font-size:12px}.platform-shell .student-mode-label{max-width:110px;white-space:normal;text-align:center}.platform-shell .page-heading{align-items:flex-start;flex-wrap:wrap;gap:16px}.platform-shell .teacher-flow-cards{grid-template-columns:1fr}.platform-shell .teacher-flow-card{border-right:0;border-bottom:1px solid var(--ui-line);padding:20px;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:8px 14px}.platform-shell .teacher-flow-card:last-child{border-bottom:0}.platform-shell .teacher-flow-card .teacher-flow-icon{grid-row:1 / 3}.platform-shell .teacher-flow-card>:not(.teacher-flow-icon):not(h2){grid-column:2}.platform-shell .teacher-flow-card h2{margin:0;font-size:20px}.platform-shell .teacher-flow-card .button{font-size:13px}.platform-shell .teacher-flow-card:not(.current)>p,.platform-shell .teacher-flow-card:not(.current)>.teacher-card-hint{display:none}.platform-shell .teacher-settings-summary,.platform-shell .teacher-room-launch{padding:20px}.platform-shell .teacher-summary-grid{grid-template-columns:minmax(0,1fr)}.platform-shell .teacher-summary-grid>a,.platform-shell .teacher-summary-other{padding:16px}.platform-shell .teacher-launch-steps{grid-template-columns:minmax(0,1fr)}.platform-shell .teacher-todo-grid{gap:12px}.platform-shell .teacher-todo-card{padding:18px}.platform-shell .teacher-todo-card strong{font-size:30px}.platform-auth-layout{grid-template-columns:minmax(0,1fr);gap:24px;margin:0 auto;max-width:480px}.platform-auth-story{padding:4px 4px 0}.platform-auth-emblem,.platform-auth-steps,.platform-auth-art{display:none}.platform-auth-story h2{margin:0 0 10px;font-size:29px}.platform-auth-story h2 br{display:none}.platform-auth-story>p{margin:0;font-size:13px}.platform-shell .platform-auth-layout .auth-panel{padding:26px 22px;gap:18px}.platform-shell .auth-panel h1{font-size:25px}.platform-shell .student-signin{grid-template-columns:minmax(0,1fr);margin:8px auto;gap:24px;max-width:480px}.platform-shell .student-signin>div>img{display:none}.platform-shell .student-signin-intro h2{margin:6px 0;font-size:20px}.platform-shell .student-signin .panel{padding:24px 22px}.platform-shell .portal-welcome{grid-template-columns:minmax(0,1fr);gap:20px;padding-top:0}.platform-shell .portal-balance{padding:20px 24px}.platform-shell .portal-balance>strong{font-size:40px}.platform-shell .portal-balance>.portal-balance-long{font-size:26px}.portal-learning-actions{grid-template-columns:minmax(0,1fr);gap:14px}.platform-shell .daily-portal-entry{gap:16px}.platform-shell .portal-destinations{grid-template-columns:minmax(0,1fr);gap:14px}.platform-shell .portal-destinations article{padding:22px 22px 140px}.platform-shell .portal-destinations article img{width:150px;height:115px}.platform-shell .portal-destinations article:not(:has(img)){padding-bottom:22px}.platform-shell .portal-destinations .portal-feedback{grid-template-columns:28px minmax(0,1fr)}.platform-shell .portal-feedback .button{grid-column:2;grid-row:auto;justify-self:start;margin-top:16px}.platform-shell .portal-backpack-entry{padding:16px;gap:12px}.platform-shell .portal-backpack-entry>div>span{font-size:12px}.platform-shell .portal-ledger-entry{gap:8px 12px}.platform-shell .home-hero{min-height:0;grid-template-columns:minmax(0,1fr);gap:28px;padding-top:6px}.platform-shell .home-hero h1{font-size:clamp(34px,8.5vw,48px)}.platform-shell .home-hero p{font-size:15px}.platform-shell .home-hero-actions .button{width:100%}.platform-shell .home-preview-main{grid-template-columns:100px minmax(0,1fr);min-height:220px;padding:20px;gap:12px}.platform-shell .home-preview-boss{height:160px}.platform-shell .home-preview-heading strong{font-size:20px}.platform-shell .home-pillars-grid{grid-template-columns:minmax(0,1fr)}.platform-shell .home-page{gap:52px}.platform-shell .home-panel-header{flex-wrap:wrap}.platform-shell .home-preview-steps>div{padding-inline:16px}}@media(max-width:380px){.platform-shell .brand .brand-mark{display:none}.platform-shell .teacher-sidebar nav{grid-template-columns:minmax(0,1fr)}.platform-shell .portal-balance>.portal-balance-long{font-size:22px}.platform-shell.teacher-app-shell>.topbar{padding-inline:12px}.platform-shell.teacher-app-shell .topbar .brand{font-size:14px}}@media(max-width:480px){.platform-shell.teacher-admin-access .notification-bell>span:nth-child(2){display:none}.platform-shell.teacher-admin-access .topbar nav>.teacher-student-access-link{padding-inline:8px}}@media(prefers-reduced-motion:reduce){.platform-shell .button,.platform-shell .portal-destinations article{transition:none}.platform-shell .button:active:not(:disabled),.platform-shell .portal-destinations article:hover{transform:none}}}@media print{.platform-skip-link,.teacher-navigation-toggle{display:none!important}}
.learning-trend-filters{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}.learning-trend-scroll{overflow-x:auto}.learning-trend-chart{display:block;min-width:520px;width:100%;max-width:960px;color:#175d55}.learning-trend-chart text{fill:currentColor;font-size:13px}.learning-trend-grid{stroke:#d0dfdc}.learning-trend-line{stroke:currentColor;stroke-width:2.5}.learning-trend-point{fill:currentColor;stroke:#fff;stroke-width:1.5}