:root{color-scheme:light;--canvas:#edf1f8;--paper:#fafbfd;--white:#fff;--side:#eaf2ff;--ink:#202633;--muted:#5c6678;--faint:#768195;--rule:#e0e6ef;--edge:#d5dde9;--blue:#124cf4;--blue-deep:#1640cf;--blue-light:#e7efff;--blue-line:#3264ff;--green:#137753;--green-bg:#e9f7ef;--red:#ac3142;--red-bg:#fdf0f2;--radius:13px;--sidebar:clamp(160px,15.1vw,218px);--rail:clamp(218px,20.7vw,300px);font-family:Segoe UI,Microsoft YaHei UI,Noto Sans SC,system-ui,sans-serif;color:var(--ink);background:var(--canvas);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100dvh}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}button,a,input,textarea,select,summary,[tabindex]:focus-visible{outline-offset:3px}:focus-visible{outline:2px solid var(--blue-line)}a{color:var(--blue);text-decoration:none}button{border:0;background:none}h1,h2,h3,h4,p,figure{margin:0}ul,ol{margin:0;padding-inline-start:1.35em}svg{flex-shrink:0;vertical-align:middle}small{font-size:.85em}.muted{color:var(--muted)}.preserve,.rich,.jp{white-space:pre-wrap;overflow-wrap:anywhere}.jp{font-family:Noto Sans JP,Yu Gothic UI,Yu Gothic,Meiryo,sans-serif;word-break:normal;line-break:strict}ruby{ruby-position:over}rt{display:none;font-size:.52em;font-weight:500;line-height:1.05;letter-spacing:0;color:var(--muted)}.ruby-on rt{display:ruby-text}.ruby-on .jp{line-height:1.95}u{text-decoration-thickness:1.6px;text-underline-offset:.15em}.app-frame{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:calc(100dvh - 36px);max-width:1660px;margin:18px auto;width:calc(100% - 36px);background:var(--paper);border:1px solid #dce4f1;border-radius:24px;box-shadow:0 14px 42px #223d7011;overflow:clip}.sidebar{background:var(--side);border-right:1px solid #e2eaf9;padding:21px 15px;display:flex;flex-direction:column;gap:26px;min-width:0}.sidebar nav{display:grid;gap:9px;position:sticky;top:85px}.brand{display:flex;align-items:center;gap:11px;padding:5px 10px;border-radius:13px;text-align:left;line-height:1.25}.brand img{width:41px;height:41px;object-fit:contain}.brand strong{font-size:24px;letter-spacing:.07em;font-weight:700}.brand:hover{background:#f6f9ff70}.nav-item{display:flex;align-items:center;gap:13px;text-align:left;border-radius:14px;min-height:49px;padding:9px 15px;color:#4c576a;font-size:16px;font-weight:550;transition:background .15s,color .15s}.nav-item:hover{background:#f6faff}.nav-item.active{background:#d8e7ff;color:#0a42e6;font-weight:650}.app-main{min-width:0;display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:6;min-height:65px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 26px 11px 32px;border-bottom:1px solid var(--rule);background:#fafbfde8;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.breadcrumb,.top-actions,.save-state{display:flex;align-items:center;gap:9px;min-width:0}.breadcrumb{color:var(--muted);font-size:14px}.slash{color:#98a2b2}.top-actions{gap:9px;flex-shrink:0}.save-state{font-size:13px;color:#596477;white-space:nowrap;gap:6px}.mobile-nav,.show-card,.topbar .back{display:none!important}.icon-btn{display:inline-grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:10px;color:var(--muted);padding:0}.icon-btn:hover:not(:disabled){background:var(--blue-light);color:var(--blue)}.icon-btn[aria-pressed=true]{color:var(--blue)}.icon-btn:disabled{opacity:.4}.primary,.secondary,.text-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:11px;padding:8px 15px;font-weight:600;line-height:1.4;transition:background .15s,border .15s,box-shadow .15s;white-space:nowrap}.primary{color:#fff;background:var(--blue);border:1px solid var(--blue);box-shadow:0 2px 4px #1144de26}.primary:hover:not(:disabled){background:var(--blue-deep);border-color:var(--blue-deep)}.primary:disabled{background:#e0e8fa;border-color:#e0e8fa;box-shadow:none;color:#5c6d91}.secondary{background:var(--white);border:1px solid var(--edge);color:#344259}.secondary:hover:not(:disabled){background:#f2f6ff;border-color:#bed0f3}.secondary:disabled{opacity:.45}.text-btn{color:var(--blue);min-height:36px;padding:6px 8px;font-size:14px}.text-btn:hover:not(:disabled){background:var(--blue-light)}.text-btn:disabled{opacity:.45}.button-row{display:flex;justify-content:flex-end;gap:10px}.compact{min-height:37px;padding:6px 12px}.page{padding:32px 36px 52px;width:100%;max-width:1270px;margin:0 auto}.page-title{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:27px}.page-title h1{font-size:clamp(28px,3vw,39px);line-height:1.2;letter-spacing:-.04em;margin:6px 0 9px;font-weight:720}.page-title p{color:var(--muted);line-height:1.65}.eyebrow{color:#526b99;font-size:12px;font-weight:700;letter-spacing:.11em}.level-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;background:var(--blue-light);color:#1645cf;border-radius:9px;min-width:44px;padding:3px 11px;font-size:14px;font-weight:650;line-height:1.45;white-space:nowrap}.level-badge.big{padding:8px 14px;margin-top:7px}.continue-card{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:26px 27px;background:#edf4ff;border:1px solid #dfebff;border-radius:19px}.continue-card h2{font-size:24px;margin:3px 0 2px;font-weight:700}.continue-card p{color:var(--muted);font-size:14px}.stats-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:24px;border:1px solid var(--rule);border-radius:16px;background:#fff;overflow:hidden}.stat{display:flex;gap:12px;padding:17px 19px;align-items:flex-start}.stat+.stat{border-left:1px solid var(--rule)}.stat>svg{color:#5373ba;margin-top:5px}.stat strong,.stat span{display:block}.stat strong{font-size:25px;font-weight:700;line-height:1.2}.stat span{color:var(--muted);font-size:13px;margin-top:4px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:29px 0 12px}.section-heading h2{font-size:20px;letter-spacing:-.02em}.level-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.level-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;position:relative;border:1px solid var(--rule);border-radius:14px;background:#fff;padding:15px 13px;text-align:left}.level-card:hover{border-color:#a7bfff;background:#f5f8ff}.level-card-title{font-size:14px;font-weight:650}.level-card small{color:var(--muted)}.level-card>svg{position:absolute;bottom:13px;right:12px;color:var(--blue)}.resume-banner{display:flex;align-items:center;gap:14px;width:100%;margin:17px 0;padding:12px 16px;border:1px solid #dce7fa;border-radius:13px;background:#f0f5ff;color:#254c9c;text-align:left}.resume-banner>span{flex:1}.resume-banner small,.resume-banner strong{display:block}.resume-banner small{font-size:13px;color:var(--muted)}.resume-banner:hover{background:#e6efff}.filter-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 20px}.filter-tabs button{min-height:39px;min-width:45px;border:1px solid var(--rule);background:#fff;padding:6px 13px;border-radius:11px;color:var(--muted);font-weight:600}.filter-tabs button[aria-pressed=true]{color:var(--blue);background:var(--blue-light);border-color:#c8d9ff}.paper-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.paper-card{display:flex;flex-direction:column;gap:8px;padding:17px;border:1px solid var(--rule);border-radius:17px;background:#fff;min-width:0}.paper-card header{display:flex;justify-content:space-between;align-items:center;gap:7px}.paper-status{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:11px}.paper-card h2{font-size:20px;line-height:1.35;margin-top:6px}.paper-card>p{font-size:13px}.type-bar{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0}.type-bar span{padding:4px 8px;background:#f0f3f8;border-radius:7px;font-size:12px;color:#4e5c73}.type-bar b{font-weight:650}.paper-progress{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;margin-top:auto}.paper-progress progress{min-width:32px;flex:1}progress{height:7px;accent-color:var(--blue);border:0;background:#e5ebf6;border-radius:100px;overflow:hidden}progress::-webkit-progress-bar{background:#e5ebf6}progress::-webkit-progress-value{background:var(--blue);border-radius:100px}.paper-actions{display:flex;justify-content:flex-end;align-items:center;gap:6px;margin-top:5px}.paper-actions .primary{padding:7px 11px;font-size:13px}.paper-actions .text-btn{font-size:12px;padding:5px}.timings{margin:5px 0 0;font-size:13px}.timings>div{display:flex;justify-content:space-between;gap:5px;padding:4px 0;color:var(--muted)}.timings strong{font-weight:600;color:var(--ink)}.outline-groups,.settings-list,.review-list,.history{display:grid;gap:0}.outline-row,.review-row,.history-row{display:flex;align-items:center;width:100%;gap:13px;padding:15px 6px;text-align:left;border-bottom:1px solid var(--rule)}.outline-row:hover,.review-row:hover,.history-row:hover{background:#eff5ff}.outline-row>div,.review-row>div,.history-row>span{flex:1;min-width:0}.outline-row>div{display:flex;gap:14px;flex-wrap:wrap}.outline-row>span,.review-row small,.history-row small{color:var(--muted);font-size:13px}.review-row small,.review-row strong,.history-row small,.history-row strong{display:block}.review-row strong{font-size:16px;margin:2px 0}.review-row p{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.review-row svg,.history-row svg,.outline-row svg{color:#4266ab}.select-label{display:flex;align-items:center;gap:9px;white-space:nowrap}.settings-list>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 0;border-bottom:1px solid var(--rule)}.settings-list h2{font-size:16px;margin-bottom:3px}.settings-list p{font-size:13px;color:var(--muted)}.logout{margin-top:23px}.question-layout{display:grid;grid-template-columns:minmax(0,1fr) var(--rail);align-items:start;flex:1}.question-content{min-width:0;padding:29px 34px 46px}.question-head{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-bottom:35px}.question-head h1{font-size:clamp(24px,2.5vw,33px);line-height:1.35;letter-spacing:.012em;font-weight:720}.question-progress{color:var(--muted);font-size:14px;border-left:1px solid var(--edge);padding-left:14px;white-space:nowrap}.group-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.group-heading h2{font-size:21px;line-height:1.5;font-weight:700}.ruby-control{display:flex;align-items:center;gap:8px;flex-shrink:0;font-size:13px;color:#455168}.segment{display:flex;align-items:center;gap:1px;padding:2px;border:1px solid var(--rule);border-radius:100px;background:#f5f7fb}.segment button{padding:4px 11px;border-radius:100px;color:#576277;font-size:12px;min-height:29px;white-space:nowrap}.segment button[aria-pressed=true]{color:#154ad8;background:#e1ebff;font-weight:650}.segment button:hover{background:#e8effd}.instructions{font-size:15px;color:#4b5669;line-height:1.85;margin:0 0 22px}.question-stem{font-size:clamp(20px,2.1vw,27px);font-weight:630;line-height:1.68;margin:23px 0 25px;letter-spacing:.008em}.original-label{font-size:13px;color:var(--muted);font-weight:600;margin-top:16px}.original-label+.question-stem{margin-top:6px}.material-intro{font-size:14px;color:var(--muted);margin-bottom:12px}.reading-passage{padding:17px 20px;border-left:2px solid #a9c2fc;background:#f3f7ff;border-radius:0 11px 11px 0;margin:14px 0 19px;min-width:0}.reading-passage h3{font-size:17px;margin-bottom:9px}.reading-passage p{line-height:1.95;margin-bottom:9px}.reading-passage p:last-child{margin-bottom:0}.choices{display:grid;gap:10px}.choice{display:flex;align-items:center;gap:13px;min-height:52px;padding:10px 15px;border:1px solid var(--edge);border-radius:12px;background:#ffffffa8;cursor:pointer;transition:background .14s,border-color .14s}.choice:hover:not(.locked){background:#f0f5ff;border-color:#b5c9fa}.choice.selected{border-color:var(--blue-line);background:#eef3ff}.choice.correct{border-color:#94d5bb;background:var(--green-bg)}.choice.incorrect{border-color:#e6a5ae;background:var(--red-bg)}.choice.locked{cursor:default}.choice input{width:18px;height:18px;margin:0;flex:none;accent-color:var(--blue)}.choice.correct input{accent-color:var(--green)}.choice.incorrect input{accent-color:var(--red)}.choice-no{font-weight:640;min-width:20px;font-variant-numeric:tabular-nums}.choice-text{font-size:18px;font-weight:550;flex:1;min-width:0}.choice-status{font-size:11px;white-space:nowrap;display:flex;align-items:center;gap:4px}.choice.correct .choice-status{color:var(--green)}.choice.incorrect .choice-status{color:var(--red)}.question-actions,.question-end,.exam-question-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:24px}.question-actions .primary{min-width:142px;min-height:45px}.primary-group,.review-actions{display:flex;align-items:center;gap:11px}.primary-group kbd{font-family:inherit;color:var(--faint);font-size:12px}.guess-check{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;cursor:pointer}.guess-check input{accent-color:var(--blue)}.review-actions{gap:4px;flex-wrap:wrap}.question-end{border-top:1px solid var(--rule);padding-top:17px;margin-top:21px}.answer-card{padding:24px 21px;min-width:0}.desktop-card{position:sticky;top:65px;align-self:stretch;border-left:1px solid var(--rule);background:#f6f9fe75}.answer-card header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}.answer-card h2{font-size:18px;white-space:nowrap}.answer-card header .text-btn{font-size:12px;white-space:nowrap}.answer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:267px}.answer-grid button{width:100%;aspect-ratio:1;max-height:44px;min-height:34px;border-radius:50%;border:1px solid var(--edge);background:#fdfdff;font-size:14px;color:#4b5568;box-shadow:0 1px 2px #18285207}.answer-grid button:hover{border-color:var(--blue-line);color:var(--blue)}.answer-grid button.done{background:#dce9ff;color:#1949bc;border-color:#d7e4fb}.answer-grid button.marked{border:2px solid #c89428}.answer-grid button.current{color:#fff;background:var(--blue);border-color:var(--blue);box-shadow:0 3px 8px #154cf431}.pager{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;margin:8px 0;color:var(--muted)}.pager .icon-btn{width:27px;height:27px}.card-key{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}.card-key i{width:8px;height:8px;background:var(--blue);border-radius:50%;display:inline-block}.card-key i:nth-child(2){background:#b9cfff;margin-left:9px}.fold{border:1px solid var(--rule);border-radius:11px;background:#fff;margin:11px 0;overflow:hidden}.fold summary{padding:9px 13px;font-size:13px;font-weight:650;color:#425676;cursor:pointer}.fold summary:hover{background:#f1f6ff}.fold summary span+span{font-weight:450;color:var(--muted);margin-left:5px}.fold-body{padding:4px 14px 14px}.fold-body>*+*{margin-top:7px}.example-options{font-size:14px}.figure{margin:13px auto 20px;width:min(100%,720px);background:#fff;border:1px solid var(--rule);border-radius:12px;overflow:hidden}.figure-button{padding:0;width:100%;display:block}.figure-image{position:relative;container-type:inline-size;max-width:100%;margin:auto;background:#fff}.figure-image img{width:100%;display:block;height:auto;object-fit:contain}.figure-label{position:absolute;transform:translate(-50%,-50%);color:#202633;white-space:nowrap;line-height:1.2;font-weight:650}.figure-unavailable{display:flex;align-items:center;gap:8px;margin:10px 0;color:var(--muted);background:#f0f3fa;border-radius:9px;padding:10px}.data-table{margin:12px 0}.data-table h4{margin-bottom:6px}.table-scroll{overflow:auto;border:1px solid var(--rule);border-radius:9px;background:#fff}.table-scroll table{border-collapse:collapse;width:100%;min-width:350px}.table-scroll td,.table-scroll th{padding:9px 10px;border-bottom:1px solid var(--rule);border-right:1px solid var(--rule);vertical-align:top;font-size:14px}.table-scroll th{background:#ecf3ff;text-align:left}.table-scroll td:last-child,.table-scroll th:last-child{border-right:0}.audio-player{display:flex;align-items:center;gap:12px;padding:12px;background:#edf4ff;border:1px solid #dbe8ff;border-radius:13px;margin:14px 0}.play-btn{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:50%;background:var(--blue);color:#fff}.play-btn:hover{background:var(--blue-deep)}.audio-body{flex:1;min-width:0}.audio-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;color:#4c638d;font-variant-numeric:tabular-nums}.audio-meta strong{display:flex;align-items:center;gap:5px;color:#2d4d80;font-size:13px}.audio-body input[type=range]{display:block;width:100%;accent-color:var(--blue);margin:4px 0 0;height:14px}.audio-options-hint{margin-bottom:9px;font-size:13px}.analysis-anchor{scroll-margin-top:80px}.analysis{margin-top:24px;padding-top:18px;border-top:1px solid var(--rule)}.result-banner{display:flex;gap:10px;align-items:center;padding:11px 13px;border-radius:12px}.result-banner.good,.result-dot.good{background:var(--green-bg);color:var(--green)}.result-banner.bad,.result-dot.bad{background:var(--red-bg);color:var(--red)}.result-banner.neutral,.result-dot.neutral{background:#eef2f8;color:#495973}.result-banner strong,.result-banner span:not(.jp){display:block}.result-banner span{font-size:13px}.analysis-section{margin:18px 0 0;line-height:1.75}.analysis-section h3{font-size:17px;margin-bottom:6px;letter-spacing:-.015em}.analysis-section li+li{margin-top:5px}.analysis-section p{font-size:14px}.steps{padding-left:1.35em}.sequence{font-weight:650;color:var(--blue)}.explain-options{display:grid;gap:7px}.explain-options article{display:flex;gap:11px;padding:10px 12px;border:1px solid var(--rule);border-radius:10px;background:#fff}.explain-options article.right-option{border-color:#c5e7d6;background:#f5fbf7}.explain-number{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#eef2f9;color:#415777;flex:none;font-size:13px;font-weight:650}.option-title{display:flex;gap:7px;align-items:center;font-weight:650}.option-title>span:not(.jp){color:var(--green);font-size:11px}.turn{padding:9px 0;border-bottom:1px solid var(--rule)}.turn .jp{font-weight:550;font-size:15px}.turn p+p{color:var(--muted);margin-top:2px}.exam-toolbar{position:sticky;top:65px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 25px;background:#eef4ffef;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid #dce7fb}.exam-toolbar>div:first-child{display:flex;gap:9px;flex:1;flex-wrap:wrap;align-items:center}.exam-section{font-weight:650;font-size:13px}.exam-done{font-size:12px;color:var(--muted)}.exam-clock{display:flex;gap:7px;align-items:center;color:#1a42ad;font-size:19px;font-weight:700;font-variant-numeric:tabular-nums}.urgent{color:var(--red)}.exam-layout .desktop-card{top:118px}.exam-audio{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#edf4ff;border:1px solid #dbe7ff;border-radius:12px;padding:10px 13px;margin-bottom:17px}.exam-audio>div:first-child{display:flex;gap:9px;align-items:center;color:#345890}.exam-audio small,.exam-audio strong{display:block;font-size:12px}.exam-audio small{color:var(--muted);font-variant-numeric:tabular-nums}.spacer{flex:1}.exam-question-actions{flex-wrap:wrap}.exam-footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-top:12px}.exam-footer span{margin-right:auto}.exam-ready{max-width:850px}.ready-panel{display:flex;flex-direction:column;align-items:center;text-align:center;padding:26px 20px 31px;margin:14px auto;gap:12px}.ready-icon{display:grid;place-items:center;width:61px;height:61px;border-radius:17px;background:var(--blue-light);color:var(--blue);margin-bottom:2px}.ready-panel h1{font-size:clamp(23px,3vw,34px);line-height:1.3;letter-spacing:-.025em}.ready-panel p{color:var(--muted)}.ready-panel .ready-timer{font-size:45px;line-height:1.3;font-weight:700;letter-spacing:-.04em;color:var(--ink);font-variant-numeric:tabular-nums}.ready-panel .primary{margin-top:9px;min-width:155px}.score-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;border-radius:16px;border:1px solid #d9e8ff;background:#eef5ff}.score-panel>div:first-child>strong{display:block;font-size:44px;letter-spacing:-.035em;color:#1947cf;line-height:1.2}.score-panel strong small{font-size:17px;color:var(--muted);font-weight:500}.score-panel p{font-size:12px;color:var(--muted);margin-top:7px}.score-facts{display:flex;gap:13px;flex-wrap:wrap;color:var(--muted)}.score-facts b{color:var(--ink);font-size:19px}.type-score{display:grid;gap:8px;margin-top:15px}.type-score>div{display:flex;gap:12px;align-items:center;font-size:14px}.type-score progress{flex:1}.type-score>div>span{min-width:50px;text-align:right;color:var(--muted)}.result-dot{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;flex:none;font-weight:650}.mock-review-page{max-width:850px}.mock-review-page>.text-btn{margin-bottom:12px}.modal{padding:0;border:1px solid var(--rule);border-radius:18px;width:min(92vw,600px);max-height:90dvh;box-shadow:0 16px 60px #1d356b33;background:var(--paper);color:var(--ink)}.modal::backdrop{background:#16274762;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-inner{padding:18px}.modal-inner>header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.modal-inner h2{font-size:19px}.modal-inner footer{margin-top:15px}.modal .answer-card{padding:2px 0}.modal .answer-card>header{display:none}.modal .answer-grid{max-width:340px;margin:auto}.modal .answer-grid button{max-height:50px}.modal .card-key{justify-content:center}input:not([type=radio]):not([type=checkbox]):not([type=range]),select,textarea{border:1px solid var(--edge);background:#fff;border-radius:10px;min-height:42px;padding:8px 11px;color:var(--ink)}.modal textarea{width:100%;resize:vertical}.empty{padding:28px 10px;text-align:center;color:var(--muted)}.empty>svg{color:#7a96cd}.empty h2{font-size:17px;margin-top:7px;color:var(--ink)}.empty p{font-size:14px;margin:4px 0 9px}.inline-error{display:flex;align-items:flex-start;gap:8px;background:var(--red-bg);border:1px solid #f0d3d9;padding:8px 11px;border-radius:10px;color:var(--red);font-size:13px;margin:8px 0}.inline-error svg{margin-top:1px}.loading,.loading-screen{display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted);padding:35px 10px}.loading-screen{min-height:100dvh}.spinner{border:2px solid #dbe4fa;border-top-color:var(--blue);width:18px;height:18px;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-frame{display:grid;grid-template-columns:1fr 1fr;width:min(1060px,calc(100% - 40px));min-height:620px;margin:clamp(20px,8vh,80px) auto;border:1px solid #e0e8f4;border-radius:23px;background:var(--paper);box-shadow:0 18px 58px #223d7018;overflow:hidden}.auth-intro{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:25px;background:var(--side);padding:28px 33px}.auth-intro .brand{padding-left:0}.auth-intro h1{font-size:clamp(29px,4vw,48px);font-weight:720;line-height:1.28;letter-spacing:-.035em;margin:10px 0}.auth-intro p{color:var(--muted);max-width:320px}.auth-levels{display:flex;gap:8px;margin-top:17px}.auth-levels span{background:#ffffffb0;border:1px solid #d8e5fa;border-radius:10px;padding:4px 11px;color:#294d93;font-weight:650;font-size:13px}.auth-note{display:flex;gap:6px;align-items:center;font-size:13px}.auth-form-wrap{display:grid;place-items:center;padding:26px}.auth-form{display:grid;gap:13px;width:min(100%,355px)}.auth-form h2{font-size:29px;line-height:1.2}.auth-form>p{font-size:14px;margin-top:-7px}.auth-form label{display:grid;gap:5px;font-size:13px;font-weight:600}.auth-form label input,.auth-form label select{width:100%}.auth-form .primary{width:100%;justify-content:space-between;margin-top:3px}.auth-switch{justify-self:center}.auth-mobile-brand{display:none}@media(max-width:1080px){.paper-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.level-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.question-content{padding-inline:24px}.answer-card{padding-inline:15px}}@media(max-width:900px){.question-layout{grid-template-columns:1fr}.desktop-card{display:none}.show-card{display:inline-grid!important}.app-frame{--sidebar:140px}.page{padding-inline:24px}}@media(max-width:680px){:root{background:var(--paper);font-size:14px}.app-frame{display:block;min-height:100dvh;width:100%;margin:0;border:0;border-radius:0;box-shadow:none;overflow:visible}.sidebar{display:none}.app-main{padding-bottom:calc(86px + env(safe-area-inset-bottom))}.topbar{min-height:55px;padding:6px 12px 6px 9px;gap:5px}.topbar .back{display:inline-grid!important;width:28px;height:36px}.breadcrumb{font-size:12px;gap:5px}.top-actions{gap:1px}.save-state{font-size:11px;gap:4px}.save-state svg{width:15px}.top-actions .icon-btn{width:30px;height:36px}.top-actions .icon-btn svg{width:18px}.mobile-nav{position:fixed;z-index:10;bottom:calc(9px + env(safe-area-inset-bottom));inset-inline:10px;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:4px;background:#fcfdfff2;border:1px solid #e4e9f1;box-shadow:0 4px 23px #32497717;border-radius:19px;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.mobile-nav .nav-item{display:flex;flex-direction:column;justify-content:center;gap:1px;align-items:center;min-height:49px;padding:3px;font-size:10px;border-radius:13px;line-height:1.3}.mobile-nav .nav-item.active{background:#e6eeff}.page{padding:22px 16px}.page-title{gap:9px;margin-bottom:19px}.page-title h1{font-size:28px}.page-title p{font-size:13px}.continue-card{padding:15px;align-items:flex-start;flex-direction:column;gap:11px}.continue-card h2{font-size:20px}.stats-row{margin-top:15px}.stat{padding:10px 7px;gap:4px}.stat>svg{display:none}.stat strong{font-size:20px}.stat span{font-size:10px}.level-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.paper-grid{grid-template-columns:1fr}.paper-card{padding:14px}.paper-card .type-bar{margin:3px 0}.paper-actions .primary{font-size:13px}.section-heading{margin-top:19px}.question-content{padding:20px 16px 19px}.question-head{margin-bottom:18px;gap:8px}.question-head h1{font-size:23px}.question-progress{margin-left:auto;padding-left:0;border:0;font-size:12px}.question-head .level-badge{font-size:12px;min-width:31px;padding-inline:8px}.group-heading h2{font-size:17px}.group-heading{margin-bottom:10px}.ruby-control{font-size:11px;gap:4px}.segment button{font-size:11px;padding:3px 7px;min-height:28px}.instructions{font-size:14px;line-height:1.76;margin-bottom:16px}.question-stem{font-size:20px;line-height:1.65;margin:17px 0}.choices{gap:8px}.choice{min-height:48px;padding:7px 10px;gap:9px;border-radius:11px}.choice-text{font-size:16px}.choice-no{min-width:16px}.choice input{width:16px;height:16px}.choice-status{font-size:10px}.question-actions{margin-top:17px;flex-direction:column;align-items:stretch;gap:8px}.question-actions .primary-group{display:block}.primary-group kbd{display:none}.question-actions .primary{width:100%;min-height:43px}.guess-check{font-size:11px;min-height:25px}.review-actions{justify-content:flex-start}.reading-passage{padding:11px 12px}.reading-passage h3{font-size:16px}.reading-passage p{line-height:1.85}.exam-toolbar{top:55px;padding:7px 10px;gap:7px}.exam-toolbar>div:first-child{gap:1px;flex-direction:column;align-items:flex-start}.exam-section{font-size:11px}.exam-done{font-size:10px}.exam-clock{font-size:17px;gap:4px}.exam-clock svg{width:15px}.exam-toolbar .compact{font-size:12px;padding:5px 8px;min-height:33px}.exam-question-actions .spacer{display:none}.exam-question-actions .primary,.exam-question-actions .secondary{padding:6px 9px;min-height:37px;font-size:12px}.score-panel{flex-direction:column;align-items:flex-start;padding:15px}.auth-frame{display:block;width:100%;min-height:100dvh;margin:0;border:0;border-radius:0;box-shadow:none}.auth-intro{display:none}.auth-form-wrap{min-height:100dvh;padding:26px 20px}.auth-mobile-brand{display:block;margin-bottom:13px}.auth-mobile-brand .brand{padding-left:0}.audio-player{gap:8px;padding:9px}.replay-btn{width:30px}.table-scroll table{min-width:270px}.outline-row>div{gap:5px;flex-direction:column}.outline-row>span{font-size:12px}.crumb-root{display:none}.crumb-root+.slash{display:none}.settings-list>div{gap:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}body{display:flow-root}.answer-grid{justify-items:start}.answer-grid button{width:min(100%,44px);height:auto;aspect-ratio:1;max-height:none}.modal .answer-grid{justify-items:center}.choice:has(input:focus-visible){outline:2px solid #78a1ff;outline-offset:2px}.choice input:focus-visible{outline:none}.choice.selected:hover:not(.locked){border-color:var(--blue-line);background:#eef3ff}@media(min-width:901px){.question-head{margin-bottom:43px}.group-heading{margin-bottom:20px}.instructions{font-size:17px;line-height:1.9;margin-bottom:26px}.question-stem{font-size:clamp(24px,2.35vw,32px);font-weight:600;margin:29px 0 28px}.choices{gap:12px}.choice{min-height:57px;gap:16px}.choice-text{font-size:20px}.question-actions{margin-top:37px}.question-actions .primary{min-height:48px;min-width:166px}}@media(max-width:680px){.question-head{margin-bottom:21px}.question-head h1{font-size:24px}.group-heading{margin-bottom:13px}.question-stem{font-size:21px;white-space:pre-line;text-wrap:balance}.choices{gap:9px}.choice{min-height:50px;gap:11px;padding-inline:12px}.choice-text{font-size:18px}}@media(min-width:375px)and (max-width:680px){.crumb-root,.crumb-root+.slash{display:inline}}.paper-title-link,.outline-row{color:var(--ink)}.paper-title-link:hover{color:var(--blue);text-decoration:underline;text-underline-offset:4px}.type-bar a{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:4px 8px;border:1px solid var(--rule);border-radius:7px;background:#fff;color:#355589;font-size:12px}.type-bar a:hover,.type-bar a[aria-current=page]{border-color:#c8d9ff;background:var(--blue-light);color:var(--blue)}.topbar .back{display:inline-grid!important}.practice-choice-status{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;color:var(--muted);font-size:13px}.outline-filters button{display:inline-flex;align-items:center;gap:4px;min-height:40px;padding:4px 10px;border:1px solid var(--rule);border-radius:8px;background:#fff;color:#355589;font-size:13px}.outline-filters button:hover,.outline-filters button[aria-pressed=true]{border-color:#c8d9ff;background:var(--blue-light);color:var(--blue)}.outline-summary{font-size:14px;font-weight:650;color:var(--muted);margin:16px 0 2px;scroll-margin-top:76px}.outline-row>span.outline-row-title{display:flex;flex:1;min-width:0;flex-wrap:wrap;gap:6px 14px;color:var(--ink);font-size:inherit}.outline-row>span.outline-row-action{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;color:var(--blue);font-weight:650}.outline-row:active,.outline-filters button:active{background:var(--blue-light)}@media(max-width:680px){.outline-row>span.outline-row-title{flex-direction:column;gap:4px}.outline-row{gap:8px}}.listening-review{margin-top:20px;padding:17px;border:1px solid #d7e5f9;border-radius:16px;background:#f5f8ff}.listening-review-head,.listening-review-title,.caption-meta{display:flex;align-items:center;gap:9px}.listening-review-head{justify-content:space-between;flex-wrap:wrap}.listening-review-title h3{font-size:17px;line-height:1.35;color:var(--ink)}.listening-review-title p{font-size:12px;color:var(--muted);margin:2px 0 0}.listening-review-icon{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#e1ebff;color:#244fb9}.caption-follow{min-height:33px;padding:5px 9px;border-radius:8px;border:1px solid #d4e0f4;background:#fff;color:#43567c;font-size:12px;font-weight:650}.caption-follow[aria-pressed=true]{background:#e7efff;border-color:#bcd1fa;color:#244da9}.listening-review .audio-player{margin:13px 0 10px;background:#fff;border-color:#dbe6f7}.caption-list{list-style:none;margin:0;padding:4px;max-height:min(390px,55vh);overflow-y:auto;scrollbar-gutter:stable;overscroll-behavior-y:contain}.caption-row{padding:10px 12px 12px;margin:0 0 6px;border:1px solid transparent;border-left:3px solid transparent;border-radius:10px;background:#ffffffa8}.caption-row:last-child{margin-bottom:0}.caption-row.caption-active{background:#e6efff;border-color:#ccddfd;border-left-color:var(--blue);box-shadow:0 2px 8px #2457b816}.caption-meta{min-height:28px;flex-wrap:wrap}.caption-time{padding:3px 7px;border-radius:6px;background:#eef3fc;color:#37538a;font-size:12px;font-variant-numeric:tabular-nums;font-weight:650}.caption-time:hover,.caption-active .caption-time{background:#d9e7ff;color:#1a449f}.caption-speaker,.caption-untimed{font-size:12px;color:#526687}.caption-now{margin-left:auto;color:#224fae;font-size:11px;font-weight:700}.caption-japanese{margin:4px 0 2px;color:#15294d;font-size:16px;font-weight:600}.caption-translation{margin:0;color:#425577;font-size:14px;line-height:1.6}.caption-active .caption-japanese,.caption-active .caption-translation{color:#163776}@media(max-width:680px){.listening-review{padding:11px}.caption-list{max-height:min(350px,54vh)}.caption-row{padding:9px}.caption-japanese{font-size:15px}}:root{color-scheme:light;--canvas:#edf6fb;--paper:#fffdfb;--white:#f5fbff;--side:#edf7fc;--ink:#17294a;--muted:#465c77;--faint:#60748a;--rule:#cbe5f3;--edge:#aed9ee;--blue:#d9f58a;--blue-deep:#cbea71;--blue-light:#edf9d2;--blue-line:#587c13;--accent:#4d7410;--accent-border:#84ac38;--sky:#e6f5fd;--sky-deep:#d1eaf8;--green:#37650e;--green-bg:#edf8d9;--red:#a33d3e;--red-bg:#fff0ec;--warm:#fff7df;--warm-border:#ecd48d;--warm-ink:#6f5012}a{color:var(--accent)}.app-frame,.auth-frame{border-color:var(--rule);box-shadow:0 14px 46px #315e8414}.app-frame{--sidebar:clamp(155px,15.1vw,210px)}.sidebar{border-color:var(--rule);gap:29px}.brand{display:grid;justify-items:start;gap:4px;min-width:0;padding:6px 5px;border-radius:6px;color:var(--ink)}.brand img{width:clamp(88px,9vw,124px);height:auto;object-fit:contain}.brand strong{font-size:clamp(15px,1.5vw,21px);font-weight:800;letter-spacing:-.03em;white-space:nowrap}.brand:hover,.nav-item:hover,.text-btn:hover:not(:disabled){background:var(--sky)}.nav-item{color:var(--muted);border-radius:8px}.nav-item.active,.mobile-nav .nav-item.active{color:var(--accent);background:var(--blue-light)}.topbar,.exam-toolbar{background:#fffdfbf5;border-color:var(--rule)}.mobile-nav{background:#fffdfbf7;border-color:var(--edge);box-shadow:0 6px 18px #365e8012}.text-btn{color:var(--accent)}.save-state,.instructions,.ruby-control{color:var(--muted)}.primary,.secondary,.text-btn,.choice,.filter-tabs button,.icon-btn,.quest-home nav a{transition:transform .16s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease}.primary{color:var(--ink);border-radius:12px;box-shadow:0 2px #799a3524;font-weight:780}.primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 15px #799a3529}.primary:active:not(:disabled),.secondary:active:not(:disabled),.icon-btn:active:not(:disabled),.quest-home nav a:active{transform:translateY(1px)}.primary:disabled{background:#e8f0f4;border-color:#e8f0f4;color:#60758c}.secondary,.paper-card,.fold,.explain-options article,.filter-tabs button,.type-bar a,.outline-filters button,input:not([type=radio]):not([type=checkbox]):not([type=range]),select,textarea{background:var(--white);color:var(--ink);border-color:var(--edge)}.secondary:hover:not(:disabled),.fold summary:hover,.outline-row:hover,.review-row:hover,.history-row:hover{background:var(--sky);border-color:var(--edge)}.filter-tabs button[aria-pressed=true],.type-bar a:hover,.type-bar a[aria-current=page],.outline-filters button:hover,.outline-filters button[aria-pressed=true]{border-color:var(--accent-border);background:var(--blue-light);color:var(--ink)}.type-bar a,.outline-filters button,.fold summary,.exam-clock,.score-panel>div:first-child>strong{color:var(--ink)}.eyebrow{color:var(--accent)}.eyebrow{letter-spacing:.09em}.outline-row svg,.review-row svg,.history-row svg,.empty>svg{color:var(--accent)}.level-badge{background:var(--sky);color:var(--ink);border:1px solid var(--edge);border-radius:8px}.resume-banner,.score-panel,.exam-audio,.audio-player,.reading-passage,.result-banner.neutral,.result-dot.neutral{background:var(--sky);border-color:var(--edge);color:var(--ink)}.resume-banner:hover{background:var(--sky-deep)}.reading-passage{border:0;border-left:3px solid #8ecbea;border-radius:12px}.exam-toolbar{background:#e7f6fdf8}.exam-clock .urgent{color:var(--red)}.audio-meta,.audio-meta strong,.exam-audio>div:first-child{color:var(--muted)}.audio-body input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:24px;margin-top:0;background:transparent}.audio-body input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:99px;background:linear-gradient(90deg,#9cc842 var(--played),var(--sky-deep) var(--played))}.audio-body input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:15px;height:15px;margin-top:-4.5px;border:0;border-radius:50%;background:var(--accent-border)}.audio-body input[type=range]::-moz-range-track{height:6px;border-radius:99px;background:var(--sky-deep)}.audio-body input[type=range]::-moz-range-progress{height:6px;border-radius:99px;background:#9cc842}.audio-body input[type=range]::-moz-range-thumb{width:15px;height:15px;border:0;border-radius:50%;background:var(--accent-border)}.play-btn,.answer-grid button.current{color:var(--ink)}.table-scroll table,.desktop-card,.segment{background:var(--white)}.table-scroll th{background:var(--sky)}.segment{border-color:var(--edge)}.segment button,.answer-grid button,.explain-number{color:var(--ink);background:var(--sky)}.segment button[aria-pressed=true],.segment button:hover,.answer-grid button.done{color:var(--accent);background:var(--blue-light);border-color:var(--accent-border)}.choice{background:var(--white);color:var(--ink)}.choice:hover:not(.locked){background:var(--sky);border-color:#7bb3d2}.choice.selected,.choice.selected:hover:not(.locked){background:var(--blue-light);border-color:var(--accent-border)}.choice.correct,.explain-options article.right-option{background:var(--green-bg);border-color:var(--accent-border)}.choice.incorrect{background:var(--red-bg);border-color:#d38a83}.choice:has(input:focus-visible){outline-color:var(--blue-line)}.choice input{accent-color:var(--accent)}.card-key i:nth-child(2),progress,progress::-webkit-progress-bar{background:var(--sky-deep)}progress{accent-color:var(--accent-border)}progress::-webkit-progress-value{background:#9cc842}progress::-moz-progress-bar{background:#9cc842}.card-key i:nth-child(2){border:1px solid var(--accent-border)}.listening-review{background:var(--paper);border-color:var(--edge)}.caption-row,.listening-review .audio-player,.caption-follow{background:var(--white);border-color:var(--rule)}.caption-row.caption-active,.caption-follow[aria-pressed=true],.caption-time:hover,.caption-active .caption-time{background:var(--blue-light);border-color:var(--accent-border);color:var(--accent)}.caption-row.caption-active{border-left-color:var(--accent-border);box-shadow:none}.caption-japanese,.caption-active .caption-japanese{color:var(--ink)}.caption-translation,.caption-active .caption-translation,.caption-speaker,.caption-untimed{color:var(--muted)}.caption-now,.caption-follow,.caption-time,.listening-review-icon{color:var(--accent)}.caption-time,.listening-review-icon{background:var(--sky)}.modal::backdrop{background:#20375560}.inline-error{border-color:#d38a83}.auth-intro{background:var(--sky) url(/jlpt-preview/assets/bright-home-reference.webp) center bottom / 100% auto no-repeat;position:relative;isolation:isolate;padding-bottom:clamp(230px,33vw,410px)}.auth-intro:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:linear-gradient(var(--paper),transparent 75%)}.auth-levels span{background:var(--blue-light);color:var(--accent);border-color:var(--rule)}.auth-mobile-brand .brand img{width:105px}.quest-home{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.14fr);grid-template-areas:"head head" "copy art";width:min(1400px,calc(100% - 44px));min-height:min(850px,calc(100dvh - 44px));margin:22px auto;background:var(--paper);border:1px solid var(--rule);border-radius:20px;overflow:hidden}.quest-home-header{grid-area:head;background:linear-gradient(110deg,var(--paper),var(--side));border-bottom:1px solid var(--rule)}.quest-home-header{display:flex;align-items:center;gap:clamp(9px,1.8vw,27px);padding:20px clamp(22px,3.6vw,54px);z-index:1}.quest-home-header .brand img{width:clamp(94px,9vw,130px)}.quest-home-header .brand strong{font-size:clamp(18px,1.8vw,27px)}select.quest-level{width:auto;min-height:36px;padding:5px 8px;font-weight:700;border-radius:8px;background:var(--sky)}.quest-home-header nav{display:flex;align-items:center;gap:clamp(13px,2.2vw,34px);margin-left:auto}.quest-home nav a,.quest-account{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;white-space:nowrap;color:var(--ink);font-size:14px;font-weight:650}.quest-home nav a:hover,.quest-account:hover{color:var(--accent)}.quest-home-art{grid-area:art;position:relative;min-width:0;min-height:0}.quest-home-art:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(90deg,var(--paper),transparent 16%),linear-gradient(0deg,var(--paper),transparent 21%)}.quest-home-copy{grid-area:copy;align-self:center;min-width:0;width:100%;margin:0;padding:clamp(30px,5vh,64px) clamp(22px,4.1vw,66px)}.quest-home-copy h1{font-size:clamp(35px,4.2vw,67px);line-height:1.16;font-weight:850;letter-spacing:-.045em;font-style:italic}.quest-tagline{width:fit-content;margin-top:6px;font-size:clamp(18px,2.1vw,28px);font-weight:760;font-style:italic}.quest-tagline:after{content:"";display:block;width:48px;height:5px;margin-top:10px;background:var(--blue);transform:skew(-22deg)}.quest-current{margin-top:clamp(18px,4vh,38px)}.quest-current h2{font-size:clamp(26px,3.25vw,49px);letter-spacing:-.04em;line-height:1.18;font-weight:800}.quest-current h2 span{margin:0 3px}.quest-current p{font-size:clamp(13px,1.28vw,19px);margin-top:9px;line-height:1.55}.quest-current p.muted{font-size:13px;margin-top:5px}.quest-start{justify-content:space-between;width:min(100%,430px);min-height:61px;margin-top:18px;padding-inline:20px;font-size:clamp(19px,2.1vw,30px)}.quest-progress{width:min(100%,430px);margin-top:clamp(20px,4vh,42px)}.quest-progress p{margin:0 0 6px;font-size:14px;color:var(--muted)}.quest-progress strong{font-variant-numeric:tabular-nums;color:var(--ink);margin-left:4px}.quest-progress progress{display:block;width:100%;height:8px}.home-training{width:min(100%,430px);margin-top:15px;padding:12px 13px;border:1px solid var(--edge);border-radius:12px;background:var(--side)}.home-training h2{font-size:14px;margin:0 0 10px;line-height:1.25}.home-training ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:0;gap:5px}.home-training li{display:grid;justify-items:center;gap:4px;text-align:center;font-size:12px;line-height:1.3}.home-training li:not(:last-child){border-right:1px solid var(--rule)}.home-training li svg,.home-training li b{color:var(--accent)}.home-training li span{color:var(--muted);font-variant-numeric:tabular-nums}.quest-play{max-width:980px}.quest-run-head{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:13px}.quest-run-head>span:last-child{margin-left:auto}.quest-review-tag{padding:2px 9px;border:1px solid var(--edge);border-radius:6px;color:var(--accent);background:var(--blue-light)}.quest-stage-progress{width:100%;display:block;margin:12px 0 24px}.quest-question,.quest-result,.app-main>.page,.quest-home-copy{animation:quest-in .24s cubic-bezier(.16,1,.3,1) both}@keyframes quest-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.quest-answer-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap;margin-top:20px}.quest-answer-actions.answered{position:sticky;top:65px;z-index:4;padding:9px 0;background:var(--paper);scroll-margin-top:67px}.quest-answer-actions>span{margin-right:auto;font-size:14px;font-weight:700}.quest-answer-actions .primary{min-height:48px}.quest-success-icon{color:var(--accent)}.quest-failed-icon{color:var(--red)}.quest-result{display:grid;justify-items:center;gap:11px;text-align:center;min-height:420px;padding:24px 22px 26px;border:1px solid var(--edge);border-radius:15px;background:linear-gradient(var(--sky),var(--paper) 42%)}.quest-result h1{font-size:clamp(30px,4vw,46px);line-height:1.2}.quest-result p{color:var(--muted)}.quest-result .quest-progress{margin-top:10px}.quest-result-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:16px}@media(max-width:1020px){.quest-home{display:flex;flex-direction:column;min-height:min(900px,calc(100dvh - 32px));width:calc(100% - 32px);margin:16px auto}.quest-home-header{padding:12px 23px;gap:11px}.quest-home-header nav{gap:clamp(9px,1.5vw,15px)}.quest-home-art{height:clamp(250px,57vw,462px);flex:none}.quest-home-art:after{background:linear-gradient(0deg,var(--paper),transparent 27%)}.quest-home-copy{position:relative;display:flex;flex-direction:column;width:100%;max-width:760px;align-self:center;margin-top:-20px;padding:0 31px 28px}.quest-home-copy h1{font-size:clamp(31px,5.6vw,55px)}.quest-start,.quest-progress,.home-training{width:100%}}@media(max-width:680px){.quest-home{width:100%;min-height:100dvh;margin:0;border:0;border-radius:0}.quest-home-header{padding:10px 13px;gap:8px}.quest-home-header .brand img{width:85px}.quest-home-header .brand strong{font-size:16px}.quest-home-header .icon-btn{width:36px;height:36px}.quest-account{font-size:12px}.quest-home-header select.quest-level{font-size:13px;padding-inline:5px}.quest-home-art{height:clamp(205px,64vw,348px)}.quest-home-copy{margin-top:-6px;padding:0 17px calc(84px + env(safe-area-inset-bottom))}.quest-home-copy h1{font-size:clamp(29px,8vw,44px)}.quest-tagline{font-size:18px}.quest-tagline:after{height:4px;width:37px;margin-top:7px}.quest-current{margin-top:17px}.quest-current h2{font-size:28px}.quest-current p{font-size:13px;margin-top:5px}.quest-start{min-height:49px;margin-top:13px;font-size:20px}.quest-progress{margin-top:17px}.quest-home-header nav,.quest-home-header .quest-account{display:none}.home-training{margin-top:13px;padding:10px 8px}.home-training li{font-size:clamp(10px,3vw,12px)}.quest-answer-actions{position:sticky;bottom:calc(75px + env(safe-area-inset-bottom));z-index:4;padding:8px 0;background:var(--paper);gap:7px}.quest-answer-actions.answered{top:55px;bottom:auto;scroll-margin-top:56px}.quest-answer-actions .primary{width:100%;justify-content:space-between}.quest-answer-actions>span{font-size:12px}}@media(min-width:520px)and (max-width:680px)and (max-height:500px)and (orientation:landscape){.quest-home{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-rows:auto 1fr;min-height:100dvh}.quest-home-header{padding-block:6px}.quest-home-copy{align-self:start;margin:0;padding-top:16px}.quest-home-copy h1{font-size:clamp(25px,4.7vw,32px)}.quest-current{margin-top:12px}.quest-current h2{font-size:24px}.quest-home-art{align-self:start;height:min(300px,calc(100dvh - 73px))}.quest-home-art:after{background:linear-gradient(90deg,var(--paper),transparent 15%),linear-gradient(0deg,var(--paper),transparent 23%)}}.arcade-frame .topbar{background:linear-gradient(105deg,var(--paper),#e9f6fff6)}.arcade-top-brand{display:none}.arcade-frame .top-actions{margin-left:auto}.arcade-account{margin-left:8px}.arcade-page{max-width:960px}.arcade-title{margin:0 0 17px}.arcade-title h1{display:flex;align-items:center;gap:13px;font-size:clamp(33px,4.1vw,63px);font-style:italic;font-weight:900;line-height:1.14;letter-spacing:-.055em}.arcade-title h1:after{content:"";flex:none;width:clamp(24px,7vw,82px);height:clamp(8px,1.5vw,15px);background:var(--blue);clip-path:polygon(0 77%,100% 0,7% 100%);transform-origin:left;animation:arcade-strike .48s .06s cubic-bezier(.15,.8,.18,1) both}.arcade-title p{margin-top:9px;color:var(--muted);font-size:14px;line-height:1.55}.arcade-levels{margin-bottom:13px;gap:8px}.arcade-levels button{min-width:55px;min-height:40px;font-weight:800}.arcade-levels button{background:var(--sky)}.arcade-levels button[aria-pressed=true]{border-color:var(--accent-border);background:var(--blue-light);color:var(--ink)}.arcade-arena{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--edge);border-radius:17px;background:var(--sky);animation:arena-enter .43s cubic-bezier(.18,.85,.26,1) both}.arena-art{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;background-repeat:no-repeat;background-size:cover;pointer-events:none}.arena-art-map{background-image:url(/jlpt-preview/assets/bright-map-sky.webp);background-position:center bottom;background-size:100% 100%}.arena-art-mock{background-image:url(/jlpt-preview/assets/bright-mock-background.webp);background-position:center bottom;background-size:100% 100%}.arena-art-review{background-image:url(/jlpt-preview/assets/bright-review.webp);background-position:center 52%}.arena-runner{position:absolute;display:block}.arena-runner{bottom:6%;left:0;width:47%;height:88%;background-position:center bottom;background-repeat:no-repeat;background-size:contain;transform-origin:50% 97%;filter:drop-shadow(0 3px 4px #577b9c22)}.arena-art-map .arena-runner{bottom:1.2%;left:2%;width:44%;height:92%;background-image:url(/jlpt-preview/assets/bright-map-girl.webp);animation:runner-leap 4.4s ease-in-out infinite}.arena-art-mock .arena-runner{bottom:11.8%;left:9%;width:37%;height:79%;background-image:url(/jlpt-preview/assets/bright-mock-girl.webp);animation:runner-breathe 4s ease-in-out infinite}.arena-art-mock.arena-resting .arena-runner{animation-duration:6.2s}.arena-mascot{flex:0 0 auto;width:40px;height:38px;border-radius:10px;overflow:hidden;background:url(/jlpt-preview/assets/bright-question-girl.webp) center / contain no-repeat;transform-origin:50% 90%;animation:mascot-idle 3.8s ease-in-out infinite}.arena-mascot[data-action=cheer]{animation:mascot-cheer .45s cubic-bezier(.17,.78,.26,1.35) both}.arena-mascot[data-action=steady],.arena-mascot[data-still=true]{animation:none}.exam-toolbar .arena-mascot{width:26px;height:26px}@keyframes runner-leap{0%,to{transform:translate(0) rotate(-.8deg) scaleY(.985)}21%{transform:translate(-3px,2px) rotate(-1.4deg) scale(1.01,.972)}48%{transform:translate(7px,-13px) rotate(1.7deg) scale(.998,1.025)}63%{transform:translate(5px,-10px) rotate(.8deg) scaleY(1.01)}}@keyframes runner-breathe{0%,to{transform:rotate(-.8deg) scale(1.006,.98)}48%{transform:translate(2px) rotate(.85deg) scale(.995,1.018)}65%{transform:translate(2px) rotate(.45deg) scaleY(1.008)}}@keyframes mascot-idle{0%,to{transform:rotate(-2deg)}45%{transform:translateY(-1px) rotate(3deg)}}@keyframes mascot-cheer{0%,to{transform:none}43%{transform:translateY(-4px) rotate(-7deg) scale(1.08)}}.map-arena{min-height:clamp(300px,37vw,445px);display:grid;align-items:center}.stage-trail{position:relative;isolation:isolate;display:grid;justify-items:center;gap:16px;width:57%;margin-left:auto;padding:20px 15px 20px 0;list-style:none}.stage-trail li{position:relative;width:100%;min-height:58px;display:grid;justify-items:center}.stage-trail li:not(:last-child):has(.stage-plate):after{content:"";position:absolute;z-index:-1;top:72%;left:51%;width:5px;height:52px;background:#b2cb95;transform:rotate(23deg);transform-origin:top}.stage-trail .stage-active:after{animation:route-flow 2.5s ease-in-out infinite}.stage-plate{display:grid;grid-template-columns:auto auto;justify-content:center;align-content:center;align-items:center;gap:1px 8px;width:min(100%,220px);min-height:65px;padding:9px 17px;text-align:center;clip-path:polygon(11% 0,90% 0,100% 25%,100% 75%,88% 100%,10% 100%,0 75%,0 25%);background:var(--sky);color:var(--ink);border-block:2px solid #ffffffa6;animation:stage-enter .48s cubic-bezier(.17,.86,.25,1.16) both}.stage-plate strong{font-size:clamp(17px,2.5vw,27px);line-height:1.18;white-space:nowrap;letter-spacing:-.035em}.stage-plate small{grid-column:1/-1;color:var(--muted);font-size:12px}.stage-previous .stage-plate{margin-left:6%;color:var(--ink);animation-delay:.05s}.stage-previous .stage-plate svg{color:var(--accent)}.stage-active .stage-plate{position:relative;overflow:hidden;min-height:76px;width:min(100%,275px);background:var(--blue);color:var(--ink);border-color:#ffffffb5;box-shadow:inset 0 -3px #8faa352b;animation-delay:.12s}.stage-active .stage-plate:focus-visible{background:var(--blue-light);box-shadow:inset 0 0 0 4px var(--accent)}.stage-active .stage-plate:before,.arcade-cta:before{content:"";position:absolute;inset-block:0;left:-46%;width:36%;pointer-events:none;transform:skew(-24deg);background:#fff5;animation:arcade-sheen 4.2s 1s ease-in-out infinite}.stage-active .stage-plate:hover{background:var(--blue-deep)}.stage-active .stage-plate:active{scale:.98}.stage-locked .stage-plate{margin-right:6%;background:#e0eaf2;color:#52677d;animation-delay:.19s}.stage-locked .stage-plate svg{color:#687e94}.arcade-brief{position:relative;z-index:1;padding:15px 17px 17px;margin-top:10px;border:1px solid var(--edge);border-radius:15px;background:var(--side)}.arcade-brief h2{font-size:17px;margin-bottom:11px}.arcade-types{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.arcade-types li{display:grid;justify-items:center;text-align:center;position:relative;gap:4px;font-size:13px;padding-inline:2px}.arcade-types li:not(:last-child){border-right:1px solid var(--edge)}.arcade-types svg{color:var(--accent)}.arcade-types small{color:var(--muted);font-variant-numeric:tabular-nums}.arcade-rule{display:flex;align-items:center;gap:7px;margin:12px 0 0;padding-top:9px;border-top:1px solid var(--rule);color:var(--warm-ink);font-size:13px}.arcade-cta{position:relative;isolation:isolate;overflow:hidden;justify-content:center;min-height:54px;width:100%;margin-top:14px;font-size:21px;font-weight:860}.arcade-cta svg{position:absolute;right:17px;transition:transform .2s ease-out}.arcade-cta:hover:not(:disabled) svg{transform:translate(4px)}.arcade-cta:disabled:before{display:none}.review-arena{min-height:clamp(165px,24vw,286px)}.review-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:13px 0;border:1px solid var(--edge);border-radius:13px;background:var(--side)}.review-switch button{min-height:43px;border-radius:9px;font-weight:800;color:var(--ink);transition:color .2s,background .2s,transform .17s}.review-switch button[aria-pressed=true]{color:var(--ink);background:var(--blue)}.review-switch button:active{transform:scale(.97)}.review-switch b{display:inline-block;min-width:24px;padding:1px 5px;border-radius:12px;background:#567d1726;color:inherit;font-variant-numeric:tabular-nums}.review-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.review-tile{position:relative;display:grid;justify-items:start;gap:3px;min-height:102px;padding:11px 12px;text-align:left;border:1px solid var(--edge);border-radius:13px;background:var(--white);transition:transform .18s,background .18s,border-color .18s}.review-tile svg:first-child,.review-tile small b{color:var(--accent)}.review-tile svg:last-child{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:var(--muted)}.review-tile strong{font-size:17px}.review-tile small{color:var(--muted);font-size:13px}.review-tile:hover,.review-tile[aria-pressed=true]{border-color:var(--accent-border);background:var(--blue-light)}.review-tile:active{transform:scale(.97)}.arcade-review-tools{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.arcade-review-tools .filter-tabs{margin-block:0}.arcade-review .review-list{animation:arcade-up .28s ease-out both}.review-question-layout{display:block;max-width:920px;margin-inline:auto}.mock-arena{min-height:clamp(240px,32vw,370px);display:grid;align-items:center}.arcade-clock{display:grid;justify-items:start;gap:9px;margin-left:46%;min-width:0;padding:16px 14px 16px 0}.arcade-clock-status{color:var(--ink);background:var(--blue);font-weight:850;border-radius:7px;padding:6px 10px;font-size:clamp(13px,2vw,20px);line-height:1.2}.arcade-clock p{color:var(--ink);font-size:13px;font-weight:650}.arcade-digits{color:var(--ink);font-size:clamp(42px,8vw,100px);line-height:1;font-weight:900;letter-spacing:-.065em;font-style:italic;font-variant-numeric:tabular-nums;animation:arcade-clock-in .38s .12s both}.arcade-clock-track{width:min(95%,270px);height:6px;margin:4px 0 0;accent-color:var(--accent-border)}.exam-course{list-style:none;padding:0;display:flex;margin:16px 0 12px;text-align:center}.exam-course li{position:relative;flex:1;min-width:0;display:grid;justify-items:center;gap:4px}.exam-course li:not(:last-child):after{content:"";position:absolute;top:10px;left:50%;width:100%;height:2px;background:var(--edge)}.exam-course li.course-done:after{background:var(--blue)}.course-pin{z-index:1;width:21px;height:21px;display:grid;place-items:center;background:var(--paper);border:2px solid #a8bfd0;border-radius:50%}.course-current .course-pin{background:var(--blue);border-color:var(--accent-border);box-shadow:inset 0 0 0 2px var(--paper)}.course-done .course-pin{background:var(--blue);color:var(--accent);border-color:var(--accent-border)}.exam-course strong{font-size:14px}.exam-course small,.arcade-helper{color:var(--muted);font-size:13px}.arcade-helper{text-align:center;margin-top:10px;line-height:1.6}.arcade-back{display:flex;margin:13px auto 0}.arcade-history{margin-top:24px}.mock-set-bar,.review-level-bar,.form-picker{display:flex;align-items:center;justify-content:space-between;gap:10px}.mock-set-bar,.review-level-bar{margin:0 0 10px;padding:8px 12px;border:1px solid var(--rule);border-radius:10px;background:var(--side);font-size:13px}.mock-set-bar>span,.review-level-bar>span{color:var(--muted)}.review-level-bar{margin:12px 0 0}.game-select{min-height:44px;display:inline-flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 11px;border:1px solid var(--edge);border-radius:10px;color:var(--ink);background:var(--sky);font-weight:750;white-space:nowrap;transition:background .18s,border-color .18s}.game-select:hover,.game-select[aria-expanded=true]{background:var(--blue-light);border-color:var(--accent-border)}.game-select svg{color:var(--accent)}.game-select:disabled{opacity:.55}.game-picker{width:min(92vw,440px);max-height:80dvh;overflow:auto;overscroll-behavior:contain;border-top:2px solid var(--blue)}.picker-options{display:grid;gap:6px}.picker-options button{min-height:49px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;border-radius:9px;border:1px solid var(--rule);background:var(--white);text-align:left}.picker-options button:hover,.picker-options button[aria-pressed=true]{background:var(--blue-light);border-color:var(--accent-border)}.picker-options button[aria-pressed=true] svg{flex:none;color:var(--accent)}.picker-options small{display:block;margin-top:3px;color:var(--muted);font-size:12px}.picker-search{display:grid;gap:6px;margin-bottom:12px;color:var(--muted);font-size:13px}.picker-search input{width:100%}.review-switch{grid-template-columns:repeat(3,minmax(0,1fr))}.review-switch button{white-space:nowrap}.review-switch b{min-width:20px}.training-coverage{margin:10px 0 0;padding-top:8px;border-top:1px solid var(--rule);color:var(--muted);font-size:12px}.training-coverage span{padding:0 4px;color:var(--accent)}.question-divider{display:flex;align-items:center;gap:9px;margin:21px 0 12px;color:var(--muted);font-size:12px;font-weight:700}.question-divider:after{content:"";flex:1;height:1px;background:var(--edge)}.question-divider span{padding:4px 8px;border-radius:5px;background:var(--sky)}.example summary span[lang=ja]{font-weight:800;color:var(--accent)}.quest-question .group-heading h1{font-size:clamp(25px,4vw,33px);line-height:1.25}.quest-group-title{color:var(--muted);font-size:14px;margin-bottom:5px}.quest-question .reading-passage{margin-top:13px}.quest-question .question-stem,.exam-layout .question-stem{color:var(--ink)}.exam-layout .question-stem{padding:12px 16px;border-radius:12px;background:var(--sky)}.quest-run-head .arena-mascot{align-self:end}.quest-run-head:has(.arena-mascot)+.quest-stage-progress{margin-top:3px}.quest-stage-progress{margin-bottom:17px}.caption-row{display:grid;grid-template-columns:62px minmax(0,1fr);align-items:start;gap:10px}.caption-meta{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px;padding:3px 6px 0 0;border-right:1px solid var(--rule)}.caption-now{margin-left:0}.caption-lines,.caption-lines p{min-width:0}.caption-lines .caption-japanese{margin-top:0}.caption-time{min-width:47px;min-height:29px}.listening-review .audio-player{background:var(--sky);border-color:var(--edge)}.listening-review-head{flex-wrap:wrap;row-gap:6px}.listening-review .caption-list{padding-inline:0}.quest-question .instructions{font-size:clamp(14px,2vw,16px)}.quest-warning{color:var(--warm-ink)}.quest-result-stats{display:flex;justify-content:center;gap:8px;width:min(100%,420px)}.quest-result-stats span{display:grid;gap:3px;flex:1;padding:8px 5px;border-radius:9px;background:var(--sky);font-size:12px;color:var(--muted)}.quest-result-stats strong{color:var(--ink);font-size:22px;font-variant-numeric:tabular-nums}.analysis-key{padding:13px 14px;border-radius:10px;border:1px solid var(--warm-border);background:var(--warm)}.analysis-key h3{display:flex;align-items:center;gap:7px;margin-bottom:5px;color:var(--warm-ink)}.analysis-key .rich strong,.analysis-key .rich mark{color:var(--warm-ink);background:#ffedb8;border-radius:3px;padding:0 .15em}.analysis .result-banner .jp{color:var(--ink)}.result-training{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:11px 13px;margin-top:15px;border:1px solid var(--warm-border);border-radius:10px;background:var(--warm)}.result-training strong{color:var(--ink)}.result-training>span{display:flex;align-items:center;gap:6px}.result-training svg{color:var(--accent)}.result-training .secondary{background:var(--blue);border-color:var(--accent-border)}.mock-ready-intro .arena-art-mock{animation:arena-enter .48s ease-out both}.results-page>.arcade-title{background:linear-gradient(90deg,#e6f5fd 8%,#e6f5fd20),url(/jlpt-preview/assets/bright-map-sky.webp) center top / 100% auto;border-radius:12px;padding:13px 15px}.results-page .filter-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:440px}.arcade-score{position:relative;overflow:hidden}.arcade-score-stamp{position:absolute;right:20px;top:15px;color:var(--accent);animation:arcade-stamp .42s ease-out both}.arcade-score>div>strong{font-size:clamp(44px,7.2vw,68px)}.score-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px;text-align:center}.score-facts span{display:grid;gap:2px;justify-items:center;line-height:1.12}.score-facts span+span{border-left:1px solid var(--rule)}.score-facts b{font-size:24px}.score-facts span:first-child b{color:var(--green)}.score-facts span:nth-child(2) b{color:var(--red)}.type-score{grid-template-columns:minmax(0,1fr);padding:10px 13px;border:1px solid var(--edge);border-radius:12px;background:var(--white)}.type-score>div+div{border-top:1px solid var(--rule);padding-top:6px}.type-score>div>strong{min-width:3.5em}.type-score progress{width:0;min-width:0}.account-page{max-width:880px}.account-frame .breadcrumb{font-size:18px;font-weight:800;color:var(--ink)}.account-summary{align-items:center;padding:15px 18px;gap:12px;border:1px solid var(--edge);border-radius:15px;background:var(--sky)}.account-summary>div{min-width:0}.account-summary h1{overflow-wrap:anywhere}.account-summary img{display:block;width:clamp(76px,30%,126px);aspect-ratio:1;object-fit:cover;border-radius:50%;border:2px solid var(--paper)}.settings-list>div>section{min-width:0}.settings-list>div>:last-child{flex-shrink:0}.account-page .logout{margin-top:17px}.account-page .sound-control[aria-pressed=true]{background:var(--sky);border:1px solid var(--edge)}.quest-home-art{background:var(--sky) url(/jlpt-preview/assets/bright-home-sky.webp) center / cover no-repeat;overflow:hidden}.quest-home-art:after{z-index:1}.home-cast{position:absolute;display:block;bottom:0;background-position:center bottom;background-size:contain;background-repeat:no-repeat;transform-origin:50% 94%;animation:cast-idle 5s ease-in-out infinite alternate}.home-cast-first{left:5%;width:47%;height:94%;background-image:url(/jlpt-preview/assets/bright-home-boy.webp)}.home-cast-second{left:48%;width:45%;height:86%;background-image:url(/jlpt-preview/assets/bright-home-girl.webp);animation-duration:5.8s;animation-delay:-2.1s}.quest-start:hover svg,.quest-home-quick a:hover svg{animation:arcade-nudge .55s cubic-bezier(.2,.85,.25,1)}.auth-form{animation:arcade-up .32s ease-out both}.nav-item{transition:transform .18s,background-color .18s,color .18s}.nav-item:active{transform:scale(.93)}.nav-item.active svg{animation:arcade-stamp .32s ease-out both}.modal[open]{animation:arcade-up .24s cubic-bezier(.2,.85,.24,1) both}.choice:active:not(.locked){transform:scale(.993)}.quest-run-head .level-badge,.quest-review-tag{animation:arcade-stamp .34s ease-out both}.quest-answer-actions.answered>[role=status],.result-banner{animation:arcade-up .25s ease-out both}.quest-result-emblem{position:relative;display:flex;align-items:center;justify-content:center;gap:16px;margin:0 0 5px}.quest-result-emblem>svg{position:relative;z-index:1;animation:arcade-stamp .44s cubic-bezier(.12,.75,.26,1.34) both}.quest-result-emblem img{display:block;width:clamp(90px,27vw,132px);height:auto}.stage-victory{border-color:#bdd78f}.correction-unlock{position:relative;display:flex;align-items:center;gap:9px;min-height:48px;padding:10px 13px;margin-top:14px;color:var(--accent);background:var(--blue-light);border:1px solid var(--accent-border);border-radius:11px;font-weight:800;animation:arcade-up .33s ease-out both}.victory-sparks{position:absolute;display:block;width:0;height:0;top:50%;left:50%;pointer-events:none}.victory-sparks i{position:absolute;width:var(--spark-size);height:calc(var(--spark-size) * .58);background:var(--blue);border-radius:1px;opacity:0;animation:arcade-burst .7s .07s ease-out both}.victory-sparks i:nth-child(3n){background:#fff8c6}.correction-unlock .victory-sparks{left:24px}@keyframes arcade-strike{0%{transform:scaleX(.05) skew(-15deg);opacity:0}to{transform:scaleX(1) skew(-15deg);opacity:1}}@keyframes arcade-up{0%{transform:translateY(8px);opacity:.25}to{transform:translateY(0);opacity:1}}@keyframes arena-enter{0%{opacity:.5;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes route-flow{0%,to{opacity:.4}50%{opacity:1;box-shadow:0 0 13px var(--blue)}}@keyframes stage-enter{0%{opacity:0;transform:translate(14px,5px) scale(.94)}to{opacity:1;transform:none}}@keyframes arcade-sheen{0%,65%{transform:translate(0) skew(-24deg);opacity:0}70%{opacity:1}88%,to{transform:translate(460%) skew(-24deg);opacity:0}}@keyframes cast-idle{0%{transform:translateY(0) rotate(-.7deg) scaleY(1)}50%{transform:translateY(-7px) rotate(.32deg) scaleY(1.017)}to{transform:translateY(-1px) rotate(1.05deg) scaleY(1.004)}}@keyframes arcade-clock-in{0%{transform:translate(9px) scale(.94);opacity:.2}to{transform:none;opacity:1}}@keyframes arcade-stamp{0%{transform:scale(.73);opacity:.35}67%{transform:scale(1.12)}to{transform:scale(1);opacity:1}}@keyframes arcade-nudge{45%{transform:translate(5px)}}@keyframes arcade-burst{0%{opacity:0;transform:rotate(var(--ray)) translate(8px)}18%{opacity:1}to{opacity:0;transform:rotate(var(--ray)) translate(var(--reach)) rotate(100deg)}}@media(max-width:1020px){.home-cast-first{left:11%;width:39%;height:98%}.home-cast-second{left:49%;width:38%;height:89%}}@media(max-width:680px){.game-picker{width:100%;max-width:none;max-height:min(80dvh,650px);margin:auto 0 0;border-radius:19px 19px 0 0;padding-bottom:env(safe-area-inset-bottom)}.game-picker[open]{animation:picker-rise .24s cubic-bezier(.19,.82,.28,1) both}.game-picker .modal-inner{padding:14px 14px 18px}.game-picker .icon-btn{min-width:44px;min-height:44px}.quest-play .quest-answer-actions{position:sticky;bottom:calc(69px + env(safe-area-inset-bottom));padding:8px 0}.quest-play .quest-answer-actions.answered{position:static}.review-switch button{font-size:clamp(11px,3.1vw,14px)}.review-switch b{min-width:16px;padding-inline:3px}.arcade-frame .topbar{min-height:60px;padding:7px 13px;gap:7px}.arcade-frame .topbar:has(.breadcrumb){min-height:55px}.arcade-frame .topbar:not(:has(.breadcrumb)) .arcade-top-brand{display:block}.arcade-top-brand .brand{padding:0;gap:2px}.arcade-top-brand .brand img{width:88px}.arcade-top-brand .brand strong{font-size:14px}.arcade-account{font-size:12px}.arcade-page{padding:17px 14px 22px}.arcade-title{margin-bottom:13px}.arcade-title h1{gap:9px}.arcade-title p{margin-top:6px;font-size:12px}.arcade-levels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-bottom:10px}.arcade-levels button{min-width:0;min-height:40px;padding:5px 3px}.map-arena{min-height:clamp(218px,71vw,365px)}.stage-trail{width:53%;gap:9px;padding:12px 8px 12px 0}.stage-trail:has(>li:first-child.stage-active){translate:0 -17px}.stage-trail li{min-height:53px}.stage-trail li:not(:last-child):has(.stage-plate):after{height:36px}.stage-plate{min-height:54px;padding:6px 9px}.stage-active .stage-plate{min-height:57px}.stage-previous .stage-plate,.stage-locked .stage-plate{width:92%}.stage-plate svg{width:16px}.arcade-brief{padding:12px 10px}.arcade-types li{font-size:11px}.arcade-types svg{width:18px;height:18px}.arcade-rule{font-size:12px}.arcade-cta{min-height:48px;font-size:19px}.review-arena{min-height:clamp(119px,37vw,200px)}.review-switch{margin:9px 0}.review-switch button{min-height:38px}.review-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.review-tile{min-height:63px;padding:6px 2px;justify-items:center;text-align:center}.review-tile svg:first-child{width:17px;height:17px}.review-tile svg:last-child{display:none}.review-tile strong,.review-tile small{font-size:clamp(10px,3vw,12px)}.mock-arena{min-height:clamp(199px,60vw,307px)}.arcade-clock{margin-left:50%;gap:7px;padding-right:9px}.arcade-clock-status{padding:5px 7px;font-size:clamp(11px,3.1vw,15px)}.arcade-digits{font-size:clamp(34px,11.2vw,74px)}.exam-course strong{font-size:12px}.exam-course small{font-size:11px}.exam-toolbar{gap:7px}.exam-toolbar .arena-mascot{display:none}.exam-toolbar .exam-section{overflow-wrap:anywhere}.exam-toolbar .exam-clock{flex:none}.arcade-page .score-panel{flex-direction:row;align-items:center;flex-wrap:wrap}.results-page .score-panel{padding:14px 16px}.results-page .score-panel p{max-width:26ch}.result-training .secondary{min-height:36px;padding-inline:8px;font-size:12px}.account-summary{margin-bottom:12px}.account-summary img{width:clamp(83px,31%,117px)}.account-page .settings-list>div{gap:10px}}@media(max-width:360px){.arcade-page{padding-inline:11px}.arcade-brief{padding-inline:9px}.stage-plate strong{font-size:15px}.stage-plate svg{width:15px}.arcade-types li{font-size:10px}.review-switch{gap:2px}.review-switch button{padding-inline:2px}.quest-result-actions{gap:7px}.quest-result-actions .secondary,.quest-result-actions .primary{font-size:12px;padding-inline:8px}.quest-result-actions svg{width:16px}.account-page .ruby-control{flex-wrap:wrap;justify-content:flex-end}}@keyframes picker-rise{0%{transform:translateY(35px);opacity:.4}to{transform:none;opacity:1}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-delay:0s!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.victory-sparks,.arcade-cta:before,.stage-active .stage-plate:before{display:none}.arena-runner,.arena-mascot,.home-cast{animation:none!important}}@font-face{font-family:KOTO Latin;src:url(/jlpt-preview/assets/fonts/manrope.woff2) format("woff2");font-weight:200 800;font-display:swap;unicode-range:U+0020-024F,U+2000-206F,U+2190-21FF}@font-face{font-family:KOTO Chinese;src:url(/jlpt-preview/assets/fonts/noto-sans-sc.woff2) format("woff2");font-weight:100 900;font-display:swap}@font-face{font-family:KOTO Japanese;src:url(/jlpt-preview/assets/fonts/noto-sans-jp.woff2) format("woff2");font-weight:100 900;font-display:swap}:root{--font-ui:"KOTO Latin","KOTO Chinese","Microsoft YaHei UI",system-ui,sans-serif;--font-ja:"KOTO Latin","KOTO Japanese","Yu Gothic UI",Meiryo,sans-serif;font-family:var(--font-ui)}:lang(ja),.jp{font-family:var(--font-ja)}.quest-home-art{z-index:0}.quest-home-copy{position:relative;z-index:1;margin-top:0}.quest-home-copy h1{font-style:normal;line-height:1.2;letter-spacing:-.055em}.mixed-quest-link{display:flex;width:max-content;margin-top:5px}.sound-control{color:var(--accent)}.sound-control[aria-pressed=false]{color:var(--muted)}.track-panel{margin:13px 0 15px}.track-panel h2{font-size:14px;margin-bottom:7px}.track-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.track-option{--track-fill:#e2f2fd;--track-ink:#305f88;display:grid;justify-items:center;align-content:center;min-width:0;min-height:90px;gap:4px;padding:8px 4px;border:1px solid var(--edge);border-radius:13px;background:var(--white);color:var(--ink);text-align:center}.track-grammar{--track-fill:#f0eafa;--track-ink:#6b508a }.track-reading{--track-fill:#fff0d6;--track-ink:#805911 }.track-listening{--track-fill:#e9f5d7;--track-ink:#4b6c28 }.track-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:var(--track-fill);color:var(--track-ink)}.track-option strong{font-size:13px;line-height:1.2}.track-option small{color:var(--muted);font-size:11px;line-height:1.2;font-variant-numeric:tabular-nums}.track-option[aria-pressed=true]{border-color:var(--accent-border);background:var(--blue-light);box-shadow:inset 0 -2px #84ac382b}.quest-map .arcade-brief .quest-progress{width:100%;margin-top:0}.question-instructions{margin:0 0 10px}.question-instructions summary{font-size:13px}.question-instructions .instructions{margin:0}.material-label{width:fit-content;margin:16px 0 7px;padding:3px 9px;border-radius:6px;background:var(--sky);color:var(--muted);font-size:12px;font-weight:750}.material-label+.reading-passage{margin-top:0}.reading-passage{line-height:1.9;overflow-wrap:anywhere}.reading-passage p{margin-bottom:1em}.question-task{margin-top:16px;min-width:0}.question-task .question-stem{margin:0 0 13px;padding:clamp(11px,2vw,20px);border-radius:12px;background:var(--sky);font-size:clamp(18px,2.1vw,27px);line-height:1.75;white-space:pre-line;text-wrap:wrap;overflow-wrap:anywhere}.question-task .original-label{margin:0 0 5px}.question-task .choices{margin-top:0}.question-task .choice{align-items:center;flex-wrap:wrap;min-height:53px}.question-task .choice-no{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--sky);color:var(--ink);font-variant-numeric:tabular-nums}.question-task .choice-text{flex:1 1 58%;min-width:0;line-height:1.62;overflow-wrap:anywhere}.question-task .choice-status{margin-left:auto}.question-task .choice.selected .choice-no{background:#d9ecac}.question-task .choice.incorrect .choice-no{background:#f7d5ce}.question-task .audio-options-hint{margin-bottom:10px;color:var(--muted)}.analysis{border-top:0;padding-top:5px;margin-top:24px}.analysis-heading{display:flex;align-items:center;gap:9px;margin:0 0 9px}.analysis-heading:before{content:"";display:block;width:4px;height:19px;border-radius:9px;background:var(--accent-border)}.analysis-heading h2{font-size:20px;line-height:1.3}.analysis .result-banner{align-items:flex-start;border:1px solid transparent}.analysis .result-banner>svg{flex:none;margin-top:2px}.analysis .result-banner>div{min-width:0}.analysis .result-banner .result-answer{margin-top:3px;line-height:1.65;overflow-wrap:anywhere}.answer-badge,.option-reference{display:inline-block;color:var(--accent);font-weight:800}.answer-badge{min-width:23px;margin:0 5px 0 2px;padding:1px 5px;border-radius:5px;text-align:center;background:var(--paper)}.option-reference{min-width:1.18em;padding:0 .22em;border-radius:4px;text-align:center;background:#e8f3d6}.analysis .analysis-key,.reasoning-card{padding:13px 15px;border:1px solid var(--rule);border-radius:12px;background:var(--white);overflow-wrap:anywhere}.analysis .analysis-key{background:var(--warm);border-color:var(--warm-border)}.analysis-section{margin-top:12px}.analysis-section p{line-height:1.8}.analysis .sequence{margin-top:7px;color:var(--accent);font-weight:800}.analysis .steps{display:grid;gap:7px;padding:0;list-style:none;counter-reset:analysis-step}.analysis .steps li{position:relative;counter-increment:analysis-step;margin:0;padding:2px 0 2px 31px;line-height:1.72}.analysis .steps li:before{content:counter(analysis-step);position:absolute;top:3px;left:0;width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:var(--sky);color:var(--muted);font-size:12px;font-weight:800}.analysis-more{margin-top:16px}.analysis-more>h3{color:var(--muted);font-size:13px;margin-bottom:7px}.analysis-more>.fold{margin:0 0 7px}.analysis-more .fold-body{overflow-wrap:anywhere}.analysis-more .fold-body ul{padding-left:1.25em}.translated-passage+.translated-passage{margin-top:12px;padding-top:12px;border-top:1px solid var(--rule)}.explain-options article>div{min-width:0}.option-title{flex-wrap:wrap}.quest-answer-actions.answered{justify-content:flex-end}:where(button,a[href],summary){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(button,a[href],summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}:is(button,.primary[href],.secondary[href],.text-btn[href],.stage-plate[href],summary){transition:scale .16s cubic-bezier(.22,.65,.3,1.3),background-color .17s,border-color .17s,color .17s,box-shadow .17s,transform .17s}:is(button:not(:disabled),.primary[href],.secondary[href],.text-btn[href],summary):active:not([aria-disabled=true]){scale:.975}@media(hover:hover){:is(button:not(:disabled),a[href],summary):not([aria-disabled=true]){cursor:pointer}.track-option:hover:not([aria-pressed=true]){background:var(--track-fill);border-color:var(--track-ink)}.icon-btn:hover:not(:disabled),.text-btn:hover:not(:disabled),.caption-time:hover{color:var(--accent);background:var(--sky)}}.answer-confetti{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;overflow:hidden;pointer-events:none}.answer-confetti i{position:absolute;top:-24px;left:var(--x);width:8px;height:14px;border-radius:4px;background:var(--color);animation:confetti-fall var(--fall) var(--delay) cubic-bezier(.25,.42,.48,1) both}.answer-confetti .confetti-dot{width:8px;height:8px;border-radius:50%}.answer-confetti .confetti-star{width:14px;height:14px;border-radius:0;clip-path:polygon(50% 0,63% 34%,100% 37%,72% 60%,81% 100%,50% 77%,19% 100%,28% 60%,0 37%,37% 34%)}@keyframes confetti-fall{0%{opacity:0;transform:translate3d(0,-12px,0) rotate(0)}10%{opacity:1}45%{transform:translate3d(var(--drift),42dvh,0) rotate(var(--turn))}80%{opacity:1}to{opacity:0;transform:translate3d(0,105dvh,0) rotate(calc(var(--turn) + 280deg))}}@media(max-width:680px){.quest-home-header .sound-control{margin-left:auto}.quest-home-copy{padding-top:3px}.mixed-quest-link{min-height:34px}.track-grid{gap:6px}.track-option{min-height:83px}.track-option strong{font-size:12px}.quest-play .quest-answer-actions.answered{margin-top:12px}}@media(max-width:350px){.track-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.track-option{min-height:61px;grid-template-columns:29px minmax(0,1fr);justify-items:start;column-gap:6px;padding:5px 8px;text-align:left}.track-icon{grid-row:span 2;width:29px;height:29px}}@media(min-width:520px)and (max-width:680px)and (max-height:500px)and (orientation:landscape){.quest-home-copy{padding-top:14px}}@media(prefers-reduced-motion:reduce){.answer-confetti{display:none}:is(button,a[href],summary):active{scale:1}}
