:root{--qm-lime:#d6fa77;--qm-purple:#bba4fa;--qm-mint:#5ce1d2;--qm-peach:#ffb36c}.qm-world{background:#151522;color:#fff9ed;border:2px solid #484363;border-radius:22px;padding:18px;margin-bottom:22px;box-shadow:0 6px 0 #10101b}.qm-worldhead{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:5px 3px 12px}.qm-worldhead h1{font-size:clamp(28px,5vw,44px);line-height:1.05;letter-spacing:-1.5px;margin:3px 0}.qm-worldhead span{font-size:14px;color:#c8c4dd}.qm-kicker,.qm-worldhead .qm-kicker{font-size:12px;font-weight:900;letter-spacing:1.5px;color:#8871c8}.qm-worldhead .qm-kicker{color:#d6fa77}.qm-stage{background:#252643;border:2px solid #57516f;border-radius:9px;overflow:hidden;margin-top:8px}.qm-stage canvas{display:block;width:100%;height:auto;image-rendering:pixelated;touch-action:none;cursor:pointer}.qm-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.qm-controls button{background:#353049;color:#fff9ed;box-shadow:0 3px 0 #10101b;touch-action:none}.qm-controls [data-enter]{background:#d6fa77;color:#242238}.qm-controls span{font-size:12px;color:#c8c4dd}.qm-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.qm-shortcuts a{display:inline-block;padding:8px 12px;background:#343149;border-radius:8px;color:#fff9ed;font-size:13px}.qm-shortcuts a:hover{background:#5742b6}.qm-event{border:2px solid #9780d4}.qm-option{border:2px solid var(--line);border-radius:12px;padding:12px;margin:0;cursor:pointer}.qm-option:focus-within{border-color:#8871c8}.qm-bar{background:#5d567944;border-radius:6px;height:14px;overflow:hidden;margin:5px 0}.qm-bar span{display:block;background:#8f72e5;height:100%;border-radius:6px}.qm-result{margin:12px 0}.qm-scene{position:relative;overflow:hidden;background:#302e49;isolation:isolate;border-radius:10px}.qm-scene>img:first-child{display:block;width:100%;height:auto}.qm-scene .qm-overlay{position:absolute;object-fit:cover;border:2px solid #fff9ed}.qm-caption{position:absolute;background:#fff9ed;color:#24243d;border:2px solid #24243d;border-radius:8px;font-size:clamp(10px,1.6vw,18px);font-weight:800;padding:5px 8px;overflow-wrap:anywhere;line-height:1.15}.qm-editor{min-height:200px}.qm-editor>img:not([src]){height:220px;visibility:hidden}.qm-editor .qm-overlay{background:#bba4fa;color:#24243d;display:grid;place-items:center;font-weight:800;touch-action:none;cursor:move}.qm-editor .qm-caption{touch-action:none;cursor:move}.qm-mystery{background:#1d1a30;color:#bba4fa;display:grid;place-items:center;font-size:70px;font-weight:900;height:110px;border-radius:10px}.qm-targets{padding:12px;border:1px solid var(--line);border-radius:10px}.qm-targets .grid{max-height:340px;overflow:auto}.qm-admin .jump{position:static}.qm-admin{border-top:5px solid #bba4fa}html[data-theme=dark]{color-scheme:dark;--ink:#fff9ed;--muted:#c4c2d9;--purple:#bba4fa;--paper:#151522;--line:#494460;--teal:#5ce1d2}html[data-theme=dark] body{background:#151522;color:#fff9ed}html[data-theme=dark] .panel,html[data-theme=dark] .quest,html[data-theme=dark] .mini,html[data-theme=dark] .stats>div,html[data-theme=dark] .roster-card,html[data-theme=dark] .focus-panel,html[data-theme=dark] .next-panel{background:#232338;color:#fff9ed;border-color:#494460;box-shadow:none}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:#18182c;color:#fff9ed;border-color:#666180}html[data-theme=dark] button{color:#242238;background:#d6fa77;box-shadow:0 3px 0 #78933b}html[data-theme=dark] button.quiet,html[data-theme=dark] .qm-controls button:not([data-enter]){background:#39344e;color:#fff9ed;box-shadow:none}html[data-theme=dark] .pill,html[data-theme=dark] .inlinecard,html[data-theme=dark] .add-box,html[data-theme=dark] .jump,html[data-theme=dark] .empty-state,html[data-theme=dark] .notice,html[data-theme=dark] .mascot-stage{background:#302c45;color:#fff9ed;border-color:#494460}html[data-theme=dark] .jump a{color:#bba4fa}html[data-theme=dark] .qm-kicker{color:#bba4fa}html[data-theme=dark] .qm-worldhead .qm-kicker{color:#d6fa77}html[data-theme=dark] .bubble{color:#242238}html[data-theme=dark] .hero p{color:#e0def4}html[data-theme=dark] .qm-caption{color:#242238}html[data-theme=dark] th{background:#302c45;color:#fff9ed}html[data-theme=dark] .qm-shortcuts a{color:#fff9ed}@media(max-width:650px){.qm-world{padding:10px}.qm-controls button{padding:8px 12px}.qm-worldhead h1{font-size:29px}.qm-controls span{flex-basis:100%}.qm-stage canvas{min-height:110px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.qm-level-pill{border:1px solid #6f8860;border-radius:999px;padding:6px 11px;color:#d6fa77!important;font-weight:900;letter-spacing:1px;white-space:nowrap}.qm-play>summary{font-size:14px;color:#d8d5eb}.qm-stage canvas:focus-visible{outline:3px solid #d6fa77;outline-offset:-4px}.qm-controls [data-enter]:hover{filter:brightness(1.08)}html[data-theme=dark] .quest.solo{border-left:5px solid #8dbaff}html[data-theme=dark] .quest.partner{border-left:5px solid #bba4fa}html[data-theme=dark] .quest.group{border-left:5px solid #ffb36c}html[data-theme=dark] .required-tag{border:1px solid #ffb36c;color:#ffb36c}html[data-theme=dark] .planned-tag{color:#d6fa77}html[data-theme=dark] .review-pending,html[data-theme=dark] .review-return{background:#302c45;color:#fff9ed}html[data-theme=dark] .success{color:#d6fa77}

/* Focused student navigation */
.qm-view-hidden{display:none!important}.qm-viewbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 14px;margin:0 0 14px;border:1px solid #8174a866;border-radius:14px;background:#25243b;color:#fff}.qm-viewbar a{color:#e4dcff;text-decoration:none;font-weight:700;font-size:.86rem}.qm-viewbar .qm-home{background:#d6fa77;color:#202039;padding:9px 13px;border-radius:9px}.qm-viewtitle{font-size:.9rem}.qm-viewlinks{display:flex;flex-wrap:wrap;gap:7px;width:100%}.qm-viewlinks a{padding:6px 10px;border:1px solid #8174a866;border-radius:8px}.qm-viewlinks a[aria-current=page]{background:#bba4fa;color:#151522}.qm-viewbar.qm-in-section{position:sticky;top:0;z-index:10}.qm-in-section .qm-viewlinks{display:none}.qm-viewbar a:focus-visible{outline:3px solid #5ce1d2;outline-offset:2px}html[data-theme=light] .qm-viewbar{background:#f0ebff;color:#24243d}html[data-theme=light] .qm-viewbar a:not(.qm-home){color:#49378d}html[data-theme=light] .qm-viewbar a[aria-current=page]{color:#151522}

.qm-focused-view > .grid,.qm-focused-view > .focus-grid{grid-template-columns:1fr}
