:root{--landing-bg-cream:#fffaf0;--landing-text-dark:#1a1a1a;--landing-text-grey:#666;--landing-font-main:"Mulish", sans-serif}.landing-page{font-family:var(--landing-font-main);background-color:var(--landing-bg-cream);color:var(--landing-text-dark);flex-direction:column;min-height:100vh;line-height:1.6;display:flex;position:relative;overflow-x:hidden}.landing-page .container{max-width:1100px;margin:0 auto;padding:0 20px;position:relative}.landing-header{z-index:10;justify-content:space-between;align-items:center;width:100%;max-width:1100px;margin:0 auto;padding:15px 20px;display:flex;position:relative}.landing-header .logo-container{align-items:center;gap:10px;text-decoration:none;display:flex}.landing-header .logo-icon{width:32px;height:auto}.landing-header .logo-text{color:var(--landing-text-dark);font-size:1.2rem;font-weight:800}.landing-header .login-btn{color:#8d6e63;font-family:var(--landing-font-main);cursor:pointer;background:0 0;border:none;padding:10px 24px;font-size:.95rem;font-weight:700;text-decoration:none;transition:color .2s}.landing-header .login-btn:hover{color:#5d4037}.landing-page .hero{text-align:center;z-index:1;background-color:#0000;justify-content:center;align-items:center;min-height:calc(100vh - 62px);padding-bottom:60px;display:flex;position:relative}.landing-page .hero-bg-kanji{pointer-events:none;-webkit-user-select:none;user-select:none;z-index:-1;position:absolute;inset:0;overflow:hidden}.landing-page .hero-bg-kanji span{color:#5d403706;font-weight:700;line-height:1;animation:8s ease-in-out infinite kanjiFloat;position:absolute}.landing-page .hero-bg-kanji span:nth-child(odd){animation-duration:10s;animation-direction:reverse}.landing-page .hero-bg-kanji span:nth-child(3n){animation-duration:12s}.landing-page .hero-bg-kanji span:nth-child(4n+1){animation-delay:-3s}.landing-page .hero-bg-kanji span:nth-child(5n+2){animation-delay:-6s}@keyframes kanjiFloat{0%,to{translate:0}50%{translate:0 -8px}}.landing-page .hero h1{margin-bottom:15px;font-size:2.8rem;font-weight:800;line-height:1.2}.landing-page .subtitle{color:#555;margin-bottom:30px;font-size:1.05rem}.landing-page .hero-mascot{width:160px;height:auto;margin-bottom:32px}.landing-page .hero-cta{color:#fff;font-family:var(--landing-font-main);background:#5d4037;border-radius:50px;padding:16px 48px;font-size:1.1rem;font-weight:700;text-decoration:none;transition:background .2s,transform .15s;display:inline-block}.landing-page .hero-cta:hover{background:#4a3b32;transform:translateY(-2px)}.landing-page .features{text-align:center;z-index:2;background-color:#fff;background-image:url(/images/clouds.webp);background-position:50%;background-repeat:no-repeat;background-size:cover;flex-direction:column;justify-content:center;min-height:150vh;padding:0 0 100px;display:flex;position:relative}.landing-page .features-grid{grid-template-columns:repeat(2,1fr);gap:100px 120px;max-width:900px;margin:0 auto;display:grid}.landing-page .feature-card{flex-direction:column;align-items:center;display:flex}.landing-page .feature-img{justify-content:center;align-items:center;height:140px;margin-bottom:20px;display:flex}.landing-page .feature-img img{object-fit:contain;max-width:100%;max-height:100%}.landing-page .feature-card h3{margin-bottom:15px;font-size:1.5rem}.landing-page .feature-card p{color:var(--landing-text-dark);max-width:320px;margin:0 auto;font-size:1rem;line-height:1.7}.landing-page .testimonials{text-align:center;background-image:url(/images/bg-testimonials.svg);background-position:top;background-repeat:no-repeat;background-size:cover;width:100%;margin-top:0;padding-top:80px;padding-bottom:80px;position:relative}.landing-page .bun-container{z-index:5;width:130px;position:absolute;top:-220px;left:50%;transform:translate(-50%)}.landing-page .buns-steam{width:100%;height:auto}.landing-page .features h2,.landing-page .testimonials h2{color:#4a3b32;text-align:center;font-size:2.5rem;font-weight:800;line-height:1.2}.landing-page .features h2{margin-bottom:90px}.landing-page .testimonials h2{margin-bottom:50px}.landing-page .reviews-scroll{justify-content:center;gap:30px;width:100%;padding:20px;display:flex;overflow-x:auto}.landing-page .reviews-scroll::-webkit-scrollbar{display:none}.landing-page .review-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);text-align:left;background:#ffffff80;border:1px solid #fff9;border-radius:20px;flex-shrink:0;min-width:300px;max-width:50%;padding:30px}.landing-page .user-info{align-items:center;gap:15px;margin-bottom:15px;display:flex}.landing-page .avatar-circle{background-color:#333;border-radius:50%;width:45px;height:45px;overflow:hidden}.landing-page .avatar-circle img{object-fit:cover;width:100%;height:100%}.landing-page .user-info h4{margin:0;font-size:1rem}.landing-page .user-info span{color:#555;font-size:.8rem}.landing-page .faq-section{background-color:var(--landing-bg-cream);padding:80px 0}.landing-page .faq-section h2{color:#4a3b32;text-align:center;margin-bottom:60px;font-size:2.5rem;font-weight:800}.landing-page .faq-grid{flex-direction:column;gap:20px;max-width:800px;margin:0 auto;display:flex}.landing-page .faq-card{background-color:#fff;border-radius:20px;transition:all .3s;overflow:hidden;box-shadow:0 4px 15px #00000008}.landing-page .faq-card summary{cursor:pointer;color:var(--landing-text-dark);justify-content:space-between;align-items:center;padding:25px 30px;font-size:1.1rem;font-weight:700;list-style:none;display:flex}.landing-page .faq-card summary::-webkit-details-marker{display:none}.landing-page .faq-answer{color:var(--landing-text-grey);border-top:1px solid #0000;padding:0 30px 30px;font-size:1rem;line-height:1.6}.landing-page .faq-card:hover{box-shadow:0 6px 20px #0000000f}.landing-page .faq-icon{font-size:1.5rem;font-weight:400;transition:transform .3s}.landing-page .faq-card[open] .faq-icon{transform:rotate(45deg)}.site-footer{color:#aaa;font-size:.9rem;font-family:var(--landing-font-main);background-color:#4d3b36;margin-top:auto;padding:60px 0 20px}.site-footer .footer-content{flex-wrap:wrap;justify-content:center;gap:200px;max-width:1100px;margin-bottom:40px;margin-left:auto;margin-right:auto;padding:0 20px;display:flex}.site-footer .footer-left h3,.site-footer .footer-right h3{color:#d4a88c;margin-bottom:20px;font-size:1.1rem}.site-footer .footer-logo{color:#fff;align-items:center;gap:10px;margin-bottom:10px;font-size:1.1rem;font-weight:700;display:flex}.site-footer .logo-icon-sm{width:24px}.site-footer .footer-tagline{margin-bottom:16px}.site-footer .app-store-badge{transition:transform .2s;display:inline-block}.site-footer .app-store-badge:hover{transform:scale(1.05)}.site-footer .app-store-badge img{width:auto;height:50px}.site-footer .footer-right ul{padding:0;list-style:none}.site-footer .footer-right ul li{margin-bottom:10px}.site-footer .footer-right ul li a{color:#aaa;text-decoration:none}.site-footer .footer-right ul li a:hover{color:#fff}.site-footer .footer-bottom{text-align:center;border-top:1px solid #66524c;max-width:1100px;margin:0 auto;padding-top:20px;padding-left:20px;padding-right:20px;font-size:.75rem}.policy-page{font-family:var(--landing-font-main);background-color:var(--landing-bg-cream);color:var(--landing-text-dark);flex-direction:column;min-height:100vh;line-height:1.6;display:flex}.policy-page footer{margin-top:auto}.policy-page .container{max-width:1100px;margin:0 auto;padding:0 20px;position:relative}.policy-header{z-index:100;background-color:#fff;border-bottom:1px solid #eaddd7;padding:15px 0;position:sticky;top:0}.policy-header .header-inner{justify-content:center;align-items:center;max-width:1100px;margin:0 auto;padding:0 20px;display:flex}.policy-header .logo-container{color:inherit;align-items:center;gap:10px;text-decoration:none;display:flex}.policy-header .logo-icon{width:32px;height:auto}.policy-header .logo-text{color:var(--landing-text-dark);font-size:1.2rem;font-weight:800}.policy-container{max-width:800px;margin:0 auto}.policy-page .policy-container{max-width:800px;padding:72px 20px 110px}.policy-container h1{color:#4a3b32;margin-bottom:10px;font-size:2.2rem;font-weight:800}.policy-page .last-updated{color:var(--landing-text-grey);border-bottom:1px solid #eee;margin-bottom:40px;padding-bottom:20px;font-size:.9rem;font-style:italic}.policy-text h2{color:#4a3b32;margin-top:40px;margin-bottom:20px;font-size:1.4rem;font-weight:700}.policy-text h3{color:var(--landing-text-dark);margin-top:25px;margin-bottom:10px;font-size:1.1rem;font-weight:700}.policy-text p{color:#333;margin-bottom:15px;line-height:1.8}.policy-text ul{margin-bottom:20px;padding-left:25px}.policy-text li{color:#333;margin-bottom:10px;line-height:1.6}.policy-text a{color:#5d4037;font-weight:600;text-decoration:underline}.policy-text a:hover{color:#8d6e63}@media (width<=768px){.landing-page .hero{overflow-x:hidden}.landing-page .hero h1{font-size:2rem}.landing-page .phone-main{width:140%}.landing-page .features h2,.landing-page .testimonials h2{font-size:2rem}.landing-page .features{justify-content:flex-start;min-height:auto;padding-top:60px;padding-bottom:250px}.landing-page .features-grid{grid-template-columns:1fr;gap:50px}.landing-page .testimonials{padding-top:80px}.landing-page .bun-container{top:-230px}.landing-page .reviews-scroll{justify-content:center;padding-left:20px;padding-right:20px}.landing-page .review-card{max-width:80%}.landing-page .faq-card summary{padding:20px;font-size:1rem}.landing-page .faq-answer{padding:0 20px 20px}.site-footer .footer-content{flex-direction:column;gap:40px}.policy-container{padding-top:30px;padding-left:20px;padding-right:20px}.policy-container h1{font-size:1.8rem}}@media (width<=1024px){.landing-page .review-card{max-width:80%}}*{box-sizing:border-box;margin:0;padding:0}body{color:#333;background:#f0f0f0;font-family:Mulish,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.login-page{background-color:#fffaf0;justify-content:center;align-items:center;min-height:100vh;display:flex}.login-card{flex-direction:column;align-items:center;width:100%;max-width:400px;padding:40px 24px;display:flex}.login-mascot{width:160px;height:auto;margin-bottom:24px}.login-title{color:#4a3b32;margin-bottom:4px;font-size:2rem;font-weight:800}.login-subtitle{color:#8d6e63;margin-bottom:32px;font-size:.95rem}.login-error{color:#d32f2f;text-align:center;margin-bottom:16px;font-size:14px}.login-buttons{flex-direction:column;gap:12px;width:100%;display:flex}.login-btn-google,.login-btn-apple{cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:12px;width:100%;padding:14px 20px;font-family:Mulish,sans-serif;font-size:15px;font-weight:600;transition:transform .15s,box-shadow .15s;display:flex}.login-btn-google:hover,.login-btn-apple:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0000001a}.login-btn-google:active,.login-btn-apple:active{transform:translateY(0)}.login-btn-google{color:#333;background:#fff;border:1px solid #ddd}.login-btn-apple{color:#fff;background:#000;border:1px solid #000}.login-btn-icon{flex-shrink:0;width:20px;height:20px}.login-back{color:#8d6e63;margin-top:32px;font-size:.85rem;text-decoration:none}.login-back:hover{color:#5d4037}.site-header{background:#fff;padding:12px 0}.header-inner{justify-content:space-between;align-items:center;max-width:1100px;margin:0 auto;padding:0 20px;display:flex}.header-logo{color:inherit;align-items:center;gap:10px;text-decoration:none;display:flex}.header-logo-icon{width:28px;height:auto}.header-logo-text{color:#333;font-size:1.1rem;font-weight:800}.header-account{position:relative}.header-account-btn{color:#333;cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:8px;padding:6px 14px;font-size:14px}.header-account-btn:hover{background:#f5f5f5}.account-dropdown{z-index:100;background:#3a3a3a;border-radius:8px;min-width:160px;padding:8px 0;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 4px 16px #0003}.account-dropdown a,.account-dropdown button{color:#fff;text-align:left;cursor:pointer;background:0 0;border:none;width:100%;padding:10px 20px;font-size:14px;text-decoration:none;display:block}.account-dropdown a:hover,.account-dropdown button:hover{background:#ffffff1a}.dashboard{max-width:1100px;margin:24px auto;padding:0 20px}.toaster-loader{z-index:10;background:#ffcc90;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.review-summary{box-sizing:border-box;background:#fff;flex-direction:column;align-items:center;padding:0 20px 28px;display:flex;position:fixed;inset:0;overflow-y:auto}.review-summary-inner{flex-direction:column;flex:1;justify-content:space-between;gap:32px;width:100%;max-width:560px;display:flex}.review-summary-hero{text-align:center;flex-direction:column;align-items:center;gap:12px;padding-top:18vh;display:flex}.review-summary-image{width:100px;height:auto}.review-summary-title{color:#ef8100;margin:0;font-size:1.75rem;font-weight:800}.review-summary-subtitle{color:#333;margin:0;font-size:1rem}.review-summary-stats{gap:15px;width:100%;display:flex}.review-summary-stat{border-radius:10px;flex-direction:column;flex:1;align-items:stretch;gap:4px;min-height:80px;padding:6px;display:flex}.review-summary-stat-label{color:#fff;text-align:center;letter-spacing:.5px;font-size:.75rem;font-weight:700}.review-summary-stat-box{background:#fff;border-radius:8px;flex:1;justify-content:center;align-items:center;font-size:1.5rem;font-weight:800;display:flex}.review-summary-dismiss{color:#fff;cursor:pointer;background:#000;border:none;border-radius:15px;width:100%;height:50px;font-size:1rem;font-weight:700}.review-summary-dismiss:hover{opacity:.9}.toaster-loader-anim{width:min(15vw,140px);height:min(15vw,140px)}.subscription-page{background:#f4f1ec;min-height:100vh}.subscription-shell{max-width:1100px;margin:0 auto;padding:24px 20px 48px}.subscription-shell h1{color:#3f3028;margin-bottom:16px;font-size:2.2rem;font-weight:800}.subscription-card{background:#fffdfa;border:1px solid #eadfd3;border-radius:14px;margin-bottom:18px;padding:20px}.subscription-card h2{color:#4a3b32;margin-bottom:12px;font-size:1.2rem}.subscription-status{color:#8a5a2a;background:#efe4d8;border-radius:999px;margin-bottom:10px;padding:8px 12px;font-size:.95rem;font-weight:700;display:inline-block}.subscription-status.active{color:#2d7a46;background:#e3f2e7}.subscription-copy{color:#4a3b32;line-height:1.6}.subscription-pricing{color:#6b4f3f;flex-wrap:wrap;gap:10px 24px;margin-top:14px;font-weight:700;display:flex}.subscription-steps{color:#4a3b32;padding-left:20px;line-height:1.7}.subscription-note{color:#8a5a2a;margin-top:12px;font-weight:600;line-height:1.6}.subscription-detail-row{border-top:1px solid #f0e6db;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;display:flex}.subscription-detail-row:first-of-type{border-top:0;padding-top:0}.subscription-detail-row.static{padding-bottom:0}.subscription-label{color:#8a6f5a;text-transform:uppercase;letter-spacing:.03em;margin-bottom:4px;font-size:.85rem;font-weight:700}.subscription-value{color:#3a2f28;word-break:break-word;font-size:1rem}.subscription-copy-btn,.subscription-mail-link{color:#6b4f3f;cursor:pointer;background:#fff;border:1px solid #d8c7b5;border-radius:10px;justify-content:center;align-items:center;min-width:92px;padding:10px 14px;font-size:14px;font-weight:700;text-decoration:none;display:inline-flex}.subscription-copy-btn:hover,.subscription-mail-link:hover{background:#f8f1e8}.subscription-copy-btn:disabled{opacity:.6;cursor:not-allowed}@media (width<=700px){.subscription-shell h1{font-size:1.8rem}.subscription-detail-row{flex-direction:column;align-items:flex-start}}.dashboard-main{align-items:stretch;gap:16px;display:flex}.dashboard-left{flex:1;min-width:0}.subscription-tip{background:#ff993326;border:1px solid #e178204d;border-radius:10px;align-items:flex-start;gap:12px;margin-bottom:16px;padding:12px;display:flex}.subscription-tip-icon{color:#d97706;flex-shrink:0;width:20px;height:20px;margin-top:2px}.subscription-tip-copy{min-width:0}.subscription-tip-title{color:#d97706;margin-bottom:4px;font-size:.9rem;font-weight:800}.subscription-tip-text{color:#333;font-size:.9rem;line-height:1.45}.dashboard-right{flex-shrink:0;width:300px;display:flex}.dashboard-right .card-forecast{flex:1}.sign-out-btn{color:#333;cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:8px;padding:8px 16px;font-size:14px}.sign-out-btn:hover{background:#f5f5f5}.dashboard-cards{grid-template-columns:1fr 1fr;gap:16px;display:grid}.card{border-radius:6px;flex-direction:column;gap:8px;min-height:200px;padding:24px;display:flex}.card-lessons,.card-reviews{cursor:pointer;min-height:180px;font:inherit;color:inherit;text-align:left;border:none;flex-direction:row;align-items:center;gap:16px;width:100%}.card-lessons:disabled,.card-reviews:disabled{cursor:default}.card-lessons{color:#000;background:#7ed9b8}.card-reviews{color:#000;background:#f895c4}.card-lessons:not(.card-empty):hover,.card-reviews:not(.card-empty):hover{filter:brightness(1.05)}.card-empty{cursor:default!important;background:#fff!important}.card-empty.card-lessons .badge,.card-empty.card-reviews .badge{color:#999;background:#e0e0e0}.card-text{z-index:1;flex-direction:column;flex:1;gap:4px;display:flex;position:relative}.card-text h2{font-size:20px;font-weight:700}.card-title-row{justify-content:flex-start;align-items:center;gap:10px;display:flex}.card-title-text{overflow-wrap:anywhere;min-width:0}.card-text .card-desc{opacity:.6;flex:1;font-size:13px}.card-text .badge{flex:none;align-self:flex-start}.card-image{flex-shrink:0;width:100px;height:auto}.card-forecast{color:#555;background:#f4f4f4;border:1px solid #e8e8e8;flex:1;padding:16px}.card-forecast .card-desc{flex:none}.card-forecast h2{color:#000;font-size:16px;font-weight:700}.forecast-empty{text-align:center;background:#fff;border-radius:4px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;padding:24px 12px;display:flex}.forecast-empty-img{width:80px;height:auto}.forecast-empty p{color:#888;font-size:13px;line-height:1.5}.forecast-day-list{flex-direction:column;gap:4px;margin-top:12px;display:flex}.forecast-day-row{width:100%;font:inherit;text-align:left;cursor:pointer;background:#fff;border:none;border-radius:4px;align-items:center;padding:10px 12px;transition:background .15s;display:flex}.forecast-day-row:hover{background:#fafafa}.forecast-day-row.selected{font-weight:600}.forecast-day-chevron{color:#999;flex-shrink:0;width:12px;height:12px;margin-right:8px;transition:transform .15s}.forecast-day-label{flex:1;font-size:13px}.forecast-day-count{color:#888;font-size:13px;font-weight:600}.forecast-hours{background:#fff;border-radius:0 0 4px 4px;margin-top:-4px;padding:8px 12px 4px}.forecast-hour-row{align-items:center;gap:8px;padding:3px 0;display:flex}.forecast-hour-label{opacity:.7;flex-shrink:0;width:42px;font-size:12px}.forecast-hour-bar-wrap{background:#0000000a;border-radius:3px;flex:1;height:14px;overflow:hidden}.forecast-hour-bar{background:#4caf50;border-radius:3px;min-width:2px;height:100%}.forecast-hour-count{text-align:right;flex-shrink:0;width:24px;font-size:12px;font-weight:600}.forecast-loading{opacity:.6;padding:4px 0;font-size:12px}.card h2{font-size:24px}.badge{vertical-align:middle;background:#000;border-radius:10px;justify-content:center;align-items:center;min-width:28px;min-height:28px;padding:2px 8px;font-size:14px;font-weight:700;display:inline-flex}.card-lessons .badge{color:#7ed9b8}.card-reviews .badge{color:#f895c4}.card-desc{opacity:.9;flex:1;font-size:14px}.card button{color:#333;cursor:pointer;background:#fff;border:none;border-radius:8px;align-self:flex-start;padding:10px 20px;font-size:14px;font-weight:600}.card button:hover{background:#f0f0f0}.error{color:#d32f2f;font-size:14px}.error-boundary{text-align:center;max-width:480px;margin:80px auto;padding:32px}.error-boundary h1{margin:0 0 16px;font-size:24px}.error-boundary .error{word-break:break-word;margin:0 0 24px}.animated-badge-stack{pointer-events:none;justify-content:center;align-items:center;min-height:36px;margin-top:8px;display:flex;position:relative}.animated-badge{background:#f5f5f5;border:.3px solid #999;border-radius:20px;align-items:center;gap:6px;padding:8px 14px;transition:transform .25s ease-out,opacity .3s ease-out;display:inline-flex;position:absolute}.animated-badge-icon{font-size:14px;line-height:1}.animated-badge-name{font-size:13px;font-weight:700;line-height:1}.review-view{background:#e8e8e8;flex-direction:column;width:100%;min-height:100vh;display:flex}.review-header{color:#fff;flex-direction:column;justify-content:center;align-items:center;min-height:200px;display:flex;position:relative}.review-home-btn{color:#fff;cursor:pointer;opacity:.9;background:0 0;border:none;font-size:24px;position:absolute;top:12px;left:12px}.review-home-btn:hover{opacity:1}.review-counts{font-variant-numeric:tabular-nums;opacity:.9;font-size:14px;font-weight:700;position:absolute;top:12px;right:16px}.review-character{color:#000;font-size:72px;font-weight:400;line-height:.95}.review-prompt-label{text-align:center;padding:10px;font-size:15px;font-weight:600}.review-input-wrap{z-index:1;background:#fff;border:1px solid #ddd;align-items:center;margin:0;display:flex;position:relative}.review-input-wrap.shake{animation:.4s ease-in-out shake}@keyframes shake{0%,to{transform:translate(0)}20%{transform:translate(-8px)}40%{transform:translate(8px)}60%{transform:translate(-6px)}80%{transform:translate(6px)}}.review-input{text-align:center;border:none;outline:none;flex:1;padding:16px 20px;font-family:inherit;font-size:17px;transition:background .2s,color .2s}.review-input::placeholder{color:#aaa}.review-submit-btn{color:#999;cursor:pointer;background:0 0;border:none;padding:0 20px;font-size:20px;position:absolute;top:0;bottom:0;right:0}.review-submit-btn:hover{color:#333}.review-info-area{flex:1;padding:0 0 16px;overflow-y:auto}.review-info-shell{max-width:600px;margin:0 auto;padding-top:10px}.review-reveal-wrap{z-index:4;justify-content:center;margin-bottom:12px;display:flex;position:relative}.review-action-row{align-items:stretch;gap:12px;width:100%;max-width:600px;display:flex}.review-reveal-btn{color:#a6a6a6;cursor:not-allowed;background:#f1f1f1;border:1px solid #d6d6d6;flex:1 1 0;justify-content:center;align-items:center;width:100%;height:54px;display:inline-flex;box-shadow:0 2px 8px #00000014}.review-reveal-btn.active{color:#9b9b9b;cursor:pointer;background:#fff}.review-keyboard-toggle{color:#9b9b9b;cursor:pointer;background:#fff;flex:0 0 74px}.review-keyboard-toggle.active{color:#7f7f7f;background:#f1f1f1}.review-reveal-icon{width:36px;height:36px}.review-reveal-tooltip{color:#fff;text-align:center;z-index:3;background:#a5a5a5f5;width:min(720px,100vw - 48px);padding:18px 22px;font-size:16px;line-height:1.45;position:absolute;top:calc(100% + 14px);left:50%;transform:translate(-50%);box-shadow:6px 8px #00000014}.review-reveal-tooltip:before{content:"";border:12px solid #0000;border-top-width:0;border-bottom-color:#a5a5a5f5;position:absolute;bottom:100%;left:50%;transform:translate(-50%)}@media (pointer:fine){.review-action-row{max-width:520px}.review-reveal-btn{height:46px}.review-keyboard-toggle{flex-basis:60px}.review-reveal-icon{width:28px;height:28px}}.review-keyboard{display:none}.review-keyboard-row{justify-content:center;gap:5px;width:min(100%,760px);margin:0 auto;display:flex}.review-keyboard-spacer{flex:1 1 0}.review-key{color:#222;max-width:38px;min-height:48px;font:inherit;touch-action:manipulation;background:#fff;border:none;border-radius:5px;flex:1 1 0;justify-content:center;align-items:flex-end;padding:0 0 12px;font-size:1.35rem;display:inline-flex;position:relative;box-shadow:0 .5px #0000002e,0 1px 2px #00000014}.review-key.special,.review-key.medium{background:#78788042;max-width:56px;font-size:1rem}.review-key.wide{max-width:180px;font-size:1rem}.review-key.pressed{transform:scale(.97)}.review-key-label{pointer-events:none}.review-key-popup{color:#222;background:#fff;border-radius:8px 8px 6px 6px;justify-content:center;align-items:flex-start;min-width:max(50px,100%);height:84px;padding-top:12px;font-size:1.8rem;line-height:1;display:inline-flex;position:absolute;bottom:calc(100% - 6px);left:50%;transform:translate(-50%);box-shadow:0 4px 10px #0003}.review-key-popup:after{content:"";background:#fff;border-radius:0 0 6px 6px;width:70%;height:24px;position:absolute;bottom:-20px;left:50%;transform:translate(-50%)}.review-info-card{max-width:600px;margin:20px auto 0;animation:.25s ease-out fadeSlideUp}@keyframes fadeSlideUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.review-info-section{margin-bottom:16px}.review-info-label{letter-spacing:.5px;color:#888;text-transform:uppercase;margin-bottom:4px;padding-left:4px;font-size:12px;font-weight:600;display:block}.review-info-section-card{background:#fff;border-radius:8px;padding:14px 20px}.review-info-value{color:#333;margin:0;font-size:16px;font-weight:600;line-height:1.4}.review-info-mnemonic{color:#666;margin:4px 0 0;font-size:14px;line-height:1.6}.lesson-view{background:#f5f5f5;width:100%;min-height:100vh;padding-bottom:80px}.lesson-content-header{color:#000;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:200px;display:flex;position:relative}.lesson-content-header .review-character{font-size:72px;line-height:.95}.lesson-primary-label{opacity:.7;text-align:center;padding:0 56px;font-size:15px}.lesson-progress{opacity:.7;font-size:14px;position:absolute;top:12px;right:16px}.lesson-content-body{max-width:600px;margin:0 auto;padding:24px 20px}.lesson-section{margin-bottom:16px}.lesson-section h3{letter-spacing:.5px;color:#888;margin-bottom:4px;padding-left:4px;font-size:12px;font-weight:600}.lesson-section-card{background:#fff;border-radius:8px;padding:14px 20px}.lesson-field-value{font-size:16px;font-weight:600;line-height:1.4}.lesson-field-japanese{font-size:18px}.lesson-field-mnemonic{color:#666;margin-top:4px;font-size:14px;line-height:1.6}.highlight-radical{color:#2d9a72;font-weight:600}.highlight-kanji{color:#f895c4;font-weight:600}.highlight-vocabulary{color:#9cabff;font-weight:600}.lesson-radicals-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.lesson-radical-chip{color:#000;background:#7ed9b8;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;font-size:18px;display:inline-flex}.lesson-radical-plus{color:#888;font-size:14px}.lesson-kanji-chip{color:#000;background:#f895c4;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;font-size:18px;display:inline-flex}.lesson-header-arrow{color:#000000b3;cursor:pointer;z-index:10;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffff47;border:none;border-radius:50%;width:40px;height:40px;font-size:16px;position:absolute;top:50%;transform:translateY(-50%)}.lesson-header-arrow:hover{background:#ffffff6b}.lesson-header-arrow-left{left:16px}.lesson-header-arrow-right{right:16px}.lesson-bottom-bar{z-index:10;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f5f5f5f0;justify-content:center;align-items:center;gap:8px;padding:16px 20px;display:flex;position:fixed;bottom:0;left:0;right:0}.lesson-bottom-strip{scrollbar-width:none;flex:0 auto;justify-content:center;align-items:center;gap:8px;min-width:0;max-width:min(100%,720px);padding-bottom:2px;display:flex;overflow:auto hidden}.lesson-bottom-strip::-webkit-scrollbar{display:none}.lesson-bottom-item{background:var(--item-color);color:#fff;cursor:pointer;opacity:.55;border:none;border-radius:8px;flex:none;justify-content:center;align-items:center;min-width:44px;max-width:88px;height:44px;padding:0 8px;font-size:20px;font-weight:700;transition:transform .14s,opacity .14s,box-shadow .14s;display:inline-flex;box-shadow:0 1px 2px #00000014}.lesson-bottom-item-text{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.lesson-bottom-item.active{opacity:1;transform:scale(1.12);box-shadow:0 4px 10px #0000002e}.lesson-bottom-item:hover{opacity:.85}.lesson-bottom-quiz{color:#9a9a9a;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:none;justify-content:center;align-items:center;gap:4px;height:44px;margin-left:4px;padding:0 10px;font-size:13px;font-weight:600;transition:color .12s,background .12s,transform .12s;display:inline-flex}.lesson-bottom-quiz-label{color:inherit;letter-spacing:.3px}.lesson-bottom-quiz-arrow{color:inherit;font-size:18px;line-height:1}.lesson-bottom-quiz:hover{color:#333;background:#0000000a;transform:translate(2px)}.lesson-bottom-quiz:active{transform:translate(1px)}@media (width<=768px){.lesson-content-header{min-height:180px;padding:0 12px}.lesson-content-header .review-character{font-size:60px}.lesson-primary-label{padding:0 48px}.lesson-header-arrow{width:36px;height:36px}.lesson-header-arrow-left{left:12px}.lesson-header-arrow-right{right:12px}.lesson-bottom-bar{justify-content:space-between;padding:12px}.lesson-bottom-strip{flex:1;justify-content:flex-start;max-width:none}.lesson-bottom-item{max-width:72px;font-size:16px}.lesson-bottom-quiz{padding:0 16px;font-size:15px}}@media (pointer:coarse) and (width>=700px){.lesson-bottom-bar{justify-content:center}.lesson-bottom-strip{flex:0 auto;justify-content:center;max-width:min(100%,720px)}}.migration-notice{text-align:center;background:#fff;border-radius:16px;max-width:480px;margin:80px auto;padding:40px}.migration-notice h2{margin-bottom:12px}.migration-notice p{color:#666;line-height:1.6}.migration-screenshot{border-radius:24px;width:100%;max-width:260px;height:auto;margin:20px auto 8px;display:block}@media (pointer:coarse){.review-character{font-size:60px}.review-view{min-height:100svh}.review-input-wrap{margin-bottom:0}.review-input{font-size:18px}.review-keyboard{padding:8px 8px calc(20px + env(safe-area-inset-bottom,0px));background:#d4d8de;flex-direction:column;align-items:center;gap:8px;width:100%;min-height:27vh;margin-top:auto;display:flex}.review-keyboard-row:last-child{justify-content:flex-start;gap:10px;width:100%;display:flex}.review-keyboard-row:last-child .review-keyboard-spacer{flex:auto;min-width:0}.review-key.medium{flex:0 0 88px;max-width:88px}.review-key.wide{flex:0 190px;max-width:190px}.review-info-card{margin-bottom:16px}.review-reveal-wrap{padding:0 8px}.review-action-row{gap:10px}.review-reveal-btn{height:46px}.review-keyboard-toggle{flex-basis:64px}.review-reveal-icon{width:30px;height:30px}.review-reveal-tooltip{width:calc(100vw - 40px);padding:16px 18px;font-size:14px}}@media (pointer:coarse) and (width>=700px){.review-keyboard-romaji .review-keyboard-row:last-child{grid-template-columns:1fr 230px 104px;justify-content:center;gap:5px;width:430px;display:grid}.review-keyboard-romaji .review-keyboard-row:last-child .review-keyboard-spacer{min-width:0;display:block}.review-keyboard-romaji .review-key.wide{flex:none;width:230px;max-width:none}.review-keyboard-romaji .review-key.medium{flex:none;width:104px;max-width:none}.review-keyboard-mongolian .review-keyboard-row:last-child{grid-template-columns:1fr 260px 112px;justify-content:center;gap:5px;width:510px;display:grid}.review-keyboard-mongolian .review-keyboard-row:last-child .review-keyboard-spacer{min-width:0;display:block}.review-keyboard-mongolian .review-key.wide{flex:none;width:260px;max-width:none}.review-keyboard-mongolian .review-key.medium{flex:none;width:112px;max-width:none}}.card-level-progress{background:#fff;margin-top:16px}.dashboard-left{flex-direction:column;display:flex}.level-section{margin-top:12px}.level-section h3{color:#888;margin-bottom:8px;font-size:14px}.level-grid{flex-wrap:wrap;gap:4px;display:flex}.level-item{color:#000;border-radius:4px;justify-content:center;align-items:center;width:36px;height:36px;font-size:18px;display:inline-flex}.level-item-wrap{flex-direction:column;align-items:center;gap:3px;display:flex}.stage-dots{gap:2px;display:flex}.stage-dot{background:#ddd;border-radius:1px;width:5px;height:3px}.stage-dot.filled.srs-bg-apprentice{background:#2d9a72}.stage-dot.filled.srs-bg-guru{background:#4d8fb3}.stage-dot.filled.srs-bg-master{background:#5c6bcc}.stage-dot.filled.srs-bg-enlightened{background:#d15b2c}.stage-dot.filled.srs-bg-burned{background:#b02e46}.srs-locked{color:#bbb;background:#f3f3f3}.srs-apprentice{background:#7ed9b8}.srs-guru{background:#7ec4eb}.srs-master{background:#9cabff}.srs-enlightened{background:#ff8a5b}.srs-burned{background:#ea526f}.level-progress-bar-wrap{background:#e8e8e8;border-radius:20px;height:28px;margin:8px 0;position:relative;overflow:hidden}.level-progress-bar-fill{background:#ffcc90;border-radius:20px;min-width:0;height:100%;transition:width .3s;position:absolute;top:0;left:0}.level-progress-bar-label{z-index:1;color:#333;white-space:nowrap;align-items:center;gap:.3em;height:100%;padding:0 14px;font-size:12px;font-weight:600;display:flex;position:relative}.srs-stage-cards{grid-template-columns:repeat(5,1fr);gap:8px;margin-top:16px;display:grid}.srs-card{text-align:center;background:#fff;border:1px solid #e0e0e0;border-radius:6px;padding:16px 12px}.srs-card .srs-count{font-size:28px;font-weight:700;display:block}.srs-card .srs-label{margin-top:2px;font-size:12px;font-weight:600;display:block}.srs-card.srs-apprentice .srs-count,.srs-card.srs-apprentice .srs-label{color:#2d9a72}.srs-card.srs-guru .srs-count,.srs-card.srs-guru .srs-label{color:#4d8fb3}.srs-card.srs-master .srs-count,.srs-card.srs-master .srs-label{color:#5c6bcc}.srs-card.srs-enlightened .srs-count,.srs-card.srs-enlightened .srs-label{color:#d15b2c}.srs-card.srs-burned .srs-count,.srs-card.srs-burned .srs-label{color:#b02e46}.dashboard-footer{border-top:1px solid #e0e0e0;margin-top:60px;padding:16px 0}.dashboard-footer-inner{justify-content:space-between;align-items:center;max-width:1100px;margin:0 auto;padding:0 20px;display:flex}.dashboard-footer-links{gap:24px;display:flex}.dashboard-footer-links a{color:#999;font-size:13px;text-decoration:none}.dashboard-footer-links a:hover{color:#555}.dashboard-footer-copy{color:#bbb;font-size:12px}@media (width<=768px){.dashboard-main{flex-direction:column}.dashboard-right{width:100%}.dashboard-cards{grid-template-columns:1fr}.srs-stage-cards{grid-template-columns:repeat(3,1fr)}.dashboard-footer-inner{flex-direction:column;gap:8px}.dashboard-footer-links{flex-wrap:wrap;justify-content:center}}@media (width<=980px){.dashboard-main{flex-direction:column}.dashboard-right{width:100%}}
