@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');
:root{color-scheme:light;--bg:#f4f7fb;--surface:#fff;--line:#ccd6e3;--text:#182d46;--muted:#4d6077;--a:#2457b8;--b:#85365d;--lime:#235d42;--danger:#a02a43;font-family:'Noto Sans KR',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:16px;line-height:1.6}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #2457b8;outline-offset:4px}a{color:inherit}h1:focus{outline:none}button{line-height:1.4}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shell{max-width:1180px;min-height:100svh;margin:auto;padding:0 40px;display:flex;flex-direction:column}.site-header{min-height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:900;text-decoration:none;letter-spacing:-.6px}.brand-dot{width:5px;height:5px;background:var(--a);border-radius:50%}.brand-sub{font-size:12px;letter-spacing:1.3px;font-weight:700;color:var(--muted)}.header-actions{display:flex;align-items:center;gap:12px}.edition{color:var(--muted);font-size:12px;letter-spacing:1px}.music-toggle{min-height:44px;padding:8px 12px;border:1px solid #a9bbd0;border-radius:10px;background:white;color:#263e5e;font-size:14px;font-weight:700}.music-toggle[aria-pressed=true]{background:#edf3ff;color:#204c9e}.shell>footer{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:18px 0;color:var(--muted);font-size:13px}main{flex:1;padding:32px 0 36px}
.eyebrow{color:var(--a);font-size:14px;font-weight:800;letter-spacing:.5px;line-height:1.5;margin:0 0 14px}.intro{display:grid;grid-template-columns:minmax(0,.68fr) minmax(0,1.32fr);align-items:center;gap:40px;min-height:520px}.intro-copy{min-width:0}.intro h1{font-size:clamp(32px,3.8vw,44px);letter-spacing:-1.6px;line-height:1.35;margin:0 0 22px;font-weight:900}.intro .lead{font-size:21px;font-weight:600;line-height:1.65;margin:0;word-break:keep-all}.intro .lead strong{font-weight:800}.intro .lead .lead-active{color:#174c86}.intro .lead .lead-passive{color:#b32330}.intro-description{font-size:16px;line-height:1.8;color:var(--muted);margin:18px 0 0}.small-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.tag{font-size:14px;padding:6px 10px;background:#fff;border:1px solid var(--line);border-radius:8px;color:#344d6c}.intro-levels{font-size:14px;color:var(--muted);line-height:1.7;margin:18px 0 0;word-break:keep-all}.intro-levels span{padding:0 3px;color:var(--a)}
.setup{min-width:0;padding:28px 30px;border:1px solid #bfccdd;border-top:4px solid var(--a);border-radius:16px;background:#fff;box-shadow:0 8px 30px #193b7010}.setup-heading .eyebrow{margin-bottom:8px}.setup-heading h2{font-size:26px;line-height:1.4;letter-spacing:-.7px;margin:0;word-break:keep-all}.setup-heading>p:last-child{font-size:16px;color:var(--muted);line-height:1.6;margin:9px 0 0}.setup-example{margin:20px 0}.setup-example>p{font-family:Arial,Helvetica,sans-serif;font-size:24px;line-height:1.5;margin:0 0 12px;color:#182d46}.sample-blank{color:var(--a);padding:0 6px}.versus-art{display:grid;grid-template-columns:1fr 1fr;gap:12px}.letter-tile{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #a4bce5;border-radius:11px;background:#edf4ff;color:#183d78;font-size:21px;line-height:1.4;font-family:Arial,Helvetica,sans-serif}.letter-tile b{font-size:15px;display:grid;place-items:center;background:#2457b8;color:white;width:28px;height:28px;border-radius:7px;flex-shrink:0}.letter-tile.b{background:#fceff5;border-color:#d9b1c7;color:#713451}.letter-tile.b b{background:#85365d}.learning-flow{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:15px 0;margin:0 0 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.learning-flow li{min-width:0}.learning-flow li>span{color:var(--a);font-size:14px;font-weight:800;margin-right:7px}.learning-flow strong{font-size:15px;line-height:1.5}.learning-flow p{font-size:14px;line-height:1.6;color:var(--muted);margin:3px 0 0;word-break:keep-all}fieldset{border:0;padding:0;margin:0}legend{font-size:16px;font-weight:700;margin:0 0 10px;padding:0}.mode-group{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mode{padding:12px;border:1px solid #aebed3;border-radius:10px;background:#fff;color:#243d5d;text-align:left;font-size:16px;font-weight:700}.mode span{display:block;font-weight:400;font-size:14px;color:var(--muted);margin-top:5px;line-height:1.5}.mode[aria-pressed=true]{border-color:var(--a);box-shadow:inset 0 0 0 1px var(--a);background:#edf3ff;color:#204c9e}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:50px;padding:13px 22px;border:1px solid var(--a);border-radius:11px;background:var(--a);color:#fff;text-decoration:none;font-size:16px;font-weight:800;line-height:1.5}.primary:hover:not(:disabled){background:#174695}.primary:disabled{background:#e6edf5;border-color:#c3cfdd;color:#52667d}.start{width:100%;margin-top:18px;justify-content:space-between}.setup-note{text-align:center;font-size:14px;line-height:1.6;margin:12px 0 0;color:var(--muted)}.secondary{background:white;color:var(--a);border-color:#a5b9d4}.text-button{border:0;background:transparent;color:#335985;text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:8px;font-size:14px}
.level-strip{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px;color:#24509b;font-size:14px;font-weight:800;line-height:1.5}.level-steps{display:flex;gap:7px;flex-shrink:0}.level-step{width:26px;height:26px;display:grid;place-items:center;border:1px solid #a6b8d0;border-radius:50%;color:#50657e;font-size:14px;background:#fff}.level-step.current{background:var(--a);border-color:var(--a);color:#fff}.level-step.past{border-color:#80ad93;color:#235d42;background:#eef8f1}.quiz{max-width:960px;margin:0 auto}.quiz-top{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;margin-bottom:10px}.round{color:var(--muted);font-size:16px;white-space:nowrap}.round b{font-size:27px;color:var(--text);margin-right:3px}.streak{font-size:14px;color:var(--muted)}.quiz-hint{font-size:1.0625rem;font-weight:700;line-height:1.5;color:#174c86;text-align:center;word-break:keep-all}.quiz-tools{display:flex;align-items:center;gap:12px}.timer{display:inline-flex;align-items:center;justify-content:center;min-width:66px;min-height:38px;padding:5px 10px;border:1px solid #bacce7;border-radius:9px;background:#edf3ff;color:#224f9f;font-size:16px;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}.timer.urgent{color:#a02a43;background:#fff0f2;border-color:#d895a4}.progress-track{height:5px;background:#dce4ef;border-radius:5px;overflow:hidden}.progress-bar{height:100%;background:var(--a);border-radius:5px;transition:width .2s}.question-heading{padding:23px 0 16px}.topic{font-size:14px;color:#4d6077;margin:0 0 7px;font-weight:600}.question-heading h1{font-size:24px;font-weight:800;letter-spacing:-.5px;line-height:1.55;margin:0;word-break:keep-all}.question-sheet{background:#fff;border:1px solid #b8c9dd;border-left:4px solid var(--a);border-radius:4px 14px 14px 4px;padding:21px 24px;box-shadow:0 5px 18px #193b7008}.sheet-label{font-size:14px;color:#4d6077;margin:0 0 10px}.quiz-sentence{font-family:Arial,Helvetica,sans-serif;font-size:clamp(25px,2.65vw,33px);line-height:1.65;font-weight:500;color:#182d46;margin:0;overflow-wrap:break-word}.sentence-subject{text-decoration:underline;text-decoration-color:#8baad5;text-underline-offset:7px;text-decoration-thickness:2px}.sentence-blank{display:inline-block;min-width:3.5ch;margin:0 4px;border-bottom:2px solid #2457b8;background:#edf3ff;text-align:center;font-weight:700;color:#2457b8;border-radius:5px 5px 0 0}.quiz-sentence strong{color:#235d42;background:#e6f4d8;font-weight:700;padding:2px 4px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.choices{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.choice{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:14px;min-height:124px;padding:17px 20px;border:2px solid #91add4;border-radius:13px;background:#edf4ff;color:#173e78;text-align:left;box-shadow:0 3px 0 #c1d0e6;transition:background .15s,border-color .15s,transform .15s}.choice.b{background:#fff2f7;border-color:#cf9db7;color:#713451;box-shadow:0 3px 0 #e4c5d5}.choice-top{display:flex;align-items:center;gap:10px}.choice-letter{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:#2457b8;color:#fff;font-family:Arial,sans-serif;font-size:17px;font-weight:700}.choice.b .choice-letter{background:#85365d}.choice-hint{font-size:14px;font-weight:600}.pick-icon{margin-left:auto;font-size:20px;line-height:1}.choice-expression{font-family:Arial,Helvetica,sans-serif;font-weight:700;font-size:clamp(24px,2.6vw,32px);line-height:1.35;overflow-wrap:break-word}.choice:hover:not(:disabled){border-color:#2457b8;background:#dfeaff;transform:translateY(-2px)}.choice.b:hover:not(:disabled){border-color:#85365d;background:#f9e3ee}.choice:active:not(:disabled){transform:translateY(1px);box-shadow:none}.keyboard-note{font-size:13px;text-align:center;color:#4d6077;margin:17px 0 0}.is-answered .keyboard-note{display:none}#feedback:empty{display:none}.feedback{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:18px;margin-top:20px;border:1px solid #b8cfbd;border-radius:12px;background:#fff;padding:20px 22px}.feedback-label{font-size:15px;font-weight:800;color:#235d42;margin:0 0 6px}.feedback-label.miss{color:#934024}.feedback h2{font-size:21px;line-height:1.5;letter-spacing:-.3px;margin:0 0 7px;word-break:keep-all}.why{font-size:16px;line-height:1.75;color:#344d67;margin:0 0 7px;word-break:keep-all}.feedback-detail{font-size:15px;color:#344d67;margin-top:8px}.feedback-detail summary{cursor:pointer;color:#24509b;min-height:32px;padding:4px 0;font-size:14px}.feedback-detail p{margin:8px 0;line-height:1.7}.translation{color:#4d6077;font-size:15px;line-height:1.7;margin:8px 0}.next{white-space:nowrap}.pause-panel{max-width:620px;margin:70px auto;background:white;border:1px solid #bfccdd;border-radius:16px;padding:36px}.pause-panel h1{font-size:28px;line-height:1.5;margin:0 0 12px}.pause-panel p:not(.eyebrow){color:var(--muted);margin-bottom:24px}
.results{max-width:900px;margin:auto}.course-card{padding:24px;border:1px solid #b2c6e3;border-left:4px solid var(--a);border-radius:4px 14px 14px 4px;background:#fff;margin-bottom:18px}.course-card h1{font-size:25px;line-height:1.4;margin:0 0 10px;letter-spacing:-.5px}.course-card p:not(.eyebrow){color:#4d6077;font-size:16px;line-height:1.7;margin:0 0 16px}.continue-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.continue-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px;border:1px solid #9fb8d9;border-radius:12px;color:#173e78;background:#edf4ff;text-align:left;line-height:1.55}.continue-card strong{font-size:19px;line-height:1.5;word-break:keep-all}.continue-card>span{font-size:14px;word-break:keep-all}.continue-kicker{font-size:13px;font-weight:800}.advance-card{background:#fff1f6;color:#713451;border-color:#d4abc0}.continue-card:not(:disabled):hover{border-color:currentColor}.retry-card:disabled{background:#f4f7fa;color:#4d6077;border-color:#b9c6d6}.level-finish{padding:20px;border:1px solid #9dbcaa;border-radius:12px;background:#edf7f1;color:#235d42;display:flex;flex-direction:column;justify-content:center}.level-finish strong{font-size:18px;line-height:1.5}.level-finish p{font-size:15px;line-height:1.6;margin:8px 0 0}.review-title{font-size:22px;margin:0}.review-item{border-bottom:1px solid #ccd6e3;background:white}.review-item summary{display:flex;align-items:center;gap:12px;min-height:66px;padding:13px 16px;cursor:pointer;list-style:none}.review-item summary::-webkit-details-marker{display:none}.review-icon{display:grid;place-items:center;flex-shrink:0;width:29px;height:29px;border-radius:50%;background:#e7f3eb;color:#235d42;font-weight:800}.review-icon.miss{background:#fff0e8;color:#934024}.review-topic{flex:1;font-size:16px;font-weight:600;line-height:1.5}.review-status{font-size:14px;color:#4d6077}.review-plus{font-size:23px;color:#506783}.review-item[open] .review-plus{transform:rotate(45deg)}.review-body{padding:0 24px 22px 58px}.answer-line{font-family:Arial,Helvetica,sans-serif;font-size:22px;line-height:1.6;color:#182d46;margin:0 0 12px}.answer-line strong{background:#e6f4d8;color:#235d42;padding:2px 4px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.rule{font-weight:800;color:#182d46;font-size:16px;margin:0 0 7px}.result-actions{display:flex;justify-content:center;gap:12px;margin-top:24px}.return-row{text-align:center;margin:12px 0 0}
@media(max-width:900px){.shell{padding:0 24px}.intro{gap:26px}.setup{padding:24px}.edition{display:none}.letter-tile{gap:9px;padding:14px 12px;font-size:20px}.learning-flow li>span{display:block;margin-bottom:3px}.feedback{grid-template-columns:1fr}.next{justify-self:stretch}}
@media(max-width:760px){.shell{padding:0 16px}.site-header{min-height:64px;gap:8px}.brand{font-size:18px;gap:6px}.brand-sub,.brand-dot{display:none}.header-actions{gap:7px}.music-toggle{padding:8px;font-size:13px}.shell>footer{font-size:12px;gap:10px;padding:15px 0}.shell>footer span:last-child{max-width:50%;text-align:right}main{padding:18px 0 26px}.intro{grid-template-columns:1fr;gap:20px;min-height:0;max-width:560px;margin:auto}.intro-copy>.eyebrow{margin-bottom:8px}.intro h1{font-size:30px;line-height:1.3;margin:0 0 10px;letter-spacing:-1px}.intro h1 br{display:none}.intro .lead{font-size:17px}.intro .lead br{display:none}.intro-description,.intro-levels{display:none}.small-tags{margin-top:12px}.tag{padding:4px 8px;font-size:13px}.setup{padding:20px 18px}.setup-heading h2{font-size:23px}.setup-heading .eyebrow{font-size:13px}.setup-heading>p:last-child{font-size:15px}.setup-example{margin:16px 0}.setup-example>p{font-size:23px}.letter-tile{font-size:19px;gap:8px;padding:13px 10px}.letter-tile b{width:25px;height:25px;font-size:14px}.learning-flow{gap:10px;padding:12px 0;margin-bottom:16px}.learning-flow strong{font-size:14px}.learning-flow p{font-size:14px}.mode{font-size:15px;padding:11px 10px}.mode span{font-size:14px}.level-strip{font-size:14px;margin-bottom:9px;gap:8px}.level-steps{gap:5px}.level-step{width:24px;height:24px;font-size:13px}.quiz-top{gap:8px;margin-bottom:7px;min-height:38px}.round{font-size:14px}.round b{font-size:24px}.streak{display:none}.quiz-tools{gap:5px}.timer{font-size:14px;min-height:34px;min-width:58px}.quiz-tools .text-button{font-size:14px;min-height:40px;padding:6px}.question-heading{padding:17px 0 12px}.topic{font-size:13px;margin-bottom:5px}.question-heading h1{font-size:19px;line-height:1.55;letter-spacing:-.3px}.question-sheet{padding:16px 17px;border-radius:4px 12px 12px 4px}.sheet-label{font-size:13px;margin-bottom:7px}.quiz-sentence{font-size:25px;line-height:1.55}.choices{gap:10px;margin-top:14px}.choice{min-height:112px;gap:13px;padding:13px 12px;border-radius:11px}.choice-expression{font-size:25px;line-height:1.3}.choice-top{gap:6px}.choice-letter{width:26px;height:26px;font-size:15px}.choice-hint{font-size:13px}.pick-icon{font-size:17px}.keyboard-note{display:none}.feedback{margin-top:14px;padding:16px;gap:12px}.feedback h2{font-size:19px}.feedback .why{font-size:16px;line-height:1.65}.feedback-label{font-size:14px}.next{min-height:46px;padding:11px 16px}.pause-panel{margin:30px auto;padding:24px}.pause-panel h1{font-size:24px}.review-item summary{gap:8px;padding:12px 10px;min-height:62px}.review-topic{font-size:15px}.review-status{font-size:13px;white-space:nowrap}.review-body{padding:0 16px 18px}.answer-line{font-size:21px}.result-actions .secondary{width:100%}.continue-card{padding:15px}.continue-card strong{font-size:17px}.course-card h1{font-size:23px}}
@media(max-width:380px){.shell{padding:0 12px}.brand{font-size:17px}.header-actions{gap:5px}.music-toggle{font-size:12px;padding:8px 6px}.setup{padding:18px 14px}.setup-heading h2{font-size:21px}.letter-tile{font-size:17px;padding:12px 8px}.mode{padding:10px 8px}.mode span{font-size:13px}.choice-expression{font-size:23px}.choice-hint{font-size:12px}.question-sheet{padding:14px}.quiz-sentence{font-size:23px}}
@media(max-height:700px) and (max-width:760px){main{padding-top:12px}.question-heading{padding:12px 0 10px}.question-heading .topic{display:none}.question-heading h1{font-size:18px;line-height:1.5}.question-sheet{padding:13px 15px}.quiz-sentence{font-size:23px;line-height:1.5}.choice{min-height:100px;gap:10px;padding:12px}.feedback{padding:13px;gap:9px}.feedback h2{font-size:18px}.feedback .why{font-size:15px}}
@media(max-height:540px) and (min-width:600px){.site-header{min-height:58px}main{padding-top:12px}.quiz .level-strip{margin-bottom:4px}.quiz-top{margin-bottom:5px;min-height:32px}.question-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);column-gap:20px;align-items:start}.question-heading{grid-column:1;padding:14px 0 8px}.question-heading .topic{display:none}.question-heading h1{font-size:18px}.question-sheet{grid-column:1;padding:14px}.quiz-sentence{font-size:23px;line-height:1.5}.choices{grid-column:2;grid-row:1 / span 2;margin-top:14px;gap:9px}.choice{min-height:122px;padding:13px;gap:15px}.choice-expression{font-size:25px}.choice-hint,.keyboard-note{display:none}#feedback{grid-column:2;grid-row:1 / span 2}.feedback{padding:14px;margin-top:14px;gap:9px}.feedback h2{font-size:18px}.feedback .why{font-size:15px}.feedback-label{font-size:14px}.streak{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
/* Handwritten notes use a bright paper surface with dark, high-contrast ink. */
@font-face{font-family:NotePen;src:url('./fonts/NanumPenScript-Regular.ttf') format('truetype');font-display:swap}
.game-share{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid #697a90;border-radius:12px;background:#1e2937;color:#f6f9ff;font-size:14px;font-weight:700}
.game-share:disabled{opacity:.65}.share-status:empty,.note-status:empty{display:none}.share-status{margin:14px 0 0;color:#dce9ff;font-size:14px;line-height:1.6}.copy-fallback{padding:15px 0}.copy-fallback[hidden]{display:none}.copy-fallback label{display:block;font-size:14px;line-height:1.6;margin-bottom:8px}.copy-fallback input{width:100%;min-width:0;min-height:44px;border:1px solid #8596ac;border-radius:8px;padding:10px;background:#fff;color:#172d40;font-size:16px}.study-note{margin-top:36px;padding-top:30px;border-top:1px solid var(--line)}.note-toolbar h2{font-size:22px;margin:0 0 8px}.note-toolbar p{color:#c1ccda;margin:0 0 18px;font-size:15px;line-height:1.6}.note-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px}.note-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 16px;text-decoration:none;font-size:15px;font-weight:700;border-radius:11px;border:1px solid #788da8;background:#edf4ff;color:#17395b}.note-action:hover{background:#fff}.note-share{background:#bce0ff;border-color:#bce0ff}.note-action:disabled{opacity:.65}.note-action svg{flex-shrink:0}.note-status{font-size:14px;line-height:1.65;color:#dce9ff;margin:12px 0 16px}
.note-paper{--ink:#172d40;--blue:#174c86;--paper:#fffdf8;position:relative;color:var(--ink);background-color:var(--paper);background-image:radial-gradient(#dce2e2 .6px,transparent .6px);background-size:16px 16px;border-radius:8px;border:1px solid #ccd5da;padding:32px 32px 24px 48px;overflow-wrap:anywhere}.note-paper:before{content:'';position:absolute;top:16px;bottom:16px;left:28px;width:1px;background:#dec3cc;pointer-events:none}.note-paper-top{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12px;line-height:1.5;color:#435563;font-weight:700}.note-paper h3{font-family:NotePen,sans-serif;font-size:42px;line-height:1.25;margin:22px 0 12px;font-weight:400;letter-spacing:0}.note-paper h3>span{background:linear-gradient(transparent 56%,#ffeb9c 56%,#ffeb9c 91%,transparent 91%)}.note-question{font-family:NotePen,sans-serif;font-size:26px;line-height:1.35;margin:0 0 22px}.note-principle{display:flex;flex-wrap:wrap;gap:12px 28px;border-top:1px solid #b9c7cc;padding-top:17px;color:var(--blue);font-family:NotePen,sans-serif;font-size:24px;line-height:1.4}.note-principle span:last-child{color:#842650}.note-principle b{font-family:Arial,sans-serif;font-size:18px;font-weight:400}.note-legend{font-family:Arial,sans-serif;font-size:13px;color:#435563;line-height:1.6;margin:9px 0 20px}.note-entries{list-style:none;margin:0;padding:0}.note-entries li{padding:20px 0;border-bottom:1px solid #ccd4d7}.note-entries li:last-child{border-bottom:0}.note-entries h4{font-family:NotePen,sans-serif;font-size:27px;font-weight:400;line-height:1.3;display:flex;align-items:baseline;gap:12px;margin:0 0 13px}.note-number{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:26px;height:26px;border:1.5px solid var(--blue);border-radius:50%;font-family:Arial,sans-serif;font-size:15px;color:var(--blue)}.note-english{font-family:Arial,Helvetica,sans-serif;font-size:20px;line-height:1.7;margin:0 0 9px;overflow-wrap:normal;word-break:normal}.note-subject{color:var(--blue);font-weight:700;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1.5px}.note-english mark{background:#f9d8e5;color:var(--ink);font-weight:700;box-decoration-break:clone;-webkit-box-decoration-break:clone}.note-hand{display:flex;gap:7px;color:var(--blue);font-family:NotePen,sans-serif;font-size:24px;line-height:1.45;margin:0 0 6px}.note-arrow{font-family:Arial,sans-serif;font-size:21px}.note-meaning{font-size:14px;line-height:1.75;color:#435563;margin:0}.note-takeaway{font-family:NotePen,sans-serif;font-size:24px;line-height:1.5;background:#e8f0dd;padding:10px 14px;margin:16px 0 20px}.note-paper-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:14px;color:#435563}.note-paper-footer a{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--blue);text-underline-offset:4px}.note-paper a:focus-visible{outline-color:var(--blue)}
@media(max-width:760px){.site-header{flex-wrap:wrap;gap:10px;padding:14px 0}.header-actions{gap:8px;margin-left:auto}.game-share{padding:8px 10px}.note-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.note-action{font-size:14px;padding:10px 8px;line-height:1.4}.note-paper{padding:24px 18px 20px 26px}.note-paper:before{left:14px}.note-paper h3{font-size:36px}.note-question{font-size:25px}.note-principle{gap:8px;font-size:24px}.note-principle>span{flex-basis:100%}.note-entries h4{font-size:26px;gap:9px}.note-english{font-size:18px}.note-hand{font-size:24px}.note-meaning{font-size:15px}.note-toolbar h2{font-size:21px}}
@media(max-width:360px){.note-actions{grid-template-columns:1fr}.note-paper{padding-right:14px}.note-paper h3{font-size:32px}}

/* Keep the note entry beside the review title, then open a focused reader. */
.result-summary{display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:8px 16px;margin:15px 0 20px;color:#c1ccda;font-size:14px;line-height:1.6}.result-summary strong{color:#eef5ff;font-size:18px}.review-heading{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 0;background:var(--bg);border-bottom:1px solid var(--line)}.review-heading .review-title{margin:0;font-size:20px;line-height:1.4}.note-launch{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 16px;border:1px solid #bce0ff;border-radius:12px;background:#bce0ff;color:#163656;font-weight:800;font-size:16px;white-space:nowrap}.note-launch:hover{background:#dbedff}.note-launch svg{flex-shrink:0}.results .result-actions{margin-top:24px}.results .continue-detail{display:none}.results .continue-card{padding:18px;gap:6px}.results .course-card{padding:20px;margin-bottom:18px}.results .course-card .eyebrow{margin-bottom:6px}.results .course-card h1{font-size:23px;margin-bottom:8px}.results .course-card p:not(.eyebrow){margin-bottom:12px;font-size:14px;line-height:1.6}.results .course-link{min-height:44px;padding:10px 16px}.note-modal-open{overflow:hidden}
.note-reader{box-sizing:border-box;position:fixed;inset:0;margin:0;border:0;padding:0;width:100%;max-width:none;height:100vh;height:100dvh;max-height:none;color:#172d40;background:#fffdf8;overflow:auto}.note-reader::backdrop,.share-panel::backdrop{background:#0d1624b8}.reader-shell{display:grid;grid-template-rows:auto auto minmax(80px,1fr) auto auto;height:100%;min-height:380px;padding:env(safe-area-inset-top) max(16px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(16px,env(safe-area-inset-left))}.reader-head{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #ccd7df;padding:16px 8px;max-width:1120px;width:100%;margin:auto}.reader-head p{margin:0 0 5px;font-size:14px;color:#435563}.reader-head h2{margin:0;font-size:24px;line-height:1.3;outline:none}.reader-close{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;min-height:44px;min-width:44px;background:#fff;border:1px solid #9daeba;border-radius:10px;color:#172d40;font-size:15px;padding:8px 12px}.reader-modes{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 0}.reader-modes button{min-height:44px;border:1px solid #7790a6;border-radius:10px;padding:10px 16px;background:#fff;color:#224965;font-size:15px;font-weight:700}.reader-modes button[aria-pressed=true]{background:#174c86;border-color:#174c86;color:#fff}.reader-content{min-height:0;overflow:auto;display:grid;align-items:center;max-width:1100px;width:100%;margin:0 auto;background-image:radial-gradient(#dce2e2 .6px,transparent .6px);background-size:16px 16px;padding:18px 28px}.reader-card{max-width:900px;margin:auto;width:100%;outline:none}.reader-card-number{font-size:14px;letter-spacing:1px;color:#174c86;font-weight:800;margin:0 0 16px}.reader-card h3{font-family:NotePen,sans-serif;font-size:38px;font-weight:400;line-height:1.3;margin:0 0 24px;color:#172d40}.reader-card .note-english{font-size:clamp(23px,3vw,35px);line-height:1.55;margin:0 0 22px}.reader-card .note-subject{color:#174c86}.reader-card mark{color:#172d40}.reader-card .note-hand{font-size:30px;line-height:1.4;margin-bottom:17px;color:#174c86}.reader-card .note-meaning{font-size:18px;line-height:1.6;color:#435563}.reader-content.is-sheet{padding:0 8px;overflow:hidden}.reader-sheet{height:100%;width:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;justify-items:center}.reader-sheet img{width:100%;height:100%;min-height:0;object-fit:contain;display:block}.reader-sheet>a{color:#174c86;font-size:14px;min-height:34px;display:flex;align-items:center;text-underline-offset:3px}.reader-nav{display:flex;align-items:center;justify-content:center;gap:22px;padding:12px 0;min-height:68px}.reader-nav button{min-height:44px;min-width:100px;padding:10px 14px;background:#174c86;border:1px solid #174c86;border-radius:10px;color:#fff;font-size:16px;font-weight:700}.reader-nav button:disabled{background:#e4e9ed;border-color:#d0d8df;color:#657785}.reader-nav>span{min-width:45px;text-align:center;color:#174c86;font-size:16px;font-weight:800}.reader-nav p{font-size:14px;color:#435563;line-height:1.5;margin:0}.reader-footer{display:flex;justify-content:center;align-items:center;gap:10px;border-top:1px solid #ccd7df;padding:12px 0;max-width:1120px;width:100%;margin:auto}.reader-footer>a,.reader-footer>button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:10px 18px;border:1px solid #8198ad;border-radius:10px;background:#fff;color:#173e63;font-size:15px;font-weight:700;text-decoration:none}.reader-footer>button{background:#bce0ff}.note-reader :focus-visible,.share-panel :focus-visible{outline:3px solid #174c86;outline-offset:3px}
.share-panel{max-width:min(580px,calc(100vw - 24px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);width:580px;border:1px solid #9daeba;border-radius:20px;padding:0;background:#fffdf8;color:#172d40;overflow:auto}.share-panel-body{padding:24px}.share-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.share-panel-heading h2{font-size:24px;line-height:1.4;margin:0;outline:none}.share-intro{font-size:16px;line-height:1.6;margin:16px 0;color:#435563}.share-primary{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:52px;border:1px solid #174c86;border-radius:12px;background:#174c86;color:#fff;font-size:16px;font-weight:800;padding:12px}.share-help{font-size:14px;line-height:1.6;color:#435563;margin:12px 0}.share-link-row{display:flex;gap:8px}.share-link-row input{min-width:0;flex:1;background:#fff;border:1px solid #8198ad;border-radius:8px;color:#172d40;min-height:46px;padding:10px;font-size:16px}.share-link-row button,.instagram-help button,.instagram-help a,.share-image-row button,.share-image-row a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:10px 12px;border:1px solid #8198ad;border-radius:10px;background:#fff;color:#173e63;font-size:14px;font-weight:700;text-decoration:none}.share-panel button:disabled{opacity:.65}.instagram-help{margin-top:22px;padding-top:20px;border-top:1px solid #ccd7df}.instagram-help h3{font-size:18px;margin:0 0 9px}.instagram-help p{font-size:15px;line-height:1.7;margin:0 0 12px;color:#435563}.instagram-help>div{display:flex;gap:8px;flex-wrap:wrap}.share-image-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;padding-top:18px;border-top:1px solid #ccd7df}.share-image-row p{flex-basis:100%;font-size:14px;line-height:1.5;color:#435563;margin:0}.share-feedback{font-size:15px;line-height:1.65;font-weight:700;color:#174c86;margin:16px 0 0}.share-feedback:empty{display:none}
@media(max-width:760px){.results .continue-grid{grid-template-columns:1fr 1fr;gap:10px}.results .continue-card{padding:14px;gap:5px}.results .continue-card strong{font-size:16px}.results .continue-card>span:not(.continue-kicker){display:none}.results .continue-kicker{font-size:12px}.results .level-finish{padding:14px}.results .level-finish strong{font-size:16px}.results .level-finish p{display:none}.result-summary{margin:10px 0 6px}.review-heading{gap:8px;padding:12px 0;flex-wrap:nowrap}.review-heading .review-title{font-size:16px;word-break:keep-all;flex:1}.note-launch{font-size:14px;gap:5px;padding:10px;min-height:46px}.note-launch>span:last-child{display:none}.reader-head{padding:10px 0}.reader-head h2{font-size:21px}.reader-head p{font-size:13px}.reader-shell{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.reader-content{padding:14px 8px}.reader-card h3{font-size:30px;margin-bottom:18px}.reader-card .note-english{font-size:24px;margin-bottom:16px}.reader-card .note-hand{font-size:26px;margin-bottom:13px}.reader-card .note-meaning{font-size:16px}.reader-footer{gap:7px;padding:10px 0}.reader-footer>a,.reader-footer>button{padding:9px 10px;font-size:14px;gap:5px;flex:1}.reader-footer svg{width:18px;flex-shrink:0}.reader-nav{gap:12px}.share-panel-body{padding:20px}}
@media(max-height:700px){.reader-head{padding:8px 0}.reader-modes{padding:8px 0}.reader-card-number{margin-bottom:9px}.reader-card h3{font-size:27px;margin-bottom:12px}.reader-card .note-english{font-size:23px;line-height:1.45;margin-bottom:12px}.reader-card .note-hand{font-size:25px;line-height:1.35;margin-bottom:9px}.reader-card .note-meaning{font-size:15px;line-height:1.5}.reader-nav{padding:8px 0;min-height:60px}.reader-footer{padding:8px 0}}
.reader-footer>.reader-options{background:#f3f6fa;min-width:60px;padding-left:10px;padding-right:10px}.reader-options span{font-size:13px}
@media(max-width:760px){.reader-footer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 56px;gap:5px}.reader-footer>a,.reader-footer>button{flex-direction:column;gap:4px;min-width:0;padding:8px 3px;line-height:1.3;white-space:nowrap}.reader-footer>.reader-options{min-width:0;padding:8px 3px}.reader-footer svg{height:18px}}
.note-reader,.share-panel{color-scheme:light}
/* Result and note controls follow the same light study palette. */
.game-share{background:#fff;color:#244d85;border-color:#a9bbd0}.result-summary{color:#4d6077}.result-summary strong{color:#182d46}.review-heading{background:var(--bg)}.note-launch{background:#e1edff;color:#204c8d;border-color:#92b0de}.note-launch:hover{background:#cddfff}.results .course-card p:not(.eyebrow){font-size:15px}.results .continue-kicker{font-size:13px}.results .level-finish strong{color:#235d42}.reader-footer{background:#fffdf8}.note-status,.share-status{color:#244d85}
@media(max-width:760px){.site-header{flex-wrap:nowrap;padding:9px 0;gap:7px}.header-actions{gap:6px;margin-left:auto}.game-share{padding:8px;font-size:13px}.game-share svg{width:17px}.results .level-strip{margin-bottom:12px}.results .course-card{padding:17px;margin-bottom:12px}.results .course-card h1{font-size:22px}.results .course-card p:not(.eyebrow){font-size:14px;margin-bottom:10px}.results .continue-card{padding:13px}.review-heading .review-title{font-size:16px}.note-launch{font-size:14px;padding:9px;gap:5px}}
/* Course action beside its heading; screen notes use a readable landscape spread. */
.course-heading-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:10px}.results .course-heading-row h1{margin:0;min-width:0}.course-heading-row .course-link{flex-shrink:0;white-space:nowrap}.results .course-card>p:last-child{margin-bottom:0}.reader-content.is-sheet{display:block;overflow:auto;padding:8px 14px;background-image:none;max-width:1320px}.sheet-overview{--blue:#174c86;--ink:#172d40;max-width:1280px;margin:auto;padding:14px 22px 10px;color:var(--ink);background:#fffdf8;border:1px solid #c8d1d7}.sheet-title{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:10px;border-bottom:1px solid #b6c6d1}.sheet-title>div>p{font-size:13px;color:#435563;margin:0 0 2px}.sheet-title h3{font-family:NotePen,sans-serif;font-size:34px;font-weight:400;margin:0;line-height:1.2}.sheet-principle{display:flex;flex-direction:column;gap:2px;font-size:15px;line-height:1.5;margin:0;color:#174c86}.sheet-principle span:last-child{color:#842650}.sheet-columns{display:grid;grid-template-columns:1fr 1fr;gap:34px}.sheet-columns>div{min-width:0}.sheet-columns>div+div{border-left:1px solid #ccd7df;padding-left:24px}.sheet-point{padding:12px 0 10px;border-bottom:1px solid #d3dade}.sheet-point h4{display:flex;align-items:baseline;gap:10px;font-family:NotePen,sans-serif;font-size:26px;font-weight:400;line-height:1.2;margin:0 0 6px}.sheet-number{font-family:Arial,sans-serif;font-size:14px;color:#174c86;flex-shrink:0}.sheet-point .note-english{font-size:20px;line-height:1.5;margin:0 0 5px}.sheet-point .note-hand{font-size:22px;line-height:1.25;margin:0 0 5px}.sheet-point .note-meaning{font-size:14px;line-height:1.5;margin:0}.sheet-reminder{font-family:NotePen,sans-serif;font-size:24px;color:#174c86;line-height:1.4;margin:18px 0 10px}.portrait-preview{display:block;text-align:right;color:#174c86;font-size:14px;min-height:38px;padding-top:12px;text-underline-offset:4px}.instagram-help summary{font-size:16px;cursor:pointer;color:#173e63;min-height:40px;line-height:1.5;padding:6px 0}
@media(min-width:1100px) and (min-height:850px){.sheet-point{padding:17px 0}.sheet-point h4{font-size:29px}.sheet-point .note-english{font-size:23px}.sheet-point .note-hand{font-size:25px}.sheet-point .note-meaning{font-size:16px}}
@media(max-width:760px){.course-heading-row{gap:10px}.results .course-heading-row h1{font-size:19px;line-height:1.45;word-break:keep-all}.results .course-heading-row .course-link{font-size:14px;padding:10px;gap:4px}.reader-content.is-sheet{padding:4px 0}.sheet-overview{padding:12px 16px}.sheet-title{align-items:flex-start;flex-direction:column;gap:8px}.sheet-title h3{font-size:30px}.sheet-principle{flex-direction:row;flex-wrap:wrap;gap:4px 16px;font-size:14px}.sheet-columns{gap:20px}.sheet-columns>div+div{padding-left:18px}.sheet-point .note-english{font-size:19px}.sheet-point h4{font-size:24px}.reader-nav>p{text-align:center;font-size:13px}}
@media(max-width:600px){.sheet-columns{grid-template-columns:1fr;gap:0}.sheet-columns>div+div{border:0;padding-left:0}.sheet-point .note-english{font-size:22px}.sheet-point .note-hand{font-size:24px}.sheet-point .note-meaning{font-size:15px}.sheet-point h4{font-size:27px}}
/* A real paper surface, with quiet rules instead of stacked decorative panels. */
:root{--bg:#fbfcfd;--line:#cbd2db;--text:#182d46;--muted:#4d6077}body{background:#e9edf0}.shell{background-color:#fff;background-image:linear-gradient(#ffffffe6,#ffffffe6),url('./assets/worksheet-paper-texture.png');background-size:auto,627px;box-shadow:0 0 0 1px #d2d9df}.site-header{border-bottom:2px solid #294b71}.brand-dot{display:none}.brand-sub{font-size:13px;letter-spacing:0;font-weight:500}.intro h1{font-family:NotePen,sans-serif;font-size:clamp(40px,4.5vw,54px);font-weight:400;line-height:1.2;letter-spacing:0}.setup{background:transparent;border:0;border-left:1px solid #b7c4d3;border-radius:0;box-shadow:none}.setup-example{padding:17px 0;border-top:1px solid #b7c4d3;border-bottom:1px solid #b7c4d3}.letter-tile{border-radius:5px;background:#f3f7fd}.letter-tile.b{background:#fff4f8}.letter-tile b{border-radius:4px}.tag{background:transparent;border-radius:3px}.primary,.secondary,.mode,.music-toggle,.game-share,.timer{border-radius:5px}.question-sheet{border:0;border-top:1px solid #aebfd0;border-bottom:1px solid #aebfd0;border-radius:0;background:transparent;box-shadow:none}.question-sheet .sheet-label{color:#52657b}.choice{border-width:1px;border-radius:5px;box-shadow:none;background:#f1f6fe}.choice.b{border-width:1px;border-radius:5px;box-shadow:none;background:#fff2f7}.choice-letter{border-radius:4px}.feedback{border:0;border-left:3px solid #88a48c;border-radius:0;background:#f8fbf7}.feedback h2:focus{outline:none}.course-card{border:0;border-top:2px solid #294b71;border-bottom:1px solid #b8c5d3;border-radius:0;background:transparent}.continue-card,.level-finish{border-radius:5px}.review-item{background:transparent}.review-heading{background:#fcfdfd}.note-launch{border-radius:5px}.note-reader{background-color:#fffdf8}.reader-content:not(.is-sheet),.sheet-overview{background-image:linear-gradient(#ffffffda,#ffffffda),url('./assets/worksheet-paper-texture.png');background-size:auto,627px}.sheet-overview{background-color:#fffdf8}.reader-modes button,.reader-close,.reader-nav button,.reader-footer>a,.reader-footer>button{border-radius:5px}.reader-head{border-bottom:2px solid #294b71}.reader-head h2{font-family:NotePen,sans-serif;font-size:30px;font-weight:400}.share-panel{border-radius:10px}.share-primary,.share-link-row input,.share-link-row button,.instagram-help button,.instagram-help a,.share-image-row button,.share-image-row a{border-radius:5px}
@media(max-width:760px){.intro h1{font-size:40px}.setup{border-left:0;border-top:1px solid #aebfd0;padding:20px 0 0}.setup-example{padding:13px 0}.site-header{border-bottom-width:1px}.reader-head h2{font-size:27px}.sheet-overview{border-left:0;border-right:0}.results .course-card{padding:16px 0}.results .course-heading-row h1{font-size:19px}.shell>footer{background:transparent}.review-heading{padding:12px 0}}

/* Red pen grading stays on the chosen card and beside every reviewed number. */
:root{--pen-red:#b32330}.choice-letter{position:relative}.pen-mark{width:46px;height:46px;color:var(--pen-red);flex-shrink:0;overflow:visible}.choice-letter .pen-mark{position:absolute;width:48px;height:48px;left:50%;top:50%;transform:translate(-50%,-50%)}.choice.correct,.choice.incorrect{background:#fffdf8;border-color:#b79e9e}.choice.correct .choice-letter,.choice.incorrect .choice-letter{color:#182d46;background:transparent}.choice.correct .choice-hint,.choice.incorrect .choice-hint{color:var(--pen-red);font-weight:800}.choice.unselected{background:#f4f5f7;border-color:#cbd2db;color:#667384}.choice .pen-mark path{stroke-dasharray:1;animation:pen-stroke .32s ease-out both}.review-icon{width:38px;height:38px;background:transparent;border-radius:0}.review-icon .pen-mark{width:38px;height:38px}.review-title-score{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.pen-score{font-family:NotePen,cursive;font-size:42px;line-height:1;white-space:nowrap;color:var(--pen-red);transform:rotate(-6deg);padding:2px 6px}.key-explanation,.reader-card .note-hand,.sheet-point .note-hand{color:var(--pen-red)}.feedback .key-explanation{font-weight:700}.continue-grid{grid-template-columns:1.1fr 1fr 1fr}.previous-card{background:#fff;color:#244d85}.review-heading{scroll-margin-top:10px}.review-title:focus{outline:none}.reader-savebar{max-width:1120px;width:100%;margin:auto;border-top:1px solid #ccd7df}.reader-savebar .reader-footer{border-top:0}.note-orientation{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;padding-top:8px;font-size:14px;color:#435563}.note-orientation>span{margin-right:5px}.note-orientation button{min-height:40px;padding:8px 12px;border:1px solid #8198ad;border-radius:5px;background:#fff;color:#173e63;font-size:14px;font-weight:700}.note-orientation button[aria-pressed=true]{color:#fff;background:#174c86;border-color:#174c86}.share-panel .note-orientation{margin-top:18px;padding-top:16px;border-top:1px solid #ccd7df}.share-image-row{margin-top:8px;border-top:0;padding-top:8px}
@keyframes pen-stroke{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media(max-width:760px){.results .continue-grid{grid-template-columns:1fr 1fr}.retry-card{grid-column:1/-1}.review-heading{flex-wrap:wrap}.review-title-score{gap:8px;flex:1}.review-heading .review-title{font-size:17px;flex:none}.pen-score{font-size:37px}.review-heading .note-launch{margin-left:auto}.is-answered .feedback{padding:12px 14px}.note-orientation{padding-top:6px}.reader-savebar .reader-footer{padding-top:7px}}
@media(max-height:540px) and (min-width:600px){.is-answered .choices{grid-column:2;grid-row:1 / span 2}.is-answered #feedback{grid-column:1/-1;grid-row:3}.is-answered .feedback{grid-template-columns:minmax(0,1fr) auto}.is-answered .next{align-self:end}}
@media(prefers-reduced-motion:reduce){.pen-mark path{animation:none!important}}

.statistics-notice,.statistics-status{font-size:14px;line-height:1.6;color:#506277;text-align:center;margin:12px 0}.statistics-status:empty{display:none}

/* The opening screen teaches the actual card interaction in three short steps. */
.intro-interactive{align-items:start;min-height:0;gap:36px;padding-top:10px}.intro-interactive .intro-copy{padding-top:48px}.tutorial-setup{padding:0 0 0 30px}.tutorial-steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;margin:0 0 24px}.tutorial-steps li{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:2px solid #cbd4df;color:#5a687a}.tutorial-steps li>span{font-family:NotePen,sans-serif;font-size:27px;line-height:1}.tutorial-steps strong{font-size:15px;font-weight:600;line-height:1.4}.tutorial-steps li.current{color:#174c86;border-color:#174c86}.tutorial-steps li.current strong{font-weight:800}.tutorial-steps li.complete{color:#245d44;border-color:#7c9c88}.tutorial-heading .eyebrow{margin-bottom:7px;font-size:14px}.tutorial-heading h2{font-family:NotePen,sans-serif;font-size:36px;font-weight:400;line-height:1.2;margin:0 0 10px;outline:none}.tutorial-heading>p:last-child{font-size:16px;line-height:1.6;margin:0 0 18px;color:#344d67;word-break:keep-all}.tutorial-sentence{border-top:1px solid #aebfd0;border-bottom:1px solid #aebfd0;padding:18px 0}.tutorial-sentence p{font:26px/1.6 Arial,Helvetica,sans-serif;margin:0;color:#182d46}.tutorial-sentence strong{color:#235d42;background:#e6f4d8;padding:2px 4px}.tutorial-choices{gap:12px;margin-top:18px}.tutorial-choices .choice{min-height:124px;padding:17px;gap:17px}.tutorial-choices .choice-expression{font-size:29px}.tutorial-choices .choice-hint{font-size:14px}.tutorial-cue{font-size:15px;margin:16px 0;color:#506277;text-align:center}.tutorial-skip{display:flex;align-items:center;justify-content:center;gap:0 14px;flex-wrap:wrap;padding-top:14px;margin-top:18px;border-top:1px solid #d4dbe3}.tutorial-skip>span{font-size:13px;color:#506277}.tutorial-skip .text-button{font-size:14px}.tutorial-feedback{margin-top:18px;padding:13px 0 0;border-top:1px solid #cbd4df}.tutorial-verdict{font-size:15px;font-weight:800;margin:0 0 6px;color:#182d46}.tutorial-feedback .key-explanation{font-family:NotePen,sans-serif;font-size:25px;line-height:1.4;margin:0}.tutorial-next{display:flex;justify-content:space-between;width:100%;margin-top:16px}.tutorial-ready-note{padding:16px 0;border-top:1px solid #aebfd0;border-bottom:1px solid #aebfd0;margin:24px 0}.tutorial-ready-note strong{font-size:18px;color:#174c86}.tutorial-ready-note p{font-size:15px;color:#344d67;line-height:1.65;margin:6px 0 0}.tutorial-again{display:block;margin:9px auto 0}.tutorial-page{animation:tutorial-reveal .18s ease-out both}.tutorial-workbook .statistics-notice{font-size:13px;margin:16px 0 0}.intro-interactive .intro-description{font-size:16px}.tutorial-setup .mode{min-height:82px}
@keyframes tutorial-reveal{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.intro-interactive{gap:24px}.tutorial-setup{padding-left:24px}.tutorial-steps{gap:8px}.tutorial-steps li{gap:5px}.tutorial-steps strong{font-size:14px}.tutorial-choices .choice{padding:15px}.tutorial-choices .choice-expression{font-size:26px}}
@media(max-width:760px){.intro-interactive{padding-top:0;gap:16px;max-width:580px}.intro-interactive .intro-copy{padding-top:0}.intro-interactive .intro-copy>.eyebrow{display:none}.intro-interactive h1{font-size:33px;line-height:1.15;margin:0 0 7px;letter-spacing:0}.intro-interactive .lead{display:none}.intro-interactive .small-tags{margin-top:7px}.tutorial-setup{padding:14px 0 0;border-top:1px solid #aebfd0}.tutorial-steps{margin-bottom:17px;gap:10px}.tutorial-steps li{padding:7px 0;gap:7px}.tutorial-steps li>span{font-size:25px}.tutorial-steps strong{font-size:14px}.tutorial-heading h2{font-size:31px;line-height:1.2;margin-bottom:7px}.tutorial-heading .eyebrow{font-size:13px}.tutorial-heading>p:last-child{font-size:15px;margin-bottom:14px}.tutorial-sentence{padding:14px 0}.tutorial-sentence p{font-size:24px;line-height:1.5}.tutorial-choices{gap:10px;margin-top:14px}.tutorial-choices .choice{min-height:109px;padding:14px 12px;gap:14px}.tutorial-choices .choice-expression{font-size:26px}.tutorial-choices .choice-hint{font-size:13px}.tutorial-cue{font-size:14px;margin:12px 0}.tutorial-skip{margin-top:12px;padding-top:7px}.tutorial-workbook .statistics-notice{font-size:12px;margin-top:10px}.tutorial-feedback{margin-top:13px;padding-top:10px}.tutorial-feedback .key-explanation{font-size:24px}.tutorial-next{margin-top:12px;min-height:46px;padding:10px 15px}.tutorial-ready-note{margin:18px 0;padding:13px 0}}
@media(max-width:380px){.intro-interactive h1{font-size:30px}.tutorial-steps{gap:6px}.tutorial-steps li{gap:5px}.tutorial-steps strong{font-size:13px}.tutorial-sentence p{font-size:23px}.tutorial-choices .choice-expression{font-size:24px}.tutorial-choices .choice-hint{font-size:12px}}
@media(prefers-reduced-motion:reduce){.tutorial-page{animation:none}}

/* Keep the sentence, cards and feedback together as one worksheet exercise. */
.is-playing .shell{height:100vh;height:100dvh;min-height:0}.is-playing .site-header{min-height:56px;flex-shrink:0}.is-playing .shell>footer{display:none}.is-playing main{min-height:0;display:flex;flex-direction:column;padding:12px 0}.is-playing .quiz{width:100%;height:100%;min-height:0;display:flex;flex-direction:column}.is-playing .level-strip{margin-bottom:7px;min-height:24px;flex-shrink:0}.is-playing .quiz-top{margin-bottom:7px;min-height:34px;flex-shrink:0}.is-playing .round b{font-size:24px}.is-playing .progress-track{height:4px;flex-shrink:0}
.is-playing .question-workspace{display:flex;flex:1;min-height:0;flex-direction:column;justify-content:center;gap:18px;padding:18px 0;width:100%;max-width:860px;margin:auto}.is-playing .question-heading{padding:0;flex-shrink:0}.is-playing .question-heading .topic{display:none}.is-playing .question-heading h1{font-size:20px;line-height:1.5}.is-playing .question-sheet{flex:0 0 auto;min-height:128px;display:flex;flex-direction:column;justify-content:center;padding:22px 24px;border:1px solid #cbd6e2;border-left:3px solid #5776a0;border-radius:4px;background:#ffffffa6}.is-playing .quiz-sentence{font-size:clamp(25px,2.5vw,30px);line-height:1.5}.is-playing .sheet-label{display:none}.is-playing .choices{flex-shrink:0;margin:0;gap:18px}.is-playing .choice{min-height:146px;padding:16px 20px 22px;gap:14px}.is-playing .choice-expression{font-size:clamp(25px,2.5vw,31px);line-height:1.35}.is-playing .keyboard-note{display:none}.is-playing #feedback{flex-shrink:0}.is-playing .feedback{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;margin:0;padding:14px 18px;border-left:3px solid #5d7a9e;background:#f1f5f9;border-radius:4px}.is-playing .feedback-label{font-size:14px;margin:0 0 4px}.is-playing .feedback .why{font-size:17px;line-height:1.5;margin:0}.feedback .key-explanation:focus{outline:none}.feedback-actions{display:flex;flex-direction:column;align-items:stretch;gap:4px;flex-shrink:0}.feedback-actions .text-button{min-height:32px;padding:4px 0}.feedback-actions .next{min-height:44px;padding:9px 15px}.is-playing .is-answered .question-heading{display:none}
.explanation-modal{width:min(680px,calc(100vw - 24px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:0;border:1px solid #aebfd0;border-radius:8px;background:#fffdf8;color:#182d46;overflow:auto}.explanation-modal::backdrop{background:#0d1624b8}.explanation-header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:#fffdf8;border-bottom:1px solid #ccd7df}.explanation-header h2{margin:0;font-size:21px;line-height:1.4;outline:none}.explanation-body{padding:20px}.explanation-prompt{color:#506277;font-size:15px;margin:0 0 15px}.explanation-body .key-explanation{font-weight:700;margin:14px 0}.explanation-body .translation{border-top:1px solid #ccd7df;padding-top:14px;margin-top:16px}
@media(max-width:760px){.is-playing .site-header{min-height:48px;padding:4px 0}.is-playing main{padding:8px 0}.is-playing .level-strip{font-size:13px;margin-bottom:4px}.is-playing .level-step{width:22px;height:22px}.is-playing .quiz-top{min-height:32px;margin-bottom:5px}.is-playing .quiz-tools .text-button{min-height:32px;padding:4px 6px}.is-playing .timer{min-height:30px;padding:3px 8px}.is-playing .question-workspace{gap:12px;padding:12px 0}.is-playing .question-heading h1{font-size:18px;line-height:1.45}.is-playing .question-sheet{min-height:110px;padding:16px}.is-playing .quiz-sentence{font-size:24px;line-height:1.45}.is-playing .choices{gap:12px}.is-playing .choice{min-height:126px;padding:12px 14px 18px;gap:12px}.is-playing .choice-expression{font-size:24px}.is-playing .choice-hint{font-size:14px}.is-playing .feedback{grid-template-columns:1fr;gap:9px;padding:12px 14px}.is-playing .feedback .why{font-size:16px;line-height:1.45}.feedback-actions{flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.feedback-actions .next{flex-shrink:0}.feedback-actions .text-button{font-size:14px;text-align:left}.explanation-header{padding:12px 14px;gap:10px}.explanation-header h2{font-size:19px}.explanation-body{padding:16px}}
@media(max-width:760px) and (max-height:740px){.is-playing .question-workspace{gap:10px;padding:10px 0}.is-playing .quiz-sentence{font-size:23px;line-height:1.4}.is-playing .question-sheet{min-height:100px;padding:13px 14px}.is-playing .choice{min-height:108px;padding:10px 12px 14px;gap:8px}.is-playing .feedback{padding:9px 12px;gap:6px}.is-playing .feedback-label{margin-bottom:2px}.is-playing .feedback .why{font-size:16px}.is-playing .choice-expression{font-size:23px}}
@media(min-width:600px) and (max-height:600px){.is-playing .site-header{min-height:44px;padding:2px 0}.is-playing main{padding:6px 0}.is-playing .level-strip{display:none}.is-playing .quiz-top{min-height:30px;margin-bottom:4px}.is-playing .quiz-tools .text-button{min-height:30px}.is-playing .question-workspace{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:auto minmax(min-content,1fr) auto;gap:8px 18px;padding:8px 0;max-width:none}.is-playing .question-heading{grid-column:1/-1;grid-row:1}.is-playing .question-heading h1{font-size:18px}.is-playing .question-sheet{grid-column:1;grid-row:2;align-self:center;min-height:116px;padding:14px}.is-playing .quiz-sentence{font-size:23px;line-height:1.4}.is-playing .choices,.is-playing .is-answered .choices{grid-column:2;grid-row:2;align-self:center;gap:10px;margin:0}.is-playing .choice{min-height:116px;padding:12px;gap:12px}.is-playing .choice-expression{font-size:24px}.is-playing #feedback,.is-playing .is-answered #feedback{grid-column:1/-1;grid-row:3}.is-playing .feedback,.is-playing .is-answered .feedback{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:8px 12px}.is-playing .feedback .why{font-size:16px}.is-playing .feedback-actions{flex-direction:row;gap:14px}}
/* Keep enlarged text readable rather than clipping it on extremely short screens. */
@media(max-width:599px) and (max-height:520px){.is-playing .shell{height:auto;min-height:100dvh}.is-playing .question-workspace{flex:none}.is-playing .question-sheet{flex:none}}

.key-explanation,.reader-card .note-hand,.sheet-point .note-hand{color:#172d40}.note-key{color:var(--pen-red);font-weight:inherit}.note-arrow{color:#172d40}

/* Only the selected card receives a pen mark; brightness identifies the answer. */
.choice.correct,.choice.b.correct{background:#fffef4;border-color:#2457b8;box-shadow:inset 0 0 0 1px #2457b8;color:#182d46}.choice.correct .choice-hint{color:#174c86}.choice.incorrect,.choice.b.incorrect{background:#dce1e7;border-color:#a9b4c2;box-shadow:none;color:#49586a}.choice.unselected,.choice.b.unselected{background:#e5e9ee;border-color:#b9c3ce;box-shadow:none;color:#566579}.choice.incorrect .choice-hint{color:#7b2531}.choice.unselected .choice-letter{background:#64758b;color:#fff}

.share-toast{position:fixed;z-index:12;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);max-width:calc(100vw - 32px);width:max-content;padding:11px 16px;margin:0;border:1px solid #9fb3c9;border-radius:7px;background:#173e63;color:#fff;font-size:14px;line-height:1.5;box-shadow:0 4px 18px #10283c24;pointer-events:none}.share-toast:empty{display:none}

.review-number{position:relative;display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;color:#182d46;font-family:Arial,sans-serif;font-size:17px;font-weight:700;font-variant-numeric:tabular-nums}.review-number .pen-mark{position:absolute;inset:-4px;width:48px;height:48px;pointer-events:none}.review-number>span{position:relative}.review-item summary{gap:14px}
@media(max-width:760px){.review-item summary{gap:10px}.review-number{flex-basis:36px;width:36px;height:36px;font-size:16px}.review-number .pen-mark{inset:-4px;width:44px;height:44px}}

/* Study cards: clear A/B tabs, centered expressions, restrained depth. */
.choice{position:relative;border-radius:12px;box-shadow:0 3px 0 #c7d3e3;transition:transform .18s ease,background .18s ease,border-color .18s ease}.choice.b{border-radius:12px;box-shadow:0 3px 0 #dccbd4}.choice:not(:disabled){background:#f1f6fd;border-color:#9bb2d3}.choice.b:not(:disabled){background:#fcf4f8;border-color:#c9a8bc}.choice-letter{border-radius:7px;width:30px;height:30px;flex-shrink:0}.choice-expression{flex:1;display:flex;align-items:center;justify-content:center;text-align:center}.choice .pick-icon{font-size:18px;opacity:.65}.choice.correct,.choice.b.correct{box-shadow:inset 0 0 0 1px #2457b8,0 3px 0 #b6c8e4}.choice.incorrect,.choice.b.incorrect,.choice.unselected,.choice.b.unselected{box-shadow:none}.choice.unselected .choice-letter{color:#4d6077;background:transparent}
/* A looping demonstration, with persistent controls and a start button. */
.tutorial-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;min-height:40px}.tutorial-controls>span{font-size:14px;font-weight:700;color:#174c86}.tutorial-controls>div{display:flex;gap:6px;align-items:center}.tutorial-controls .text-button{font-size:14px;min-height:40px;padding:6px}.tutorial-controls [hidden]{display:none}.tutorial-steps{margin-bottom:16px}.tutorial-heading h2{font-size:32px}.tutorial-heading>p:last-child{margin-bottom:13px}.tutorial-heading .eyebrow{font-size:13px}.tutorial-sentence{padding:14px 0}.tutorial-sentence p{font-size:25px}.tutorial-choices{margin-top:14px;gap:14px}.tutorial-choices .choice{min-height:124px;padding:13px 16px 18px;gap:10px}.tutorial-choices .choice-expression{font-size:28px}.tutorial-caption{min-height:103px;padding:14px 0 10px}.tutorial-caption .key-explanation{font-size:17px;line-height:1.6;margin:3px 0 0;word-break:keep-all}.tutorial-caption .tutorial-verdict{font-size:14px;margin:0 0 5px}.tutorial-caption .tutorial-cue{font-size:15px;text-align:left;line-height:1.6;margin:0}.tutorial-manual-next{display:block;margin:-6px 0 5px auto}.tutorial-start-area{border-top:1px solid #cbd4df;padding-top:16px}.tutorial-start-area legend{font-size:15px;margin-bottom:8px}.tutorial-start-area .mode{min-height:70px;padding:10px 12px}.tutorial-start-area .mode span{font-size:13px;margin-top:3px}.tutorial-start-area .start{margin-top:12px}.tutorial-start-note{font-size:13px;color:#506277;text-align:center;margin:8px 0 0}.tutorial-page.is-automatic{animation:none}.demo-target{animation:demo-press 1s ease-in-out both}.demo-click{position:absolute;right:13px;bottom:8px;display:flex;align-items:center;gap:3px;color:#174c86;pointer-events:none}.demo-click>span{font-size:12px;font-weight:700;padding:2px 5px;background:#fff;border:1px solid #c0cedd;border-radius:4px}
@keyframes demo-press{0%{transform:translateY(0)}45%{transform:translateY(-3px);box-shadow:0 0 0 3px #2457b828,0 3px 0 #b8c9e3}75%{transform:translateY(1px)}100%{transform:translateY(0)}}
@media(min-width:761px){.intro-interactive .intro-copy{padding-top:72px}}
@media(max-width:760px){.tutorial-controls{margin-bottom:6px;gap:6px}.tutorial-controls>span,.tutorial-controls .text-button{font-size:13px}.tutorial-controls .text-button{padding:5px;min-height:36px}.tutorial-steps{margin-bottom:14px}.tutorial-heading h2{font-size:29px}.tutorial-heading>p:last-child{font-size:14px;margin-bottom:12px}.tutorial-sentence{padding:12px 0}.tutorial-sentence p{font-size:23px}.tutorial-choices .choice{min-height:110px;padding:11px 12px 15px;gap:9px}.tutorial-choices .choice-expression{font-size:25px}.tutorial-caption{min-height:105px;padding:12px 0 9px}.tutorial-caption .key-explanation{font-size:16px}.tutorial-start-area{padding-top:12px}.tutorial-start-area .mode{min-height:64px}.tutorial-start-area .mode span{font-size:12px}.tutorial-start-area .start{min-height:48px;margin-top:10px}.tutorial-workbook .statistics-notice{margin-top:9px}.demo-click{right:8px;bottom:4px}}
@media(prefers-reduced-motion:reduce){.demo-target{animation:none}.choice{transition:none}}

/* A short word-selection example, without a multi-step tutorial. */
.word-demo-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.word-demo-heading .eyebrow{margin:0 0 6px;font-size:14px}.word-demo-heading h2{font-size:25px;line-height:1.4;margin:0;font-weight:700}.word-demo-heading .text-button{white-space:nowrap;flex-shrink:0;font-size:14px}.word-demo-sentence{font:27px/1.8 Arial,Helvetica,sans-serif;color:#182d46;margin:0;padding:23px 0;border-top:1px solid #b7c7d9;border-bottom:1px solid #b7c7d9}.word-demo-slot{display:inline-block;min-width:8.1ch;margin:0 2px;border-bottom:2px solid #2457b8;text-align:center;font-weight:700;color:#2457b8;background:#edf3ff;transition:background .2s,color .2s}.word-demo-slot.is-filled{background:#e6f4d8;color:#235d42;border-color:#719475}.word-demo-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.word-demo-option{display:flex;align-items:center;gap:14px;min-height:94px;padding:18px;border:1px solid #a6bbd5;border-radius:10px;color:#284a7e;background:#f1f6fd;transition:background .2s,border-color .2s,color .2s}.word-demo-option>b{font:700 15px/1 Arial,sans-serif;display:grid;place-items:center;width:27px;height:27px;flex-shrink:0;border-radius:6px;background:#2457b8;color:#fff}.word-demo-option>span{font:700 27px/1.35 Arial,Helvetica,sans-serif;text-align:center;flex:1}.word-demo-option.option-b{background:#fcf4f8;border-color:#c9a8bc;color:#713451}.word-demo-option.option-b>b{background:#85365d}.has-selection .word-demo-option.option-a{background:#e5e9ee;border-color:#c5ced8;color:#637187}.has-selection .word-demo-option.option-a>b{background:#718096}.word-demo-option.option-b.is-selected{background:#fffef4;border-color:#2457b8;box-shadow:inset 0 0 0 1px #2457b8;color:#182d46}.simple-tutorial .tutorial-start-area{margin-top:28px;padding-top:22px}.simple-tutorial .statistics-notice{margin-top:14px}
@media(max-width:760px){.word-demo-heading{margin-bottom:14px;gap:10px}.word-demo-heading h2{font-size:22px}.word-demo-heading .eyebrow{font-size:13px;margin-bottom:4px}.word-demo-heading .text-button{font-size:13px;padding:5px;min-height:36px}.word-demo-sentence{font-size:24px;line-height:1.65;padding:18px 0}.word-demo-options{gap:10px;margin-top:14px}.word-demo-option{padding:15px 12px;gap:9px;min-height:87px}.word-demo-option>span{font-size:24px}.word-demo-option>b{width:24px;height:24px;font-size:14px}.simple-tutorial .tutorial-start-area{margin-top:22px;padding-top:17px}}
@media(prefers-reduced-motion:reduce){.word-demo-slot,.word-demo-option{transition:none}}

/* Restore ordinary study-note typography while retaining red key phrases. */
.note-paper h3,.note-question,.note-principle,.note-entries h4,.note-hand,.note-takeaway,.reader-card h3,.sheet-title h3,.sheet-point h4,.sheet-reminder,.reader-head h2{font-family:'Noto Sans KR',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:0}
.note-paper h3{font-size:28px;font-weight:700}.note-question,.note-principle,.note-takeaway{font-size:18px;line-height:1.65}.note-entries h4{font-size:21px;font-weight:700;line-height:1.5}.note-hand{font-size:18px;line-height:1.65}.reader-head h2{font-size:24px;font-weight:700;line-height:1.4}.reader-card h3{font-size:28px;font-weight:700;line-height:1.45;margin-bottom:20px}.reader-card .note-hand{font-size:20px;line-height:1.65;margin-bottom:17px}.sheet-title h3{font-size:24px;font-weight:700;line-height:1.4}.sheet-point h4{font-size:18px;font-weight:700;line-height:1.5}.sheet-point .note-hand{font-size:16px;line-height:1.55;margin-bottom:8px}.sheet-reminder{font-size:17px;line-height:1.6}
@media(max-width:760px){.reader-head h2{font-size:21px}.reader-card h3{font-size:24px;margin-bottom:16px}.reader-card .note-hand{font-size:18px;line-height:1.6;margin-bottom:14px}.sheet-title h3{font-size:22px}.sheet-point h4{font-size:18px}.sheet-point .note-hand{font-size:16px}.sheet-reminder{font-size:16px}}

.question-context{font:18px/1.45 Arial,Helvetica,sans-serif;color:#435563;margin:0 0 13px;padding-bottom:11px;border-bottom:1px dashed #bac8d7}.question-context>span{display:block;font:500 13px/1.5 'Noto Sans KR',system-ui,sans-serif;margin-bottom:4px;color:#52657b}.explanation-context,.note-context{font:16px/1.5 Arial,Helvetica,sans-serif;color:#435563;margin:0 0 10px;padding-bottom:9px;border-bottom:1px dashed #c4cfda}.answer-subject{text-decoration:underline;text-decoration-color:#648fbe;text-underline-offset:5px;text-decoration-thickness:2px}.sheet-point .note-context{font-size:14px;margin:6px 0}.sheet-overview.is-expanded .sheet-point{padding:10px 0}.sheet-overview.is-expanded .sheet-point .note-english{font-size:19px;line-height:1.4}.sheet-overview.is-expanded .sheet-point h4{font-size:17px}.sheet-overview.is-expanded .sheet-point .note-hand{font-size:15px;line-height:1.5}.sheet-overview.is-expanded .sheet-point .note-meaning{font-size:14px;line-height:1.5}
@media(max-width:760px){.is-playing .question-context{font-size:16px;margin-bottom:10px;padding-bottom:8px}.is-playing .has-context .question-sheet{padding:12px 14px}.sheet-overview.is-expanded .sheet-point{padding:12px 0}.sheet-overview.is-expanded .sheet-point .note-hand{font-size:16px}.reader-card .note-context{font-size:16px}}

/* The same compact example now includes its answer and one-line explanation. */
.word-demo-option{position:relative;text-align:left}.word-demo-option>b{position:relative}.word-demo-option>b .pen-mark{position:absolute;width:44px;height:44px;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none}.has-selection .word-demo-option>b{color:#182d46;background:transparent}.word-demo-option:focus-visible{outline:3px solid #2457b8;outline-offset:4px}.word-demo-option.is-wrong{background:#dce1e7;border-color:#a9b4c2;color:#49586a}.word-demo-status{position:absolute;right:13px;top:7px;font-size:12px;font-weight:700;color:#174c86}.word-demo-option.is-wrong .word-demo-status{color:#7b2531}.word-demo-feedback{min-height:112px;margin-top:15px;padding:10px 14px;border-left:3px solid #6f8caf;background:#f1f5f9;color:#172d40}.word-demo-result{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:3px}.word-demo-result>strong{font-size:14px;color:#174c86}.word-demo-result .text-button{font-size:13px;padding:3px 0;min-height:30px;flex-shrink:0}.word-demo-feedback .key-explanation{font-size:16px;line-height:1.5;margin:0 0 5px;word-break:keep-all}.word-demo-feedback .key-explanation:focus{outline:none}.word-demo-translation{font-size:14px;color:#435563;line-height:1.5;margin:0}.word-demo-feedback.is-waiting{display:flex;flex-direction:column;justify-content:center;background:#f8fafc;border-color:#c8d3df}.word-demo-feedback.is-waiting p{font-size:16px;line-height:1.5;margin:0}.word-demo-feedback.is-waiting .word-demo-tip{font-size:14px;margin-top:5px;color:#52657b}.simple-tutorial .tutorial-start-area{margin-top:18px;padding-top:17px}
@media(max-width:760px){.word-demo-status{top:6px;right:10px}.word-demo-feedback{min-height:128px;margin-top:12px;padding:9px 12px}.word-demo-result>strong{font-size:14px}.word-demo-feedback .key-explanation{font-size:16px}.word-demo-translation{font-size:13px}.simple-tutorial .tutorial-start-area{margin-top:15px;padding-top:14px}}
.has-selection .word-demo-option.option-a>b,.has-selection .word-demo-option.option-b>b{background:transparent;color:#182d46}

/* One-page revision notes use the same real paper texture as their A4 exports. */
.reader-content:not(.is-sheet),.sheet-overview{
 background-color:#fff8e8;
 background-image:linear-gradient(90deg,transparent 29px,#ba8e862e 29px,#ba8e862e 30px,transparent 30px),repeating-linear-gradient(transparent 0,transparent 27px,#8795a022 27px,#8795a022 28px),linear-gradient(#fff8e8eb,#fff8e8eb),url('./assets/worksheet-paper-texture.png');
 background-size:auto,100% 28px,auto,627px;
 background-position:0 0,0 10px,0 0,0 0;
 border:1px solid #c3d0d9;
 box-shadow:0 3px 10px #172d4010;
}
.sheet-overview{padding:20px 26px 14px 48px;border-radius:2px}
.reader-content:not(.is-sheet){padding-left:48px;border-radius:2px}
.sheet-title{padding-bottom:14px;border-bottom:1px solid #9bb2c3}
.sheet-point{border-bottom-color:#b8cbd7}
.reader-card-number,.sheet-title>div>p{color:#315b7a}
@media(max-width:760px){
 .sheet-overview{padding:18px 16px 12px 30px}
 .reader-content:not(.is-sheet){padding-left:30px;padding-right:18px}
 .reader-content:not(.is-sheet),.sheet-overview{background-image:linear-gradient(90deg,transparent 16px,#ba8e862e 16px,#ba8e862e 17px,transparent 17px),repeating-linear-gradient(transparent 0,transparent 27px,#8795a022 27px,#8795a022 28px),linear-gradient(#fff8e8eb,#fff8e8eb),url('./assets/worksheet-paper-texture.png')}
}

/* Share destinations stay visible on phones, tablets and desktop. */
.course-description .course-name{font-size:18px;font-weight:800;color:#174c86;line-height:1.7}.course-description .course-lesson{font-size:20px;font-weight:800;color:#b32330;line-height:1.7}.reader-footer{flex-wrap:wrap}.reader-footer>a,.reader-footer>button{flex:1 1 110px}@media(max-width:760px){.reader-footer>a,.reader-footer>button{flex:1 1 90px}}
.image-note-label{font-size:15px;font-weight:700;color:#294b71;margin:14px 0 8px}.image-share-status{font-size:15px;line-height:1.65;margin:0 0 14px;color:#172d40}.image-share-actions{display:grid;gap:8px}.image-share-actions a{gap:8px}.image-share-preview{display:block;background:#f1f4f6;border:1px solid #bcc9d2;padding:8px}.image-share-preview img{display:block;width:100%;max-height:46vh;object-fit:contain}.image-share-back{display:block;margin-top:16px;min-height:44px;padding:8px 12px;border:1px solid #8198ad;border-radius:5px;background:#fff;color:#173e63;font-size:15px}
.share-browser-help{margin:12px 0 18px;padding:14px;background:#edf4ff;border-left:3px solid #245382;color:#172d40}.share-browser-help>p{font-size:14px;line-height:1.6;margin:0 0 10px}.share-browser-link{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 12px;border:1px solid #8198ad;border-radius:5px;background:#fff;color:#173e63;text-decoration:none;font-size:15px;font-weight:700}.share-browser-help .share-help{margin:10px 0 0}
.share-destinations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 20px}
.share-destination{display:flex;align-items:center;gap:10px;min-height:76px;min-width:0;padding:12px;text-align:left;background:#fff;border:1px solid #bcc9d2;border-radius:7px;color:#172d40;text-decoration:none;font:inherit;cursor:pointer}
.share-destination:hover{background:#f0f5fa;border-color:#547994}
.share-destination:focus-visible,.share-panel button:focus-visible,.share-panel a:focus-visible{outline:3px solid #245fa3;outline-offset:3px}
.share-destination>span:last-child{min-width:0}
.share-destination strong{display:block;font-size:15px;line-height:1.5;word-break:keep-all}
.share-destination small{display:block;color:#526373;font-size:12px;line-height:1.5;margin-top:3px;word-break:keep-all}
.share-service-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border-radius:8px;background:#e7eff8;color:#245382;font-size:21px;font-weight:800}
.service-naver{background:#e3f5e9;color:#136332}.service-band{background:#e8f6e5;color:#356622}.service-instagram{background:#f9eaf1;color:#933360}
.share-url-label{display:block;margin:0 0 8px;color:#435563;font-size:13px;line-height:1.5}
@media(max-width:420px){.share-panel-body{padding:16px}.share-destinations{gap:8px}.share-destination{gap:8px;padding:10px 8px}.share-service-icon{width:28px;height:28px;flex-basis:28px;font-size:18px}.share-destination strong{font-size:14px}.share-destination small{font-size:11px}}

/* Keep every save/share control on one row, including small screens. */
@media(max-width:760px){.reader-footer{grid-template-columns:repeat(4,minmax(0,1fr)) 46px}.reader-footer>a,.reader-footer>button{font-size:12px;white-space:normal}.reader-footer>.reader-options span{font-size:12px}}
.note-download-status{font-size:13px;line-height:1.45;color:#174c86;margin:0 0 6px}.note-download-status:empty{display:none}.note-download-help{font-size:13px;color:#435563;padding-bottom:6px;line-height:1.5}.note-download-help summary{cursor:pointer;min-height:28px}.note-download-help p{margin:4px 0}.note-download-help a{display:inline-block;min-height:38px;padding:8px 10px 8px 0;color:#174c86;text-underline-offset:3px}

/* Keep the teacher name readable beside sharing and music on phones. */
.brand-name{font-family:NotePen,'Noto Sans KR',sans-serif;font-size:2rem;font-weight:400;color:#174c86;letter-spacing:0;line-height:1.1}.teacher-name{white-space:nowrap;color:#287a70}
@media(max-width:760px){.brand-name{display:flex;flex-direction:column;align-items:flex-start;font-size:1.625rem;line-height:.95}.teacher-name{font-size:1.375rem;letter-spacing:0}.header-actions{flex-shrink:0}}
.tutorial-start-area .start{position:relative;justify-content:center;text-align:center;padding-inline:42px}
.tutorial-start-area .start>span[aria-hidden=true]{position:absolute;right:16px;top:50%;transform:translateY(-50%)}

/* A notebook page starts exactly at the existing header rule. Decorations
   stay at the edges, behind content, and never receive pointer events. */
.shell > .study-page {
  --binding-height: 24px;
  --binding-width: 480px;
  --page-margin: 10px;
  position: relative;
  isolation: isolate;
  padding: 44px 24px 28px;
}
.study-page::before,
.study-page::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.study-page::before {
  inset: 0;
  border: 1px solid #d2d9de;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  background-image: linear-gradient(to right,
    transparent var(--page-margin),
    #b3233026 var(--page-margin),
    #b3233026 calc(var(--page-margin) + 1px),
    transparent calc(var(--page-margin) + 1px));
  box-shadow: inset 0 -3px 0 #eff1ed;
}
.study-page::after {
  top: 0;
  left: 1px;
  right: 1px;
  height: var(--binding-height);
  border-bottom: 1px dashed #cbd3d8;
  background: #fffdf7 url('./assets/notebook-binding.png') center center / var(--binding-width) auto repeat-x;
}
.is-playing .shell > .study-page { padding: 32px 18px 8px; }
@media (max-width: 760px) {
  .shell > .study-page {
    --binding-height: 18px;
    --binding-width: 360px;
    --page-margin: 3px;
    padding: 32px 12px 24px;
  }
  .is-playing .shell > .study-page { padding: 24px 8px 6px; }
}
@media (min-width: 600px) and (max-height: 600px) {
  .is-playing .shell > .study-page {
    --binding-height: 16px;
    --binding-width: 320px;
    --page-margin: 3px;
    padding: 22px 10px 4px;
  }
}
