.site-shell .gacha-screen{display:grid;gap:var(--sp-6)}.site-shell .gacha-head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3)}.site-shell .gacha-head h1{margin:0;font-size:var(--fs-title);font-weight:var(--fw-heavy)}.site-shell .gacha-coins{padding:4px 16px;border-radius:var(--r-pill);background:var(--sun-50);box-shadow:inset 0 0 0 2px var(--sun-200);font-size:22px;font-weight:var(--fw-heavy);color:var(--sun-750);white-space:nowrap}.site-shell .gacha-main{display:grid;gap:var(--sp-4)}@media(min-width:760px){.site-shell .gacha-main{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start}}.site-shell .gacha-machine,.site-shell .gacha-result{padding:var(--sp-5);border-radius:var(--r-xl);background:var(--surface);box-shadow:var(--shadow-1);text-align:center}.site-shell .gacha-machine svg{display:block;width:min(200px,60vw);height:auto;margin:0 auto}.site-shell .gacha-machine .is-shaking svg{animation:gacha-shake .5s ease-in-out 2}@keyframes gacha-shake{0%,to{transform:rotate(0)}25%{transform:rotate(-6deg)}75%{transform:rotate(6deg)}}.site-shell .gacha-pull{margin-top:var(--sp-3);min-width:220px}.site-shell .gacha-pull small{font-size:15px;font-weight:var(--fw-strong)}.site-shell .gacha-hint{display:flex;align-items:center;justify-content:center;gap:var(--sp-2);margin:var(--sp-3) 0 0;font-size:15px;line-height:1.5;color:var(--ink-2);text-align:left}.site-shell .gacha-piko{flex:none;width:44px;height:44px}.site-shell .gacha-piko .piko-logo{width:100%;height:100%}.site-shell .gacha-odds{margin:var(--sp-3) 0 0;font-size:13px;color:var(--ink-2)}.site-shell .gacha-result{display:grid;place-items:center;min-height:300px;border:3px dashed var(--line);box-shadow:none}.site-shell .gacha-result.rarity-2{border:3px solid var(--blue-200);background:var(--blue-50)}.site-shell .gacha-result.rarity-3{border:3px solid var(--violet-200);background:var(--violet-50)}.site-shell .gacha-empty{margin:0;color:var(--ink-2)}.site-shell .gacha-pop{animation:gacha-pop .45s var(--ease-spring) both}@keyframes gacha-pop{0%{opacity:0;transform:scale(.3)}to{opacity:1;transform:none}}.site-shell .char-art{display:block}.site-shell .char-art svg{display:block;width:100%;height:100%}.site-shell .gacha-pop .char-art{width:160px;height:160px;margin:0 auto}.site-shell .gacha-stars{margin:var(--sp-1) 0 0;color:var(--sun-700);font-weight:var(--fw-strong);letter-spacing:1px}.site-shell .gacha-char-name{margin:2px 0 0;font-size:22px;font-weight:var(--fw-heavy)}.site-shell .gacha-ok{margin:var(--sp-2) 0 0;font-size:18px;font-weight:var(--fw-heavy);color:var(--green-700)}.site-shell .gacha-flavor,.site-shell .gacha-name p{margin:var(--sp-2) 0 0;font-size:14px;color:var(--ink-2)}.site-shell .gacha-name .gacha-name-en{margin:2px 0 var(--sp-2);font-family:var(--font-en);font-size:24px;font-weight:var(--fw-heavy);color:var(--blue-700);letter-spacing:1px}.site-shell .gacha-name .gacha-name-jp{margin-left:var(--sp-2);font-family:inherit;font-size:16px;font-weight:var(--fw-strong);letter-spacing:0;color:var(--ink-2)}.site-shell .gacha-name input{width:min(100%,280px);padding:8px 12px;border:3px solid var(--line-strong);border-radius:var(--r-md);background:var(--surface);font-family:var(--font-en);font-size:24px;font-weight:var(--fw-heavy);text-align:center;letter-spacing:2px;color:var(--ink)}.site-shell .gacha-book h2{margin:0 0 var(--sp-3);font-size:var(--fs-heading)}.site-shell .gacha-book h2 small{font-size:16px;color:var(--ink-2)}.site-shell .gacha-book ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:var(--sp-2);margin:0;padding:0;list-style:none}.site-shell .gacha-slot{min-width:0}.site-shell .gacha-slot>button,.site-shell .gacha-slot.is-unknown{display:grid;justify-items:center;gap:2px;width:100%;min-height:120px;padding:8px 4px;border:2px solid var(--line);border-radius:var(--r-lg);background:var(--surface);font:inherit;font-size:13px;font-weight:var(--fw-strong);color:var(--ink);text-align:center;overflow-wrap:anywhere;cursor:pointer}.site-shell .gacha-slot.rarity-2>button{border-color:var(--blue-200)}.site-shell .gacha-slot.rarity-3>button{border-color:var(--violet-200);background:var(--violet-50)}.site-shell .gacha-slot .char-art{width:72px;height:72px}.site-shell .gacha-slot.is-unknown{cursor:default;color:var(--ink-3)}.site-shell .gacha-slot.is-unknown .char-art{filter:brightness(0) opacity(.12)}.site-shell .gacha-slot.is-waiting .char-art{opacity:.55}.site-shell .gacha-slot.is-waiting span{color:var(--blue-700)}.site-shell .gacha-slot small{color:var(--rose-600)}.site-shell .gacha-words{display:flex;align-items:center;gap:var(--sp-3);width:100%;min-height:56px;padding:var(--sp-2) var(--sp-4);border:2px solid var(--blue-200);border-radius:var(--r-lg);background:var(--surface);box-shadow:0 3px 0 var(--blue-200);font:inherit;color:var(--ink);text-align:left;cursor:pointer;touch-action:manipulation}.site-shell .gacha-words:active{transform:translateY(2px);box-shadow:0 1px 0 var(--blue-200)}.site-shell .gacha-words:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.site-shell .gacha-words-label{flex:1;font-size:18px;font-weight:var(--fw-heavy)}.site-shell .gacha-words-count{font-size:15px;color:var(--ink-2);white-space:nowrap}.site-shell .gacha-words-count strong{font-size:22px;font-weight:var(--fw-heavy);color:var(--blue-700)}.site-shell .gacha-words-go{font-size:24px;font-weight:var(--fw-heavy);color:var(--blue-700)}.site-shell .gacha-note{margin:0;font-size:13px;color:var(--ink-2)}.site-shell .gacha-home{justify-self:center}@media(prefers-reduced-motion:reduce){.site-shell :is(.gacha-pop,.gacha-machine .is-shaking svg){animation:none!important}}.site-shell .pet-gacha-row{display:flex;align-items:center;gap:var(--sp-3);min-width:0}.site-shell .pet-gacha-row .pet-coins{flex:1}.site-shell .pet-gacha{flex:none;min-height:36px;padding:2px 18px;border:2px solid var(--sun-300);border-radius:var(--r-pill);background:var(--surface);box-shadow:0 3px 0 var(--sun-300);font:inherit;font-size:15px;font-weight:var(--fw-heavy);color:var(--sun-750);cursor:pointer;touch-action:manipulation}.site-shell .pet-gacha:active{transform:translateY(2px);box-shadow:0 1px 0 var(--sun-300)}.site-shell .pet-gacha.is-ready{border-color:var(--sun-600);background:var(--sun-400);box-shadow:0 3px 0 var(--sun-600);color:var(--ink)}.site-shell .pet-gacha:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.site-shell .pet-coin-rule{margin:var(--sp-2) 0 0;font-size:14px;color:var(--ink-2)}.site-shell .pet-face .piko-logo{width:88%;height:88%;overflow:visible}.site-shell .coin-icon{display:inline-block;width:1.1em;height:1.1em;vertical-align:-.2em}.site-shell .gacha-coins{display:inline-flex;align-items:center;gap:6px}.site-shell .parent-page{max-width:880px;margin:0 auto;padding-bottom:40px;font-size:16px;font-weight:var(--fw-body);line-height:var(--lh-parent);color:var(--ink)}.site-shell .parent-page :is(h1,h2,h3,h4,dt,summary,label,button,.adult-button,.gate-lead,.week-line){word-break:auto-phrase}.site-shell .parent-page :is(h1,h2,h3,h4){margin:0;font-weight:var(--fw-strong);line-height:var(--lh-heading);letter-spacing:.01em;color:var(--ink)}.site-shell .parent-page p{margin:0}.site-shell .parent-page a{color:var(--blue-700);text-underline-offset:3px}.site-shell .parent-page :is(h2,h3)[tabindex="-1"]:focus{outline:none}.site-shell .parent-page .parent-icon-svg{flex:none;width:20px;height:20px}.site-shell .parent-page .back-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin:12px 0 4px;padding:0 10px 0 2px;border:0;border-radius:var(--r-sm);background:none;color:var(--ink-2);font-size:16px;font-weight:var(--fw-strong)}@media(hover:hover){.site-shell .parent-page .back-link:hover{background:var(--sunken);color:var(--ink)}}.site-shell .parent-page .parent-head{display:grid;gap:6px;margin:8px 0 20px}.site-shell .parent-page .parent-head h1{font-size:var(--fs-title)}.site-shell .parent-page .parent-who{font-size:17px;color:var(--ink-2)}.site-shell .parent-page .parent-note{font-size:14px;line-height:1.7;color:var(--ink-3)}.site-shell .parent-page .adult-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;margin:0;padding:10px 18px;border:1px solid transparent;border-radius:var(--r-md);background:var(--surface);box-shadow:none;color:var(--ink);font:inherit;font-size:16px;font-weight:var(--fw-strong);line-height:1.35;text-align:center;text-decoration:none;cursor:pointer;touch-action:manipulation;transition:background-color var(--dur-2),border-color var(--dur-2),color var(--dur-2)}.site-shell .parent-page .adult-button.is-primary{background:var(--blue-600);color:#fff}.site-shell .parent-page .adult-button.is-secondary{border-color:var(--control-edge);color:var(--ink)}.site-shell .parent-page .adult-button.is-danger{border-color:var(--rose-500);color:var(--rose-700)}.site-shell .parent-page .adult-button.is-danger-fill{background:var(--rose-600);color:#fff}.site-shell .parent-page .adult-button.is-quiet-danger{min-height:44px;padding:6px 12px;color:var(--rose-700);font-size:15px}.site-shell .parent-page .adult-button.is-text{min-height:44px;padding:6px 8px;color:var(--blue-700);text-decoration:underline;text-underline-offset:4px}.site-shell .parent-page .adult-button:disabled{border-color:var(--line);background:var(--sunken);color:var(--ink-3);opacity:1;cursor:not-allowed}@media(hover:hover){.site-shell .parent-page .adult-button.is-primary:not(:disabled):hover{background:var(--blue-650)}.site-shell .parent-page .adult-button:is(.is-secondary,.is-text):not(:disabled):hover{background:var(--sunken)}.site-shell .parent-page .adult-button:is(.is-danger,.is-quiet-danger):hover{background:var(--rose-50)}.site-shell .parent-page .adult-button.is-danger-fill:hover{background:var(--rose-700)}}.site-shell .parent-page .report-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px}.site-shell .parent-page :is(input:not([type=file]),select,textarea){min-height:48px;padding:10px 12px;border:1px solid var(--control-edge);border-radius:var(--r-md);background:var(--surface);color:var(--ink);font:inherit;font-size:16px;font-weight:var(--fw-body);line-height:1.5;transition:border-color var(--dur-2)}.site-shell .parent-page select{padding:6px 8px;font-size:22px;line-height:1.2;cursor:pointer}.site-shell .parent-page textarea{display:block;width:100%;resize:vertical}.site-shell .parent-page :is(input,select,textarea):focus{border-color:var(--blue-600)}.site-shell .parent-page :is(input,textarea)::placeholder{color:var(--ink-3);opacity:1}.site-shell .parent-page .form-error{margin-top:10px;font-size:15px;line-height:1.7;color:var(--rose-600);white-space:pre-line}.site-shell .parent-page .backup-ok{display:flex;align-items:center;gap:6px;margin-top:10px;font-size:15px;font-weight:var(--fw-strong);line-height:1.7;color:var(--green-700)}.site-shell .parent-page .parent-gate{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:480px;margin:8px auto 32px;padding:28px 28px 20px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);text-align:center}.site-shell .parent-page .gate-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:var(--r-round);background:var(--blue-50);color:var(--blue-700)}.site-shell .parent-page .gate-icon .parent-icon-svg{width:28px;height:28px}.site-shell .parent-page .parent-gate h1{margin-top:4px;font-size:24px}.site-shell .parent-page .gate-lead{max-width:25em;color:var(--ink-2)}.site-shell .parent-page .gate-form{display:grid;gap:10px;width:100%;max-width:320px;margin-top:8px}.site-shell .parent-page .gate-question{font-family:var(--font-en);font-size:32px;font-weight:var(--fw-heavy);line-height:1.3;color:var(--ink);font-variant-numeric:tabular-nums}.site-shell .parent-page .gate-form input{width:100%;min-height:56px;font-family:var(--font-en);font-size:24px;font-weight:var(--fw-strong);text-align:center}.site-shell .parent-page .gate-form input::placeholder{font-family:var(--font-ui);font-size:17px;font-weight:var(--fw-body)}.site-shell .parent-page .gate-form .adult-button{width:100%;min-height:52px;font-size:17px}.site-shell .parent-page .parent-gate .form-error{margin:0}.site-shell .parent-page .parent-gate .gate-ios-note{display:flex;gap:10px;width:100%;margin-top:8px;padding:12px 14px;border:1px solid var(--sun-200);border-radius:var(--r-md);background:var(--sun-50);font-size:15px;line-height:1.7;color:var(--sun-700);text-align:left}.site-shell .parent-page .parent-gate .gate-ios-note .parent-icon-svg{margin-top:3px}.site-shell .parent-page .gate-note{margin-top:8px;padding-top:14px;border-top:1px solid var(--line);font-size:14px;line-height:1.7;color:var(--ink-3);text-align:left}.site-shell .parent-page .backup-reminder{display:flex;gap:14px;margin:0 0 12px;padding:16px 18px;border:1px solid var(--sun-200);border-radius:var(--r-lg);background:var(--sun-50)}.site-shell .parent-page .notice-icon{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:var(--r-round);background:var(--surface);color:var(--sun-700)}.site-shell .parent-page .notice-body{display:grid;gap:6px;justify-items:start;min-width:0}.site-shell .parent-page .notice-body h2{font-size:17px;color:var(--sun-700)}.site-shell .parent-page .notice-body p{font-size:15px;line-height:1.75;color:var(--ink-2)}.site-shell .parent-page .notice-body .adult-button{margin-top:6px}.site-shell .parent-page .parent-toc{margin:4px 0 16px}.site-shell .parent-page .parent-toc ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.site-shell .parent-page .parent-toc a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--line-strong);border-radius:var(--r-pill);background:var(--surface);color:var(--ink-2);font-size:15px;font-weight:var(--fw-strong);line-height:1.2;text-decoration:none;white-space:nowrap}@media(hover:hover){.site-shell .parent-page .parent-toc a:hover{border-color:var(--control-edge);color:var(--ink)}}@media(max-width:600px){.site-shell .parent-page .parent-toc ul{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:2px 16px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.site-shell .parent-page .parent-toc ul::-webkit-scrollbar{display:none}}@media(max-width:360px){.site-shell .parent-page .parent-toc ul{margin:0 -12px;padding:2px 12px 6px}}.site-shell .parent-page .report-card{margin-top:16px;padding:22px 24px 24px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);scroll-margin-top:16px}.site-shell .parent-page .report-card:not(.report-week){content-visibility:auto;contain-intrinsic-size:auto 520px}.site-shell .parent-page .report-card>h2{display:flex;align-items:center;gap:12px;font-size:var(--fs-heading)}.site-shell .parent-page .section-icon{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:var(--r-sm);background:var(--sunken);color:var(--ink-2)}.site-shell .parent-page .report-card h3{margin-top:24px;font-size:17px}.site-shell .parent-page .report-card h4{margin:4px 0 8px;font-size:15px;color:var(--ink-2)}.site-shell .parent-page .section-lead{margin-top:10px;color:var(--ink-2)}.site-shell .parent-page .section-note{margin-top:10px;font-size:14px;line-height:1.7;color:var(--ink-3)}.site-shell .parent-page :is(.weak-empty){margin-top:12px;color:var(--ink-2)}@media(max-width:900px){.site-shell .parent-page .report-card{scroll-margin-top:72px}}@media(max-width:480px){.site-shell .parent-page .report-card{padding:18px 16px 20px}}.site-shell .parent-page .parent-more{margin-top:16px;border-top:1px solid var(--line)}.site-shell .parent-page .parent-more>summary,.site-shell .parent-page .parent-level>summary{display:flex;align-items:center;gap:4px 12px;flex-wrap:wrap;min-height:48px;padding:8px 0;color:var(--blue-700);font-weight:var(--fw-strong);cursor:pointer;list-style:none}.site-shell .parent-page :is(.parent-more,.parent-level)>summary::-webkit-details-marker{display:none}.site-shell .parent-page :is(.parent-more,.parent-level)>summary:after{content:"";flex:none;width:9px;height:9px;margin:-4px 4px 0 auto;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);transition:transform var(--dur-2)}.site-shell .parent-page :is(.parent-more,.parent-level)[open]>summary:after{margin-top:4px;transform:rotate(-135deg)}.site-shell .parent-page .parent-more>summary{padding-bottom:8px}.site-shell .parent-page .parent-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 0}.site-shell .parent-page .parent-stats>div{display:flex;flex-direction:column;justify-content:space-between;gap:4px;min-width:0;padding:12px 14px;border-radius:var(--r-md);background:var(--paper)}.site-shell .parent-page .parent-stats dt{font-size:14px;font-weight:var(--fw-strong);line-height:1.5;color:var(--ink-2)}.site-shell .parent-page .parent-stats dd{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px;margin:0}.site-shell .parent-page .stat-number{font-family:var(--font-en);font-size:var(--fs-number);font-weight:var(--fw-heavy);line-height:1.1;color:var(--ink);font-variant-numeric:tabular-nums}.site-shell .parent-page .stat-unit{font-size:15px;font-weight:var(--fw-strong);color:var(--ink-2);font-variant-numeric:tabular-nums}@media(max-width:640px){.site-shell .parent-page .parent-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}.site-shell .parent-page .report-bar{height:8px;margin-top:8px;border-radius:var(--r-pill);background:var(--track);overflow:hidden}.site-shell .parent-page .report-bar div{height:100%;border-radius:var(--r-pill);background:var(--green-500);transition:width var(--dur-4) var(--ease-out)}.site-shell .parent-page .word-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.site-shell .parent-page .word-chips>span{padding:4px 12px;border-radius:var(--r-pill);background:var(--sunken);color:var(--ink);font-size:15px;line-height:1.6}.site-shell .parent-page .week-line{margin-top:12px;font-size:17px;font-weight:var(--fw-strong);line-height:1.7;color:var(--ink)}.site-shell .parent-page .week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;max-width:420px;margin:16px 0 0;padding:0;list-style:none}.site-shell .parent-page .week-days li{display:flex;flex-direction:column;align-items:center;gap:4px}.site-shell .parent-page .week-days li>span{display:grid;place-items:center;width:36px;height:36px;border:1.5px dashed var(--line-strong);border-radius:var(--r-round);background:var(--surface);color:#fff}.site-shell .parent-page .week-days li.is-done>span{border:0;background:var(--green-600)}.site-shell .parent-page .week-days li.is-today>span{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--blue-600)}.site-shell .parent-page .week-days .parent-icon-svg{width:20px;height:20px;stroke-width:2.4}.site-shell .parent-page .week-days small{font-size:14px;font-weight:var(--fw-strong);color:var(--ink-2)}.site-shell .parent-page .week-days li.is-today small{color:var(--blue-700)}.site-shell .parent-page .week-words h3{margin-top:18px;font-size:15px;color:var(--ink-2)}.site-shell .parent-page .week-note{margin-top:14px;font-size:15px;line-height:1.75;color:var(--ink-2)}.site-shell .parent-page .week-note a{font-weight:var(--fw-strong);white-space:nowrap}.site-shell .parent-page .status-rows{display:grid;gap:14px;margin-top:18px}.site-shell .parent-page .status-row p{display:flex;flex-wrap:wrap;justify-content:space-between;gap:0 12px;font-size:15px;line-height:1.6;color:var(--ink-2)}.site-shell .parent-page .status-row p span:first-child{font-weight:var(--fw-strong);color:var(--ink)}.site-shell .parent-page .report-levels{margin-top:8px}.site-shell .parent-page .parent-level{margin-top:10px;padding:0 16px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface)}.site-shell .parent-page .parent-level>summary{color:var(--ink)}.site-shell .parent-page .parent-level-title{font-size:16px;font-weight:var(--fw-strong);color:var(--ink)}.site-shell .parent-page .parent-level-count{font-size:14px;font-weight:var(--fw-body);color:var(--ink-2);font-variant-numeric:tabular-nums}.site-shell .parent-page .parent-level-group{padding:4px 0 16px}.site-shell .parent-page .parent-genres{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;margin:0;padding:0;list-style:none}.site-shell .parent-page .parent-genres li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 10px;padding:10px 12px;border-radius:var(--r-sm);background:var(--paper);line-height:1.5}.site-shell .parent-page .parent-genres li.is-complete{background:var(--green-50)}.site-shell .parent-page .parent-genre-name{min-width:0;overflow-wrap:anywhere;font-size:15px;font-weight:var(--fw-strong);color:var(--ink)}.site-shell .parent-page .parent-genre-count{font-family:var(--font-en);font-size:15px;font-weight:var(--fw-strong);color:var(--ink-2);font-variant-numeric:tabular-nums;white-space:nowrap}.site-shell .parent-page .parent-genres .report-bar{grid-column:1 / -1;height:6px;margin-top:4px}@media(max-width:480px){.site-shell .parent-page .parent-genres{gap:6px}.site-shell .parent-page .parent-genres li{padding:8px 12px}}.site-shell .parent-page .parent-genre-ear{grid-column:1 / -1;justify-self:start;margin-top:4px;padding:0 8px;border-radius:var(--r-pill);background:var(--violet-50);color:var(--violet-700);font-size:14px;font-weight:var(--fw-strong)}.site-shell .parent-page .weak-list{display:grid;gap:6px;margin:14px 0 0;padding:0;list-style:none}.site-shell .parent-page .weak-list li{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 12px;padding:10px 14px;border-radius:var(--r-sm);background:var(--paper)}.site-shell .parent-page .weak-word{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}.site-shell .parent-page .weak-word strong{font-family:var(--font-en);font-size:18px;font-weight:var(--fw-strong);color:var(--ink)}.site-shell .parent-page .weak-word small{font-size:15px;color:var(--ink-2)}.site-shell .parent-page .weak-count{font-size:14px;color:var(--ink-3);font-variant-numeric:tabular-nums}.site-shell .parent-page .own-word-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-top:16px}.site-shell .parent-page .own-word-form label{display:grid;gap:4px;flex:1 1 220px;font-size:15px;font-weight:var(--fw-strong);color:var(--ink-2)}.site-shell .parent-page .own-word-form input{width:100%}.site-shell .parent-page .voice-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin-top:16px}.site-shell .parent-page .voice-row label{font-size:15px;font-weight:var(--fw-strong);color:var(--ink-2)}.site-shell .parent-page .voice-row select{flex:1 1 240px;min-width:0;max-width:100%;min-height:48px;font-size:16px}.site-shell .parent-page .own-word-bulk p{margin:4px 0 10px;font-size:15px;line-height:1.7;color:var(--ink-2)}.site-shell .parent-page .own-word-bulk textarea{min-height:120px;margin-bottom:12px}.site-shell .parent-page .own-word-bulk[open]{padding-bottom:4px}.site-shell .parent-page .own-word-message{display:grid;gap:4px;margin-top:12px}.site-shell .parent-page .own-word-message p{margin:0}.site-shell .parent-page .own-word-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px;margin:10px 0 0;padding:0;list-style:none}.site-shell .parent-page .own-word-list li{display:flex;align-items:center;gap:8px;padding:4px 4px 4px 14px;border:1px solid var(--line);border-radius:var(--r-md)}.site-shell .parent-page .own-word-text{display:flex;flex:1;flex-direction:column;min-width:0;line-height:1.45}.site-shell .parent-page .own-word-text strong{overflow-wrap:anywhere;font-family:var(--font-en);font-size:17px;font-weight:var(--fw-strong);color:var(--ink)}.site-shell .parent-page .own-word-text small{font-size:14px;color:var(--ink-2)}.site-shell .parent-page .own-word-passed{flex:none;padding:0 10px;border-radius:var(--r-pill);background:var(--green-50);color:var(--green-700);font-size:14px;font-weight:var(--fw-strong)}.site-shell .parent-page .profile-list{display:grid;gap:8px;margin:14px 0 0;padding:0;list-style:none}.site-shell .parent-page :is(.profile-list li,.profile-add){display:flex;flex-wrap:wrap;align-items:center;gap:8px}.site-shell .parent-page .profile-add{margin-top:10px}.site-shell .parent-page .report-profiles h3{margin-top:20px;font-size:15px;color:var(--ink-2)}.site-shell .parent-page :is(.profile-list,.profile-add) input{flex:1 1 160px;min-width:0}.site-shell .parent-page .profile-current{padding:2px 10px;border-radius:var(--r-pill);background:var(--blue-50);color:var(--blue-700);font-size:14px;font-weight:var(--fw-strong)}.site-shell .parent-page .backup-when{margin-top:12px;font-weight:var(--fw-strong);color:var(--ink)}.site-shell .parent-page :is(.backup-code,.backup-input){min-height:88px;margin-top:12px;font:14px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;word-break:break-all}.site-shell .parent-page .backup-import{margin-top:24px;padding-top:4px;border-top:1px solid var(--line)}.site-shell .parent-page .backup-import h3{margin-top:18px}.site-shell .parent-page .backup-import .report-actions{margin-top:12px}.site-shell .parent-page .file-button{cursor:pointer}.site-shell .parent-page .file-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.site-shell .parent-page .file-button:focus-within{outline:3px solid var(--focus);outline-offset:3px}.site-shell .parent-page .install-steps{display:grid;gap:4px;margin-top:16px}.site-shell .parent-page .install-option{padding:14px 16px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface)}.site-shell .parent-page .install-option.is-this-device{border-color:var(--blue-200);background:var(--blue-50)}.site-shell .parent-page .install-option h3{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:16px}.site-shell .parent-page .install-this{padding:0 10px;border-radius:var(--r-pill);background:var(--blue-600);color:#fff;font-size:14px;font-weight:var(--fw-strong);line-height:1.7}.site-shell .parent-page .install-option ol{margin:8px 0 0;padding-left:1.4em}.site-shell .parent-page .install-option li{margin:2px 0;font-size:15px;line-height:1.7;color:var(--ink-2)}.site-shell .parent-page .install-note{margin-top:10px;font-size:14px;line-height:1.7;color:var(--ink-2)}.site-shell .parent-page .install-others-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;padding-bottom:4px}.site-shell .parent-page .account-mail{overflow-wrap:anywhere}.site-shell .parent-page a.adult-button{text-decoration:none}.site-shell .parent-page .account-ask{margin-top:16px;padding:16px;border:1px solid var(--line-strong);border-radius:var(--r-md);background:var(--paper)}.site-shell .parent-page .account-ask h3{margin:0}.site-shell .parent-page .danger-zone{margin-top:24px;padding-top:4px;border-top:1px solid var(--line)}.site-shell .parent-page .danger-zone h3{margin-top:18px}.site-shell .parent-page .dialog{padding:28px 24px 24px;border-radius:var(--r-lg)}.site-shell .parent-page .adult-dialog-icon{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:var(--r-round);background:var(--blue-50);color:var(--blue-700)}.site-shell .parent-page .adult-dialog-icon.is-danger{background:var(--rose-50);color:var(--rose-700)}.site-shell .parent-page .adult-dialog-icon .parent-icon-svg{width:28px;height:28px}.site-shell .parent-page .dialog h2{margin-top:14px;font-size:21px;font-weight:var(--fw-strong);line-height:1.5;color:var(--ink)}.site-shell .parent-page .dialog p{margin-top:10px;font-size:16px;line-height:1.8;color:var(--ink-2);text-align:left}.site-shell .parent-page .dialog-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.site-shell .parent-page .dialog-actions .adult-button{flex:1 1 130px}.site-shell .parent-page .guide-list,.site-shell .parent-page .guide-steps{margin:14px 0 0;padding:0;list-style:none;color:var(--ink-2)}.site-shell .parent-page :is(.guide-list,.guide-steps) li+li{margin-top:12px}.site-shell .parent-page .guide-list li{position:relative;padding-left:20px}.site-shell .parent-page .guide-list li:before{content:"";position:absolute;left:4px;top:.8em;width:6px;height:6px;border-radius:var(--r-round);background:var(--control-edge)}.site-shell .parent-page :is(.guide-list,.guide-steps) strong{font-weight:var(--fw-strong);color:var(--ink)}.site-shell .parent-page .guide-steps{counter-reset:guide}.site-shell .parent-page .guide-steps li{position:relative;padding-left:40px;counter-increment:guide}.site-shell .parent-page .guide-steps li:before{content:counter(guide);position:absolute;left:0;top:0;display:grid;place-items:center;width:28px;height:28px;border-radius:var(--r-round);background:var(--sunken);color:var(--ink-2);font-family:var(--font-en);font-size:15px;font-weight:var(--fw-heavy);line-height:1}.site-shell .parent-page .guide-steps strong{display:block}.site-shell .parent-page .guide-steps strong small{margin-left:4px;font-size:14px;font-weight:var(--fw-body);color:var(--ink-2)}.site-shell .parent-page .guide-tip{margin-top:16px;padding:12px 16px;border-radius:var(--r-md);background:var(--paper);color:var(--ink-2)}.site-shell .parent-page .guide-updated{margin:20px 4px 0;font-size:14px;line-height:1.7;color:var(--ink-3)}.certificate-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0 18px}.site-shell .certificate-name-input{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:var(--fw-strong);color:var(--ink)}.site-shell .certificate-name-input input{width:11em;min-height:52px;padding:6px 14px;border:2px solid var(--control-edge);border-radius:var(--r-md);background:var(--surface);color:var(--ink);font:inherit;font-size:20px;font-weight:var(--fw-strong)}.site-shell .certificate-tools .certificate-print .parent-icon-svg{width:24px;height:24px}.certificate{max-width:1000px;margin:0 auto;padding:12px;border-radius:var(--r-lg);background:#fffdf6;box-shadow:var(--shadow-2)}.certificate-frame{position:relative;display:flex;flex-direction:column;align-items:center;padding:30px 48px 26px;border:3px solid var(--sun-600);border-radius:var(--r-sm);text-align:center;box-shadow:inset 0 0 0 6px #fffdf6,inset 0 0 0 7px var(--sun-300);background:radial-gradient(circle at 0 0,#ffe9a8 0 44px,transparent 45px),radial-gradient(circle at 100% 0,#ffd6e4 0 44px,transparent 45px),radial-gradient(circle at 0 100%,#d9ecff 0 44px,transparent 45px),radial-gradient(circle at 100% 100%,#d8f5e3 0 44px,transparent 45px),#fffdf6;-webkit-print-color-adjust:exact;print-color-adjust:exact}.certificate-rosette{width:64px;height:76px}.site-shell .certificate h1{margin:4px 0 8px;padding-left:.2em;font-size:clamp(36px,10vw,64px);font-weight:var(--fw-heavy);line-height:1.2;letter-spacing:.2em;white-space:nowrap;color:var(--sun-700)}.site-shell .certificate-name{margin:0;font-size:24px;font-weight:var(--fw-strong);color:var(--ink)}.site-shell .certificate-name strong{display:inline-block;min-width:6em;margin-right:6px;padding:0 12px 2px;border-bottom:2px solid var(--sun-600);font-size:36px;font-weight:var(--fw-heavy);line-height:1.4}.site-shell .certificate-body{max-width:32em;margin:20px auto 0;font-size:21px;font-weight:var(--fw-strong);line-height:2;color:var(--ink);text-wrap:pretty}.certificate-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;width:100%;max-width:760px;margin-top:18px}.site-shell .certificate-foot p{margin:0;font-size:19px;font-weight:var(--fw-strong);color:var(--ink)}.certificate-sign{display:flex;align-items:center;gap:12px}.certificate-sign .piko-logo{width:96px;height:96px;overflow:visible}.site-shell .certificate-from{color:var(--sun-700)}@media(max-width:600px){.certificate{padding:8px}.certificate-frame{padding:22px 16px 18px}.certificate-rosette{width:52px;height:62px}.site-shell .certificate-name strong{min-width:5em;font-size:28px}.site-shell .certificate-body{font-size:18px;line-height:1.9}.certificate-foot{flex-direction:column;align-items:center}.certificate-sign .piko-logo{width:72px;height:72px}.site-shell .certificate-foot p{font-size:17px}.certificate-body br{display:none}}@media print{@page{size:A4 landscape;margin:10mm}html,body,.site-shell{min-height:0!important;height:auto!important;background:#fff!important}.site-shell{display:block}.site-shell .main-content{padding:0!important}.site-shell .certificate-screen{padding:0;animation:none}.site-shell .sidebar,.site-shell .main-footer,.certificate-tools{display:none!important}.certificate{max-width:none;height:186mm;margin:0;padding:0;border-radius:0;box-shadow:none;background:#fff;break-inside:avoid;page-break-after:avoid}.certificate-frame{justify-content:center;height:100%;padding:10mm 18mm 8mm}.certificate-rosette{width:84px;height:100px}.site-shell .certificate h1{margin:6px 0 12px;font-size:76px}.site-shell .certificate-name{font-size:28px}.site-shell .certificate-name strong{font-size:44px}.site-shell .certificate-body{max-width:none;margin-top:24px;font-size:26px;line-height:2}.certificate-foot{max-width:none;margin-top:26px;padding:0 12mm}.site-shell .certificate-foot p{font-size:22px}.certificate-sign .piko-logo{width:110px;height:110px}.certificate-body br{display:inline}.certificate-foot{flex-direction:row;justify-content:space-between}}.site-shell .parent-page .plan-prices{margin:12px 0;padding:0;list-style:none;display:grid;gap:8px}.site-shell .parent-page .plan-prices li{padding:12px 16px;border:1px solid var(--line-strong);border-radius:var(--r-md);background:var(--paper)}.site-shell .word-card{container-type:inline-size;position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:6px 6px 10px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--shadow-1);color:var(--ink);font:inherit;text-align:center}.site-shell button.word-card{cursor:pointer;touch-action:manipulation;box-shadow:0 3px 0 var(--line-strong);transition:transform var(--dur-1) var(--ease-out),box-shadow var(--dur-1) var(--ease-out)}@media(hover:hover){.site-shell button.word-card:hover{transform:translateY(-2px);box-shadow:0 5px 0 var(--line-strong),var(--shadow-2)}}.site-shell button.word-card:active{transform:translateY(2px);box-shadow:0 1px 0 var(--line-strong)}.site-shell .word-card-pic{display:grid;place-items:center;align-self:stretch;aspect-ratio:4 / 3;margin-bottom:6px;border-radius:calc(var(--r-lg) - 6px);background:var(--card-tint, var(--tint-0));font-size:56px;font-size:clamp(40px,46cqi,72px);line-height:1}.site-shell .word-card-pic.is-mark{font-size:32px;font-size:clamp(26px,28cqi,40px)}.site-shell .card-swatch{width:1em;height:.8em;border-radius:var(--r-md);background:var(--swatch);box-shadow:inset 0 0 0 2px #1d2b4f1f,inset 0 -5px #1d2b4f14,0 1px 2px #1d2b4f1f}.site-shell .word-card-en{max-width:100%;font-family:var(--font-en);font-weight:800;line-height:1.15;letter-spacing:-.005em;color:var(--ink);font-size:18px;font-size:min(clamp(18px,15cqi,24px),100cqi / (var(--en-len, 1) * .64));word-break:normal;overflow-wrap:break-word;hyphens:none}.site-shell .word-card-ja{max-width:100%;font-weight:var(--fw-body);line-height:1.35;color:var(--ink-2);font-size:13px;font-size:min(clamp(13px,10.5cqi,15px),100cqi / var(--ja-len, 1))}.site-shell .card-seal{position:absolute;z-index:1;top:-7px;left:-6px;display:inline-flex;align-items:center;gap:3px;padding:2px 7px 2px 6px;border-radius:var(--r-pill);background:var(--green-600);color:#fff;font-size:12px;font-weight:var(--fw-strong);line-height:1.25;letter-spacing:.02em;white-space:nowrap;transform:rotate(-7deg);box-shadow:0 0 0 2px var(--surface),0 2px 6px #1d2b4f2e}.site-shell .card-seal:before{content:"";flex:none;width:7px;height:3.5px;margin-top:-3px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}.site-shell .word-card.is-shiny{border-color:var(--sun-400);background:linear-gradient(135deg,#fffdf6,#fff1b8 45%,#e7f6ff 70%,#fffdf6)}.site-shell button.word-card.is-shiny{box-shadow:0 3px 0 var(--sun-600),0 0 14px #ffc93c73}@media(hover:hover){.site-shell button.word-card.is-shiny:hover{box-shadow:0 5px 0 var(--sun-600),0 0 20px #ffc93c8c}}.site-shell button.word-card.is-shiny:active{box-shadow:0 1px 0 var(--sun-600),0 0 14px #ffc93c73}.site-shell .word-card.is-shiny .word-card-pic{background:#ffffff9e}.site-shell .word-card-ear{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:26px;height:26px;border-radius:var(--r-round);background:var(--violet-600);color:#fff;box-shadow:0 0 0 2px var(--surface)}.site-shell .word-card-ear .ear-icon{width:16px;height:16px}@container (max-width: 84px){.site-shell .card-seal{padding:1px 6px;font-size:11px;letter-spacing:0}.site-shell .card-seal:before{display:none}.site-shell .word-card-ear{top:2px;right:2px;width:22px;height:22px}.site-shell .word-card-ear .ear-icon{width:14px;height:14px}}.site-shell .word-card.is-unknown{border-color:transparent;background:var(--sunken);box-shadow:none}.site-shell .word-card.is-unknown .word-card-pic{background:transparent;font-size:28px;font-weight:var(--fw-heavy);color:var(--ink-3)}.site-shell .word-card.is-unknown .word-card-ja{color:var(--ink-3)}.site-shell .card-book{--card-w: 108px}.site-shell .card-book-head{display:grid;gap:10px;margin:16px 0 18px}.site-shell .card-book-back{justify-self:start;min-height:44px;padding:4px 16px 4px 12px;border:2px solid var(--line-strong);border-radius:var(--r-pill);background:var(--surface);font:inherit;font-size:16px;font-weight:var(--fw-strong);color:var(--ink);cursor:pointer;touch-action:manipulation}.site-shell .card-book-back:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.site-shell .card-book-head h1{display:flex;align-items:center;gap:10px;font-size:var(--fs-title);font-weight:var(--fw-heavy);color:var(--ink)}.site-shell .card-book-meter{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px}.site-shell .card-book-total{font-size:16px;font-weight:var(--fw-strong);line-height:1.3;color:var(--ink-2);font-variant-numeric:tabular-nums}.site-shell .card-book-total strong{font-family:var(--font-en);font-size:28px;font-weight:var(--fw-heavy);color:var(--ink)}.site-shell .card-book-firm{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-en);font-size:20px;font-weight:800;line-height:1.3;color:var(--green-700);font-variant-numeric:tabular-nums}.site-shell .card-seal.is-inline{position:static;transform:none;box-shadow:none;font-family:var(--font-ui);font-size:14px}.site-shell .card-book-bar{height:10px;overflow:hidden;border-radius:var(--r-pill);background:var(--track)}.site-shell .card-book-bar>span{display:block;height:100%;border-radius:inherit;background:var(--progress);transition:width var(--dur-4) var(--ease-out)}.site-shell .card-book-hint{font-size:16px;color:var(--ink-2)}.site-shell .card-level-switch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0 0 20px;padding:4px;border-radius:var(--r-pill);background:var(--sunken)}.site-shell .card-level-switch button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:52px;padding:4px 6px;border:0;border-radius:var(--r-pill);background:transparent;color:var(--ink-2);font:inherit;font-size:clamp(13px,3.8vw,15px);font-weight:var(--fw-strong);line-height:1.25;touch-action:manipulation;transition:background-color var(--dur-2),color var(--dur-2)}.site-shell .card-level-switch button small{font-family:var(--font-en);font-size:14px;font-weight:700;color:var(--ink-3);font-variant-numeric:tabular-nums}.site-shell .card-level-switch button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 0 0 1px var(--line),var(--shadow-1)}.site-shell .card-level-switch button[aria-pressed=true] small{color:var(--blue-700)}@media(hover:hover){.site-shell .card-level-switch button[aria-pressed=false]:hover{background:#ffffff8c}}.site-shell .card-book .word-card-ja{font-size:15px;font-size:min(clamp(15px,10.5cqi,16px),100cqi / var(--ja-len, 1))}.site-shell .card-book .card-seal{font-size:14px}.site-shell .card-shelves{container:shelves / inline-size}.site-shell .card-shelf{min-width:0}.site-shell .card-shelf+.card-shelf{margin-top:18px}.site-shell .card-shelf.is-empty+.card-shelf.is-empty{margin-top:8px}.site-shell .card-shelf-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}.site-shell .card-shelf-title{display:flex;flex:1 1 auto;align-items:center;gap:10px;min-width:0;font-size:18px;font-weight:var(--fw-heavy);line-height:1.3;color:var(--ink)}.site-shell .card-shelf-plate{display:grid;flex:none;place-items:center;width:38px;height:38px;border-radius:var(--r-sm);background:var(--card-tint, var(--tint-0));font-size:22px;line-height:1}.site-shell .card-shelf-count{display:inline-flex;align-items:center;gap:4px;font-family:var(--font-en);font-size:15px;font-weight:800;color:var(--ink-2);font-variant-numeric:tabular-nums}.site-shell .card-shelf.is-complete .card-shelf-count{color:var(--sun-700)}.site-shell .card-shelf-count .star-icon{width:20px;height:20px}.site-shell .card-shelf-listen{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px 0 12px;border:0;border-radius:var(--r-pill);background:var(--violet-50);color:var(--violet-700);font:inherit;font-size:15px;font-weight:var(--fw-strong);white-space:nowrap;cursor:pointer;touch-action:manipulation;box-shadow:0 3px 0 var(--violet-200);transition:transform var(--dur-1) var(--ease-out),box-shadow var(--dur-1) var(--ease-out)}.site-shell .card-shelf-listen .ear-icon{width:20px;height:20px}.site-shell .card-shelf-listen>span{font-size:12px}.site-shell .card-shelf-listen:active{transform:translateY(2px);box-shadow:0 1px 0 var(--violet-200)}@container shelves (max-width: 559px){.site-shell .card-shelf-head:has(.card-shelf-listen) .card-shelf-num{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}.site-shell .card-shelf-row{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:12px 0 14px;scrollbar-width:thin}.site-shell .card-shelf-row{content-visibility:auto;contain-intrinsic-size:auto 139px}.site-shell .card-shelf-row>*{flex:0 0 var(--card-w);scroll-snap-align:start}@media(pointer:coarse){.site-shell .card-shelf-row{margin-inline:calc(50cqw - 50vw);padding-inline:calc(50vw - 50cqw);scroll-padding-inline:calc(50vw - 50cqw);scrollbar-width:none}.site-shell .card-shelf-row::-webkit-scrollbar{display:none}}.site-shell .card-more{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:0;padding:12px 8px;border:0;border-radius:var(--r-lg);background:var(--sunken);color:var(--ink-2);font:inherit;font-size:15px;font-weight:var(--fw-strong);line-height:1.25;cursor:pointer;touch-action:manipulation;box-shadow:0 3px 0 var(--line-strong);transition:transform var(--dur-1) var(--ease-out),box-shadow var(--dur-1) var(--ease-out)}.site-shell .card-more:active{transform:translateY(2px);box-shadow:0 1px 0 var(--line-strong)}@media(hover:hover){.site-shell .card-more:hover{background:#efe6d7}}.site-shell .card-more-text{white-space:nowrap}.site-shell .card-backs{display:inline-grid;place-items:center;padding:0 12px}.site-shell .card-backs i{grid-area:1 / 1;display:grid;place-items:center;width:30px;height:40px;border-radius:7px;background:var(--surface);box-shadow:0 0 0 1.5px var(--line-strong),0 1px 2px #1d2b4f14}.site-shell .card-backs i:nth-child(1){transform:translate(-11px) rotate(-12deg)}.site-shell .card-backs i:nth-child(3){transform:translate(11px) rotate(12deg)}.site-shell .card-backs i:nth-child(3):after{content:"？";font-style:normal;font-size:17px;font-weight:var(--fw-heavy);color:var(--ink-3)}.site-shell .card-shelf.is-empty{position:relative;display:flex;align-items:center;gap:10px;min-height:60px;padding:8px 10px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);box-shadow:0 3px 0 var(--line-strong);transition:transform var(--dur-1) var(--ease-out),box-shadow var(--dur-1) var(--ease-out)}.site-shell .card-shelf.is-empty .card-shelf-title{font-size:17px;font-weight:var(--fw-strong)}.site-shell .card-shelf.is-empty .card-more{flex:none;flex-direction:row;gap:4px;min-height:44px;padding:0 22px 0 0;background:none;box-shadow:none;color:var(--ink-3)}.site-shell .card-shelf.is-empty .card-more:after{content:"";position:absolute;inset:0;border-radius:inherit}.site-shell .card-shelf.is-empty .card-more:focus-visible{outline:none}.site-shell .card-shelf.is-empty:has(.card-more:focus-visible){outline:3px solid var(--focus);outline-offset:3px}.site-shell .card-shelf.is-empty:has(.card-more:active){transform:translateY(2px);box-shadow:0 1px 0 var(--line-strong)}@media(hover:hover){.site-shell .card-shelf.is-empty:has(.card-more:hover){background:#fffcf6}}.site-shell .card-shelf.is-empty .card-more:active{transform:none}.site-shell .card-shelf.is-empty .card-more-text:after{content:"";position:absolute;right:18px;top:50%;width:8px;height:8px;margin-top:-5px;border-top:2.5px solid currentColor;border-right:2.5px solid currentColor;transform:rotate(45deg)}.site-shell .card-shelf.is-empty .card-backs{padding:0 10px}.site-shell .card-shelf.is-empty .card-backs i{width:20px;height:27px;border-radius:5px}.site-shell .card-shelf.is-empty .card-backs i:nth-child(1){transform:translate(-7px) rotate(-12deg)}.site-shell .card-shelf.is-empty .card-backs i:nth-child(3){transform:translate(7px) rotate(12deg)}.site-shell .card-shelf.is-empty .card-backs i:nth-child(3):after{font-size:12px}@container shelves (min-width: 560px){.site-shell .card-shelf-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0 -12px -12px;padding:12px 12px 16px;overflow:visible;overflow-clip-margin:8px;scroll-snap-type:none;contain-intrinsic-size:auto calc(var(--rows, 2) * ((100cqw - 48px) * .16 + 68px) - 12px)}.site-shell .card-shelf-row>*{flex:none}.site-shell .card-more{grid-column:span var(--span, 1);flex-direction:row;gap:6px;min-height:64px}.site-shell .card-more.is-span-1{flex-direction:column;gap:10px}.site-shell .word-card{padding:8px 8px 12px}.site-shell .card-shelf-title{font-size:20px}.site-shell .card-shelf.is-empty{min-height:64px;padding-inline:12px}.site-shell .card-shelf.is-empty .card-shelf-title{font-size:18px}}@container shelves (min-width: 800px){.site-shell .card-seal{font-size:13px;padding:3px 8px 3px 7px}.site-shell .word-card-ear{top:12px;right:12px}}@media(min-width:781px){.site-shell .card-level-switch{max-width:700px}.site-shell .card-level-switch button{flex-direction:row;gap:8px;font-size:16px}.site-shell .card-level-switch button small{font-size:14px}.site-shell .card-book-head{max-width:560px}}@media(min-width:1100px){.site-shell .card-book{max-width:960px;margin-inline:auto}}.site-shell .card-book .word-card-big{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;max-width:400px;padding:18px 20px 20px;border:2px solid var(--line);text-align:center}.site-shell .card-book .word-card-big.is-shiny{border-color:var(--sun-400);background:linear-gradient(135deg,#fffdf6,#fff1b8 45%,#e7f6ff 70%,#fffdf6)}.site-shell .card-book .word-card-big.is-firm{border-color:var(--green-200)}.site-shell .card-book .word-card-big.is-firm.is-shiny{border-color:var(--sun-400)}.site-shell .card-book .word-card-big .word-card-pic{width:100%;height:auto;aspect-ratio:16 / 9;margin-bottom:8px;border-radius:var(--r-lg);font-size:92px}.site-shell .card-book .word-card-big .word-card-pic.is-mark{font-size:56px}.site-shell .card-book .word-card-big.is-shiny .word-card-pic{background:#ffffff9e}.site-shell .card-book .word-card-big .card-seal.is-big{top:-12px;left:-10px;padding:5px 13px 5px 11px;font-size:16px}.site-shell .card-book .word-card-say{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px}.site-shell .card-book .word-card-big .word-card-en{font-size:44px;font-weight:var(--fw-heavy)}.site-shell .card-book .word-card-big .word-card-en.is-long{font-size:36px}.site-shell .card-book .word-card-big .word-card-en.is-longer{font-size:31px}.site-shell .card-book .word-card-big .word-card-ja{font-size:20px}.site-shell .card-book .word-card-facts{display:grid;gap:4px;margin:10px 0 0;padding:0;list-style:none;text-align:left}.site-shell .card-book .word-card-facts li{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:var(--fw-strong);line-height:1.4;color:var(--ink-2)}.site-shell .card-book .word-card-facts li>:first-child{display:grid;flex:none;place-items:center;width:22px;height:22px;font-size:18px}.site-shell .card-book .word-card-facts li.is-firm{color:var(--green-700)}.site-shell .card-book .word-card-facts .fact-check{border-radius:var(--r-round);background:var(--green-600)}.site-shell .card-book .word-card-facts .fact-check:before{content:"";width:8px;height:4px;margin-top:-3px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg)}.site-shell .card-book .word-card-facts li.is-shiny{color:var(--violet-700)}.site-shell .card-book .word-card-facts .ear-icon{width:20px;height:20px}.site-shell .card-book .word-card-big>.button{width:100%;max-width:280px;margin-top:14px}@media(max-height:700px){.site-shell .card-book .word-card-big{padding-top:16px}.site-shell .card-book .word-card-big .word-card-pic{aspect-ratio:2 / 1;font-size:76px}.site-shell .card-book .word-card-big .word-card-en{font-size:40px}}@media(max-width:360px),(max-height:600px){.site-shell .card-book .word-card-big{gap:4px;padding:14px 16px 16px}.site-shell .card-book .word-card-big .word-card-pic{aspect-ratio:5 / 2;margin-bottom:4px;font-size:60px}.site-shell .card-book .word-card-big .word-card-en{font-size:36px}.site-shell .card-book .word-card-big .word-card-en.is-long{font-size:30px}.site-shell .card-book .word-card-big .word-card-en.is-longer{font-size:27px}.site-shell .card-book .word-card-big .word-card-ja{font-size:18px}.site-shell .card-book .word-card-facts li{font-size:14px}.site-shell .card-book .word-card-big>.button{margin-top:10px}}.site-shell .card-book .card-overlay.is-arriving>.dialog{pointer-events:none}.site-shell .card-book .card-overlay{overflow-y:auto;align-items:start}.site-shell .card-book .card-overlay>.dialog{margin-block:auto}.site-shell .card-book .card-sheet{display:flex;flex-direction:column;align-items:center;gap:14px;max-width:380px;padding:28px 24px 24px}.site-shell .card-book .card-sheet-art{display:flex;align-items:center;gap:6px}.site-shell .card-book .card-sheet-art .card-shelf-plate{width:64px;height:64px;border-radius:var(--r-md);font-size:38px}.site-shell .card-book .card-sheet h2{margin:0;font-size:22px;font-weight:var(--fw-heavy);line-height:1.45;color:var(--ink)}.site-shell .card-book .card-sheet-actions{display:grid;gap:10px;width:100%;max-width:280px;margin-top:4px}.site-shell .card-book .card-sheet-actions .button{width:100%}.site-shell .card-book .card-sheet-actions .button>span{font-size:.7em}@media(prefers-reduced-motion:no-preference){.site-shell .card-book .word-card-big{animation:card-flip-in var(--dur-4) var(--ease-out) both}.site-shell .card-book .word-card-big.is-shiny:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(105deg,transparent 38%,rgb(255 255 255 / .8) 50%,transparent 62%) no-repeat;background-size:260% 100%;animation:card-shine 1.1s var(--ease-inout) .3s both}.site-shell .card-book .card-sheet{animation:card-sheet-in var(--dur-3) var(--ease-out) both}}@keyframes card-flip-in{0%{opacity:0;transform:perspective(900px) rotateY(-60deg) scale(.92)}to{opacity:1;transform:none}}@keyframes card-shine{0%{background-position:130% 0}to{background-position:-30% 0}}@keyframes card-sheet-in{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.site-shell .card-book .word-card-big,.site-shell .card-book .card-sheet{animation:none}.site-shell :is(.card-more,.card-shelf-listen,.card-shelf.is-empty):is(:hover,:active){transform:none!important}}.card-icon{display:inline-block;width:1em;height:1em;vertical-align:-.15em}.card-icon text{font-family:Nunito Variable,Zen Maru Gothic,sans-serif}.ear-icon,.star-icon{display:inline-block;flex:none;width:1em;height:1em}.result-screen{position:relative;max-width:560px;margin:16px auto 32px;padding:28px 24px 24px;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--shadow-1)}.result-screen h1{font-size:var(--fs-title);font-weight:var(--fw-heavy);line-height:var(--lh-heading);color:var(--ink)}.result-screen p{margin-top:8px;font-size:var(--fs-body-lg);color:var(--ink-2)}.result-buttons{display:flex;flex-direction:column;align-items:stretch;gap:12px;max-width:420px;margin:20px auto 0}.result-complete-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 16px;border-radius:var(--r-round);background:var(--sun-50);font-size:42px}.site-shell .result-moment{display:flex;flex-direction:column;align-items:center}.site-shell .result-piko{display:grid;place-items:center;width:104px;height:104px;margin:0 0 6px;border-radius:var(--r-round);background:radial-gradient(circle at 50% 60%,#fff 0 38%,var(--sun-50) 39% 100%);box-shadow:inset 0 0 0 1px var(--sun-200);animation:result-piko-in var(--dur-5) var(--ease-spring) both}.site-shell .result-piko .piko-logo{width:88px;height:88px;overflow:visible}.site-shell .result-piko .piko-logo{animation:result-hop var(--dur-5) var(--ease-out) .42s 1}.site-shell .result-piko.is-big{width:124px;height:124px;box-shadow:inset 0 0 0 1px var(--sun-200),0 0 0 6px #ffc93c2e}.site-shell .result-piko.is-big .piko-logo{width:106px;height:106px}.site-shell .result-word{display:inline-block}.site-shell .result-screen h1{display:flex;flex-direction:column;align-items:center;gap:2px;margin:0}.site-shell .result-screen h1 .result-title{display:block}.site-shell .result-screen h1.has-news .result-title{font-size:17px;font-weight:var(--fw-strong);color:var(--ink-2);letter-spacing:.02em}.site-shell .result-headline{display:block;font-size:26px;font-weight:var(--fw-heavy);line-height:1.3;color:var(--sun-700);text-wrap:balance;animation:result-pop var(--dur-4) var(--ease-spring) .2s both}.site-shell .result-headline:is(.test-clear,.news-firm){color:var(--green-700)}.site-shell .result-headline.news-cards{color:var(--ink)}.site-shell .result-headline .card-icon{width:1.05em;height:1.05em}.site-shell .result-screen p.result-metrics{display:inline-block;margin:10px 0 0;padding:4px 18px;border-radius:var(--r-pill);background:var(--green-50);color:var(--green-700);font-size:17px;font-weight:var(--fw-strong);line-height:1.5}.site-shell .result-metrics strong{font-family:var(--font-en);font-size:26px;font-weight:var(--fw-heavy);font-variant-numeric:tabular-nums}.site-shell :is(.learn-result,.practice-result) p.result-metrics{background:var(--blue-50);color:var(--blue-700)}.site-shell .result-screen p.placement-advice{margin:12px 0 0;font-size:26px;font-weight:var(--fw-heavy);line-height:1.35;color:var(--ink)}.site-shell .result-screen p.placement-note{margin:6px 0 0;font-size:16px;color:var(--ink-2)}.site-shell .result-buttons{gap:10px;margin-top:20px}.site-shell .button.result-next{--ledge-color: var(--blue-ledge);--fill: var(--blue-600);--fill-hover: var(--blue-650);display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:72px;margin:0;padding:10px 12px 10px 10px;border-radius:var(--r-xl);font-size:var(--fs-cta);font-weight:var(--fw-strong);line-height:1.3;text-align:left;box-shadow:0 5px 0 var(--ledge-color)}.site-shell .button.result-next:not(:disabled):active{box-shadow:0 2px 0 var(--ledge-color)}.site-shell .button.result-next.tone-test{--ledge-color: var(--green-ledge);--fill: var(--green-600);--fill-hover: var(--green-650)}.site-shell .button.result-next.tone-review{--ledge-color: var(--violet-ledge);--fill: var(--violet-600);--fill-hover: var(--violet-650)}.site-shell .result-next-icon{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:var(--r-md);background:#fff;font-size:32px;line-height:1}.site-shell .result-next-label{flex:1;display:flex;flex-direction:column;min-width:0}.site-shell .result-next-label small{font-size:14px;font-weight:var(--fw-strong);line-height:1.3}.site-shell .result-next-count{flex:none;padding:3px 12px;border-radius:var(--r-pill);background:#fff;color:var(--violet-700);font-size:18px;font-weight:var(--fw-heavy);white-space:nowrap}.site-shell .result-next-go{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:var(--r-round);background:#fff3;font-size:15px;line-height:1}.site-shell .button.result-next.is-plain{justify-content:center;padding:10px 20px;text-align:center}.site-shell .button.result-next.is-plain .result-next-label{flex:none}.site-shell .button.result-next.is-out{min-height:64px}.site-shell .result-buttons-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}.site-shell .result-buttons-row.is-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.site-shell .button:is(.result-secondary,.result-exit,.certificate-open){flex:1 1 auto;gap:6px;min-height:52px;padding:8px 12px;border-radius:var(--r-lg);font-size:16px;line-height:1.3}.site-shell .button.result-exit{--ledge-color: var(--line-strong);flex:0 1 auto;border:2px solid var(--sunken);background:var(--sunken);color:var(--ink-2)}@media(hover:hover){.site-shell .button.result-exit:hover{border-color:var(--line);background:var(--line);color:var(--ink)}}.site-shell .button.certificate-open{--ledge-color: var(--sun-600);color:var(--ink);background:var(--sun-400)}.site-shell .result-fold{max-width:480px;margin:14px auto 0;text-align:left}.site-shell .result-fold>summary{display:flex;align-items:center;justify-content:center;gap:8px;width:fit-content;min-height:44px;margin:0 auto;padding:6px 16px;border-radius:var(--r-pill);color:var(--ink-2);font-size:16px;font-weight:var(--fw-strong);list-style:none;cursor:pointer;touch-action:manipulation;transition:background-color var(--dur-2)}.site-shell .result-fold>summary::-webkit-details-marker{display:none}.site-shell .result-fold>summary:after{content:"";flex:none;width:8px;height:8px;margin:-4px 2px 0;border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(45deg);transition:transform var(--dur-2) var(--ease-out)}.site-shell .result-fold[open]>summary:after{margin-top:4px;transform:rotate(-135deg)}@media(hover:hover){.site-shell .result-fold>summary:hover{background:var(--sunken);color:var(--ink)}}.site-shell .result-fold-count{padding:1px 10px;border-radius:var(--r-pill);background:var(--rose-50);color:var(--rose-700);font-size:14px}.site-shell .result-other-list{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px}.site-shell .result-other-list .button{gap:6px;min-height:48px;padding:8px 16px;font-size:16px}.site-shell .result-rule p{margin:4px 0 0;font-size:16px;text-align:center;color:var(--ink-2)}.site-shell .result-review{display:flex;flex-direction:column;gap:6px;margin:8px 0 0;padding:0;list-style:none}.site-shell .result-review li{display:grid;grid-template-columns:28px minmax(0,1fr) auto 44px;align-items:center;gap:8px;padding:6px 4px 6px 10px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface)}.site-shell .result-review li.is-missed{border-color:var(--rose-200);background:var(--rose-50)}.site-shell .result-review-mark{display:grid;place-items:center;width:26px;height:26px;border-radius:var(--r-round)}.site-shell .result-review-mark.is-passed{background:var(--green-50);color:var(--green-700)}.site-shell .result-review-mark.is-missed{background:var(--rose-600);color:#fff}.site-shell .result-review-text{display:flex;flex-direction:column;min-width:0;text-align:left;container-type:inline-size}.site-shell .result-review-text small{font-size:14px;color:var(--ink-2)}.site-shell .result-review-text strong{font-family:var(--font-en);font-size:20px;font-size:min(20px,calc(100cqi / (var(--en-len, 1) * .64)));font-weight:var(--fw-heavy);line-height:1.25;color:var(--ink);overflow-wrap:normal;word-break:normal}.site-shell .result-review-status{font-size:14px;font-weight:var(--fw-strong);color:var(--green-700);white-space:nowrap}.site-shell .result-review li.is-missed .result-review-status{color:var(--rose-700)}.site-shell .result-rewards{max-width:480px;margin:16px auto 0;padding:12px;border-radius:var(--r-xl);background:var(--sun-50)}.site-shell .result-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0;list-style:none}.site-shell .result-chip{display:inline-flex;align-items:center;min-height:34px;padding:4px 12px;border:1px solid var(--sun-200);border-radius:var(--r-pill);background:var(--surface);color:var(--sun-700);font-size:15px;font-weight:var(--fw-strong);line-height:1.3;white-space:nowrap;animation:result-chip-in var(--dur-3) var(--ease-spring) both;animation-delay:calc(.36s + var(--i, 0) * 70ms)}.site-shell .result-chip:is(.test-clear,.news-firm){border-color:var(--green-200);color:var(--green-700)}.site-shell .result-chip.news-cards{color:var(--ink)}.site-shell .result-chips+.result-cards{margin-top:12px}.site-shell .result-cards-row{display:flex;align-items:center;justify-content:center;gap:6px}.site-shell .result-card{flex:0 1 84px;min-width:0;animation:result-pop var(--dur-4) var(--ease-spring) both;animation-delay:calc(.42s + var(--i, 0) * 80ms)}.site-shell .result-card .word-card{width:100%}.site-shell .result-cards-more{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:stretch;min-width:52px;padding:0 6px;border:2px dashed var(--sun-200);border-radius:var(--r-lg);font-size:15px;font-weight:var(--fw-strong);line-height:1.3;color:var(--sun-700);white-space:nowrap}.site-shell .result-cards-open{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;padding:6px 16px;border:0;border-radius:var(--r-pill);background:none;color:var(--blue-700);font:inherit;font-size:16px;font-weight:var(--fw-strong);touch-action:manipulation}@media(hover:hover){.site-shell .result-cards-open:hover{background:#ffffffb3}}.site-shell .result-screen p:is(.result-wear,.result-reward-note){margin:8px 0 0;font-size:15px;color:var(--sun-700)}.site-shell .result-screen .result-rewards>p.result-reward-note:first-child{margin-top:0}@keyframes result-piko-in{0%{opacity:0;transform:scale(.6) translateY(10px)}to{opacity:1;transform:none}}@keyframes result-hop{0%,to{transform:none}35%{transform:translateY(-10px)}60%{transform:translateY(0) scaleY(.95)}}@keyframes result-pop{0%{opacity:0;transform:scale(.85)}to{opacity:1;transform:none}}@keyframes result-chip-in{0%{opacity:0;transform:translateY(8px) scale(.9)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.site-shell :is(.result-piko,.result-piko .piko-logo,.result-headline,.result-chip,.result-card){animation:none!important}}@media(max-width:900px){.site-shell .result-screen{margin:12px auto 24px;padding:20px 16px 18px}}@media(max-width:360px){.site-shell .result-screen{padding:16px 12px}.site-shell .result-piko{width:88px;height:88px}.site-shell .result-piko .piko-logo{width:74px;height:74px}.site-shell .result-piko.is-big{width:104px;height:104px}.site-shell .result-piko.is-big .piko-logo{width:88px;height:88px}.site-shell .result-headline{font-size:23px}.site-shell .button.result-next{gap:10px;font-size:20px}.site-shell .result-next-icon{width:44px;height:44px;font-size:26px}.site-shell .result-buttons-row .button:is(.result-secondary,.result-exit,.certificate-open){padding:6px;font-size:15px}}@media(min-width:781px){.site-shell .result-piko{width:120px;height:120px}.site-shell .result-piko .piko-logo{width:100px;height:100px}.site-shell .result-piko.is-big{width:148px;height:148px}.site-shell .result-piko.is-big .piko-logo{width:126px;height:126px}.site-shell .result-headline{font-size:30px}.site-shell .button.result-next{min-height:80px;gap:14px}.site-shell .result-next-icon{width:58px;height:58px;font-size:36px}.site-shell .result-card{flex-basis:100px}}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.site-shell .main-content h1[tabindex="-1"]:focus{outline:none}.site-shell{display:grid;grid-template-columns:232px minmax(0,1fr);max-width:1640px;margin:0 auto;min-height:100vh}.site-shell .main-content{min-width:0;padding:28px 40px 32px}.site-shell .sidebar{position:sticky;top:0;z-index:5;height:100vh;display:flex;flex-direction:column;gap:20px;padding:24px 16px 20px;background:var(--surface);border-right:1px solid var(--line)}.site-shell .brand{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 6px;border:0;border-radius:var(--r-lg);background:none;color:var(--ink);text-align:left;white-space:nowrap}.site-shell .brand-icon{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:var(--r-md);background:var(--sun-50);box-shadow:inset 0 0 0 1px var(--sun-200)}.site-shell .brand-icon .piko-logo{width:40px;height:40px;overflow:visible}.site-shell .brand strong{font-size:20px;font-weight:var(--fw-heavy);letter-spacing:.02em}.site-shell .profile-chip{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:6px 14px;border:1px solid var(--line-strong);border-radius:var(--r-pill);background:var(--surface);color:var(--ink-2);font-size:16px;font-weight:var(--fw-strong);white-space:nowrap}.site-shell .sidebar-nav{flex:1;display:flex;flex-direction:column;gap:6px}.site-shell .nav-link{position:relative;display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 14px;border:0;border-radius:var(--r-lg);background:transparent;color:var(--ink-2);font-size:18px;font-weight:var(--fw-strong);text-align:left;white-space:nowrap;transition:background-color var(--dur-2),color var(--dur-2)}.site-shell .nav-icon{flex:none;display:grid;place-items:center;font-size:30px;line-height:1}.site-shell .nav-icon :is(.nav-svg,.card-icon){display:block;width:1em;height:1em}@media(hover:hover){.site-shell .nav-link:hover{background:var(--sunken);color:var(--ink)}}.site-shell .nav-link.active{background:var(--blue-50);color:var(--blue-700)}.site-shell .nav-parents{margin-top:auto;min-height:48px;font-size:15px;color:var(--ink-3)}.site-shell .nav-parents .nav-icon{font-size:24px}.nav-badge{display:inline-block;width:12px;height:12px;margin-left:2px;border:2px solid #fff;border-radius:var(--r-round);background:var(--rose-600);align-self:flex-start}@media(max-width:1099px){.site-shell{grid-template-columns:208px minmax(0,1fr)}.site-shell .main-content{padding:28px 24px 32px}.site-shell .brand strong{font-size:18px}}@media(max-width:900px){.site-shell{display:block}.site-shell .main-content{padding:0 16px calc(96px + env(safe-area-inset-bottom))}.site-shell .sidebar{position:sticky;top:0;z-index:8;height:auto;flex-direction:row;align-items:center;gap:8px;min-height:56px;padding:6px 68px 6px 12px;border-right:0;border-bottom:1px solid var(--line);background:var(--surface)}.site-shell .brand{min-height:44px;padding:0 4px}.site-shell .brand-icon{width:40px;height:40px}.site-shell .brand-icon .piko-logo{width:34px;height:34px}.site-shell .brand strong{font-size:18px}.site-shell .brand{flex:none}.site-shell .profile-chip{align-self:center;min-width:0;margin-left:auto;padding:6px 12px;font-size:15px}.site-shell .profile-chip-name{min-width:0;overflow:hidden;text-overflow:ellipsis}html{scroll-padding-bottom:calc(84px + env(safe-area-inset-bottom))}.site-shell .sidebar-nav{position:fixed;left:0;right:0;bottom:0;z-index:20;flex-direction:row;justify-content:center;gap:4px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -4px 16px #1d2b4f0f}.site-shell .nav-link{flex:1 1 0;max-width:200px;flex-direction:column;justify-content:center;gap:2px;min-height:60px;padding:4px;font-size:15px;text-align:center;line-height:1.2}.site-shell .nav-link .nav-icon{width:64px;height:34px;border-radius:var(--r-pill);font-size:28px;transition:background-color var(--dur-2)}.site-shell .nav-link.active{background:none}.site-shell .nav-link.active .nav-icon{background:var(--blue-50)}@media(hover:hover){.site-shell .nav-link:hover{background:none}.site-shell .nav-link:hover .nav-icon{background:var(--sunken)}}.site-shell .nav-parents{position:fixed;top:6px;right:12px;z-index:21;flex:none;width:44px;height:44px;min-height:44px;max-width:none;margin:0;padding:0;border-radius:var(--r-round);background:var(--sunken)}.site-shell .nav-parents .nav-icon,.site-shell .nav-parents.active .nav-icon{width:auto;height:auto;font-size:26px;background:none}.site-shell .nav-parents .nav-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.site-shell .nav-parents.active{background:var(--blue-50)}.site-shell .nav-badge{position:absolute;top:2px;right:2px;margin:0}}@media(max-width:360px){.site-shell .main-content{padding-left:12px;padding-right:12px}.site-shell .brand strong{font-size:16px}}@media(max-width:420px){.site-shell .sidebar:has(.profile-chip) .brand strong{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}@media(max-width:900px)and (orientation:landscape)and (max-height:500px){.site-shell:not(.in-session){display:grid;grid-template-columns:calc(76px + env(safe-area-inset-left)) minmax(0,1fr)}.site-shell .main-content{padding:0 max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) 16px}.site-shell .sidebar{position:sticky;top:0;height:100vh;height:100dvh;flex-direction:column;align-items:stretch;gap:4px;min-height:0;padding:6px 4px max(6px,env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));border-right:1px solid var(--line);border-bottom:0;overflow-y:auto;scrollbar-width:none}.site-shell .brand{justify-content:center;padding:0}.site-shell .brand strong,.site-shell .profile-chip-name{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.site-shell .profile-chip{justify-content:center;min-width:0;margin:0;padding:4px;font-size:22px}.site-shell .sidebar-nav{position:static;flex:1;flex-direction:column;justify-content:flex-start;gap:2px;padding:0;border-top:0;background:none;box-shadow:none}.site-shell .nav-link{flex:none;max-width:none;min-height:54px;gap:0;font-size:15px}.site-shell .nav-link .nav-icon{width:56px;height:30px;font-size:26px}.site-shell .nav-parents{position:relative;top:auto;right:auto;align-self:center;min-height:44px;margin-top:auto}html{scroll-padding-bottom:8px}}.site-shell[data-arriving]{pointer-events:none}.site-shell.in-session{grid-template-columns:minmax(0,1fr)}.site-shell.in-session>.sidebar{display:none}@media(max-width:900px){.site-shell.in-session .main-content{padding-bottom:max(24px,env(safe-area-inset-bottom))}}@media print{.site-shell{display:block}}.site-shell .eitype-home{display:flex;flex-direction:column;gap:var(--stack);max-width:720px;margin:0 auto;padding-top:12px}@media(min-width:901px){.site-shell .eitype-home{gap:20px;padding-top:4px}}.site-shell .pet-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0;padding:12px;border:1px solid var(--sun-200);border-radius:var(--r-xl);background:var(--sun-50)}.site-shell .pet-open{display:flex;align-items:center;gap:12px;min-width:0;margin:0;padding:0;border:0;border-radius:var(--r-lg);background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer}.site-shell .pet-row>.sound-toggle{position:absolute;top:10px;right:10px}.site-shell .pet-row:has(>.sound-toggle) .pet-row-text:before{content:"";float:right;width:46px;height:44px}.site-shell .pet-face{flex:none;display:grid;place-items:center;width:72px;height:72px;border-radius:var(--r-round);background:var(--surface);box-shadow:var(--shadow-1);line-height:1}.site-shell .pet-row-text{display:block;min-width:0}.site-shell .pet-name{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}.site-shell .pet-name strong{font-size:20px;font-weight:var(--fw-heavy);line-height:1.25;color:var(--sun-700);white-space:nowrap}.site-shell .pet-name small{padding:2px 10px;border-radius:var(--r-pill);background:var(--sun-200);font-size:14px;font-weight:var(--fw-strong);color:var(--sun-700);white-space:nowrap}.site-shell .pet-row .pet-line{display:block;margin-top:2px;font-size:15px;line-height:1.4;color:var(--ink-2)}.site-shell .pet-row .pet-english{font-family:var(--font-en);font-size:16px;font-weight:var(--fw-heavy);color:var(--ink)}.site-shell .pet-row .pet-nudge-line{font-size:17px;font-weight:var(--fw-strong);color:var(--ink)}.site-shell .pet-growth{display:flex;align-items:center;gap:10px;min-width:0}.site-shell .pet-growth-track{flex:1;min-width:40px;height:8px;border-radius:var(--r-pill);background:#fffffff2;box-shadow:inset 0 0 0 1px #1d2b4f0f;overflow:hidden}.site-shell .pet-growth-track>span{display:block;height:100%;border-radius:inherit;background:var(--progress)}.site-shell .pet-growth small{flex:none;font-size:14px;font-weight:var(--fw-strong);line-height:1.3;color:var(--sun-700);white-space:nowrap}.site-shell .pet-nudge-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px}.site-shell .button.pet-nudge-yes{--ledge-color: var(--sun-200);min-height:48px;padding:8px 20px;border:2px solid var(--sun-200);background:var(--surface);color:var(--sun-700);font-size:17px}.site-shell .pet-nudge-later{min-height:44px;padding:8px 14px;border:0;border-radius:var(--r-md);background:none;font-size:16px;font-weight:var(--fw-strong);color:var(--sun-700)}@media(max-width:480px){.site-shell .pet-row{gap:6px;padding:10px 12px}.site-shell .pet-row .pet-face{width:64px;height:64px}.site-shell .pet-row>.sound-toggle{top:8px;right:8px}}@media(min-width:781px){.site-shell .pet-row{padding:16px 18px;gap:10px}.site-shell .pet-row>.sound-toggle{top:14px;right:14px}.site-shell .pet-row .pet-face{width:96px;height:96px}.site-shell .pet-open{gap:16px}.site-shell .pet-row .pet-line{font-size:17px}.site-shell .pet-row .pet-english{font-size:19px}.site-shell .pet-name strong{font-size:24px}}@media(min-width:1100px){.site-shell .pet-row .pet-face{width:112px;height:112px}}.site-shell .pet-hello{display:flex;flex-direction:column;align-items:center;gap:16px;margin:0;padding:16px 0 4px;text-align:center}.site-shell .pet-hello .pet-face{width:148px;height:148px;background:var(--sun-50);box-shadow:inset 0 0 0 1px var(--sun-200)}.site-shell .pet-bubble{position:relative;max-width:360px;margin:0;padding:14px 22px;border:1px solid var(--sun-200);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-1);font-size:var(--fs-body-lg);font-weight:var(--fw-strong);line-height:1.6;color:var(--ink)}.site-shell .pet-bubble>span{display:block}.site-shell .pet-bubble:before{content:"";position:absolute;top:-8px;left:50%;width:14px;height:14px;background:var(--surface);border-top:1px solid var(--sun-200);border-left:1px solid var(--sun-200);transform:translate(-50%) rotate(45deg)}@media(min-width:781px){.site-shell .pet-hello .pet-face{width:180px;height:180px}}.site-shell .button.eitype-start{--ledge-color: var(--blue-ledge);--fill: var(--blue-600);--fill-hover: var(--blue-650);display:flex;align-items:center;justify-content:flex-start;gap:14px;width:100%;min-height:88px;margin:0;padding:14px;border-radius:var(--r-xl);font-size:var(--fs-cta);font-weight:var(--fw-strong);line-height:1.3;text-align:left;box-shadow:0 5px 0 var(--ledge-color)}.site-shell .button.eitype-start:not(:disabled):active{box-shadow:0 2px 0 var(--ledge-color)}.site-shell .button.eitype-start.step-test{--ledge-color: var(--green-ledge);--fill: var(--green-600);--fill-hover: var(--green-650)}.site-shell .button.eitype-start:is(.step-review,.step-listen,.step-choose){--ledge-color: var(--violet-ledge);--fill: var(--violet-600);--fill-hover: var(--violet-650)}.site-shell .eitype-start-emoji{flex:none;display:grid;place-items:center;width:60px;height:60px;border-radius:var(--r-md);background:#fff;font-size:38px;line-height:1}.site-shell .eitype-start-label{display:flex;flex-direction:column;min-width:0}.site-shell .eitype-start-label small{font-size:15px;font-weight:var(--fw-strong)}.site-shell .eitype-start-chip{flex:none;padding:4px 12px;border-radius:var(--r-pill);background:#fff;color:var(--violet-700);font-size:18px;font-weight:var(--fw-heavy);white-space:nowrap}.site-shell .eitype-start-go{flex:none;display:grid;place-items:center;width:40px;height:40px;margin-left:auto;border-radius:var(--r-round);background:#fff3;font-size:30px;line-height:1}.site-shell .eitype-start-chip+.eitype-start-go{margin-left:0}.site-shell .eitype-start-label+.eitype-start-chip{margin-left:auto}.site-shell .button.eitype-start.is-hello .eitype-start-label{flex-direction:row;gap:10px}.site-shell .button.eitype-start.is-hello{justify-content:center;align-self:center;max-width:420px;min-height:76px;font-size:26px;font-weight:var(--fw-heavy)}@media(min-width:781px){.site-shell .button.eitype-start{min-height:100px;padding:16px 20px 16px 16px;gap:18px}.site-shell .eitype-start-emoji{width:68px;height:68px;font-size:44px}.site-shell .eitype-start-label small{font-size:16px}}@media(max-width:360px){.site-shell .button.eitype-start{gap:10px;padding:12px 10px;font-size:20px}.site-shell .eitype-start-emoji{width:52px;height:52px;font-size:32px}.site-shell .eitype-start-go{width:32px;height:32px}}.site-shell .review-done{margin:0;text-align:center;font-size:16px;font-weight:var(--fw-strong);color:var(--green-700)}.site-shell .week-strip{padding:14px 12px;border:1px solid var(--line);border-radius:var(--r-xl);background:var(--surface);box-shadow:var(--shadow-1)}.site-shell .week-stamps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;margin:0;padding:0;list-style:none}.site-shell .week-stamps li{display:flex;flex-direction:column;align-items:center;gap:4px}.site-shell .week-stamp{display:grid;place-items:center;width:40px;height:40px;border:2px dashed var(--line-strong);border-radius:var(--r-round);background:var(--surface);font-size:20px;line-height:1}.site-shell .week-stamps li.is-done .week-stamp{border:2px solid var(--sun-400);background:var(--sun-50)}.site-shell .week-stamps li.is-today .week-stamp{box-shadow:0 0 0 3px var(--blue-100);border-color:var(--blue-600)}.site-shell .week-stamps li.is-today.is-done .week-stamp{border-color:var(--sun-600)}.site-shell .week-stamps small{font-size:14px;font-weight:var(--fw-strong);color:var(--ink-3);white-space:nowrap}.site-shell .week-stamps li.is-today small{color:var(--blue-700)}.site-shell .week-goal-line{margin:10px 0 0;text-align:center;font-size:17px;font-weight:var(--fw-strong);line-height:1.5;color:var(--ink)}@media(min-width:781px){.site-shell .week-strip{padding:18px 20px}.site-shell .week-stamp{width:48px;height:48px;font-size:24px}.site-shell .week-goal-line{font-size:19px}}@media(max-width:360px){.site-shell .week-strip{padding-inline:6px}.site-shell .week-stamp{width:34px;height:34px;font-size:17px}.site-shell .week-stamps li.is-today small{letter-spacing:-.06em}}.site-shell .overlay:has(.pet-sheet){place-items:end center;padding:0}.site-shell .dialog:has(.pet-sheet){position:relative;max-width:560px;max-height:min(88dvh,760px);overflow-y:auto;padding:18px 18px calc(20px + env(safe-area-inset-bottom));border-radius:var(--r-xl) var(--r-xl) 0 0;text-align:left}@media(min-width:600px){.site-shell .overlay:has(.pet-sheet){place-items:center;padding:20px}.site-shell .dialog:has(.pet-sheet){padding:24px;border-radius:var(--r-xl)}}.pet-sheet{display:grid;gap:14px}.site-shell .pet-sheet-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:var(--r-round);background:var(--sunken);font-size:20px;font-weight:var(--fw-heavy);color:var(--ink-2)}@media(hover:hover){.site-shell .pet-sheet-close:hover{background:var(--line);color:var(--ink)}}.site-shell .pet-sheet-head{display:flex;align-items:center;gap:14px;padding-right:48px}.site-shell .pet-sheet .pet-face{width:80px;height:80px;background:var(--sun-50);box-shadow:inset 0 0 0 1px var(--sun-200)}.site-shell .dialog .pet-sheet h2{margin:0;font-size:26px;font-weight:var(--fw-heavy);color:var(--sun-700)}.site-shell .pet-rename-button{min-width:44px;min-height:44px;padding:0;border:0;border-radius:var(--r-md);background:none;font-size:22px}.site-shell .pet-rename{display:flex;flex-wrap:wrap;gap:8px}.site-shell .pet-rename input{flex:1;min-width:8em;min-height:48px;padding:8px 12px;border:2px solid var(--control-edge);border-radius:var(--r-md);font:inherit;font-size:18px;color:var(--ink)}.site-shell .pet-rename .button{min-height:48px;padding:8px 20px}.site-shell .dialog .pet-sheet .pet-line{display:grid;gap:2px;margin:0;padding:12px 16px;border:1px solid var(--sun-200);border-radius:18px;background:var(--sun-50);font-size:17px;line-height:1.6;color:var(--ink)}.site-shell .pet-sheet .pet-say{display:flex;align-items:center;gap:10px}.site-shell .pet-sheet .pet-english{font-family:var(--font-en);font-size:20px;font-weight:var(--fw-heavy);color:var(--ink)}.site-shell .pet-sheet .pet-wardrobe h3{margin:0 0 8px;font-size:18px;font-weight:var(--fw-strong);color:var(--sun-700)}.site-shell .pet-sheet .pet-wardrobe h3 small{font-size:15px}.site-shell .dialog .pet-wardrobe-later{margin:0;font-size:16px;color:var(--ink-2)}.site-shell .pet-locked-item{display:inline-block;font-size:20px;line-height:1;vertical-align:-2px;filter:grayscale(1);opacity:.5}.site-shell .pet-howto>summary{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:6px 16px;border:2px solid var(--sun-200);border-radius:var(--r-pill);background:var(--surface);font-size:16px;font-weight:var(--fw-strong);color:var(--sun-700);cursor:pointer;list-style:none}.pet-howto>summary::-webkit-details-marker{display:none}.howto-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 0;padding:0;list-style:none}.site-shell .howto-steps li{display:grid;justify-items:center;gap:2px;padding:10px 8px;border-radius:var(--r-md);background:var(--sunken);text-align:center}.howto-icon{font-size:30px;line-height:1.2}.site-shell .howto-steps strong{font-size:16px;font-weight:var(--fw-strong);color:var(--ink)}.site-shell .howto-steps small{font-size:14px;line-height:1.5;color:var(--ink-2)}@media(min-width:600px){.howto-steps{grid-template-columns:repeat(4,minmax(0,1fr))}}.site-shell .genre-menu{max-width:1040px;margin:0 auto;padding-top:16px}@media(min-width:901px){.site-shell .genre-menu{padding-top:0}}.site-shell .genre-menu h1{margin:0;font-size:var(--fs-title);font-weight:var(--fw-heavy);color:var(--ink)}.site-shell .genre-menu .level-switch{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;max-width:620px;margin-top:14px;padding:4px;border-radius:var(--r-pill);background:var(--sunken)}.site-shell .genre-menu .level-switch button{min-height:48px;padding:6px 2px;border:0;border-radius:var(--r-pill);background:transparent;color:var(--ink-2);font-size:clamp(11px,3.2vw,16px);letter-spacing:-.02em;font-weight:var(--fw-strong);white-space:nowrap;transition:background-color var(--dur-2),box-shadow var(--dur-2)}.site-shell .genre-menu .level-switch button.is-selected{background:var(--surface);color:var(--ink);font-weight:var(--fw-heavy);box-shadow:var(--shadow-1),0 0 0 1px var(--line)}.site-shell .genre-menu .level-note{margin:8px 4px 0;font-size:15px;line-height:1.6;color:var(--ink-2)}.site-shell .eiken-meter{display:grid;gap:8px;max-width:560px;margin-top:12px;padding:12px 16px 14px;border-radius:var(--r-lg);background:var(--sun-50);box-shadow:inset 0 0 0 1px var(--sun-200)}.site-shell .eiken-meter p{margin:0}.site-shell .eiken-meter-top{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 12px}.site-shell .eiken-meter-count{font-size:16px;font-weight:var(--fw-strong);line-height:1.3;color:var(--ink-2);font-variant-numeric:tabular-nums}.site-shell .eiken-meter-label{display:inline-block;margin-right:6px;font-weight:var(--fw-heavy);color:var(--sun-700)}.site-shell .eiken-meter-count strong{font-family:var(--font-en);font-size:26px;font-weight:var(--fw-heavy);color:var(--ink)}.site-shell .eiken-meter-left{font-size:16px;font-weight:var(--fw-heavy);color:var(--sun-700);white-space:nowrap}.site-shell .eiken-meter-bar{height:10px;overflow:hidden;border-radius:var(--r-pill);background:var(--surface);box-shadow:inset 0 0 0 1px #1d2b4f0f}.site-shell .eiken-meter-bar>span{display:block;height:100%;border-radius:inherit;background:var(--progress)}.site-shell .eiken-meter-note{font-size:14px;line-height:1.5;color:var(--ink-2)}.site-shell .eiken-practice h2{margin-bottom:4px}.site-shell .eiken-practice-note{margin:0 2px 12px;font-size:15px;line-height:1.6;color:var(--ink-2)}.site-shell .eiken-practice-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:900px}.site-shell .eiken-practice-tile{display:flex;align-items:center;gap:12px;min-height:76px;padding:12px 14px;border:2px solid var(--blue-200);border-radius:var(--r-lg);background:var(--blue-50);color:var(--ink);box-shadow:0 var(--ledge) 0 var(--blue-200);font:inherit;text-align:left;transition:transform var(--dur-1),box-shadow var(--dur-1);touch-action:manipulation}.site-shell .eiken-practice-tile.kind-listen{border-color:var(--violet-200);background:var(--violet-50);box-shadow:0 var(--ledge) 0 var(--violet-200)}@media(hover:hover){.site-shell .eiken-practice-tile:hover{transform:translateY(-2px)}}.site-shell .eiken-practice-tile:active{transform:translateY(3px);box-shadow:0 1px 0 var(--blue-200)}.site-shell .eiken-practice-icon{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:var(--r-md);background:var(--surface);font-size:28px;line-height:1}.site-shell .eiken-practice-main{flex:1;min-width:0;display:grid;gap:2px}.site-shell .eiken-practice-main strong{font-size:19px;font-weight:var(--fw-heavy);line-height:1.3}.site-shell .eiken-practice-main small{font-size:14px;line-height:1.4;color:var(--ink-2)}.site-shell .eiken-practice-count{flex:none;padding:2px 10px;border-radius:var(--r-pill);background:var(--surface);font-size:15px;font-weight:var(--fw-heavy);color:var(--blue-700);white-space:nowrap}.site-shell .eiken-practice-tile.kind-listen .eiken-practice-count{color:var(--violet-700)}@media(max-width:860px){.site-shell .eiken-practice-list{grid-template-columns:minmax(0,1fr);max-width:560px}}.site-shell .button.genre-certificate{margin-top:14px}.site-shell .genre-section{margin-top:24px}.site-shell .genre-section h2{margin:0 2px 14px;font-size:var(--fs-heading);font-weight:var(--fw-heavy);letter-spacing:.02em;color:var(--ink)}.site-shell .genre-menu .study-progress-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}@media(min-width:600px){.site-shell .genre-menu .study-progress-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 16px}}@media(min-width:1100px){.site-shell .genre-menu .study-progress-list{grid-template-columns:repeat(4,minmax(0,1fr))}}.site-shell .genre-review{display:flex;align-items:center;gap:12px;width:100%;max-width:480px;min-height:64px;margin:14px 0 0;padding:8px 12px 8px 8px;border:1px solid var(--violet-200);border-radius:var(--r-lg);background:var(--violet-50);box-shadow:0 var(--ledge) 0 var(--violet-200);color:var(--violet-700);font:inherit;font-size:19px;font-weight:var(--fw-strong);text-align:left;cursor:pointer}.site-shell .genre-review:active{transform:translateY(3px);box-shadow:0 1px 0 var(--violet-200)}.site-shell .genre-review-icon{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:var(--r-md);background:var(--surface);font-size:28px;line-height:1}.site-shell .genre-review-label{flex:1;min-width:0}.site-shell .genre-review-count{flex:none;padding:2px 12px;border-radius:var(--r-pill);background:var(--surface);font-size:18px;font-weight:var(--fw-heavy);white-space:nowrap}.site-shell .genre-review-go{flex:none;font-size:26px;line-height:1}.site-shell .genre-tile{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"icon count" "main main" "pill pill";align-items:center;gap:10px;min-width:0;margin:0;padding:14px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--tile-bg, var(--surface));box-shadow:0 var(--ledge) 0 var(--line-strong);color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:transform var(--dur-1),box-shadow var(--dur-2)}@media(hover:hover){.site-shell .genre-tile:hover{transform:translateY(-2px);box-shadow:0 var(--ledge) 0 var(--line-strong),var(--shadow-2)}}.site-shell .genre-tile:active{transform:translateY(3px);box-shadow:0 1px 0 var(--line-strong)}.tile-color-0{--tile-bg: var(--tint-0)}.tile-color-1{--tile-bg: var(--tint-1)}.tile-color-2{--tile-bg: var(--tint-2)}.tile-color-3{--tile-bg: var(--tint-3)}.tile-color-4{--tile-bg: var(--tint-4)}.tile-color-5{--tile-bg: var(--tint-5)}.site-shell .genre-tile.is-complete{--tile-bg: var(--sun-50);border-color:var(--sun-200)}.site-shell .genre-tile .study-progress-icon{grid-area:icon;display:grid;place-items:center;width:52px;height:52px;border-radius:var(--r-md);background:var(--surface);box-shadow:0 1px 2px #1d2b4f0f;font-size:32px;line-height:1}.site-shell .genre-tile .study-progress-count{grid-area:count;justify-self:end;align-self:start;font-size:15px;font-weight:var(--fw-strong);color:var(--ink-2);font-variant-numeric:tabular-nums;white-space:nowrap}.site-shell .genre-tile .study-progress-main{grid-area:main;display:grid;gap:8px;min-width:0}.site-shell .genre-tile .study-progress-main strong{font-size:18px;font-weight:var(--fw-strong);line-height:1.3;color:var(--ink)}.site-shell .genre-tile .study-progress-track{display:block;height:8px;border-radius:var(--r-pill);background:#fffffff2;box-shadow:inset 0 0 0 1px #1d2b4f0f;overflow:hidden}.site-shell .genre-tile .study-progress-track>span{display:block;height:100%;border-radius:inherit;background:var(--progress)}.site-shell .genre-tile .study-step-pill{grid-area:pill;display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:4px 8px;border:1px solid var(--step-edge);border-radius:var(--r-pill);background:var(--step-bg);color:var(--step-ink);font-size:16px;font-weight:var(--fw-strong);white-space:nowrap}.site-shell .study-step-pill:is(.step-learn,.step-relearn,.step-arrange,.step-practice){--step-bg: var(--blue-50);--step-ink: var(--blue-700);--step-edge: var(--blue-200)}.site-shell .study-step-pill.step-test{--step-bg: var(--green-50);--step-ink: var(--green-700);--step-edge: var(--green-200)}.site-shell .study-step-pill:is(.step-listen,.step-choose){--step-bg: var(--violet-50);--step-ink: var(--violet-700);--step-edge: var(--violet-200)}.site-shell .study-step-pill .step-icon{font-size:18px;line-height:1}.site-shell .genre-tile.is-current{border-color:var(--sun-600);box-shadow:0 0 0 2px var(--sun-400),0 var(--ledge) 0 var(--line-strong)}.site-shell .genre-here{position:absolute;top:-12px;left:12px;z-index:1;padding:2px 10px;border-radius:var(--r-pill);background:var(--sun-400);box-shadow:0 2px 0 var(--sun-600);color:var(--ink);font-size:14px;font-weight:var(--fw-strong);white-space:nowrap}@media(min-width:781px){.site-shell .genre-tile{padding:18px;border-radius:var(--r-xl)}.site-shell .genre-tile .study-progress-icon{width:60px;height:60px;font-size:38px}.site-shell .genre-tile .study-progress-main strong{font-size:20px}.site-shell .genre-tile .study-step-pill{font-size:17px}}@media(max-width:360px){.site-shell .genre-tile{padding:12px 10px}.site-shell .genre-tile .study-progress-main strong{font-size:min(18px,4.8vw)}.site-shell .genre-tile .study-progress-icon{width:44px;height:44px;font-size:28px}.site-shell .genre-tile .study-step-pill{font-size:15px;gap:4px}}.site-shell .genre-menu .course-lock{margin:16px 4px 0;padding:24px 16px;border:2px solid var(--line-strong);border-radius:var(--r-lg);background:var(--surface);text-align:center}.site-shell .genre-menu .course-lock-icon{font-size:40px;line-height:1}.site-shell .genre-menu .course-lock-title{margin:12px 0 0;font-size:20px;line-height:1.5;font-weight:900;color:var(--ink)}.site-shell .genre-menu .course-lock-text{margin:8px 0 0;font-size:16px;color:var(--ink-2)}.site-shell .genre-menu .course-lock-open{margin-top:16px}:root{font-family:Nunito Variable,Zen Maru Gothic,Hiragino Maru Gothic ProN,Yu Gothic,system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:weight;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}h1,h2,h3,p{margin:0}a{color:var(--blue-700)}button{color:inherit}.screen{padding-bottom:26px;animation:fade-in var(--dur-4) var(--ease-out)}.button{display:inline-flex;align-items:center;justify-content:center;gap:19px;border:0;border-radius:var(--r-md);padding:13px 23px;font-size:15px;font-weight:700;transition:transform var(--dur-1),background-color var(--dur-2),box-shadow var(--dur-1);min-height:46px}@media(hover:hover){.button:hover{transform:translateY(-2px)}}.main-footer{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:19px 3px;color:var(--ink-2);font-size:11px}.back-link{border:0;background:none;color:var(--ink-2);font-size:13px;font-weight:700;margin:9px 0 19px;padding:0}.icon-text-button{background:none;border:0;color:var(--ink-2);font-size:12px;font-weight:700;padding:8px 0;white-space:nowrap}.overlay{position:fixed;inset:0;background:var(--scrim);display:grid;place-items:center;z-index:30;padding:20px;backdrop-filter:blur(4px)}.dialog{background:var(--surface);border-radius:var(--r-xl);padding:35px 32px;max-width:420px;width:100%;text-align:center;box-shadow:var(--shadow-3)}.dialog-emoji{font-size:52px}.dialog h2{font-size:22px;margin-top:9px}.dialog p{margin-top:12px;color:var(--ink-2);font-size:14px;line-height:1.7}.dialog-actions{display:flex;justify-content:center;gap:11px;flex-wrap:wrap;margin-top:23px}.button.primary{color:var(--surface);background:var(--blue-600);box-shadow:0 4px 0 var(--blue-ledge)}.button.ghost{color:var(--blue-700);background:var(--surface)}.button.destructive{background:var(--rose-600);color:var(--surface)}.page-intro{margin:16px 0 24px}.page-intro h1{font-size:32px;font-weight:900;margin:8px 0}.page-intro p{color:var(--ink-2);font-size:14px}@keyframes fade-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes blink{50%{opacity:0}}@media(max-width:480px){.main-footer{font-size:9px}}.sound-toggle{display:inline-grid;place-items:center;flex:0 0 42px;width:42px;height:42px;padding:0;border:0;border-radius:var(--r-round);background:transparent;color:var(--blue-600);cursor:pointer;touch-action:manipulation;transition:color var(--dur-2),background-color var(--dur-2)}.sound-toggle svg{display:block;pointer-events:none}.sound-toggle.is-muted{color:var(--ink-3)}@media(hover:hover){.sound-toggle:hover{background:var(--blue-100);color:var(--blue-700)}}@media(max-width:480px){.sound-toggle{flex-basis:40px;width:40px;height:40px}}.sound-switch{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:5px 11px 5px 8px;border:1px solid var(--line-strong);border-radius:var(--r-pill);background:var(--surface);color:var(--ink-2);font-size:12px;font-weight:700;white-space:nowrap;touch-action:manipulation}.sound-switch svg{width:17px;height:17px}.sound-switch.is-muted{color:var(--ink-3);background:var(--sunken)}.sound-toggle.is-hidden{visibility:hidden;pointer-events:none}.sound-toggle{color:var(--blue-600)}@media(max-width:480px){.sound-switch{min-height:34px;padding:4px 9px 4px 7px;font-size:11px}}.profile-picker{max-width:720px;margin:24px auto;text-align:center}.profile-picker h1{font-size:clamp(26px,4vw,34px);font-weight:900}.profile-picker>p{margin-top:18px;font-size:13px;color:var(--ink-2);font-weight:400}.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin-top:22px}.profile-option{display:flex;flex-direction:column;align-items:center;gap:8px;padding:22px 12px;border:2px solid var(--line);border-radius:var(--r-xl);background:var(--surface);color:var(--ink);font-size:18px;font-weight:700}.profile-option.is-current{border-color:var(--blue-600)}.profile-option:hover{background:var(--sunken)}.profile-icon{font-size:52px;line-height:1}.footer-link{border:0;background:none;padding:0;color:var(--ink-2);font-size:inherit;font-weight:400;text-decoration:underline;text-underline-offset:3px}.footer-link:hover{color:var(--ink)}.pet-happy .pet-face{animation:pet-hop 2.4s ease-in-out infinite}@keyframes pet-hop{0%,80%,to{transform:translateY(0)}88%{transform:translateY(-6px)}}@media(prefers-reduced-motion:reduce){.pet-happy .pet-face{animation:none}}:root{color-scheme:light;--paper: #FFF8EC;--surface: #FFFFFF;--sunken: #F5EEE2;--line: #ECE2D0;--line-strong: #D8CAB2;--key-ledge: #CDBFA6;--control-edge: #958870;--ink: #1D2B4F;--ink-2: #45506D;--ink-3: #5E6781;--blue-600: #1F63D8;--blue-650: #1A56BF;--blue-700: #174CB0;--blue-ledge: #1546A0;--blue-200: #BBD0FB;--blue-100: #DCE7FF;--blue-50: #EAF1FF;--green-600: #12793A;--green-650: #0F6A33;--green-700: #0E6630;--green-ledge: #0B5A2A;--green-500: #1F8A4A;--green-200: #A6DFBB;--green-100: #CDEFD8;--green-50: #E3F6E9;--rose-600: #B42C55;--rose-700: #9C2149;--rose-500: #C9416A;--rose-ledge: #8A1F40;--rose-200: #F5B5C7;--rose-50: #FFEDF2;--sun-400: #FFC93C;--sun-600: #B57B00;--sun-300: #FFD966;--sun-700: #7A4E00;--sun-750: #6A4300;--sun-ledge: #5E3C00;--sun-200: #FFE08A;--sun-50: #FFF5D6;--progress: linear-gradient(90deg, #FFB020, #F27A1A);--track: #EFE5D3;--violet-600: #6A3BD0;--violet-650: #5D31BD;--violet-700: #5428B0;--violet-ledge: #4A26A0;--violet-200: #D4C4F8;--violet-50: #F2ECFF;--tint-0: #EEF4FF;--tint-1: #FFF1E0;--tint-2: #E9F7EC;--tint-3: #F4EFFF;--tint-4: #FFEEF3;--tint-5: #E6F6F5;--focus: #1F63D8;--font-ui: "Nunito Variable", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", system-ui, sans-serif;--font-en: "Nunito Variable", "Nunito", system-ui, sans-serif;--fw-body: 400;--fw-strong: 700;--fw-heavy: 900;--fs-hero-en: clamp(56px, 16vw, 72px);--fs-prompt: clamp(36px, 10vw, 44px);--fs-prompt-phrase: 28px;--fs-title: 28px;--fs-heading: 20px;--fs-cta: 22px;--fs-button: 18px;--fs-body-lg: 18px;--fs-body: 16px;--fs-label: 14px;--fs-nav: 13px;--fs-tile: 28px;--fs-key: 20px;--fs-number: 28px;--lh-tight: 1.15;--lh-heading: 1.35;--lh-body: 1.7;--lh-parent: 1.8;--sp-1: 4px;--sp-2: 8px;--sp-3: 12px;--sp-4: 16px;--sp-5: 20px;--sp-6: 24px;--sp-8: 32px;--sp-10: 40px;--sp-12: 48px;--sp-16: 64px;--gutter: 16px;--stack: 12px;--card-pad: 16px;--r-sm: 10px;--r-md: 14px;--r-lg: 18px;--r-xl: 26px;--r-pill: 999px;--r-round: 50%;--shadow-1: 0 1px 2px rgb(29 43 79 / .05), 0 2px 8px rgb(29 43 79 / .05);--shadow-2: 0 2px 4px rgb(29 43 79 / .06), 0 10px 24px rgb(29 43 79 / .08);--shadow-3: 0 12px 24px rgb(29 43 79 / .1), 0 32px 64px rgb(29 43 79 / .18);--ledge: 4px;--scrim: rgb(29 43 79 / .55);--dur-1: 90ms;--dur-2: .16s;--dur-3: .24s;--dur-4: .36s;--dur-5: .7s;--ease-out: cubic-bezier(.22, 1, .36, 1);--ease-in: cubic-bezier(.55, 0, 1, .45);--ease-inout: cubic-bezier(.65, 0, .35, 1);--ease-spring: cubic-bezier(.34, 1.56, .64, 1);--cream: var(--paper);--ink-soft: var(--ink-2);--blue: var(--blue-600);--blue-soft: var(--blue-50);--blue-edge: var(--blue-200);--green: var(--green-600);--green-soft: var(--green-50);--green-edge: var(--green-200);--purple: var(--violet-600);--purple-soft: var(--violet-50);--purple-edge: var(--violet-200);--pink: var(--rose-600);--pink-soft: var(--rose-50);--pink-edge: var(--rose-200);--orange: var(--sun-700);--orange-soft: var(--sun-50);--orange-edge: var(--sun-200);--teal: var(--blue-700);--teal-soft: var(--blue-50);--teal-edge: var(--blue-200);--sun: var(--sun-400)}@media(min-width:781px){:root{--fs-hero-en: 80px;--fs-prompt: 52px;--fs-prompt-phrase: 34px;--fs-title: 32px;--fs-heading: 22px;--fs-cta: 24px;--fs-body-lg: 19px;--fs-label: 15px;--fs-tile: 32px;--fs-key: 22px;--fs-number: 32px;--gutter: 24px;--stack: 16px;--card-pad: 20px}}@media(min-width:1100px){:root{--fs-hero-en: 88px;--fs-prompt: 56px;--fs-prompt-phrase: 38px;--fs-title: 34px;--fs-body: 17px;--fs-nav: 16px;--fs-tile: 34px;--fs-number: 34px;--gutter: 40px;--stack: 20px;--card-pad: 24px}}.site-shell{word-break:keep-all;overflow-wrap:break-word;line-break:strict}.site-shell :is(h1,h2,h3,.target-meaning,.learning-mode-label,.choose-prompt,.typing-feedback){text-wrap:balance}.site-shell p{text-wrap:pretty}.site-shell :is(.parent-page,.guide-page,.main-footer){word-break:normal;line-break:auto}:where(.site-shell) :where(h1,h2,h3){line-height:var(--lh-heading)}:where(.site-shell) :where(p){line-height:var(--lh-body)}:where(.site-shell .parent-page) :where(p,li){line-height:var(--lh-parent)}:is(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--focus);outline-offset:3px}@media(prefers-reduced-motion:reduce){:root{--dur-1: 0ms;--dur-2: 0ms;--dur-3: 0ms;--dur-4: 0ms;--dur-5: 0ms;--ease-spring: linear}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.tile-caret{animation:none!important;opacity:1!important}.key-cap.key-target:after{animation:none!important;opacity:0}.site-shell :is(.button,.genre-tile,.key-cap,.choose-option,.arrange-card,.word-card,.cards-entry,.learning-progress-card,.profile-option):is(:hover,:active){transform:none!important}}body{background:var(--paper)}.site-shell{color:var(--ink);font-size:18px;font-weight:var(--fw-body)}.site-shell :is(.button,.key-cap,.hint-button,.delete-button,.choose-option,.arrange-card,.learning-space-action,.genre-tile,button.word-card,.level-switch button,.card-level-switch button,.nav-link,.pet-open,.profile-option,.pet-wardrobe-items button,.outline-button){touch-action:manipulation}.site-shell .button{--ledge-color: var(--line-strong);min-height:56px;font-size:var(--fs-button);font-weight:var(--fw-strong);border-radius:var(--r-lg);padding:14px 24px;box-shadow:0 var(--ledge) 0 var(--ledge-color)}.site-shell .button:not(:disabled):active{transform:translateY(3px);box-shadow:0 1px 0 var(--ledge-color)}.site-shell .button.primary{--ledge-color: var(--blue-ledge);--fill: var(--blue-600);--fill-hover: var(--blue-650);background:var(--fill);color:#fff}.site-shell .button.ghost{--ledge-color: var(--blue-200);background:var(--surface);color:var(--blue-700);border:2px solid var(--blue-200)}.site-shell .button.destructive{--ledge-color: var(--rose-ledge);background:var(--rose-600);color:#fff}.site-shell .button:disabled{--ledge-color: transparent;background:var(--sunken);color:var(--ink-3);border-color:var(--line);opacity:1}@media(hover:hover){.site-shell .button.primary:not(:disabled):hover{background:var(--fill-hover)}.site-shell .button.ghost:not(:disabled):hover{background:var(--blue-50)}}.site-shell .back-link,.site-shell .icon-text-button{font-size:18px;font-weight:var(--fw-strong);color:var(--ink-2);min-height:48px}.site-shell .main-footer{font-size:14px;color:var(--ink-3);border-color:var(--line)}@media(max-width:359px){.site-shell .sound-switch{min-width:44px;justify-content:center;padding:8px}.site-shell .sound-switch span{display:none}}.confetti{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:40}.confetti span{position:absolute;top:-24px;border-radius:3px;animation:confetti-fall 2.6s var(--ease-in) forwards}@keyframes confetti-fall{0%{transform:translateY(0) rotate(0);opacity:1}to{transform:translateY(105vh) rotate(540deg);opacity:.9}}@media(prefers-reduced-motion:reduce){.confetti{display:none}}.site-shell .page-intro h1{font-size:var(--fs-title);font-weight:var(--fw-heavy);color:var(--ink)}.site-shell .page-intro p{font-size:18px;color:var(--ink-2)}.site-shell .profile-picker h1{font-size:clamp(32px,5vw,42px);font-weight:var(--fw-heavy);color:var(--ink)}.site-shell .profile-picker>p{font-size:17px;color:var(--ink-2)}.site-shell .profile-option{border:1px solid var(--line);border-radius:var(--r-xl);background:var(--surface);box-shadow:0 var(--ledge) 0 var(--line-strong);min-height:160px;transition:transform var(--dur-1),box-shadow var(--dur-1)}.site-shell .profile-option:active{transform:translateY(3px);box-shadow:0 1px 0 var(--line-strong)}.site-shell .profile-option strong{font-size:24px;font-weight:var(--fw-strong);color:var(--ink)}.site-shell .profile-option.is-current{border-color:var(--blue-600);box-shadow:inset 0 0 0 2px var(--blue-600),0 var(--ledge) 0 var(--blue-200)}.site-shell .profile-icon{font-size:72px}.site-shell .dialog{border-radius:var(--r-xl)}.site-shell .dialog h2{font-size:26px;font-weight:var(--fw-heavy);color:var(--ink)}.site-shell .dialog p{font-size:17px;color:var(--ink-2)}.site-shell .footer-link{font-size:14px}.site-shell .sound-switch{min-height:44px;padding:8px 14px;font-size:15px;font-weight:var(--fw-strong)}.site-shell .sound-switch span{font-size:15px}.site-shell .sound-toggle{min-width:44px;min-height:44px;border-radius:var(--r-round);background:var(--blue-50);color:var(--blue-600)}.site-shell .sound-toggle svg{width:26px;height:26px;stroke-width:2.25}.site-shell .sound-toggle svg path:first-child,.site-shell .sound-switch svg path:first-child{fill:currentColor}.site-shell .sound-toggle.is-muted{background:var(--sunken);color:var(--ink-3)}@media(hover:hover){.site-shell .sound-toggle:hover{background:var(--blue-100);color:var(--blue-700)}}.site-shell .sound-toggle:not(.is-hidden):active{transform:scale(.94)}.site-shell .footer-link{min-height:44px;display:inline-flex;align-items:center}@media(max-width:480px){.site-shell .sound-switch{padding:8px 10px;gap:4px}}@keyframes wing-left{50%{transform:rotate(28deg)}}@keyframes wing-right{50%{transform:rotate(-28deg)}}@keyframes piko-hop{40%{transform:translateY(-8px)}}@keyframes egg-wobble{0%,70%,to{transform:rotate(0)}78%{transform:rotate(-6deg)}86%{transform:rotate(5deg)}94%{transform:rotate(-2deg)}}.pet-wardrobe-items{display:flex;flex-wrap:wrap;gap:8px}.site-shell .pet-wardrobe-items button{min-height:44px;padding:6px 14px;border:2px solid var(--sun-200);border-radius:var(--r-md);background:var(--surface);font-size:16px;font-weight:var(--fw-strong);color:var(--ink);box-shadow:0 3px 0 var(--sun-200)}.site-shell .pet-wardrobe-items button:not(:disabled):active{transform:translateY(2px);box-shadow:0 1px 0 var(--sun-200)}.site-shell .pet-wardrobe-items button[aria-pressed=true]{border-color:var(--sun-600);background:var(--sun-400);color:var(--ink);box-shadow:0 3px 0 var(--sun-600)}.site-shell .pet-wardrobe-items button:disabled{border-style:dashed;border-color:var(--line-strong);background:var(--sunken);color:var(--ink-2);opacity:1;font-size:14px;box-shadow:none}.site-shell .main-footer{flex-wrap:wrap}.site-shell .footer-keep{flex-basis:100%;justify-content:flex-start;text-align:left;color:var(--sun-700)}.site-shell.in-session{display:block;min-height:100vh;min-height:100dvh}.site-shell.in-session>.sidebar,.site-shell.in-session .main-footer{display:none}.site-shell.in-session>.main-content{padding:0}:root:has(.site-shell.in-session),:root:has(.site-shell.in-session) body{overscroll-behavior-y:none}.site-shell:has(.result-buttons[aria-disabled=true])>.sidebar{pointer-events:none}.session .is-resting{pointer-events:none}.session,.overlay{touch-action:manipulation}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}.session{--bar-h: 56px;--side: 12px;--gap: clamp(8px, 1.6vh, 20px);--prompt: clamp(32px, 6.2vh, 52px);--prompt-phrase: clamp(24px, 3.9vh, 32px);--field-h: clamp(56px, 9vh, 80px);--field-font: clamp(30px, 5.2vh, 44px);--field-font-phrase: clamp(22px, 3.6vh, 30px);--key-h: 52px;--key-gap: 3px;--row-gap: 6px;--key-max: none;--learn-ja: clamp(40px, min(13vw, 8vh), 66px);--learn-en: clamp(56px, min(19vw, 11vh), 96px);--learn-ja-phrase: clamp(28px, min(8.6vw, 5.4vh), 46px);--learn-en-phrase: clamp(26px, min(8vw, 5vh), 46px);display:flex;flex-direction:column;width:100%;max-width:880px;min-height:100vh;min-height:100dvh;margin:0 auto;animation:session-in var(--dur-4) var(--ease-out)}@keyframes session-in{0%{opacity:0}}.session-bar{flex:none;display:flex;align-items:center;gap:10px;height:var(--bar-h);padding:0 max(var(--side),env(safe-area-inset-right)) 0 max(var(--side),env(safe-area-inset-left))}.session-exit{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:48px;height:48px;margin-left:-8px;padding:0 12px 0 10px;border:0;border-radius:var(--r-pill);background:transparent;color:var(--ink-2);font-size:16px;font-weight:var(--fw-strong);white-space:nowrap;transition:background-color var(--dur-2)}.session-exit:active{background:var(--sunken)}@media(hover:hover){.session-exit:hover{background:var(--sunken);color:var(--ink)}}.session-meter{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:6px}.session .game-counter{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0;color:var(--ink-2);font-size:15px;font-weight:var(--fw-strong);line-height:1.2;white-space:nowrap}.session-title{min-width:0;overflow:hidden;text-overflow:ellipsis}.session .game-counter strong{flex:none;font-family:var(--font-en);font-size:17px;font-weight:900;color:var(--ink);font-variant-numeric:tabular-nums}.session .game-progress-line{height:8px;margin:0;border-radius:var(--r-pill);background:var(--track);overflow:hidden}.session .game-progress-line div{height:100%;border-radius:inherit;background:var(--progress);transition:width var(--dur-4) var(--ease-out)}.session .session-title.tone-listen{color:var(--violet-700)}.session-bar .sound-switch{flex:none;gap:8px;height:48px;min-height:48px;padding:0 10px 0 14px;border:1px solid var(--line-strong);border-radius:var(--r-pill);background:var(--surface);color:var(--ink-2)}.session-bar .sound-switch .sound-switch-label{display:inline;font-size:16px;font-weight:var(--fw-strong);line-height:1}.session-bar .sound-switch .sound-switch-track{position:relative;display:block;flex:none;width:34px;height:20px;border-radius:var(--r-pill);background:var(--blue-600);transition:background-color var(--dur-2)}.session-bar .sound-switch .sound-switch-knob{position:absolute;top:2px;left:16px;display:block;width:16px;height:16px;border-radius:var(--r-round);background:var(--surface);box-shadow:0 1px 2px #1d2b4f4d;transition:left var(--dur-2) var(--ease-out)}.session-bar .sound-switch.is-muted{background:var(--sunken);color:var(--ink-3)}.session-bar .sound-switch.is-muted .sound-switch-track{background:var(--control-edge)}.session-bar .sound-switch.is-muted .sound-switch-knob{left:2px}@media(max-width:359px){.session-exit{padding:0 10px}.session-exit-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}.session-stage{flex:1 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--gap);margin:0 max(var(--side),env(safe-area-inset-right)) 0 max(var(--side),env(safe-area-inset-left));padding:clamp(10px,2vh,32px) clamp(4px,2vw,24px);text-align:center}.session:not(.game-wrap)>.session-stage{margin-bottom:max(12px,env(safe-area-inset-bottom))}.learning-stage{padding:clamp(14px,2.6vh,36px) clamp(12px,3vw,36px);border:1px solid var(--line);border-radius:var(--r-xl);background:var(--surface);box-shadow:var(--shadow-1)}.session-question{display:flex;flex-direction:column;align-items:center;gap:var(--gap);width:100%}.session-swap{animation:question-in var(--dur-3) var(--ease-out)}.prompt-line{min-width:0}@keyframes question-in{0%{opacity:0;transform:translateY(12px)}}.session .word-prompt{display:flex;align-items:center;justify-content:center;gap:10px;max-width:100%}.session .target-meaning{min-width:0;margin:0;font-size:var(--prompt);font-weight:var(--fw-heavy);line-height:1.3;letter-spacing:.02em;color:var(--ink);overflow-wrap:anywhere}.session :is(.stage-conversation,.arrange-stage) .target-meaning{font-size:var(--prompt-phrase);line-height:1.4}.session .game-stage{container-type:inline-size}.session .target-meaning.is-fitted{--picture: 0px;font-size:max(22px,min(var(--prompt),calc((100cqi - 72px - var(--picture)) / (var(--chars) * 1.04))))}.session .target-meaning.is-fitted.with-picture{--picture: calc(var(--prompt) * 1.2)}.session .word-prompt-illustration{flex:none;font-size:calc(var(--prompt) * .95);line-height:1}.session .word-prompt .sound-toggle{flex:none;width:48px;height:48px}.session .listen-prompt-text{font-size:var(--prompt-phrase);font-weight:var(--fw-heavy);color:var(--ink)}.session .listen-prompt .sound-toggle:not(.is-muted){background:var(--violet-50);color:var(--violet-700)}@media(hover:hover){.session .listen-prompt .sound-toggle:not(.is-muted):hover{background:var(--violet-200);color:var(--violet-700)}}.session .practice-answer{margin:0;font-family:var(--font-en);font-size:clamp(26px,4.4vh,40px);font-weight:800;line-height:1.25;letter-spacing:.04em;color:var(--ink-2);overflow-wrap:anywhere}.session .practice-answer.is-long{font-size:clamp(20px,3.2vh,30px);letter-spacing:.02em}.session .practice-answer .is-typed{color:var(--green-700)}.session .practice-answer .is-next{color:var(--ink);box-shadow:inset 0 -4px 0 var(--sun-400)}.answer-field{display:flex;flex-direction:row-reverse;align-items:center;width:min(100%,440px);height:var(--field-h);padding:0 18px;overflow:hidden;border:2px solid var(--control-edge);border-radius:var(--r-lg);background:var(--surface);box-shadow:inset 0 2px #1d2b4f0d;font-family:var(--font-en);font-size:var(--field-font);font-weight:800;line-height:1;color:var(--ink)}.answer-field.is-phrase{font-size:var(--field-font-phrase)}.answer-field-line{flex:none;display:inline-flex;align-items:center;margin:0 auto;white-space:pre}.answer-field .tile-caret{display:inline-block;width:3px;height:1.05em;margin:0 2px;border-radius:var(--r-pill);background:var(--ink);animation:blink 1.1s steps(1,end) infinite}.answer-ghost{color:var(--sun-600)}.answer-field.is-wrong{border-color:var(--rose-500);background:var(--rose-50);animation:shake-a var(--dur-3) var(--ease-inout)}.game-stage.is-correct .answer-field{border-color:var(--green-500);background:var(--green-50);color:var(--green-700)}.game-stage.is-correct .answer-typed{display:inline-block;animation:word-hop var(--dur-5) var(--ease-out)}.game-stage.is-guided .answer-field{border-color:var(--sun-600)}.answer-field.is-wrong.is-guidance{border-color:var(--sun-600);background:var(--sun-50)}.answer-status{position:relative;flex:none;display:flex;align-items:center;justify-content:center;width:100%;min-height:44px}.status-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;min-height:40px;margin:0;padding:6px 16px;border-radius:var(--r-pill);font-size:17px;font-weight:var(--fw-strong);line-height:1.35;animation:pill-in var(--dur-3) var(--ease-out)}.status-pill.tone-ok{background:var(--green-50);color:var(--green-700)}.status-pill.tone-wrong{background:var(--rose-50);color:var(--rose-700)}.status-pill.tone-hint{background:var(--sun-50);color:var(--sun-700)}.status-pill.tone-calm{padding:6px 4px;background:transparent;color:var(--ink-2)}.answer-peek strong{font-family:var(--font-en);font-size:26px;font-weight:900;line-height:1;color:var(--ink);white-space:pre-wrap}.answer-peek .session-icon{flex:none}@keyframes pill-in{0%{opacity:0;transform:translateY(6px)}}.session .ime-notice{display:grid;gap:4px;margin:0 var(--side) 8px;padding:12px 16px;border:1px solid var(--sun-200);border-radius:var(--r-lg);background:var(--sun-50);text-align:left;animation:pill-in var(--dur-3) var(--ease-out)}.session .ime-notice strong{font-size:18px;font-weight:var(--fw-strong);color:var(--sun-700)}.session .ime-notice span{font-size:15px;font-weight:var(--fw-body);line-height:1.6;color:var(--ink-2)}.session .keyboard-panel{flex:none;overflow-x:clip;margin-top:10px;padding:8px max(3px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(3px,env(safe-area-inset-left));border:0;border-radius:22px 22px 0 0;background:var(--sunken);box-shadow:0 -1px 0 var(--line)}.session .keyboard-panel-top{display:flex;justify-content:center;margin:0 0 8px}.session .finger-hint{font-size:16px;font-weight:var(--fw-strong);color:var(--ink-2)}.session .finger-hint strong{display:inline-block;min-width:1.6em;padding:1px 8px;margin:0 2px;border-radius:var(--r-sm);background:var(--sun-400);color:var(--ink);font-family:var(--font-en);text-align:center}.session .keyboard-layout{display:flex;flex-direction:column;gap:var(--row-gap);max-width:760px;margin:0 auto}.session .key-row{display:flex;justify-content:center;gap:var(--key-gap)}.session .key-row-1{padding:0 5%}.session .key-row-2{padding:0 15%}.session .key-cap{flex:1 1 0;min-width:0;max-width:var(--key-max);height:var(--key-h);aspect-ratio:auto;padding:0;border:1px solid var(--line-strong);border-bottom:3px solid var(--key-ledge);border-radius:var(--r-sm);background:var(--surface);color:var(--ink);font-family:var(--font-en);font-size:var(--fs-key);font-weight:800;line-height:1;transition:transform var(--dur-1),border-bottom-width var(--dur-1)}.session .key-cap:active{transform:translateY(2px);border-bottom-width:1px}.session .key-cap.finger-left-pinky{background:#fdeef2}.session .key-cap.finger-left-ring{background:#fff3e4}.session .key-cap.finger-left-middle{background:#fbf7dd}.session .key-cap.finger-left-index{background:#eaf7ec}.session .key-cap.finger-right-index{background:#e7f4f8}.session .key-cap.finger-right-middle{background:#edf0fc}.session .key-cap.finger-right-ring{background:#f3ecfb}.session .key-cap.finger-right-pinky{background:#faebf5}.session .key-cap.key-target{position:relative;border-color:var(--sun-600);border-bottom-color:var(--sun-600);background:var(--sun-400);color:var(--ink);box-shadow:0 0 0 3px #ffc93c66}.session .key-cap.key-target:after{content:"";position:absolute;inset:-5px;border-radius:calc(var(--r-sm) + 5px);box-shadow:0 0 0 4px #ffc93c73;opacity:0;pointer-events:none;animation:key-breathe 1.8s ease-in-out infinite}@keyframes key-breathe{50%{opacity:1}}.keyboard-actions{display:flex;justify-content:center;gap:8px;max-width:760px;margin:8px auto 0;padding:0 3px}.session :is(.hint-button,.delete-button){--ledge-color: var(--blue-200);display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:6px 12px;border:0;border-radius:var(--r-lg);font-size:17px;font-weight:var(--fw-strong);white-space:nowrap;box-shadow:0 3px 0 var(--ledge-color);transition:transform var(--dur-1),box-shadow var(--dur-1)}.session .hint-button{flex:1 1 0;min-width:0;max-width:320px;background:var(--blue-50);color:var(--blue-700)}.session :is(.hint-button,.delete-button)>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.session :is(.hint-button,.delete-button):not([aria-disabled=true]):active{transform:translateY(2px);box-shadow:0 1px 0 var(--ledge-color)}.session .enter-hint-button{--ledge-color: var(--sun-200);background:var(--sun-50);color:var(--sun-700)}.session .enter-hint-button.is-spent{--ledge-color: transparent;background:var(--sunken);color:var(--ink-3);box-shadow:none}.session .enter-hint-button.is-offered{box-shadow:0 3px 0 var(--sun-200),0 0 0 3px var(--sun-300);animation:offer 1.4s var(--ease-inout) 3}@keyframes offer{50%{transform:scale(1.04)}}.session .skip-button{--ledge-color: var(--line-strong);background:var(--surface);color:var(--ink-2)}.session .delete-button{--ledge-color: var(--line-strong);flex:none;padding:6px 14px;border:1px solid var(--control-edge);background:var(--surface);color:var(--ink-2)}.keyboard-actions kbd{display:none}@media(min-width:600px){.keyboard-actions kbd{display:inline-block;margin-left:4px;padding:2px 7px;border:1px solid currentColor;border-bottom-width:2px;border-radius:6px;font-family:var(--font-en);font-size:13px;font-weight:700;line-height:1.3;opacity:.85}}.learning-stage{justify-content:space-between}.session .learning-mode-label{display:inline-flex;gap:2px;padding:4px 14px;border-radius:var(--r-pill);background:var(--blue-50);color:var(--blue-700);font-size:15px;font-weight:var(--fw-strong);line-height:1.5}.learning-prompt-stack{flex:1 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(12px,3vh,36px);width:100%}.learning-japanese{display:flex;align-items:center;justify-content:center;gap:12px;max-width:100%;color:var(--ink)}.session .learning-japanese strong{min-width:0;font-size:var(--learn-ja);font-weight:var(--fw-heavy);line-height:1.25;letter-spacing:.01em;color:var(--ink);overflow-wrap:anywhere}.learning-japanese>span{flex:none;font-size:calc(var(--learn-ja) * .85);line-height:1}.learning-stage-phrase .learning-japanese strong{font-size:var(--learn-ja-phrase);line-height:1.35}.learning-reveal{display:flex;align-items:center;justify-content:center;width:100%;height:calc(var(--learn-en) * 1.2)}.learning-stage-phrase .learning-reveal{height:calc(var(--learn-en-phrase) * 1.3 * 2)}.learning-answer-line{display:grid;grid-template-columns:48px minmax(0,max-content) 48px;align-items:center;justify-content:center;gap:8px;max-width:100%}.learning-answer-spacer{width:48px;height:1px}.learning-answer-content{display:block;min-width:4ch;font-family:var(--font-en);font-size:var(--learn-en);font-weight:900;line-height:1.18;letter-spacing:-.01em;overflow-wrap:anywhere}.learning-stage-phrase .learning-answer-content{font-size:var(--learn-en-phrase);line-height:1.3;letter-spacing:0}.session .learning-answer-content strong{display:block;font-size:inherit;font-weight:inherit;line-height:inherit;color:var(--blue-600);animation:pill-in var(--dur-3) var(--ease-out)}.learning-hidden-answer{color:var(--ink-3);opacity:.4;font-size:.8em}.learning-answer-line .sound-toggle{width:48px;height:48px}.session .learning-space-action{width:100%;max-width:460px;min-height:64px;padding:10px 24px;border-radius:var(--r-lg);font-size:var(--fs-cta);line-height:1.4}.choose-prompt{display:flex;flex-direction:column;align-items:center;gap:6px}.session .choose-prompt .sound-toggle{flex:none;width:72px;height:72px;background:var(--violet-600);color:#fff;box-shadow:0 4px 0 var(--violet-ledge)}.session .choose-prompt .sound-toggle svg{width:34px;height:34px}.session .choose-prompt .sound-toggle:active{transform:translateY(3px);box-shadow:0 1px 0 var(--violet-ledge)}@media(hover:hover){.session .choose-prompt .sound-toggle:hover{background:var(--violet-650);color:#fff}}.choose-instruction{display:flex;align-items:center;justify-content:center;min-height:clamp(40px,6.4vh,60px);margin:0;font-size:19px;font-weight:var(--fw-strong);color:var(--ink-2)}.session .choose-answer{font-family:var(--font-en);font-size:clamp(32px,5.6vh,52px);font-weight:900;line-height:1.1;color:var(--green-700);animation:pill-in var(--dur-3) var(--ease-out)}.choose-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;max-width:640px}.session .choose-option{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:clamp(104px,17vh,180px);padding:12px 10px;border:2px solid var(--line);border-radius:var(--r-lg);background:var(--surface);color:var(--ink);box-shadow:0 var(--ledge) 0 var(--line-strong);transition:transform var(--dur-1),box-shadow var(--dur-1)}@media(hover:hover){.session .choose-option:not([aria-disabled=true]):hover{transform:translateY(-2px);box-shadow:0 var(--ledge) 0 var(--line-strong),var(--shadow-2)}}.session .choose-option:not([aria-disabled=true]):active{transform:translateY(3px);box-shadow:0 1px 0 var(--line-strong)}.session .choose-picture{font-size:clamp(44px,7vh,64px);line-height:1}.session .choose-option{container-type:inline-size;--meaning: 20px}.session .choose-option.no-picture{--meaning: 24px}.session .choose-meaning{font-size:var(--meaning);font-size:min(var(--meaning),calc(100cqi / (var(--chars, 1) * 1.04)));font-weight:var(--fw-strong);line-height:1.35;color:var(--ink);word-break:keep-all}.session .choose-key{display:none;position:absolute;top:8px;left:10px;width:24px;height:24px;border-radius:var(--r-round);background:var(--sunken);font-family:var(--font-en);font-size:13px;font-weight:var(--fw-strong);line-height:24px;color:var(--ink-2)}@media(hover:hover)and (pointer:fine){.session .choose-key{display:block}}.session .choose-option.is-wrong{border-color:var(--rose-500);background:var(--rose-50);box-shadow:none;animation:shake-a var(--dur-3) var(--ease-inout)}.session .choose-option.is-wrong .choose-picture{opacity:.4}.session .choose-option.is-wrong :is(.choose-meaning,.choose-key){color:var(--rose-700)}.session .choose-option.is-correct{border-color:var(--green-500);background:var(--green-50);box-shadow:0 var(--ledge) 0 var(--green-500);animation:word-hop var(--dur-5) var(--ease-out)}.session .choose-option.is-correct .choose-meaning{color:var(--green-700)}.arrange-line{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:8px;min-height:56px;max-width:100%}.session .arrange-slot{display:inline-flex;align-items:center;justify-content:center;min-width:56px;height:52px;padding:0 10px;border:2px dashed var(--control-edge);border-radius:var(--r-md);font-family:var(--font-en);font-size:clamp(20px,3.4vh,28px);font-weight:800;color:var(--ink)}.session .arrange-slot.next{border-color:var(--sun-600);background:var(--sun-50)}.session .arrange-slot.filled{border-style:solid;border-color:var(--green-500);background:var(--green-50);color:var(--green-700);animation:pill-in var(--dur-3) var(--ease-out)}.session .arrange-mark{font-family:var(--font-en);font-size:30px;font-weight:900;color:var(--ink)}.session .arrange-fixed{align-self:center;font-family:var(--font-en);font-size:clamp(20px,3.4vh,28px);font-weight:800;line-height:52px;color:var(--ink);white-space:nowrap}.session .arrange-sentence{font-family:var(--font-en);font-size:clamp(26px,4.4vh,40px);font-weight:900;line-height:1.25;color:var(--green-700);animation:word-hop var(--dur-5) var(--ease-out)}.arrange-cards{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:720px;margin-top:clamp(4px,1.6vh,16px)}.session .arrange-card{min-width:64px;min-height:56px;padding:6px 16px;border:1px solid var(--line-strong);border-radius:var(--r-md);background:var(--surface);box-shadow:0 var(--ledge) 0 var(--key-ledge);font-family:var(--font-en);font-size:clamp(22px,3.6vh,28px);font-weight:800;color:var(--ink);transition:transform var(--dur-1),box-shadow var(--dur-1)}@media(hover:hover){.session .arrange-card:not([aria-disabled=true]):hover{transform:translateY(-2px)}}.session .arrange-card:not([aria-disabled=true]):active{transform:translateY(3px);box-shadow:0 1px 0 var(--key-ledge)}.session .arrange-card.is-used{border:2px dashed var(--line-strong);background:transparent;box-shadow:none}.session .arrange-card.is-used>span{visibility:hidden}.session .arrange-card.is-wrong{border-color:var(--rose-500);background:var(--rose-50);box-shadow:0 var(--ledge) 0 var(--rose-200);color:var(--rose-700)}.session .arrange-card.is-wrong.shake-0{animation:shake-a var(--dur-3) var(--ease-inout)}.session .arrange-card.is-wrong.shake-1{animation:shake-b var(--dur-3) var(--ease-inout)}.session .arrange-card.is-hint{border-color:var(--sun-600);background:var(--sun-50);box-shadow:0 var(--ledge) 0 var(--sun-200),0 0 0 4px #ffc93c66}.dialog{animation:dialog-in var(--dur-3) var(--ease-out)}.overlay.is-arriving>.dialog{pointer-events:none}@keyframes dialog-in{0%{opacity:0;transform:scale(.96)}}.dialog-actions .button{min-width:140px;min-height:52px}@keyframes shake-a{0%,to{transform:translate(0)}25%{transform:translate(-6px)}75%{transform:translate(6px)}}@keyframes shake-b{0%,to{transform:translate(0)}25%{transform:translate(-6px)}75%{transform:translate(6px)}}@keyframes word-hop{0%,to{transform:translateY(0)}35%{transform:translateY(-8px)}60%{transform:translateY(0)}78%{transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.session .key-cap.key-target:after{animation:none;opacity:0}.session :is(.key-cap,.hint-button,.delete-button,.choose-option,.arrange-card,.choose-prompt .sound-toggle):active{transform:none}}@media(min-width:781px){.session{--bar-h: 76px;--side: 24px;--gap: clamp(12px, 2.2vh, 28px);--prompt: clamp(44px, 5.6vh, 76px);--prompt-phrase: clamp(30px, 3.4vh, 42px);--field-h: clamp(68px, 8vh, 104px);--field-font: clamp(36px, 4.8vh, 58px);--field-font-phrase: clamp(26px, 3.2vh, 36px);--key-h: clamp(52px, 6vh, 72px);--key-gap: 8px;--row-gap: 8px;--key-max: 72px;--learn-ja: clamp(52px, 6.4vh, 84px);--learn-en: clamp(72px, 9.6vh, 120px);--learn-ja-phrase: clamp(34px, 4vh, 52px);--learn-en-phrase: clamp(34px, 4vh, 52px);padding-bottom:max(24px,env(safe-area-inset-bottom))}.session-bar{gap:16px}.session:not(.game-wrap)>.session-stage{margin-bottom:0}.session-exit{font-size:18px}.session .game-counter{font-size:17px}.session .game-counter strong{font-size:20px}.session .game-progress-line{height:10px}.session .word-prompt{gap:16px}.session .word-prompt .sound-toggle{width:56px;height:56px}.session .word-prompt .sound-toggle svg{width:30px;height:30px}.answer-field{width:min(100%,560px);padding:0 24px;border-radius:var(--r-xl)}.status-pill{min-height:48px;padding:8px 20px;font-size:19px}.answer-status{min-height:52px}.session .keyboard-panel{margin:16px var(--side) 0;padding:16px;border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:none}.keyboard-actions{margin-top:12px;padding:0;gap:12px}.session :is(.hint-button,.delete-button){min-height:56px;padding:8px 20px;font-size:19px}.session .choose-option{--meaning: 22px}.session .arrange-slot{min-width:clamp(72px,8vh,104px);height:clamp(60px,6.4vh,84px);font-size:clamp(26px,3.4vh,40px)}.session .arrange-card{min-width:clamp(80px,8.6vh,112px);min-height:clamp(64px,7vh,92px);padding:8px 22px;font-size:clamp(26px,3.4vh,40px)}.session .arrange-mark{font-size:clamp(30px,3.6vh,44px)}.learning-answer-line{grid-template-columns:56px minmax(0,max-content) 56px}.learning-answer-spacer{width:56px}.learning-answer-line .sound-toggle{width:56px;height:56px}}@media(min-width:1100px){.session{--key-h: clamp(52px, 6.4vh, 64px);--key-max: 68px}}@media(orientation:landscape)and (max-height:500px){.session{--bar-h: 48px;--gap: 8px;--prompt: clamp(26px, 7.4vh, 36px);--prompt-phrase: clamp(20px, 5.4vh, 26px);--field-h: 52px;--field-font: 30px;--field-font-phrase: 22px;--key-h: clamp(40px, 12.6vh, 54px);--key-gap: 3px;--row-gap: 5px;--key-max: none;--learn-ja: clamp(30px, 9vh, 44px);--learn-en: clamp(40px, 13vh, 60px);--learn-ja-phrase: clamp(22px, 6vh, 30px);--learn-en-phrase: clamp(22px, 6vh, 30px);max-width:none;padding-bottom:0}.session-bar .sound-switch,.session-exit{height:44px;min-height:44px}.session-stage{padding:10px 14px;margin-bottom:max(8px,env(safe-area-inset-bottom))}.session.game-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);grid-template-rows:auto auto 1fr;column-gap:10px}.session.game-wrap>.session-bar,.session.game-wrap>.ime-notice{grid-column:1 / -1}.session.game-wrap>.session-stage{grid-column:1;grid-row:3;margin-right:0}.session.game-wrap>.keyboard-panel{grid-column:2;grid-row:3;align-self:end;margin:0 max(0px,env(safe-area-inset-right)) 0 0;padding:8px 6px max(8px,env(safe-area-inset-bottom));border-radius:22px 22px 0 0}.session .word-prompt .sound-toggle{width:44px;height:44px}.answer-status{min-height:40px}.status-pill{min-height:36px;padding:4px 12px;font-size:15px}.keyboard-actions{margin-top:6px}.session :is(.hint-button,.delete-button){min-height:44px;padding:6px 8px;font-size:16px}.session .delete-button>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.keyboard-actions kbd{display:none}.session .learning-space-action{min-height:52px}.choose-options{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none}.session .choose-option{min-height:96px}.session .choose-picture{font-size:40px}.session .choose-prompt .sound-toggle{width:56px;height:56px}.choose-prompt{flex-direction:row;gap:14px}}@media(max-height:600px)and (orientation:portrait){.session-stage{padding-block:4px}.session .keyboard-panel{margin-top:4px}}@media(max-width:480px){.keyboard-actions{gap:6px}.session :is(.hint-button,.delete-button){padding:6px 10px;font-size:16px}.session .delete-button>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}@media(max-width:359px){.session{--side: 8px}.session .key-cap{font-size:17px}.session :is(.hint-button,.delete-button){padding:6px 8px;font-size:15px}.keyboard-actions:has(.delete-button) .hint-button .session-icon{display:none}.status-pill{font-size:15px;padding:6px 12px}.session .choose-option{--meaning: 18px}}.exam-prompt{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;max-width:640px}.session .exam-prompt .sound-toggle{flex:none;width:64px;height:64px;background:var(--violet-600);color:#fff;box-shadow:0 4px 0 var(--violet-ledge)}.session .exam-prompt .sound-toggle svg{width:30px;height:30px}.session .exam-prompt .sound-toggle:active{transform:translateY(3px);box-shadow:0 1px 0 var(--violet-ledge)}@media(hover:hover){.session .exam-prompt .sound-toggle:hover{background:var(--violet-650);color:#fff}}.exam-picture{display:flex;align-items:center;justify-content:center;gap:10px;margin:0;padding:8px 20px;border-radius:var(--r-lg);background:var(--surface);box-shadow:inset 0 0 0 2px var(--line)}.exam-picture-emoji{font-size:clamp(40px,7vh,60px);line-height:1.1}.exam-picture-label{font-size:22px;font-weight:var(--fw-heavy);color:var(--ink);font-variant-numeric:tabular-nums}.session .exam-text{display:grid;gap:4px;margin:0;padding:12px 18px;white-space:pre-wrap;border-radius:var(--r-lg);background:var(--surface);box-shadow:inset 0 0 0 2px var(--line);font-family:var(--font-en);font-size:clamp(20px,3.4vh,26px);font-weight:800;line-height:1.45;color:var(--ink);text-align:left}.exam-text-line{display:block}.session .exam-passage{width:100%;max-height:clamp(140px,30vh,380px);overflow-y:auto;overscroll-behavior:contain;padding:12px 16px;border-radius:var(--r-lg);background:var(--surface);box-shadow:inset 0 0 0 2px var(--line);text-align:left}.session .exam-passage:focus-visible{outline:3px solid var(--blue-600);outline-offset:2px}.session .exam-passage p{margin:0}.session .exam-passage-title{margin-bottom:6px;font-family:var(--font-en);font-size:18px;font-weight:800;line-height:1.4;color:var(--ink)}.session .exam-passage.kind-notice .exam-passage-title{text-align:center}.session .exam-passage-body{display:grid;gap:6px;font-family:var(--font-en);font-size:17px;font-weight:700;line-height:1.6;color:var(--ink)}.session .exam-passage-ja{margin-top:10px;padding-top:8px;border-top:2px dashed var(--line);font-size:15px;line-height:1.7;color:var(--ink-2)}.session .exam-passage-ja summary{cursor:pointer;min-height:32px;font-weight:var(--fw-strong);color:var(--blue-700)}.session .exam-stage.has-passage .exam-prompt,.session .exam-stage.has-passage .exam-options{max-width:720px}.session .exam-stage.has-passage .exam-text{font-size:18px}.exam-instruction{margin:0;font-size:17px;font-weight:var(--fw-strong);line-height:1.5;color:var(--ink-2);text-align:center}.exam-reveal{display:grid;gap:6px;width:100%;padding:12px 18px;border-radius:var(--r-lg);background:var(--green-50);box-shadow:inset 0 0 0 2px var(--green-500);text-align:left;animation:pill-in var(--dur-3) var(--ease-out)}.exam-reveal p{margin:0}.session .exam-reveal-en{font-family:var(--font-en);font-size:clamp(18px,3vh,24px);font-weight:800;line-height:1.45;color:var(--green-700)}.exam-reveal-ja{font-size:15px;line-height:1.6;color:var(--ink-2)}.exam-options{display:grid;gap:10px;width:100%;max-width:640px}.exam-options.is-printed{grid-template-columns:repeat(2,minmax(0,1fr))}.exam-options.is-heard{grid-template-columns:repeat(3,minmax(0,1fr))}.exam-options.is-heard.shows-text{grid-template-columns:minmax(0,1fr)}.session .exam-option{position:relative;display:flex;align-items:center;gap:10px;min-height:60px;padding:10px 14px;border:2px solid var(--line);border-radius:var(--r-lg);background:var(--surface);color:var(--ink);box-shadow:0 var(--ledge) 0 var(--line-strong);text-align:left;transition:transform var(--dur-1),box-shadow var(--dur-1)}.session .exam-options.is-heard:not(.shows-text) .exam-option{justify-content:center;min-height:clamp(72px,12vh,104px)}@media(hover:hover){.session .exam-option:not([aria-disabled=true]):hover{transform:translateY(-2px);box-shadow:0 var(--ledge) 0 var(--line-strong),var(--shadow-2)}}.session .exam-option:not([aria-disabled=true]):active{transform:translateY(3px);box-shadow:0 1px 0 var(--line-strong)}.session .exam-option-number{flex:none;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:var(--r-round);background:var(--sunken);font-family:var(--font-en);font-size:16px;font-weight:var(--fw-strong);color:var(--ink-2)}.session .exam-options.is-heard:not(.shows-text) .exam-option-number{width:48px;height:48px;font-size:26px;font-weight:var(--fw-heavy);color:var(--ink)}.session .exam-option-text{min-width:0;font-family:var(--font-en);font-size:clamp(18px,3vh,22px);font-weight:800;line-height:1.3;overflow-wrap:anywhere}.session .exam-option.is-reading{border-color:var(--violet-600);background:var(--violet-50)}.session .exam-option.is-correct{border-color:var(--green-500);background:var(--green-50);box-shadow:0 var(--ledge) 0 var(--green-500)}.session .exam-option.is-correct :is(.exam-option-text,.exam-option-number){color:var(--green-700)}.session .exam-option.is-wrong{border-color:var(--rose-500);background:var(--rose-50);box-shadow:none}.session .exam-option.is-wrong :is(.exam-option-text,.exam-option-number){color:var(--rose-700)}.session .exam-option.is-other{box-shadow:none}.session .exam-option.is-other .exam-option-text{color:var(--ink-2)}.exam-next{display:flex;justify-content:center;width:100%;min-height:60px}.session .exam-next-button{min-width:min(100%,280px);min-height:56px;padding:8px 28px;border-radius:var(--r-lg);font-size:var(--fs-cta)}@media(max-width:480px){.exam-options.is-printed{grid-template-columns:minmax(0,1fr)}.session .exam-option{min-height:52px}.exam-options.hides-others .exam-option.is-other{display:none}.session .exam-reveal-en{font-size:18px}.session .exam-passage{max-height:clamp(120px,24vh,380px);padding:10px 14px}.session .exam-passage-body{font-size:16px;line-height:1.5}.session .exam-stage.has-passage .exam-prompt{gap:6px}.session .exam-stage.has-passage .exam-text{padding:8px 14px;font-size:17px;line-height:1.35}.session .exam-stage.has-passage .exam-instruction{display:none}.session .exam-stage.has-passage .exam-options{gap:8px}.session .exam-stage.has-passage .exam-option{min-height:46px}.session .exam-stage.has-passage .exam-option-text{font-size:17px;line-height:1.25}.session .exam-stage.has-passage .exam-reveal{padding:8px 14px;gap:4px}.session .exam-stage.has-passage .exam-reveal-en{font-size:16px;line-height:1.35}.session .exam-stage.has-passage .exam-reveal-ja{font-size:14px;line-height:1.5}}
