:root{
  --accent:#e65342;
  --ink:#252925;
  --muted:#70756f;
  --line:#e4dfd7;
  --story-paper:#fffdf8;
  --story-forest:#244238;
  --story-cream:#fff8ec;
}

html{scrollbar-width:none}
html::-webkit-scrollbar,body::-webkit-scrollbar,dialog::-webkit-scrollbar{display:none}
body{background:radial-gradient(circle at 12% 6%,#fff8e9 0,transparent 25%),radial-gradient(circle at 88% 20%,#edf6ed 0,transparent 24%),#f5f2eb}
.course-app{box-shadow:0 24px 80px rgba(44,48,42,.08)}
.app-header{background:rgba(255,252,246,.94)}
.app-header h1{letter-spacing:-.035em}
.chapter-info small.chapter-name{font-size:13px;line-height:1.35}
.chapter-info small{font-size:14px}
.menu-main{gap:15px;width:70%}
.menu-main button{font-size:27px}
.menu-main .menu-new{display:inline-flex;margin-left:9px;padding:4px 8px 3px;border:1px solid rgba(255,255,255,.7);border-radius:999px;font-size:10px;font-weight:750;letter-spacing:.14em;vertical-align:middle;transform:translateY(-2px)}
dialog[max-height]{scrollbar-width:none}
.saved-reading-words{margin-top:24px;padding-top:20px;border-top:1px solid #eee}
.saved-reading-words h3{font-size:17px;margin-bottom:5px}
.saved-reading-words>p{font-size:13px;color:#777;margin-bottom:14px}
.saved-reading-list{display:grid;gap:8px}
.saved-reading-item{border:1px solid #e9e2d7;border-radius:13px;background:#fffdf8;overflow:hidden}
.saved-reading-item[open]{border-color:#d7dfd0;background:#fffefa;box-shadow:0 5px 18px rgba(54,72,52,.06)}
.saved-reading-item summary{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:13px 14px;cursor:pointer;list-style:none}
.saved-reading-item summary::-webkit-details-marker{display:none}
.saved-reading-item summary:after{content:'+';display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#f0ede5;color:#7c766c;font-size:15px;font-weight:600}
.saved-reading-item[open] summary:after{content:'−';background:#e8f1e3;color:#4d7552}
.saved-reading-word{display:grid;gap:2px;min-width:0}
.saved-reading-word strong{font-family:Georgia,'Times New Roman',serif;font-size:18px;line-height:1.1}
.saved-reading-word span{color:#665f58;font-size:13px}
.saved-reading-item small{color:#a39b92;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.saved-reading-detail{padding:0 14px 14px;border-top:1px solid #f0ebe2}
.saved-reading-detail p{margin:11px 0 0;color:#5e625b;font-size:14px;line-height:1.5}
.saved-reading-detail blockquote{margin:9px 0 0;padding:10px 11px;border:0;border-radius:9px;background:#f6f2e9;color:#77736a;font-family:Georgia,'Times New Roman',serif;font-size:13px;font-style:italic;line-height:1.5}

.home-story-spotlight{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 185px;
  align-items:center;
  margin:18px 20px 6px;
  overflow:hidden;
  border:1px solid #edd4b7;
  border-radius:24px;
  background:linear-gradient(125deg,#fff2d6 0%,#f9dfca 52%,#dcebdc 100%);
  min-height:178px;
  isolation:isolate;
}
.home-story-spotlight:before{content:'';position:absolute;width:170px;height:170px;right:-22px;top:-70px;border:28px solid rgba(255,255,255,.32);border-radius:50%;z-index:-1}
.home-story-copy{padding:24px 8px 24px 25px;position:relative;z-index:1}
.story-eyebrow{display:block;color:#8a5b3f;font-size:11px;font-weight:750;letter-spacing:.13em}
.home-story-copy h2{margin:8px 0 5px;font-size:27px;line-height:1.16;letter-spacing:-.04em;color:#302721}
.home-story-copy p{margin:0 0 16px;color:#705f53;font-size:13px;line-height:1.5}
.home-story-copy>button,.story-done-strip>button,.reading-result-actions>button:first-child{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:0 17px;border-radius:999px;background:#283f35;color:#fff;font-size:14px;font-weight:700;box-shadow:0 7px 18px rgba(40,63,53,.16)
}
.home-story-copy>button:hover,.story-done-strip>button:hover,.reading-result-actions>button:first-child:hover{color:#fff;background:#1d332a;transform:translateY(-1px)}
.home-story-art{display:grid;place-items:center;align-self:stretch;padding:8px 4px 0 0;min-width:0}
.reading-art{display:block;width:100%;height:auto;overflow:visible}
.reading-art-home{max-height:170px;object-fit:contain}

.reading-library-hero{
  margin:20px 20px 14px;padding:22px 22px 19px;border-radius:25px;color:#fff5e8;
  background:radial-gradient(circle at 92% 8%,rgba(248,205,103,.23),transparent 27%),linear-gradient(135deg,#1e3e34,#2f5947);
  box-shadow:0 18px 40px rgba(31,62,50,.18);
}
.reading-hero-topline{display:flex;justify-content:space-between;gap:16px;color:#d7e7d6;font-size:11px;font-weight:750;letter-spacing:.14em}
.reading-library-hero h2{margin:13px 0 7px;max-width:440px;font-size:32px;line-height:1.15;letter-spacing:-.045em;color:#fffaf1;font-weight:700}
.reading-library-hero>p{max-width:540px;margin:0;color:#d9e6da;font-size:14px;line-height:1.65}
.reading-trail{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;margin-top:22px;padding-top:16px;border-top:1px solid rgba(255,255,255,.18)}
.reading-streak{display:flex;align-items:baseline;gap:4px;font-size:11px;color:#e3eddf;white-space:nowrap}
.reading-streak strong{font-size:22px;color:#f6cb68;line-height:1}
.trail-line{height:5px;border-radius:999px;background:rgba(255,255,255,.16);overflow:hidden}
.trail-line i{display:block;width:var(--trail);height:100%;border-radius:inherit;background:linear-gradient(90deg,#f2ba57,#f8db8c);transition:width .4s ease}
.reading-next{font-size:11px;color:#d7e7d6;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.story-shelf{padding:0 20px}
.story-shelf-heading{display:flex;justify-content:space-between;padding:8px 3px 10px;color:#7d8079;font-size:12px;font-weight:650}
.story-shelf-heading span:last-child{color:#a39f97;font-weight:500}
.story-shelf-card{
  width:100%;display:grid;grid-template-columns:128px minmax(0,1fr);gap:16px;align-items:center;
  margin-bottom:10px;padding:9px;border:1px solid var(--story-line);border-radius:19px;
  background:linear-gradient(135deg,var(--story-soft),#fffdfa 75%);color:var(--story-deep);text-align:left;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.story-shelf-card:hover{color:var(--story-deep);transform:translateY(-2px);box-shadow:0 12px 28px rgba(57,52,43,.09);border-color:var(--story-accent)}
.story-shelf-card.is-complete{border-color:#bed7be}
.story-card-art{position:relative;display:grid;place-items:center;align-self:stretch;min-height:102px;border-radius:13px;overflow:hidden;background:rgba(255,255,255,.36)}
.reading-art-card{max-height:100px}
.story-card-number{position:absolute;left:7px;top:5px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--story-accent);color:#fff;font-size:11px;font-weight:800;letter-spacing:.02em}
.story-card-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:4px 7px 4px 0}
.story-card-meta{color:var(--story-accent);font-size:10px;font-weight:800;letter-spacing:.1em;line-height:1.3}
.story-card-copy>strong{margin-top:4px;font-family:Georgia,'Times New Roman',serif;font-size:20px;line-height:1.15;letter-spacing:-.02em}
.story-card-korean{margin-top:3px;color:var(--story-deep);opacity:.74;font-size:13px;font-weight:650}
.story-card-blurb{margin-top:5px;color:#716b62;font-size:12px;line-height:1.45}
.story-card-status{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:5px 9px 5px 6px;border-radius:999px;background:rgba(255,255,255,.72);color:var(--story-accent);font-size:11px;font-weight:750}
.story-card-status i{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--story-accent);color:white;font-style:normal;font-size:11px}
.story-card-status.is-complete{color:#47774e;background:#edf7ea}
.story-card-status.is-complete i{background:#5a9561}
.reading-library-note{padding:11px 24px 34px;color:#9b978f;font-size:11px;line-height:1.65;text-align:center}

.tone-honey{--story-soft:#fff3d9;--story-accent:#b76b29;--story-deep:#472e20;--story-line:#efd5ae}
.tone-rain{--story-soft:#eaf4fc;--story-accent:#397fae;--story-deep:#263c4c;--story-line:#c8dfed}
.tone-tomato{--story-soft:#fff0e9;--story-accent:#cc5949;--story-deep:#482925;--story-line:#f0cbc2}
.tone-mint{--story-soft:#edf8f3;--story-accent:#3f806f;--story-deep:#24443c;--story-line:#cfe5dc}
.tone-peach{--story-soft:#fff1e7;--story-accent:#b86446;--story-deep:#4a2d25;--story-line:#f0d2c1}
.tone-frost{--story-soft:#eef7fb;--story-accent:#447f9e;--story-deep:#233f4d;--story-line:#cde2ec}

.reading-story{background:var(--story-paper)}
.story-cover{
  position:relative;display:grid;grid-template-columns:minmax(0,1fr) 235px;align-items:center;gap:14px;
  padding:30px 25px 25px;overflow:hidden;border-bottom:1px solid var(--story-line);
  background:radial-gradient(circle at 87% 28%,rgba(255,255,255,.68),transparent 30%),linear-gradient(135deg,var(--story-soft),#fffaf4 78%);
  color:var(--story-deep);
}
.story-cover:after{content:'';position:absolute;right:-55px;bottom:-112px;width:240px;height:240px;border:34px solid rgba(255,255,255,.36);border-radius:50%;pointer-events:none}
.story-cover-copy{position:relative;z-index:1;min-width:0}
.story-cover .story-eyebrow{color:var(--story-accent)}
.story-cover h1{max-width:470px;margin:9px 0 2px;font-family:Georgia,'Times New Roman',serif;font-size:40px;font-weight:700;line-height:1.03;letter-spacing:-.045em}
.story-cover-korean{margin:0;color:var(--story-accent);font-size:17px;font-weight:750;letter-spacing:-.015em}
.story-cover-kicker{margin-top:13px;max-width:410px;color:#655e55;font-size:14px;line-height:1.55}
.story-cover-cast{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:18px;color:#77726a;font-size:11px;font-weight:650;letter-spacing:.02em}
.story-complete-pill{padding:4px 8px;border-radius:999px;background:#e4f2df;color:#407649;font-weight:750}
.story-cover-art{position:relative;z-index:1;display:grid;place-items:center}
.reading-art-cover{max-height:180px}
.reading-toolbar{
  position:sticky;top:62px;z-index:4;display:flex;align-items:center;gap:7px;
  min-height:53px;padding:8px 20px;border-bottom:1px solid #ebe4da;
  background:rgba(255,252,246,.94);backdrop-filter:blur(14px)
}
.reading-toolbar button{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border:1px solid #e4ddd2;border-radius:999px;background:#fff;color:#5e5d56;font-size:12px;font-weight:650;white-space:nowrap}
.reading-toolbar button:hover{color:#b54739;border-color:#e1bcb3;background:#fff9f5}
.reading-toolbar button[aria-pressed="true"]{border-color:#b8d1b8;background:#edf7e9;color:#3e7045}
.reading-help-label{margin-left:auto;color:#a49e94;font-size:11px;white-space:nowrap}
.story-paper{padding:32px 28px 14px;background:var(--story-paper)}
.story-paragraph{position:relative;margin:0 0 29px;max-width:650px}
.story-first-label{display:block;margin-top:12px;color:var(--story-accent);font-size:9px;font-weight:800;letter-spacing:.14em;opacity:.7}
.story-text{margin:0;font-family:Georgia,'Times New Roman',serif;font-size:21px;line-height:1.78;letter-spacing:-.009em;color:#2c2c28}
.story-text::first-letter{font-size:1.16em}
.story-sentence{border-radius:3px;transition:background-color .18s ease,box-shadow .18s ease;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.story-sentence.is-speaking{background:#ffecad;box-shadow:0 1px 0 #e9be55}
.reading-word{display:inline;margin:0;padding:0 1px 1px;border:0;border-bottom:1.5px dotted var(--story-accent);border-radius:2px;background:linear-gradient(transparent 62%,rgba(239,197,108,.18) 62%);color:inherit;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;cursor:pointer}
.reading-word:hover,.reading-word:focus-visible{color:#8f382f;background:#fff0d3;border-bottom-style:solid;outline:none}
.reading-word.is-saved{color:#3d7349;border-bottom-color:#75a77a;background:linear-gradient(transparent 72%,rgba(121,170,127,.18) 72%)}
.story-translation{margin-top:11px;padding:10px 13px;border-left:3px solid var(--story-line);border-radius:0 9px 9px 0;background:rgba(255,255,255,.66);color:#77726c;font-size:13px;line-height:1.7}
.story-translation[hidden]{display:none}

.story-expression-box{margin:10px 20px 22px;padding:20px;border:1px solid var(--story-line);border-radius:20px;background:linear-gradient(145deg,#fffaf2,#fff)}
.story-section-heading>span{display:block;color:var(--story-accent,#b76b29);font-size:10px;font-weight:800;letter-spacing:.13em}
.story-section-heading h2{margin:5px 0 0;font-size:21px;line-height:1.25;letter-spacing:-.035em;color:#302f2a}
.story-expression-list{display:grid;gap:8px;margin-top:15px}
.story-expression-list>div{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:14px;align-items:center;padding:11px 13px;border-radius:12px;background:rgba(255,255,255,.72);border:1px solid rgba(229,219,205,.8)}
.story-expression-list strong{font-family:Georgia,'Times New Roman',serif;color:#36342f;font-size:15px;line-height:1.45}
.story-expression-list span{color:#807970;font-size:12px;line-height:1.5}

.reading-check{margin:10px 20px 22px;padding:22px 20px;border-radius:22px;background:#f3f6ef;border:1px solid #dbe5d5;scroll-margin-top:124px}
.reading-check-progress{display:flex;justify-content:space-between;gap:12px;margin:13px 0 4px;padding:8px 10px;border-radius:9px;background:rgba(255,255,255,.56);color:#778173;font-size:11px;font-weight:650}
.reading-question{margin:15px 0 0;padding:17px 0 0;border:0;border-top:1px solid #dce4d7}
.reading-question legend{display:flex;align-items:flex-start;gap:10px;padding:0;color:#2f352e;font-size:16px;font-weight:700;line-height:1.42}
.reading-question legend>span{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;margin-top:-2px;border-radius:50%;background:#d7e6d0;color:#41644a;font-size:11px}
.reading-answer-list{display:grid;gap:7px;margin-top:12px}
.reading-answer{display:flex;align-items:flex-start;gap:10px;padding:11px 13px;border:1px solid #dde3da;border-radius:11px;background:#fff;color:#51564f;font-size:13px;line-height:1.45;cursor:pointer;transition:border-color .16s,background .16s}
.reading-answer:hover{border-color:#aac4a5;background:#fbfdf9}
.reading-answer input{width:16px;height:16px;margin:1px 0 0;accent-color:#4d8056;flex-shrink:0}
.reading-answer.is-correct{border-color:#83b38a;background:#eef8ea;color:#336a3c}
.reading-answer.is-wrong{border-color:#e1aa9f;background:#fff3ef;color:#973d31}
.reading-answer-note{margin-top:9px;padding-left:2px;font-size:12px;line-height:1.55}
.reading-answer-note.good{color:#43734b}
.reading-answer-note.try-again{color:#9b483b}
.reading-primary-action,.reading-result-actions>button,.reading-check-hint{width:100%}
.reading-primary-action{min-height:46px;margin-top:18px;border-radius:12px;background:#2f4e3d;color:#fff;font-size:14px;font-weight:750}
.reading-primary-action:hover{color:#fff;background:#223d2f}
.reading-check-hint{margin-top:8px;color:#8a9187;font-size:11px;text-align:center}
.reading-result{display:flex;align-items:flex-start;gap:13px;margin-top:18px;padding:17px;border-radius:15px;background:#fff;border:1px solid #d8e4d2}
.reading-result-mark{display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;border-radius:50%;background:#e4f0dd;color:#4b834f;font-size:22px}
.reading-result.retry .reading-result-mark{background:#fff0df;color:#b56b2a}
.reading-result h3{font-size:17px;line-height:1.35;letter-spacing:-.02em}
.reading-result p{margin-top:3px;color:#777b73;font-size:12px;line-height:1.55}
.reading-result.just-completed{animation:result-arrive .48s cubic-bezier(.2,.75,.25,1.15)}
.reading-result.just-completed .reading-result-mark{animation:star-arrive .65s .08s cubic-bezier(.2,.75,.25,1.3) both}
.reading-result-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.reading-result-stats span{padding:6px 9px;border-radius:8px;background:#f1f6ed;color:#71806d;font-size:10px;font-weight:650}
.reading-result-stats strong{color:#486b4c;font-size:13px}
.reading-result-actions{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}
.reading-result-actions>button{min-height:44px;padding:0 15px;border:1px solid #dce3d7;border-radius:11px;background:#fff;color:#5c655a;font-size:13px;font-weight:700}
.reading-result-actions>button:first-child{border-color:#2f4e3d;background:#2f4e3d;color:#fff}
.reading-result-actions>button:hover{color:#3f6e46;border-color:#aac4a5}
.reading-result-actions>button:first-child:hover{color:#fff;background:#223d2f}
.story-done-strip{display:flex;align-items:center;gap:12px;margin:10px 20px 34px;padding:15px 16px;border-radius:16px;border:1px solid #d7e5d1;background:#f5faf2}
.story-done-strip>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#dcefd7;color:#47784e;font-weight:800}
.story-done-strip>div{flex:1;min-width:0}
.story-done-strip strong{display:block;font-size:13px}
.story-done-strip p{margin-top:2px;color:#7f887b;font-size:11px;line-height:1.4}
.story-done-strip>button{flex:0 0 auto;min-height:35px;padding:0 12px;font-size:11px;background:#fff;color:#3c7048;border:1px solid #bcd4b8;box-shadow:none}
.story-done-strip>button:hover{background:#ecf6e8;color:#3c7048}

.reading-word-pop{
  position:fixed;z-index:34;padding:14px 15px 13px;border:1px solid #ded6c7;border-radius:16px;
  background:rgba(255,253,247,.98);box-shadow:0 18px 46px rgba(43,38,31,.2);color:#2e312c;
  backdrop-filter:blur(16px);
}
.reading-word-pop[hidden]{display:none}
.word-pop-kicker{display:block;color:#ad8870;font-size:9px;font-weight:800;letter-spacing:.13em}
.reading-word-pop>strong{display:block;margin-top:2px;font-family:Georgia,'Times New Roman',serif;font-size:22px;line-height:1.15;letter-spacing:-.02em}
.reading-word-pop>p{margin-top:2px;color:#777168;font-size:12px;line-height:1.45}
.word-pop-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:11px}
.word-pop-actions button{min-height:34px;border:1px solid #ded8cd;border-radius:9px;background:#fff;color:#5f5a52;font-size:11px;font-weight:700}
.word-pop-actions button:last-child{border-color:#2e4d3c;background:#2e4d3c;color:#fff}
.word-pop-actions button:hover{color:#a44335;border-color:#d8bfb7}
.word-pop-actions button:last-child:hover{color:#fff;background:#203b2d;border-color:#203b2d}

.reading-word-dialog{
  position:fixed;inset:88px max(16px,calc((100vw - 760px)/2 + 12px)) auto auto;
  width:min(365px,calc(100vw - 32px));max-height:calc(100dvh - 112px);margin:0;padding:0;
  overflow:auto;border:1px solid #ded6c8;border-radius:22px;background:#fffdf8;color:#2c302b;
  box-shadow:0 28px 90px rgba(34,32,27,.28);
}
.reading-word-dialog[open]{animation:word-card-in .2s ease-out}
.reading-word-dialog::backdrop{background:rgba(34,38,32,.25);backdrop-filter:blur(2px)}
.word-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:15px 17px 0;color:#aa8d76;font-size:9px;font-weight:800;letter-spacing:.14em}
.word-dialog-head button{width:32px;height:32px;padding:0;border-radius:50%;background:#f3eee6;color:#756f65;font-size:21px;line-height:1}
.word-dialog-head button:hover{background:#eee4d7;color:#a04638}
.word-dialog-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px 0}
.word-dialog-title h2{margin:0;font-family:Georgia,'Times New Roman',serif;font-size:31px;line-height:1.1;letter-spacing:-.03em}
.word-dialog-title span{display:block;margin-top:3px;color:#969086;font-size:11px}
.word-listen{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;padding:0;border:1px solid #d9ded4;border-radius:50%;background:#f4f8f0;color:#4d7754}
.word-listen:hover{background:#e7f2e2;color:#376b41}
.word-dialog-korean{margin:20px 18px 0;color:#b34e3f;font-size:24px;font-weight:750;letter-spacing:-.025em}
.word-dialog-meaning{margin:7px 18px 0;color:#5e625b;font-size:14px;line-height:1.55}
.reading-word-dialog blockquote{margin:15px 18px 0;padding:12px 13px;border:0;border-radius:10px;background:#f5f2e9;color:#77736a;font-family:Georgia,'Times New Roman',serif;font-size:13px;line-height:1.55;font-style:italic}
.word-dialog-actions{display:grid;gap:8px;padding:18px 18px 0}
.word-dialog-actions button{min-height:44px;border-radius:11px;background:#2d4b3b;color:#fff;font-size:13px;font-weight:750}
.word-dialog-actions button:hover{background:#203b2e;color:#fff}
.word-dialog-actions button:disabled{background:#e6f0e2;color:#4e7954;opacity:1}
.word-dialog-actions .word-dialog-done{background:#fff;border:1px solid #ded8cf;color:#615c55}
.word-dialog-actions .word-dialog-done:hover{background:#f7f3ec;color:#443f39;border-color:#cdc4b8}
.word-dialog-note{margin:10px 18px 18px;color:#a49f96;font-size:10px;line-height:1.5;text-align:center}
@keyframes word-card-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}

@media(max-width:650px){
  .home-story-spotlight{grid-template-columns:minmax(0,1fr) 120px;margin:14px 10px 5px;min-height:165px;border-radius:20px}
  .home-story-copy{padding:19px 2px 19px 17px}
  .home-story-copy h2{font-size:22px}
  .home-story-copy p{font-size:11px;margin-bottom:13px}
  .home-story-copy>button{min-height:38px;padding:0 13px;font-size:12px}
  .home-story-art{padding-right:2px}
  .reading-art-home{max-height:135px}
  .reading-library-hero{margin:14px 10px 10px;padding:19px 18px 16px;border-radius:20px}
  .reading-library-hero h2{font-size:27px}
  .reading-library-hero>p{font-size:12px}
  .reading-trail{grid-template-columns:auto 1fr;gap:8px 10px;margin-top:17px}
  .reading-next{grid-column:1 / -1;text-align:left}
  .story-shelf{padding:0 10px}
  .story-shelf-card{grid-template-columns:98px minmax(0,1fr);gap:11px;padding:7px;border-radius:16px;margin-bottom:8px}
  .story-card-art{min-height:94px}
  .reading-art-card{max-height:92px}
  .story-card-copy{padding:3px 4px 3px 0}
  .story-card-meta{font-size:9px;letter-spacing:.07em}
  .story-card-copy>strong{font-size:17px}
  .story-card-korean{font-size:11px}
  .story-card-blurb{font-size:11px;line-height:1.35}
  .story-card-status{margin-top:7px;font-size:10px;padding:4px 8px 4px 5px}
  .story-cover{grid-template-columns:minmax(0,1fr) 135px;gap:5px;padding:23px 17px 18px}
  .story-cover h1{font-size:31px;line-height:1.05}
  .story-cover-korean{font-size:14px}
  .story-cover-kicker{font-size:12px;margin-top:9px}
  .story-cover-cast{margin-top:13px;font-size:10px}
  .reading-art-cover{max-height:145px}
  .reading-toolbar{top:62px;padding:8px 12px;gap:5px;overflow-x:auto;scrollbar-width:none}
  .reading-toolbar::-webkit-scrollbar{display:none}
  .reading-toolbar button{font-size:11px;padding:0 10px;min-height:32px}
  .reading-help-label{display:none}
  .story-paper{padding:24px 18px 8px}
  .story-paragraph{margin-bottom:24px}
  .story-text{font-size:19px;line-height:1.78}
  .story-translation{font-size:12px;padding:9px 11px}
  .story-expression-box,.reading-check{margin:10px 10px 16px;padding:18px 16px;border-radius:18px}
  .story-section-heading h2{font-size:19px}
  .story-expression-list>div{grid-template-columns:1fr;gap:3px;padding:10px 11px}
  .story-expression-list strong{font-size:14px}
  .reading-question legend{font-size:15px}
  .reading-answer{font-size:12px;padding:10px 11px}
  .reading-result-actions{grid-template-columns:1fr}
  .story-done-strip{margin:10px 10px 28px;flex-wrap:wrap}
  .story-done-strip>button{width:100%}
  .reading-word-dialog{inset:auto 8px calc(8px + env(safe-area-inset-bottom));width:auto;max-height:80dvh;border-radius:23px}
  .reading-word-dialog[open]{animation:word-sheet-in .22s ease-out}
  .word-dialog-korean{font-size:22px}
  .word-dialog-actions{grid-template-columns:1fr}
  @keyframes word-sheet-in{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
}

@media(max-width:360px){
  .home-story-spotlight{grid-template-columns:minmax(0,1fr) 92px}
  .home-story-copy h2{font-size:19px}
  .story-cover{grid-template-columns:minmax(0,1fr) 103px}
  .story-cover h1{font-size:27px}
  .story-shelf-card{grid-template-columns:86px minmax(0,1fr)}
  .story-card-blurb{display:none}
}

@media(prefers-reduced-motion:reduce){
  .story-shelf-card,.story-sentence,.trail-line i,.reading-word-dialog[open],.reading-result.just-completed,.reading-result.just-completed .reading-result-mark{transition:none;animation:none}
}

@keyframes result-arrive{from{opacity:.3;transform:translateY(9px)}to{opacity:1;transform:none}}
@keyframes star-arrive{0%{opacity:0;transform:scale(.45) rotate(-25deg)}65%{transform:scale(1.16) rotate(7deg)}100%{opacity:1;transform:none}}
