:root{color-scheme:light;--yellow:#FFD60A;--ink:#0A0A0A;--paper:#fff;--muted:#858585;--line:#E7E7E7;--soft:#F6F6F4;--orange:#EA8A00;--blue:#368BC6;--red:#DF5060;--purple:#8E67B2;--shadow:#D5B000;--safe-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}html{background:#F7F7F5;color:var(--ink);font-family:'Noto Sans JP',sans-serif;-webkit-tap-highlight-color:transparent}body{margin:0;min-height:100dvh}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation;-webkit-appearance:none}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--blue);outline-offset:4px}button,a{-webkit-user-select:none;user-select:none}button{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.45;font-weight:900;letter-spacing:-.04em}h2{font-size:24px;line-height:1.5;font-weight:900;letter-spacing:-.03em}h3{font-size:18px;line-height:1.5;font-weight:800}p{line-height:1.8}a{color:var(--blue)}.icon{width:25px;height:25px;flex-shrink:0;vertical-align:middle}.mascot{width:168px;height:168px;display:block;margin:auto;overflow:visible}.app-shell{max-width:500px;margin:auto;background:var(--paper);min-height:100dvh;position:relative;overflow:hidden}.desktop-brand{display:none}.page{padding:26px 22px 115px;min-height:calc(100dvh - 70px)}.eyebrow{font-size:11px;font-weight:900;letter-spacing:.13em;color:#8D8D8D;text-transform:uppercase}.subtle{font-size:13px;color:var(--muted);line-height:1.7}.section-title{margin:22px 0 13px}.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:15px 18px 13px;background:rgba(255,255,255,.98);border-bottom:2px solid var(--line);height:71px}.topstat{border:0;background:none;display:flex;align-items:center;gap:5px;padding:4px 2px;font-weight:900;font-size:15px;min-height:36px}.topstat.course{gap:8px;font-size:13px;line-height:1.2}.course-square{width:31px;height:34px;display:grid;place-items:center;background:var(--yellow);border:2px solid var(--ink);border-radius:9px;box-shadow:0 2px 0 var(--ink)}.course-square .icon{width:20px;height:20px}.flame{color:var(--orange)}.gem{color:var(--blue)}.heart{color:var(--red)}.heart .icon,.flame .icon{fill:currentColor;stroke-width:1.5}.topstat.inactive{color:#b4b4b4}.nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,500px);z-index:30;background:#fff;border-top:2px solid var(--line);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:8px 9px calc(9px + var(--safe-bottom));gap:3px}.nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:0;border-radius:12px;min-height:52px;background:none;color:#a2a2a2;font-size:10px;font-weight:800;padding:6px 0}.nav .icon{width:25px;height:25px}.nav button.active{background:#FFF6BD;color:var(--ink);box-shadow:inset 0 0 0 2px #FFE16B}.nav button.active .icon{color:#D9A300}.primary,.secondary,.danger{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:54px;border-radius:15px;font-size:15px;font-weight:900;letter-spacing:.01em;padding:13px 16px;position:relative;transition:transform .08s,box-shadow .08s}.primary{background:var(--yellow);border:2px solid #EDC600;box-shadow:0 4px 0 var(--shadow);color:var(--ink)}.primary:active{transform:translateY(4px);box-shadow:0 0 0 var(--shadow)}.primary:disabled{background:#E8E8E8;border-color:#E8E8E8;box-shadow:0 4px 0 #CCC;color:#A7A7A7}.primary.dark{background:var(--ink);border-color:var(--ink);box-shadow:0 4px 0 #555;color:#fff}.secondary{background:#fff;border:2px solid var(--line);box-shadow:0 3px 0 var(--line);color:#646464}.secondary:active{transform:translateY(3px);box-shadow:none}.danger{background:#FFF0F1;border:2px solid #F3C3CA;color:#C74254;box-shadow:0 3px 0 #E4B1BA}.textbutton{border:0;background:none;padding:12px 8px;color:#828282;font-weight:800;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.textbutton .icon{width:18px;height:18px}.iconbutton{border:0;background:none;width:40px;height:40px;display:inline-grid;place-items:center;border-radius:10px;color:#939393;flex-shrink:0}.iconbutton:hover{background:var(--soft)}.card{border:2px solid var(--line);border-radius:18px;padding:20px;background:#fff}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.stack{display:grid;gap:13px}.space{height:21px}.pill{display:inline-flex;align-items:center;gap:6px;background:#FFF5BB;padding:6px 10px;border-radius:8px;font-size:11px;font-weight:900;color:#A77A00}.pill .icon{width:16px;height:16px}.warning{padding:11px 15px;background:#FFF5DD;border-bottom:1px solid #F7DB9B;color:#916313;font-size:11px;line-height:1.65}.warning button{font-size:11px;padding:2px;background:none;border:0;text-decoration:underline;color:inherit}.progress{height:13px;background:#EBEBE8;border-radius:999px;overflow:hidden}.progress>span{height:100%;display:block;background:var(--yellow);border-radius:999px;min-width:0;position:relative;transition:width .3s}.progress>span:after{content:'';height:4px;position:absolute;top:3px;left:8px;right:8px;border-radius:999px;background:#fff8;min-width:0}.onboarding{padding:24px 25px 40px;min-height:100dvh}.onboard-head{display:flex;justify-content:space-between;align-items:center}.wordmark{font-size:17px;font-weight:900;letter-spacing:-.04em}.wordmark>span{display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--yellow);margin-left:3px;border:1px solid var(--ink)}.onboarding .mascot{width:180px;height:180px;margin-top:15px;margin-bottom:5px}.onboarding h1{text-align:center;margin-bottom:9px;font-size:27px}.onboarding>.subtle{text-align:center;margin-bottom:27px}.course-option{width:100%;display:flex;text-align:left;align-items:center;gap:15px;background:#fff;border:2px solid var(--line);border-bottom-width:5px;border-radius:17px;padding:18px;margin-bottom:12px;min-height:92px}.course-option.selected{border-color:#E8C300;background:#FFFCDF}.course-icon{width:50px;height:50px;background:var(--yellow);border-radius:15px;display:grid;place-items:center;border:2px solid #EDC600;flex-shrink:0}.course-option strong{font-size:18px;display:block}.course-option small{color:#999;font-size:11px;display:block;margin-top:4px}.course-option .right{margin-left:auto;color:#CDB130}.course-option:disabled{color:#9A9A9A;background:#FAFAFA;border-color:#EAEAEA}.course-option:disabled .course-icon{background:#eee;border-color:#e3e3e3;color:#aaa}.course-option .soon{font-size:10px;font-weight:800;background:#eee;color:#999;padding:4px 7px;border-radius:6px;margin-left:auto;flex-shrink:0}.onboarding .bottom-action{margin-top:26px}.onboard-back{margin-left:-8px}.goal-hero{padding:20px 0 25px;display:flex;align-items:center;gap:10px}.goal-hero .mascot{width:112px;height:112px;margin:0;flex-shrink:0}.goal-hero .speech{font-size:17px;font-weight:800;line-height:1.6;border:2px solid var(--line);padding:15px;border-radius:15px;position:relative}.goal-option{width:100%;display:flex;align-items:center;justify-content:space-between;padding:18px;background:#fff;border:2px solid var(--line);box-shadow:0 3px 0 var(--line);border-radius:14px;margin-bottom:12px;text-align:left}.goal-option.selected{background:#FFF9D5;border-color:#E5C000;box-shadow:0 3px 0 #E5C000}.goal-option strong{font-size:16px}.goal-option span{color:#999;font-size:13px}.goal-option.selected span{color:#947700}.goal-option .goal-minute{font-size:17px;font-weight:900;display:inline;color:var(--ink)}.goal-option small{font-size:10px;color:#999;display:block;text-align:right;margin-top:3px}.path-page{padding:0 0 115px}.path-intro{padding:23px 24px 21px;display:flex;justify-content:space-between;align-items:center}.path-intro h2{font-size:20px}.goal-mini{width:115px}.goal-mini .progress{height:8px;margin-top:7px}.goal-mini small{font-size:10px;color:#999}.unit-header{padding:17px 21px;background:var(--yellow);display:flex;align-items:center;justify-content:space-between;border-top:2px solid #EFC700;border-bottom:3px solid #E1BF08;gap:13px}.unit-header .eyebrow{color:#9C7C00;font-size:10px;margin-bottom:3px}.unit-header h2{font-size:21px}.unit-header .iconbutton{color:#A58400;border:2px solid #E1BF08;background:#FFE768;width:44px;height:44px;border-radius:13px}.unit-header.unit-2{background:#F1E9FC;border-color:#D6C6E8}.unit-header.unit-2 .eyebrow{color:#8B6EA3}.unit-header.unit-2 .iconbutton{background:#E7DBF6;border-color:#D6C6E8;color:#8E67B2}.path-track{position:relative;padding:36px 0 24px;overflow:hidden}.path-track:before{content:'';position:absolute;top:35px;bottom:30px;left:50%;width:4px;background:repeating-linear-gradient(to bottom,#E8E8E5 0,#E8E8E5 8px,transparent 8px,transparent 18px);z-index:0}.path-step{position:relative;min-height:127px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;z-index:1}.path-step:nth-child(5n+1){transform:translateX(0)}.path-step:nth-child(5n+2){transform:translateX(-57px)}.path-step:nth-child(5n+3){transform:translateX(-78px)}.path-step:nth-child(5n+4){transform:translateX(-31px)}.path-step:nth-child(5n+5){transform:translateX(52px)}.lesson-node{width:76px;height:68px;border-radius:50%;background:#E6E6E4;border:0;box-shadow:0 8px 0 #CFCFCB;color:#AFAFAA;display:grid;place-items:center;position:relative;isolation:isolate;transition:transform .1s,box-shadow .1s}.lesson-node:after{content:'';position:absolute;top:8px;left:13px;right:13px;height:11px;border-radius:50%;background:#FFFFFF39}.lesson-node .icon{width:31px;height:31px;stroke-width:2.8}.lesson-node.current,.lesson-node.done{background:var(--yellow);color:#A48300;box-shadow:0 8px 0 #D6B300}.lesson-node.current{outline:4px solid #FFE982;outline-offset:6px}.lesson-node.done .icon{stroke-width:3.3}.lesson-node.legendary{background:#EADCF5;box-shadow:0 8px 0 #CBB9DA;color:#AD91BF}.lesson-node.legendary.available{background:#B28AD1;box-shadow:0 8px 0 #8D64AC;color:#fff}.lesson-node.legendary.done{background:#FFD86D;box-shadow:0 8px 0 #D5A73D;color:#9D7100}.lesson-node:active:not(:disabled){transform:translateY(6px);box-shadow:0 2px 0 #D6B300}.node-title{font-size:11px;color:#ACACA6;font-weight:700;margin-top:16px;max-width:165px;text-align:center;line-height:1.6}.node-title.available{color:#666}.start-bubble{font-size:11px;font-weight:900;border:2px solid #ECECE6;box-shadow:0 2px 0 #ECECE6;background:#fff;padding:7px 13px;border-radius:10px;position:absolute;top:-30px;white-space:nowrap;color:#9A7C00}.start-bubble:after{content:'';position:absolute;width:9px;height:9px;background:#fff;border-right:2px solid #ECECE6;border-bottom:2px solid #ECECE6;transform:rotate(45deg);bottom:-6px;left:50%;margin-left:-5px}.path-decoration{position:absolute;right:18px;top:125px;width:112px;text-align:center}.path-decoration .mascot{width:105px;height:105px}.path-decoration small{font-size:10px;font-weight:800;color:#B1B1A8}.chest-node{border:0;background:none;display:flex;align-items:center;justify-content:center;width:80px;height:69px;color:#C39100;filter:drop-shadow(0 6px 0 #E5C456)}.chest-node .icon{width:59px;height:59px;fill:#FFD74E;stroke-width:1.7}.chest-node:disabled{color:#B5B5AD;filter:drop-shadow(0 5px 0 #DDD)}.chest-node:disabled .icon{fill:#E9E9E2}.chest-node.claimed{color:#BAA265;filter:none;opacity:.65}.end-path{text-align:center;padding:15px 22px 5px}.end-path .icon{color:#CCC;width:28px;height:28px}.end-path p{font-size:12px;color:#AAA;margin-top:9px}.lesson-view{min-height:100dvh;display:flex;flex-direction:column;background:#fff}.lesson-top{padding:22px 18px 14px;display:flex;align-items:center;gap:10px;position:sticky;top:0;background:#fff;z-index:10}.lesson-top .progress{flex:1;height:15px}.lesson-top .iconbutton{width:30px;height:36px}.lesson-hearts{display:flex;align-items:center;gap:4px;font-size:17px;font-weight:900;color:var(--red)}.lesson-hearts .icon{fill:currentColor;width:24px;height:24px}.lesson-subhead{padding:1px 24px 6px;display:flex;justify-content:space-between;align-items:center;gap:8px}.lesson-subhead span{font-size:10px;font-weight:800;color:#A4A4A0}.lesson-subhead .combo{font-size:11px;color:#D28E00;display:flex;gap:4px;align-items:center}.combo .icon{width:16px;height:16px}.question-body{padding:20px 24px 155px;flex:1}.question-body h1{font-size:22px;line-height:1.6;letter-spacing:-.03em;margin-bottom:25px;overflow-wrap:anywhere}.question-type{display:inline-flex;gap:6px;align-items:center;font-size:10px;letter-spacing:.06em;font-weight:900;color:#9E9E99;margin-bottom:10px}.question-type .icon{width:15px;height:15px}.question-scene{display:flex;align-items:center;gap:10px;margin-bottom:24px}.question-scene .mascot{width:85px;height:85px;flex-shrink:0;margin:0}.question-scene .speech{padding:13px 16px;border:2px solid var(--line);border-radius:16px;font-size:14px;font-weight:600;line-height:1.8;position:relative;flex:1}.question-scene .speech:before{content:'';width:9px;height:9px;background:#fff;position:absolute;border-left:2px solid var(--line);border-bottom:2px solid var(--line);left:-7px;top:30px;transform:rotate(45deg)}.answer-options{display:grid;gap:12px}.answer-option{display:flex;align-items:center;gap:12px;width:100%;min-height:62px;padding:15px 16px;background:#fff;border:2px solid var(--line);box-shadow:0 3px 0 var(--line);border-radius:14px;text-align:left;line-height:1.65;font-weight:700;font-size:15px;overflow-wrap:anywhere}.answer-option.selected{background:#FFF8D4;border-color:#E3BF00;box-shadow:0 3px 0 #E3BF00}.answer-number{border:2px solid #EAEAEA;width:25px;height:25px;display:grid;place-items:center;border-radius:7px;font-size:11px;color:#AAA;flex-shrink:0}.selected .answer-number{border-color:#E9CD56;color:#9A7B00}.boolean-options{grid-template-columns:1fr 1fr;gap:17px}.boolean-options .answer-option{flex-direction:column;min-height:132px;align-items:center;justify-content:center;font-size:14px;gap:14px}.boolean-options .bool-mark{font-size:45px;font-family:Arial,sans-serif;line-height:1;font-weight:400;color:#A5A5A0}.boolean-options .selected .bool-mark{color:#C6A100}.objection-text{display:flex;gap:6px;flex-wrap:wrap;align-items:center;padding:20px 16px;background:#FAFAF7;border:2px solid #EFEFE9;border-radius:16px;margin-bottom:16px;line-height:2.2}.objection-token{border:0;border-bottom:3px solid #D7D7CE;padding:4px 7px;background:#fff;border-radius:7px;font-weight:700;font-size:17px;line-height:1.7}.objection-token.selected{background:#FFE483;border-color:#D1A600;color:#836500;transform:translateY(1px)}.objection-hint{font-size:12px;color:#AAA;text-align:center}.tile-answer{padding:13px 0 17px;border-bottom:2px solid #E4E4DD;min-height:112px;display:flex;align-content:flex-start;gap:8px;flex-wrap:wrap;margin:7px 0 22px}.tile{border:2px solid var(--line);border-bottom-width:4px;border-radius:10px;background:#fff;padding:10px 12px;font-size:15px;line-height:1.6;font-weight:700;min-height:48px}.tile.selected{border-color:#DCC05A;background:#FFF6C3}.tile-placeholder{color:#C2C2B8;font-size:13px;align-self:center}.tile-bank{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.tile-bank .tile:disabled{color:transparent;background:#F2F2EF;border-color:#F2F2EF;box-shadow:none}.pairs-instruction{font-size:12px;color:#999;margin-bottom:16px}.pairs-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pair-column{display:grid;gap:12px;align-content:start}.pair-button{min-height:77px;text-align:center;justify-content:center;font-size:13px;line-height:1.7;padding:10px 8px;overflow-wrap:anywhere;word-break:normal}.pair-button.selected{background:#FFF5BF;border-color:#DABB22;box-shadow:0 3px 0 #DABB22}.pair-button.paired{background:#F5F1FC;border-color:#D7CAE5;box-shadow:0 3px 0 #D7CAE5;color:#8F70A5}.pair-button .pair-dot{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;font-size:9px;background:#DCCDEE;color:#80609A;flex-shrink:0}.lesson-footer{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,500px);padding:18px 24px calc(24px + var(--safe-bottom));background:#fff;border-top:2px solid #F0F0ED;z-index:21}.lesson-footer.feedback{padding-top:18px;background:#FFF9DD;border-color:#E9D580;animation:slide-up .2s ease-out;max-height:56dvh;overflow:auto}.lesson-footer.feedback.wrong{background:#FFF0F1;border-color:#F0C4CB}.feedback-title{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:900;color:#A38200;margin-bottom:12px}.feedback-title .round-status{width:33px;height:33px;border:3px solid currentColor;border-radius:50%;display:grid;place-items:center}.round-status .icon{width:21px;height:21px;stroke-width:3}.wrong .feedback-title{color:#C74B5C}.feedback-copy{font-size:13px;line-height:1.75;margin-bottom:9px;color:#705F2B;overflow-wrap:anywhere}.wrong .feedback-copy{color:#A14452}.feedback-answer{font-size:14px;font-weight:800;margin-bottom:8px;line-height:1.75}.feedback-source{font-size:11px;color:#A2747D;line-height:1.7;margin-bottom:15px}.feedback-source details summary{cursor:pointer}.feedback-source blockquote{margin:6px 0 0;border-left:2px solid #D9ACB5;padding-left:9px}.feedback .primary{margin-top:12px}.feedback.wrong .primary{background:#E66474;color:#fff;border-color:#DB5363;box-shadow:0 4px 0 #BA3A4B}.retry-label{color:#9E7AAF;font-size:12px;font-weight:800;display:flex;align-items:center;gap:6px;margin-bottom:12px}.retry-label .icon{width:16px;height:16px}.completion{min-height:100dvh;padding:45px 25px 32px;display:flex;flex-direction:column;align-items:center;text-align:center}.completion .mascot{width:200px;height:200px;margin:10px auto 24px}.completion h1{font-size:29px;margin-bottom:10px;color:#D0A500}.completion .subtle{max-width:300px}.completion .completion-bottom{width:100%;margin-top:auto;padding-top:32px}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:10px;margin:28px 0 18px}.summary-stat{border:2px solid #E1C800;border-radius:14px;overflow:hidden;background:#FFFCE7}.summary-stat small{display:block;padding:7px 3px;background:var(--yellow);font-size:10px;font-weight:800;color:#9F7D00;white-space:nowrap}.summary-stat strong{display:flex;justify-content:center;align-items:center;gap:5px;padding:17px 1px;font-size:20px;font-weight:900;white-space:nowrap}.summary-stat .icon{width:20px;height:20px;color:#CA9D00}.summary-stat:nth-child(2){border-color:#74B9CD;background:#F3FCFF}.summary-stat:nth-child(2) small{background:#A7DEED;color:#2F7E92}.summary-stat:nth-child(2) .icon{color:#398FA4}.summary-stat:nth-child(3){border-color:#BDA3D0;background:#FBF8FE}.summary-stat:nth-child(3) small{background:#D8C5E7;color:#8D6BA8}.summary-stat:nth-child(3) .icon{color:#8D6BA8}.gems-earned{font-size:12px;display:flex;align-items:center;gap:5px;color:var(--blue);font-weight:800}.gems-earned .icon{width:17px;height:17px}.streak-flame{width:150px;height:150px;color:var(--orange);position:relative;margin:18px auto 18px}.streak-flame>.icon{width:145px;height:145px;fill:var(--orange);stroke:#DD7700;stroke-width:1}.streak-flame strong{position:absolute;bottom:28px;left:0;right:0;font-size:47px;font-weight:900;color:#fff;letter-spacing:-.07em}.streak-title{color:var(--orange)!important}.week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:24px 0;width:100%}.day{text-align:center}.day small{font-size:11px;color:#ADADA6;display:block;margin-bottom:11px}.day-mark{height:33px;width:33px;border-radius:50%;background:#EFEFED;color:#D1D1CB;display:grid;place-items:center;margin:auto;font-size:11px;font-weight:900}.day.active .day-mark{background:#FFA83B;color:#fff}.day.frozen .day-mark{background:#DDF3FB;color:#6BAAC1}.day-mark .icon{width:21px;height:21px;stroke-width:3}.day.today small{color:#D88A23;font-weight:900}.streak-note{background:#FFF7E9;border:2px solid #FFE2BA;padding:14px 17px;border-radius:15px;text-align:left;font-size:12px;line-height:1.8;width:100%;color:#B48340;display:flex;gap:12px;align-items:center}.streak-note .icon{width:29px;height:29px;flex-shrink:0}.quest-list{display:grid;gap:13px;width:100%;text-align:left}.quest{border:2px solid var(--line);border-radius:17px;padding:17px 15px;display:flex;gap:14px;align-items:center}.quest-icon{width:42px;height:42px;display:grid;place-items:center;color:#D9AB00;background:#FFF4BB;border-radius:12px;flex-shrink:0}.quest-info{flex:1;min-width:0}.quest h3{font-size:13px;margin-bottom:8px}.quest .progress{height:12px}.quest-progress{font-size:10px;font-weight:800;color:#9D9D96;text-align:right;display:block;margin-top:6px}.quest.claimed{background:#FAFAF7}.quest.claimed .quest-icon{background:#EAEAE5;color:#B3B3A5}.claim-button{border:0;border-bottom:3px solid #D3AD00;background:var(--yellow);color:#957800;border-radius:10px;min-width:44px;min-height:44px;padding:9px;display:grid;place-items:center}.claim-button .icon{width:24px;height:24px}.quest.done:not(.claimed){border-color:#E4CE64}.quest-reward{font-size:10px;color:#B7A367;display:flex;align-items:center;gap:4px;white-space:nowrap}.quest-reward .icon{width:15px;height:15px}.quest-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:25px}.quest-header .mascot{width:91px;height:91px;margin:-7px -8px 0 0}.quest-header h1{font-size:27px;margin:6px 0}.practice-hero{background:#FFF9D8;border:2px solid #F4E4A4;border-radius:21px;margin:23px 0;padding:21px 20px}.practice-hero .mascot{width:126px;height:126px;margin:-8px auto 15px}.practice-hero h2{text-align:center;font-size:21px}.practice-hero p{font-size:13px;color:#A0873D;text-align:center;margin:9px 0 20px}.practice-counts{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:0 0 20px}.small-stat{text-align:center;border:2px solid var(--line);padding:17px 10px;border-radius:15px}.small-stat strong{font-size:26px;font-weight:900;display:block}.small-stat span{font-size:11px;color:#AAA;font-weight:700}.practice-foot{font-size:12px;color:#999;line-height:1.9}.league-hero{text-align:center;padding:4px 0 24px}.league-emblem{width:103px;height:112px;margin:12px auto 18px;background:#C79562;clip-path:polygon(50% 0,93% 16%,88% 70%,50% 100%,12% 70%,7% 16%);display:grid;place-items:center;position:relative;filter:drop-shadow(0 4px 0 #92714C)}.league-emblem:before{content:'';position:absolute;inset:9px;background:#E9B680;clip-path:inherit}.league-emblem .icon{width:53px;height:53px;color:#926335;z-index:1;stroke-width:2}.league-hero h1{font-size:25px}.league-hero p{font-size:12px;color:#A4A49B;margin-top:9px}.league-levels{display:flex;justify-content:center;gap:6px;margin:14px 0 5px}.league-levels span{height:7px;width:14px;background:#E8E8E3;border-radius:99px}.league-levels .active{background:#B68A5B}.league-list{border:2px solid var(--line);border-radius:17px;overflow:hidden;margin-bottom:18px}.league-row{display:flex;align-items:center;gap:13px;padding:16px 13px;border-bottom:1px solid #EFEFEA;min-height:73px}.league-row:last-child{border:0}.league-row.mine{background:#FFF8CF}.rank{width:21px;text-align:center;font-size:16px;color:#9B9B92;font-weight:900;flex-shrink:0}.rank.top{color:#B89830}.league-avatar{width:37px;height:37px;background:#F1F1ED;border:2px solid #E2E2DA;border-radius:12px;display:grid;place-items:center;color:#B2B2A6;font-size:17px;font-weight:900;flex-shrink:0}.league-row.mine .league-avatar{background:#FFE274;border-color:#E8CC58;color:#B69828}.league-name{font-size:13px;font-weight:800;flex:1;overflow-wrap:anywhere;min-width:0}.league-xp{font-size:12px;font-weight:700;color:#A5A59B;white-space:nowrap}.zone-label{text-align:center;font-size:10px;font-weight:800;letter-spacing:.02em;color:#B29944;padding:8px;border-bottom:1px solid #E6DEB9;background:#FFFDF0;display:flex;align-items:center;justify-content:center;gap:6px}.zone-label.demote{color:#B48787;background:#FFF7F7;border-color:#EBCFCF}.zone-label .icon{width:14px;height:14px}.empty-state{text-align:center;padding:28px 15px;border:2px dashed #E8E8E1;border-radius:16px;margin:20px 0}.empty-state .icon{width:43px;height:43px;color:#D0D0C7;margin-bottom:13px}.empty-state p{font-size:13px;color:#A4A49B}.league-error{border-color:#F2D9A0;background:#FFFAEE}.league-error p{color:#A08242}.league-footer{text-align:center;font-size:11px;color:#ADADA4;line-height:1.8}.profile-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:2px 0 25px}.profile-header .mascot{width:106px;height:106px;margin:-7px -3px -10px 0}.profile-header h1{font-size:25px;overflow-wrap:anywhere}.profile-header .textbutton{padding:5px 0;font-size:11px}.profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-stat{border:2px solid var(--line);border-radius:16px;padding:15px;display:flex;gap:9px;align-items:center}.profile-stat .icon{width:25px;height:25px;color:#B7A545}.profile-stat strong{font-size:19px;font-weight:900;display:block;line-height:1.4}.profile-stat small{font-size:10px;color:#ADADA4;display:block;margin-top:4px}.chart{padding:22px 15px 13px;border:2px solid var(--line);border-radius:17px}.chart-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;height:144px;align-items:end}.chart-day{text-align:center;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end}.chart-day .bar{width:24px;background:#FFE060;border:2px solid #E4C437;border-radius:6px 6px 3px 3px;min-height:5px}.chart-day .bar.zero{background:#EEEDE7;border-color:#EEEDE7}.chart-day small{font-size:10px;color:#A7A79E;margin-top:9px}.chart-day strong{font-size:10px;color:#B8A450;margin-bottom:6px;font-weight:800}.badge-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.badge{text-align:center;padding:15px 7px;border:2px solid #EEEDE7;border-radius:16px;opacity:.45}.badge.earned{opacity:1;border-color:#EDDE9F;background:#FFFCED}.badge .icon{display:block;margin:0 auto 11px;width:30px;height:30px;color:#C3A540}.badge strong{font-size:10px;line-height:1.7;display:block}.badge small{font-size:9px;color:#AAA;line-height:1.6;display:block;margin-top:4px}.settings-row{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-bottom:1px solid #EEEDE9;background:#fff;padding:18px 1px;font-size:13px;font-weight:700;gap:10px;text-align:left}.settings-row .icon{color:#AAA;width:21px;height:21px}.settings-row>span:first-of-type{flex:1}.switch{width:44px;height:26px;background:#DDD;border:2px solid #D5D5CE;border-radius:99px;padding:2px;display:block}.switch:before{content:'';display:block;width:18px;height:18px;background:#fff;border-radius:50%;transition:transform .2s}.switch.on{background:var(--yellow);border-color:#E4C21A}.switch.on:before{transform:translateX(18px)}.about-link{text-align:center;margin-top:22px}.about-link button{font-size:11px;color:#B0B0A7}.modal-backdrop{position:fixed;inset:0;background:#0A0A0A66;backdrop-filter:blur(2px);z-index:100;display:flex;align-items:flex-end;justify-content:center}.modal{background:#fff;border-radius:25px 25px 0 0;padding:22px 24px calc(28px + var(--safe-bottom));width:min(100%,500px);max-height:92dvh;overflow:auto;animation:slide-up .2s ease-out;box-shadow:0 -10px 50px #0001}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px;gap:12px}.modal-head h2{font-size:23px}.modal-body>p{font-size:13px;color:#8F8F85;line-height:1.9;margin-bottom:20px}.modal .mascot{width:135px;height:135px;margin:-12px auto 12px}.modal .stack{gap:13px}.modal .heart-row{display:flex;justify-content:center;gap:12px;margin:15px 0 22px}.heart-row .icon{width:34px;height:34px;color:#E36574;fill:#E36574;stroke-width:1.5}.heart-row .empty{color:#E9E9E2;fill:#E9E9E2}.modal .center{text-align:center}.modal .center p{font-size:13px;line-height:1.9;color:#999;margin:12px 0 21px}.shop-item{display:flex;align-items:center;gap:15px;border:2px solid var(--line);border-radius:17px;padding:17px;margin-bottom:13px}.shop-item>.icon{width:35px;height:35px;color:#B0A260;flex-shrink:0}.shop-item h3{font-size:14px}.shop-item p{font-size:10px;color:#AAA;margin-top:5px;line-height:1.7}.shop-item>div{flex:1;min-width:0}.buy{display:flex;gap:5px;align-items:center;justify-content:center;border:2px solid #DEE5EA;background:#F3FAFF;box-shadow:0 2px 0 #DEE5EA;color:#4C92C1;border-radius:11px;padding:10px;font-weight:900;font-size:13px;flex-shrink:0;min-height:43px}.buy .icon{width:18px;height:18px}.buy:disabled{background:#F4F4F0;color:#BDBDB1;border-color:#EAEAE1;box-shadow:none}.guide-section{margin-bottom:21px}.guide-section h3{font-size:15px;margin-bottom:7px}.guide-section p{font-size:13px;color:#888;line-height:1.9}.guide-section small{display:inline-block;font-size:10px;color:#B1A050;background:#FFF8D9;padding:4px 7px;border-radius:5px;margin-top:8px}.name-input{width:100%;border:2px solid #DCDCD4;border-radius:13px;padding:15px;margin-bottom:9px;font-size:16px;background:#FAFAF8;outline-offset:2px}.field-help{font-size:10px;color:#AAA;line-height:1.7;margin-bottom:20px}.inline-error{color:#CA4F5F;font-size:12px;margin:0 0 12px;line-height:1.7}.loading{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px}.loading p{font-size:13px;color:#AAA}.loading-dot{height:44px;width:44px;border:5px solid #EEEDE5;border-top-color:var(--yellow);border-radius:50%;animation:spin 1s linear infinite}#toast{position:fixed;bottom:calc(105px + var(--safe-bottom));left:50%;transform:translate(-50%,15px);max-width:calc(100% - 35px);width:max-content;z-index:130;padding:13px 18px;border-radius:13px;background:#171717ed;color:#fff;font-size:12px;line-height:1.7;box-shadow:0 5px 20px #0002;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.failure{padding:50px 28px;text-align:center;min-height:100dvh}.failure h1{font-size:24px;margin:20px 0 15px}.failure p{font-size:13px;color:#999;margin-bottom:25px}.quick-note{padding:12px 14px;background:#F8F8F4;border-radius:12px;font-size:11px;color:#9B9B8D;line-height:1.8}.xp-display{font-size:58px;font-weight:900;letter-spacing:-.04em;color:#B18E00;line-height:1.2;margin:27px 0 15px}.xp-display small{font-size:21px;letter-spacing:0}.recovery-pill{display:inline-flex;align-items:center;gap:7px;padding:10px 16px;background:#FFF0F2;border-radius:11px;font-size:12px;font-weight:800;color:#D05B6D;margin:13px 0}.recovery-pill .icon{width:18px;height:18px;fill:currentColor}.save-warning{position:relative;z-index:40}.modal .balance{display:flex;align-items:center;justify-content:center;gap:7px;font-size:18px;font-weight:900;color:var(--blue);margin:0 0 24px}.balance .icon{width:23px;height:23px}.completion .quest-list{margin-top:26px}.lesson-note{font-size:11px;color:#A6A69C;line-height:1.7;margin-top:16px}.hidden{display:none!important}@keyframes slide-up{from{transform:translateY(20px);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes hop{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-6px) rotate(2deg)}}.completion .mood-happy{animation:hop 1s ease-in-out infinite}.path-decoration .mood-cheer{animation:hop 3s ease-in-out infinite}@media(min-width:850px){.app-shell{border-left:2px solid #EAEAE5;border-right:2px solid #EAEAE5;box-shadow:0 0 70px #00000004}.desktop-brand{display:flex;position:fixed;left:max(28px,calc(50% - 510px));top:47px;width:215px;flex-direction:column;color:#AAA89D}.brand-mark{font-size:75px;line-height:1;font-weight:900;letter-spacing:-.1em;color:#0A0A0A}.brand-mark span{color:#FFD60A}.desktop-brand>strong{font-size:23px;color:#0A0A0A;margin:22px 0 10px;letter-spacing:-.05em}.brand-sub{font-size:12px}.brand-line{width:35px;height:4px;background:#FFD60A;margin:24px 0}.desktop-brand>small{font-size:9px;letter-spacing:.18em;font-weight:800}.nav{border-left:2px solid #EAEAE5;border-right:2px solid #EAEAE5}.modal-backdrop{align-items:center}.modal{border-radius:25px;max-height:90dvh}.lesson-footer{border-left:2px solid #EAEAE5;border-right:2px solid #EAEAE5}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
