:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f9f8ff;background:#0e1225;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 48% 0,#252148 0,#131831 44%,#0e1225 82%);min-height:100vh}button{font:inherit;cursor:pointer}button:focus-visible,.world-card:focus-visible{outline:3px solid #e9cf88;outline-offset:3px}button:disabled{cursor:default;opacity:.8}h1,h2,p{margin:0}h2{font-size:clamp(21px,3vw,30px)}#app{max-width:1240px;margin:auto;padding:0 28px}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #ffffff19}.brand{display:flex;align-items:center;gap:12px}.brand-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:15px;background:linear-gradient(140deg,#f4d37c,#ec8e50);color:#332245;font-size:33px;box-shadow:0 9px 30px #ed9d4638}.brand strong{font-size:20px;letter-spacing:1.5px;display:block}.brand strong span{color:#e7bb64}.brand small{display:block;font-size:9px;letter-spacing:2.1px;color:#a1a1bc;margin-top:2px}.header-actions{display:flex;align-items:center;gap:12px}.stars-pill{color:#ffcf6d;border:1px solid #e4c36f44;background:#e3b75415;border-radius:12px;padding:9px 14px;font-size:19px}.stars-pill b{font-size:16px}.icon-btn,.parent-btn,.scene-controls button{border:1px solid #ffffff30;background:#ffffff0b;color:#eeeefa;border-radius:11px;min-height:38px}.icon-btn{width:40px}.parent-btn{padding:9px 14px;font-size:13px;font-weight:650}.parent-btn span{color:#f1ca7c;margin-left:6px}.hero{padding-top:39px}.hero-title{display:flex;justify-content:space-between;align-items:end;gap:22px;padding-bottom:25px}.eyebrow{color:#ebbe76;font-size:11px;letter-spacing:2.1px;font-weight:850;display:flex;align-items:center;gap:8px}.eyebrow.purple{color:#ad9cef}.pulse,.live-badge i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#8fe3b3;box-shadow:0 0 0 5px #8fe3b322}h1{margin:9px 0 8px;font-size:clamp(30px,4.6vw,56px);letter-spacing:-2px;line-height:1.12}h1 em{color:#f5c66f;font-style:normal}.wave{font-size:36px}.hero-title p{color:#b5b3cc;font-size:15px;max-width:650px;line-height:1.5}.hero-title p strong{color:#fff}.daily-chip{display:flex;align-items:center;gap:11px;border:1px solid #bba86e35;border-radius:16px;padding:12px 17px;background:#d3b56c13;white-space:nowrap}.daily-chip>span{font-size:28px}.daily-chip small,.daily-chip b{display:block}.daily-chip small{color:#c3bba7;font-size:10px}.daily-chip b{font-size:12px;margin-top:3px}.scene-wrap{height:400px;position:relative;border-radius:22px;overflow:hidden;border:1px solid #6d63c24c;background:radial-gradient(ellipse at 50% 30%,#3b406a,#282950 55%,#191d3c);box-shadow:0 25px 70px #0004;isolation:isolate}.scene-wrap:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 53% 12%,#a5b6ff17 0,transparent 45%),linear-gradient(0deg,#13162e80,transparent 30%);z-index:2}.scene-wrap canvas{display:block;width:100%;height:100%;touch-action:pan-y}.scene-top,.scene-bottom{position:absolute;z-index:3;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;gap:16px;pointer-events:none}.scene-top{top:17px}.scene-bottom{bottom:14px;color:#d9d3f8a3;font-size:11px}.live-badge{font-size:10px;letter-spacing:1.2px;color:#b6ffce;background:#1f3e43be;border:1px solid #93ddbd45;border-radius:20px;padding:9px 12px;display:flex;align-items:center;gap:12px}.scene-controls{display:flex;align-items:center;gap:8px;background:#10152ccf;border-radius:11px;padding:4px 6px;color:#cec6e9;font-size:11px;pointer-events:auto}.scene-controls button{width:31px;min-height:28px}.scene-fallback{position:absolute;z-index:4;inset:30%;text-align:center;font-weight:bold;color:#fff}.worlds-section{padding-top:41px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:18px}.section-heading h2{margin-top:6px}.hint{font-size:12px;color:#b5b4d1}.hint b{color:#eec16a}.world-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.world-card{border:1px solid #ffffff20;text-align:left;background:linear-gradient(160deg,#ffffff10,#ffffff06);border-radius:18px;color:#fff;padding:0;overflow:hidden;position:relative;min-height:215px;transition:transform .2s,border-color .2s;box-shadow:0 7px 20px #0002}.world-card:hover{transform:translateY(-3px);border-color:#ffffff70}.world-art{height:107px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.world-art:before{content:"";position:absolute;width:190px;height:100px;left:calc(50% - 95px);top:25px;background:#ffffff22;filter:blur(37px);border-radius:100%}.world-symbol{font-size:57px;filter:drop-shadow(0 7px 5px #0003);z-index:1;transition:transform .2s}.world-card:hover .world-symbol{transform:scale(1.1) rotate(-5deg)}.world-body{padding:13px 17px 16px}.world-body strong{display:block;font-size:16px}.world-body small{display:block;color:#babacf;line-height:1.45;font-size:12px;margin-top:4px}.world-card .arrow{position:absolute;right:15px;bottom:16px;color:#e8cb98}.world-cat{position:absolute;right:13px;top:11px;font-size:9px;letter-spacing:.5px;border:1px solid #ffffff44;border-radius:20px;padding:4px 8px;background:#0003;color:#fff}.bottom-row{display:grid;grid-template-columns:1.3fr 1fr;gap:16px;padding:27px 0 40px}.progress-card,.note-card{padding:22px;border:1px solid #ffffff1e;background:#ffffff0b;border-radius:19px}.card-head{display:flex;gap:12px;align-items:center}.card-head>span,.note-icon{font-size:29px}.card-head strong,.card-head small{display:block}.card-head small{color:#a4a4c0;font-size:12px;margin-top:3px}.progress-stats{display:flex;gap:7px;padding:22px 0 17px}.progress-stats>div{flex:1;text-align:center;border-right:1px solid #ffffff1f}.progress-stats>div:last-child{border:0}.progress-stats b{font-size:28px;color:#edcc87;display:block}.progress-stats small{font-size:10px;color:#b8b8cb}.secondary-action{display:flex;align-items:center;justify-content:center;gap:8px;min-height:41px;width:100%;color:#ebe7ff;background:#9b8de333;border:1px solid #998ad283;border-radius:12px;padding:9px 12px;font-size:13px;font-weight:700}.secondary-action span{margin-left:auto}.note-card{background:linear-gradient(135deg,#e2b25b20,#ad7bf415)}.note-card strong{display:block;margin:5px 0 8px}.note-card p{color:#c0bcd1;font-size:13px;line-height:1.55}.tiny-stars{color:#f2bb6d;letter-spacing:9px;margin-top:12px;font-size:12px}footer{border-top:1px solid #ffffff11;text-align:center;color:#8384a4;font-size:11px;padding:21px 0 29px}.modal-backdrop[hidden],.scene-fallback[hidden]{display:none}.modal-backdrop{position:fixed;inset:0;z-index:20;background:#090b19d9;backdrop-filter:blur(8px);display:grid;place-items:center;padding:16px}.modal{width:min(100%,570px);max-height:min(92dvh,780px);overflow:auto;position:relative;background:#1b2141;border:1px solid #897fb866;border-radius:24px;padding:27px;box-shadow:0 25px 80px #000a}.close-btn{position:absolute;top:15px;right:15px;width:35px;height:35px;border:1px solid #ffffff32;border-radius:10px;background:#ffffff18;color:#fff}.quest-hero{text-align:center;margin:4px 0 22px}.quest-icon{width:80px;height:80px;border-radius:24px;margin:0 auto 10px;display:grid;place-items:center;font-size:42px;background:#ffffff12}.quest-hero h2{margin:8px 25px 7px}.quest-hero p{color:#b6bbd4;font-size:13px}.topic-chip{display:inline-block;border:1px solid #a5a1d263;padding:6px 11px;border-radius:20px;font-size:11px;color:#e7d8fc;margin:0 0 12px}.question-prompt{font-size:23px;font-weight:800;line-height:1.3;margin-bottom:12px}.question-sub{color:#b8bfd9;font-size:13px;margin-bottom:16px;line-height:1.5}.choices{display:grid;gap:9px}.choice{padding:13px 15px;border:1px solid #aaa7d45e;border-radius:12px;background:#ffffff0e;color:#fff;text-align:left;min-height:48px;font-weight:680;transition:background .15s}.choice:hover:not(:disabled){background:#ffffff20}.choice.correct{background:#227d6263;border-color:#8fe5ba}.choice.wrong{background:#a94c6063;border-color:#f0a1aa}.feedback{margin:14px 0;padding:14px 15px;border-radius:13px;background:#ffffff13;border:1px solid #ffffff22}.feedback strong{display:block;margin-bottom:5px}.feedback p{color:#d1d3e5;font-size:13px;line-height:1.55}.next-btn,.primary-btn{margin-top:14px;width:100%;min-height:48px;border:none;border-radius:13px;color:#34233a;background:linear-gradient(135deg,#f0d28e,#e2a969);font-weight:850}.question-index{display:flex;justify-content:space-between;color:#c1c5df;font-size:12px;margin-bottom:15px}.question-bar{height:6px;background:#ffffff1a;border-radius:10px;margin-bottom:18px;overflow:hidden}.question-bar>i{display:block;background:#e4bc76;height:100%;transition:width .2s}.finish{text-align:center}.finish .big-emoji{font-size:66px;display:block;margin:13px}.finish h2{margin:8px 0}.finish p{color:#c0bed4;line-height:1.55}.finish .points{font-size:35px;color:#efcf80;margin:14px}.parent-modal h2{margin:8px 0 12px}.muted{color:#b2b6ce;font-size:13px;line-height:1.5}.parent-summary{display:flex;gap:10px;margin:18px 0}.parent-summary>div{flex:1;background:#ffffff0d;border-radius:12px;padding:13px;text-align:center}.parent-summary b{display:block;font-size:23px;color:#eed08a}.parent-summary small{font-size:10px;color:#b8bfd1}.skill-list{max-height:240px;overflow:auto;border:1px solid #ffffff2a;border-radius:12px}.skill-row{padding:12px 13px;display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid #ffffff14;font-size:12px}.skill-row:last-child{border:0}.skill-row small{color:#aeb9ce;display:block;margin-top:3px}.skill-row em{font-style:normal;border-radius:15px;padding:5px 8px;font-size:10px;white-space:nowrap;background:#ffffff17}.skill-row em.ok{color:#b7f2c8;background:#24826040}.skill-row em.review{color:#ffe0a1;background:#a67a3740}.parent-actions{display:grid;gap:9px;margin-top:17px}.reset-button{background:transparent;border:1px solid #f8a9ae70;color:#f3bec0;padding:10px;border-radius:11px}.small-print{font-size:11px;color:#9fa5bb;line-height:1.5;margin-top:15px}.writing-board{padding:13px;border:1px dashed #c6a7ee66;background:#ffffff07;border-radius:13px;margin-bottom:14px}.writing-board textarea{width:100%;min-height:100px;resize:vertical;background:#11162d;color:#fff;border:1px solid #a29ad35a;border-radius:9px;padding:12px;font:inherit;font-size:14px;margin-top:10px}.writing-board .mission-label{color:#f0d28d;font-weight:750;font-size:12px}.writing-board p{font-size:13px;line-height:1.5;margin-top:5px}.segment-picker{display:flex;gap:7px;flex-wrap:wrap;margin:11px 0}.segment-picker button{border-radius:12px;border:1px solid #ffffff35;background:#ffffff15;color:#fff;padding:8px 11px;font-size:12px}.segment-picker button.active{background:#e7c179;color:#352440}.handwriting{background:#e8d39b15;border:1px dashed #e9bf7770;border-radius:12px;padding:12px;margin-top:12px;font-size:13px;line-height:1.5}.spinning-top{display:inline-block;animation:spin 1.4s linear infinite;transform-origin:50% 50%}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:800px){#app{padding:0 16px}.topbar{height:74px}.brand strong{font-size:16px}.brand small{font-size:8px;letter-spacing:1px}.brand-icon{width:36px;height:36px;font-size:26px}.header-actions{gap:7px}.parent-btn{font-size:0;padding:10px}.parent-btn span{font-size:15px;margin:0}.hero{padding-top:25px}.hero-title{align-items:start}.hero-title p{max-width:470px}.daily-chip{display:none}.scene-wrap{height:360px}.world-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bottom-row{grid-template-columns:1fr}.scene-controls span{display:none}.scene-bottom span:last-child{display:none}}
@media(max-width:490px){.scene-wrap{height:290px}.scene-top,.scene-bottom{left:10px;right:10px}.scene-top{top:10px}.scene-bottom{font-size:9px;bottom:9px}.world-grid{gap:9px}.world-art{height:91px}.world-symbol{font-size:48px}.world-body{padding:11px 10px 14px;min-height:94px}.world-body strong{font-size:13px}.world-body small{font-size:11px}.world-cat{font-size:8px;top:7px;right:7px}.scene-top .live-badge{font-size:8px}.hint{display:none}.modal{padding:22px 17px}.question-prompt{font-size:20px}.parent-summary{gap:5px}.parent-summary>div{padding:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
