.toolbar[hidden]{display:none}.group-grid{max-height:44vh;align-content:start;grid-auto-rows:35px;flex-shrink:1}.group-size-form{display:flex;align-items:center;gap:6px;min-height:38px;padding:4px 5px 4px 11px;border:1px solid var(--line);border-radius:11px;background:var(--surface);font-size:11px;color:var(--muted)}.group-size-form input{width:54px;color:var(--ink);background:var(--card);border:0;border-radius:6px;min-height:28px;text-align:center;appearance:textfield}.group-size-form input::-webkit-inner-spin-button{appearance:none}.group-size-form button{background:var(--soft);color:var(--accent);border-radius:7px;padding:4px 8px;font-size:10px;min-height:28px}.section-actions{display:flex;gap:13px;align-items:center}.exam-setup,.exam-session,.exam-results{max-width:900px;margin:0 auto}.exam-setup{background:var(--card);border:1px solid var(--line);border-radius:26px;padding:30px;box-shadow:var(--shadow)}.exam-intro{display:flex;align-items:center;gap:15px;margin-bottom:28px}.exam-symbol{display:inline-flex;align-items:center;justify-content:center;width:49px;height:49px;border-radius:16px;background:var(--clay-soft);color:var(--clay);flex-shrink:0}.exam-symbol svg{width:25px;height:25px}.exam-intro h2{font-weight:500;font-size:21px;letter-spacing:-.4px}.exam-intro p{font-size:12px;color:var(--muted);margin-top:5px}.exam-scope{padding:0;margin:0 0 26px;display:grid;grid-template-columns:1fr 1fr;gap:12px;border:0;min-width:0}.exam-scope legend{font-size:12px;font-weight:500;margin-bottom:11px}.exam-scope-option{display:flex;align-items:center;gap:10px;padding:17px 15px;background:var(--surface);border:1px solid var(--line);border-radius:17px;cursor:pointer;min-width:0}.exam-scope-option.selected{border-color:var(--accent);background:var(--soft)}.exam-scope-option input{accent-color:var(--accent);width:16px;height:16px;flex-shrink:0}.exam-scope-option>span{min-width:0;flex:1}.exam-scope-option strong{font-size:14px;font-weight:500;display:block}.exam-scope-option small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.exam-scope-option>svg{width:17px;height:17px;color:var(--muted)}.exam-count-field{border-top:1px solid var(--line);padding-top:22px}.exam-count-field>label{display:block;font-size:12px;font-weight:500;margin-bottom:10px}.exam-count-field>div{display:flex;align-items:center;gap:10px}.exam-count-field input{background:var(--surface);border:1px solid var(--line);border-radius:13px;width:125px;min-height:49px;padding:8px 13px;font-size:22px;color:var(--ink);font-variant-numeric:tabular-nums}.exam-count-field span{font-size:12px;color:var(--muted)}.exam-count-field p{font-size:11px;color:var(--muted);margin-top:9px}.exam-start-footer{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-top:26px}.exam-start-footer p{font-size:11px;color:var(--muted);line-height:1.9;max-width:480px}.exam-start-footer button{flex-shrink:0;min-height:45px}.form-error{font-size:12px;color:var(--clay);margin-top:9px}.form-error:empty{display:none}.exam-position{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:10px 0 12px}.exam-position strong{font-family:Fraunces,Georgia,serif;font-size:22px;font-weight:500;margin:0 3px}.exam-position>span:last-child{color:var(--muted);font-size:11px}.exam-question{padding:27px 25px 30px;text-align:center;background:var(--card);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.exam-prompt{font-size:11px;color:var(--muted)}.exam-question .word{font-size:47px;margin:17px 0}.exam-question .word.phrase{font-size:31px}.exam-question .sound-btn{margin:auto;min-height:33px}.exam-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.exam-option{display:flex;gap:13px;text-align:left;align-items:flex-start;background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:19px;min-width:0;min-height:98px}.exam-option:disabled{opacity:1;cursor:default}.option-letter{display:grid;place-items:center;width:27px;height:27px;background:var(--soft);border-radius:9px;font-size:11px;flex-shrink:0}.option-meanings{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}.exam-option-zh{font-size:13px;white-space:pre-line;line-height:1.8;overflow-wrap:anywhere}.exam-option-jp{font-size:11px;line-height:1.8;color:var(--muted);display:block;overflow-wrap:anywhere}.exam-option.correct{border-color:var(--accent);background:var(--soft)}.exam-option.correct .option-letter{color:var(--accent-ink);background:var(--accent)}.exam-option.correct>svg{width:18px;height:18px;color:var(--accent);margin-top:4px}.exam-option.wrong{border-color:var(--clay);background:var(--clay-soft)}.exam-option.wrong>svg{width:18px;height:18px;color:var(--clay);margin-top:4px}.exam-feedback{display:flex;align-items:center;gap:8px;padding:17px 2px 0;font-size:12px;color:var(--accent)}.exam-feedback.wrong{color:var(--clay)}.exam-feedback>svg{width:16px;height:16px}.exam-feedback button{margin-left:auto;font-size:11px;text-decoration:underline;text-underline-offset:3px}.exam-next{display:flex;justify-content:flex-end;margin-top:18px}.exam-next button{min-height:44px;min-width:160px}.exam-hint{font-size:11px;color:var(--muted);text-align:center;margin:18px 0 0}.exam-result-hero{text-align:center;background:var(--card);border:1px solid var(--line);border-radius:26px;padding:30px 24px;margin-bottom:26px}.exam-result-hero>p{font-size:12px;color:var(--muted);margin-top:12px}.exam-result-hero h2{font-family:Fraunces,Georgia,serif;font-size:80px;line-height:1.2;font-weight:500;letter-spacing:-3px;margin-top:12px}.exam-result-hero h2 small{font-size:14px;font-family:inherit;letter-spacing:0;margin-left:5px;color:var(--muted)}.exam-result-hero .button-row{justify-content:center;margin-top:24px}.exam-wrong-list{border:1px solid var(--line);background:var(--surface);border-radius:20px;overflow:hidden}.exam-wrong-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 23px;border-bottom:1px solid var(--line)}.exam-wrong-row:last-child{border-bottom:0}.exam-wrong-row>div{min-width:0}.exam-wrong-row h3{font-family:Fraunces,Georgia,serif;font-size:23px;font-weight:500;overflow-wrap:anywhere}.exam-selected{font-size:11px;color:var(--clay);margin:6px 0 10px;white-space:pre-line}.exam-wrong-row .icon-btn{flex-shrink:0}.exam-wrong-row .exam-option-jp{margin-top:6px}
@media(hover:hover) and (pointer:fine){.exam-option:not(:disabled):hover{border-color:var(--accent);background:var(--soft)}}
@media(max-width:1150px){.filters{justify-content:flex-start}.group-size-form{font-size:10px}.exam-options{gap:10px}.exam-option{padding:15px;gap:10px}}
@media(max-width:820px){.group-grid{max-height:38vh}.exam-setup{padding:24px}.exam-start-footer{gap:18px}.exam-scope-option>svg{display:none}.exam-option-zh{font-size:12px}}
@media(max-width:520px){.group-size-form{padding-left:8px}.group-size-form input{width:43px}.filters{gap:8px;justify-content:flex-start;flex-wrap:wrap}.filters>.select-wrap{flex:1}.filters>.select-wrap select{width:100%;max-width:none}.group-size-form button{min-height:30px}.section-actions{gap:10px}.section-actions button{font-size:10px}.exam-setup{padding:22px 17px;border-radius:22px}.exam-intro{align-items:flex-start;gap:10px;margin-bottom:24px}.exam-intro h2{font-size:18px}.exam-intro p{font-size:11px;line-height:1.9}.exam-symbol{width:39px;height:39px;border-radius:13px}.exam-symbol svg{width:22px;height:22px}.exam-scope{gap:9px}.exam-scope-option{padding:13px 9px;gap:6px;align-items:flex-start;border-radius:14px}.exam-scope-option strong{font-size:12px}.exam-scope-option small{font-size:10px;line-height:1.7}.exam-scope-option input{width:14px;height:14px;margin-top:3px}.exam-count-field input{min-height:46px;font-size:20px}.exam-start-footer{flex-direction:column;align-items:stretch;gap:16px;margin-top:21px}.exam-start-footer p{font-size:10px}.exam-start-footer button{width:100%}.exam-position{margin-top:4px}.exam-question{padding:23px 18px;border-radius:22px}.exam-question .word{font-size:41px}.exam-question .word.phrase{font-size:26px}.exam-options{grid-template-columns:1fr;gap:9px;margin-top:15px}.exam-option{padding:14px;min-height:75px;border-radius:15px;gap:11px}.option-letter{width:25px;height:25px}.exam-option-zh{font-size:12px}.exam-option-jp{font-size:10px}.option-meanings{gap:5px}.exam-feedback{font-size:11px;flex-wrap:wrap}.exam-feedback button{margin-left:24px;font-size:10px}.exam-next button{width:100%}.exam-hint{font-size:10px}.exam-result-hero{padding:25px 17px}.exam-result-hero h2{font-size:72px}.exam-result-hero>p{font-size:11px;line-height:1.9}.exam-result-hero .button-row>*{flex:1;min-width:125px;white-space:nowrap}.exam-wrong-row{padding:17px;gap:12px}.exam-wrong-row h3{font-size:21px}}
