@theme{ --font-sans: "Inter", "VT323", ui-sans-serif, system-ui, sans-serif; }:root{font-family:var(--font-sans);background:#0b1c3b;color:#0f172a}body{margin:0;min-height:100vh;background:linear-gradient(135deg,#0f3057,#051937);color:#111}a,button,input,textarea{font:inherit}.btn{border:1px solid #1c1917;background:linear-gradient(#fefefe,#dcdcdc);border-radius:4px;padding:.5rem 1rem;cursor:pointer}.btn.primary{background:linear-gradient(#2fb1ff,#177bd1);color:#fff;border-color:#0b4d8c}.btn.ghost{background:transparent}.btn:disabled{opacity:.6;cursor:not-allowed}.status{margin-top:.5rem}.status.error{color:#b42318}.status.muted,.muted{color:#475569}.badge{background:#d9f99d;border-radius:999px;padding:.1rem .6rem;font-size:.75rem}.badge.muted{background:#cbd5f5}.eyebrow{letter-spacing:.1em;text-transform:uppercase;font-size:.75rem;color:#64748b}body .nnwindow{padding:0}body .nntextfield:before{width:calc(100% - 1px);height:calc(100% - 1px)}.desktop-window .nnwindow{width:100%;height:100%;flex-direction:column;display:flex}.bios-screen{min-height:100vh;background:#010101;color:#f4f4f4;font-family:Share Tech Mono,IBM Plex Mono,Courier New,monospace;font-size:1.1rem;letter-spacing:.02em;display:flex;align-items:flex-start;justify-content:flex-start;position:relative;padding:1rem 1.5rem;-webkit-user-select:none;user-select:none}.bios-screen__logo{position:absolute;top:1.25rem;right:1.25rem;width:clamp(80px,30vw,500px);image-rendering:crisp-edges;pointer-events:none}.bios-screen__crt{width:min(720px,100%);padding:0;background:#010101}.bios-screen__crt p{margin:.25rem 0;color:inherit}.bios-screen__cursor{display:inline-block;margin-top:.5rem;color:inherit;animation:bios-cursor .8s steps(1) infinite}@media(max-width:600px){.bios-screen{font-size:.7rem}.bios-screen__crt{padding-top:120px}}@keyframes bios-cursor{0%,50%{opacity:1}50.1%,to{opacity:0}}.boot-screen{min-height:100vh;background-image:url(/startup_bg.jpeg);background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;position:relative;-webkit-user-select:none;user-select:none}.boot-screen__badge{position:absolute;top:15px;right:15px;width:200px;pointer-events:none}.boot-screen__logo{width:min(60vw,420px);max-width:90vw;filter:drop-shadow(0 6px 10px rgba(0,0,0,.4));pointer-events:none}.boot-progress{position:fixed;left:0;bottom:0;width:100%;height:16px;background:#b8cadc;border:2px solid #000;box-sizing:border-box;overflow:hidden}.boot-progress__fill{height:100%;width:30%;background:repeating-linear-gradient(to right,#4e75c3 0 10px,#b8cadc 10px 14px);animation:boot-progress-sweep 1.2s linear infinite}.boot-bar{position:absolute;bottom:0;left:0;right:0;height:20px;background-color:#b0b8c0;background:linear-gradient(to right,#9aadbf 0px 64px,#8ba4be 64px 128px,#7b9bbc 128px 192px,#6c92bb 192px 256px,#5c89b9 256px 320px,#4d7fb8 320px 384px,#4d7fb8 384px 448px,#5c89b9 448px 512px,#6c92bb 512px 576px,#7b9bbc 576px 640px,#8ba4be 640px 704px,#9aadbf 704px 768px);background-size:200% 100%;background-position:100% 0;animation:boot-scan 2.2s linear infinite}@keyframes boot-scan{0%{background-position:100% 0}to{background-position:-100% 0}}@keyframes boot-progress-sweep{0%{transform:translate(-120%)}to{transform:translate(420%)}}.start-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1.5rem;background:linear-gradient(135deg,#1c2e4a,#0b1728)}.start-screen__window{width:min(460px,96vw)}.start-screen__title-bar{display:flex;align-items:center;justify-content:space-between;font-weight:700;text-transform:uppercase}.start-screen__title{flex:1;text-align:center;-webkit-user-select:none;user-select:none}.start-screen__close{border:2px solid #7f7f7f;background:silver;color:#4a4a4a;width:28px;height:24px;cursor:not-allowed;box-shadow:inset 2px 2px #fff,inset -2px -2px #7f7f7f;line-height:12px}.start-screen__close:disabled{opacity:1}.start-screen__columns{display:grid;gap:1rem;align-items:flex-start;color:#000}.start-screen__columns--two{grid-template-columns:80px 1fr}.start-screen__columns--nickname{grid-template-columns:80px 1fr 96px}.start-screen__icon{width:64px;height:64px;border:2px solid #000;background:#d6d6d6;display:flex;align-items:center;justify-content:center;font-size:2rem;box-shadow:inset 2px 2px #fff,inset -2px -2px #7f7f7f}.start-screen__description{margin:0;font-size:.95rem;line-height:1.4}.start-screen__description+.start-screen__actions{margin-top:.75rem}.start-screen__actions{display:flex;flex-direction:column;gap:.5rem}.start-screen__button{width:100%}.start-screen__button--google{text-align:left}.start-screen__button-content{display:inline-flex;align-items:center;gap:.5rem}.start-screen__google-icon{width:24px;height:24px;flex-shrink:0}.start-screen__hint{margin-top:.75rem;font-size:.85rem;color:#2f2f2f}.start-screen__nickname-body{display:flex;flex-direction:column;gap:.5rem}.start-screen__nickname-input{width:100%}.start-screen__nickname-actions{display:flex;flex-direction:column;gap:.5rem}.start-screen__status{margin:0;font-size:.85rem;color:#1a3f8b}.start-screen__error{margin:.25rem 0 0;font-size:.85rem;color:#a40000;font-weight:700}@media(max-width:520px){.start-screen__columns--two,.start-screen__columns--nickname{grid-template-columns:60px 1fr}.start-screen__nickname-actions{flex-direction:row}}.desktop-shell{min-height:100vh;display:flex;flex-direction:column}.desktop-wallpaper{flex:1;position:relative;background:linear-gradient(135deg,#0b7d8c,#084b67);padding:1rem 1rem 64px;overflow:hidden}.desktop-icons{display:flex;flex-direction:column;gap:1rem;width:120px}.desktop-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;width:110px;min-height:90px;color:#fff;text-align:center;cursor:default;-webkit-user-select:none;user-select:none;position:relative}.desktop-icon:focus-visible{outline:1px dotted #fff}.desktop-icon__glyph{font-size:1.6rem;margin-bottom:.5rem}.desktop-icon__label{font-size:.85rem;padding:0 .35rem;line-height:1.2;text-align:center;word-break:break-word}.desktop-icon--selected .desktop-icon__label{background:#003c9c;color:#fff;border:1px dotted #fff;border-radius:2px}.desktop-icon--selected .desktop-icon__glyph{color:#7fb1ff;filter:brightness(0) saturate(100%) invert(21%) sepia(25%) saturate(1899%) brightness(92%) contrast(92%)}.desktop-selection-box{position:absolute;border:1px dotted #878787;background:transparent;pointer-events:none}.desktop-play-splash{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(600px,90vw);height:min(400px,70vh);display:flex;align-items:center;justify-content:center;background:#000;border:2px solid #000;box-shadow:4px 4px #0009;z-index:9000}.desktop-play-splash img{width:100%;height:100%;object-fit:cover;image-rendering:pixelated}.desktop-window-preview{position:absolute;border:1px dotted #777;background:transparent;pointer-events:none;z-index:10000}.desktop-window{position:absolute;left:0;top:0;width:480px;height:360px}.desktop-window--disabled{opacity:.85}.desktop-window--disabled .desktop-window__header{cursor:not-allowed}.desktop-window--disabled .desktop-window__content{filter:grayscale(.35)}.desktop-window__placeholder{height:100%;display:flex;align-items:center;justify-content:center;text-align:center;font-size:.95rem;padding:1rem}.desktop-window__header{display:flex;align-items:center;gap:.4rem}.desktop-window__title{flex:1}.desktop-window__controls{display:flex;gap:.25rem}.desktop-window__controls button{min-width:32px;padding:.15rem 0}.desktop-window__controls img{display:block;width:18px;height:15px;image-rendering:pixelated;image-rendering:crisp-edges}.desktop-window__content{background:#c6c6c6;color:#1c1c1c;min-height:220px;flex:1;overflow-y:auto;overflow-x:hidden}.desktop-window .desktop-window__content{padding:0}.desktop-window__content[data-scrollable]{padding:.5rem}.desktop-window__resize-handle{position:absolute;z-index:2}.desktop-window__resize-handle--east{top:0;right:-2px;width:6px;height:100%;cursor:ew-resize}.desktop-window__resize-handle--west{top:0;left:-2px;width:6px;height:100%;cursor:ew-resize}.desktop-window__resize-handle--south{left:0;bottom:-2px;width:100%;height:6px;cursor:ns-resize}.desktop-window__resize-handle--north{left:0;top:-2px;width:100%;height:6px;cursor:ns-resize}.desktop-window__resize-handle--southeast{width:12px;height:12px;right:-2px;bottom:-2px;cursor:nwse-resize}.desktop-window__resize-handle--northeast{width:12px;height:12px;right:-2px;top:-2px;cursor:nesw-resize}.desktop-window__resize-handle--southwest{width:12px;height:12px;left:-2px;bottom:-2px;cursor:nesw-resize}.desktop-window__resize-handle--northwest{width:12px;height:12px;left:-2px;top:-2px;cursor:nwse-resize}body .desktop-taskbar{position:fixed;top:auto;bottom:0;left:0;width:100%;border-top:2px solid #d6d6d6}.desktop-taskbar__content{display:flex;align-items:center;gap:.75rem}.desktop-taskbar__start{min-width:90px;display:flex;align-items:center;gap:.35rem}.desktop-taskbar__buttons{display:flex;gap:.5rem;flex:1}.desktop-taskbar__start-icon{width:18px;height:18px;image-rendering:pixelated}.desktop-taskbar__clock{min-width:68px;padding:.3rem .7rem;text-align:center;border:1px solid #404040;border-top-color:gray;border-left-color:gray;border-right-color:#f9f9f9;border-bottom-color:#f9f9f9;background:silver;font-variant-numeric:tabular-nums;line-height:1.2;-webkit-user-select:none;user-select:none;margin-left:auto}.game-window{display:flex;justify-content:center;height:100%}.game-window__center{width:100%;max-width:820px;padding:.75rem;display:flex;flex-direction:column;position:relative}.game-window__setup,.game-window__active{display:flex;flex-direction:column;gap:1rem}.game-window__setup-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.game-window__fieldset{display:flex;flex-direction:column;gap:.4rem}.game-window__option{display:flex;gap:.45rem;align-items:center;font-size:.9rem}.game-window__fact-grid{display:flex;flex-direction:column;gap:.35rem}.game-window__fact-grid--grouped{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.game-window__fact-button{width:100%;justify-content:flex-start}.game-window__focus-chip{align-items:flex-start;min-height:64px}.game-window__focus-chip--compact{min-height:48px}.game-window__focus-title{font-weight:600;display:block}.game-window__focus-description{font-size:.8rem;color:#4a4a4a}.game-window__focus-tabs{display:flex;flex-wrap:wrap;gap:.35rem}.game-window__focus-tab{display:inline-flex;align-items:center;gap:.35rem;justify-content:flex-start}.game-window__focus-icon{font-family:Arial;font-weight:100;font-size:24px;display:inline-block;min-width:1.1rem;text-align:center}.game-window__hint{font-size:.75rem;color:#4a4a4a;margin:.25rem 0 0}.game-window__summary-panel{margin-top:.5rem;font-size:.85rem}.game-window__summary-line{margin-top:.25rem;color:#4a4a4a}.game-window__actions{display:flex;flex-direction:column;gap:.4rem}.game-window__primary,.game-window__secondary{width:100%}.game-window__secondary{background:#ececec}.game-window__status{font-size:.85rem;color:#7a1515}.game-window__confetti-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:5}.game-window .game-window__board{flex:1;display:flex;flex-direction:column;gap:.75rem;min-width:0}.game-window .game-window__score-panel{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:1rem;font-size:.85rem}.game-window .game-window__score-panel>div{display:flex;flex-direction:column;align-items:flex-start;flex:1}.game-window .game-window__score-panel strong{font-size:1.1rem}.game-window__progress{width:100%;transition:filter .25s ease}.game-window__progress--green{filter:none}.game-window__progress--blue{filter:hue-rotate(-50deg) saturate(1.1)}.game-window__progress--green [data-testid=defaultProgress2]{background-color:#2f9e44!important}.game-window__active-header{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.game-window__card{display:flex;flex-direction:column;gap:.5rem;padding:1rem}.game-window__card-form{margin:0}.game-window__card-row{display:grid;grid-template-columns:minmax(240px,1fr) 1.25fr;gap:1rem;align-items:stretch}.game-window__card--content{padding:1.25rem}.game-window__card-right{display:flex;flex-direction:column;gap:.75rem}.game-window__card-placeholder{min-height:200px}.game-window__summary-actions{display:flex;flex-direction:column;gap:.5rem}.game-window__summary-row{display:flex;flex-wrap:wrap;gap:.5rem}.game-window__card h3{text-align:center;margin-bottom:15px}.game-window__card-meta{display:flex;justify-content:space-between;font-size:.85rem;display:none}.game-window__prompt-row{display:flex;align-items:baseline;gap:.5rem;font-size:clamp(2rem,6vw,4rem);font-weight:600;justify-content:center;white-space:nowrap;margin-bottom:30px}.game-window__prompt-text{flex:1;text-align:right}.game-window__prompt-equals{font-weight:400}.game-window__answer-inline,.game-window__prompt-answer{font-size:inherit;border:none;border-bottom:2px solid #1a1a1a;background:transparent;padding:.2rem .4rem;font-weight:600;field-sizing:content;min-width:100px}.game-window__answer-inline:focus{outline:none;border-color:#1766c1}.game-window__pigeon-panel{overflow:hidden;min-height:260px;display:flex;padding:0;width:100%}.game-window__pigeon-stage{flex:1;position:relative;min-height:260px}.game-window__pigeon-stage canvas{width:100%;height:100%}@media(max-width:720px){.game-window__card-row{grid-template-columns:1fr}.game-window__pigeon-panel,.game-window__pigeon-stage{min-height:200px}}.game-window__timer-row{display:flex;justify-content:flex-end;align-items:right;gap:.75rem}.game-window__timer-row span{min-width:90px;text-align:right;font-size:.85rem}.game-window__answer-actions{display:flex;gap:1rem;justify-content:flex-end;align-items:center}.game-window__focus-hint{font-size:.85rem;text-align:center;background:#133c92;color:#fff}.game-window__incorrect-value{color:#b00020;font-weight:600;text-align:center}.game-window__freeze-correct{margin:0}.game-window__freeze-note{font-size:1rem;text-align:center;margin:.25rem 0 0}.game-window__hint-panel{font-size:.9rem}.game-window__modal{position:fixed;inset:0;background:#00000059;display:flex;align-items:center;justify-content:center;z-index:20}.game-window__modal-window{min-width:320px;max-width:90vw}.game-window__modal-header{display:flex;justify-content:space-between;align-items:center}.game-window__modal-body{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.game-window__modal-icon{font-size:1.6rem}.game-window__modal-actions{margin-top:1rem;display:flex;gap:.75rem;justify-content:center}.game-window__custom-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.5rem;margin:.75rem 0}.game-window__custom-field{display:flex;flex-direction:column;gap:.25rem;font-size:.9rem}.game-window__custom-field input,.game-window__custom-field select{padding:.4rem;font-size:.95rem}.game-window__custom-label{grid-column:1 / -1}.game-window__quick-row{grid-column:1 / -1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.35rem;margin-bottom:.35rem}.game-window__spin-overlay{position:fixed;inset:0;z-index:30;display:flex}.game-window__spin-window{width:100vw;height:100vh;border-radius:0;display:flex;flex-direction:column;box-sizing:border-box}.game-window__spin-header{justify-content:center}.game-window__spin-content{flex:1;display:flex;flex-direction:column;padding:1.5rem;gap:1rem}.game-window__wheel-panel{flex:1;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 40%,#ffffff0f,#0000002e);border:1px solid #c1c1c1;box-shadow:inset 0 0 12px #00000047}.reward-wheel{width:min(480px,90vw);height:min(480px,90vw)}.debug-wheel-page{max-width:960px;margin:0 auto;padding:1.5rem;display:flex;flex-direction:column;gap:1rem;background:linear-gradient(145deg,#f6f8ff,#edf0ff);border-radius:16px;border:1px solid #dfe5ff;box-shadow:0 16px 36px #212c631f}.debug-wheel__controls{display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-end;padding:1rem;background:#fff;border-radius:12px;box-shadow:inset 0 1px #fff6,0 1px 6px #0000000f}.debug-wheel__field{display:flex;flex-direction:column;gap:.25rem}.debug-wheel__field select,.debug-wheel__controls button{padding:.45rem .75rem;border-radius:8px;border:1px solid #c3c9d7;background:#f9fbff;font-size:14px}.debug-wheel__controls button{cursor:pointer;background:linear-gradient(180deg,#5b7bfa,#3b5ae8);color:#fff;border:1px solid #314dca;box-shadow:0 4px 10px #3b5ae84d;transition:transform .1s ease,box-shadow .15s ease}.debug-wheel__controls button:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.debug-wheel__controls button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 6px 14px #3b5ae852}.debug-wheel__warning{padding:.75rem 1rem;background:#fff7e6;border:1px solid #f4c16c;border-radius:8px}.debug-wheel__error{padding:.75rem 1rem;background:#ffe6e6;border:1px solid #e57373;border-radius:8px;color:#7a1e1e}.debug-wheel__canvas{min-height:360px;border:1px dashed #bdbdbd;border-radius:12px;background:linear-gradient(135deg,#ffffff59,#e7e7f7a6);display:flex;align-items:center;justify-content:center;padding:1.5rem;box-shadow:inset 0 1px 4px #0000000a}.debug-wheel__canvas-content{display:flex;flex-direction:column;align-items:center;gap:1rem}.debug-wheel__spin-button{padding:.55rem 1.25rem;border-radius:10px;background:linear-gradient(180deg,#1ea672,#14885a);color:#fff;border:1px solid #0f6f4a;box-shadow:0 6px 14px #14885a3d;cursor:pointer;font-weight:600;transition:transform .1s ease,box-shadow .15s ease,opacity .1s ease}.debug-wheel__spin-button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none;transform:none}.debug-wheel__spin-button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 8px 18px #14885a4d}.debug-wheel__placeholder{color:#4a4a4a;font-style:italic}.game-window__spin-placeholder{width:100%;text-align:center;color:#3c3c3c;padding:1rem 0}.game-window__spin-actions{display:flex;justify-content:center;gap:.5rem}@media(max-width:920px){.game-window{flex-direction:column}}.desktop-taskbar__button{flex:0 0 auto;min-width:140px;justify-content:flex-start;gap:.35rem}.desktop-start-menu{position:fixed;left:.5rem;bottom:48px;z-index:999;display:flex;gap:4px}.start-menu{display:flex;background:#c3c7cb;border:2px solid #3d3d3d;border-right-color:#f7f7f7;border-bottom-color:#f7f7f7;box-shadow:4px 4px #00000073;min-width:300px}.start-menu__brand{writing-mode:vertical-rl;transform:rotate(180deg);letter-spacing:.1em;background:linear-gradient(0deg,#00306b,#00589c);color:#fff;font-weight:700;padding:1.9rem .4rem;text-transform:uppercase}.start-menu__body{flex:1;display:flex;flex-direction:column;padding:.25rem .4rem}.start-menu__list{list-style:none;margin:0;padding:0}.start-menu__item{width:100%;display:flex;align-items:center;gap:.5rem;padding:.8rem .25rem;border:none;background:transparent;text-align:left;font-size:.95rem;cursor:pointer}.start-menu__item:hover,.start-menu__item.open{background:#0b3c82;color:#fff;padding-left:.15rem}.start-menu__item-icon{width:1.25rem;text-align:center}.start-menu__item-caret{margin-left:auto;font-size:.75rem}.start-menu__footer{margin-top:.4rem;border-top:2px solid #f7f7f7;border-bottom:2px solid #3d3d3d;padding-top:.15rem}.start-menu__submenu{align-self:stretch;background:#dcdcdc;border:2px solid #3d3d3d;border-right-color:#f7f7f7;border-bottom-color:#f7f7f7;box-shadow:4px 4px #00000059;padding:.25rem;min-width:180px}.start-menu__submenu ul{list-style:none;margin:0;padding:0}.start-menu__submenu button{width:100%;border:none;background:transparent;text-align:left;padding:.3rem .5rem;cursor:pointer}.start-menu__submenu button:hover{background:#0b3c82;color:#fff}.desktop-message-box{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#00000059;z-index:2222}.desktop-message-box__actions{margin-top:1rem;display:flex;justify-content:flex-end}@media(max-width:768px){.teacher-dashboard{grid-template-columns:1fr}}.game-window__mode-description{color:#00f}
