:root{--ink:#182c32;--muted:#687b76;--line:#dce5e5;--green:#21654a;--blue:#375bd2;--mint:#edf6f0;--ice:#eef3fc;--accent:var(--green);--soft:var(--mint);--bg:#fff;--text:var(--ink);--panel:#fff;--chip:#f3f6f5}
*{box-sizing:border-box}html{background:#fff}body.learning-page{margin:0;padding:0;background:#fff;color:var(--ink);font-family:'Noto Sans KR',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.65;text-align:left}.area-words{--accent:var(--blue);--soft:var(--ice)}
a{color:inherit}.learning-page button,.learning-page input,.learning-page select{font:inherit}.learning-page button{cursor:pointer}.learning-page a{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:#fff;padding:12px}.skip-link:focus{top:8px}
.site-header{border-bottom:1px solid var(--line);background:#fff;position:relative;z-index:10}.site-header-inner{max-width:1440px;margin:auto;padding:0 48px;min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}.site-header a{text-decoration:none}.site-brand{font-size:27px;font-weight:800;letter-spacing:-1.2px;white-space:nowrap}.site-nav{display:flex;align-self:stretch;align-items:stretch;gap:42px}.site-nav a{font-size:16px;font-weight:650;display:flex;align-items:center;border-bottom:3px solid transparent;padding-top:3px;white-space:nowrap;color:#52646b}.site-nav .nav-bible[aria-current]{color:var(--green);border-color:var(--green)}.site-nav .nav-words[aria-current]{color:var(--blue);border-color:var(--blue)}.code-link{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:650;white-space:nowrap}.code-link svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}
.learning-shell{width:min(1280px,calc(100% - 112px));margin:0 auto;min-height:calc(100vh - 180px);padding:54px 0 20px}.landing-intro{margin:8px 0 38px}.landing-intro h1{font-size:clamp(40px,4.6vw,66px);line-height:1.28;letter-spacing:-3px;margin:0 0 16px;font-weight:800}.landing-intro p{font-size:24px;color:#5c6b76;margin:0}.learning-choices{display:grid;grid-template-columns:1fr 1fr;gap:24px}.learning-choice{border-radius:24px;padding:40px 42px;display:flex;align-items:flex-start;flex-direction:column;min-height:350px}.bible-choice{background:var(--mint);--accent:var(--green)}.words-choice{background:var(--ice);--accent:var(--blue)}.book-icon{width:64px;height:54px;color:var(--accent);flex:none}.learning-choice h2{font-size:clamp(24px,2.7vw,36px);font-weight:800;letter-spacing:-1.6px;line-height:1.35;margin:28px 0 10px}.learning-choice p{font-size:21px;color:#5c6b76;margin:0 0 32px}.learning-choice .action{margin-top:auto}.action{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:52px;padding:12px 24px;border:1px solid var(--line);border-radius:10px;font-size:17px;font-weight:700;line-height:1.4;text-decoration:none;transition:background .15s,transform .15s}.action.primary{background:var(--accent);border-color:var(--accent);color:#fff}.action.secondary{background:white;color:var(--accent);border-color:var(--accent)}.action:hover{transform:translateY(-2px)}.action.primary:hover{filter:brightness(.94)}.arrow-icon{width:23px;height:23px;flex:none}.more-practice{display:flex;align-items:center;gap:32px;flex-wrap:wrap;border-top:1px solid var(--line);padding:24px 0;margin-top:32px}.more-practice strong{font-size:16px}.more-practice a{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:650;color:var(--accent)}.more-practice.centered{justify-content:center}.site-footer{text-align:center;font-size:13px;color:var(--muted);padding:22px 16px;background:#fff}.page-intro{text-align:center;margin:10px 0 42px}.page-intro h1{font-size:clamp(30px,4vw,48px);letter-spacing:-2px;line-height:1.3;margin:0 0 12px;font-weight:800}.page-intro p{font-size:22px;color:var(--muted);margin:0}
.bible-workspace{display:grid;grid-template-columns: .85fr 1.15fr;gap:24px}.verse-preview{border-radius:20px;background:var(--mint);padding:42px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:430px}.verse-preview h2{font-size:20px;font-weight:650;margin:20px 0 12px}.verse-preview blockquote{font-size:clamp(20px,2.1vw,28px);line-height:1.65;letter-spacing:-.7px;word-break:keep-all;margin:12px 0 20px}.verse-preview>p{margin:0;color:var(--muted);font-size:16px}.setup-panel{padding:32px;border:1px solid var(--line);border-radius:20px}.setup-panel h2{font-size:28px;margin:0 0 26px;letter-spacing:-1px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.form-grid label,.field-label{display:block;font-size:15px;font-weight:600;color:#52646b}.learning-page input:not([type=radio]),.learning-page select{display:block;min-width:0;width:100%;padding:13px 14px;border:1px solid #ccd8da;background:#fff;border-radius:9px;color:var(--ink);font-size:17px;min-height:52px;margin:7px 0 0;box-sizing:border-box}.learning-page input:disabled,.learning-page select:disabled{background:#f3f6f5;color:#87948e}.learning-page input::placeholder{color:#8b989f}.learning-page .wide{width:100%;margin-top:28px}.form-note{font-size:14px;color:var(--muted);margin:18px 0 0;text-align:center}.word-courses{border:1px solid var(--line);border-radius:8px;overflow:hidden}.word-course{padding:28px 32px;display:flex;gap:30px;align-items:center;border-bottom:1px solid var(--line);min-height:148px}.word-course:last-child{border-bottom:none}.alphabet-mark{width:88px;height:88px;border-radius:18px;background:var(--ice);color:var(--blue);display:grid;place-items:center;font-size:42px;font-weight:700;letter-spacing:-3px;flex:none}.course-description{flex:1}.course-description h2{font-size:28px;letter-spacing:-1px;margin:0 0 4px}.course-description p{font-size:17px;color:var(--muted);margin:0}.course-actions{display:flex;gap:16px}.course-actions .action{min-width:150px}.learning-note{padding:20px;background:var(--ice);border-radius:8px;text-align:center;font-size:16px;margin:28px 0 0;color:#52646b}.breadcrumb{display:inline-flex;color:var(--muted);font-size:14px;text-decoration:none;margin-bottom:24px}.setup-shell{max-width:760px;margin:0 auto}.setup-shell .page-intro{margin-bottom:28px}.setup-section{margin-bottom:28px}.setup-section h2{font-size:18px;margin:0 0 14px}.choice-group{display:flex;gap:12px;flex-wrap:wrap}.radio-choice{display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:12px 16px;border-radius:10px;font-size:15px;flex:1;white-space:nowrap;cursor:pointer}.radio-choice:has(input:checked){background:var(--soft);border-color:var(--accent);color:var(--accent)}.radio-choice input{accent-color:var(--accent);width:16px;height:16px;margin:0}.field-help{font-size:14px;color:var(--muted);margin:10px 0}.error-message{color:#a33c32;font-size:15px}.play-shell{max-width:960px}.practice-panel{padding:32px;border:1px solid var(--line);border-radius:20px}.play-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.play-heading h1{font-size:28px;letter-spacing:-1px;margin:0}.play-heading .action{font-size:14px;min-height:40px;padding:8px 14px}.practice-meta{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:14px;margin:22px 0}.practice-meta p{margin:0}.practice-panel #word,.practice-panel #question{background:var(--soft);border-radius:14px;padding:36px 24px;min-height:130px;font-size:26px;line-height:1.65;text-align:center;word-break:keep-all;display:grid;place-items:center;margin:24px 0;color:var(--ink);font-weight:650}.practice-panel #user_input,.practice-panel #answer{min-height:64px;font-size:21px}.practice-panel #result,.practice-panel #feedback{font-size:16px;margin:18px 0;min-height:26px}.practice-panel #feedback{color:#a33c32}.practice-panel #timer{text-align:center;color:var(--blue);font-weight:650;margin:12px 0;min-height:26px}.practice-panel #options{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin:24px 0}.practice-panel .option{border:1px solid #bdcbed;border-radius:12px;background:var(--ice);color:var(--blue);padding:18px 24px;font-size:20px;min-width:150px;max-width:100%;white-space:normal}.practice-panel .option:hover{background:#dfe8fb}.practice-panel .option:disabled{opacity:.6;cursor:default}.play-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:24px}.play-actions button{border:1px solid var(--line);background:white;padding:12px 20px;border-radius:10px;color:var(--ink);font-size:15px}.play-actions #retry-btn{display:none}.history-wrap{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:28px}.history-card{border-top:1px solid var(--line);padding:20px 0}.history-card h3{font-size:17px;margin:0 0 12px}.history-card ul{padding-left:20px;color:var(--muted);font-size:15px}.history-card li{margin:8px 0}.ranking-summary{margin:28px 0;padding:24px;background:#f5f8f6;border-radius:14px}.ranking-summary h3{font-size:18px;margin:0 0 16px}.ranking-summary p{margin:8px 0;font-size:15px;color:var(--muted)}
/* Keep game mechanics while matching the shared learning shell. */
.game-page .screen{padding:40px 24px;max-width:1060px}.game-page .panel{box-shadow:none;border-radius:20px;padding:32px}.game-page .btn-primary{background:var(--green);border-color:var(--green);color:#fff}.game-page #game-area{background:var(--mint);border-color:var(--line)}.game-page .chip{background:var(--mint)}.game-page .site-header{text-align:left}.game-page .title{font-size:30px}.game-page .setup-grid{gap:12px;max-width:500px}.game-page .btn-row{margin-top:24px}.game-page .subtitle{font-size:16px}.game-page button{padding:12px 20px}.game-page #user-input{margin:0 auto}.rankings-page>header{position:static;backdrop-filter:none;background:#fff;max-width:1280px;margin:32px auto 0;padding:20px 24px;border:1px solid var(--line);border-radius:12px}.rankings-page>main{max-width:1280px;margin:0 auto}.rankings-page .rank-card,.rankings-page .row,.rankings-page .rank,.rankings-page .tabs,.rankings-page .pill,.rankings-page .btn{background:#fff;color:var(--ink);border-color:var(--line)}.rankings-page .tab.active{background:var(--mint);border-color:var(--line);color:var(--green)}.rankings-page .btn.primary{background:var(--green);color:white}.rankings-page select{display:inline-block;width:auto;min-height:42px;font-size:14px;padding:8px;margin:0}.rankings-page .site-nav a{font-size:16px}
@media(min-width:1600px){.learning-shell{padding-top:70px}.learning-choice{min-height:390px}}
@media(max-width:1050px){.site-header-inner{padding:0 28px}.site-brand{font-size:23px}.site-nav{gap:24px}.site-nav a{font-size:14px}.learning-shell{width:calc(100% - 64px)}.learning-choice{padding:30px}.learning-choice p{font-size:18px}.word-course{gap:20px;padding:24px}.course-actions{gap:10px}.course-actions .action{min-width:120px;padding:12px 16px;font-size:15px}.alphabet-mark{width:70px;height:70px;font-size:36px}.course-description h2{font-size:24px}.course-description p{font-size:15px}.bible-workspace{grid-template-columns:.9fr 1.1fr}.verse-preview{padding:28px}.setup-panel{padding:26px}.form-grid{gap:18px}}
@media(max-width:760px){.site-header-inner{display:grid;grid-template-columns:1fr auto;padding:18px 22px 0;gap:14px}.site-brand{font-size:23px}.site-nav{grid-column:1/-1;grid-row:2;justify-content:center;gap:28px;min-height:46px}.site-nav a{font-size:14px}.code-link{grid-column:2;grid-row:1;font-size:13px}.learning-shell{width:calc(100% - 40px);padding:34px 0 10px}.landing-intro{margin:0 0 28px}.landing-intro h1{font-size:40px;letter-spacing:-2px}.landing-intro p{font-size:19px}.learning-choices{grid-template-columns:1fr;gap:18px}.learning-choice{padding:28px;min-height:280px}.learning-choice h2{font-size:29px;margin-top:20px}.learning-choice p{font-size:17px;margin-bottom:26px}.book-icon{width:52px;height:44px}.action{font-size:16px;min-height:48px;padding:12px 20px}.more-practice{gap:18px;font-size:14px;margin-top:26px}.more-practice strong{width:100%;font-size:15px}.page-intro{margin:0 0 28px}.page-intro h1{font-size:33px;letter-spacing:-1.5px}.page-intro p{font-size:18px}.bible-workspace{grid-template-columns:1fr}.verse-preview{min-height:260px;padding:26px}.verse-preview blockquote{font-size:22px;margin:8px 0 16px}.verse-preview h2{margin:14px 0 6px;font-size:18px}.verse-preview .book-icon{width:42px;height:36px}.setup-panel{padding:24px}.setup-panel h2{font-size:25px;margin-bottom:20px}.form-grid{gap:18px}.learning-page input:not([type=radio]),.learning-page select{font-size:16px;padding:12px 10px}.word-course{flex-wrap:wrap;gap:18px;padding:24px}.course-description{flex-basis:calc(100% - 90px)}.course-description p{font-size:14px}.course-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.course-actions .action{min-width:0;font-size:15px}.learning-note{font-size:14px;padding:18px;word-break:keep-all}.radio-choice{font-size:14px;padding:12px;flex-basis:100%}.practice-panel{padding:22px}.play-heading{align-items:flex-start}.play-heading h1{font-size:23px}.play-heading .action{font-size:12px}.practice-panel #word,.practice-panel #question{padding:24px 18px;font-size:23px}.practice-meta{gap:8px}.practice-panel #user_input,.practice-panel #answer{font-size:18px}.history-wrap{grid-template-columns:1fr;gap:0}.practice-panel .option{font-size:18px;width:100%;padding:15px}.play-actions button{font-size:14px;padding:10px 14px}.game-page .screen{padding:28px 18px}.game-page .panel{padding:24px}.game-page .title{font-size:25px}.game-page .subtitle{font-size:14px}.rankings-page>header{margin:24px 16px 0}.site-footer{padding:22px 12px;font-size:12px}}
@media(max-width:370px){.site-header-inner{padding:14px 16px 0}.site-nav{gap:18px}.site-nav a{font-size:12px}.site-brand{font-size:21px}.landing-intro h1{font-size:35px}.learning-choice{padding:24px}.learning-choice h2{font-size:25px}.learning-choice p{font-size:15px}.form-grid{grid-template-columns:1fr}.course-description h2{font-size:22px}.play-heading{flex-wrap:wrap}.learning-shell{width:calc(100% - 32px)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.action{transition:none}.action:hover{transform:none}}

/* Compact learning interface: direct labels, restrained surfaces. */
.learning-shell{max-width:1100px;padding-top:40px}.site-brand{font-size:23px}.site-header-inner{min-height:72px}.landing-intro{margin:0 0 28px}.landing-intro h1{font-size:32px;letter-spacing:-1px}.learning-choice{min-height:230px;padding:28px;border:1px solid var(--line);border-radius:8px;background:#fff;border-top:3px solid var(--accent)}.learning-choice h2{font-size:27px;margin:0 0 8px;letter-spacing:-1px}.learning-choice p{font-size:16px;margin:0 0 28px}.action{border-radius:5px;font-size:16px;min-height:46px}.action:hover{transform:none}.page-intro{text-align:left;margin:0 0 28px}.page-intro h1{font-size:30px;letter-spacing:-1px}.setup-panel,.practice-panel{border-radius:8px}.verse-preview{border-radius:8px;min-height:340px;padding:28px}.verse-preview h2{margin-top:0}.setup-panel h2{font-size:21px}.word-course{min-height:115px;padding:24px}.alphabet-mark{width:52px;height:52px;font-size:26px;border-radius:5px}.course-description h2{font-size:23px}.course-description p{font-size:15px}.setup-section h2{font-size:17px}.radio-choice{border-radius:5px}.learning-page input:not([type=radio]),.learning-page select{border-radius:5px}.practice-panel #word,.practice-panel #question{border-radius:5px}.site-footer{color:#87918d}.more-practice.centered{justify-content:flex-start}.setup-shell .page-intro h1 br{display:none}.setup-shell .page-intro h1 br:after{content:' '}
@media(max-width:760px){.learning-shell{padding-top:28px}.landing-intro h1{font-size:27px}.learning-choice{min-height:205px;padding:24px}.learning-choice h2{font-size:25px}.page-intro h1{font-size:27px}.verse-preview{min-height:210px}.word-course{padding:20px}.course-description{flex-basis:calc(100% - 75px)}.course-description h2{font-size:22px}.site-brand{font-size:22px}}

.book-cover{width:96px;height:142px;object-fit:contain;flex:none;display:block;background:#fff}.word-course .course-description{min-width:0}.word-course .course-description h2{overflow-wrap:anywhere}
@media(max-width:760px){.book-cover{width:72px;height:108px}.word-course .course-description{flex-basis:calc(100% - 92px)}.word-course .course-description h2{font-size:21px}.word-course .course-description p{font-size:14px}}

