/* tedlala stylesheet delivery v498 */
/* /question-sets/redesign.css */
/* English Quest / fresh prototype UI. Shared by library, workshop and setup. */
@font-face{font-family:Quest;src:url('/assets/fonts/Jersey25-Regular.ttf') format('truetype');font-display:swap}
:root{color-scheme:light;--bg:#f6f4fa;--surface:#fff;--soft:#eee9f7;--text:#292238;--muted:#746b81;--line:#e3deec;--purple:#6742a2;--purple-hover:#533184;--on-purple:#fff;--gold:#e8be56;--gold-soft:#fff4d3;--gold-ink:#73511b;--success:#247554;--danger:#a9374d;--shadow:0 8px 30px #30224408;--radius:20px}
:root[data-theme=dark]{color-scheme:dark;--bg:#17131f;--surface:#231d2e;--soft:#30263e;--text:#f6f1fc;--muted:#b5a9c6;--line:#3d314e;--purple:#aa85e5;--purple-hover:#bd9bf0;--on-purple:#21132f;--gold:#e8be56;--gold-soft:#3d3020;--gold-ink:#f0ce7a;--success:#8dd9ad;--danger:#ffa2b0;--shadow:0 8px 30px #0002}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100dvh;background:var(--bg);color:var(--text);font:16px/1.55 system-ui,-apple-system,'Segoe UI',sans-serif}button,input,select,textarea{font:inherit}a{color:var(--purple);text-underline-offset:4px}button,a,input,select,textarea{touch-action:manipulation}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);font-weight:650;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}button:hover:not(:disabled),.button:hover{background:var(--soft);border-color:var(--purple)}button:active:not(:disabled),.button:active{transform:translateY(1px)}button:disabled{opacity:.45;cursor:not-allowed}.primary,.play-button{background:var(--purple);border-color:var(--purple);color:var(--on-purple)}.primary:hover:not(:disabled),.button.primary:hover,.play-button:hover{background:var(--purple-hover);border-color:var(--purple-hover)}.gold-button{background:var(--gold);border-color:var(--gold);color:#372615}.quiet{background:transparent}.small{min-height:36px;padding:7px 11px;font-size:14px}.danger,.error{color:var(--danger)}.success,.answer{color:var(--success)}:is(button,a,input,textarea,select,summary):focus-visible{outline:3px solid var(--purple);outline-offset:4px}h1[tabindex='-1']:focus,main[tabindex='-1']:focus{outline:none}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip-link{position:fixed;top:10px;left:10px;z-index:10000;transform:translateY(-180%);background:var(--surface);padding:12px 20px;border:2px solid var(--purple)}.skip-link:focus{transform:none}
h1,h2,h3{color:var(--text);line-height:1.17;letter-spacing:-.035em;margin:0 0 14px;font-weight:750}h1{font-size:clamp(30px,3.6vw,46px)}h2{font-size:24px}h3{font-size:18px}p{margin:0 0 14px;color:var(--muted)}small,.muted{color:var(--muted);font-size:15px}.eyebrow{font-size:14px;letter-spacing:.15em;text-transform:uppercase;font-weight:750;color:var(--purple);margin:0 0 12px}.game-type{font-family:Quest,system-ui;font-size:28px;letter-spacing:0}.actions,.title-row,.meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.title-row{justify-content:space-between}.grow{flex:1;min-width:0}.page-title{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 30px}.page-title p:last-child{margin:0}.page-title .eyebrow{margin-bottom:9px}.panel{padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);margin:0 0 22px;box-shadow:var(--shadow)}main{max-width:1220px;margin:0 auto;padding:42px 32px 64px}.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.layout.reverse{grid-template-columns:260px minmax(0,1fr)}.sidebar{align-self:start;position:sticky;top:24px}
/* Small, consistent navigation; the destination is always visible. */
.app-header{display:flex;align-items:center;gap:36px;min-height:80px;padding:12px max(28px,calc((100vw - 1156px)/2));background:var(--surface);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text);flex-shrink:0}.brand img{width:54px;height:44px;object-fit:contain}.brand-name{font-size:16px;font-weight:800;letter-spacing:-.04em;line-height:1.05}.brand-name span{display:block}.app-nav{display:flex;align-items:center;gap:6px;margin-right:auto}.app-nav a{padding:9px 12px;text-decoration:none;color:var(--muted);font-size:15px;font-weight:650;white-space:nowrap;border-radius:8px}.app-nav a:hover,.app-nav a[aria-current=page]{color:var(--purple);background:var(--soft)}.app-tools{display:flex;align-items:center;gap:14px}.theme-switch{display:flex;align-items:center;gap:2px;padding:3px;background:var(--bg);border:1px solid var(--line);border-radius:9px;flex-shrink:0}.theme-switch button{min-height:30px;min-width:32px;padding:4px;border:0;background:transparent;font-size:16px;color:var(--muted)}.theme-switch button[aria-pressed=true]{background:var(--surface);color:var(--purple);box-shadow:0 1px 5px #20102f13}.theme-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#account{display:flex;align-items:center;gap:8px;font-size:14px}#account button{min-height:36px;padding:7px 12px;font-size:14px}.account-name{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Launch: one featured game, smaller choices, and an honest three-step path. */
.launch-hero{position:relative;display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:20px;min-height:380px;padding:44px;border-radius:28px;background:#302046;color:#fff;overflow:hidden}.launch-hero::after{content:'';position:absolute;right:-80px;top:-130px;width:590px;height:590px;border-radius:50%;border:1px solid #b79ad429;pointer-events:none}.launch-copy{z-index:1;max-width:490px}.launch-hero .eyebrow{color:#eaca79}.launch-hero h1{font-size:clamp(44px,5.6vw,70px);line-height:1.02;letter-spacing:-.055em;color:#fff;margin-bottom:20px}.launch-hero p{color:#d1c4df;max-width:360px;font-size:16px}.launch-hero .actions{margin-top:28px}.launch-hero .primary{background:var(--gold);color:#382616;border-color:var(--gold)}.launch-hero .primary:hover{background:#f5d27b;border-color:#f5d27b}.launch-hero .hero-secondary{color:#eee5ff;background:transparent;border-color:#716084}.hero-party{position:relative;height:310px;display:flex;align-items:flex-end;justify-content:center;z-index:1}.hero-party::before{content:'';position:absolute;width:290px;height:230px;border-radius:50%;background:#49315e;bottom:13px}.hero-party img{position:absolute;width:68%;height:330px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 12px 4px #150e2333)}.hero-party .hero-one{left:-9%;bottom:-12px;transform:rotate(-8deg)}.hero-party .hero-two{left:19%;bottom:14px;z-index:2}.hero-party .hero-three{right:-18%;bottom:-16px;transform:rotate(7deg)}.party-star{position:absolute;color:#f0c665;font-size:27px;top:5px;left:25%}.party-star:last-child{top:70px;left:auto;right:0;font-size:18px}.hero-caption{position:absolute;bottom:22px;right:32px;color:#c5b4d7;font-size:14px;letter-spacing:.12em}.journey-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:28px 14px 34px}.journey-step{display:flex;gap:12px;align-items:center}.step-dot{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--gold-soft);color:var(--gold-ink);font-weight:800;font-size:15px;flex-shrink:0}.journey-step strong{font-size:15px}.journey-step p{font-size:14px;margin:2px 0 0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:20px 0}.section-heading h2{margin:0}.section-heading a{font-size:15px}.launch-links{display:grid;grid-template-columns:1fr 1fr;gap:20px}.launch-link{display:flex;align-items:center;gap:20px;padding:24px;border:1px solid var(--line);background:var(--surface);border-radius:18px;text-decoration:none;color:var(--text)}.launch-link:hover{border-color:var(--purple)}.launch-link h3{margin:0 0 5px}.launch-link p{font-size:15px;margin:0}.launch-link .link-icon{display:grid;place-items:center;width:52px;height:52px;background:var(--soft);color:var(--purple);border-radius:14px;font:32px Quest;flex-shrink:0}.link-arrow{margin-left:auto;color:var(--purple);font-size:22px}.home-recents{margin-top:30px}.library-recents{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.recent-card{padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:16px}.recent-card strong{display:block;line-height:1.4;margin-bottom:7px}.recent-card p{font-size:14px}.recent-card .actions{font-size:14px}.recent-card .button{font-size:14px;min-height:36px;padding:7px 10px}
/* Questions: compact cards, one useful search field, secondary filters. */
.collection-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin:0 0 24px;overflow:auto}.collection-tabs a{font-size:15px;font-weight:650;text-decoration:none;color:var(--muted);padding:0 0 12px;white-space:nowrap;border-bottom:3px solid transparent}.collection-tabs a[aria-current=page]{border-color:var(--purple);color:var(--purple)}.toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:0 0 18px}.search-panel{padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:16px;display:grid;grid-template-columns:minmax(180px,1fr) 145px 160px auto}.search-panel input{margin:0}.search-panel label{margin:0}.more-filters{grid-column:1/-1;margin:0}.more-filters summary{font-size:14px}.filter-fields{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding-top:14px}.search-panel>#clear-search{grid-column:4;grid-row:2;min-height:26px;padding:0;font-size:14px;border:0;justify-self:end}.quick-topics{display:none}.active-filters{display:flex;gap:8px;flex-wrap:wrap}.active-filters:has(button){margin:0 0 18px}.active-filters button{border:0;background:var(--soft);color:var(--purple)}.result-title p{font-size:14px;margin:0 0 16px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}.card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:border-color .15s,box-shadow .15s}.card:hover{border-color:#bca8d8;box-shadow:var(--shadow)}.card-top{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 0;gap:12px}.lesson-symbol{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--soft);color:var(--purple);font:25px Quest}.card-count{margin-left:auto;font-size:14px;color:var(--muted)}.favorite{font-size:21px;min-height:30px;padding:0 5px;border:0;background:transparent;color:var(--muted)}.favorite[aria-pressed=true]{color:var(--gold-ink)}.card-body{padding:16px 20px 20px;display:flex;flex:1;flex-direction:column}.card h3{font-size:18px;line-height:1.4;letter-spacing:-.02em;margin:10px 0}.card h3 a{text-decoration:none;color:var(--text)}.card-summary{font-size:15px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:16px}.card .byline{font-size:14px;margin-top:auto;margin-bottom:18px}.card-actions{display:flex;align-items:center;gap:8px}.card-actions .primary{flex:1;font-size:14px}.card-actions>a:not(.button){font-size:14px}.tag,.badge{display:inline-flex;font-size:14px;font-weight:650;padding:3px 8px;border-radius:5px;background:var(--soft);color:var(--purple);margin:0 5px 4px 0}.badge{background:var(--gold-soft);color:var(--gold-ink)}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:28px 0 0;font-size:14px}.pagination button{font-size:14px}.empty{border:1px dashed var(--line);border-radius:18px;padding:40px 24px;text-align:center;background:var(--surface)}.empty .guide{width:100px;height:90px;object-fit:contain}.empty h3{margin:10px 0}.empty p{font-size:15px}.empty .actions{justify-content:center}.custom-lesson-cover{background:var(--soft);border-radius:10px;overflow:hidden;position:relative}.custom-lesson-cover img{width:100%;object-fit:cover}.cover-topic{position:absolute;bottom:12px;left:12px;background:#302046;color:#fff;border-radius:6px;padding:4px 10px}.cover{height:120px;overflow:hidden}.cover img{width:100%;height:100%;object-fit:cover}.stepper{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px;font-size:14px}.stepper a{color:var(--muted)}.question-action-bar,.question-finder{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:14px;margin:20px 0}.question-action-bar input{flex:1;min-width:160px;margin:0}.question-action-bar select{width:200px;margin:0}.question-action-bar button,.question-action-bar .button{font-size:14px}.question-preview{padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--surface);margin-bottom:14px;scroll-margin-top:20px}.question-preview h3{font-size:17px;line-height:1.5;letter-spacing:0;margin:12px 0}.question-preview img{max-width:100%;max-height:250px;object-fit:contain}.question-preview .answer{margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}
/* Workshop: writing space first, details second. */
label{display:block;font-size:14px;font-weight:650;color:var(--text);margin-bottom:18px}input,select,textarea{display:block;width:100%;min-width:0;padding:11px 12px;margin-top:7px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text)}textarea{min-height:110px;resize:vertical}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}input[type=checkbox],input[type=radio]{width:auto;display:inline;margin:0 8px 0 0;accent-color:var(--purple)}input[type=range]{padding:0;accent-color:var(--purple)}.workshop-layout{grid-template-columns:minmax(0,1fr) 280px}.set-title-panel{padding:24px}.set-title-panel label{margin:0}.set-title-panel input{font-size:22px;letter-spacing:-.03em;padding:12px 0;border:0;border-radius:0;background:transparent;border-bottom:1px solid var(--line)}.workshop-layout .title-row h2{font-size:18px;margin:0}.workshop-layout .title-row{margin-bottom:20px}.workshop-layout .title-row .actions{gap:6px}.workshop-layout .title-row button{font-size:14px}.question-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-top:1px solid var(--line)}.number{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border-radius:50%;background:var(--soft);color:var(--purple);font-size:14px;font-weight:750}.question-row strong{font-size:15px;overflow-wrap:anywhere}.question-row p{font-size:14px;margin:4px 0 0}.question-row .actions{gap:4px}.question-row button{padding:5px 7px;font-size:14px;min-height:30px}.thumb{width:54px;height:50px;flex-shrink:0}.thumb img{width:100%;height:100%;object-fit:contain}.set-details{margin:0 0 24px}.set-details[open] summary{margin-bottom:20px}summary{cursor:pointer;color:var(--purple);font-weight:650}.sidebar h3{font-size:15px}.sidebar .panel{padding:22px}.sidebar .muted{font-size:14px}.sidebar #preview-draft{width:100%;margin:8px 0 16px}.media-well{border:1px dashed var(--line);border-radius:12px;background:var(--bg);padding:16px;margin:12px 0;text-align:center}.media-well img{max-width:100%;max-height:180px;object-fit:contain}.default-cover-preview{height:100px;overflow:hidden}.sticky-actions{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;padding:16px 20px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 30px #20102f12}.sticky-actions #save-state{font-size:14px;color:var(--muted)}.sticky-actions button{font-size:14px}.sticky-actions .actions{gap:8px}.saved-next-actions{display:flex;gap:10px;align-items:center;margin-bottom:20px;font-size:14px}.saved-next-actions .button{font-size:14px}
/* Dialogs and full question authoring retain all existing tools. */
dialog{width:min(860px,calc(100vw - 32px));max-height:92dvh;overflow:auto;border:1px solid var(--line);border-radius:22px;background:var(--surface);color:var(--text);padding:28px;box-shadow:0 24px 90px #170e3340}dialog::backdrop{background:#1a10266b;backdrop-filter:blur(5px)}.dialog-top,.dialog-heading,.set-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 24px}.dialog-top h2,.dialog-heading h2,.set-picker-heading h2{font-size:23px;margin:0}.dialog-top button{padding:5px 12px;min-height:36px}.question-dialog{width:min(1080px,calc(100vw - 32px))}.question-editor-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:36px}.student-preview{padding:24px;background:var(--soft);border:1px solid var(--line);border-radius:16px;align-self:start}.student-preview h3{font-size:14px}.student-preview .actions{gap:6px;margin-bottom:20px}.student-preview .student-options{display:grid;gap:8px}.student-preview .student-options span{padding:10px;background:var(--surface);border-radius:8px}.student-preview .student-answer{padding:12px;border:1px solid var(--success);color:var(--success);border-radius:9px;margin-top:18px}.student-preview img{max-width:100%;max-height:180px;object-fit:contain}.student-preview .device-small{max-width:280px;margin:auto}.student-preview .muted{font-size:14px;margin-top:16px}.question-footer{display:flex;align-items:center;gap:12px;justify-content:flex-end;padding-top:20px;margin-top:24px;border-top:1px solid var(--line)}.question-footer>span{margin-right:auto;font-size:14px}.question-footer button{font-size:14px}.options{display:grid;gap:10px;margin:16px 0}.option{display:flex;gap:10px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:10px}.option label,.option input{margin:0}.option:has(input:checked){background:var(--soft);border-color:var(--purple)}.active-choice{color:var(--purple);font-size:14px}.inline-media{padding:18px;background:var(--bg);border-radius:12px;margin:16px 0}.media-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.media-grid button{padding:0;overflow:hidden}.media-grid img{width:100%;height:120px;object-fit:cover}.tabs{display:flex;gap:8px;margin:0 0 18px}.tabs .active{background:var(--purple);color:var(--on-purple)}.drop-zone{padding:24px;border:2px dashed var(--line);border-radius:12px}.drop-zone.dragover{border-color:var(--purple);background:var(--soft)}.giphy-attribution img,.giphy-credit img{width:130px;height:auto}.giphy-credit{display:block}.student-preview-dialog{width:min(1100px,96vw)}.student-preview-dialog iframe{display:block;width:100%;height:55dvh;border:1px solid var(--line);border-radius:12px}.student-preview-dialog .actions{margin-bottom:16px}.student-preview-dialog label{margin:0}.student-preview-dialog select{width:auto}.table-wrap,.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:10px;border-bottom:1px solid var(--line);font-size:14px}td textarea{min-width:160px}.alert{background:var(--gold-soft);color:var(--gold-ink);border:1px solid var(--gold);padding:14px 18px;border-radius:10px;margin:16px 0}.busy-bar{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:3000;background:var(--purple);color:var(--on-purple);padding:10px 18px;border-radius:40px;font-size:14px}#toast{position:fixed;bottom:24px;right:24px;max-width:calc(100vw - 48px);background:var(--text);color:var(--surface);padding:14px 22px;border-radius:12px;z-index:4000;box-shadow:var(--shadow);font-size:15px}.success-mascot{width:32px;height:32px;object-fit:contain;vertical-align:middle;margin-right:8px}
/* Other launch modes are intentionally quieter than Crown Rush. */
.mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.mode-card{overflow:hidden;display:flex;flex-direction:column;padding:0;margin:0}.mode-card.featured{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;background:#302046;color:#fff;border:0}.mode-art{width:100%;height:170px;object-fit:cover}.featured .mode-art{height:100%;min-height:280px}.mode-body{padding:26px;display:flex;flex:1;flex-direction:column;align-items:flex-start}.mode-body h2{font-size:23px}.mode-body p{font-size:15px}.mode-body>.button,.mode-body>button{margin-top:auto;font-size:15px}.mode-card.featured h2{font-size:36px;color:#fff}.mode-card.featured p{color:#d6c9e2}.mode-card.featured .eyebrow{color:#f0ce7a}.mode-card.featured .primary{background:var(--gold);border-color:var(--gold);color:#382616}.mode-card.featured .badge,.mode-card.featured .tag{background:#4d3b63;color:#f2e7ff}.presentation{max-width:980px;text-align:center;margin:auto}.presentation h1{font-size:clamp(26px,3.5vw,42px);line-height:1.35;margin:20px 0 28px}.presentation>.panel{padding:38px}.presentation img{max-width:100%;max-height:30vh;object-fit:contain}.progress{height:5px;border-radius:6px;overflow:hidden;background:var(--line);margin:22px 0}.progress span{display:block;background:var(--gold);height:100%}.presentation .title-row{font-size:14px}.presentation .title-row p{margin:0}body.is-presenting>.app-header{display:none}
/* Game setup uses the same shell, with numbered steps instead of extra navigation. */
.setup-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.setup-heading h1{margin-bottom:8px}.setup-heading p{margin:0}.setup-help{border-radius:50%;width:40px;min-height:40px;padding:0}.setup-steps{display:flex;align-items:center;gap:12px;margin:0 0 30px;color:var(--muted);font-size:14px}.setup-steps a,.setup-steps strong{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--muted);font-weight:600}.setup-steps strong{color:var(--purple)}.setup-steps b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--soft);color:var(--purple);font-size:14px}.setup-steps strong b{background:var(--purple);color:var(--on-purple)}.setup-steps>span{color:var(--line)}.set-strip{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);padding:18px 20px;border-radius:14px;margin-bottom:28px}.set-strip #set-name{font-weight:650;font-size:14px;flex:1;min-width:160px}.set-strip #set-count{font-size:14px;color:var(--muted)}.set-strip a{font-size:14px}.question-demand{flex-basis:100%;font-size:14px;color:var(--muted)}.player-count{display:flex;align-items:center;gap:16px;margin-bottom:24px}.player-count .eyebrow{margin:0;color:var(--text);letter-spacing:0;text-transform:none;font-size:14px}.player-count>div{display:flex;gap:6px}.player-count button{width:40px;min-height:38px;padding:5px;font-size:14px}.player-count button[aria-pressed=true]{background:var(--purple);border-color:var(--purple);color:var(--on-purple)}.player-count output{font-size:14px;color:var(--muted);margin-left:auto}.teams{display:grid;grid-template-columns:repeat(var(--players,4),minmax(0,1fr));gap:18px}.team-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:18px;overflow:hidden;min-width:0}.team-number{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:750;letter-spacing:.08em;color:var(--muted)}.team-number::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--team)}.pick-hero{display:flex;flex-direction:column;align-items:center;width:100%;border:0;background:transparent;padding:8px 0 16px;gap:3px}.pick-hero:hover:not(:disabled){background:var(--soft);border:0}.selection-sprite{width:100%;height:170px;object-fit:contain;image-rendering:pixelated;pointer-events:none}.hero-label{font-size:14px;font-weight:700;margin:6px 0 0}.edit-look{font-size:14px;color:var(--purple);font-weight:500}.team-card label{font-size:14px;color:var(--muted);margin-bottom:5px}.team-card input{font-size:15px;margin:0;padding:9px 10px}.team-card .selection-sprite[data-overscan=true]{transform:scale(1.4)}.match-controls{display:flex;justify-content:space-between;gap:24px;align-items:center;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:20px 24px;margin-top:24px}.match-controls .eyebrow{font-size:14px;margin-bottom:8px}.speeds{display:flex;gap:6px}.speeds button{font-size:14px;padding:8px 13px;min-height:36px}.speeds button[aria-pressed=true]{background:var(--soft);color:var(--purple);border-color:var(--purple)}.objective strong{display:block;font-size:14px}.objective span{display:block;font-size:14px;color:var(--muted);margin-top:4px}.setup footer{display:flex;align-items:center;gap:10px;margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}.setup footer #start{margin-left:auto;min-width:170px}.setup footer button{font-size:15px}#status{font-size:15px;color:var(--gold-ink)}#status:empty{display:none}.option-row{display:grid;grid-template-columns:100px 1fr 45px;align-items:center;gap:12px;margin:24px 0}.check-row{display:flex;align-items:center;gap:8px}.hint{font-size:14px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}#options-dialog,#help-dialog,#replace-dialog{max-width:560px}#help-dialog p{font-size:14px}.set-picker-heading h2{font-size:22px}#question-picker{width:min(1160px,96vw);height:92dvh;overflow:hidden}#question-picker iframe{border:0;width:100%;height:calc(100% - 100px);border-radius:12px;background:var(--bg)}#question-picker-status,#picker-status{font-size:14px}
/* A hero gallery with names, ownership badges, and room for the pixel art. */
html:has(#picker[open]),body:has(#picker[open]){overflow:hidden}#picker{position:fixed;inset:0;margin:auto;width:min(1100px,96vw);height:min(880px,94dvh);max-height:94dvh;padding:26px 30px;overflow:hidden}#picker[open]{display:grid;grid-template-rows:auto minmax(0,1fr);gap:18px}.picker-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}#character-heading{font-size:26px;margin:0}.picker-header .eyebrow{font-size:14px;margin:0 0 6px}.picker-controls,.picker-top{display:flex;align-items:center;gap:8px}.picker-controls button{font-size:14px}.picker-top .icon-button{padding:5px;width:32px;min-height:36px;font-size:20px}.picker-top h2{font-size:15px;margin:0;min-width:58px;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.hero-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:12px;min-height:0}.hero-option{display:grid;grid-template-rows:minmax(0,1fr) auto 18px;gap:3px;padding:8px;border:1px solid transparent;min-width:0;min-height:0;background:var(--bg);overflow:visible;border-radius:14px}.hero-option:hover:not(:disabled){background:var(--soft)}.hero-option[aria-pressed=true]{border:2px solid var(--purple);background:var(--soft)}.hero-option .selection-sprite{height:100%;min-height:0;width:100%;display:block}.hero-number{font-size:14px;font-weight:650;text-align:center;line-height:1.25;position:relative;z-index:1}.hero-option .owner{font-size:14px;color:var(--muted);font-weight:500;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hero-option.assigned .owner{color:var(--text);text-decoration:underline;text-decoration-color:var(--owner);text-decoration-thickness:3px;text-underline-offset:3px}.hero-option .selection-sprite.has-attack{transform:scale(1.3);transform-origin:center;pointer-events:none}.hero-option .selection-sprite[data-overscan=true]{transform:scale(2.3)}
/* Stage choice is part of the launch flow, with playable content first. */
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.set-summary{font-size:14px;max-width:350px;margin:0}.stage-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:24px}.stage{padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--surface);display:flex;flex-direction:column;align-items:stretch}.stage-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.stage-number{font-size:14px;font-weight:650;color:var(--muted)}.stage h2{margin:18px 0 6px;font-size:28px}.stage-logo{display:none}.map-preview{display:block;position:relative;aspect-ratio:16/9;padding:0;border:0;border-radius:12px;overflow:hidden;margin:14px 0}.map-preview img{width:100%;height:100%;object-fit:cover}.map-preview span{position:absolute;bottom:10px;right:10px;font-size:14px;border-radius:6px;padding:5px 8px;background:#21172dd9;color:#fff}.stage-copy{flex:1;padding:10px 0 24px}.stage-copy p{font-size:14px;line-height:1.6}.stage-facts{display:flex;gap:12px;flex-wrap:wrap;font-size:14px;color:var(--muted)}.stage .badge.available{background:var(--soft);color:var(--purple)}.stage.lava{background:var(--bg)}.stage.lava .map-preview{opacity:.85}.stage .play-button,.stage .concept-button{font-size:15px}.footer-note{font-size:14px;text-align:center;margin-top:24px}#full-map,.concept-hero{width:100%;max-height:65dvh;object-fit:contain;border-radius:12px}.concept-details{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:22px}.concept-details h3{font-size:18px}.concept-details p{font-size:15px}.concept-hero{max-height:35dvh}.proposal{font-size:14px;color:var(--gold-ink)}.noscript{text-align:center}.is-picker>.app-header,.is-picker>.skip-link{display:none}.is-picker main{padding:24px;max-width:none}.is-picker .page-title>.button{display:none}.is-picker .card-actions>a:not([data-pick-set]){display:none}.is-picker .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1050px){.app-header{gap:18px;padding:12px 24px}.app-nav a{padding:8px;font-size:14px}.brand-name{display:none}.app-tools{gap:8px}.launch-hero{padding:32px}.hero-party{height:290px}.grid,.library-recents{grid-template-columns:repeat(2,minmax(0,1fr))}.workshop-layout{grid-template-columns:minmax(0,1fr) 250px}.question-row{flex-wrap:wrap}.question-row .actions{margin-left:40px}.mode-grid{grid-template-columns:1fr 1fr}.mode-card.featured{grid-column:1/-1}.teams{gap:12px}.team-card{padding:14px}.selection-sprite{height:145px}.picker-header{flex-wrap:wrap}#picker{padding:22px}.hero-number{font-size:14px}}
@media(max-width:760px){main{padding:28px 20px 50px}.app-header{padding:10px 20px;display:grid;grid-template-columns:1fr auto;gap:12px}.brand-name{display:block;font-size:14px}.brand img{width:42px;height:36px}.app-nav{grid-column:1/-1;grid-row:2;justify-content:space-between;width:100%;gap:4px}.app-nav a{padding:7px 10px}.app-tools{grid-column:2;grid-row:1}.theme-switch button{min-height:28px;min-width:28px}.theme-switch{gap:0}#account{gap:5px}#account button{font-size:14px;padding:6px 9px}.page-title{align-items:flex-start;gap:16px}.page-title>.button{font-size:14px;padding:8px 12px;white-space:nowrap}.page-title h1{font-size:30px}.page-title p{font-size:15px}.launch-hero{grid-template-columns:1fr;min-height:0;padding:30px;gap:12px}.launch-hero h1{font-size:50px;max-width:420px}.launch-hero p{font-size:14px}.hero-party{height:220px;width:min(420px,100%);justify-self:center}.hero-party img{height:220px}.hero-party::before{height:180px;width:260px}.hero-party .hero-one{left:0}.hero-party .hero-two{left:25%;bottom:10px}.hero-party .hero-three{right:-9%}.hero-caption{display:none}.journey-steps{gap:10px;padding:24px 0}.journey-step{align-items:flex-start;gap:8px}.journey-step strong{font-size:14px}.journey-step p{font-size:14px}.step-dot{width:24px;height:24px;font-size:14px}.launch-links{gap:12px}.launch-link{padding:18px;gap:12px}.launch-link h3{font-size:15px}.launch-link p{font-size:14px}.launch-link .link-icon{display:none}.layout,.layout.reverse,.workshop-layout{grid-template-columns:1fr}.sidebar{position:static}.search-panel{grid-template-columns:1fr 1fr}.search-panel>#query{grid-column:1/-1}.search-panel>#submit-search{grid-column:1/-1}.search-panel>#clear-search{grid-row:auto;grid-column:2}.filter-fields{grid-template-columns:1fr 1fr}.more-filters{grid-column:1}.grid{gap:14px}.card-body,.card-top{padding-left:16px;padding-right:16px}.card h3{font-size:16px}.collection-tabs{gap:20px}.collection-tabs a{font-size:14px}.mode-body{padding:22px}.mode-card.featured{grid-template-columns:1fr}.featured .mode-art{height:200px;min-height:0}.question-editor-grid{grid-template-columns:1fr}.student-preview{margin-top:10px}.question-footer{flex-wrap:wrap}.question-footer>span{flex-basis:100%}.sticky-actions{position:static;flex-wrap:wrap}.sticky-actions .actions{flex-wrap:wrap}.sticky-actions button{font-size:14px}.media-grid{grid-template-columns:repeat(3,1fr)}.stage-grid{grid-template-columns:1fr}.page-heading{display:block}.set-summary{margin-top:14px;max-width:none}.teams{grid-template-columns:repeat(2,minmax(0,1fr))}.selection-sprite{height:165px}.match-controls{flex-direction:column;align-items:flex-start;gap:16px}.objective{border-top:1px solid var(--line);padding-top:16px;width:100%}.setup footer{flex-wrap:wrap}.setup footer #start{flex:1}.setup footer button{font-size:14px}.setup-steps{gap:8px;font-size:14px}.setup-steps b{width:20px;height:20px}.set-strip{padding:16px}.set-strip #set-name{flex-basis:100%}.set-strip a{margin-left:auto}.player-count{gap:10px}.player-count output{font-size:14px}.concept-details{grid-template-columns:1fr}#picker{width:100vw;height:100dvh;max-height:100dvh;max-width:none;border-radius:0;padding:20px 14px;gap:14px}#character-heading{font-size:23px}.picker-header{gap:14px;padding-bottom:14px}.picker-controls{width:100%;justify-content:space-between}.hero-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:7px}.hero-option{padding:5px;grid-template-rows:minmax(0,1fr) auto 16px;gap:2px}.hero-number{font-size:14px}.hero-option .owner{font-size:14px;line-height:16px}.is-picker .grid{grid-template-columns:1fr 1fr}.is-picker main{padding:18px}.student-preview-dialog{padding:18px}.student-preview-dialog .actions{gap:7px}.student-preview-dialog .actions label{flex:1}}
@media(max-width:480px){main{padding:24px 16px 40px}.app-header{padding:10px 16px;gap:8px}.brand-name{display:none}.app-nav a{font-size:14px}.app-tools{gap:8px}.launch-hero{padding:26px 24px}.launch-hero h1{font-size:45px}.launch-hero .actions{gap:8px;margin-top:22px}.launch-hero .button{font-size:14px;padding:10px 12px}.hero-party{height:185px}.hero-party img{height:190px}.hero-party::before{height:150px;width:220px}.journey-steps{grid-template-columns:1fr;gap:12px;padding:24px 6px}.journey-step{align-items:center;gap:12px}.journey-step strong{font-size:14px}.journey-step p{font-size:14px}.launch-links,.grid,.library-recents,.mode-grid{grid-template-columns:1fr}.mode-card.featured{grid-column:auto}.page-title{flex-wrap:wrap}.page-title h1{font-size:28px}.card h3{font-size:18px}.card-body{padding:14px 20px 20px}.card-top{padding:18px 20px 0}.card-summary{font-size:15px}.panel{padding:20px}.collection-tabs{gap:18px}.collection-tabs a{font-size:14px}.media-grid{grid-template-columns:1fr 1fr}.split{grid-template-columns:1fr}.question-footer button{flex:1}.question-action-bar select{width:100%}.question-row .actions{margin-left:40px;flex-basis:100%}.question-row .grow{flex-basis:calc(100% - 40px)}.question-row strong{font-size:14px}.setup-heading h1{font-size:28px}.setup-steps{font-size:14px}.setup-steps b{display:none}.selection-sprite{height:135px}.team-card{padding:12px}.hero-label{font-size:14px}.setup footer #random{display:none}.setup footer #start{flex-basis:100%;margin:0}.player-count output{display:none}#question-picker{width:100vw;max-width:none;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:18px 10px}#question-picker .dialog-heading{margin-bottom:12px;padding:0 6px}#question-picker .dialog-heading h2{font-size:20px}#question-picker iframe{height:calc(100% - 90px)}.is-picker main{padding:16px 12px}.is-picker .page-title{margin-bottom:18px}.is-picker .page-title h1{font-size:25px}.is-picker .grid{grid-template-columns:1fr}.concept-details{gap:12px}dialog{padding:20px;border-radius:16px}.dialog-top h2{font-size:20px}.presentation>.panel{padding:22px}.presentation .title-row{gap:8px}.presentation .title-row .muted{display:none}}
@media(max-height:570px) and (min-width:761px){#picker{padding:16px}.picker-header{padding-bottom:10px}#character-heading{font-size:20px}.hero-grid{gap:6px}.hero-option{padding:4px}.hero-number{font-size:14px}.hero-option .owner{font-size:14px}.hero-option{grid-template-rows:minmax(0,1fr) auto 14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Full-height centered portraits, with a stable number in every hero tile. */
.hero-option{position:relative;display:block;padding:0;overflow:hidden}
.hero-option .selection-sprite{height:100%;width:100%;transform:none!important}
.hero-number{position:absolute;top:8px;left:10px;display:grid;place-items:center;min-width:34px;min-height:34px;padding:3px 8px;border-radius:9px;background:var(--purple);color:var(--on-purple);font:800 23px/1.1 system-ui;box-shadow:0 2px 7px #21132f20}
.hero-option .owner{position:absolute;bottom:7px;right:8px;max-width:calc(100% - 16px);font-size:14px;line-height:1.3;background:var(--surface);border-radius:6px;padding:3px 7px}
.hero-option .owner:empty{display:none}
.hero-label{font-size:22px;line-height:1.2;color:var(--purple)}
.team-card .selection-sprite[data-overscan=true]{transform:none}
.selection-sprite{height:200px}
.collection-tabs{flex-wrap:wrap;row-gap:10px}
.picker-controls{flex-wrap:wrap}.setup-steps{flex-wrap:wrap}
@media(max-width:760px){.hero-number{font-size:21px;min-width:30px;min-height:30px;top:5px;left:6px}.selection-sprite{height:180px}.app-nav a{padding-inline:7px}.picker-header .eyebrow{margin-bottom:4px}}
@media(max-width:480px){.selection-sprite{height:160px}.hero-number{font-size:20px}.hero-option .owner{font-size:14px}.collection-tabs{gap:14px}.picker-controls{gap:5px}.picker-controls button{padding:8px 10px}.setup footer #random{display:inline-flex}}

small{font-size:14px;line-height:1.5}

/* /question-sets/account.css */
body > header #account { display:flex; align-items:center; gap:10px; max-width:320px; flex-wrap:wrap; }
.account-name { max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.email-autocomplete { position:relative; min-width:0; }
.account-email-field { display:grid; gap:7px; min-width:0; }
.account-panel .account-email-field > label { margin:0; font-size:17px; }
.account-panel .email-suggestions { position:absolute; top:calc(100% + 6px); left:0; right:0; z-index:30; list-style:none; margin:0; padding:4px; max-height:260px; overflow:auto; overscroll-behavior:contain; background:var(--surface,#fff); color:var(--text,#263443); border:1px solid var(--line,#dce2e8); border-radius:12px; box-shadow:0 8px 24px #18203926; }
.account-panel .email-suggestions[hidden] { display:none; }
.account-panel .email-suggestions li { min-height:44px; padding:11px 12px; font-size:16px; line-height:1.4; overflow-wrap:anywhere; cursor:pointer; border-radius:7px; }
.account-panel .email-suggestions li + li { border-top:1px solid var(--line,#dce2e8); }
.account-panel .email-suggestions li:hover,.account-panel .email-suggestions li[aria-selected=true] { background:var(--soft,#ecf0f5); color:var(--text,#263443); }
body #app > .account-panel { width:min(100%,480px); margin:28px auto; padding:28px 34px; }
.account-logo { display:block; width:120px; height:80px; object-fit:contain; margin:0 auto 16px; }
.account-panel h1 { font-size:38px; line-height:1.1; margin:8px 0 12px; }
.account-panel > .eyebrow, .account-panel > h1, .account-panel > p { text-align:center; }
.account-panel > p { line-height:1.5; }
.account-panel form { display:grid; gap:16px; margin-top:18px; }
.account-panel form > label:not(.password-toggle) { display:grid; gap:7px; font-size:17px; margin:0; }
.account-panel form input:not([type=checkbox]) { width:100%; min-height:46px; font:16px system-ui,sans-serif; padding:11px 13px; margin:0; }
.account-panel .password-toggle { display:flex; align-items:center; gap:9px; font-size:14px; cursor:pointer; margin:0; }
.account-panel .password-toggle input { width:18px; height:18px; margin:0; }
.account-panel .account-help { font-size:15px; line-height:1.5; margin:0; }
.account-panel #google-availability { margin-top:10px; }
.account-panel .account-submit { width:100%; }
.account-panel .google-login { display:flex; justify-content:center; align-items:center; gap:12px; width:100%; margin-top:0; font:500 15px system-ui,sans-serif; }
.account-panel .google-letter { font:bold 21px system-ui,sans-serif; }
.account-panel .google-login.unavailable { opacity:.6; cursor:not-allowed; box-shadow:none; transform:none; }
.account-divider { display:flex; align-items:center; gap:12px; margin:20px 0; font-size:15px; opacity:.8; }
.account-divider::before,.account-divider::after { content:''; height:1px; flex:1; background:currentColor; opacity:.25; }
body .account-panel .account-link { display:inline; background:none; border:0; box-shadow:none; min-height:0; padding:4px; color:inherit; font:inherit; text-decoration:underline; }
.account-alternate { margin:24px 0 12px; font-size:14px; }
.account-back { display:block; text-align:center; font-size:15px; color:inherit; }
.account-panel #account-error { margin:0; font-size:14px; line-height:1.5; }
@media(max-width:760px) { body > header #account { max-width:100%; gap:7px; } body #app > .account-panel { padding:24px; margin:10px auto; } }
@media(max-width:420px) { body > header #account { margin-left:auto; } .account-name { max-width:100px; } }

/* Curated character profiles */
.account-name{display:inline-flex;align-items:center;gap:.6rem}.account-avatar{width:36px;height:36px;object-fit:cover;border-radius:10px;flex-shrink:0}body #app > .account-panel:has(.avatar-picker){width:min(100%,680px);max-width:680px}.profile-heading{display:flex;gap:1.25rem;align-items:center;text-align:left;margin-bottom:1.5rem}.profile-heading h1{font-size:clamp(1.6rem,4vw,2.4rem);overflow-wrap:anywhere}.profile-heading p{margin:.35rem 0}.profile-avatar{width:96px;height:96px;border-radius:22px;object-fit:cover;flex-shrink:0}.avatar-picker{border:0;padding:0;margin:1.5rem 0;text-align:left;min-width:0}.avatar-picker legend{font-size:1.1rem;font-weight:700;margin-bottom:.8rem}.avatar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.avatar-option{position:relative;display:flex!important;flex-direction:column;align-items:center;gap:.4rem;cursor:pointer;padding:.5rem;border:2px solid transparent;border-radius:18px;margin:0!important;min-width:0;background:color-mix(in srgb,var(--ink,#271d42) 4%,transparent)}.account-panel .avatar-option input[type=radio]{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0;clip-path:inset(50%)}.avatar-option img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:12px;image-rendering:auto}.avatar-option:has(input:checked){border-color:#bc8b24;background:color-mix(in srgb,#e6b848 15%,transparent)}.avatar-option:has(input:focus-visible){outline:3px solid #8c65cf;outline-offset:3px}.profile-actions{display:flex;gap:.75rem;flex-wrap:wrap}.profile-panel #profile-status{min-height:1.5em;margin-bottom:0}@media(max-width:480px){.avatar-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}.avatar-option{padding:.3rem}.profile-heading{align-items:flex-start;gap:.8rem}.profile-avatar{width:72px;height:72px}}

.byline:has(.byline-avatar){display:flex;align-items:center;gap:.5rem}.byline-avatar{width:28px;height:28px;border-radius:8px;object-fit:cover;flex-shrink:0}

.account-name{justify-content:flex-start}.account-name>span{overflow:hidden;text-overflow:ellipsis;min-width:0}@media(max-width:420px){body #account .account-name{width:48px;max-width:48px;padding:5px;justify-content:center}body #account .account-name>span{display:none}}

.account-panel .account-requirement{font-size:17px;line-height:1.55}.account-panel .account-return{padding:12px 16px;margin:16px 0;border-left:3px solid var(--gold,#d6b760);border-radius:8px;background:color-mix(in srgb,var(--gold,#d6b760) 12%,transparent);font-size:16px;line-height:1.5}

/* /question-sets/panorama.css */
.home-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}
.home-heading h1{margin:0;font-size:32px}.home-heading>a{font-size:15px;white-space:nowrap}
.panorama{position:relative;border:1px solid var(--line);border-radius:28px;overflow:hidden;background:#241736;box-shadow:var(--shadow)}
.panorama-stage{position:relative;width:100%;height:400px}
.panorama-slide{position:absolute;inset:0;overflow:hidden;color:#fff;text-decoration:none;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .65s ease,visibility .65s}
.panorama-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.panorama-slide:focus-visible{outline:3px solid var(--gold);outline-offset:-5px}
.panorama-wallpaper,.panorama-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.panorama-video{opacity:0;transition:opacity 1.2s ease-in-out;pointer-events:none}.is-previewing .panorama-video{opacity:1}
.panorama-slide::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#170d2ded,transparent 80%);pointer-events:none}
.panorama-copy{position:absolute;z-index:2;bottom:60px;left:64px;right:64px;pointer-events:none}
.panorama-copy h2{font:clamp(42px,6vw,68px)/.95 Quest,system-ui;color:#fff;letter-spacing:0;margin:8px 0 12px;text-shadow:0 2px 10px #170d2d60}
.panorama-copy p{color:#f0e9fb;font-size:15px;margin:0;max-width:460px}.panorama-copy .eyebrow{color:#f2d382;font-size:14px}


.panorama .panorama-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:52px;min-height:64px;padding:0;border:0;border-radius:0;background:transparent;color:#fff;font:60px/1 system-ui;box-shadow:none;transition:none;text-shadow:0 1px 5px #170d2d80}
.panorama-arrow[data-prev]{left:12px}.panorama-arrow[data-next]{right:12px}
.panorama .panorama-arrow:is(:hover,:active){background:transparent;color:#fff;border:0;transform:translateY(-50%);box-shadow:none;transition:none}
.panorama-dots{position:absolute;z-index:3;bottom:10px;left:50%;transform:translateX(-50%);display:flex;gap:0}
.panorama-dots button{display:grid;place-items:center;width:40px;min-height:40px;padding:0;border:0;background:transparent;box-shadow:none;border-radius:50%}
.panorama-dots button::after{content:'';width:8px;height:8px;border-radius:50%;background:#ffffff80;box-shadow:0 0 0 1px #21152d66;transition:background .2s,transform .2s}
.panorama-dots button[aria-pressed=true]::after{background:#f2d382;transform:scale(1.4)}
.panorama .panorama-dots button:hover{background:transparent}.panorama-dots button:hover::after{background:#fff}.panorama button:focus-visible{outline:2px solid #f2d382;outline-offset:0}
.create-panorama{background:radial-gradient(ellipse at 70% 35%,#8561b5,#4e3272 58%,#2c1b43)}
.create-panorama::before{content:'';position:absolute;width:60%;aspect-ratio:1;border:1px solid #f0cc7933;border-radius:50%;right:0;top:-50%}



.home-links{display:flex;justify-content:flex-end;gap:24px;padding:24px 4px 0}.home-links a{font-size:15px}
.games-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.game-tile{display:block;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--text);text-decoration:none;box-shadow:var(--shadow);transition:transform .2s,border-color .2s}

.game-tile-art{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#241736}
.game-tile-copy{padding:22px 24px}.game-tile-copy h2{margin:0 0 6px;font-size:25px;color:var(--text)}.game-tile-copy p{margin:0;color:var(--muted);font-size:14px}.game-tile-copy .badge{margin-bottom:12px}
.game-placeholder{display:grid;place-items:center;background:radial-gradient(ellipse at center,#745798,#2b1a42);position:relative;overflow:hidden}
.game-placeholder svg{width:38%;height:70%;color:#eccb7f;filter:drop-shadow(0 12px 18px #1b102c55)}
.game-placeholder.memory{background:radial-gradient(ellipse at center,#9b77bb,#4b326a)}
@media(max-width:760px){.home-heading h1{font-size:27px}.panorama-stage{height:380px}.panorama-copy{left:52px;right:40px;bottom:60px}.panorama-copy h2{font-size:46px}.panorama-copy p{font-size:15px;max-width:290px}.panorama-copy .eyebrow{font-size:14px}.panorama-wallpaper{object-position:60% center}.panorama .panorama-arrow{width:40px;min-height:56px;font-size:52px}.panorama-arrow[data-prev]{left:8px}.panorama-arrow[data-next]{right:8px}.create-panorama .panorama-copy h2{font-size:39px}.games-grid{grid-template-columns:1fr;gap:20px}.game-tile-copy{padding:18px 20px}.home-links{justify-content:space-between;gap:12px}}
@media(prefers-reduced-motion:reduce){.panorama-slide,.panorama-video,.panorama-dots button::after,.game-tile{transition:none}.game-tile[href]:hover{transform:none}}

/* Give moving footage a little more room without changing the page layout. */
.panorama{transition:transform .2s ease;transform-origin:center;isolation:isolate}
.game-tile-media{position:relative;overflow:hidden;aspect-ratio:16/9;background:#241736}
.game-tile-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.2s ease-in-out;pointer-events:none}
.game-tile.is-previewing .game-tile-video{opacity:1}
.create-panorama::before{display:none}
.create-panorama{background:#342246}
.create-panorama .panorama-wallpaper{object-fit:contain;object-position:right center;width:65%;left:auto;right:2%}
.create-panorama::after{background:linear-gradient(90deg,#251737ed 5%,#25173788 42%,transparent 75%)}
.create-panorama .panorama-copy{max-width:45%;bottom:90px}
@media(hover:hover) and (pointer:fine){.panorama:hover{transform:scale(1.025);z-index:2}.game-tile[href]:hover{transform:scale(1.035);position:relative;z-index:2}}
@media(max-width:760px){.create-panorama .panorama-wallpaper{width:100%;height:76%;top:-8%;right:0;object-position:center}.create-panorama::after{background:linear-gradient(0deg,#251737 0%,#251737c4 25%,transparent 66%)}.create-panorama .panorama-copy{max-width:none;bottom:60px}}
@media(prefers-reduced-motion:reduce){.panorama,.game-tile-video{transition:none}.panorama:hover,.game-tile[href]:hover{transform:none}}

/* /question-sets/typography.css */
/* Self-hosted open-license type: a warm slab serif and a clear humanist sans. */
@font-face{font-family:'Public Sans';src:url('/question-sets/fonts/PublicSans.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Zilla Slab';src:url('/question-sets/fonts/ZillaSlab-SemiBold.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Zilla Slab';src:url('/question-sets/fonts/ZillaSlab-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
:root{--font-body:'Public Sans',Arial,sans-serif;--font-heading:'Zilla Slab',Georgia,serif}
body,button,input,textarea,select,.hero-number,.google-login,.account-panel input,.account-panel button{font-family:var(--font-body)}
h1,h2,h3,.brand-name,.panorama-copy h2,.home-path h2{font-family:var(--font-heading);font-weight:700;letter-spacing:-.02em}
.brand-name{font-size:18px;letter-spacing:.01em;line-height:1}
.panorama-copy h2{font-size:clamp(38px,5vw,60px);line-height:1.06}
.page-title h1,.setup-heading h1{line-height:1.12}
.picker-top h2{font-family:var(--font-body);font-weight:700;letter-spacing:0}
.question-card h3,.question-preview h3,.student-preview h3{font-family:var(--font-body);letter-spacing:0;line-height:1.5}
.student-preview #moveQuestionPrompt,.presentation-preview #moveQuestionPrompt{font-family:var(--font-body)!important}
body:has(#preview-overlay),#preview-overlay button,#preview-overlay #moveQuestionPrompt,#preview-overlay .move-question-feedback,#preview-overlay .move-question-answer strong,#preview-overlay .move-question-kicker{font-family:var(--font-body)!important;line-height:1.35}
@media(max-width:760px){.brand-name{font-size:16px}.panorama-copy h2{font-size:38px}.create-panorama .panorama-copy h2{font-size:34px}}

/* /question-sets/home.css */
/* Home shares the library and setup palette, surfaces and proportions. */
.home-welcome{padding:0 0 4px}.home-welcome h1{font-size:clamp(32px,4vw,44px);margin:0 0 12px}.home-welcome p:last-child{max-width:600px;color:var(--muted);font-size:16px}

body[data-quest-page=home] .panorama{border-radius:20px;border:1px solid var(--line);box-shadow:0 8px 30px #3022440c}
.home-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}
.home-path{display:flex;align-items:center;gap:14px;min-width:0;padding:22px 20px;background:var(--surface);border:1px solid var(--line);border-radius:16px;text-decoration:none;color:var(--text);transition:border-color .15s,background .15s}
.home-path:hover{border-color:var(--purple);background:var(--soft)}.home-path:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.home-path>div{flex:1;min-width:0}.home-path h2{font-size:22px;line-height:1.1;margin:0 0 7px}.home-path p{font-size:14px;line-height:1.5;color:var(--muted);margin:0}.home-path>span:last-child{font-size:20px;color:var(--purple)}
.path-number{align-self:flex-start;color:var(--gold-ink);font-weight:750;font-size:14px;background:var(--gold-soft);border-radius:8px;padding:6px}
.create-panorama{background:var(--soft)}.create-panorama .panorama-wallpaper{width:64%;height:100%;top:0;right:0;left:auto;object-fit:contain;object-position:right bottom}
.create-panorama::after{background:linear-gradient(90deg,var(--soft) 0%,var(--soft) 31%,transparent 62%)}
.create-panorama .panorama-copy{max-width:38%;left:64px;right:auto;bottom:88px}.create-panorama .panorama-copy h2{color:var(--text);text-shadow:none;font-size:44px;line-height:1.08}.create-panorama .panorama-copy p{color:var(--muted);font-size:16px}.create-panorama .panorama-copy .eyebrow{color:var(--purple);font-size:14px}
.panorama:has(.create-panorama.is-active) .panorama-arrow{color:#fff;text-shadow:0 1px 5px #170d2db3}.panorama:has(.create-panorama.is-active) .panorama-dots button::after{background:var(--muted);box-shadow:none}.panorama:has(.create-panorama.is-active) .panorama-dots button[aria-pressed=true]::after{background:var(--purple)}
@media(max-width:1000px){.home-path{gap:10px;padding:18px 14px}.path-number{display:none}.home-path h2{font-size:21px}.create-panorama .panorama-copy h2{font-size:38px}}
@media(max-width:760px){.home-welcome{align-items:center;gap:14px}.home-welcome h1{font-size:32px}.home-welcome p:last-child{font-size:15px}.home-paths{grid-template-columns:1fr;gap:12px;margin-top:18px}.home-path{padding:18px}.path-number{display:block}.home-path h2{font-size:22px}.home-path p{font-size:14px}.create-panorama .panorama-wallpaper{width:100%;height:72%;top:0;right:0;object-position:center top}.create-panorama::after{background:linear-gradient(0deg,var(--soft) 0%,var(--soft) 25%,transparent 68%)}.create-panorama .panorama-copy{left:28px;right:28px;bottom:57px;max-width:none}.create-panorama .panorama-copy h2{font-size:31px;max-width:310px}.create-panorama .panorama-copy p:not(.eyebrow){font-size:15px;max-width:300px}.create-panorama .panorama-copy .eyebrow{font-size:14px}.home-welcome .eyebrow{font-size:14px;letter-spacing:.05em}}
@media(max-width:480px){.home-welcome h1{font-size:32px}}


/* The selected lesson stays visible while teachers choose how to play. */
.home-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px}.home-welcome>.button{flex-shrink:0}
.selected-lesson{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px;margin:0 0 28px;background:var(--soft);border:1px solid var(--line);border-left:5px solid var(--gold);border-radius:16px}.selected-lesson h2{margin:5px 0 8px;font-size:26px}.selected-lesson p{margin:0;color:var(--muted)}.selected-lesson .eyebrow{color:var(--purple)}.selected-lesson .actions{flex-shrink:0}.other-ways{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px}.other-ways h2{font-size:24px;margin:6px 0}.quest-flow{align-items:center;gap:12px}.quest-flow a[aria-current=step]{color:var(--purple);font-weight:750}.quest-flow b{color:var(--gold-ink)}
@media(max-width:760px){.home-welcome,.selected-lesson,.other-ways{align-items:stretch;flex-direction:column;gap:16px}.selected-lesson{padding:20px}.selected-lesson .actions{flex-wrap:wrap}.quest-flow{font-size:14px;gap:8px}.home-welcome>.button{align-self:flex-start}}

.selected-lesson>div{min-width:0}.selected-lesson h2{overflow-wrap:anywhere}

/* Question search no longer reserves a column for levels. */
.search-panel{grid-template-columns:minmax(180px,1fr) minmax(150px,220px) auto}.search-panel>#clear-search{grid-column:3}
@media(max-width:760px){.search-panel{grid-template-columns:1fr 1fr}.search-panel>#clear-search{grid-column:2}}

/* /question-sets/question-media369.css */
/* Question artwork is content: show the entire image, including flag edges. */
body .question-card .question-picture{aspect-ratio:auto;height:auto;overflow:visible;background:var(--surface,#fff);display:block}
body .question-card .question-picture>div{aspect-ratio:auto;height:auto;overflow:visible}
body .question-card .question-picture img{display:block;width:100%;height:auto;min-height:0;max-height:360px;aspect-ratio:auto;object-fit:contain;object-position:center;margin:0 auto;border-radius:0}
body .question-card .question-picture[hidden]{display:none}
.question-play-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 26px;margin:18px 0 24px;border:2px solid var(--gold,#d6b760);border-radius:16px;background:var(--surface,#fff);color:var(--text,#fff8dc)}
.question-play-cta strong{font-size:24px}.question-play-cta p{margin:5px 0 0}.question-play-cta .button{font-size:22px;min-height:58px;min-width:230px;justify-content:center}
@media(max-width:620px){.question-play-cta{flex-direction:column;align-items:stretch;gap:14px;padding:18px}.question-play-cta .button{width:100%;min-width:0}}

/* User question artwork and animated covers must keep their complete frame. */
body .card .cover{display:flex;align-items:center;justify-content:center;background:var(--surface,#f1edf7)}
body .card .cover>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
body :is(.media-well,.thumb,.student-preview,.question-picture) img{object-fit:contain;object-position:center;max-width:100%}

/* /question-sets/console.css */
/* Local console-inspired redesign. Deliberately isolated from the published site. */
@font-face{font-family:'Plus Jakarta Sans';src:url('/question-sets/fonts/PlusJakartaSans-Bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
:root{--font-heading:'Plus Jakarta Sans',sans-serif;--bg:#edf0f7;--surface:#ffffff;--soft:#e9eafa;--text:#282c44;--muted:#646b81;--line:#dbe0ed;--purple:#5854cc;--purple-hover:#4640ae;--on-purple:#fff;--gold:#9388f1;--gold-soft:#e9e6ff;--gold-ink:#5146a1;--success:#227569;--danger:#b93d56;--radius:24px;--shadow:0 12px 30px #353b6210,0 2px 3px #353b6207;--glass:#ffffffd9;--focus:#7771e8}
:root[data-theme=dark]{--bg:#141825;--surface:#202637;--soft:#2a3149;--text:#f0f3ff;--muted:#adb7d1;--line:#36405a;--purple:#b2b0ff;--purple-hover:#ccc9ff;--on-purple:#1c2036;--gold:#a8afff;--gold-soft:#32365a;--gold-ink:#c2c8ff;--shadow:0 14px 36px #0003,0 1px 1px #fff1;--glass:#202637ed;--focus:#b2b0ff}
body{background:radial-gradient(ellipse at 8% 0%,#c4e8f356,transparent 42%),radial-gradient(ellipse at 95% 25%,#d9c9fc4d,transparent 45%),var(--bg);background-attachment:fixed;font-size:16px;line-height:1.6;padding-bottom:120px}
body::before,body::after{display:none!important}
h1,h2,h3,h4,h5,h6,strong,b,button,.button,summary,.brand-name,.app-nav a,.eyebrow,.badge,.path-number,.action-link,.hero-number,.stepper,.collection-tabs,.card h3,.question-card h3,.question-preview h3,.student-preview h3,.account-panel button{font-family:var(--font-heading)!important;font-weight:700!important}
h1,h2,h3{letter-spacing:-.035em;line-height:1.2}
button,.button,input,select,textarea{border-radius:14px}
button,.button{min-height:44px;padding:10px 17px;box-shadow:0 2px 2px #34345906;font-size:15px}
button.primary,.button.primary{background:linear-gradient(120deg,#5c69df,#7860d3);border-color:transparent;color:#fff;box-shadow:0 5px 14px #6661cf25}
button.primary:hover,.button.primary:hover{background:linear-gradient(120deg,#4a58cd,#6850c1)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
input,textarea,select{border-color:var(--line);background:var(--bg);padding:12px 14px;font-size:16px;color:var(--text)}
label{font-size:15px}.small,.muted,.hint{font-size:14px}.eyebrow{font-size:12px;letter-spacing:.12em;color:var(--purple);line-height:1.5}
.app-header{max-width:1424px;margin:0 auto;padding:22px 42px 16px;min-height:86px;background:transparent;border:0;box-shadow:none;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:30;gap:20px}
.brand{gap:10px}.brand img{width:46px;height:46px;filter:brightness(0) saturate(100%) invert(38%) sepia(74%) saturate(770%) hue-rotate(211deg) brightness(90%)}
:root[data-theme=dark] .brand img{filter:brightness(0) invert(.85)}
.brand-name{display:block!important;font-size:15px;line-height:1.1;letter-spacing:-.03em;color:var(--text)}
.app-tools{gap:14px;margin-left:auto}.theme-switch{background:var(--glass);border:1px solid var(--line);padding:4px;box-shadow:inset 0 1px #fff8;border-radius:18px}
.theme-switch button{width:34px;min-width:34px;height:34px;min-height:34px;border-radius:12px;font-size:18px;padding:0;box-shadow:none}
.theme-switch button[aria-pressed=true]{background:var(--soft);color:var(--purple)}
#account{gap:9px}#account button{font-size:14px;min-height:42px}#account-profile{border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.app-nav{position:fixed;z-index:90;bottom:22px;left:50%;transform:translateX(-50%);display:flex;justify-content:center;gap:5px;padding:7px;border:1px solid #ffffffa8;border-radius:27px;background:var(--glass);backdrop-filter:blur(20px);box-shadow:0 12px 40px #34385e20,inset 0 1px #fff8;width:max-content;max-width:calc(100vw - 24px)}
.app-nav a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:12px 20px;border:1px solid transparent;border-radius:20px;color:var(--muted);font-size:14px;line-height:1.25;transition:background .2s,color .2s;text-decoration:none}
.app-nav svg{width:24px;height:24px;flex-shrink:0}
.app-nav a:nth-child(1) svg{color:#7564d9}.app-nav a:nth-child(2) svg{color:#4285c6}.app-nav a:nth-child(3) svg{color:#389e8c}.app-nav a:nth-child(4) svg{color:#c27856}
.app-nav a:hover{background:var(--soft);color:var(--text)}.app-nav a[aria-current=page]{background:var(--surface);border-color:var(--line);box-shadow:0 3px 9px #30345e0e;color:var(--text)}
.app-nav a[aria-current=page] svg{filter:drop-shadow(0 2px 3px #7775c640)}
main{max-width:1340px;margin:auto;padding:22px 42px 35px}
.page-title{margin-bottom:28px}.page-title h1,.setup-heading h1{font-size:clamp(30px,3.6vw,44px);line-height:1.2;margin:5px 0 12px}.page-title p:not(.eyebrow),.setup-heading>div>p:last-child{font-size:16px;max-width:700px;color:var(--muted)}
.home-welcome{margin-bottom:26px;align-items:center;padding:2px 0 0}
.home-welcome h1{max-width:780px;font-size:clamp(30px,3.8vw,47px);line-height:1.22;margin:8px 0 12px}
.home-welcome p:last-child{max-width:none;margin-bottom:0}.home-emblem{display:grid;place-items:center;width:80px;height:80px;flex-shrink:0;border-radius:28px;color:#7a6dd7;background:linear-gradient(130deg,#fff9,#dad8f8,#d3eef0);font-size:51px;box-shadow:inset 0 2px 1px #fffc,0 8px 20px #7773ac0c}
.console-dashboard{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:stretch}
.console-dashboard .panorama{margin:0;border:5px solid var(--surface);border-radius:28px!important;box-shadow:var(--shadow);transform-origin:center;align-self:stretch}
.console-dashboard .panorama-stage{height:100%;min-height:440px}
.console-dashboard .panorama:hover{transform:scale(1.012)}
.panorama-copy{left:34px;right:34px;bottom:58px}.panorama-copy h2{font-family:var(--font-heading)!important;font-weight:700;font-size:clamp(32px,4vw,54px);line-height:1.1;letter-spacing:-.045em}
.panorama-copy p{font-size:16px;max-width:500px}.panorama-copy .eyebrow{font-size:12px;letter-spacing:.09em;color:#e6dcff}.panorama-slide::after{background:linear-gradient(0deg,#111727ee 0%,#11172780 35%,transparent 78%)}
.panorama-arrow{font-size:72px;color:white;background:none!important;box-shadow:none!important;padding:0;min-width:38px;opacity:1;transform:none!important;transition:none!important}
.panorama-arrow[data-prev]{left:7px}.panorama-arrow[data-next]{right:7px}
.panorama-dots button::after{width:7px;height:7px}.panorama-dots button[aria-pressed=true]::after{width:22px;border-radius:10px;background:white}
.create-panorama .panorama-wallpaper{width:100%;height:100%;object-fit:cover}.create-panorama::after{background:linear-gradient(0deg,#222440e8,transparent 95%)}.create-panorama .panorama-copy{max-width:none;left:34px;right:34px;bottom:58px}.create-panorama .panorama-copy h2{color:white;font-size:40px}.create-panorama .panorama-copy p,.create-panorama .panorama-copy .eyebrow{color:#efefff}
.console-actions{display:grid;grid-template-rows:1.35fr 1fr;gap:20px}
.console-action{display:flex;flex-direction:column;align-items:flex-start;position:relative;overflow:hidden;padding:25px;border-radius:27px;text-decoration:none;color:var(--text);box-shadow:var(--shadow);border:1px solid #fff9;transition:transform .22s,box-shadow .22s}
.console-action:hover{transform:translateY(-3px);box-shadow:0 14px 34px #5362a824}
.questions-action{background:linear-gradient(135deg,#fafdff 5%,#e2e8ff 62%,#d9d5fc)}
.action-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,#fff,#d6d8ff);box-shadow:inset 0 2px 1px #fff,0 3px 7px #5b63bb15;margin-bottom:13px;color:#5f62c4}.action-icon svg{width:27px;height:27px}
.console-action .eyebrow{font-size:11px;margin-bottom:6px}.console-action h2{font-size:26px;margin:0 0 9px;line-height:1.18}.console-action p{font-size:14px;color:#5c6582;margin:0 0 18px;line-height:1.5}.action-link{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;width:100%;margin-top:auto;color:#4d50a8}
.workshop-action{background:linear-gradient(125deg,#fff7e9,#f6e5e2 55%,#e6dcf0);justify-content:center;min-height:160px;padding-right:115px}.workshop-action h2{font-size:23px}.workshop-action .eyebrow{color:#8d6658}.workshop-action .action-link{color:#795d64;margin-top:18px}.workshop-action img{position:absolute;right:-20px;bottom:-5px;width:155px;height:170px;object-fit:cover;object-position:64% center;mix-blend-mode:multiply;mask-image:linear-gradient(90deg,transparent,#000 25%)}
.console-shelf{margin-top:30px}.shelf-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.shelf-heading h2{font-size:20px;letter-spacing:-.025em;margin:0}.shelf-heading a{font-size:14px;white-space:nowrap;text-decoration:none;color:var(--muted)}
.home-paths{margin-top:17px;gap:17px}.home-path{border:1px solid #fff8;border-radius:22px;padding:20px;background:var(--glass);box-shadow:0 5px 16px #30365005;gap:15px}.home-path h2{font-size:16px;line-height:1.35;margin:0 0 4px}.home-path p{font-size:13px;line-height:1.5}.path-number{display:grid!important;place-items:center;width:38px;height:38px;padding:0;flex-shrink:0;align-self:center;font-size:12px;background:#e8e6fa;color:#6b5ac4;border-radius:13px}.home-path:nth-child(2) .path-number{background:#e2f3ed;color:#398474}.home-path:nth-child(3) .path-number{background:#fae9df;color:#a56c4e}
:root[data-theme=dark] .questions-action{background:linear-gradient(130deg,#283348,#333b66,#423d66)}
:root[data-theme=dark] .console-action{border-color:var(--line)}:root[data-theme=dark] .questions-action p{color:var(--muted)}:root[data-theme=dark] .action-link{color:#d4d1ff}:root[data-theme=dark] .workshop-action{background:linear-gradient(120deg,#393043,#44343d,#3c3855)}:root[data-theme=dark] .workshop-action .eyebrow,:root[data-theme=dark] .workshop-action .action-link{color:#e6c7bb}:root[data-theme=dark] .workshop-action img{mix-blend-mode:normal;opacity:.8}:root[data-theme=dark] .home-emblem{background:linear-gradient(140deg,#293d4b,#3a365b);color:#bcb5fa}:root[data-theme=dark] .home-path{border-color:var(--line)}:root[data-theme=dark] .app-nav{border-color:var(--line)}
/* Library: a quiet shelf with content-led cards. */
.stepper,.setup-steps{display:flex;width:fit-content;margin:0 0 24px;padding:10px 16px;border-radius:15px;background:var(--glass);border:1px solid var(--line);box-shadow:0 2px 8px #30365003;font-size:13px;line-height:1.5;gap:12px}
.stepper b,.setup-steps b{display:inline-grid;place-items:center;border-radius:7px;background:var(--soft);color:var(--purple);width:23px;height:23px;font-size:11px}
.collection-tabs{border:0;background:var(--glass);border-radius:17px;width:fit-content;max-width:100%;padding:5px;gap:4px;margin-bottom:19px;overflow-x:auto}
.collection-tabs a{font-size:14px;border:0;border-radius:12px;padding:10px 18px;white-space:nowrap;color:var(--muted);text-decoration:none}
.collection-tabs a[aria-current=page]{background:var(--soft);color:var(--purple);box-shadow:inset 0 1px #fff5}
.search-panel{background:var(--glass);border:1px solid var(--line);padding:19px 21px;border-radius:22px;box-shadow:0 5px 20px #30365004;gap:13px;align-items:end;grid-template-columns:minmax(180px,1fr) 200px auto}
.search-panel #query{height:50px;border-radius:14px;background:var(--surface)}
.search-panel label{font-size:12px;line-height:1.5;color:var(--muted)}
.search-panel select{min-height:50px;background:var(--surface);margin-top:3px}
.search-panel #submit-search{min-height:50px}.more-filters>summary{font-size:13px;color:var(--muted)}.search-panel #clear-search{font-size:13px;min-height:34px;padding:2px 10px}
.quick-topics{display:none}.active-filters{margin-top:12px}.result-title p{color:var(--muted);font-size:14px;margin:22px 0 13px}
.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.card{border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden;transition:transform .2s,box-shadow .2s,border-color .2s}
.card:hover{border-color:#9298d4;transform:translateY(-3px);box-shadow:0 15px 30px #34385916}
.card>.cover,.card>.custom-lesson-cover,.card>.no-cover{aspect-ratio:16/10;max-height:none;height:auto;background:var(--soft);margin:8px 8px 0;border-radius:17px;overflow:hidden}
.card .cover img,.card .no-cover img{width:100%;height:100%;object-fit:contain}
.card-top{padding:16px 20px 0}.card-body{padding:12px 20px 20px}.card h3{font-size:20px;line-height:1.35;letter-spacing:-.025em}.card h3 a{text-decoration:none;color:var(--text)}.card-summary{font-size:14px;line-height:1.6}.card-actions{margin-top:15px}.card-actions .button{font-size:13px;border-radius:12px;min-height:40px}
.badge{font-size:11px;letter-spacing:.015em;border-radius:8px;padding:4px 8px}.favorite{background:var(--surface);border-radius:12px;font-size:24px;min-height:40px}
.panel,.sidebar .panel,.selected-lesson{border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);background:var(--surface);padding:27px}
.panel h2{font-size:23px}.panel h3{font-size:19px}.panel p{font-size:15px}.layout{gap:25px}
.selected-lesson{background:linear-gradient(120deg,var(--surface),var(--soft));border-left:1px solid var(--line);padding:22px 25px}.selected-lesson h2{font-size:25px}
.games-grid{gap:26px}.game-tile{border:6px solid var(--surface);border-radius:27px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden;transition:transform .22s,box-shadow .22s}.game-tile:hover{transform:scale(1.018);box-shadow:0 16px 35px #33395c23}
.game-tile-media{border-radius:20px;overflow:hidden}.game-tile-art{aspect-ratio:16/9;object-fit:contain}.game-tile-copy{padding:20px 19px 22px}.game-tile-copy h2{font-size:28px;line-height:1.2;letter-spacing:-.035em;margin-bottom:9px}.game-tile-copy p{font-size:15px;color:var(--muted);line-height:1.6}.game-placeholder{background:linear-gradient(135deg,#e1ddfa,#a6b7d9);color:#8171b8}.game-placeholder.memory{background:linear-gradient(125deg,#e6f5e9,#b8dfdf)}
.workshop-layout{grid-template-columns:minmax(0,1fr) 310px}.set-title-panel label{font-size:15px}.set-title-panel input{font-family:var(--font-heading);font-weight:700;font-size:24px;padding:15px;background:var(--bg)}
.question-row{border:1px solid var(--line);padding:18px;border-radius:17px;margin:12px 0;background:var(--bg)}.question-row .number{background:var(--soft);border-radius:11px;color:var(--purple)}.question-row strong{font-size:16px}.question-row p{font-size:13px}
.question-row button{font-size:12px;min-height:36px;padding:6px 10px}.question-editor-grid{gap:22px}
.sticky-actions{bottom:105px;border:1px solid var(--line);background:var(--glass);backdrop-filter:blur(20px);padding:16px 20px;border-radius:22px;box-shadow:var(--shadow);margin-top:24px;gap:14px;flex-wrap:wrap}
.sticky-actions button{font-size:13px}.sticky-actions #save-state{font-size:13px;color:var(--muted)}
.custom-empty{padding:35px 20px}.custom-empty h3{font-size:25px}.custom-empty p{font-size:15px}
dialog{background:var(--surface);border:1px solid var(--line);border-radius:27px;box-shadow:0 30px 100px #141f4a3b;padding:30px;color:var(--text)}
dialog::backdrop{background:#18213b70;backdrop-filter:blur(5px)}.dialog-top h2{font-size:24px}.dialog-top{margin-bottom:23px}
/* Setup and character selection use the same tactile panels. */
.setup{max-width:1300px}.set-strip{background:var(--glass);border:1px solid var(--line);border-radius:18px;box-shadow:none;padding:17px 22px}
.match-controls{background:var(--glass);border:1px solid var(--line);border-radius:20px;padding:20px 24px;margin:20px 0}
.teams{gap:19px}.team-card{background:var(--surface);border:2px solid var(--line);border-radius:26px;box-shadow:var(--shadow);padding:22px 16px}
.team-card:focus-within,.team-card:hover{border-color:var(--focus)}.team-card .selection-sprite{height:220px;min-height:180px;background:radial-gradient(ellipse at center,#d5ddf150,transparent 67%);border-radius:20px}
.team-card label,.team-card input{font-size:15px}.team-card .hero-label{font-size:15px}.team-card input{font-family:var(--font-heading);font-weight:700;text-align:center}
.setup footer{background:var(--glass);border:1px solid var(--line);padding:18px 22px;border-radius:23px;margin-top:24px;box-shadow:var(--shadow)}
.setup footer button{font-size:14px}.setup footer #start{min-height:48px}
#picker{border-radius:27px;padding:26px;width:min(1100px,96vw);height:min(850px,94dvh)}
.picker-header{border-bottom:1px solid var(--line)}#character-heading{font-size:31px}
.hero-grid{gap:13px}.hero-option{border:1px solid var(--line);border-radius:20px;background:linear-gradient(155deg,var(--surface),var(--soft));grid-template-rows:minmax(0,1fr) auto 18px;padding:10px;box-shadow:0 3px 10px #33375b07}
.hero-option[aria-pressed=true]{outline:3px solid var(--focus);outline-offset:-3px;background:var(--soft);border:1px solid transparent}
.hero-option .selection-sprite{display:block;min-height:0;height:100%}.hero-number{font-size:17px;color:var(--text);line-height:1.5}.hero-option .owner{font-size:12px}
.account-layout{padding:35px 20px 0}.account-panel{border:1px solid var(--line);border-radius:28px;background:var(--glass);box-shadow:var(--shadow);max-width:500px}
.account-panel h1{font-size:34px}.account-panel .account-requirement{font-size:16px}.account-return{background:var(--soft);border-left-color:var(--focus)}
.profile-avatars button{border-radius:18px}#toast{bottom:112px}
@media(min-width:1600px){main{padding-top:36px}.console-dashboard .panorama-stage{min-height:490px}.console-actions{grid-template-rows:1.2fr 1fr}.console-action{padding:30px}}
@media(max-width:1100px){.app-header{padding:22px 28px 14px}main{padding:20px 28px 35px}.console-dashboard{grid-template-columns:minmax(0,1fr) 270px;gap:18px}.console-action{padding:21px}.workshop-action{padding-right:100px}.console-action h2{font-size:23px}.console-dashboard .panorama-stage{min-height:420px}.home-emblem{width:65px;height:65px;font-size:40px}.grid{gap:16px}.workshop-layout{grid-template-columns:minmax(0,1fr) 280px}.home-path{padding:17px 14px}.home-path p{font-size:12px}}
@media(max-width:800px){.app-header{padding:18px 22px;display:flex;min-height:75px}.app-nav{width:max-content;gap:3px;bottom:15px;padding:6px}.app-nav a{padding:10px 15px;min-height:54px;font-size:12px}.app-nav svg{width:23px;height:23px}.app-tools{gap:8px}.brand img{width:38px;height:38px}.brand-name{font-size:13px}.theme-switch{display:none}main{padding:15px 22px 30px}.console-dashboard{grid-template-columns:1fr}.console-dashboard .panorama-stage{min-height:360px}.console-actions{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:16px}.questions-action .action-icon{display:none}.console-action{min-height:205px}.workshop-action img{height:150px;right:-24px;bottom:0;opacity:.75}.console-action h2{font-size:23px}.workshop-action{padding-right:90px}.home-welcome{align-items:flex-start;flex-direction:row}.home-welcome h1{font-size:36px}.home-emblem{display:none}.home-welcome p:last-child{font-size:15px}.home-paths{grid-template-columns:1fr;gap:10px}.home-path{padding:18px;gap:15px}.home-path h2{font-size:16px}.home-path p{font-size:14px}.shelf-heading h2{font-size:20px;max-width:330px}.shelf-heading a{font-size:13px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workshop-layout,.layout{grid-template-columns:1fr}.sidebar{position:static}.sticky-actions{position:static}.games-grid{gap:18px}.game-tile-copy{padding:17px 12px}.game-tile-copy h2{font-size:24px}.selected-lesson{padding:20px}.teams{grid-template-columns:repeat(2,minmax(0,1fr))}.team-card .selection-sprite{height:195px;min-height:150px}.hero-number{font-size:15px}.account-panel{max-width:500px}.search-panel{grid-template-columns:1fr 1fr}.search-panel>#query{grid-column:1/-1}.search-panel>#submit-search{grid-column:2;grid-row:2}.search-panel>#clear-search{grid-column:2}.more-filters{grid-column:1}.collection-tabs a{padding:10px 14px}.page-title h1{font-size:34px}.page-title>.button{font-size:14px}}
@media(max-width:520px){body{padding-bottom:105px}.app-header{padding:16px;gap:10px}.brand-name{display:none!important}.brand img{width:42px;height:42px}.app-tools{gap:7px}#account button{font-size:13px;padding:8px 13px;min-height:40px}main{padding:14px 16px 28px}.home-welcome h1{font-size:33px;max-width:360px}.home-welcome .eyebrow{font-size:10px}.home-welcome p:last-child{font-size:15px}.home-welcome{margin-bottom:22px}.app-nav{width:calc(100% - 24px);max-width:430px;bottom:12px;justify-content:space-around;border-radius:24px;gap:0}.app-nav a{flex-direction:column;gap:5px;padding:8px 9px;font-size:10px;min-width:64px;min-height:61px;border-radius:18px}.app-nav svg{width:23px;height:23px}.console-dashboard{gap:15px}.console-dashboard .panorama-stage{min-height:340px}.panorama-copy{left:25px;right:25px;bottom:55px}.panorama-copy h2{font-size:38px}.panorama-copy p{font-size:14px}.panorama-copy .eyebrow{font-size:10px}.panorama-arrow{font-size:60px}.panorama-arrow[data-prev]{left:2px}.panorama-arrow[data-next]{right:2px}.console-dashboard .panorama{border-width:4px}.console-actions{gap:12px}.console-action{padding:18px;min-height:230px;border-radius:22px}.console-action h2{font-size:22px}.console-action p{font-size:13px}.console-action .eyebrow{font-size:9px}.action-link{font-size:12px}.workshop-action{justify-content:flex-start;padding-right:18px}.workshop-action img{width:115px;height:100px;right:-5px;bottom:0;opacity:.55}.workshop-action .action-link{position:relative;z-index:1}.shelf-heading{align-items:flex-start;flex-direction:column;gap:8px}.shelf-heading h2{font-size:21px}.console-shelf{margin-top:25px}.home-path p{font-size:13px}.grid{grid-template-columns:1fr}.page-title h1,.setup-heading h1{font-size:31px}.page-title p:not(.eyebrow){font-size:15px}.stepper,.setup-steps{gap:8px;padding:9px 12px;font-size:12px;max-width:100%}.stepper b{display:none}.collection-tabs{width:100%;justify-content:space-between;gap:0}.collection-tabs a{font-size:11px;padding:10px}.search-panel{padding:16px}.search-panel label{font-size:12px}.panel,.sidebar .panel{padding:21px}.page-title{gap:12px;flex-wrap:wrap}.page-title>.button{font-size:13px;padding:10px 15px}.games-grid{grid-template-columns:1fr;gap:20px}.game-tile-copy h2{font-size:27px}.game-tile-copy p{font-size:14px}.team-card{padding:15px 10px}.team-card .selection-sprite{height:160px;min-height:120px}.team-card .hero-label{font-size:13px}.match-controls{padding:18px}.setup footer{padding:15px}#picker{padding:18px 12px;border-radius:0;width:100vw;height:100dvh;max-height:100dvh}.hero-grid{gap:7px}.hero-option{border-radius:14px;padding:6px}.hero-number{font-size:15px}.hero-option .owner{font-size:10px}.account-layout{padding:10px 0}.account-panel{padding:26px 21px}.account-panel h1{font-size:30px}.account-panel .account-requirement{font-size:15px}.account-return{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Keep the first content row in view on laptop screens. */
.search-panel .more-filters{grid-column:1 / 3;grid-row:2;margin:0;align-self:center}
.search-panel #clear-search{grid-column:3;grid-row:2;justify-self:end}
.search-panel .more-filters[open]{grid-column:1 / -1;grid-row:3}
.search-panel .filter-fields{padding-top:16px}
.hero-number{background:#5e58bf!important;color:white!important}
.set-title-panel input{border:1px solid var(--line);border-radius:14px}
.panorama-arrow{top:auto!important;bottom:12px!important;height:44px;line-height:40px;min-height:44px;font-size:54px!important}
.panorama-arrow[data-prev]{left:22px}.panorama-arrow[data-next]{right:22px}
.team-card .hero-number{background:var(--soft)!important;color:var(--purple)!important}
.selected-lesson{padding:18px 23px}.selected-lesson .eyebrow{font-size:10px;margin:0}.selected-lesson h2{font-size:23px;margin:5px 0}.selected-lesson p{font-size:14px}
body[data-quest-page=library] .page-title .eyebrow,body[data-quest-page=mine] .page-title .eyebrow{display:none}
@media(min-width:801px) and (max-height:850px){
 .app-header{padding-top:15px;padding-bottom:10px;min-height:73px}main{padding-top:12px}
 .home-welcome{margin-bottom:22px}.home-welcome h1{font-size:42px;margin:5px 0 9px}.home-welcome .eyebrow{margin-top:7px}
 .console-dashboard .panorama-stage{min-height:380px}.console-dashboard{height:390px}.console-actions{height:390px;grid-template-rows:minmax(0,1.3fr) minmax(0,1fr);gap:16px}
 .console-action{padding:22px;min-height:0}.questions-action .action-icon{display:none}.questions-action p{margin-bottom:13px}.workshop-action{padding-right:120px}
 .console-shelf{margin-top:24px}.shelf-heading h2{font-size:18px}.home-paths{margin-top:12px}
 .stepper{margin-bottom:19px}.page-title{margin-bottom:22px}.page-title h1{font-size:37px}
 .search-panel{padding:16px 20px;row-gap:10px}.search-panel .more-filters>summary{padding:0;min-height:30px}.search-panel #clear-search{min-height:30px}
}
@media(max-width:800px){.search-panel .more-filters{grid-column:1;grid-row:3}.search-panel #clear-search{grid-column:2;grid-row:3}.search-panel .more-filters[open]{grid-column:1 / -1;grid-row:4}}
@media(max-width:800px){.theme-switch{display:flex}.theme-switch button{width:29px;height:29px;min-width:29px;min-height:29px}.app-tools{gap:7px}#account-profile .account-name{display:none}}
@media(max-width:520px){.app-nav a{font-size:11px}.panorama-arrow[data-prev]{left:15px}.panorama-arrow[data-next]{right:15px}}


/* /question-sets/iisu.css */
/* iiSu second pass: compact artwork tiles, lightly raised surfaces and colored focus. */
:root{--bg:#f2f4f6;--surface:#fff;--soft:#ecf0f5;--text:#263443;--muted:#647080;--line:#dce2e8;--purple:#237c99;--purple-hover:#17647d;--on-purple:#fff;--gold:#52bccd;--gold-soft:#e0f5f6;--gold-ink:#247589;--focus:#5cc4df;--radius:15px;--shadow:0 3px 8px #24354f0b,0 1px 2px #24354f12;--glass:#ffffffeb;--font-heading:'Plus Jakarta Sans',sans-serif}
:root[data-theme=dark]{--bg:#171c25;--surface:#242c37;--soft:#303a48;--text:#edf4f9;--muted:#b0bfce;--line:#3a4655;--purple:#8ad8eb;--purple-hover:#b4edfa;--on-purple:#102f3d;--gold:#8ad8eb;--gold-soft:#243e4b;--gold-ink:#a5e8ef;--focus:#7cd8ee;--glass:#252e3bee;--shadow:0 5px 15px #0002,0 1px 1px #ffffff08}
body{background:radial-gradient(ellipse at 85% 5%,#b1dce21a,transparent 55%),linear-gradient(130deg,#ffffff10,#b7c2d009),var(--bg);padding-bottom:110px;color:var(--text);font-size:16px;line-height:1.55}
body,button,input,textarea,select{transition:background-color .4s,color .4s,border-color .4s}
button,.button{border-radius:10px;min-height:43px;font-size:14px;box-shadow:0 1px 2px #26344309;padding:10px 16px}
button.primary,.button.primary{background:linear-gradient(125deg,#238a9b,#3976aa);color:#fff;box-shadow:0 3px 8px #1e738524;border:1px solid #ffffff30}
button.primary:hover,.button.primary:hover{background:linear-gradient(125deg,#1e7787,#2d6394)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
input,select,textarea{border-radius:10px;background:var(--surface);font-size:16px}label,.small,.hint,.muted{font-size:14px}.eyebrow{font-size:12px;letter-spacing:.1em;color:var(--muted)}
.app-header{max-width:1320px;min-height:74px;padding:16px 35px 12px;gap:20px;align-items:center}
.brand{gap:10px}.brand img{width:35px;height:35px;filter:brightness(0) saturate(100%) invert(48%) sepia(41%) saturate(753%) hue-rotate(144deg)}
.brand-name{display:flex!important;gap:4px;font-size:16px;letter-spacing:-.04em;line-height:1}.brand-name span{text-transform:lowercase}.brand-name span:first-child::first-letter{text-transform:uppercase}
.app-tools{gap:12px}.theme-switch{display:flex;border:1px solid var(--line);border-radius:20px;background:var(--surface);padding:3px;box-shadow:inset 0 1px #fff6}
.theme-switch button{width:30px;min-width:30px;min-height:30px;height:30px;padding:0;border-radius:50%;font-size:18px}.theme-switch button[aria-pressed=true]{background:var(--soft);color:var(--text)}
#account-profile{border-radius:22px;padding:4px 13px 4px 5px;min-height:40px;background:var(--surface);border:1px solid var(--line)}#account button{font-size:14px}#account .profile-avatar{border-radius:50%}
.app-nav{bottom:17px;gap:8px;padding:6px 15px;border-radius:25px;background:var(--glass);border:1px solid #ffffffb0;box-shadow:0 4px 18px #24354f16,inset 0 1px 1px #fff;backdrop-filter:blur(22px)}
.app-nav a{flex-direction:column;justify-content:center;gap:4px;padding:6px 14px;min-height:63px;min-width:81px;border-radius:15px;font-size:11px;background:transparent!important;box-shadow:none!important;color:var(--muted);position:relative}
.app-nav a svg{width:29px;height:29px;stroke-width:2.3;filter:drop-shadow(0 1px 0 #fff);transition:transform .18s}.app-nav a:nth-child(1) svg{color:#8a7bc7}.app-nav a:nth-child(2) svg{color:#2eacb8}.app-nav a:nth-child(3) svg{color:#d6a447}.app-nav a:nth-child(4) svg{color:#62ae8c}
.app-nav a[aria-current=page]{color:var(--text);outline:1px solid var(--line);outline-offset:-1px}.app-nav a[aria-current=page]::after{content:'';position:absolute;bottom:2px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:#51c2cf}.app-nav a:hover svg{transform:translateY(-2px)}
main{max-width:1320px;margin:0 auto;padding:18px 35px 35px}.page-title,.setup-heading{margin-bottom:25px;gap:20px}.page-title h1,.setup-heading h1{font-size:36px;line-height:1.2;margin:7px 0 10px;letter-spacing:-.04em}.page-title p:not(.eyebrow),.setup-heading p:not(.eyebrow){font-size:16px;max-width:650px}
.launcher-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:8px 3px 24px}.launcher-heading h1{font-size:32px;letter-spacing:-.045em;line-height:1.18;margin:5px 0 0}.launcher-heading .eyebrow{margin:0;font-size:11px;color:var(--muted);letter-spacing:.15em}.launcher-heading>p{font-size:14px;color:var(--muted);margin:0 0 3px}
.launcher-grid{display:grid;grid-template-columns:1.05fr 1.05fr 1fr 1fr;grid-template-rows:174px 158px 115px;gap:13px}
.launcher-grid .panorama{grid-column:1/3;grid-row:1/3;border:4px solid var(--surface);border-radius:16px;box-shadow:var(--shadow);min-width:0;min-height:0;overflow:hidden;background:#233345;outline:2px solid transparent;outline-offset:1px}
.launcher-grid .panorama-stage{height:100%;min-height:0}.launcher-grid .panorama-copy,.launcher-grid .create-panorama .panorama-copy{left:27px;right:27px;bottom:54px;max-width:none;transform:none!important}.launcher-grid .panorama-copy h2{font-size:39px;line-height:1.07;letter-spacing:-.04em;margin:8px 0 9px}.launcher-grid .panorama-copy p{font-size:14px;max-width:390px;line-height:1.5}.launcher-grid .panorama-copy .eyebrow{font-size:10px;letter-spacing:.1em;color:#eaf3fc}.launcher-grid .panorama-slide::after{background:linear-gradient(0deg,#142333ed 0%,#18233175 40%,#18233100 85%)}
.launcher-grid .create-panorama .panorama-wallpaper{width:100%;height:100%;top:0;right:0;object-fit:cover;object-position:center}.launcher-grid .panorama-wallpaper{object-position:center}.launcher-grid .panorama-video{transition:opacity 1.2s ease}
:is(.launcher-grid,.route-panels) .panorama-arrow{bottom:9px!important;font-size:52px!important;line-height:38px;height:40px;min-height:40px;min-width:40px;width:40px}:is(.launcher-grid,.route-panels) .panorama-arrow[data-prev]{left:17px}:is(.launcher-grid,.route-panels) .panorama-arrow[data-next]{right:17px}:is(.launcher-grid,.route-panels) .panorama-dots{bottom:8px}:is(.launcher-grid,.route-panels) .panorama-dots button::after{width:6px;height:6px}:is(.launcher-grid,.route-panels) .panorama-dots button[aria-pressed=true]::after{width:17px;transform:none}
.launch-tile{position:relative;display:flex;text-decoration:none;color:var(--text);overflow:hidden;border:4px solid var(--surface);border-radius:16px;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s;isolation:isolate;min-width:0;outline:2px solid transparent;outline-offset:1px}
.launch-tile:hover,.launcher-grid .panorama:hover{transform:scale(1.018);outline-color:var(--focus);box-shadow:0 7px 22px #26344d1b;z-index:3}.launch-tile:focus-visible,.launcher-grid .panorama:focus-within{outline:3px solid var(--focus);outline-offset:2px;z-index:4}.tile-copy{position:relative;z-index:2}.tile-copy h2{font-size:23px;letter-spacing:-.035em;line-height:1.18;margin:5px 0 8px}.tile-copy p{font-size:14px;margin:0;color:inherit;opacity:.8;line-height:1.5}.tile-kicker{font-family:var(--font-heading);font-size:10px;letter-spacing:.13em;font-weight:700}.tile-link{display:flex;align-items:center;gap:15px;font-family:var(--font-heading);font-size:13px;font-weight:700;margin-top:15px}.tile-link span{font-size:19px}.tile-corner{position:absolute;right:18px;bottom:15px;font-size:22px;z-index:3}
.launch-questions{grid-column:3/5;grid-row:1;padding:22px 24px;background:linear-gradient(120deg,#e9f8fa,#cfeaf0 58%,#daecfb);color:#215366;align-items:center}.launch-questions .tile-copy{width:69%}.launch-questions h2{font-size:25px}.launch-questions .tile-link{margin-top:12px}.question-art{position:absolute;right:25px;top:26px;width:130px;height:130px}.qcard{position:absolute;display:grid;place-items:center;width:77px;height:103px;border:3px solid #ffffffd9;border-radius:13px;font:700 54px/1 var(--font-heading);box-shadow:0 6px 13px #387d9333}.qcard-back{background:linear-gradient(135deg,#c9c4f1,#8b9edc);color:#fff;left:5px;top:0;transform:rotate(-13deg)}.qcard-front{background:linear-gradient(140deg,#fff,#e3f7f7);color:#58a8b5;left:41px;top:12px;transform:rotate(9deg)}.orbit-dot{position:absolute;width:15px;height:15px;border:3px solid #fff;border-radius:50%;background:#94d7d5;right:-9px;top:-6px;box-shadow:0 2px 4px #347d8d20}
.launch-create{grid-column:3;grid-row:2/4;align-items:flex-end;background:#466843;color:#fff;padding:20px}.launch-create>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:59% center;z-index:0}.launch-create::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#19362bef,transparent 90%);z-index:1}.launch-create .tile-copy h2{font-size:23px}.launch-create .tile-kicker{color:#e5f1dc}.launch-create .tile-link{margin-top:13px}
.launch-library{grid-column:4;grid-row:2;background:linear-gradient(130deg,#eef6ec,#d9eadc);padding:20px;color:#39634c;align-items:flex-end}.launch-library>svg{position:absolute;right:22px;top:14px;width:54px;height:54px;color:#6a9d7b;filter:drop-shadow(0 2px #fff9)}.launch-library h2{font-size:21px;margin-bottom:5px}.launch-library p{font-size:13px}
.launch-games{grid-column:1/3;grid-row:3;align-items:center;padding:19px 24px;color:#fff;background:#334752}.launch-games>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%;z-index:0}.launch-games::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#243e53e8,#243e53b0 55%,#243e5320);z-index:1}.launch-games h2{font-size:23px;margin-bottom:0}.launch-games .tile-corner{bottom:20px;right:23px}
.launch-favorites{grid-column:4;grid-row:3;background:linear-gradient(130deg,#f6eef7,#e8dff0);color:#775e89;padding:17px 19px;align-items:center;gap:13px}.launch-favorites>svg{width:35px;height:35px;flex-shrink:0;color:#aa85b7;filter:drop-shadow(0 1px #fff)}.launch-favorites h2{font-size:19px;margin-bottom:4px}.launch-favorites p{font-size:12px}.launch-favorites .tile-corner{font-size:17px;right:12px;bottom:9px}
.launcher-footer{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px;margin:20px 4px 0}.launcher-footer a{color:var(--muted);text-decoration:none}.launcher-footer a:hover{color:var(--purple)}
/* Consistent shelves, forms, and selection panels throughout the journey. */
.stepper,.setup-steps{padding:8px 13px;border-radius:12px;border-color:var(--line);background:var(--surface);font-size:13px;box-shadow:none;margin-bottom:22px}.stepper b,.setup-steps b{background:#e4f0f2;color:#3b7e8c;border-radius:6px}
.collection-tabs{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:4px;box-shadow:inset 0 1px #fff}.collection-tabs a{font-size:14px;border-radius:9px;padding:9px 18px}.collection-tabs a[aria-current=page]{background:var(--soft);color:var(--text);box-shadow:0 1px 3px #24344a0c}
.search-panel{border-radius:15px;padding:16px 18px;background:var(--surface);gap:13px;box-shadow:var(--shadow)}.search-panel label,.search-panel .more-filters>summary{font-size:14px}.search-panel #query,.search-panel select{background:var(--bg);border-radius:9px;min-height:46px;height:46px}.search-panel #submit-search{min-height:46px}.search-panel #clear-search{font-size:13px}.result-title p{margin:20px 0 12px;font-size:14px}
.grid{gap:17px;grid-template-columns:repeat(3,minmax(0,1fr))}.card{border:3px solid var(--surface);border-radius:16px;box-shadow:var(--shadow);outline:1px solid var(--line);transition:transform .18s,outline-color .18s}.card:hover{border-color:var(--surface);outline:2px solid var(--focus);transform:translateY(-2px);box-shadow:0 7px 18px #26344316}.card>.cover,.card>.custom-lesson-cover,.card>.no-cover{border-radius:10px;margin:0;aspect-ratio:16/9;background:var(--soft)}.card .cover img,.card .no-cover img{object-fit:contain}.card h3{font-size:21px}.card-top{padding:14px 16px 0}.card-body{padding:10px 16px 17px}.card-summary{font-size:14px}.card-actions .button{font-size:13px;min-height:38px;border-radius:9px}.badge{font-size:12px;border-radius:6px;padding:3px 7px}.favorite{border-radius:50%;min-width:38px;width:38px;height:38px;min-height:38px;padding:0;font-size:23px}
.panel,.sidebar .panel,.selected-lesson{border-radius:16px;background:var(--surface);box-shadow:var(--shadow);border:1px solid var(--line);padding:23px}.panel h2{font-size:22px}.layout{gap:22px}.workshop-layout{grid-template-columns:minmax(0,1fr) 300px;gap:22px}.set-title-panel{border-top:3px solid #83cbd2}.set-title-panel input{font-size:24px;background:var(--bg);border-radius:10px}.question-row{border-radius:11px;background:var(--bg);padding:14px;gap:14px}.question-row .number{background:#e3f2f3;color:#3b8290;border-radius:9px}.sticky-actions{border-radius:13px;box-shadow:var(--shadow);background:var(--surface)}.question-editor,.media-editor{border-radius:16px}.panel .empty{border-radius:12px}.account-layout{padding:25px 0}.account-panel{border-radius:20px;border-top:4px solid #7bc8d2;box-shadow:0 10px 32px #24354f0e;background:var(--surface)}
.games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}.game-tile{border:4px solid var(--surface);border-radius:17px;box-shadow:var(--shadow);outline:1px solid var(--line)}.game-tile[href]:hover{transform:scale(1.018);border-color:var(--surface);outline:2px solid var(--focus)}.game-tile-media{border-radius:11px;overflow:hidden}.game-tile-copy{padding:18px 18px 20px}.game-tile-copy h2{font-size:26px}.game-tile-copy p{font-size:15px}.game-placeholder{background:linear-gradient(145deg,#64798c,#35495d)}.game-placeholder.memory{background:linear-gradient(145deg,#968bb0,#626d9b)}.game-placeholder svg{color:#d8ebef}.selected-lesson{padding:17px 20px;border-left:4px solid #78c7cb}.selected-lesson h2{font-size:24px}
.setup .set-strip{background:var(--surface);border:1px solid var(--line);border-radius:12px}.player-count{background:transparent;border:0;box-shadow:none;padding:10px 0}.player-count button{border-radius:10px;min-width:47px}.player-count button[aria-pressed=true]{background:var(--surface);border-color:var(--focus);color:var(--text);outline:2px solid var(--focus);outline-offset:1px}.teams{gap:15px}.team-card{border:4px solid var(--surface);border-radius:17px;outline:1px solid var(--line);padding:17px 13px;box-shadow:var(--shadow);background:linear-gradient(160deg,var(--surface),#e3f1f4)}.team-card:nth-child(2){background:linear-gradient(160deg,var(--surface),#eee6f4)}.team-card:nth-child(3){background:linear-gradient(160deg,var(--surface),#e6f1de)}.team-card:nth-child(4){background:linear-gradient(160deg,var(--surface),#f4e9d9)}.team-card:hover,.team-card:focus-within{border-color:var(--surface);outline:2px solid var(--focus)}.team-card .selection-sprite{height:230px;min-height:180px;border-radius:11px;background:radial-gradient(ellipse at center,#ffffff9c,transparent 70%)}.team-card .hero-label{font-size:15px}.team-card input{background:var(--surface);border-color:var(--line);border-radius:10px}.match-controls{border-radius:15px;padding:19px 22px;background:var(--surface)}.setup footer{border-radius:14px;box-shadow:var(--shadow);background:var(--surface);padding:14px 18px}.hero-grid{gap:10px}.hero-option{border:3px solid var(--surface);outline:1px solid var(--line);border-radius:13px;background:linear-gradient(145deg,var(--surface),var(--soft));padding:8px}.hero-option[aria-pressed=true]{border:3px solid var(--surface);outline:3px solid var(--focus);outline-offset:0;background:var(--soft)}.hero-number{background:#337f96!important;color:#fff!important;border-radius:6px!important}.team-card .hero-number{background:var(--surface)!important;color:var(--text)!important}dialog{border-radius:22px;border:1px solid var(--line);box-shadow:0 25px 100px #1e2b3940}dialog::backdrop{background:#1d2b3c55;backdrop-filter:blur(8px)}
:root[data-theme=dark] .launch-tile,:root[data-theme=dark] .panorama{border-color:var(--surface)}:root[data-theme=dark] .launch-questions{background:linear-gradient(120deg,#254956,#2e425b);color:#d9f7ff}:root[data-theme=dark] .launch-library{background:linear-gradient(130deg,#283e38,#354b44);color:#d7eddf}:root[data-theme=dark] .launch-favorites{background:linear-gradient(130deg,#40364e,#393747);color:#ead7f6}:root[data-theme=dark] .qcard-front{background:linear-gradient(140deg,#dcf8f6,#9dcbd9)}:root[data-theme=dark] .team-card{background:linear-gradient(160deg,var(--surface),#2c4048)}:root[data-theme=dark] .team-card:nth-child(2){background:linear-gradient(160deg,var(--surface),#3c354b)}:root[data-theme=dark] .team-card:nth-child(3){background:linear-gradient(160deg,var(--surface),#344535)}:root[data-theme=dark] .team-card:nth-child(4){background:linear-gradient(160deg,var(--surface),#494131)}:root[data-theme=dark] .team-card .selection-sprite{background:radial-gradient(ellipse at center,#ffffff0a,transparent 70%)}:root[data-theme=dark] .app-nav{border-color:var(--line);box-shadow:0 5px 22px #0004,inset 0 1px #ffffff12}:root[data-theme=dark] .app-nav svg{filter:none}:root[data-theme=dark] .stepper b,:root[data-theme=dark] .setup-steps b,:root[data-theme=dark] .question-row .number{background:var(--soft);color:#a2dfeb}:root[data-theme=dark] .brand img{filter:brightness(0) invert(.9)}
@media(min-width:1600px){.launcher-grid{grid-template-rows:200px 180px 125px}.launcher-grid .panorama-stage{min-height:0}.launcher-heading{margin-bottom:27px}}
@media(max-width:1100px){.app-header{padding:15px 25px}.launcher-grid{grid-template-rows:164px 148px 110px;gap:11px}main{padding:18px 25px 30px}.launcher-heading h1{font-size:30px}.launcher-heading>p{font-size:13px}.launch-questions{padding:20px}.launch-questions h2{font-size:23px}.question-art{right:8px;top:30px;transform:scale(.8);transform-origin:right top}.launch-questions .tile-copy{width:72%}.launch-create{padding:16px}.launch-create .tile-copy h2{font-size:21px}.launch-library{padding:17px}.launch-library h2{font-size:20px}.launch-library>svg{width:45px;height:45px;top:10px;right:17px}.launch-favorites{padding:13px;gap:8px}.launch-favorites h2{font-size:17px}.launch-favorites>svg{width:28px;height:28px}.workshop-layout{grid-template-columns:minmax(0,1fr) 280px}}
@media(max-width:800px){.app-header{padding:15px 20px}.theme-switch{display:flex}.brand-name{font-size:14px}main{padding:18px 20px 30px}.launcher-heading>p{display:none}.launcher-grid{grid-template-columns:1fr 1fr;grid-template-rows:320px 160px 150px 110px;gap:13px}.launcher-grid .panorama{grid-column:1/3;grid-row:1}.launcher-grid .panorama-stage{min-height:0;height:100%}.launch-questions{grid-column:1/3;grid-row:2}.launch-create{grid-column:1;grid-row:3/5}.launch-library{grid-column:2;grid-row:3}.launch-favorites{grid-column:2;grid-row:4}.launch-games{grid-column:1/3;grid-row:5;min-height:110px}.launcher-footer{font-size:12px;flex-wrap:wrap;gap:10px}.question-art{transform:none;right:35px;top:17px}.launch-library>svg{width:55px;height:55px;right:22px;top:15px}.launch-favorites{padding:18px;gap:15px}.launch-favorites h2{font-size:21px}.launch-create .tile-copy h2{font-size:24px}.launch-questions h2{font-size:26px}.launcher-grid .panorama-copy h2{font-size:40px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workshop-layout,.layout{grid-template-columns:1fr}.teams{grid-template-columns:repeat(2,minmax(0,1fr))}.team-card .selection-sprite{height:220px}.page-title h1,.setup-heading h1{font-size:32px}.games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-tile-copy h2{font-size:24px}.app-nav{bottom:13px;padding:5px 10px}.app-nav a{min-width:76px;padding:6px 12px}.search-panel .more-filters{grid-column:1;grid-row:3}.search-panel #clear-search{grid-column:2;grid-row:3}.search-panel .more-filters[open]{grid-column:1/-1;grid-row:4}.search-panel .filter-fields{grid-template-columns:1fr 1fr}}
@media(max-width:520px){body{padding-bottom:105px}.app-header{padding:12px 15px;min-height:68px;gap:10px}.brand-name{display:none!important}.brand img{width:31px;height:31px}.app-tools{gap:7px}.theme-switch{padding:2px}.theme-switch button{width:29px;min-width:29px;height:29px;min-height:29px}#account-profile{padding:3px 8px 3px 3px;font-size:12px}#account button{font-size:12px;padding:7px 11px;min-height:37px}main{padding:15px 14px 25px}.launcher-heading{margin:5px 2px 20px}.launcher-heading h1{font-size:28px}.launcher-heading .eyebrow{font-size:10px}.launcher-grid{grid-template-rows:305px 169px 150px 110px;gap:10px}.launcher-grid .panorama,.launch-tile{border-width:3px;border-radius:13px}.launcher-grid .panorama-copy,.launcher-grid .create-panorama .panorama-copy{left:21px;right:21px;bottom:52px}.launcher-grid .panorama-copy h2{font-size:35px}.launcher-grid .panorama-copy p{font-size:14px}.launcher-grid .panorama-copy .eyebrow{font-size:10px}.launch-questions{padding:17px}.launch-questions h2{font-size:23px}.launch-questions .tile-copy{width:72%}.launch-questions p{font-size:13px}.launch-questions .tile-link{font-size:12px;margin-top:11px}.question-art{right:10px;top:30px;transform:scale(.65);transform-origin:right top}.launch-create{padding:15px}.launch-create .tile-copy h2{font-size:21px}.tile-kicker{font-size:9px}.tile-link{font-size:12px}.launch-library{padding:14px}.launch-library>svg{width:43px;height:43px;right:13px;top:15px}.launch-library h2{font-size:19px}.launch-library p{font-size:12px;max-width:120px}.launch-favorites{padding:14px;gap:8px}.launch-favorites>svg{width:26px;height:26px}.launch-favorites h2{font-size:17px}.launch-favorites p{font-size:11px}.tile-corner{font-size:18px;right:10px;bottom:10px}.launch-games{padding:17px}.launch-games h2{font-size:21px;max-width:260px}.launch-games .tile-kicker{font-size:9px}.launcher-footer{line-height:1.5;margin-top:16px;font-size:11px}.app-nav{width:calc(100% - 24px);max-width:400px;border-radius:23px;bottom:11px;gap:3px;padding:5px 7px}.app-nav a{min-width:66px;min-height:60px;padding:5px 8px;font-size:10px}.app-nav a svg{width:27px;height:27px}.grid,.games-grid{grid-template-columns:1fr}.page-title h1,.setup-heading h1{font-size:29px}.page-title p:not(.eyebrow){font-size:15px}.panel,.sidebar .panel{padding:19px}.collection-tabs{padding:4px}.collection-tabs a{font-size:11px;padding:9px 11px}.search-panel{padding:15px}.search-panel label{font-size:13px}.set-title-panel input{font-size:21px}.question-row{flex-wrap:wrap}.question-row>.actions{width:100%;justify-content:flex-end}.team-card{padding:13px 9px;border-width:3px}.team-card .selection-sprite{height:175px;min-height:150px}.team-card .hero-label{font-size:13px}.setup footer{padding:12px}.account-panel{padding:26px 21px}.account-panel h1{font-size:29px}.app-nav svg{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}.launch-tile:hover,.launcher-grid .panorama:hover,.game-tile[href]:hover{transform:none}}
.launch-create .tile-copy h2,.launch-games .tile-copy h2{color:#fff;text-shadow:0 1px 4px #14233350}
@media(min-width:900px) and (max-height:800px){.app-header{min-height:62px;padding-top:11px;padding-bottom:8px}body[data-quest-page=home] main{padding-top:10px}.launcher-heading{margin:2px 3px 18px}.launcher-heading h1{font-size:29px}.launcher-grid{grid-template-rows:148px 130px 100px;gap:12px}.launch-questions{padding:17px 22px}.launch-questions h2{font-size:24px}.question-art{transform:scale(.85);transform-origin:right top;top:18px}.launch-library{padding:16px 19px}.launch-library>svg{height:43px;width:43px;top:8px}.launch-create .tile-copy h2{font-size:22px}.launcher-footer{margin-top:16px}}
body[data-quest-page=library] .page-title,body[data-quest-page=mine] .page-title{margin-bottom:18px}
body[data-quest-page=library] .page-title h1,body[data-quest-page=mine] .page-title h1{font-size:32px;margin-top:0}
.search-panel{padding:12px 15px;gap:8px 12px}.collection-tabs{margin-bottom:14px}.result-title p{margin-top:15px}

/* /question-sets/refine-v389.css */
:root{--bg:#edf0f6;--surface:#fcfdff;--soft:#e7edfa;--text:#253454;--muted:#64728c;--line:#d1d9eb;--purple:#4e69ca;--purple-hover:#3d55ad;--gold:#8d9cdd;--gold-soft:#e1e7fa;--gold-ink:#4c5c9f;--focus:#8496df;--glass:#f8faffed;--dot:#ffffffb8;--panel-shadow:7px 9px 0 #52648a08,12px 16px 24px #28385612;--art-veil:#edf0f6c7}
:root[data-theme=dark]{--bg:#17213a;--surface:#25314e;--soft:#2d3d60;--text:#edf2ff;--muted:#b6c4e2;--line:#425476;--purple:#a4b9ff;--purple-hover:#c5d2ff;--on-purple:#152448;--gold:#a6b5ed;--gold-soft:#2a3a65;--gold-ink:#bdcaff;--focus:#a2b0ed;--glass:#25314eed;--dot:#91a9e31d;--panel-shadow:7px 9px 0 #070e2418,13px 18px 26px #070d292b;--art-veil:#17213ac9}
body{background-color:var(--bg);background-image:radial-gradient(circle,var(--dot) 1.15px,transparent 1.6px);background-size:10px 10px;background-attachment:fixed;isolation:isolate}
main{position:relative;z-index:1}.app-header{z-index:30}.brand img{filter:brightness(0) saturate(100%) invert(44%) sepia(49%) saturate(940%) hue-rotate(190deg)}
button.primary,.button.primary{background:linear-gradient(125deg,#5777cb,#7778ca);box-shadow:4px 6px 12px #365aad20}button.primary:hover,.button.primary:hover{background:linear-gradient(125deg,#4865b8,#6568b8)}
.app-nav{gap:7px;padding:6px 13px;border:1px solid var(--line);box-shadow:var(--panel-shadow);background:var(--glass)}
.app-nav a{min-height:66px;min-width:83px;padding:5px 12px;gap:1px;z-index:1;outline:none!important;border-color:transparent!important;background:transparent!important}
.app-nav .nav-art{width:34px;height:34px;object-fit:contain;margin:1px;filter:none;transition:opacity .3s}
.app-nav a:hover .nav-art{transform:none}.app-nav a[aria-current=page]{outline:none!important}.app-nav a[aria-current=page]::after{display:none}
.dock-selection{position:absolute;left:0;border:1.5px solid #a0addd;border-radius:15px;background:linear-gradient(135deg,#9cace918,#c0b8ef16);pointer-events:none;z-index:0;opacity:0;box-shadow:inset 0 1px #ffffff40}
.dock-selection.is-ready{transition:transform .62s cubic-bezier(.22,.61,.36,1),width .62s cubic-bezier(.22,.61,.36,1),height .4s,opacity .3s}
.route-ghost{z-index:5!important;pointer-events:none!important;overflow:hidden;contain:layout style;opacity:1}
.route-ghost video{display:none}.busy-bar{animation:delayed-status 1.1s both}@keyframes delayed-status{0%,85%{opacity:0}100%{opacity:1}}
.launch-tile,body[data-quest-page=home] .launcher-grid .panorama,.card,.panel,.sidebar .panel,.selected-lesson,.search-panel,.team-card,.hero-option,.set-strip,.match-controls,.sticky-actions,.setup footer{box-shadow:var(--panel-shadow)}
body[data-quest-page=home] .launcher-grid .panorama{border:4px solid #fcfdff;border-radius:16px}
.launch-tile:hover,.launcher-grid .panorama:hover{transform:translateY(-2px);box-shadow:9px 13px 23px #293d6225;outline-color:var(--focus);transition:transform .35s ease,box-shadow .35s ease}
.launch-questions{background:linear-gradient(120deg,#edf2fc,#d8e5f8 60%,#dfe4fb);color:#354d77}
.launch-library{background:linear-gradient(130deg,#e9effb,#d7e2f5);color:#435c87}.launch-library>svg{color:#829bd1}
.library-tile-icon{position:absolute;right:19px;top:10px;width:46px;height:46px;object-fit:contain}
.launch-favorites{background:linear-gradient(130deg,#efedfa,#dedff5);color:#69608e}
.launch-create{background:linear-gradient(135deg,#657a9f,#354d79)}.launch-create>img{object-fit:contain;object-position:center top;height:78%;top:7px}.launch-create::after{background:linear-gradient(0deg,#243855f5,transparent 87%)}
.qcard-front{color:#7292cc;background:linear-gradient(140deg,#fff,#e4edff)}.orbit-dot{background:#abc3eb}.qcard{box-shadow:5px 8px 13px #5673a32b}
.launcher-grid .create-panorama .panorama-wallpaper{object-fit:contain;object-position:right center;width:100%;height:100%}.launcher-grid .create-panorama{background:var(--soft)}
.launcher-grid .create-panorama .panorama-copy h2{color:#fff}.launcher-grid .create-panorama .panorama-copy p{color:#eff3ff}
:root[data-theme=dark] .launch-questions{background:linear-gradient(120deg,#2b3d60,#34466f);color:#edf2ff}
:root[data-theme=dark] .launch-library{background:linear-gradient(130deg,#344267,#2d3b5f);color:#edf2ff}
:root[data-theme=dark] .launch-favorites{background:linear-gradient(130deg,#3b3e64,#343b5d);color:#edf2ff}
:root[data-theme=dark] .qcard-front{background:linear-gradient(140deg,#e7edff,#b8c9ec)}
:root[data-theme=dark] .team-card:nth-child(n){background:linear-gradient(145deg,var(--surface),#304169)}
.stepper b,.setup-steps b,.question-row .number{background:var(--soft);color:var(--gold-ink)}.selected-lesson{border-left-color:#91a5d8}.set-title-panel,.account-panel{border-top-color:#99a9db}
.avatar-option img,.profile-avatar,.account-avatar,.byline-avatar{border-radius:22%!important}
.game-tile{--cover-border:linear-gradient(135deg,#daa264,#ddc083 35%,#c28da9 65%,#9ca9d8);border:4px solid transparent!important;background:linear-gradient(var(--surface),var(--surface)) padding-box,var(--cover-border) border-box!important;border-radius:19px;outline:none;box-shadow:var(--panel-shadow);transition:transform .4s ease,box-shadow .4s ease}
.game-tile:nth-child(2){--cover-border:linear-gradient(135deg,#8ac5bd,#a5cae6 36%,#caa4cc 68%,#d7a36d)}
.game-tile:nth-child(3){--cover-border:linear-gradient(135deg,#a491bd,#8aa2c3 50%,#6d819e)}
.game-tile:nth-child(4){--cover-border:linear-gradient(135deg,#c6a0df,#dfbc82 50%,#a8bde2)}
.game-tile[href]:hover{border-color:transparent!important;outline:none;transform:translateY(-4px);box-shadow:10px 15px 28px #28385825}
.game-tile:focus-visible{outline:3px solid var(--focus);outline-offset:4px}.game-tile-media{border-radius:13px;overflow:hidden}
.game-backdrop{position:fixed;inset:0;z-index:0;pointer-events:none;opacity:0;transition:opacity .32s ease;background:var(--bg)}
.game-backdrop.is-visible{opacity:1}.game-backdrop-layer{position:absolute;inset:0;background-position:center;background-size:cover;filter:saturate(.17);opacity:0;transition:opacity .32s ease}
.game-backdrop-layer.is-active{opacity:1}.game-backdrop::after{content:'';position:absolute;inset:0;background:var(--art-veil)}
@media(max-width:520px){.app-nav{padding:5px 7px;gap:3px}.app-nav a{min-width:65px;min-height:61px;padding:5px 7px}.app-nav .nav-art{width:30px;height:30px}.dock-selection{border-radius:13px}.game-tile{border-width:3px!important}}
@media(prefers-reduced-motion:reduce){.dock-selection.is-ready,.game-backdrop,.game-backdrop-layer{transition:none}.launch-tile:hover,.game-tile[href]:hover,.launcher-grid .panorama:hover{transform:none}}

/* /question-sets/refine-v390.css */
/* v390: circular identity, charcoal console surfaces, and richer dock symbols. */
:root{--panel-shadow:6px 9px 2px #52648a10,12px 17px 25px #28385629}
body{overflow-x:clip}
.app-header{min-height:90px}.app-tools{margin-left:auto}
body > header #account{flex-wrap:nowrap;max-width:none;gap:15px}
.header-clock{font:700 18px/1.2 var(--font-heading);white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--text)}
body #account #account-profile{width:66px;height:66px;min-height:66px;max-width:none;padding:0;border:4px solid #fff;border-radius:50%;overflow:hidden;box-shadow:4px 7px 13px #17243c25;flex-shrink:0;display:grid;place-items:center;background:var(--surface)}
body #account .account-avatar{width:100%;height:100%;border-radius:50%!important;object-fit:cover}
.avatar-option img,.profile-avatar,.byline-avatar{border-radius:50%!important}
.profile-avatar{border:4px solid #fff}.avatar-option{border-radius:50%;aspect-ratio:1}.avatar-option img{aspect-ratio:1}
.launcher-heading h1{overflow-wrap:anywhere;max-width:850px}
.app-nav .nav-art{width:40px;height:40px;margin:0;filter:none}.app-nav a{min-height:70px}
.route-ghost{overflow:visible!important}.route-ghost *{animation-play-state:paused!important}.route-ghost .panorama-video{display:none}
:root[data-theme=dark]{--bg:#272a30;--surface:#303238;--soft:#3a3d45;--text:#f5f5f7;--muted:#bcc0ca;--line:#5a5d67;--purple:#b3bbfa;--purple-hover:#d0d5ff;--on-purple:#242630;--gold:#b9c3ef;--gold-soft:#3e4359;--gold-ink:#d0d8ff;--focus:#bcc8ff;--glass:#303137ee;--dot:#aeb8d916;--panel-shadow:5px 7px 2px #0000001c,12px 18px 25px #00000045;--art-veil:#272a30cf}
:root[data-theme=dark] .app-nav{border-color:#73757e;box-shadow:var(--panel-shadow),inset 0 1px 2px #ffffff38;background:linear-gradient(150deg,#383a40ee,#282a30f5)}
:root[data-theme=dark] .dock-selection{border-color:#a5a9bd;background:linear-gradient(135deg,#ffffff12,#a6aef413);box-shadow:inset 0 1px 3px #ffffff32}
:root[data-theme=dark] .launch-questions{background:linear-gradient(130deg,#404450,#30353e);color:var(--text)}
:root[data-theme=dark] .launch-library{background:linear-gradient(130deg,#3c414c,#30343e);color:var(--text)}
:root[data-theme=dark] .launch-favorites{background:linear-gradient(130deg,#45414e,#35323e);color:var(--text)}
:root[data-theme=dark] .launch-create{background:linear-gradient(130deg,#454a53,#2d323c)}
:root[data-theme=dark] .launch-create::after{background:linear-gradient(0deg,#20242cf5,transparent 87%)}
:root[data-theme=dark] .launch-tile,:root[data-theme=dark] body[data-quest-page=home] .launcher-grid .panorama{border-color:#85868e;border-width:2px;box-shadow:var(--panel-shadow),inset 0 1px 3px #ffffff25}
:root[data-theme=dark] .card,:root[data-theme=dark] .panel,:root[data-theme=dark] .search-panel,:root[data-theme=dark] .set-strip{border-color:#6c6f79;background:linear-gradient(140deg,#34373f,#2c2e35);box-shadow:var(--panel-shadow),inset 0 1px 2px #ffffff16}
:root[data-theme=dark] .team-card:nth-child(n){background:linear-gradient(145deg,#3b3e47,#2b2e36)}
:root[data-theme=dark] .theme-switch{box-shadow:inset 0 1px #ffffff28}
:root[data-theme=dark] .game-tile[href]:hover,:root[data-theme=dark] .launch-tile:hover{box-shadow:9px 15px 25px #00000065}
@media(max-width:600px){.app-header{padding:12px 16px;gap:8px}.brand-name{display:none!important}.app-tools{gap:8px}body > header #account{gap:9px}.header-clock{font-size:14px}body #account #account-profile{width:56px;height:56px;min-height:56px}#account-logout{padding:8px 10px}.launcher-heading{margin-top:9px}.launcher-heading h1{font-size:29px}.app-nav .nav-art{width:36px;height:36px}}
@media(max-width:360px){.app-header{padding:10px}.theme-switch button{width:25px;min-width:25px}.header-clock{font-size:12px}body > header #account{gap:6px}.brand img{width:28px}.app-tools{gap:5px}}

html{scrollbar-gutter:stable}

/* /question-sets/refine-v391.css */
/* Theme changes affect color only; geometry is shared in both appearances. */
:root{--panel-rim:#fcfdff;--edge-mist:#fcfdffd9}
:root[data-theme=dark]{--panel-rim:#fcfdff;--edge-mist:#fcfdffad}
:root .launch-tile,:root[data-theme=dark] .launch-tile,:root body[data-quest-page=home] .launcher-grid .panorama,:root[data-theme=dark] body[data-quest-page=home] .launcher-grid .panorama{border:4px solid var(--panel-rim);box-sizing:border-box}
/* A feathered inner rim blends cover art into the panel frame, without blurring it. */
.launch-tile::before,.launcher-grid .panorama::after,.game-tile-media::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 12px 3px var(--edge-mist);pointer-events:none;z-index:5}
.launch-tile,.launcher-grid .panorama{position:relative}
.game-tile-media::after{border-radius:13px;box-shadow:inset 0 0 12px 2px var(--edge-mist)}
.launch-games>img{object-fit:cover;object-position:center 46%}
.launch-games::after{background:linear-gradient(90deg,#182c46ed,#203851a8 42%,#20385108 75%)}
/* Frozen outgoing panels use their original viewport coordinates and dimensions. */
.route-panels{position:fixed;inset:0;z-index:6;pointer-events:none;overflow:hidden;contain:layout style}
.route-panels>*{pointer-events:none!important}
html{overflow-anchor:none}
@media(max-width:520px){:root .launch-tile,:root[data-theme=dark] .launch-tile,:root body[data-quest-page=home] .launcher-grid .panorama,:root[data-theme=dark] body[data-quest-page=home] .launcher-grid .panorama{border-width:3px}.launch-tile::before,.launcher-grid .panorama::after{box-shadow:inset 0 0 9px 2px var(--edge-mist)}}

.route-panels>.panorama::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 12px 3px var(--edge-mist);pointer-events:none;z-index:5}

/* v392: the feather follows the INNER curve of the frame, not its outer radius.
   Inheriting the larger outer radius left dark crescent gaps at each corner. */
:root{--panel-corner:16px;--panel-frame:4px;--rim-feather:12px}
.launch-tile::before,.launcher-grid .panorama::after,.route-panels>.panorama::after{
 border-radius:calc(var(--panel-corner) - var(--panel-frame));
 box-shadow:inset 0 0 0 1px var(--panel-rim),inset 0 0 var(--rim-feather) 5px var(--panel-rim);
}
.game-tile-media::after{
 border-radius:inherit;
 box-shadow:inset 0 0 0 1px var(--panel-rim),inset 0 0 var(--rim-feather) 4px var(--panel-rim);
}
@media(max-width:520px){:root{--panel-corner:13px;--panel-frame:3px;--rim-feather:10px}}
:root .launch-tile,:root[data-theme=dark] .launch-tile,:root body[data-quest-page=home] .launcher-grid .panorama,:root[data-theme=dark] body[data-quest-page=home] .launcher-grid .panorama{border-radius:var(--panel-corner)}

/* v393: continuous gradient feather, without stacked inset-shadow corner seams. */
:root{--panel-rim:#fcfdff;--rim-fade:7px;--rim-radius:calc(var(--panel-corner) - var(--panel-frame));--rim-mid:#fcfdff65}
:root[data-theme=dark]{--panel-rim:#727984;--rim-mid:#aeb8c32b;--rim-fade:6px}
.launch-tile::before,.launcher-grid .panorama::after,.route-panels>.panorama::after,.game-tile-media::after{
 --r:var(--rim-radius);
 box-shadow:none;
 border-radius:var(--r);
 background:
 radial-gradient(circle at 100% 100%,transparent calc(var(--r) - var(--rim-fade)),var(--rim-mid) calc(var(--r) - 2px),var(--panel-rim) var(--r)) top left / var(--r) var(--r),
 radial-gradient(circle at 0% 100%,transparent calc(var(--r) - var(--rim-fade)),var(--rim-mid) calc(var(--r) - 2px),var(--panel-rim) var(--r)) top right / var(--r) var(--r),
 radial-gradient(circle at 100% 0%,transparent calc(var(--r) - var(--rim-fade)),var(--rim-mid) calc(var(--r) - 2px),var(--panel-rim) var(--r)) bottom left / var(--r) var(--r),
 radial-gradient(circle at 0% 0%,transparent calc(var(--r) - var(--rim-fade)),var(--rim-mid) calc(var(--r) - 2px),var(--panel-rim) var(--r)) bottom right / var(--r) var(--r),
 linear-gradient(to bottom,var(--panel-rim),var(--rim-mid) 2px,transparent var(--rim-fade)) top center / calc(100% - 2 * var(--r)) var(--rim-fade),
 linear-gradient(to top,var(--panel-rim),var(--rim-mid) 2px,transparent var(--rim-fade)) bottom center / calc(100% - 2 * var(--r)) var(--rim-fade),
 linear-gradient(to right,var(--panel-rim),var(--rim-mid) 2px,transparent var(--rim-fade)) center left / var(--rim-fade) calc(100% - 2 * var(--r)),
 linear-gradient(to left,var(--panel-rim),var(--rim-mid) 2px,transparent var(--rim-fade)) center right / var(--rim-fade) calc(100% - 2 * var(--r));
 background-repeat:no-repeat;
}
.game-tile-media::after{--rim-radius:13px}
:root body[data-quest-page=home] .launcher-grid .panorama{background:var(--panel-rim)}
.panorama-stage{border-radius:var(--rim-radius);overflow:hidden;isolation:isolate}

/* /question-sets/content-v394.css */
/* Clear, consistent fallback for sets without an uploaded cover. */
body .missing-cover{position:relative;display:grid!important;place-items:center;isolation:isolate;overflow:hidden;aspect-ratio:16/9;width:100%;min-height:0;background:var(--soft);border-radius:10px}
body .missing-cover>img{display:block;width:100%;height:100%;object-fit:contain;filter:saturate(.08) brightness(.62);grid-area:1/1;margin:0}
body .missing-cover .no-cover-label{position:absolute;inset:0;display:grid;place-items:center;padding:12px;color:#fff;font:700 clamp(16px,2vw,22px)/1.3 var(--font-heading);text-align:center;text-shadow:0 1px 4px #0009;z-index:1}
body .card>.missing-cover{height:auto;aspect-ratio:16/9;margin:0;border-radius:10px}
.card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.card-actions [data-delete-set]{margin-left:auto;font-size:13px;padding:8px 10px;min-height:38px}

/* /question-sets/collection-view.css */
/* One persistent collection shell; only its result cards move. */
.collection-tabs{position:relative;isolation:isolate;flex-wrap:nowrap}
.collection-selection{position:absolute;left:0;top:0;z-index:0;pointer-events:none;border-radius:9px;background:var(--soft);box-shadow:0 1px 3px #24344a0c}
.collection-selection.is-ready{transition:transform 460ms cubic-bezier(.22,.7,.22,1),width 460ms cubic-bezier(.22,.7,.22,1),height 460ms cubic-bezier(.22,.7,.22,1)}
.collection-tabs a{position:relative;z-index:1}
html .collection-tabs a[aria-current=page],html .collection-tabs a:hover{background:transparent!important;box-shadow:none!important}
#results{overflow:clip;overflow-clip-margin:24px;isolation:isolate}
@media(max-width:520px){body[data-quest-page=library] .page-title h1,body[data-quest-page=mine] .page-title h1{min-height:2.4em}.collection-tabs{gap:0}}
@media(prefers-reduced-motion:reduce){.collection-selection.is-ready{transition:none}}

/* The title link covers the card; independent actions stay above it. */
.set-card{position:relative;isolation:isolate}
.set-card h3 a::after{content:'';position:absolute;inset:0;z-index:2;border-radius:inherit}
.set-card button,.set-card .card-actions a{position:relative;z-index:3}
.set-card:has(h3 a:focus-visible){outline:3px solid var(--focus);outline-offset:2px}

/* /question-sets/tedlala-brand.css */
/* Approved tedlala T/L identity and custom wordmark. */
/* Standalone games do not load the library's screen-reader utility. */
body .tedlala-wordmark .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
:root{--tedlala-brand-shadow:rgba(20,28,50,.24)}
:root[data-theme=dark]{--tedlala-brand-shadow:rgba(0,0,0,.5)}
@font-face{font-family:'Plus Jakarta Sans';src:url('/question-sets/fonts/PlusJakartaSans-Bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
.tedlala-mark{position:relative;display:inline-block;width:44px;height:44px;flex:0 0 44px;vertical-align:middle}
@font-face{font-family:'Tedlala Wordmark';src:url('/question-sets/fonts/TedlalaWordmark-Bold.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
.tedlala-mark{transform-origin:49.6667% 51.4667%}
body .tedlala-art,body .tedlala-half{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;padding:0}
body .tedlala-art{filter:drop-shadow(1px 2px 2px var(--tedlala-brand-shadow))}
html[data-theme] body .tedlala-mark .tedlala-half img{filter:none!important}
body .tedlala-mark img,html[data-theme] body .tedlala-mark img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(1px 2px 2px var(--tedlala-brand-shadow))!important;image-rendering:auto;transform:none;margin:0;padding:0;transition:opacity .45s ease}
.tedlala-mark .tedlala-light{opacity:1}.tedlala-mark .tedlala-dark{opacity:0}
:root[data-theme=dark] .tedlala-mark .tedlala-light{opacity:0}:root[data-theme=dark] .tedlala-mark .tedlala-dark{opacity:1}
body .tedlala-wordmark{display:inline!important;font-family:'Tedlala Wordmark','Plus Jakarta Sans',sans-serif!important;font-weight:700!important;font-size:26px;line-height:1.15;letter-spacing:-.035em;text-transform:none;color:#16181e;text-shadow:1px 2px 2px var(--tedlala-brand-shadow)}
:root[data-theme=dark] .tedlala-wordmark{color:#fff}
body .tedlala-wordmark .tedlala-syllable{display:inline-block;font:inherit;letter-spacing:inherit;color:inherit;text-shadow:inherit;vertical-align:baseline}
/* Raised text is reserved for page headings and the established brand treatment. */
body :is(.launcher-heading,.page-title,.setup-heading) h1,
body :is(.account-panel,.profile-panel) h1{
  text-shadow:1px 2px 2px var(--tedlala-brand-shadow);
}
body .brand{display:inline-flex;align-items:center;gap:4px;text-decoration:none}
.tedlala-account{display:flex;justify-content:center;align-items:center;gap:7px;margin:0 auto 20px}.tedlala-account .tedlala-mark{width:64px;height:64px;flex-basis:64px}.tedlala-account .tedlala-wordmark{font-size:32px}
.tedlala-game-brand{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;text-decoration:none}.tedlala-game-brand .tedlala-wordmark{color:#fff}
.tedlala-game-brand .tedlala-light{opacity:0}.tedlala-game-brand .tedlala-dark{opacity:1}
.combat-logo.tedlala-game-brand{width:auto;height:auto}.home-logo.tedlala-game-brand{width:auto;min-width:130px}
@media(max-width:600px){body .brand .tedlala-mark{width:32px;height:32px;flex-basis:32px}body .brand .tedlala-wordmark{font-size:22px}.app-header{flex-wrap:wrap}.app-header .app-tools{margin-left:auto}}
@media(prefers-reduced-motion:reduce){body .tedlala-mark img{transition:none}}

/* Reserve card geometry only when a collection has never loaded. */
.collection-placeholder .panel{height:330px;background:var(--surface,rgba(150,160,190,.08));opacity:.35;box-shadow:none}

/* Compact, stationary trademark and shared page footer. */
body .tedlala-wordmark .tedlala-registered{display:inline-block;font-family:Arial,sans-serif;font-size:.38em;font-weight:400;line-height:1;letter-spacing:0;vertical-align:super;margin-left:3px;text-shadow:none}
/* Copyright belongs to the document footer, after all page content. */
.site-copyright{position:relative;text-align:center;color:var(--muted);font-size:12px;line-height:16px;margin:0;padding:24px 20px calc(6px + env(safe-area-inset-bottom,0px))}
body .app-nav{bottom:calc(32px + env(safe-area-inset-bottom,0px))}
body:has(>.site-copyright){padding-bottom:0}
body:has(>.site-copyright) main{min-height:calc(100svh - 60px);padding-bottom:120px;box-sizing:border-box}

/* /question-sets/workshop415.css */
/* Essential authoring first; advanced settings and preview stay close at hand. */
body dialog.question-dialog{width:min(700px,calc(100vw - 24px))}
body .question-editor-simple{grid-template-columns:minmax(0,1fr);gap:12px}
.question-editor-simple #q-prompt,.question-editor-simple #q-answer{min-height:76px}
.question-image-tools{margin:-4px 0 20px}
.question-image-tools .media-well{min-height:0}
.question-image-tools img{max-height:150px}
.choice-help{margin:0 0 12px;font-size:14px;color:var(--muted)}
.answer-field{margin-bottom:12px}
.answer-field-correct{padding:14px;border:1px solid var(--purple);border-radius:12px;background:var(--soft)}
.question-advanced,.question-preview{border-top:1px solid var(--line);padding-top:14px;margin-top:18px}
.question-advanced summary,.question-preview summary{font-weight:700;color:var(--text);padding:4px 0}
.question-advanced .split{margin-top:18px}
.question-preview .student-preview{position:static;margin-top:14px;text-align:left}
.question-editor-simple .question-answers .actions{margin-top:4px}
.question-dialog .question-footer{gap:10px;flex-wrap:wrap;margin-top:18px}
.question-dialog .question-footer>span{flex:1 0 100%;font-size:13px}
.workshop-tools{position:relative;margin:0}
.workshop-tools summary{padding:9px 12px;font-size:14px;color:var(--text)}
.workshop-tools>div{position:absolute;right:0;top:100%;z-index:5;min-width:160px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.workshop-tools>div button{width:100%}
@media(max-width:560px){body dialog.question-dialog{padding:20px}.question-dialog .question-footer button{flex:1}.question-advanced .split{grid-template-columns:1fr}}
body dialog.question-dialog{padding:24px}
.question-dialog .question-editor-simple label{margin-bottom:12px}
.question-dialog .question-editor-simple #q-prompt,.question-dialog .question-editor-simple #q-answer{min-height:64px}
.question-dialog .answer-field-correct{padding:10px}
.question-dialog .question-preview{padding:8px 0 0;margin:8px 0 0;background:none;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none}
.question-dialog .question-advanced{padding-top:8px;margin-top:8px}
.question-dialog .question-footer{padding-top:12px;margin-top:12px}
.question-dialog .question-image-tools{margin-bottom:12px}

/* Question authoring lives within the set, with no modal or inner scrollbar. */
body .inline-question-editor{position:relative;width:100%;max-width:none;max-height:none;overflow:visible;margin:20px 0 8px;padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--surface);scroll-margin-top:24px;box-sizing:border-box}
.inline-question-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.inline-question-heading h3{margin:0;font-size:22px}
.inline-question-editor .question-editor-grid{display:grid}
.inline-question-editor #q-type{max-width:300px}
.inline-question-editor .question-footer{display:flex;justify-content:flex-end;align-items:center;position:static;box-shadow:none;background:none}
.inline-question-editor .question-footer>span{flex:1 1 180px}
#questions>[hidden]{display:none!important}
@media(max-width:600px){body .inline-question-editor{padding:14px}.inline-question-editor #q-type{max-width:none}.inline-question-heading h3{font-size:20px}.inline-question-editor .question-footer>span{flex-basis:100%}}

/* Compact authoring: matched answer cards form two columns on desktop. */
body .workshop-layout{gap:18px}
body .workshop-layout>div>.panel{padding:18px;margin-bottom:16px}
body .set-title-panel label{margin-bottom:0}
body .set-title-panel input{font-size:20px;padding:10px 12px;min-height:46px}
body .page-title:has(+.workshop-layout){margin-bottom:18px}
body .page-title:has(+.workshop-layout) h1{font-size:30px;margin-bottom:6px}
body .page-title:has(+.workshop-layout) p{margin-bottom:0}
body .inline-question-editor{padding:16px;margin-top:12px}
.inline-question-editor .inline-question-heading{margin-bottom:10px}
.inline-question-editor .inline-question-heading h3{font-size:20px}
.inline-question-editor .question-editor-simple{gap:0}
.inline-question-editor .question-editor-simple label{margin-bottom:8px}
.inline-question-editor label:has(>#q-type){display:flex;align-items:center;gap:14px}
.inline-question-editor #q-type{width:240px;margin:0;min-height:42px;padding:8px 10px}
.inline-question-editor .question-editor-simple #q-prompt,.inline-question-editor .question-editor-simple #q-answer{min-height:56px;height:56px;padding:10px 12px}
.inline-question-editor .question-image-tools{margin:0 0 8px}
.inline-question-editor .question-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
.inline-question-editor .question-answers>.choice-help,.inline-question-editor .question-answers>.actions{grid-column:1/-1;margin:0}
.inline-question-editor .question-answers>.answer-field{margin:0;padding:10px;border:1px solid transparent;border-radius:12px;min-width:0}
.inline-question-editor .question-answers>.answer-field-correct{border-color:var(--purple)}
.inline-question-editor .answer-field input{min-width:0;min-height:42px;padding:9px 10px}
.inline-question-editor .question-advanced,.inline-question-editor .question-preview{margin-top:8px;padding-top:4px}
.inline-question-editor .question-footer{padding-top:8px;margin-top:8px;gap:8px}
body .workshop-layout~.sticky-actions{margin-top:16px;padding:12px 16px}
@media(max-width:640px){
 .inline-question-editor .question-answers{grid-template-columns:minmax(0,1fr)}
 .inline-question-editor label:has(>#q-type){display:block}
 .inline-question-editor #q-type{width:100%;margin-top:6px}
 body .workshop-layout>div>.panel{padding:14px}
 body .inline-question-editor{padding:12px}
}

/* Keep question settings on the heading row and optional tools in one row. */
.inline-question-editor .inline-question-heading{display:grid;grid-template-columns:auto minmax(180px,270px) 1fr;align-items:center;gap:12px}
.inline-question-editor .inline-question-heading>[data-close]{justify-self:end}
.inline-question-editor .inline-question-heading [data-question-type]{min-width:0}
.inline-question-editor .inline-question-heading .question-type-control{display:block;margin:0}
.inline-question-editor .inline-question-heading #q-type{width:100%;max-width:none;margin:0}
.inline-question-editor .question-extra-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.inline-question-editor .question-extra-options>details{min-width:0}
.inline-question-editor .question-extra-options .split{grid-template-columns:minmax(0,1fr);gap:8px;margin-top:10px}
.inline-question-editor .question-extra-options .student-preview{padding:12px;margin-top:10px}
.inline-question-editor .question-extra-options .actions{flex-wrap:wrap}
@media(max-width:640px){
 .inline-question-editor .inline-question-heading{grid-template-columns:minmax(0,1fr) auto;gap:8px}
 .inline-question-editor .inline-question-heading>[data-close]{grid-row:1;grid-column:2}
 .inline-question-editor .inline-question-heading>[data-question-type]{grid-column:1/-1;grid-row:2}
 .inline-question-editor .question-extra-options{grid-template-columns:minmax(0,1fr);gap:0}
}

/* /question-sets/library421.css */
/* One library for personal creations and saved favorites. */
.library-sections{margin-top:0;margin-bottom:18px;width:max-content;max-width:100%}
.library-sections[hidden]{display:none}
.library-sections a{display:flex;align-items:center;gap:8px}
.favorite svg{width:23px;height:23px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.favorite[aria-pressed=true]{color:#b84071}
:root[data-theme=dark] .favorite[aria-pressed=true]{color:#f29dbd}
.favorite[aria-pressed=true] svg{fill:currentColor}
button.favorite{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:36px;min-height:36px}
button.favorite-remove{font-size:13px;padding:8px 0;justify-content:flex-start}
.favorite-remove svg{width:17px;height:17px}
.card-actions:has(.favorite-remove){flex-wrap:wrap}
.card-actions .favorite-remove{flex-basis:100%}
@media(max-width:520px){.library-sections a{font-size:13px}}

/* /question-sets/home422.css */
body .redirect-arrow{display:inline-block;flex:0 0 auto;font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;font-size:19px;line-height:1;letter-spacing:0;vertical-align:middle;text-shadow:none}
.preview-sidebar>.preview-choose-game{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;margin:16px 0 12px;box-sizing:border-box;grid-column:1/-1}
/* Home layout restored independently of the merged library behavior. */
.launch-favorites>svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;color:#b84071}
:root[data-theme=dark] .launch-favorites>svg{color:#f29dbd}

.launch-games .tile-link{margin-top:8px}
.launch-games .tile-kicker{font-size:9px}
.launch-games .tile-copy h2{font-size:clamp(19px,1.8vw,23px)}
@media(max-width:520px){.launch-games .tile-copy h2{font-size:20px}.launch-games{min-height:126px}}

/* /question-sets/admin.css */
.admin-badge{display:inline-flex;align-items:center;border:1px solid #8e86d4;border-radius:999px;padding:7px 12px;color:#51459c;background:#eeeaff;font-size:13px;font-weight:750;text-decoration:none;white-space:nowrap}
.admin-search{display:grid;grid-template-columns:minmax(180px,1fr) minmax(150px,220px) auto;align-items:end;gap:16px;margin:20px 0}
.admin-search label{margin:0}.admin-results{display:grid;gap:14px}.admin-set{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px}.admin-set h2{font-size:20px;margin:7px 0}.admin-set p,.admin-notice p{margin:6px 0 0}.admin-pagination{justify-content:center;margin:24px 0}.admin-activity{margin-top:32px}.admin-activity ul{padding-left:20px}.admin-activity li{padding:8px 0}.admin-activity time{font-size:13px;opacity:.7;margin-left:10px}.admin-notice{border-left:4px solid #8c83d6}
[data-theme=dark] .admin-badge{background:#433f62;color:#f0ebff;border-color:#978bc8}
@media(max-width:650px){.admin-search{grid-template-columns:1fr}.admin-set{align-items:stretch;flex-direction:column}.admin-set .actions{flex-wrap:wrap}.admin-badge{font-size:12px;padding:5px 8px}}

/* /question-sets/audit432.css */
/* Audit 432: fewer competing controls, quieter working surfaces. Prototype only. */
/* Keep the shared dotted background from refine-v389.css on every page. */
body:is([data-quest-page=library],[data-quest-page=mine],[data-quest-page=lesson],[data-quest-page=workshop]) :is(.panel,.card,.search-panel){box-shadow:3px 5px 14px #18253d12,inset 0 1px #ffffff14;border:1px solid var(--line);background:var(--surface)}
body:is([data-quest-page=library],[data-quest-page=mine],[data-quest-page=lesson],[data-quest-page=workshop]) .page-title{margin:0 0 16px;gap:12px}
body:is([data-quest-page=library],[data-quest-page=mine],[data-quest-page=lesson],[data-quest-page=workshop]) .page-title h1{font-size:30px;margin:0 0 5px;line-height:1.2}
body:is([data-quest-page=library],[data-quest-page=mine]) .page-title .eyebrow{display:none}
body:is([data-quest-page=library],[data-quest-page=mine]) .page-title p{margin:0;font-size:15px}
body:is([data-quest-page=library],[data-quest-page=mine]) .collection-tabs{margin:0 0 10px;padding:4px;min-height:44px}
body .collection-tabs a{padding:8px 16px;min-height:36px}
body .search-panel{display:grid;grid-template-columns:minmax(140px,1fr) 180px auto;gap:10px;padding:14px;margin-bottom:10px;align-items:end}
body .search-panel input,body .search-panel select{min-height:44px;padding:10px 12px}
body .search-panel label{margin:0;font-size:13px}
body .search-panel .more-filters{grid-column:1/-1;margin:0}
body .search-panel .more-filters summary{font-size:14px;cursor:pointer;min-height:26px}
body .search-panel #clear-search{grid-column:3;grid-row:2;justify-self:end;padding:4px 10px;min-height:28px}
body .search-panel .filter-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:10px}
body .quick-topics{display:none}body .active-filters:empty{display:none}body .active-filters{margin:0 0 10px}
body .result-title{margin:4px 0 10px}body .result-title p{margin:0;font-size:14px}
body .set-card .card-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:0}
body .set-card .card-body{padding:16px}body .set-card h3{font-size:20px;margin:8px 0}
body .set-card .card-actions{margin-top:12px;justify-content:space-between;align-items:center}
.manage-menu{position:relative;display:inline-block;z-index:3}.manage-menu summary{list-style:none;cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:10px 14px;font-size:14px;min-height:42px;background:var(--surface)}.manage-menu summary::-webkit-details-marker{display:none}.manage-menu[open]{z-index:12}.manage-menu>div{position:absolute;right:0;top:calc(100% + 6px);display:grid;gap:6px;padding:10px;min-width:180px;max-width:280px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:4px 8px 22px #131b3430}.manage-menu>div>*{width:100%;text-align:left}.manage-menu summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
body .set-card:has(.manage-menu[open]){overflow:visible;z-index:10}
body .game-intent{display:flex;align-items:center;gap:8px;padding:8px 12px;margin-bottom:12px;border:1px solid var(--line);border-radius:12px;background:var(--soft);font-size:14px}.game-intent button{margin-left:auto}
body .preferred-game{outline:3px solid var(--focus);outline-offset:4px}.selected-game-label{display:block;font-size:13px;margin-bottom:5px;color:#fff;font-weight:700}
body[data-quest-page=workshop] .app-nav{display:none}body[data-quest-page=workshop] main{padding-bottom:160px}
body[data-quest-page=workshop] .sticky-actions{bottom:12px;left:24px;right:24px;max-width:1240px;margin:auto;z-index:35;padding:12px 16px;border:1px solid var(--line);background:var(--surface);box-shadow:0 4px 24px #14213e26;gap:16px;align-items:center;display:flex;justify-content:space-between;border-radius:16px}
body[data-quest-page=workshop] .sticky-actions .actions{gap:8px}body[data-quest-page=workshop] #save-set{background:#657bc0;color:#fff;border-color:transparent}body[data-quest-page=workshop] .question-footer #q-save{display:none}
body[data-quest-page=workshop] .workshop-layout{gap:16px;grid-template-columns:minmax(0,1fr) 270px}body[data-quest-page=workshop] .workshop-layout .panel{padding:18px;margin-bottom:14px}body[data-quest-page=workshop] .set-title-panel input{font-size:20px;padding:10px 12px}body[data-quest-page=workshop] :is(input,textarea,select){scroll-margin-block:100px 160px}
body[data-quest-page=workshop] .question-dialog{scroll-margin-top:25px}body[data-quest-page=workshop] .question-footer{padding:10px 0;margin-top:10px;gap:10px}body[data-quest-page=workshop] #q-state{font-size:12px}body[data-quest-page=workshop] #save-state{font-size:13px;max-width:270px}
.editor-back{font-size:14px;display:inline-flex;margin-bottom:12px}
body[data-quest-page=lesson] .quest-flow{margin:0 0 8px}body[data-quest-page=lesson] .page-title{margin:12px 0}body[data-quest-page=lesson] .page-title .eyebrow{display:none}body[data-quest-page=lesson] .page-title h1{font-size:28px}body[data-quest-page=lesson] .question-action-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0;margin:0 0 14px;background:none;border:0;box-shadow:none}body[data-quest-page=lesson] .question-play-cta{display:contents}body[data-quest-page=lesson] .question-action-bar input{width:190px;flex:1;min-width:160px;max-width:320px}body[data-quest-page=lesson] .layout.reverse{grid-template-columns:minmax(0,1fr) 230px;align-items:start}body[data-quest-page=lesson] .preview-sidebar{grid-column:2;grid-row:1;padding:14px;position:static}body[data-quest-page=lesson] .layout.reverse>.grid{grid-column:1;grid-row:1}body[data-quest-page=lesson] .preview-sidebar .media-well{max-height:125px}body[data-quest-page=lesson] .preview-help{display:none}
body .account-panel{max-width:640px}.profile-details{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}.profile-details label{margin:0}.account-settings{margin:18px 0}.account-settings summary{cursor:pointer;font-weight:700}.account-settings form{margin-top:16px;display:grid;gap:10px}.account-settings input{width:100%}.recovery-panel{max-width:480px!important}.preview-mail{padding:12px;background:var(--soft);border-radius:10px;font-size:14px}
body .app-nav{bottom:12px}body:has(>.site-copyright) main{padding-bottom:140px}
@media(max-width:760px){
body .app-header{flex-wrap:nowrap;padding:12px 16px;gap:8px;min-height:66px}body .app-tools{gap:7px}body #account{gap:6px}body #account-logout,body .header-clock{display:none}body .app-header .account-name{width:40px;height:40px;min-width:40px;padding:0}body .app-header .account-avatar{width:40px;height:40px;border-width:2px}body .theme-switch button{width:26px;height:26px;min-width:26px;min-height:26px}body .brand .tedlala-wordmark{font-size:21px}body .brand .tedlala-mark{width:30px;height:30px;flex-basis:30px}body #account button{font-size:12px;padding:7px 9px}body #account-profile{padding:0!important}body .admin-badge{font-size:10px;padding:4px}
body main{padding:14px 16px 130px}body:is([data-quest-page=library],[data-quest-page=mine]) .page-title{margin-bottom:12px;align-items:center}body:is([data-quest-page=library],[data-quest-page=mine]) .page-title h1{font-size:25px}body:is([data-quest-page=library],[data-quest-page=mine]) .page-title p{display:none}body:is([data-quest-page=library],[data-quest-page=mine]) .page-title .button{min-height:38px;padding:8px 10px;font-size:12px}body .collection-tabs{width:100%;gap:0;justify-content:space-between}body .collection-tabs a{font-size:12px;min-width:0;padding:8px 10px}body .search-panel{grid-template-columns:1fr auto;gap:8px;padding:10px}body .search-panel>label{grid-column:1;grid-row:2}body .search-panel #submit-search{grid-column:2;grid-row:1}body .search-panel .more-filters{grid-column:1/-1;grid-row:3}body .search-panel #clear-search{grid-column:2;grid-row:2}body .search-panel .filter-fields{grid-template-columns:1fr 1fr}body .search-panel input{font-size:16px;min-width:0}body .app-nav{max-width:calc(100vw - 28px);padding:5px 8px;gap:3px}body .app-nav a{min-width:65px;min-height:55px;padding:5px 8px}body .app-nav .nav-art{width:29px;height:29px}
body[data-quest-page=workshop] .workshop-layout{grid-template-columns:1fr}body[data-quest-page=workshop] .sticky-actions{left:10px;right:10px;bottom:8px;display:block;padding:10px}body[data-quest-page=workshop] #save-state{display:block;max-width:none;margin-bottom:6px}body[data-quest-page=workshop] .sticky-actions .actions{justify-content:space-between}body[data-quest-page=workshop] .sticky-actions button{font-size:12px;padding:9px 10px;min-height:40px}body[data-quest-page=workshop] .page-title h1{font-size:25px}body[data-quest-page=workshop] .page-title p{display:none}
body[data-quest-page=lesson] .layout.reverse{display:flex;flex-direction:column}body[data-quest-page=lesson] .preview-sidebar{order:2;width:100%}body[data-quest-page=lesson] .layout.reverse>.grid{width:100%}body[data-quest-page=lesson] .question-action-bar input{max-width:none}body[data-quest-page=lesson] .page-title h1{font-size:26px}.profile-details{grid-template-columns:1fr}body .account-panel{padding:22px 16px}.panorama-controls{top:10px;right:10px}
}
.delete-undo{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);box-shadow:4px 8px 28px #131b3440;max-width:calc(100vw - 24px);width:max-content}.delete-undo button{white-space:nowrap}
body .search-panel{grid-template-columns:minmax(0,1fr) auto}body .search-panel #query{grid-column:1;grid-row:1}body .search-panel #submit-search{grid-column:2;grid-row:1}body .search-panel .more-filters{grid-column:1/-1;grid-row:2}body .search-panel #clear-search{grid-column:2;grid-row:2;z-index:2}body .search-panel .filter-fields{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}body .search-panel .filter-fields label{grid-area:auto}
body:is([data-quest-page=library],[data-quest-page=mine]) .page-title h1{min-height:0}body .question-action-bar .favorite{margin-left:auto}
@media(max-width:760px){body:is([data-quest-page=library],[data-quest-page=mine]) .page-title{flex-direction:row;flex-wrap:nowrap;align-items:center;min-height:0}body:is([data-quest-page=library],[data-quest-page=mine]) .page-title h1{font-size:25px;min-height:0}body .search-panel .filter-fields{grid-template-columns:1fr 1fr}}
:root[data-theme=dark] .beta-page #error{color:#ffadc5}.beta-page .brand .tedlala-wordmark{font-size:30px}.beta-page .brand .tedlala-mark{width:44px;height:44px;flex-basis:44px}.profile-panel .account-settings{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.profile-panel .account-settings details{flex:1;min-width:190px}.profile-panel .account-settings>button{margin:0}
/* Shared brand action color also applies before the beta gate is unlocked. */
body.beta-page form button{background:#7b91dc;color:#111a36}body.beta-page form button:hover{background:#8da1e5;color:#111a36}
