:root {
  --navy:#102a43; --navy-2:#183b56; --ink:#1f2d3d; --muted:#6b7c8f;
  --lime:#c9f24b; --lime-dark:#9bc51f; --cream:#f7f5ee; --white:#fff;
  --orange:#ff9f43; --purple:#826aed; --pink:#ef6f9c; --line:#e8edf0;
  font-family:"Noto Sans JP",sans-serif; color:var(--ink); background:#e7ecef;
}
*{box-sizing:border-box} body{margin:0;min-height:100vh;background:linear-gradient(135deg,#dce4e8,#f4f1e8)}
button{font:inherit}.app-shell{width:min(100%,460px);min-height:100vh;margin:auto;background:var(--cream);box-shadow:0 0 50px #5365752b;position:relative;padding-bottom:82px;overflow:hidden}
.topbar{height:68px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;background:var(--navy);color:white}
.brand{display:flex;align-items:center;gap:9px;font-family:Outfit,sans-serif;font-weight:800;letter-spacing:.7px}.brand b{color:var(--lime)}
.brand-mark{display:grid;place-items:center;width:29px;height:29px;border:2px solid var(--lime);border-radius:8px;color:var(--lime);transform:rotate(-4deg)}
.streak{font-size:12px;background:#ffffff15;padding:7px 10px;border-radius:99px}.streak strong{font-size:15px;margin:0 3px}
.screen{display:none;min-height:calc(100vh - 150px)}.screen.active{display:block}
.hero{position:relative;background:var(--navy);color:white;padding:22px 24px 72px;overflow:hidden}.hero:after{content:"";position:absolute;width:230px;height:230px;border:48px solid #ffffff08;border-radius:50%;right:-120px;bottom:-120px}
.hero-topline{display:flex;justify-content:space-between;color:#b9c8d5;font-size:11px;font-weight:700;letter-spacing:.08em}.hero h1{font-size:31px;line-height:1.35;margin:25px 0 10px;letter-spacing:-.04em}.hero h1 em{font-style:normal;color:var(--lime)}.hero p{width:70%;font-size:12px;line-height:1.8;color:#cbd6df;margin:0}
.score-orbit{position:absolute;right:18px;bottom:18px;width:108px;height:108px}.score-orbit svg{width:100%;transform:rotate(-90deg)}.score-orbit circle{fill:none;stroke-width:8}.orbit-bg{stroke:#ffffff16}.orbit-value{stroke:var(--lime);stroke-linecap:round;stroke-dasharray:320;stroke-dashoffset:243}.score-orbit div{position:absolute;inset:0;display:grid;place-content:center;text-align:center}.score-orbit strong{font:800 30px Outfit}.score-orbit span{font-size:11px;color:#9eb0bf}.score-orbit small{display:block;font-size:9px;color:#9eb0bf;margin-top:2px}
.today-card{margin:-42px 16px 0;position:relative;background:white;border-radius:20px;padding:20px;box-shadow:0 14px 30px #102a4317;z-index:1}.section-label{display:flex;align-items:center;gap:8px;font:700 10px Outfit;color:#8291a1;letter-spacing:.13em}.section-label span{background:var(--lime);color:var(--navy);padding:3px 6px;border-radius:5px}
.mission-heading{display:flex;gap:12px;justify-content:space-between;align-items:start;margin:15px 0}.mission-heading small{color:var(--lime-dark);font-weight:800;font-size:11px}.mission-heading h2{font-size:17px;margin:4px 0;line-height:1.45}.time-pill{white-space:nowrap;background:#f1f5e7;color:#668114;font-size:10px;font-weight:800;padding:7px 9px;border-radius:99px}
.mission-steps{border-top:1px solid var(--line)}.step{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}.step-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;font-weight:900;font-size:11px}.lecture{background:#e8f6f1;color:#1a9472}.quiz{background:#f1edff;color:#6b50d7}.review{background:#fff1df;color:#d97819}.step div{flex:1}.step strong,.step small{display:block}.step strong{font-size:12px}.step small{font-size:9px;color:#8b99a6;margin-top:2px}.step>b{font:700 11px Outfit;color:#768697}
.primary-button,.secondary-button{border:0;border-radius:13px;cursor:pointer;font-weight:800}.primary-button{width:100%;margin-top:16px;padding:15px;background:var(--navy);color:white;box-shadow:0 7px 0 #071d2f;transition:.15s}.primary-button:hover{background:var(--navy-2)}.primary-button:active{transform:translateY(4px);box-shadow:0 3px 0 #071d2f}.primary-button span{float:right;color:var(--lime)}
.week-section{padding:30px 18px}.section-title-row{display:flex;justify-content:space-between;align-items:end;margin-bottom:15px}.section-title-row p{font:700 10px Outfit;color:#8a98a5;letter-spacing:.12em;margin:0}.section-title-row h2{font-size:20px;margin:4px 0 0}.section-title-row>span{font-size:10px;font-weight:800;color:#668114;background:#edf4d6;padding:6px 9px;border-radius:99px}
.day-list{display:grid;gap:8px}.day-card{width:100%;display:flex;align-items:center;gap:12px;padding:13px;background:white;border:1px solid #edf0f2;border-radius:13px;text-align:left;cursor:pointer;color:var(--ink)}.day-card.locked{opacity:.58;cursor:not-allowed}.day-num{width:35px;text-align:center;font:800 12px Outfit;color:#8897a5}.day-num b{display:block;font-size:18px;color:var(--navy)}.day-card.active-day{border:2px solid var(--lime-dark);box-shadow:0 5px 15px #9bc51f18}.day-copy{flex:1}.day-card strong,.day-card small{display:block}.day-card strong{font-size:12px}.day-card small{font-size:9px;color:#8c99a5;margin-top:3px}.day-status{font-size:15px}
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,460px);height:74px;display:flex;background:#fff;border-top:1px solid var(--line);z-index:10;padding:7px 28px max(7px,env(safe-area-inset-bottom));justify-content:space-around}.bottom-nav button{border:0;background:none;color:#98a4af;font-size:9px;font-weight:800;display:grid;place-items:center;gap:2px;cursor:pointer}.bottom-nav button span{font-size:22px;line-height:1}.bottom-nav button.active{color:var(--navy)}.bottom-nav button.active span{color:var(--lime-dark)}
.lesson-screen{background:#f8f7f2;padding:18px}.back-button{border:0;background:none;color:#607386;font-size:11px;font-weight:700;padding:4px 0 14px;cursor:pointer}.lesson-progress{height:5px;background:#e4e9e5;border-radius:99px;margin-bottom:22px;overflow:hidden}.lesson-progress span{display:block;height:100%;width:20%;background:var(--lime-dark);transition:.3s}
.lesson-kicker{font:800 11px Outfit;color:#7c901e;letter-spacing:.13em}.lesson-title{font-size:27px;line-height:1.4;color:var(--navy);margin:8px 0 16px}.lesson-lead{font-size:14px;line-height:1.9;color:#4f6272}.concept-card{background:white;border-radius:17px;padding:19px;margin:15px 0;border:1px solid #e8ece9}.concept-card h3{margin:0 0 10px;font-size:15px;color:var(--navy)}.concept-card p{font-size:12px;line-height:1.8;margin:0;color:#516373}.yes-no{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.yes-no div{border-radius:12px;padding:13px;font-size:11px;font-weight:700}.yes{background:#eff8db;color:#5e7813}.no{background:#fff0ed;color:#b95343}.memory-hook{background:var(--navy);color:white;border-radius:17px;padding:19px;margin:15px 0}.memory-hook small{color:var(--lime);font-weight:800}.memory-hook strong{display:block;font-size:18px;margin:7px 0}.memory-hook p{font-size:11px;line-height:1.7;color:#cbd6df;margin:0}
.lesson-stats{display:flex;gap:7px;margin:13px 0 19px}.lesson-stats span{background:#eaf1d7;color:#657b1c;border-radius:99px;padding:6px 9px;font-size:9px;font-weight:800}
.plain-language{background:#fff8df;border:1px solid #f1df9c;border-radius:18px;padding:18px;margin:16px 0 20px}.plain-label{font:800 9px Outfit;color:#96751b;letter-spacing:.1em}.plain-label span{font-family:"Noto Sans JP";letter-spacing:0;background:#f2d86e;color:#604b0d;padding:4px 7px;border-radius:6px;margin-right:6px}.plain-language h2{font-size:16px;color:var(--navy);margin:13px 0 10px}.plain-language details{border-top:1px solid #eadcae;padding:10px 0}.plain-language summary{list-style:none;display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:800;cursor:pointer;color:#384b5a}.plain-language summary::-webkit-details-marker{display:none}.plain-language summary span{font-size:17px;color:#9a7b20}.plain-language details[open] summary span{transform:rotate(45deg)}.plain-language details p{font-size:11px;line-height:1.75;color:#655e49;margin:8px 0 1px;padding-right:10px}
.story-card{background:linear-gradient(145deg,#e6f5ef,#eef7db);border-radius:18px;padding:18px;margin:16px 0;border:1px solid #d7e8d9}.story-card>span{display:inline-block;background:#227b67;color:white;border-radius:6px;padding:4px 7px;font-size:9px;font-weight:800}.story-card h3{font-size:15px;color:var(--navy);margin:10px 0 6px}.story-card p{font-size:12px;line-height:1.85;color:#476458;margin:0}
.quiz-card{background:white;border-radius:18px;padding:20px;border:1px solid #e5eae7}.quiz-card .q-num{font:800 11px Outfit;color:#7f901f}.quiz-card h2{font-size:17px;line-height:1.65;margin:10px 0 17px}.choices{display:grid;gap:10px}.choice{width:100%;border:1.5px solid #dde4e6;background:white;border-radius:12px;padding:13px;text-align:left;font-size:12px;line-height:1.55;cursor:pointer}.choice:hover{border-color:#a7c934}.choice.selected.correct{border-color:#78a900;background:#f1f9df}.choice.selected.wrong{border-color:#e36b59;background:#fff0ed}.feedback{display:none;border-radius:13px;padding:14px;margin-top:14px;font-size:11px;line-height:1.7}.feedback.show{display:block}.feedback.correct{background:#eff8db;color:#526d0c}.feedback.wrong{background:#fff0ed;color:#9d4639}.lesson-footer{margin-top:18px}.source-note{font-size:9px;line-height:1.6;color:#8b98a4;margin:16px 2px}.source-note a{color:#667c18}
.quiz-header{display:flex;justify-content:space-between;align-items:end;margin:4px 2px 13px}.quiz-header div span,.quiz-header div strong{display:block}.quiz-header div span{font:800 9px Outfit;color:#82911f;letter-spacing:.12em}.quiz-header div strong{font-size:18px;color:var(--navy);margin-top:3px}.quiz-header>b{font:800 34px Outfit;color:var(--navy)}.quiz-header b small{font-size:13px;color:#98a3ad}.quiz-dots{display:flex;gap:5px;margin-bottom:18px}.quiz-dots i{height:5px;flex:1;background:#e0e5e3;border-radius:99px}.quiz-dots i.done{background:#7e9e17}.quiz-dots i.current{background:var(--lime)}.choice{display:flex;align-items:center;gap:10px}.choice>span{flex:0 0 26px;width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:#f0f3f4;color:#627382;font:800 11px Outfit}.confidence-hint{text-align:center;font-size:9px;color:#8a97a1;margin:14px}.text-button{width:100%;border:0;background:none;color:#667c18;padding:15px;font-size:11px;font-weight:800;cursor:pointer}
.question-translation{background:#eef4e1;border-left:3px solid var(--lime-dark);border-radius:0 10px 10px 0;padding:11px 12px;margin:-4px 0 16px;font-size:10px;line-height:1.65;color:#56634b}.question-translation b{display:block;font-size:9px;color:#71851f;margin-bottom:3px}
.result-card{text-align:center;background:white;border-radius:20px;padding:28px 20px;margin:10px 0 18px;border:1px solid #e5eae7}.result-badge{display:inline-block;background:var(--lime);color:var(--navy);padding:5px 9px;border-radius:7px;font:800 10px Outfit;letter-spacing:.1em}.result-card>p{font-size:10px;color:#84909a}.result-card>strong{font:800 66px Outfit;color:var(--navy);line-height:1}.result-card>strong span{font-size:20px;color:#96a1a9}.result-card h1{font-size:19px;color:var(--navy);margin:15px}.result-meter{height:9px;background:#ebefec;border-radius:99px;overflow:hidden}.result-meter i{display:block;height:100%;background:var(--lime-dark);border-radius:99px}.result-card small{display:block;font-size:9px;color:#84909a;margin-top:10px}.completion{text-align:center;padding:35px 10px}.completion .review-illustration{margin-bottom:22px}
.page-heading{padding:34px 22px 20px;background:var(--navy);color:white}.page-heading p{font:800 10px Outfit;color:var(--lime);letter-spacing:.16em;margin:0}.page-heading h1{font-size:27px;margin:6px 0}.page-heading span{color:#bdcad5;font-size:11px}.empty-review{text-align:center;padding:56px 35px}.review-illustration{width:90px;height:90px;margin:auto;display:grid;place-items:center;border-radius:50%;background:#ebf3d6;color:#87a71d;font-size:42px}.empty-review h2{font-size:17px;margin-top:20px}.empty-review p{font-size:11px;line-height:1.8;color:#7d8c99}.secondary-button{margin-top:10px;padding:12px 20px;background:var(--navy);color:white}.hidden{display:none!important}.review-stack{padding:18px}.review-summary{display:flex;align-items:center;gap:10px;margin-bottom:14px}.review-summary strong{font:800 26px Outfit;color:var(--navy)}.review-summary span{font-size:10px;color:#84919d}.review-item{background:white;padding:17px;border-radius:14px;margin-bottom:10px}.review-item small{color:#839224;font-weight:800}.review-item strong{display:block;margin:5px 0;font-size:13px;line-height:1.6}.review-item p{font-size:10px;line-height:1.6;color:#73818d}.review-item button{border:0;background:#edf5d7;color:#647a19;border-radius:9px;padding:9px 11px;font-size:9px;font-weight:800;cursor:pointer}
.forecast-card{margin:18px;background:white;border-radius:18px;padding:20px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 8px 24px #253b4c0d}.forecast-card small{font-size:10px;color:#7b8a97}.forecast-card strong{display:block;font:800 38px Outfit;color:var(--navy)}.forecast-card strong span{font-size:14px;color:#8795a2}.forecast-card p{font-size:10px;color:#84919d}.forecast-ring{width:82px;height:82px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--lime-dark) 24%,#edf0e9 0);position:relative}.forecast-ring:after{content:"";position:absolute;inset:8px;background:white;border-radius:50%}.forecast-ring span{position:relative;z-index:1;font:800 16px Outfit;color:var(--navy)}
.subject-card{margin:10px 18px;background:white;border-radius:13px;padding:15px}.subject-row{display:flex;justify-content:space-between;font-size:12px}.subject-row b{font:700 12px Outfit}.bar{height:7px;background:#edf0ec;border-radius:99px;margin:10px 0;overflow:hidden}.bar i{height:100%;display:block;border-radius:99px;background:var(--lime-dark)}.bar.purple i{background:var(--purple)}.bar.orange i{background:var(--orange)}.bar.pink i{background:var(--pink)}.subject-card small{font-size:9px;color:#85929d}.coach-note{margin:18px;background:var(--navy);color:white;border-radius:15px;padding:17px}.coach-note span{font:800 9px Outfit;color:var(--lime);letter-spacing:.13em}.coach-note p{font-size:11px;line-height:1.75;margin:8px 0 0;color:#d1dae1}
@media(min-width:700px){.app-shell{min-height:900px;margin:24px auto;border-radius:28px}.bottom-nav{bottom:24px;border-radius:0 0 28px 28px}.screen{min-height:750px}}
