.game-world{--tool-ink:#5b3fa8;--tool-line:#d9ccf1;--tool-edge:#bfa9e6;--tool-chip:#f1eafc}.game-world[data-kind=trivia]{--tool-ink:#2f6a4f;--tool-line:#c8debc;--tool-edge:#a9c79a;--tool-chip:#eef7e9}.game-world[data-kind=math]{--tool-ink:#9a5a12;--tool-line:#ebcfaa;--tool-edge:#dcb47f;--tool-chip:#fff3e3}.game-world[data-kind=english]{--tool-ink:#2a63a0;--tool-line:#c1daef;--tool-edge:#9fc3e0;--tool-chip:#eef7ff}.game-world[data-event=true]{--tool-ink:#475266;--tool-line:#cdd5e0;--tool-edge:#b4bfd0;--tool-chip:#eef1f6}.student-theme .game-world .game-toolbar{padding:8px 10px;border:2px solid var(--tool-line);border-radius:20px;background:linear-gradient(180deg,#fffffff2,var(--tool-chip));gap:10px}.student-theme .game-world .game-toolbar .back-button,.student-theme .game-world .game-toolbar .fullscreen-button{min-height:46px;padding:6px 14px 6px 7px;gap:9px;border-bottom-color:var(--tool-line);border-bottom-width:2px;border:2px solid var(--tool-line);border-bottom:4px solid var(--tool-edge);border-radius:15px;background:#fff;color:var(--tool-ink);font-weight:800;font-size:14px;letter-spacing:.1px;transition:transform .12s,border-bottom-width .12s,background .15s}.student-theme .game-world .game-toolbar .back-button:hover,.student-theme .game-world .game-toolbar .fullscreen-button:hover{background:var(--tool-chip)}.student-theme .game-world .game-toolbar .back-button:active,.student-theme .game-world .game-toolbar .fullscreen-button:active{transform:translateY(2px);border-bottom-width:2px}.student-theme .game-world .game-toolbar button:focus-visible{outline:3px solid var(--tool-ink);outline-offset:2px}.student-theme .game-world .game-toolbar button>svg{box-sizing:content-box;width:19px;height:19px;padding:6px;border-radius:10px;background:var(--tool-chip);color:var(--tool-ink)}.student-theme .game-world .game-toolbar .focus-mode-toggle[aria-pressed=true]{background:var(--tool-chip)}.student-theme .game-world .game-toolbar .music-controls .music-volume-button{padding-right:12px}.student-theme .game-world.full-focus .game-toolbar{padding:6px 8px;border-radius:18px}.student-theme .game-world.full-focus .game-toolbar .back-button,.student-theme .game-world.full-focus .game-toolbar .fullscreen-button{min-height:42px;padding:5px 11px 5px 6px;font-size:13px}@media(max-width:700px){.student-theme .game-world .game-toolbar{gap:7px;padding:7px}.student-theme .game-world .game-toolbar .back-button,.student-theme .game-world .game-toolbar .fullscreen-button{min-height:44px;padding:5px 10px 5px 5px;gap:7px;font-size:12px;border-radius:14px}.student-theme .game-world .game-toolbar button>svg{width:17px;height:17px;padding:5px;border-radius:9px}}@media(max-width:380px){.student-theme .game-world .game-toolbar .desktop-keyboard-toggle span,.student-theme .game-world .game-toolbar .focus-mode-toggle span{display:none}.student-theme .game-world .game-toolbar .back-button,.student-theme .game-world .game-toolbar .fullscreen-button{padding:5px}}.student-theme .game-world .game-toolbar .fullscreen-button:not(:has(span)){padding:5px}.student-theme .game-world .game-toolbar .focus-title{display:none}.student-theme .game-world.full-focus .game-toolbar{align-items:center}.student-theme .game-world.full-focus .game-toolbar-controls{width:auto;flex:0 1 auto}.student-theme .game-world.full-focus .game-toolbar .focus-title{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto;min-width:0;max-width:min(46%,420px);text-align:right;line-height:1.15}.focus-title small{font-size:10px;font-weight:800;letter-spacing:.9px;text-transform:uppercase;color:var(--tool-ink);opacity:.75}.focus-title strong{font-size:15px;font-weight:800;color:var(--tool-ink);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:700px){.student-theme .game-world.full-focus .game-toolbar .focus-title{flex:1 1 90px;max-width:none;margin:0 2px 0 auto}.focus-title small{display:none}.focus-title strong{font-size:13px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}.result-modal{position:relative}.result-minimize{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 12px;border:solid #d9ccf1;border-width:2px 2px 4px;border-radius:14px;background:#fff;color:#5b3fa8;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.result-minimize:active{transform:translateY(2px);border-bottom-width:2px}.result-dock{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center;width:min(calc(100vw - 24px),640px);padding:10px 12px;border:2px solid #d9ccf1;border-radius:20px;background:#fffffff5;box-shadow:0 10px 30px #3b2a6b33}.result-dock>span{flex:1 1 160px;font-weight:800;color:#4a3590;font-size:14px}.result-dock .btn{min-height:44px;padding:8px 14px;font-size:14px}:root{--m-ease:cubic-bezier(.22,1,.36,1);--m-spring:cubic-bezier(.34,1.56,.64,1)}.student-theme [data-m]:not([data-m=in]){opacity:0;transform:translateY(20px) scale(.985)}.student-theme [data-m=in]{animation:m-rise .6s var(--m-ease) var(--md,0s) backwards}.student-theme .stat[data-m=in]{animation-name:m-pop;animation-timing-function:var(--m-spring)}.student-theme .level-card[data-m=in]{animation-duration:.55s}@keyframes m-rise{0%{opacity:0;transform:translateY(20px) scale(.985)}to{opacity:1;transform:none}}@keyframes m-pop{0%{opacity:0;transform:translateY(12px) scale(.88)}to{opacity:1;transform:none}}@keyframes m-fill{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes m-wiggle{0%,to{transform:rotate(-7deg)}30%{transform:rotate(-14deg) scale(1.08)}60%{transform:rotate(2deg) scale(1.04)}}.student-theme [data-m=in] .progress-track>span{transform-origin:left center;animation:m-fill .9s var(--m-ease) calc(var(--md,0s) + .25s) backwards}.student-theme .type-card[data-m=in] .type-icon{animation:m-wiggle .8s var(--m-ease) calc(var(--md,0s) + .35s) backwards}.student-theme .btn,.student-theme .event-card,.student-theme .level-card,.student-theme .stat,.student-theme .type-card{transition:transform .2s var(--m-ease),box-shadow .2s,background-color .2s,border-color .2s}@media(hover:hover){.student-theme .level-card:not(.locked):hover{transform:translateY(-4px);box-shadow:0 9px 0 #e4d8f3}.student-theme .event-card:hover{transform:translateY(-3px)}.student-theme .stat:hover{transform:translateY(-2px)}.student-theme .sidebar nav button:hover svg{transform:translateX(2px) scale(1.08)}}.student-theme .sidebar nav button svg{transition:transform .2s var(--m-ease)}.student-theme .btn:active,.student-theme .type-card:active{transform:translateY(2px) scale(.99)}.student-theme .level-card:not(.locked) .btn-primary{animation:m-breathe 2.8s ease-in-out infinite}@keyframes m-breathe{0%,to{box-shadow:0 0 0 0 #7455b800}50%{box-shadow:0 0 0 6px #7455b826}}.game-world[data-enter] .game-toolbar{animation:g-drop .5s var(--m-ease) backwards}.game-world[data-enter] .game-heading{animation:g-rise .55s var(--m-ease) .08s backwards}.game-world[data-enter] .active-clue{animation:g-rise .55s var(--m-ease) .16s backwards}.game-world[data-enter] .board-controls{animation:g-rise .55s var(--m-ease) .22s backwards}.game-world[data-enter] .clue-panel{animation:g-slide .6s var(--m-ease) .3s backwards}.game-world[data-enter] .board-photo-tools,.game-world[data-enter] .game-keyboard{animation:g-fade .5s ease .45s backwards}.game-world[data-enter] .cell{animation:cell-in .5s var(--m-spring) calc(var(--ci,0)*24ms + .16s) backwards}@keyframes g-drop{0%{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:none}}@keyframes g-rise{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes g-slide{0%{opacity:0;transform:translateX(22px)}to{opacity:1;transform:none}}@keyframes g-fade{0%{opacity:0}to{opacity:1}}@keyframes cell-in{0%{opacity:0;transform:scale(.4) rotate(-8deg)}to{opacity:1;transform:none}}.game-world .active-clue-copy{animation:clue-swap .32s var(--m-ease)}@keyframes clue-swap{0%{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}.game-world .cell{transition:background-color .18s,border-color .18s,box-shadow .18s}.game-world .cell-value:not(:empty){animation:letter-pop .22s var(--m-spring)}@keyframes letter-pop{0%{transform:scale(.4);opacity:.3}to{transform:none;opacity:1}}.game-world .board-submit-button:not(:disabled):not([aria-disabled=true]){animation:m-breathe 2.6s ease-in-out infinite}.modal-backdrop{animation:g-fade .25s ease}.result-modal.game-result{animation:r-pop .5s var(--m-spring)}@keyframes r-pop{0%{opacity:0;transform:translateY(24px) scale(.88)}to{opacity:1;transform:none}}.result-letter-tiles span{animation:r-tile .5s var(--m-spring) backwards}.result-letter-tiles span:nth-child(2){animation-delay:.08s}.result-letter-tiles span:nth-child(3){animation-delay:.16s}@keyframes r-tile{0%{opacity:0;transform:translateY(-22px) scale(.5)}}.result-stats .rs{animation:m-pop .5s var(--m-spring) backwards}.result-stats .rs:first-child{animation-delay:.3s}.result-stats .rs:nth-child(2){animation-delay:.38s}.result-stats .rs:nth-child(3){animation-delay:.46s}.result-stats .rs:nth-child(4){animation-delay:.54s}.result-icon{animation:m-pop .6s var(--m-spring) .15s backwards}.confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit}.confetti i{position:absolute;top:-12px;left:var(--x);width:9px;height:14px;border-radius:2px;background:var(--c);opacity:0;animation:confetti-fall 2.4s var(--m-ease) var(--dl) both}@keyframes confetti-fall{0%{opacity:1;transform:translateY(0) rotate(0)}to{opacity:0;transform:translate(var(--dx),520px) rotate(var(--rot))}}.result-dock{animation:g-rise .4s var(--m-ease)}@media(prefers-reduced-motion:reduce){.student-theme [data-m]{opacity:1!important;transform:none!important}.confetti,.game-world .board-submit-button,.student-theme .level-card .btn-primary{animation:none!important}.confetti{display:none}}