:root{color-scheme:light;--ink:#203b37;--muted:#60746e;--green:#197061;--green-dark:#115549;--paper:#fffcf5;--line:#dce6df;--yellow:#f3cc54;--pale:#edf6ef;font-family:"Hiragino Maru Gothic ProN","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:16px;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,a,summary{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}a{color:var(--green)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a25c0e;outline-offset:5px}button{border:0}button:active:not(:disabled){transform:translateY(2px)}.site-header{max-width:1160px;margin:auto;padding:28px 32px;display:flex;justify-content:space-between;align-items:center;gap:16px}.brand{display:flex;align-items:center;text-decoration:none;font-size:1.25rem;font-weight:800;white-space:nowrap}.brand-mark{display:grid;place-items:center;background:var(--green);color:white;width:36px;height:36px;border-radius:12px;font-size:1.9rem;margin-right:10px}.brand-bang{color:var(--green)}.free-label{font-size:.875rem;color:var(--muted)}main{max-width:1000px;margin:20px auto 0;padding:0 28px}h1,h2,p{margin:0}h1{font-size:clamp(2rem,5vw,3.1rem);line-height:1.5;letter-spacing:.025em}.eyebrow{display:inline-flex;gap:8px;align-items:center;background:#e4eee6;border-radius:30px;padding:7px 15px;font-size:.875rem;font-weight:700;color:var(--green);margin-bottom:20px}.intro{text-align:center}.intro p{font-size:1.1rem;margin-top:12px;line-height:1.8;color:var(--muted)}.title-accent{position:relative;white-space:nowrap}.title-accent::after{content:"";position:absolute;background:var(--yellow);height:8px;bottom:1px;left:0;right:0;z-index:-1;border-radius:8px}.home-card{margin:28px auto 0;background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:0 10px 0 #e9eee5;max-width:720px;padding:24px 40px 32px;text-align:center}.card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;font-size:.95rem}.level-label{color:var(--green);font-weight:800}.quiet{color:var(--muted);font-size:.875rem}.score-staff{display:block;width:100%;max-width:440px;height:auto;margin:4px auto;color:#20312e}.staff-lines{stroke:#899990;stroke-width:1.5}.note-shape{fill:currentColor}.ledger{stroke:currentColor;stroke-width:2}.home-note-caption{font-size:1rem;color:var(--muted);margin:0 0 20px}.primary{display:inline-flex;justify-content:center;align-items:center;gap:18px;min-height:60px;background:var(--green);color:#fff;padding:16px 36px;border-radius:15px;font-weight:800;font-size:1.15rem;box-shadow:0 4px 0 var(--green-dark)}.primary:hover{background:var(--green-dark)}.home-card .primary{width:min(100%,360px)}.small-note{color:var(--muted);font-size:.875rem;margin-top:17px}.learning-path{max-width:720px;margin:36px auto 0;display:flex;align-items:stretch;justify-content:space-between;gap:8px}.path-step{flex:1;text-align:center;padding:12px 2px;font-size:.875rem;color:var(--muted)}.path-number{display:grid;place-items:center;margin:0 auto 9px;background:#eef0e8;color:#737e73;width:32px;height:32px;border-radius:50%;font-size:.875rem;font-weight:700}.path-step.active{color:var(--green);font-weight:800}.active .path-number{background:var(--green);color:#fff}.home-rule{height:1px;background:var(--line);max-width:720px;margin:27px auto 0}.game-shell{max-width:760px;margin:auto}.game-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.text-button{background:transparent;color:var(--muted);font-size:.95rem;padding:12px;text-decoration:underline;text-underline-offset:4px}.progress{height:8px;background:#e3e9e1;border-radius:10px;overflow:hidden}.progress-fill{height:100%;background:var(--green);border-radius:10px;transition:width .2s}.question-head{display:flex;justify-content:space-between;align-items:center;margin:22px 0 16px;gap:12px}.question-head h1{font-size:1.5rem}.question-count{color:var(--muted);font-size:1rem;font-weight:700}.play-card{background:white;border:1px solid var(--line);border-radius:24px;overflow:hidden}.play-card .score-staff{max-width:420px;margin:0 auto}.answers{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;margin-top:20px}.answer{min-height:66px;padding:10px 4px;border:2px solid #cfded5;border-radius:15px;background:white;color:var(--ink);font-size:1.4rem;font-weight:800;box-shadow:0 3px 0 #e0e7dc;white-space:nowrap}.answer:hover:not(:disabled){border-color:var(--green);background:var(--pale)}.answer:disabled{opacity:1}.answer.correct{border-color:var(--green);background:var(--pale);color:var(--green)}.answer.chosen-wrong{border-color:#c7943d;background:#fff7e5}.answer small{display:block;font-size:.75rem;margin-top:3px}.feedback{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:105px;margin-top:18px;padding:14px 18px;border-radius:18px}.feedback.has-answer{background:var(--pale)}.feedback.wrong{background:#fff3d7}.feedback-message{font-size:1.1rem;font-weight:800;line-height:1.65}.feedback .primary{min-height:50px;font-size:1rem;white-space:nowrap;padding:12px 22px}.waiting-message{text-align:center;width:100%;font-size:1rem;color:var(--muted)}.session-stats{display:flex;gap:20px;justify-content:center;color:var(--muted);font-size:.875rem;margin:4px 0 20px}.lesson{text-align:center;max-width:760px;margin:auto}.lesson h1{font-size:1.8rem}.lesson>p{margin:12px 0;color:var(--muted);line-height:1.8}.examples{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:24px 0}.example{flex:1;min-width:130px;max-width:230px;background:white;border:1px solid var(--line);border-radius:18px;padding-bottom:15px}.example .score-staff{margin:0}.example strong{font-size:1.3rem}.example span{display:block;font-size:.875rem;color:var(--muted);margin-top:8px}.result-card{background:#fff;border:1px solid var(--line);border-radius:28px;max-width:650px;margin:auto;text-align:center;padding:32px}.result-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 18px;border-radius:20px;background:#fff2c1;font-size:2rem;color:#7c590a}.result-card h1{font-size:1.45rem}.score{font-size:4.5rem;font-weight:800;line-height:1.4;color:var(--green);margin-top:16px}.score span{font-size:1.5rem;color:var(--muted)}.score-caption{font-size:1.1rem}.stars{font-size:2.2rem;letter-spacing:8px;color:#ac7a08;margin:16px 0}.stars .empty{color:#e0e4db}.result-message{font-size:1.15rem;font-weight:700;margin-bottom:20px;line-height:1.8}.result-stats{display:flex;justify-content:center;gap:35px;background:#f4f7f1;padding:18px;border-radius:16px;margin:24px 0}.result-stats span{display:block;color:var(--muted);font-size:.875rem;margin-bottom:7px}.result-stats strong{font-size:1.2rem}.practice{line-height:1.8;font-size:1rem;margin-bottom:24px}.result-actions{display:flex;flex-direction:column;align-items:center;gap:17px}.secondary{min-height:52px;padding:12px 24px;background:#fff;color:var(--green);border:1px solid #b8cfc3;border-radius:14px;font-size:1rem;font-weight:700}.level-choice{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:20px}.level-choice button{border:1px solid var(--line);background:white;padding:10px 15px;min-height:44px;border-radius:10px;color:var(--green)}footer{max-width:1000px;margin:45px auto 0;padding:24px 28px 30px;text-align:center;color:var(--muted);font-size:.875rem;line-height:1.8}footer details{margin-top:13px}summary{cursor:pointer;padding:10px}footer .parent-info{text-align:left;max-width:720px;margin:16px auto;background:#f0f4ec;border-radius:16px;padding:24px}footer p{margin-top:12px}footer h2{font-size:1.1rem}.noscript{padding:30px}.celebrate{animation:pop .35s ease-out}@keyframes pop{from{transform:scale(.96)}to{transform:scale(1)}}
@media(max-width:600px){.site-header{padding:18px 18px 10px}.brand{font-size:1rem}.brand-mark{width:30px;height:30px;font-size:1.6rem;margin-right:6px}.free-label{display:none}main{margin-top:20px;padding:0 16px}.eyebrow{margin-bottom:12px}.intro p{font-size:1rem}.home-card{padding:20px 18px 25px;margin-top:22px;border-radius:22px}.home-card .score-staff{max-width:340px}.learning-path{margin-top:28px;gap:2px}.path-step{font-size:.75rem}.path-number{width:28px;height:28px}.card-top{font-size:.875rem}.quiet{font-size:.875rem}.game-top{margin-bottom:12px}.question-head{margin:18px 0 12px}.question-head h1{font-size:1.25rem}.play-card .score-staff{max-width:330px}.answers{grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.answer{min-height:58px;font-size:1.3rem}.feedback{min-height:112px;padding:12px;gap:10px;flex-wrap:wrap;margin-top:12px}.feedback-message{font-size:1rem;flex:1;min-width:150px}.feedback .primary{font-size:.95rem;padding:12px 16px}.session-stats{gap:12px;font-size:.875rem}.result-card{padding:26px 18px}.score{font-size:4rem}.result-stats{gap:28px}.result-actions .primary{width:100%;font-size:1rem;padding:16px 12px}.example{min-width:80px}.example strong{font-size:1.1rem}.example span{font-size:.875rem}.examples{gap:8px}.lesson h1{font-size:1.5rem}footer{margin-top:28px;padding:20px 16px}.text-button{padding:10px 0}.stars{letter-spacing:5px;font-size:2rem}}
.game-shell{background:#e8f7ff;border:1px solid #c7e6f5;border-radius:26px;padding:24px}.game-shell .progress{background:#fff}.game-shell .progress-fill{background:#3a9fb5}.game-shell .play-card{position:relative;border-color:#c9e0ea}.game-shell .feedback.has-answer{background:#fff}.game-shell .feedback.wrong{background:#fff3d7}.auto-next{font-size:.95rem;color:#456478;line-height:1.7}.auto-next span{font-size:1.5rem;color:#389bcb}.celebration-badge{position:absolute;bottom:10px;right:18px;font-size:1.6rem;font-weight:800;color:#a75400;background:#fff8db;border:2px solid #ffdf6a;border-radius:18px;padding:7px 15px;pointer-events:none}.answer.correct{background:#197b58;color:white;border-color:#146449}.answer small{font-size:.875rem}.game-shell .feedback{min-height:96px}.game-shell .session-stats{margin-bottom:0}.question-count{white-space:nowrap;flex-shrink:0}.site-header{padding-top:max(18px,env(safe-area-inset-top))}footer{padding-bottom:max(30px,env(safe-area-inset-bottom))}
@media(max-width:600px){.game-shell{padding:16px 12px;border-radius:22px}.game-shell .game-top{gap:8px;flex-wrap:wrap}.game-shell .game-top .quiet{display:none}.game-shell .question-head{gap:8px;flex-wrap:wrap}.game-shell .question-head h1{font-size:1.1rem}.game-shell .question-count{font-size:.875rem}.game-shell .answers{gap:8px}.celebration-badge{font-size:1.2rem;right:8px;bottom:5px;padding:5px 10px}.auto-next{font-size:.875rem}.game-shell .feedback{min-height:100px}}
.game-shell .play-card{padding-bottom:44px}.celebration-child{position:absolute;bottom:0;right:4px;width:24%;height:auto;max-width:145px;pointer-events:none}.game-shell .celebration-badge{right:26%;bottom:4px;font-size:1.3rem;padding:4px 10px}
@media(max-width:360px){.question-head{gap:8px}.question-head h1{font-size:1.1rem}.question-count{font-size:.875rem}.game-shell .celebration-badge{font-size:1rem}}
.start-card{max-width:600px}.start-card .score-staff{max-width:320px}.start-card>.text-button{display:block;margin:20px auto 0}.saved-progress{background:#f1f7ef;padding:20px;border-radius:18px;margin:26px auto 0;max-width:360px;line-height:1.8}.saved-progress h2{font-size:1.5rem;color:var(--green)}.compact-stars{font-size:1.35rem;letter-spacing:3px;margin:10px 0}.home-note{text-align:center;color:var(--muted);font-size:.875rem;margin:28px 0}.level-screen{max-width:760px;margin:auto}.level-screen h1{font-size:1.6rem}.level-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.level-tile{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;line-height:1.8}.level-tile.is-current{border:2px solid var(--green);background:#f3f9f4}.tile-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.tile-title h2{font-size:1.2rem}.level-tag{color:var(--muted);font-size:.875rem}.level-tile .primary,.level-tile .secondary{width:100%;font-size:1rem;padding:12px;min-height:52px;margin-top:16px}.level-status{font-weight:700;font-size:.95rem}.locked-note{display:block;font-size:.875rem;color:var(--muted);margin-top:16px}.parent-link{display:block;margin:26px auto 0}.current-level{font-size:1.15rem;line-height:1.65}.range-label{display:block;font-size:.95rem;font-weight:500;color:var(--muted)}.record-badge{display:inline-block;background:#fff5ce;border-radius:12px;padding:8px 16px;font-weight:700;color:#805300;margin-bottom:20px}.edition-card{max-width:680px;margin:auto;padding:32px;border:1px solid var(--line);border-radius:24px;background:white;line-height:1.9}.edition-card h1{font-size:1.8rem}.edition-lead{margin-top:16px}.edition-offer{margin:24px 0;background:#f3f6f2;border-radius:16px;padding:24px}.edition-offer strong{font-size:1.2rem}.edition-offer ul{padding-left:24px;line-height:2.1}.coming-soon{border:1px solid var(--line);border-radius:16px;padding:20px;margin-bottom:24px}.coming-soon strong{font-size:1.15rem;color:var(--green)}.coming-soon p{font-size:.95rem}.storage-notice{max-width:650px;margin:24px auto;padding:16px;background:#fff3d7;border-radius:12px;font-size:.95rem;line-height:1.8}.storage-notice[hidden]{display:none}
@media(max-width:600px){.level-list{grid-template-columns:1fr;gap:12px}.level-tile{padding:18px}.level-screen h1{font-size:1.3rem}.edition-card{padding:22px 18px}.edition-card h1{font-size:1.5rem}.edition-offer{padding:18px}.game-shell .game-top{align-items:flex-start}.range-label{font-size:.9rem}.current-level{font-size:1.1rem}.game-shell .game-top>.text-button{white-space:nowrap}.saved-progress{padding:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.review-entry{display:block;margin:20px auto;min-height:56px}

/* The full-edition purchase view is intentionally self-contained. */
.edition-card{max-width:760px;padding:0;overflow:hidden;border-color:#cfe5df;border-radius:30px;background:linear-gradient(180deg,#fffdf5 0,#f2fbff 47%,#fff8f4 100%);box-shadow:0 14px 35px rgba(32,59,55,.1);line-height:1.6}.edition-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(210px,.65fr);min-height:285px;padding:34px 34px 24px;background:linear-gradient(135deg,#fff5cb,#fffdf5 70%);overflow:hidden}.edition-hero::before,.edition-hero::after{content:"✦";position:absolute;color:#efbd28;font-size:2rem}.edition-hero::before{left:48%;top:28px}.edition-hero::after{right:22px;top:48px;font-size:1.5rem}.edition-hero-copy{position:relative;z-index:2}.edition-parent-label{display:inline-block;margin-bottom:11px;padding:5px 12px;border-radius:999px;background:#fff;color:#5f6d68;font-size:.875rem;font-weight:700}.edition-kicker{font-size:1.08rem;font-weight:800;color:#715848}.edition-card .edition-hero h1{margin:4px 0 8px;font-size:clamp(2.25rem,6vw,3.4rem);line-height:1.18;color:#e9536f;letter-spacing:.02em}.edition-card .edition-hero h1 span{white-space:nowrap}.edition-hero-copy>p:last-child{font-size:1rem;font-weight:700;color:#596964}.edition-character{position:absolute;right:6px;bottom:-44px;width:min(43%,310px);height:auto;object-fit:contain}.edition-difference{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;margin:22px 26px;padding:14px;border-radius:20px;background:rgba(255,255,255,.9);box-shadow:0 4px 14px rgba(55,92,104,.08)}.edition-difference>div{display:grid;gap:2px;padding:5px;text-align:center}.edition-difference span{font-size:.875rem;color:var(--muted);font-weight:700}.edition-difference strong{font-size:1.15rem}.edition-difference small{font-size:.9rem;color:var(--muted)}.edition-difference>b{font-size:1.6rem;color:#8db7ad}.edition-difference-full{border-radius:14px;background:#e7f7ef}.edition-difference-full strong{color:var(--green)}.edition-benefits{padding:4px 26px 18px}.edition-benefits h2{text-align:center;font-size:1.35rem;margin-bottom:14px}.edition-benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.edition-benefit-grid article{display:flex;flex-direction:column;justify-content:center;gap:8px;min-height:180px;padding:14px 10px;text-align:center;border:1px solid #d9e9e4;border-radius:18px;background:rgba(255,255,255,.94)}.edition-benefit-grid article>span{display:grid;place-items:center;width:50px;height:50px;margin:0 auto;border-radius:15px;background:#eff9f4;font-size:1.75rem;color:#68bde3}.edition-benefit-grid h3{margin:0 0 4px;font-size:1rem;line-height:1.45}.edition-benefit-grid p{color:var(--muted);font-size:.85rem;line-height:1.5}.edition-purchase{margin:0 26px 10px;text-align:center}.edition-buy-button{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:14px;width:100%;min-height:82px;padding:10px 22px;border-radius:26px;background:linear-gradient(135deg,#ff6882,#f14870);color:#fff;box-shadow:0 7px 16px rgba(223,79,108,.24),0 4px 0 #d63a5e}.edition-buy-button:disabled{cursor:not-allowed;opacity:.88}.edition-cart{font-size:2rem}.edition-buy-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.12}.edition-buy-copy small{padding:2px 10px;border-radius:999px;background:#fff;color:#eb4c6d;font-size:.75rem}.edition-buy-copy strong{font-size:1.35rem}.edition-buy-price{display:flex;align-items:baseline;line-height:1}.edition-buy-price strong{font-size:3rem}.edition-buy-price small{font-size:1.25rem;font-weight:800}.edition-chevron{font-size:2.5rem;font-weight:400}.edition-preparing{margin-top:12px;color:#8a5260;font-size:.9rem;font-weight:700}.edition-assurances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:10px 26px 24px}.edition-assurances>div{display:flex;align-items:center;justify-content:center;gap:9px}.edition-assurances>div>span{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#fa6380;color:#fff;font-size:1rem;font-weight:900}.edition-assurances p{display:grid;line-height:1.35;text-align:left}.edition-assurances strong{font-size:.8rem}.edition-assurances small{color:var(--muted);font-size:.72rem}.edition-back{display:block;margin:0 auto 30px;background:#fff;box-shadow:0 4px 12px rgba(32,59,55,.08)}
@media(max-width:600px){.edition-card{border-radius:24px}.edition-hero{grid-template-columns:1fr;min-height:282px;padding:22px 20px 18px}.edition-parent-label{font-size:.8rem}.edition-kicker{font-size:.95rem;max-width:62%}.edition-card .edition-hero h1{font-size:2.15rem;max-width:70%}.edition-hero-copy>p:last-child{font-size:.9rem;max-width:63%}.edition-character{right:-20px;bottom:-20px;width:50%;max-width:205px}.edition-hero::before{left:48%;top:18px}.edition-hero::after{right:12px;top:24px}.edition-difference{gap:8px;margin:16px 14px;padding:10px}.edition-difference strong{font-size:1rem}.edition-difference small{font-size:.78rem;line-height:1.4}.edition-difference>b{font-size:1.2rem}.edition-benefits{padding:4px 14px 16px}.edition-benefits h2{font-size:1.2rem}.edition-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.edition-benefit-grid article{min-height:148px;padding:11px 8px}.edition-benefit-grid article>span{width:42px;height:42px;font-size:1.45rem}.edition-benefit-grid h3{font-size:.9rem}.edition-benefit-grid p{font-size:.78rem}.edition-purchase{margin:0 14px 10px}.edition-buy-button{grid-template-columns:auto 1fr auto auto;min-height:70px;padding:8px 12px;gap:8px;border-radius:20px}.edition-cart{font-size:1.45rem}.edition-buy-copy small{font-size:.65rem;padding:1px 7px}.edition-buy-copy strong{font-size:.98rem}.edition-buy-price strong{font-size:2.2rem}.edition-buy-price small{font-size:1rem}.edition-chevron{font-size:1.8rem}.edition-assurances{grid-template-columns:1fr;gap:8px;margin:12px 20px 20px}.edition-assurances>div{justify-content:flex-start;padding-left:18%}.edition-assurances strong{font-size:.82rem}.edition-assurances small{font-size:.75rem}.edition-back{margin-bottom:24px}}
@media(max-width:360px){.edition-card .edition-hero h1{font-size:1.85rem}.edition-character{right:-28px;width:52%}.edition-kicker{font-size:.875rem}.edition-hero-copy>p:last-child{font-size:.84rem}.edition-difference{margin-inline:10px}.edition-benefits{padding-inline:10px}.edition-purchase{margin-inline:10px}.edition-buy-button{font-size:.95rem}}
.edition-difference strong{white-space:nowrap}
.purchase-restore,.recovery-code{margin:0 26px 20px;padding:14px 18px;border:1px solid #f0cfd8;border-radius:16px;background:rgba(255,255,255,.9);color:#506b7b}.purchase-restore summary,.recovery-code summary{cursor:pointer;font-weight:800;text-align:center}.purchase-restore form{display:grid;grid-template-columns:1fr;gap:10px;margin-top:14px}.purchase-restore label{font-size:.875rem;font-weight:700}.purchase-restore input{min-width:0;min-height:48px;padding:10px 12px;border:1px solid #dabfc7;border-radius:12px;font:inherit}.purchase-restore #restore-code{text-transform:uppercase}.purchase-restore .secondary{width:100%;min-height:48px}.purchase-restore p{font-size:.8rem;color:var(--muted)}.recovery-code{text-align:center}.recovery-code code{display:inline-block;margin:10px 0 6px;padding:8px 10px;border-radius:8px;background:#fff2f6;font-size:.8rem;word-break:break-all}.recovery-code small{display:block;color:var(--muted);font-size:.75rem}.edition-buy-button:not(:disabled){opacity:1;cursor:pointer}.edition-buy-button:not(:disabled):hover{filter:brightness(1.04)}
@media(max-width:600px){.purchase-restore,.recovery-code{margin-inline:14px}}

/* Pink game world — shared across every screen. */
:root{--ink:#284b63;--muted:#637b8b;--green:#f4567a;--green-dark:#d93e63;--paper:#fffaf5;--line:#f3dce3;--yellow:#ffd65a;--pale:#fff0f4;--pink:#f4567a;--pink-dark:#d93e63;--blue:#7ed4f6;--mint:#9be8d2;--cream:#fffaf1;background:#fffaf5;color:var(--ink)}
body{min-height:100vh;background:radial-gradient(circle at 15% 8%,#fff0f5 0,transparent 24rem),linear-gradient(180deg,#fffdfa,#fff8f4)}
.site-header{max-width:900px;padding:18px 24px}.brand{color:var(--pink);font-weight:900}.brand-mark{background:linear-gradient(145deg,#ff7894,#ef426c);box-shadow:0 4px 12px rgba(244,86,122,.22)}.brand-bang{color:var(--pink)}.header-settings{display:grid;place-items:center;width:46px;height:46px;border:1px solid #f0d9e0;border-radius:15px;background:#fff;color:#55748c;font-size:1.35rem;box-shadow:0 4px 12px rgba(56,85,103,.08)}
.score-staff{color:#163f56}
main{max-width:900px}.eyebrow{background:#ffe7ee;color:#db4265}.title-accent{color:var(--pink)}.title-accent::after{background:#ffe07a}.primary{background:linear-gradient(135deg,#ff708e,#f04b73);box-shadow:0 5px 0 #d83b61}.primary:hover{background:linear-gradient(135deg,#fb6282,#e54169)}.secondary{color:#d94467;border-color:#f2bdca;background:#fff}.text-button{color:#657d8c}.progress{background:#ffe4eb}.progress-fill{background:linear-gradient(90deg,#ff6688,#f98aa2)}

.intro{position:relative;max-width:620px;margin:auto;padding:12px 12px 160px;border-radius:32px;background:linear-gradient(180deg,#fff7fa 0,#fff 85%);box-shadow:0 12px 30px rgba(209,68,105,.08);overflow:hidden}.intro h1{color:var(--pink);font-size:clamp(2.35rem,7vw,3.6rem)}.intro p{color:#385d73;font-weight:700}.home-girl{position:absolute;left:50%;bottom:-34px;transform:translateX(-50%);width:190px;height:auto}.hero-note{position:absolute;font-size:2rem;font-weight:900}.hero-note-one{left:12%;bottom:78px;color:#78cef1;transform:rotate(-12deg)}.hero-note-two{right:13%;bottom:110px;color:#ffd25a}.home-card{margin-top:18px;border-color:#f5d7df;box-shadow:0 8px 24px rgba(105,76,86,.08);background:rgba(255,255,255,.96)}.start-card>.score-staff,.start-card>.home-note-caption{display:none}.start-card .primary{font-size:1.25rem}.small-note{font-weight:700;color:#8a6571}.saved-progress{background:linear-gradient(135deg,#fff0f4,#effaff)}.saved-progress h2{color:var(--pink)}.home-note strong{display:inline-block;padding:8px 16px;border-radius:999px;background:#fff0b8;color:#8b6420}.review-entry{color:#fff;background:linear-gradient(135deg,#8bcff2,#6bbde4);border:0}

.level-screen,.game-shell,.lesson,.result-card,.edition-card,.settings-screen,.records-screen{animation:screen-in .28s ease-out}@keyframes screen-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.level-screen{max-width:800px}.level-screen h1{color:var(--pink)}.level-list{gap:14px}.level-tile{position:relative;border-color:#e3ebf0;box-shadow:0 7px 18px rgba(60,90,109,.08);background:linear-gradient(145deg,#fff,#f5fbff)}.level-tile:nth-child(2n){background:linear-gradient(145deg,#fff,#fff5f8)}.level-tile.is-current{border-color:#ff7c98;background:#fff2f5;box-shadow:0 8px 20px rgba(244,86,122,.16)}.level-tile.is-cleared::after{content:"★";position:absolute;right:16px;bottom:12px;color:#ffc83f;font-size:1.4rem}.tile-title h2{color:#315a73}.level-tag{padding:3px 9px;border-radius:999px;background:#fff;color:#d84b6c}.level-status{color:#526f82}.locked-level{width:100%;min-height:48px;margin-top:14px;border:1px dashed #e9aebc;border-radius:13px;background:#fff8fa;color:#cf4d6a;font-weight:800}

.game-shell{position:relative;background:linear-gradient(180deg,#fff5f8,#f0faff);border-color:#f2d9e1;box-shadow:0 12px 30px rgba(56,88,105,.09)}.game-shell .progress-fill{background:linear-gradient(90deg,#ff6688,#ff9db1)}.current-level{color:#dd4769}.question-head h1{color:#294f68}.play-card{background:#fff;border:2px solid #e0eaf0;box-shadow:inset 0 1px 0 #fff,0 5px 14px rgba(65,103,124,.07)}.answers{grid-template-columns:repeat(7,minmax(0,1fr))}.answer{border:0;color:#294f68;box-shadow:0 4px 0 rgba(76,110,130,.12);transition:transform .12s,box-shadow .12s}.answer-color-0{background:#ffe3eb}.answer-color-1{background:#dcf4ff}.answer-color-2{background:#fff2bf}.answer-color-3{background:#ddf8ef}.answer:hover:not(:disabled){border:0;background:#ffd4df;transform:translateY(-1px)}.answer.correct{background:#52bc8d;color:#fff}.answer.chosen-wrong{background:#fff0c5;border:2px solid #efbe4e}.quiz-helper{display:flex;align-items:center;justify-content:center;gap:10px;margin:10px auto 0;color:#df4e70;font-weight:900}.quiz-girl{width:72px;height:72px;object-fit:contain}.quiz-helper span{padding:8px 14px;border-radius:18px;background:#fff;border:1px solid #f6c7d2}.feedback{justify-content:center}.feedback.has-answer{background:#fff;border:1px solid #f3dce3}.feedback-girl{flex:0 0 auto;width:95px;height:95px;object-fit:contain}.feedback-message{font-size:1.35rem;color:#e44c70}.feedback-message small{display:block;margin-top:3px;color:#405f72;font-size:.9rem}.feedback.wrong .feedback-message{color:#3294c7}.auto-next{color:#60798a}.session-stats{color:#6b7f8d}

.lesson{padding:24px;border-radius:26px;background:linear-gradient(180deg,#fff4f8,#f5fbff);box-shadow:0 10px 28px rgba(63,90,107,.08)}.lesson h1{color:#e24c70}.example{border-color:#f1dce3;box-shadow:0 5px 12px rgba(85,103,113,.06)}

.result-card{position:relative;overflow:hidden;border-color:#f1d6de;background:linear-gradient(180deg,#fff7dc 0,#fff4f8 46%,#fff 100%);box-shadow:0 14px 34px rgba(141,83,96,.12)}.result-card h1{color:#ed5075;font-size:2rem}.result-girl{width:190px;height:185px;object-fit:contain;margin:-18px auto -6px}.result-sparkles{position:absolute;left:0;right:0;top:20px;color:#f8c73f;font-size:1.7rem;letter-spacing:2.5rem}.score{color:#ed5075}.stars{color:#f5ba25}.result-stats{background:#fff}.record-badge{background:#fff0b9;color:#8a6319}

.edition-card{border-color:#f3d7df;background:linear-gradient(180deg,#fff9ed 0,#f1fbff 48%,#fff4f7 100%)}.edition-character{bottom:-35px}.edition-difference-full strong,.edition-price,.edition-price-label{color:#e64c70}.edition-purchase{border-color:#ff9cb1}.edition-buy-button{background:linear-gradient(135deg,#ff708e,#ec496f);box-shadow:0 4px 0 #cc3558}

.screen-heading{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;margin-bottom:20px}.screen-heading h1{text-align:center;color:#325873;font-size:1.65rem}.icon-back{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#fff;color:#45708c;font-size:1.5rem;box-shadow:0 4px 12px rgba(58,88,106,.08)}.settings-screen,.records-screen{max-width:680px;margin:auto;padding:24px;border:1px solid #f1dce3;border-radius:28px;background:linear-gradient(180deg,#fff6f9,#f4fbff);box-shadow:0 12px 30px rgba(77,91,101,.09)}.settings-list{overflow:hidden;border-radius:22px;background:#fff;box-shadow:0 8px 20px rgba(54,84,102,.08)}.setting-row,.setting-detail summary{display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:12px;width:100%;min-height:68px;padding:10px 18px;border-bottom:1px solid #f2e5e9;background:#fff;color:#345b74;text-align:left}.setting-row strong,.setting-detail strong{font-size:1.03rem}.setting-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#fff0f4;color:#ee5577;font-size:1.35rem}.switch{display:flex;align-items:center;gap:8px;color:#8797a0;font-size:.78rem}.switch i{position:relative;width:48px;height:28px;border-radius:999px;background:#d9e1e5}.switch i::after{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #9aa9b2;transition:left .2s}.switch.is-on{color:#e3486d}.switch.is-on i{background:#fb6687}.switch.is-on i::after{left:23px}.setting-detail summary{cursor:pointer;list-style:none}.setting-detail summary::-webkit-details-marker{display:none}.setting-detail>div{padding:4px 20px 18px 74px;background:#fff;color:#5d7483;font-size:.9rem}.setting-detail p{margin:12px 0}.settings-cheer,.records-cheer{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:20px}.settings-girl,.records-girl{width:125px;height:130px;object-fit:contain}.settings-cheer p,.records-cheer p{padding:14px 18px;border-radius:20px;background:#fff;color:#e24d70;font-weight:900}.records-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px}.records-summary>div{display:grid;text-align:center;padding:18px;border-radius:18px;background:#fff;box-shadow:0 5px 14px rgba(62,91,108,.07)}.records-summary span,.records-summary small{color:#6a7f8d}.records-summary strong{font-size:2rem;color:#ef5275}.records-card,.weak-card{margin-top:16px;padding:20px;border-radius:20px;background:#fff}.records-card h2,.weak-card h2{font-size:1.1rem;color:#365c74}.record-level{display:grid;grid-template-columns:90px 1fr auto;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid #f1e6ea}.record-level:last-child{border:0}.record-level>span{font-weight:800}.record-level .stars{margin:0;font-size:1.1rem;letter-spacing:2px}.record-level>strong{font-size:.85rem;color:#e34b6e}.weak-card p{margin-top:8px;color:#e34b6e;font-weight:900}

footer{color:#718492}footer .parent-info{background:#fff;border:1px solid #f0dce2}.storage-notice{background:#fff1ce}

@media(max-width:600px){.site-header{padding-inline:16px}.header-settings{width:42px;height:42px}.intro{padding-bottom:145px}.intro h1{font-size:2.35rem}.home-girl{width:175px}.home-card{margin-top:14px}.level-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.level-tile{padding:14px 11px}.tile-title{align-items:flex-start}.tile-title h2{font-size:1rem}.level-tag{font-size:.72rem;padding:2px 6px}.level-tile>p{font-size:.8rem;min-height:2.8em}.level-status{font-size:.78rem;min-height:2.6em}.compact-stars{font-size:1.05rem;letter-spacing:1px}.level-tile .primary,.level-tile .secondary,.locked-level{font-size:.8rem;padding:8px 5px}.game-shell{padding:14px 10px}.answers{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.answers .answer:last-child:nth-child(odd){grid-column:1/-1}.answer{min-height:58px}.quiz-helper{margin-top:7px}.feedback{display:grid;grid-template-columns:82px 1fr;padding:10px;min-height:118px}.feedback-girl{width:82px;height:88px}.feedback-message{font-size:1.15rem}.feedback-message small{font-size:.82rem}.auto-next{font-size:.8rem}.result-card{padding:22px 16px}.result-girl{width:165px;height:160px}.result-card h1{font-size:1.7rem}.result-sparkles{letter-spacing:1.7rem}.settings-screen,.records-screen{padding:16px 12px;border-radius:22px}.screen-heading{grid-template-columns:42px 1fr 42px}.screen-heading h1{font-size:1.35rem}.icon-back{width:42px;height:42px}.setting-row,.setting-detail summary{padding-inline:12px;grid-template-columns:42px 1fr auto}.setting-detail>div{padding-left:66px}.settings-girl,.records-girl{width:110px;height:115px}.records-card{padding:16px 12px}.record-level{grid-template-columns:76px 1fr auto;gap:4px}.record-level>span{font-size:.8rem}.record-level>strong{font-size:.75rem}.record-level .stars{font-size:.88rem}.edition-character{right:-14px}.edition-card .edition-hero h1{font-size:2rem}}
@media(max-width:360px){.intro h1{font-size:2.05rem}.level-tile{padding-inline:9px}.level-tag{font-size:.68rem}.feedback{grid-template-columns:70px 1fr}.feedback-girl{width:70px}.settings-cheer,.records-cheer{gap:8px}.settings-cheer p,.records-cheer p{padding:10px 12px}.record-level{grid-template-columns:68px 1fr auto}}
.intro{padding-bottom:12px}.home-girl{position:relative;left:auto;bottom:auto;display:block;width:190px;height:155px;object-fit:cover;object-position:50% 0;transform:none;margin:0 auto -2px}@media(max-width:600px){.intro{padding-bottom:12px}.home-girl{width:175px;height:145px}}
