@import "https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;500;700&family=Noto+Serif+SC:wght@400;600&display=swap";:root{color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#fff;font-family:Outfit,Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}.full-piano-keyboard{width:100%}.full-piano-keyboard__thumbnail{opacity:.72;background:#f8fafc;border:1px solid #0000;border-radius:8px;height:58px;margin-bottom:8px;transition:opacity .18s,border-color .18s,box-shadow .18s;position:relative;overflow:hidden}.full-piano-keyboard__thumbnail--active,.full-piano-keyboard__thumbnail:hover,.full-piano-keyboard__thumbnail:focus-within{opacity:1}.full-piano-keyboard__thumbnail-svg{width:100%;height:100%;display:block}.full-piano-keyboard__zone{color:#475569;cursor:pointer;background:#ffffff2e;border:1px solid #64748b47;border-radius:7px;height:50px;padding:0;font-size:10px;font-weight:800;transition:border-color .16s,background .16s,color .16s;top:4px}.full-piano-keyboard__zone--selected{color:#1d4ed8;background:#dbeafe8c;border-color:#2563eb;outline:none}@media (hover:hover) and (pointer:fine){.full-piano-keyboard__zone:hover,.full-piano-keyboard__zone:focus-visible{color:#1d4ed8;background:#dbeafe8c;border-color:#2563eb;outline:none}}.full-piano-keyboard__zone span{pointer-events:none;line-height:1;position:absolute;bottom:-1px;left:0;right:0}.full-piano-keyboard__viewport{opacity:0;pointer-events:none;background:#2563eb1a;border:1.5px solid #2563eb47;border-radius:8px;height:48px;transition:left 80ms linear,width 80ms linear,opacity .14s,border-color .14s,background .14s,box-shadow .14s;position:absolute;top:5px;box-shadow:0 0 0 1px #2563eb0a}.full-piano-keyboard__viewport--subtle{opacity:.42}.full-piano-keyboard__viewport--visible{opacity:1;background:#2563eb29;border-color:#2563ebad;box-shadow:0 0 0 2px #2563eb14}.full-piano-keyboard__scroll{-webkit-overflow-scrolling:touch;touch-action:pan-x;-webkit-user-select:none;user-select:none;width:100%;max-width:2288px;transition:opacity .2s;overflow:auto hidden}body{min-height:100vh;margin:0;padding:0}*{box-sizing:border-box}button{font-family:inherit}.account-button,.account-icon-button,.auth-icon-button,.auth-submit,.cms-auth-panel button{cursor:pointer;border:none}.account-button{color:#fff;background:#2563eb;border-radius:8px;align-items:center;gap:6px;padding:8px 12px;font-size:.9rem;font-weight:700;display:inline-flex}.account-menu{align-items:center;gap:8px;display:inline-flex;position:relative}.account-chip{color:#92400e;text-overflow:ellipsis;white-space:nowrap;background:#fef9e7;border:1px solid #fbbf24;border-radius:999px;align-items:center;gap:6px;max-width:180px;padding:7px 10px;font-size:.85rem;font-weight:700;display:inline-flex;overflow:hidden}.account-icon-button,.auth-icon-button{color:#374151;background:#f3f4f6;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.account-loading,.account-error{color:#6b7280;font-size:.8rem}.account-error{color:#dc2626;text-align:right;width:220px;position:absolute;top:38px;right:0}.auth-page{background:linear-gradient(135deg,#fdfbfb 0%,#ebedee 100%);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex;transform:translateZ(0)}.auth-page-card{contain:layout style paint;background:#fff;border-radius:12px;flex-direction:column;gap:16px;width:min(100%,420px);padding:28px;display:flex;box-shadow:0 24px 80px #0f172a1f}.auth-page-header{flex-direction:column;gap:4px;display:flex}.auth-page-header h1{color:#111827;margin:0;font-size:1.5rem;font-weight:800}.auth-page-header p{color:#6b7280;margin:0;font-size:.9rem}.auth-back-link{color:#6b7280;align-items:center;gap:4px;margin-bottom:8px;font-size:.88rem;font-weight:500;text-decoration:none;display:inline-flex}.auth-back-link:hover{color:#2563eb}.auth-page-card form{flex-direction:column;gap:16px;display:flex}.auth-forgot-link{color:#6b7280;cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;padding:0;font-family:inherit;font-size:.88rem;display:inline-flex}.auth-forgot-link:hover{color:#2563eb}.auth-tabs{grid-template-columns:1fr 1fr;gap:8px;display:grid}.auth-tabs button{color:#374151;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:10px;font-weight:700;display:inline-flex}.auth-tabs button.active{color:#1d4ed8;background:#eff6ff;border-color:#2563eb}.auth-field{color:#374151;flex-direction:column;gap:6px;font-size:.9rem;font-weight:700;display:flex}.auth-field input{width:100%;font:inherit;color:#111827;border:1px solid #d1d5db;border-radius:8px;padding:11px 12px}.auth-field input:focus{border-color:#2563eb;outline:3px solid #dbeafe}.auth-submit{color:#fff;background:#2563eb;border-radius:8px;padding:12px 16px;font-size:1rem;font-weight:800}.auth-submit:disabled{cursor:not-allowed;background:#9ca3af}.auth-message,.auth-warning{color:#b91c1c;background:#fef2f2;border-radius:8px;margin:0;padding:10px 12px;font-size:.88rem}.auth-message.success{color:#047857;background:#ecfdf5}.auth-warning{color:#92400e;background:#fffbeb}.cms-auth-state{background:#f8fafc;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.cms-auth-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-direction:column;align-items:flex-start;gap:14px;width:min(100%,440px);padding:28px;display:flex;box-shadow:0 20px 60px #0f172a14}.cms-auth-panel h1,.cms-auth-panel p{margin:0}.cms-auth-panel h1{color:#111827;font-size:1.5rem}.cms-auth-panel p{color:#4b5563}.cms-auth-panel button,.cms-auth-panel a{color:#fff;background:#2563eb;border-radius:8px;justify-content:center;align-items:center;min-height:40px;padding:0 14px;font-weight:800;text-decoration:none;display:inline-flex}.cms-auth-panel a{color:#374151;background:#f3f4f6}.client-layout{contain:layout style paint;background:linear-gradient(135deg,#fdfbfb 0%,#ebedee 100%);flex-direction:column;min-height:100vh;display:flex;transform:translateZ(0)}.client-header{background:#ffffffd9;justify-content:space-between;align-items:center;padding:20px 40px;display:flex;box-shadow:0 4px 6px #0000000d}.client-logo{color:#3b82f6;letter-spacing:-.5px;font-size:1.5rem;font-weight:800;text-decoration:none}.client-header-right{align-items:center;gap:15px;display:flex}.client-main{flex-direction:column;flex:1;padding:40px;display:flex}.client-feedback-wrapper{text-align:center;padding:16px}.client-feedback-btn{color:#9ca3af;cursor:pointer;background:0 0;border:none;font-family:inherit;font-size:12px;text-decoration:none}.client-feedback-btn:hover{text-decoration:underline}.client-soft-button{color:#4b5563;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:999px;align-self:flex-start;min-height:38px;padding:8px 14px;font-size:.95rem;font-weight:700;box-shadow:0 2px 6px #0f172a0a}.learning-home,.free-page,.adventure-page{width:100%;max-width:980px;margin:0 auto}.learning-home{flex-direction:column;flex:1;justify-content:center;gap:36px;display:flex}.learning-home-heading,.free-header,.adventure-header{flex-direction:column;gap:12px;display:flex}.learning-home-heading span,.free-kicker,.adventure-kicker{color:#64748b;letter-spacing:0;background:#fff;border-radius:999px;align-items:center;gap:8px;width:fit-content;padding:7px 12px;font-size:.82rem;font-weight:800;display:inline-flex;box-shadow:0 2px 10px #0f172a0d}.learning-home-heading h1,.free-header h1,.adventure-title-block h1{color:#111827;letter-spacing:0;margin:0;font-size:2.6rem;font-weight:800;line-height:1.08}.free-header p,.adventure-title-block p{color:#64748b;max-width:620px;margin:0;font-size:1rem}.learning-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.learning-entry-card,.free-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:28px;align-items:center;gap:18px;width:100%;min-height:180px;padding:28px;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;box-shadow:0 12px 36px #0f172a0f}.learning-entry-card:hover,.free-card:hover{border-color:color-mix(in srgb, var(--entry-color,var(--module-color)) 30%, #e5e7eb);transform:translateY(-4px);box-shadow:0 18px 44px #0f172a1a}.learning-entry-icon,.free-icon{background:var(--entry-bg,var(--module-bg));width:88px;height:88px;color:var(--entry-color,var(--module-color));border-radius:24px;flex:none;justify-content:center;align-items:center;display:inline-flex}.learning-entry-copy,.free-card-body{flex-direction:column;gap:4px;min-width:0;display:flex}.learning-entry-copy strong,.free-card-body strong{color:#111827;font-size:1.55rem;font-weight:800;line-height:1.15}.learning-entry-copy small,.free-card-body small{color:var(--entry-color,var(--module-color));font-size:.82rem;font-style:normal;font-weight:800}.learning-entry-copy em,.free-card-body em{color:#64748b;margin-top:6px;font-size:.95rem;font-style:normal;line-height:1.45}.free-page,.adventure-page{flex-direction:column;gap:28px;display:flex}.free-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.free-card{min-height:170px}.adventure-game-page{flex-direction:column;gap:24px;width:min(100%,1080px);margin:0 auto;display:flex}.adventure-game-hero{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px;display:grid}.adventure-game-copy{flex-direction:column;gap:12px;display:flex}.adventure-game-copy h1{color:#111827;margin:0;font-size:3rem;font-weight:900;line-height:1}.adventure-game-copy p{color:#64748b;max-width:620px;margin:0;font-size:1rem}.adventure-game-progress{background:#fff;border:1px solid #bfdbfe;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;min-width:250px;padding:14px;display:grid;box-shadow:0 12px 30px #2563eb1a}.adventure-progress-medal{color:#b45309;background:#fef3c7;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;display:inline-flex}.adventure-game-progress strong{color:#111827;font-size:1.45rem;line-height:1;display:block}.adventure-game-progress span{color:#64748b;margin-top:3px;font-size:.82rem;font-weight:800;display:block}.adventure-game-progress-bar{background:#e5e7eb;border-radius:999px;height:9px;margin-top:9px;overflow:hidden}.adventure-game-progress-bar>div{border-radius:inherit;background:#2563eb;height:100%}.adventure-quest-board{background:linear-gradient(#eff6fff5,#f8fafcfa),radial-gradient(circle at 12% 18%,#2563eb1f,#0000 28%),radial-gradient(circle at 88% 72%,#16a34a1c,#0000 28%);border:1px solid #dbeafe;border-radius:8px;flex-direction:column;gap:18px;padding:22px;display:flex;position:relative;box-shadow:0 18px 44px #0f172a14}.adventure-quest-board:before{content:"";background:linear-gradient(#93c5fd,#bfdbfe);border-radius:999px;width:6px;position:absolute;top:64px;bottom:64px;left:70px}.adventure-quest-card{z-index:1;color:#111827;text-align:left;background:#fffffff0;border:1px solid #e5e7eb;border-radius:16px;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:18px;width:100%;min-height:130px;padding:20px 22px 20px 12px;transition:transform .2s,box-shadow .2s,border-color .2s;display:grid;position:relative;box-shadow:0 12px 30px #0f172a12}.adventure-quest-card.ready{cursor:pointer;border-color:color-mix(in srgb, var(--node-color) 36%, #e5e7eb);background:color-mix(in srgb, var(--node-color) 3%, #fff)}.adventure-quest-card.ready:hover{border-color:var(--node-color);transform:translateY(-3px);box-shadow:0 20px 44px #0f172a1f}.adventure-quest-card.locked{color:#94a3b8;cursor:not-allowed;opacity:.7}.adventure-quest-card.complete{background:#f6fbf8;border-color:#a7d3bb}.adventure-quest-card.complete .quest-orb{color:#fff;background:#16a34a}.quest-rail{justify-content:center;display:inline-flex}.quest-orb{color:#94a3b8;background:#e5e7eb;border:7px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:82px;height:82px;transition:transform .2s,box-shadow .2s;display:inline-flex;box-shadow:0 12px 28px #0f172a29}.adventure-quest-card.ready .quest-orb{background:linear-gradient(135deg, var(--node-color), color-mix(in srgb, var(--node-color) 70%, #000));color:#fff;box-shadow:0 12px 28px color-mix(in srgb, var(--node-color) 40%, transparent)}.adventure-quest-card.ready:hover .quest-orb{box-shadow:0 16px 36px color-mix(in srgb, var(--node-color) 50%, transparent);transform:scale(1.06)}.quest-card-body{flex-direction:column;gap:6px;min-width:0;display:flex}.quest-card-body strong{color:#111827;letter-spacing:-.02em;font-size:1.35rem;font-weight:800;line-height:1.2}.adventure-quest-card.locked .quest-card-body strong{color:#9ca3af}.quest-card-body small{color:#64748b;font-size:.92rem;line-height:1.4}.quest-desc{opacity:.85;color:#6b7280;margin-top:1px;font-size:.88rem;font-style:italic}.quest-placeholder{color:#cbd5e1;margin-top:1px;font-size:.88rem;font-weight:600}.quest-action{color:#64748b;letter-spacing:.02em;background:#f1f5f9;border-radius:999px;justify-content:center;align-items:center;min-width:82px;padding:10px 16px;font-size:.9rem;font-weight:900;transition:background .2s,color .2s,transform .2s;display:inline-flex}.adventure-quest-card.ready .quest-action{background:color-mix(in srgb, var(--node-color) 14%, #fff);color:var(--node-color);box-shadow:0 4px 12px color-mix(in srgb, var(--node-color) 20%, transparent)}.adventure-quest-card.ready:hover .quest-action{transform:scale(1.04)}.adventure-quest-card.complete .quest-action{color:#15803d;background:#ecfdf5}.level-chip{color:#1d4ed8;background:#eff6ff;border-radius:999px;justify-content:center;align-self:flex-start;align-items:center;min-height:22px;padding:3px 8px;font-size:.74rem;font-weight:900;display:inline-flex}.adventure-empty{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:16px;align-items:center;gap:10px;padding:14px 16px;font-size:.92rem;font-weight:700;display:flex}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.cms-layout{min-height:100vh;font-family:system-ui,sans-serif;display:flex}.cms-sidebar{background:#f4f4f5;border-right:1px solid #e4e4e7;flex-direction:column;width:250px;padding:20px;display:flex}.cms-sidebar-title{color:#18181b;margin:0 0 20px;font-size:1.2rem}.cms-sidebar-account{margin-bottom:18px}.cms-sidebar-nav{flex-direction:column;flex:1;gap:10px;display:flex}.cms-nav-link{color:#3f3f46;background:0 0;border-radius:4px;padding:8px;font-weight:400;text-decoration:none}.cms-nav-link.active{color:#7c3aed;background:#f3f0ff;font-weight:600}.cms-publish-section{border-top:1px solid #e4e4e7;margin-top:16px;padding-top:16px}.cms-publish-btn{color:#fff;border:none;border-radius:8px;width:100%;padding:12px 16px;font-size:.95rem;font-weight:700;transition:background-color .2s}.cms-publish-btn.idle{cursor:pointer;background:#2563eb}.cms-publish-btn.saving{cursor:wait;background:#2563eb}.cms-publish-btn.success{cursor:pointer;background:#059669}.cms-publish-btn.error{cursor:pointer;background:#dc2626}.cms-publish-error{color:#dc2626;word-break:break-word;margin-top:8px;font-size:.75rem}.cms-publish-hint{color:#9ca3af;text-align:center;margin-top:8px;font-size:.75rem}.cms-main{background:#fff;flex:1;padding:40px}.adventure-cms-page{flex-direction:column;gap:20px;width:min(1180px,100%);display:flex}.adventure-cms-header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.adventure-cms-kicker{color:#2563eb;align-items:center;gap:6px;font-size:.88rem;font-weight:800;display:inline-flex}.adventure-cms-header h1{color:#111827;margin:8px 0;font-size:2rem;line-height:1.15}.adventure-cms-header p{color:#64748b;max-width:760px;margin:0;font-size:.95rem}.adventure-cms-stats{color:#1d4ed8;text-align:center;background:#eff6ff;border:1px solid #dbeafe;border-radius:8px;min-width:112px;padding:14px}.adventure-cms-stats strong{font-size:1.7rem;line-height:1;display:block}.adventure-cms-stats span{font-size:.82rem;font-weight:800}.adventure-cms-message{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:10px 14px;font-size:.9rem;font-weight:700}.adventure-route-grid{grid-template-columns:minmax(340px,.92fr) minmax(420px,1.08fr);align-items:start;gap:16px;display:grid}.adventure-cms-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:18px;box-shadow:0 8px 28px #0f172a0a}.panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.panel-heading h2{color:#111827;margin:0;font-size:1.05rem}.panel-heading span{color:#94a3b8;font-size:.82rem;font-weight:700}.cms-field{flex-direction:column;gap:6px;margin-bottom:12px;display:flex}.cms-field span{color:#334155;font-size:.84rem;font-weight:800}.cms-field input,.cms-field textarea,.cms-field select,.cms-search-field input{color:#111827;width:100%;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 11px}.cms-field input:focus,.cms-field textarea:focus,.cms-field select:focus,.cms-search-field input:focus{border-color:#2563eb;outline:3px solid #dbeafe}.pool-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.cms-search-field{color:#64748b;align-items:center;gap:8px;margin-bottom:12px;display:flex}.cms-search-field.compact{margin-bottom:0}.cms-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#3b82f6;border:none;border-radius:10px;padding:10px 16px;font-size:.9rem;font-weight:600}.cms-btn:disabled{cursor:not-allowed;background:#93c5fd}.cms-btn-secondary{color:#374151;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:10px 16px;font-size:.9rem;font-weight:600}.cms-btn-danger{color:#dc2626;cursor:pointer;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:6px 12px;font-size:.8rem;font-weight:600}.cms-btn-secondary:disabled{color:#d1d5db;cursor:not-allowed;background:#f9fafb}.cms-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;box-shadow:0 2px 8px #00000008}.cms-card-title{color:#374151;margin:0 0 12px;font-size:1rem;font-weight:700}.cms-input{color:#374151;border:1px solid #e5e7eb;border-radius:10px;outline:none;width:100%;padding:10px 14px;font-size:.9rem}.cms-input:focus{border-color:#2563eb;outline:3px solid #dbeafe}.cms-error-banner{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;margin-bottom:16px;padding:12px 16px;font-size:.9rem}.cms-spinner{border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;width:28px;height:28px;animation:.8s linear infinite spin}.cms-allowlist-entry{background:#fff;border:1px solid #e5e7eb;border-radius:10px;justify-content:space-between;align-items:center;padding:12px 16px;display:flex;box-shadow:0 1px 3px #00000008}.cms-allowlist-entry--registered{border-left:4px solid #10b981}.cms-allowlist-entry--pending{border-left:4px solid #d1d5db}.source-stage-list{flex-direction:column;gap:10px;max-height:620px;display:flex;overflow:auto}.source-stage-row{background:#fff;border:1px solid #e5e7eb;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.source-stage-row.selected{background:#eff6ff;border-color:#bfdbfe}.stage-main{min-width:0}.stage-title-line{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.stage-title-line strong{color:#111827}.stage-main p{color:#64748b;margin:4px 0;font-size:.86rem}.stage-main small{color:#94a3b8;font-size:.78rem}.in-route-badge{color:#1d4ed8;white-space:nowrap;background:#eff6ff;border-radius:999px;align-items:center;padding:2px 7px;font-size:.72rem;font-weight:900;display:inline-flex}.module-pill{white-space:nowrap;background:color-mix(in srgb, var(--pill-color) 12%, #fff);color:var(--pill-color);border-radius:999px;justify-content:center;align-items:center;padding:3px 8px;font-size:.75rem;font-weight:900;display:inline-flex}.stage-add-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-width:86px;padding:8px 10px;font-weight:900;display:inline-flex}.stage-add-button:disabled{cursor:not-allowed;background:#cbd5e1}.official-stage-list{flex-direction:column;gap:8px;display:flex}.official-stage-row{cursor:default;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #e5e7eb;border-radius:8px;grid-template-columns:20px auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:12px;transition:border-color .15s,box-shadow .15s;display:grid}.official-stage-row.drag-over{background:#fffbeb;border-color:#f59e0b;box-shadow:0 0 0 2px #f59e0b26}.official-stage-row:active{cursor:grabbing}.drag-handle{cursor:grab;color:#cbd5e1;border-radius:4px;justify-content:center;align-items:center;padding:2px;transition:color .12s;display:inline-flex}.drag-handle:hover{color:#f59e0b}.stage-order-badge{color:#1d4ed8;background:#eff6ff;border-radius:50%;justify-content:center;align-items:center;width:54px;height:54px;font-weight:900;display:inline-flex}.stage-health{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:3px 8px;font-size:.75rem;font-weight:900;display:inline-flex}.stage-health.ok{color:#047857;background:#ecfdf5}.stage-health.warn{color:#b45309;background:#fffbeb}.stage-health.bad{color:#dc2626;background:#fef2f2}.stage-actions{gap:6px;display:inline-flex}.stage-actions button{color:#475569;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:6px;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.stage-actions button:disabled{cursor:not-allowed;opacity:.35}.stage-actions button.danger{color:#dc2626}.empty-state{color:#94a3b8;margin:0;font-size:.9rem}.adventure-cms-publish-bar{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.adventure-cms-publish-status{color:#64748b;align-items:center;gap:8px;font-size:.88rem;font-weight:700;display:inline-flex}.status-dot{border-radius:50%;width:10px;height:10px}.status-dot.synced{background:#16a34a}.status-dot.changed{background:#f59e0b}.stage-edit-form{flex-direction:column;gap:8px;display:flex}.stage-edit-input,.stage-edit-textarea{color:#111827;width:100%;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:8px 10px}.stage-edit-input:focus,.stage-edit-textarea:focus{border-color:#2563eb;outline:3px solid #dbeafe}.stage-edit-textarea{resize:vertical;min-height:52px}.stage-edit-actions{gap:8px;display:inline-flex}.stage-desc{color:#64748b;margin:4px 0;font-size:.86rem;font-style:italic}.text-action{color:#2563eb;cursor:pointer;background:0 0;border:none;align-items:center;gap:5px;font-weight:800;display:inline-flex}.primary-action{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;padding:11px 14px;font-weight:900;display:inline-flex}.primary-action:disabled{opacity:.5;cursor:not-allowed}@media (width<=920px){.adventure-cms-header,.adventure-route-grid,.adventure-game-hero{grid-template-columns:1fr}.adventure-cms-header{display:grid}.pool-filter-grid,.official-stage-row{grid-template-columns:1fr}.stage-actions{justify-content:flex-start}.adventure-game-progress{min-width:0}.adventure-quest-board{padding:14px}.adventure-quest-board:before{left:53px}.adventure-quest-card{grid-template-columns:70px minmax(0,1fr);gap:12px;padding:16px}.quest-orb{border-width:5px;width:62px;height:62px}.quest-card-body strong{font-size:1.15rem}.quest-action{grid-column:2;justify-self:flex-start;min-width:72px;padding:8px 14px}.learning-home{justify-content:flex-start;gap:24px}.learning-home-heading h1,.free-header h1,.adventure-title-block h1{font-size:1.9rem}.learning-entry-grid,.free-grid{grid-template-columns:1fr;gap:14px}.learning-entry-card,.free-card{border-radius:20px;min-height:136px;padding:18px}.learning-entry-icon,.free-icon{border-radius:18px;width:64px;height:64px}.learning-entry-copy strong,.free-card-body strong{font-size:1.2rem}}.quiz-solfege{text-align:center;letter-spacing:.08em;z-index:1;pointer-events:none;font-size:2.25rem;font-weight:700;transition:opacity .4s;position:absolute;top:8px;left:0;right:0}.quiz-solfege--correct{color:#16a34a}.quiz-solfege--wrong{color:#ef4444}.practice-notes-quiz{--staff-slot-h:185px;--staff-card-h:202px}.practice-notes-quiz__header{flex-flow:column;flex-shrink:0;align-items:stretch;gap:10px;margin-bottom:16px;display:flex}.practice-notes-quiz__exit{cursor:pointer;color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:20px;align-self:flex-start;padding:8px 16px;font-size:1rem;font-weight:600;box-shadow:0 2px 4px #00000005}.practice-notes-quiz__toolbar{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.practice-notes-quiz__toolbar-end{flex-wrap:nowrap;flex-shrink:0;align-items:center;gap:8px;min-width:0;display:flex}.practice-notes-quiz__range{color:#6b7280;white-space:nowrap;font-size:.9rem}.practice-notes-quiz__score{color:#16a34a;white-space:nowrap;background:#f0fdf4;border-radius:12px;padding:6px 12px;font-size:.85rem;font-weight:700}.practice-notes-quiz__audio{flex-shrink:0;position:relative}.practice-notes-quiz__audio-btn{cursor:pointer;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 2px 8px #0000000f}.practice-notes-quiz__audio-tip{color:#fff;white-space:nowrap;z-index:10;background:#1f2937;border-radius:10px;padding:8px 12px;font-size:.8rem;transition:opacity .5s;position:absolute;top:44px;right:0;box-shadow:0 4px 12px #00000026}.practice-notes-quiz__body{flex-direction:column;flex:1;justify-content:flex-start;align-items:center;min-height:0;display:flex}.quiz-card--staff-fixed{box-sizing:border-box;width:100%;min-width:0;max-width:500px;height:var(--staff-card-h);min-height:var(--staff-card-h);max-height:var(--staff-card-h);flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;margin-bottom:12px;padding:8px 12px 6px;display:flex;position:relative}.quiz-staff-slot{width:100%;height:var(--staff-slot-h);min-height:var(--staff-slot-h);max-height:var(--staff-slot-h);justify-content:center;align-items:center;line-height:0;display:flex;overflow:hidden}.quiz-staff-slot svg{max-width:100%;height:auto;display:block}.practice-notes-quiz__options{box-sizing:border-box;flex-direction:column;flex-shrink:0;align-self:center;gap:12px;width:100%;max-width:min(100%,360px);margin-left:auto;margin-right:auto;padding-bottom:8px;padding-left:12px;padding-right:12px;display:flex}.practice-notes-quiz__options-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:100%;display:grid}.practice-notes-quiz__options-row--three{grid-template-columns:.5fr 1fr 1fr 1fr .5fr}.practice-notes-quiz__options-row--three .practice-notes-quiz__option-btn:first-child{grid-column:2}.practice-notes-quiz__options-row--three .practice-notes-quiz__option-btn:nth-child(2){grid-column:3}.practice-notes-quiz__options-row--three .practice-notes-quiz__option-btn:nth-child(3){grid-column:4}.practice-notes-quiz__option-btn{aspect-ratio:1;color:#374151;cursor:pointer;background:#fff;border:1px solid #f3f4f6;border-radius:16px;justify-content:center;justify-self:center;align-items:center;width:100%;max-width:84px;max-height:84px;font-size:clamp(1.2rem,4vw,1.55rem);font-weight:700;transition:transform .2s cubic-bezier(.4,0,.2,1),box-shadow .2s;display:flex;box-shadow:0 4px 15px #00000008}.practice-notes-quiz__option-btn:hover{transform:translateY(-4px);box-shadow:0 12px 20px #0000000f}@media (width<=640px){.client-header{gap:10px;padding:12px 16px}.client-logo{font-size:1.1rem}.client-header-right{gap:10px}.account-chip.hide-on-mobile,.account-chip-text{display:none}.client-main{padding:16px}.main-menu-title{margin-bottom:30px!important;font-size:1.8rem!important}.main-menu-grid{grid-template-columns:repeat(2,1fr)!important;gap:16px!important}.main-menu-card{border-radius:20px!important;padding:20px 12px!important}.main-menu-icon{border-radius:16px!important;width:60px!important;height:60px!important;margin-bottom:12px!important}.main-menu-card h2{font-size:1.1rem!important}.quiz-header{flex-wrap:wrap;gap:10px;margin-bottom:20px!important}.quiz-card:not(.quiz-card--staff-fixed){min-width:unset!important;border-radius:20px!important;width:100%!important;margin-bottom:30px!important;padding:20px!important}.practice-notes-quiz{--staff-slot-h:185px;--staff-card-h:202px}.practice-notes-quiz__header{gap:6px!important;margin-bottom:8px!important}.practice-notes-quiz__header.quiz-header{flex-wrap:nowrap!important}.practice-notes-quiz__exit{padding:6px 12px!important;font-size:.875rem!important}.practice-notes-quiz__toolbar{gap:6px!important}.practice-notes-quiz__range{display:none}.practice-notes-quiz__score{padding:4px 10px!important;font-size:.8rem!important}.practice-notes-quiz__audio-btn{width:32px!important;height:32px!important}.quiz-card--staff-fixed{border-radius:20px!important;margin-bottom:8px!important;padding:6px 10px 4px!important}.quiz-body{justify-content:flex-start!important}.quiz-solfege{font-size:1.65rem!important;top:4px!important}.practice-notes-quiz__options{align-self:stretch;gap:10px!important;max-width:100%!important;padding-left:8px!important;padding-right:8px!important}.practice-notes-quiz__options-row{gap:8px!important}.practice-notes-quiz__option-btn{border-radius:14px!important;max-width:none!important;max-height:none!important;font-size:1.45rem!important}.quiz-options button{min-width:100px!important;padding:10px 14px!important;font-size:1rem!important}.stage-selector-title{font-size:1.6rem!important}.stage-grid{gap:20px!important;margin-top:30px!important}.stage-circle{width:65px!important;height:65px!important;font-size:1.4rem!important}}.profile-layout{flex:1;min-height:0;margin:-40px;display:flex}.profile-sidebar{background:#f4f4f5;border-right:1px solid #e4e4e7;flex-direction:column;gap:20px;width:250px;padding:20px;display:flex}.profile-sidebar-header{border-bottom:1px solid #e4e4e7;align-items:center;gap:10px;padding-bottom:16px;display:flex}.profile-sidebar-nickname{color:#18181b;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1.1rem;font-weight:700;overflow:hidden}.profile-sidebar-nav{flex-direction:column;flex:1;gap:10px;display:flex}.profile-nav-link{color:#3f3f46;cursor:pointer;font-weight:400;font-size:inherit;text-align:left;background:0 0;border:none;border-radius:4px;align-items:center;gap:8px;padding:8px;font-family:inherit;text-decoration:none;display:flex}.profile-nav-link.active{color:#7c3aed;background:#f3f0ff;font-weight:600}.profile-main{flex:1;padding:28px 32px;overflow-y:auto}.profile-sidebar-footer{border-top:1px solid #e4e4e7;margin-top:auto;padding-top:16px}.profile-signout-error{color:#dc2626;margin-top:6px;font-size:.75rem;display:block}.records-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.records-filter-select{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:7px 10px;font-family:inherit;font-size:.85rem}.records-filter-select:focus{border-color:#2563eb;outline:2px solid #dbeafe}.records-search-wrapper{flex:1;max-width:240px;position:relative}@media (width<=600px){.records-search-wrapper{flex-basis:100%;max-width:none}}.records-search-icon{color:#9ca3af;pointer-events:none;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.records-search-input{color:#374151;border:1px solid #d1d5db;border-radius:6px;width:100%;padding:7px 10px 7px 30px;font-family:inherit;font-size:.85rem}.records-search-input:focus{border-color:#2563eb;outline:2px solid #dbeafe}.practice-records-table{border-collapse:collapse;width:100%;font-size:.9rem}.practice-records-table th{text-align:left;color:#6b7280;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:10px 12px;font-size:.8rem;font-weight:600}.practice-records-table td{color:#1f2937;border-bottom:1px solid #f3f4f6;padding:10px 12px}.practice-records-table tr:last-child td{border-bottom:none}.leaderboard-header{background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);border:1px solid #fde68a;border-radius:12px;align-items:center;gap:12px;margin-bottom:16px;padding:16px;display:flex}.leaderboard-subtitle{color:#a16207;margin:4px 0 0;font-size:.8rem}.leaderboard-list{flex-direction:column;gap:6px;display:flex}.leaderboard-row{background:#f9fafb;border:1px solid #f3f4f6;border-radius:8px;align-items:center;gap:12px;padding:12px 14px;font-size:.9rem;display:flex}.leaderboard-row-highlight{background:#eff6ff;border-color:#bfdbfe}.leaderboard-you{color:#3b82f6;margin-left:4px;font-size:.8rem;font-weight:500}.profile-loading{color:#6b7280;justify-content:center;align-items:center;padding:40px 0;font-size:.9rem;display:flex}.spin-icon{animation:1s linear infinite spin}.profile-error{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:40px 0;display:flex}.profile-error-message{color:#dc2626;font-size:.9rem}.profile-retry-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:8px 16px;font-size:.85rem;font-weight:600}.profile-retry-button:hover{background:#f9fafb;border-color:#d1d5db}.profile-empty{color:#9ca3af;justify-content:center;align-items:center;padding:40px 0;font-size:.9rem;display:flex}.profile-mobile-menu-btn,.profile-mobile-close-btn,.profile-mobile-overlay{display:none}@media (width<=640px){.profile-layout{flex-direction:column;margin:-16px;position:relative}.profile-mobile-menu-btn{z-index:10;color:#374151;cursor:pointer;width:36px;height:36px;box-shadow:none;background:0 0;border:none;border-radius:50%;outline:none;justify-content:center;align-items:center;display:flex;position:fixed;top:7px;right:16px}.profile-mobile-menu-btn:hover{background:#e5e7eb}.profile-mobile-overlay{z-index:99;background:#0000004d;display:block;position:fixed;inset:0}.profile-sidebar{z-index:100;border-left:1px solid #e4e4e7;border-right:none;border-radius:0;flex-direction:column;gap:20px;width:260px;padding:20px;transition:transform .25s;position:fixed;top:0;bottom:0;right:0;transform:translate(100%)}.profile-sidebar.open{transform:translate(0)}.profile-mobile-close-btn{color:#374151;cursor:pointer;background:#f3f4f6;border:none;border-radius:8px;justify-content:center;align-self:flex-end;align-items:center;width:32px;height:32px;margin-bottom:4px;display:flex}.profile-mobile-close-btn:hover{background:#e5e7eb}.profile-sidebar-header{border-bottom:1px solid #e4e4e7;padding-bottom:16px}.profile-sidebar-nickname{font-size:.95rem}.profile-sidebar-nav{flex-direction:column;gap:10px}.profile-nav-link{padding:8px 10px;font-size:.9rem}.profile-main{padding:16px}.practice-records-table th,.practice-records-table td{padding:8px 6px;font-size:.8rem}.leaderboard-row{gap:8px;padding:10px;font-size:.85rem}}
