.hand-view{flex-direction:column;align-items:center;gap:10px;max-width:100%;display:inline-flex}.hand-view--sm{--hand-view-size:120px}.hand-view--md{--hand-view-size:240px}.hand-view--lg{--hand-view-size:320px}.hand-view__stage{width:var(--hand-view-size,240px);aspect-ratio:1;border-radius:var(--radius,16px);-webkit-user-select:none;user-select:none;max-width:100%;position:relative;overflow:hidden}.hand-view--interactive .hand-view__stage{touch-action:pan-y;cursor:grab}.hand-view--interactive .hand-view__stage:active{cursor:grabbing}.hand-view__canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.hand-view__placeholder{background:radial-gradient(circle at 50% 45%,#f4c7a68c,#f4c7a600 70%);border-radius:50%;animation:1.4s ease-in-out infinite hand-view-pulse;position:absolute;inset:18%}@keyframes hand-view-pulse{0%,to{opacity:.5;transform:scale(.94)}50%{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.hand-view__placeholder{animation:none}}.hand-view__fallback{text-align:center;color:var(--c-ink,#1f2544);background:var(--c-surface,#fff);border:2px dashed var(--c-locked,#c9cbd6);border-radius:var(--radius,16px);place-items:center;margin:0;padding:12px;font-size:15px;line-height:1.6;display:grid;position:absolute;inset:0}.hand-view__controls{flex-wrap:wrap;justify-content:center;gap:8px;max-width:100%;display:flex}.hand-view__switch{background:#eef0fb;border-radius:999px;gap:2px;padding:3px;display:inline-flex}.hand-view__actions{flex-wrap:wrap;justify-content:center;gap:8px;display:inline-flex}.hand-view__btn{border:2px solid var(--c-primary,#4c5fd5);background:var(--c-surface,#fff);min-width:44px;min-height:44px;color:var(--c-primary,#4c5fd5);font:inherit;cursor:pointer;border-radius:999px;padding:0 16px;font-size:15px;font-weight:700}.hand-view__switch .hand-view__btn{background:0 0;border-color:#0000}.hand-view__switch .hand-view__btn[aria-pressed=true]{background:var(--c-primary,#4c5fd5);color:var(--c-primary-ink,#fff)}.hand-view__btn--reserved{visibility:hidden}.hand-view__btn:focus-visible{outline:3px solid var(--c-accent,#ff8a3d);outline-offset:2px}.collection{overflow-wrap:anywhere;flex-direction:column;gap:20px;display:flex}.collection>.page-heading,.collection>.review-card{margin-bottom:0}.collection h2{font-size:19px}.prose{flex-direction:column;gap:12px;display:flex}.prose h2:not(:first-child){margin-top:10px}.back-link{align-self:flex-start;margin:-10px 0 -4px -10px}.review-summary{flex-direction:column;gap:16px;display:flex}.review-summary>svg{color:var(--c-primary)}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}.catalog-item{height:100%;color:var(--c-ink);border:2px solid #0000;flex-direction:column;align-items:center;gap:10px;padding:18px 8px;text-decoration:none;display:flex}.catalog-item:hover{border-color:var(--c-primary)}.catalog-item>strong{font-size:28px}.catalog-marks{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.badge--check{color:#765218;background:#fff0cb}.course-tab[aria-pressed=true]{color:var(--course-dark);border-color:var(--course-color);box-shadow:0 3px 0 var(--course-color)}.link-list,.source-list{margin:0;padding:0;list-style:none}.link-list a{justify-content:space-between;align-items:center;gap:12px;min-width:44px;min-height:56px;padding:12px 4px;text-decoration:none;display:flex}.link-list a>span{color:var(--c-ink-soft);flex:1;font-size:13px}nav.link-list{padding:8px 20px}.link-list>a+a,.link-list li+li{border-top:1px solid var(--c-border)}.source-list a{min-width:44px;min-height:44px;padding:10px 0;display:block}.source-list .small{display:block}.text-input,.settings-fields select{border:2px solid var(--c-border);min-width:44px;max-width:100%;min-height:48px;color:var(--c-ink);background:#fff;border-radius:12px;padding:10px 12px;font-size:16px}.settings-fields select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%231F2544' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:36px}.text-input{width:100%}select:focus-visible{outline:3px solid var(--c-primary);outline-offset:3px}.spell-player{flex-direction:column;gap:16px;display:flex}.spell-text{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.spell-character{border:2px solid var(--c-border);background:#fff;border-radius:12px;min-width:44px;min-height:52px;padding:4px 8px;font-size:28px;font-weight:700}.spell-character[aria-current]{border:3px solid var(--c-primary);background:var(--c-primary-soft);text-underline-offset:6px;text-decoration:underline}.spell-character--missing{color:var(--c-ink-soft);border-style:dashed;text-decoration:line-through}.spell-player .playback{flex-wrap:wrap;gap:8px}.spell-player .playback .button{width:auto;font-size:16px}.spell-hint{text-align:center;flex-direction:column;align-items:center;gap:16px;padding:18px 0;display:flex}.notice-box{color:var(--c-ink);background:#fff0cb;border-radius:16px;padding:16px;font-size:14px}.notice-box p+p{margin-top:8px}.record-streak{align-items:center;gap:18px;display:flex}.record-streak svg{color:var(--c-accent)}.record-streak>div{flex-direction:column;flex:1;display:flex}.record-streak span{color:var(--c-ink-soft);font-size:12px}.record-streak strong{font-size:30px}.record-streak small{margin-left:5px}.record-xp{align-items:center;gap:12px;display:flex}.record-xp svg{color:#b45b1b}.record-xp strong{margin-left:auto;font-size:30px}.learned-list,.achievement-list{margin:0;padding:0;list-style:none}.learned-list li{justify-content:space-between;align-items:center;gap:10px;padding:10px 0;display:flex}.achievement-list li{border-bottom:1px solid var(--c-border);align-items:center;gap:12px;padding:14px 0;display:flex}.achievement-list li>span:nth-child(2){flex-direction:column;flex:1;font-size:14px;display:flex}.achievement-list svg{color:var(--c-ink-soft)}.achievement--earned svg{color:#b45b1b}.achievement--earned>span:last-child{color:var(--c-correct);font-weight:700}.chart-card{padding:20px}.xp-chart{width:100%;margin:0}.xp-chart figcaption{margin:0 0 12px;font-size:19px;font-weight:700}.xp-chart svg{width:100%;height:auto;display:block}.xp-chart text{font-family:var(--font);fill:var(--c-ink);font-size:20px}.settings-fields{flex-direction:column;gap:14px;display:flex}.setting-row{justify-content:space-between;align-items:center;gap:12px;min-height:56px;display:flex}.setting-row>span{flex:1}.setting-row select{max-width:64%;font-size:16px}.setting-row input[type=checkbox]{width:44px;height:44px;accent-color:var(--c-primary);cursor:pointer;flex-shrink:0;margin:0}.file-picker{flex-direction:column;gap:10px;font-weight:700;display:flex}.file-picker input{border:2px solid var(--c-border);border-radius:12px;width:100%;min-height:48px;padding:8px;font-size:16px}.file-picker input::file-selector-button{min-height:44px;font:inherit;color:var(--c-primary);background:var(--c-primary-soft);cursor:pointer;border:0;border-radius:8px;padding:6px 10px}.danger-button{color:#a72d2d;background:#fff;border-color:#ecc0c0;box-shadow:0 3px #ecc0c0}.about-screen .page-heading h1{font-size:23px}.about-credit{text-align:center}@media (max-width:380px){.record-streak{gap:10px}.record-streak>svg{width:28px}.setting-row{flex-wrap:wrap}}.catalog-item>.catalog-label{text-align:center;white-space:nowrap;font-size:28px;line-height:1.5}.catalog-item>.catalog-label--long{font-size:18px}.catalog-label>small{white-space:nowrap;font-size:14px;display:block}.catalog-marks .badge{font-size:14px}.button.danger-button{color:#a72d2d;border-color:#a72d2d;box-shadow:0 3px #a72d2d}.setting-row input[type=checkbox]{appearance:none;background:#d1d4e2;border:0;border-radius:16px;width:56px;height:32px;position:relative;overflow:visible}.setting-row input[type=checkbox]:after{content:"";background:#fff;border-radius:50%;width:26px;height:26px;transition:transform .12s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #1f254440}.setting-row input[type=checkbox]:checked{background:#4c5fd5}.setting-row input[type=checkbox]:checked:after{transform:translate(24px)}.record-streak small{font-size:24px}.source-list .external-link{vertical-align:baseline}.source-list .sr-only{display:inline}.item-detail .prose p,.description p,.notice-box p{text-wrap:pretty}.catalog-grid__wide{grid-column:1/-1}.review-empty{word-break:keep-all;font-size:14px}.about-screen .prose>a{align-self:flex-start;min-height:44px;padding-inline:0}:root{--c-ink:#1f2544;--c-ink-soft:#4a5175;--c-bg:#fff9f0;--c-surface:#fff;--c-primary:#4c5fd5;--c-primary-ink:#fff;--c-accent:#ff8a3d;--c-correct:#138a6e;--c-wrong:#d64545;--c-locked:#c9cbd6;--c-border:#e3e5f0;--c-disabled-ink:#8d93ad;--c-primary-shadow:#3a49a8;--c-primary-soft:#eef0fb;--c-correct-soft:#e3f5ef;--c-wrong-soft:#fbe9e9;--c-course-kana:#4c5fd5;--c-course-number:#13a39a;--c-course-word:#e8604c;--radius:16px;--font:"Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", system-ui, sans-serif}html,body{background:var(--c-bg);color:var(--c-ink);font-family:var(--font);margin:0}.boot{text-align:center;place-content:center;gap:12px;min-height:100dvh;display:grid}.boot__title{margin:0;font-size:32px;font-weight:700}.boot__share,.topbar__share{min-width:44px;min-height:44px}.share-dialog{border-radius:var(--radius);border:none;max-width:min(92vw,480px)}.share-dialog::backdrop{background:#1f254473}@font-face{font-family:Zen Maru Gothic;src:url(./zen-maru-gothic-500-BiLJ-FNe.woff2)format("woff2");font-weight:400 500;font-style:normal;font-display:swap}@font-face{font-family:Zen Maru Gothic;src:url(./zen-maru-gothic-700-YVpHCy_u.woff2)format("woff2");font-weight:600 900;font-style:normal;font-display:swap}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;font-size:16px}body{min-width:320px;font-weight:500;line-height:1.7}button,input,select,textarea{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default}a{color:var(--c-primary);text-underline-offset:4px}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--c-primary);outline-offset:4px}button svg,a svg{flex-shrink:0}h1,h2,p{margin:0}h1{font-size:clamp(22px,6.5vw,28px);font-weight:700;line-height:1.5}h2{font-size:22px;line-height:1.5}img,svg{max-width:100%}.app{max-width:560px;min-height:100dvh;margin:0 auto;position:relative}.app--shell{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}.screen{padding:24px 24px 32px}.small,small{color:var(--c-ink-soft);font-size:13px}.eyebrow{letter-spacing:.08em;color:var(--c-ink-soft);font-size:12px;font-weight:700}.card{background:var(--c-surface);border-radius:20px;padding:20px;box-shadow:0 3px 14px #1f25440d}.button{background:var(--c-primary);color:#fff;width:100%;min-height:56px;box-shadow:0 4px 0 var(--c-primary-shadow);border:2px solid #0000;border-radius:28px;justify-content:center;align-items:center;gap:10px;padding:10px 20px;font-size:18px;font-weight:700;line-height:1.5;text-decoration:none;transition:transform .1s,box-shadow .1s;display:flex}.button:active:not(:disabled){box-shadow:0 1px 0 var(--c-primary-shadow);transform:translateY(3px)}.button:disabled{color:var(--c-disabled-ink);background:var(--c-border);box-shadow:0 4px #d2d5e3}.button--secondary{border-color:var(--c-border);color:var(--c-primary);box-shadow:0 3px 0 var(--c-border);background:#fff}.text-button{min-height:44px;color:var(--c-primary);background:0 0;border:0;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-weight:700;display:inline-flex}.icon-button{background:0 0;border:0;border-radius:14px;justify-content:center;align-items:center;min-width:44px;min-height:44px;display:inline-flex}.icon-button:hover,.text-button:hover{background:var(--c-primary-soft)}.option-stack{flex-direction:column;gap:14px;width:100%;display:flex}.progress-bar{background:var(--c-border);border-radius:99px;width:100%;height:12px;overflow:hidden}.progress-bar>span{background:var(--c-accent);border-radius:inherit;height:100%;transition:width .18s;display:block}.topbar{background:var(--c-bg);border-bottom:1px solid #ece6de;justify-content:space-between;align-items:center;height:72px;padding:10px 24px;display:flex}.topbar__streak,.topbar__goal{align-items:center;gap:6px;display:flex}.topbar__streak svg{color:var(--c-accent)}.topbar__streak strong,.topbar__goal strong{font-size:20px}.topbar__streak small{align-self:flex-end;padding-bottom:3px}.bottom-tabs{width:min(100%,560px);height:calc(64px + env(safe-area-inset-bottom,0px));padding:0 12px env(safe-area-inset-bottom,0px);border-top:1px solid var(--c-border);z-index:20;background:#fff;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-tabs a{min-height:64px;color:var(--c-ink-soft);flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:12px;font-weight:700;text-decoration:none;display:flex}.bottom-tabs a[aria-current]{color:var(--c-primary)}.bottom-tabs a[aria-current] svg{background:var(--c-primary-soft);box-shadow:0 0 0 5px var(--c-primary-soft);border-radius:8px}.notices{z-index:30;position:sticky;top:0}.notices:empty{display:none}.storage-warning,.recovery-notice{background:#fff0cb;border-bottom:1px solid #dbc68c;padding:8px 16px;font-size:13px}.recovery-notice{align-items:center;gap:6px;display:flex}.recovery-notice .icon-button{flex-shrink:0}.sheet{background:var(--c-bg);width:min(100%,560px);max-width:100%;max-height:min(90dvh,800px);color:var(--c-ink);border:0;border-radius:28px 28px 0 0;margin:0 auto;padding:0;position:fixed;inset:auto 0 0;overflow-y:auto;box-shadow:0 -8px 50px #1f25441f}.sheet[open]{animation:.18s ease-out slide-up}.sheet::backdrop{background:#1f254466}.sheet__body{padding:10px 24px calc(26px + env(safe-area-inset-bottom,0px));flex-direction:column;gap:18px;display:flex}.sheet__handle{background:#ccc9c8;border-radius:10px;width:36px;height:5px;margin:0 auto 4px}.sheet h2{text-align:left}.sheet .text-button{align-self:center}.mascot{flex-shrink:0;overflow:visible}.mascot--happy .mascot__wave{transform-origin:157px 85px;animation:2s ease-in-out 2 wave}.empty{text-align:center;flex-direction:column;align-items:center;gap:20px;padding-top:40px;display:flex}.share-record{flex-direction:column;gap:14px;display:flex}.share-record__text{background:#fff;border-radius:16px;padding:16px}.share-record__actions{grid-template-columns:1fr 1fr;gap:12px;display:grid}.share-record__actions .button{padding:10px;font-size:15px}.copy-url{border:2px solid var(--c-border);border-radius:12px;width:100%;padding:10px}.share-dialog{color:var(--c-ink)}.share-dialog__close{border:2px solid var(--c-border);background:#fff;border-radius:16px;min-width:72px;min-height:44px;margin-top:16px}@keyframes slide-up{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes wave{0%,to{transform:rotate(0)}25%{transform:rotate(10deg)}75%{transform:rotate(-8deg)}}@keyframes bounce{50%{transform:translateY(-5px)scale(1.025)}}@keyframes shake{25%,75%{transform:translate(-4px)}50%{transform:translate(4px)}}.reduce-motion *,.reduce-motion :before,.reduce-motion :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.reduce-motion .button:active{transform:none}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.button:active{transform:none!important}}@media (min-width:700px){body{background:#f4eee6}.app{background:var(--c-bg);box-shadow:0 0 60px #1f25440f}}h1[tabindex="-1"]:focus{outline:none}h1,h2,.badge,.eyebrow,.path-node__label,.lesson-items{word-break:keep-all;overflow-wrap:anywhere}p{text-wrap:pretty}.topbar__streak--pending svg{color:#85899a}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.readable{word-break:keep-all;overflow-wrap:anywhere;line-break:strict}.readable-nowrap,.readable-tail,.readable-word{white-space:nowrap}h1,h2,p{text-wrap:pretty}.topbar__streak small{font-size:18px}.topbar__goal{gap:5px}.topbar__goal-label{font-size:13px}@media (max-width:380px){.topbar__goal-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}@media (min-width:900px){:is(.app:has(.lesson),.app:has(.item-detail)){max-width:1000px}.app:has(.item-detail) .bottom-tabs{width:min(100%,1000px)}.sign-detail-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:24px;display:grid}.sign-detail-layout>.description{margin-top:4px}.item-detail header{text-align:center}.item-detail .sign-detail-layout .hand-view,.intro-exercise .sign-detail-layout .hand-view{--hand-view-size:280px}.sign-detail-layout>*{min-width:0}.lesson__content .sign-detail-layout{margin-top:12px}.lesson__content .sign-detail-layout>.choices{margin-top:0}.lesson__content .exercise-details>.description{margin-top:4px}}.welcome{min-height:100dvh;padding-top:max(28px, env(safe-area-inset-top,0px));flex-direction:column;align-items:center;gap:20px;display:flex}.welcome__progress{align-items:center;gap:12px;width:100%;display:flex}.welcome__progress>.eyebrow,.welcome__progress>.small{white-space:nowrap}.welcome__progress .progress-bar{height:8px}.welcome__share{flex:none}.welcome__content{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:20px;width:100%;padding:14px 0 28px;display:flex}.welcome__title{letter-spacing:.06em;font-size:48px}.welcome__lead{margin-bottom:18px;line-height:1.9}.welcome__content>.small{font-size:12px}.welcome__mascot{background:#fff0dc;border-radius:50%;padding:10px 16px 0;position:relative}.badge{background:var(--c-primary-soft);color:var(--c-primary);white-space:nowrap;border-radius:8px;padding:4px 9px;font-size:11px}.choice{border:2px solid var(--c-border);text-align:center;overflow-wrap:anywhere;background:#fff;border-radius:16px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:88px;padding:14px;font-weight:700;transition:border-color .12s,background .12s,transform .12s;display:flex;position:relative}.choice:not(:disabled):hover{border-color:#bbc2ef}.choice:active:not(:disabled){transform:scale(.97)}.choice--selected{border-color:var(--c-primary);background:var(--c-primary-soft)}.choice--correct{border-color:var(--c-correct);background:var(--c-correct-soft);animation:.26s ease-out bounce}.choice--wrong{border-color:var(--c-wrong);background:var(--c-wrong-soft)}.choice--row{flex-direction:row;justify-content:flex-start;min-height:88px;padding:14px 18px}.choice--row>.badge{margin-left:auto}.course-option{text-align:left;border-left-width:6px;flex-direction:column;align-items:flex-start;gap:4px;padding-left:24px}.course-option>span{align-items:center;gap:10px;font-size:20px;display:flex}.course-option--kana{border-left-color:var(--c-course-kana)}.course-option--number{border-left-color:var(--c-course-number)}.course-option--word{border-left-color:var(--c-course-word)}.page-heading{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.page-heading h1{font-size:24px}.course--kana{--course-color:var(--c-course-kana);--course-dark:#3a49a8}.course--number{--course-color:var(--c-course-number);--course-dark:#08766f}.course--word{--course-color:var(--c-course-word);--course-dark:#ad3e2f}.course-tabs{grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 24px;display:grid}.course-tab{border:2px solid var(--c-border);background:#fff;border-radius:16px;min-height:48px;padding:8px 4px;font-weight:700}.course-tab[aria-selected=true]{color:var(--course-dark);border-color:var(--course-color);box-shadow:0 3px 0 var(--course-color);background:#fff}.review-card{border:1px solid #d8ddf8;align-items:center;gap:14px;margin-bottom:24px;text-decoration:none;display:flex}.review-card>span{flex-direction:column;flex:1;display:flex}.path-unit{margin-top:24px}.unit-card{background:var(--course-color);color:#fff;border-radius:20px;padding:22px}.unit-card .eyebrow,.unit-card .small{color:#fff}.unit-card h2{margin:4px 0 10px;font-size:22px}.unit-card__progress{background:#ffffff40;border-radius:8px;height:6px;margin-top:12px;overflow:hidden}.unit-card__progress>span{border-radius:inherit;background:#fff;height:100%;display:block}.path-nodes{flex-direction:column;align-items:center;gap:22px;padding:58px 0 12px;display:flex;position:relative}.path-unit:first-of-type .path-nodes:has(>.path-node--done:first-child){padding-top:24px}.path-node{transform:translateX(var(--offset));flex-direction:column;align-items:center;gap:10px;display:flex;position:relative}.lesson-node{background:var(--course-color);color:#fff;width:72px;height:72px;box-shadow:0 6px 0 var(--course-dark), 0 9px 0 5px var(--c-bg);border:0;border-radius:50%;place-items:center;transition:transform .1s;display:grid}.lesson-node:active{transform:translateY(4px)}.lesson-node--current{outline-offset:7px;outline:6px solid #eee9e1;width:88px;height:88px}.lesson-node--done{background:var(--course-dark)}.lesson-node--locked{color:#777d96;box-shadow:0 6px 0 #c9cbd6, 0 9px 0 5px var(--c-bg);background:#e3e5ec}.path-node__label{background:var(--c-bg);color:var(--c-ink-soft);padding:1px 6px;font-size:12px;font-weight:700}.path-node--current:not(:first-child){margin-top:52px}.start-bubble{white-space:nowrap;border:2px solid var(--course-color);color:var(--course-dark);background:#fff;border-radius:12px;padding:5px 14px;font-size:13px;font-weight:700;position:absolute;bottom:calc(100% + 23px)}.start-bubble:after{content:"";border-right:2px solid var(--course-color);border-bottom:2px solid var(--course-color);background:#fff;width:9px;height:9px;position:absolute;bottom:-7px;left:calc(50% - 5px);transform:rotate(45deg)}.path__footer{text-align:center;margin-top:30px}.lesson-items{font-size:26px;font-weight:700}.lesson{flex-direction:column;height:100dvh;min-height:280px;display:flex}.app:has(.lesson){flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}.app:has(.lesson) .notices{flex-shrink:0}.app:has(.lesson) .lesson{flex:1;height:auto;min-height:0}.lesson__header{padding:max(10px, env(safe-area-inset-top,0px)) 20px 10px 12px;flex-shrink:0;align-items:center;gap:14px;display:flex}.lesson__header>.small{white-space:nowrap}.lesson__content{overscroll-behavior:contain;flex:1;min-height:0;padding:12px 24px 24px;overflow-y:auto;outline:none!important}.lesson__footer{padding:16px 24px calc(20px + env(safe-area-inset-bottom,0px));background:var(--c-bg);border-top:1px solid #ede7df;flex-shrink:0}.lesson__footer-inner,.lesson__footer .text-button{width:100%}.hand-view{background:radial-gradient(#f2ebdd,#fff9f0 72%);border-radius:24px;width:100%;min-height:180px;margin:4px auto 18px}.hand-view__fallback{text-align:center;min-height:180px;color:var(--c-ink-soft);justify-content:center;align-items:center;padding:24px;display:flex}.hand-view canvas{touch-action:pan-y;max-width:100%}.sign-label{text-align:center;margin:12px 0 2px;font-size:72px;font-weight:700;line-height:1.25}.sign-label--word{font-size:40px}.reading{text-align:center;color:var(--c-ink-soft);margin-bottom:20px}.description{margin:16px 0}.description h2{margin:0 0 8px;font-size:16px}.description p+h2,.description p+p{margin-top:18px}.choices{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:16px;display:grid}.choice__letter{font-size:40px;line-height:1.2}.choice__number{color:var(--c-ink-soft);font-size:11px;font-weight:500;position:absolute;top:4px;left:10px}.choice__mark{font-size:18px;position:absolute;top:4px;right:10px}.thumbnail{object-fit:contain;border-radius:12px;max-width:100%;display:block}.thumbnail--fallback{max-width:112px;min-height:64px;font-size:11px}.feedback{animation:.18s ease-out slide-up}.feedback--correct{background:var(--c-correct-soft);border-top-color:#b5ded1}.feedback--wrong{background:var(--c-wrong-soft);border-top-color:#ecc0c0}.feedback__title{align-items:center;gap:12px;margin-bottom:14px;display:flex}.feedback__symbol{background:var(--c-correct);color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:36px;height:36px;font-size:24px;display:grid}.feedback--wrong .feedback__symbol{background:var(--c-wrong)}.feedback__title h2{color:var(--c-correct);font-size:22px}.feedback--wrong h2{color:var(--c-wrong)}.feedback__title p{font-size:13px}.feedback__detail{align-items:center;gap:12px;max-height:130px;margin:0 0 14px;font-size:13px;display:flex;overflow-y:auto}.feedback__detail img{flex-shrink:0}.feedback__thumbnails{flex-wrap:wrap;flex-shrink:0;gap:4px;max-width:50%;display:flex}.pairs{grid-template-columns:1fr 1fr;gap:24px;display:grid}.pairs__column{flex-direction:column;gap:12px;display:flex}.pair-choice{min-height:88px;padding:6px}.pair-choice--matched{opacity:1}.pair-status{text-align:center;min-height:44px;padding:12px 0;font-size:13px}.shake{animation:.3s shake}.spell-slots{flex-wrap:wrap;gap:8px;margin:24px 0;display:flex}.spell-slot{min-width:64px;min-height:78px;color:var(--c-ink-soft);background:#fff;border:2px dashed #bbc2df;border-radius:12px;padding:4px}.spell-choices .choice{min-height:112px}.spell-dots{flex-wrap:wrap;justify-content:center;display:flex}.spell-dot{background:0 0;border:0;place-items:center;width:44px;height:44px;padding:0;display:grid}.spell-dot span{background:#c9cbd6;border-radius:50%;width:8px;height:8px}.spell-dot--active span{background:var(--c-primary);width:11px;height:11px}.playback{justify-content:center;gap:14px;display:flex}.playback [aria-pressed=true]{background:var(--c-primary-soft);border-radius:12px}.practice-label{text-align:center;font-size:24px}.result{text-align:center;flex-direction:column;align-items:center;gap:16px;display:flex}.result h1{color:var(--c-primary)}.result-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;margin:12px 0 4px;display:grid}.stat{flex-direction:column;justify-content:center;align-items:center;padding:16px 4px;display:flex}.stat strong{font-size:28px;line-height:1.6}.stat>span{color:var(--c-ink-soft);font-size:12px}.stat svg{color:#b45b1b}.stat:first-child{background:#fff0db}.stat small{font-size:16px}.streak-card{text-align:left;border:1px solid #f5ddc2;align-items:center;gap:18px;width:100%;display:flex}.streak-card svg{color:var(--c-accent);flex-shrink:0}.streak-card strong{font-size:26px}.streak-card p{color:var(--c-ink-soft);font-size:12px}.streak-card--extended svg{animation:.5s ease-out flame-grow;transform:scale(1.15)}@keyframes flame-grow{0%{transform:scale(.65)}to{transform:scale(1.15)}}.goal-card,.achievements{text-align:left;width:100%}.goal-card>div:first-child{justify-content:space-between;gap:8px;margin-bottom:12px;font-size:13px;display:flex}.goal-card p{color:var(--c-correct);margin-top:10px;font-size:13px}.achievements h2{margin-bottom:10px;font-size:16px}.achievements p{align-items:center;gap:10px;font-size:14px;display:flex}.result>.option-stack{margin-top:14px}@media (max-width:380px){.screen,.lesson__content{padding-left:18px;padding-right:18px}.page-heading h1{font-size:21px}.welcome__content{gap:16px}.choice--row{gap:8px;padding:12px}}@media (max-height:500px) and (orientation:landscape){.lesson__header{padding-top:4px;padding-bottom:4px}.lesson__footer{padding-top:8px;padding-bottom:max(10px, env(safe-area-inset-bottom,0px))}.lesson__content .hand-view,.lesson__content .hand-view__fallback{min-height:120px}.feedback__title{margin-bottom:6px}.feedback__detail{max-height:64px;margin-bottom:6px}.feedback__title p{font-size:12px}.welcome__content{justify-content:flex-start}}.lesson__content>h1{margin-bottom:10px;font-size:22px}.lesson__content .choices{gap:8px;margin-top:10px}.lesson__content .choices .choice{min-height:60px;padding:8px 12px}.lesson__content--labelToSign .choices .choice{min-height:118px}.sign-display{position:relative}.lesson__content .sign-display .hand-view{margin-bottom:6px}.sign-info{color:var(--c-primary);background:#fff;border-radius:50%;font-weight:700;position:absolute;top:0;right:0}.sign-notice{margin:0 0 8px;padding-right:4px;line-height:1.5}.lesson__content--readFingerspelling .hand-view{margin-bottom:4px}.lesson__content--readFingerspelling .spell-dots{max-height:88px;overflow-y:auto}.lesson__content--readFingerspelling .playback{margin:0}.lesson__content .pairs{gap:14px;margin-top:10px}.lesson__content .pairs__column{gap:8px}.lesson__content .pair-choice{height:88px;min-height:88px;padding:3px}.pair-choice--flash{border-color:var(--c-correct);background:var(--c-correct-soft)}.retry-badge{margin-bottom:4px;display:inline-block}.feedback__detail--comparison{max-height:235px;display:block}.feedback__comparison+.feedback__comparison{border-top:1px solid #ecc0c0;margin-top:6px;padding-top:6px}.feedback__items{flex-direction:column;gap:4px;display:flex}.feedback__item{align-items:center;gap:10px;display:flex}.feedback__item figure{text-align:center;flex:0 0 56px;margin:0}.feedback__item figcaption{font-weight:700}.feedback__item p{font-size:12px}.streak-prompt{margin:12px 0;font-weight:700}.result{padding-bottom:118px}.result__continue{z-index:21;width:min(100%,560px);left:50%;bottom:calc(64px + env(safe-area-inset-bottom,0px));background:var(--c-bg);border-top:1px solid var(--c-border);padding:12px 24px 16px;position:fixed;transform:translate(-50%)}@media (max-width:600px) and (min-height:650px){.lesson__content--signToLabel .hand-view__stage,.lesson__content--wordMeaning .hand-view__stage{--hand-view-size:240px}.lesson__content--readFingerspelling .hand-view__stage{--hand-view-size:210px}}.sheet .text-button.danger-button{box-shadow:none;background:0 0;border:0}.thumbnail{aspect-ratio:1;flex:none;justify-content:center;align-items:center;max-width:100%;display:inline-flex;overflow:hidden}.thumbnail>img{object-fit:contain;width:100%;height:100%;display:block}.thumbnail--fallback{max-width:100%;min-height:0}.thumbnail__placeholder{color:#d5d8e9;background:#f6f5f9;border-radius:12px;place-items:center;width:100%;height:100%;display:grid}.choice{overflow-wrap:normal;word-break:keep-all;text-wrap:pretty;border-width:3px}.choice.choice--selected,.choice.choice--selected:hover{background:var(--c-primary-soft);border:3px solid #4c5fd5}.choice__selected-mark{color:#fff;background:#4c5fd5;border-radius:50%;place-items:center;width:24px;height:24px;font-size:16px;line-height:1;display:grid;position:absolute;top:5px;right:5px}.choice:focus-visible{outline-offset:4px;outline:3px dashed #1f2544}.choice__number{font-size:13px}.welcome .choice .badge{color:var(--c-primary);background:var(--c-primary-soft)}.welcome .course-option{border:3px solid var(--c-border);border-left:6px solid var(--course-color)}.welcome .course-option--kana{--course-color:var(--c-course-kana)}.welcome .course-option--number{--course-color:var(--c-course-number)}.welcome .course-option--word{--course-color:var(--c-course-word)}.lesson__content--labelToSign .choices .choice{height:170px;padding:12px 0}.lesson__content--labelToSign .thumbnail{width:140px;height:140px}.lesson__content--labelToSign .sign-label{flex-wrap:wrap;place-content:center;height:90px;min-height:90px;display:flex}.lesson__content--labelToSign .sign-label--word{font-size:28px}.lesson__content--signToLabel .choices .choice,.lesson__content--wordMeaning .choices .choice,.lesson__content--readFingerspelling .choices .choice{height:76px}.lesson__content--wordMeaning>h1,.lesson__content--signToLabel>h1{align-items:center;min-height:66px;display:flex}.choice__word{font-size:18px}.sign-notice{z-index:3;border:1px solid var(--c-border);background:#fff;border-radius:14px;width:min(280px,100%);padding:12px;position:absolute;top:44px;right:0;box-shadow:0 4px 16px #1f25441f}.sign-display .hand-view__controls,.spell-player .hand-view__controls,.lesson__content--readFingerspelling .hand-view__controls{flex-direction:column;align-items:center;width:100%}.sign-display .hand-view__actions,.spell-player .hand-view__actions,.lesson__content--readFingerspelling .hand-view__actions{justify-content:center;width:100%;position:relative}.sign-display .hand-view__actions>:last-child,.spell-player .hand-view__actions>:last-child,.lesson__content--readFingerspelling .hand-view__actions>:last-child{position:absolute;bottom:calc(100% + 74px);right:0}.playback{flex-wrap:wrap;align-items:center;gap:8px;width:100%}.playback>button,.spell-player .playback>button{border:2px solid var(--c-primary);min-height:44px;color:var(--c-primary);width:auto;box-shadow:none;background:#fff;border-radius:999px;padding:0 16px;font-size:15px;line-height:1.5}.playback>button[aria-pressed=true]{background:var(--c-primary-soft);border-radius:999px}.lesson__retry{height:28px}.feedback__announcement:empty{display:none}.lesson__footer-inner{flex-direction:column;gap:12px;min-height:0;display:flex}.lesson__footer .text-button{border-radius:28px}.intro-exercise>.eyebrow{margin-bottom:4px}.intro-exercise .sign-label{margin-top:0;font-size:56px}.intro-exercise .sign-label--word{font-size:32px}.intro-exercise .reading{margin-bottom:4px}.intro-exercise .hand-view__stage{--hand-view-size:220px}.intro-exercise .hand-view{gap:6px;margin:0 auto 4px}.intro-exercise .description{margin-top:8px}.spell-slots{justify-content:center}.spell-slot{place-items:center;width:104px;min-width:104px;min-height:108px;display:grid}.spell-slot:disabled{opacity:1}.spell-slot--filled{background:var(--c-primary-soft);border:3px solid #4c5fd5;position:relative}.choice--used{opacity:.45}.pair-choice--flash{visibility:visible}.lesson__footer.feedback{flex-direction:column;max-height:52dvh;display:flex}.feedback .lesson__footer-inner{flex:1}.feedback__announcement{flex-direction:column;min-height:0;display:flex}.feedback__title{flex-shrink:0;margin-bottom:8px}.feedback__retry{flex-shrink:0;margin-bottom:8px;font-size:12px}.feedback__detail--comparison{overscroll-behavior:contain;flex-shrink:1;min-height:0;max-height:235px;margin-bottom:0;padding:4px;overflow-y:auto}.feedback .lesson__footer-inner>.button{flex-shrink:0}.feedback__item{align-items:flex-start}.feedback__item figure{flex:none;min-width:56px;max-width:45%}.feedback__item figcaption{word-break:keep-all;overflow-wrap:normal}.feedback__item p{text-wrap:pretty;flex:1;min-width:0}.feedback__enlarge{background:#fff;border:1px solid #dda5a5;border-radius:12px;margin-inline:auto;padding:0;display:block}.feedback__difference{background:#ffffffa6;border-radius:10px;margin-top:8px;padding:8px}.path{padding-bottom:32px}.app:has(.path)>.topbar{z-index:12;position:sticky;top:0}.path__heading{z-index:11;background:var(--c-bg);padding-top:8px;padding-bottom:8px;position:sticky;top:72px}.path__heading .course-tabs{margin-bottom:12px}.path__heading .streak-prompt{margin-bottom:0}.path-node__label{font-size:14px}.course-tab--kana{--tab-color:#4c5fd5;--tab-dark:#3a49a8}.course-tab--number{--tab-color:#13a39a;--tab-dark:#08766f}.course-tab--word{--tab-color:#e8604c;--tab-dark:#ad3e2f}.course-tab{border-top-color:var(--tab-color)}.course-tab[aria-selected=true],.course-tab[aria-pressed=true]{color:var(--tab-dark);border-color:var(--tab-color);box-shadow:0 3px 0 var(--tab-color)}@media (max-height:600px){.lesson__footer.feedback{max-height:60dvh;padding-top:8px;padding-bottom:10px}.feedback__title p,.path__heading .page-heading{display:none}}.choice.choice--correct,.choice.choice--correct:hover,.spell-slot.choice--correct,.correct-answer-card{border:3px solid var(--c-correct);background:var(--c-correct-soft)}.choice--correct .choice__mark,.choice--correct .choice__selected-mark,.correct-answer-card .choice__mark{background:var(--c-correct);color:#fff;border-radius:50%;place-items:center;width:24px;height:24px;font-size:16px;line-height:1;display:grid;top:5px;right:5px}.choice.choice--wrong,.choice.choice--wrong:hover{border-color:var(--c-wrong);background:var(--c-wrong-soft)}.hand-icon--left{display:inline-flex;transform:scaleX(-1)}.lesson__footer,.result__continue{--footer-bg:var(--c-bg);position:relative}.result__continue{position:fixed}.feedback--correct{--footer-bg:var(--c-correct-soft)}.feedback--wrong{--footer-bg:var(--c-wrong-soft)}.lesson__footer:before,.result__continue:before{content:"";pointer-events:none;background:linear-gradient(to bottom, transparent, var(--footer-bg));height:24px;position:absolute;inset:-25px 0 auto}.feedback__announcement{flex:auto;overflow:hidden}.feedback__detail--comparison{flex:auto;box-shadow:inset 0 -12px 12px -12px #1f254473}.feedback__item figure{align-items:center;gap:8px;max-width:48%;display:flex}.feedback__enlarge{flex-shrink:0;position:relative}@media (min-width:900px){.lesson__footer-inner{max-width:952px;margin-inline:auto}.lesson__content--signToLabel .hand-view__stage,.lesson__content--wordMeaning .hand-view__stage,.lesson__content--tryIt .hand-view__stage{--hand-view-size:280px}}
