:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#161616;background:#fafafa;font-synthesis:none;color-scheme:light}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}.page{max-width:720px;margin:auto;padding:28px 24px 40px}header,.toolbar,.progress-label{display:flex;justify-content:space-between;align-items:center;gap:12px}header{margin-bottom:44px;font-size:.875rem}.brand{color:inherit;text-decoration:none;font-weight:750;letter-spacing:.04em}.brand span{font-weight:400;color:#777;margin-left:5px}.muted,.note{color:#666;line-height:1.5}.note{font-size:.875rem}.guide{color:#a52222;font-size:.9375rem;line-height:1.6;margin:14px 0 20px}.heading{margin:24px 0}h1{font-size:1.85rem;font-weight:550;letter-spacing:-.035em}h2{font-size:clamp(1.65rem,5vw,2.45rem);font-weight:500;letter-spacing:-.025em;line-height:1.25;margin:20px 0 24px;overflow-wrap:anywhere}button,input,select{font:inherit}button{cursor:pointer;background:white;border:1px solid #d6d6d6;border-radius:10px;color:#333;padding:12px 15px;min-height:46px;line-height:1.4;overflow-wrap:anywhere}button:hover{background:#f0f0f0}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #4675dc;outline-offset:3px}button:disabled{cursor:default;opacity:.6}.primary{background:#161616;color:white;border-color:#161616;width:100%;margin-top:20px;font-weight:550}.primary:hover{background:#333}.row{display:flex;gap:8px;flex-wrap:wrap}.row .primary{width:auto;flex:1;margin:0}.stack{display:grid;gap:10px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0}label{display:flex;flex-direction:column;gap:8px;font-size:.9375rem;color:#444}input,select{width:100%;min-width:0;border:1px solid #ccc;border-radius:8px;padding:12px;background:#fff;color:#161616}summary{cursor:pointer;padding:16px 0;font-size:.9375rem}details{border-top:1px solid #ddd;border-bottom:1px solid #ddd}.profile{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #ddd;border-radius:12px;padding:10px}.profile .pick{border:0;text-align:left;flex:1;font-weight:550}.profile .remove{font-size:.875rem}.modes button[aria-pressed="true"]{background:#161616;color:white;border-color:#161616}.toolbar button{font-size:.875rem}.progress-label{font-size:.875rem;color:#666;margin:28px 0 10px}progress{display:block;width:100%;height:6px;border:0;border-radius:8px;overflow:hidden;accent-color:#161616;background:#e5e5e5}progress::-webkit-progress-bar{background:#e5e5e5}progress::-webkit-progress-value{background:#161616}.eyebrow{font-size:.875rem;color:#777;margin-top:28px}.translation{color:#555;line-height:1.6;border-left:2px solid #ccc;padding-left:14px}.option,.sentence{text-align:left}.option[data-correct="true"]{background:#edf7f0;border-color:#33834f;color:#1b5b31}.option[data-correct="false"]{background:#fff1f0;border-color:#b95246;color:#84382f}.option:disabled{opacity:1}.option[aria-pressed="true"]{border-width:2px}#answer-panel{margin-top:24px;padding-top:20px;border-top:1px solid #ddd}#words button{padding:8px 12px;min-height:42px}#feedback{padding:12px;border-left:3px solid #777;line-height:1.5}#complete{padding:30px 0}button[data-speaking="true"]{background:#e7edfa;border-color:#5c7dae}@media(max-width:480px){.fields{grid-template-columns:1fr}header{margin-bottom:28px}.page{padding:22px 20px 32px}header>.muted{font-size:.8125rem}.profile{flex-wrap:wrap}}
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f2f2f7;color:#1c1c1e;--blue:#0066d6}body:has(dialog[open]){overflow:hidden}button{border-radius:14px;border-color:transparent;color:var(--blue);transition:background .15s,transform .15s}button:active{transform:scale(.98)}.primary{background:var(--blue);border-color:var(--blue);border-radius:16px;font-weight:600;padding:15px}.primary:hover{background:#0058ba}h1{font-size:2rem;font-weight:700;letter-spacing:-.045em}h2{font-weight:600;letter-spacing:-.035em}.surface{background:#fff;border:1px solid #ffffffc0;border-radius:24px;padding:24px;box-shadow:0 6px 24px #1c1c1e04}.fields{gap:20px}input,select{background:#f2f2f7;border-color:transparent;border-radius:12px}label{font-size:.875rem}.profile{background:white;border:0;border-radius:20px;box-shadow:0 4px 18px #1c1c1e03}.profile .pick{color:#1c1c1e}.profile .remove{color:#b3262b}.toolbar button{background:transparent;padding:8px 0}.modes{background:#e5e5eb;border-radius:13px;padding:3px;gap:3px;display:inline-flex}.modes button{background:transparent;color:#636369;border:0;padding:8px 22px;min-height:38px}.modes button[aria-pressed="true"]{background:white;color:#1c1c1e;box-shadow:0 2px 5px #00000012}.eyebrow{font-size:.8125rem;letter-spacing:.035em}.question-card>.eyebrow,#question-panel>.eyebrow{margin-top:0}#question-panel>.row>button,#answer-panel>.row>button{background:#f2f5fa;font-size:.875rem}.option,.sentence{text-align:left;color:#2c2c2e;background:#f6f6fa;border:1px solid #ebebf0;line-height:1.5}.option[aria-pressed="true"]{border-color:#5e91ca;border-width:1px;box-shadow:0 0 0 1px #5e91ca}.help{margin:8px 0 12px;border:0;font-size:.875rem;color:#a3292a}.help>summary{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0;list-style:none;font-size:.875rem;font-weight:500}.help>summary::-webkit-details-marker{display:none}.help>summary:before{content:'?';display:inline-grid;place-items:center;width:19px;height:19px;border:1px solid #bf6767;border-radius:50%;font-size:.75rem}.help p,.hint-bubble{position:relative;color:#a3292a;background:#fff0ef;border:1px solid #f2dddd;border-radius:14px;padding:10px 13px;font-size:.875rem;line-height:1.5;margin:2px 0 16px;max-width:440px}.help p:before{content:'';position:absolute;top:-6px;left:17px;width:10px;height:10px;background:#fff0ef;border-left:1px solid #f2dddd;border-top:1px solid #f2dddd;transform:rotate(45deg)}.hint-bubble{margin:12px 0 16px}.translation{background:#f5f5f9;border:0;border-radius:14px;padding:14px}#words button{background:#eef3fa}progress{accent-color:var(--blue);margin-bottom:16px}progress::-webkit-progress-value{background:var(--blue)}progress::-moz-progress-bar{background:var(--blue)}#feedback{border:0;border-radius:14px;background:#f1f4fa;font-size:.9375rem}button[data-speaking="true"]{background:#d9eaff!important;border-color:#719bd1!important}
dialog{border:1px solid #ffffffb3;border-radius:32px;padding:26px;max-width:600px;width:calc(100% - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;background:#fafafc;color:#1c1c1e;box-shadow:0 30px 100px #0000002e}dialog::backdrop{background:#141c314d;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}.dialog-top{position:relative;height:32px;margin-bottom:6px}.sheet-grip{position:absolute;left:calc(50% - 18px);top:0;width:36px;height:5px;background:#d1d1d6;border-radius:10px}.close{position:absolute;right:-8px;top:-8px;width:44px;height:44px;background:#eaeaef;border-radius:50%;font-size:1.55rem;color:#707079;padding:0}dialog h2{text-align:center;font-size:1.7rem;margin:12px 0 8px}dialog>.eyebrow,dialog>.muted{text-align:center}dialog>.eyebrow{overflow-wrap:anywhere}.mode-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px}.mode-card{display:flex;flex-direction:column;gap:12px;text-align:left;background:#fff;border:1px solid #e7e7ee;border-radius:22px;padding:20px;color:#35353a;box-shadow:0 5px 16px #13152c05}.mode-card:hover{background:#f2f7ff;border-color:#9cbbeb}.mode-card strong{font-size:1.35rem;color:#1c1c1e;letter-spacing:-.025em}.mode-card>span:not(.mode-icon):not(.mode-cta){font-size:.9375rem;line-height:1.5}.mode-card small{font-size:.8125rem;color:#6c6c74;line-height:1.4}.mode-icon{display:grid;place-items:center;background:#e7f0ff;color:#0066d6;border-radius:13px;width:46px;height:46px;font-size:1.1rem;font-weight:650}.game-icon{background:#ede9fc;color:#6850b9;font-size:1.5rem}.mode-cta{color:var(--blue);font-size:.875rem;font-weight:600;margin-top:auto;padding-top:8px}.dialog-note{text-align:center;font-size:.8125rem;color:#6c6c74;margin:20px 0 0}@media(max-width:480px){.surface{padding:20px}dialog{padding:20px;border-radius:28px}.mode-cards{gap:10px}.mode-card{padding:15px;gap:10px}.mode-card>span:not(.mode-icon):not(.mode-cta){font-size:.875rem}}@media(max-width:340px){.mode-cards{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
