:root{font-family:'DM Sans','Noto Sans KR',sans-serif;color:#172126;background:#f5f6f8;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#172126;--muted:#78838b;--line:#e5e8eb;--teal:#168978;--teal-dark:#087665;--mint:#eaf5f1;--coral:#f17964}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f5f6f8}.app-shell{max-width:1440px;margin:auto;padding:0 5.3%}.topbar{height:88px;display:flex;align-items:center;border-bottom:1px solid #e7eaed;gap:44px}.brand{display:flex;gap:10px;align-items:center;color:var(--ink);font:800 21px Manrope,sans-serif;text-decoration:none;letter-spacing:-.8px}.brand-mark{width:32px;height:32px;border-radius:11px;background:#138775;color:white;display:grid;place-items:center;font:800 17px Manrope;box-shadow:inset 0 -3px 0 #08715f}.top-nav{height:100%;display:flex;gap:32px;align-items:center}.nav-link{font:600 14px inherit;color:#818a90;border:0;background:none;height:100%;position:relative;cursor:pointer}.nav-link.active{color:var(--ink)}.nav-link.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--teal)}.nav-count{background:#e8f3f0;color:var(--teal);font-size:11px;border-radius:20px;padding:3px 7px;margin-left:4px}.profile-button{margin-left:auto;width:36px;height:36px;border-radius:50%;border:0;background:#e4ebe8;color:#39756c;font-weight:700}.install-button{margin-left:auto;background:#e7f3ef;border:0;border-radius:9px;padding:10px 14px;color:var(--teal-dark);font-weight:700;cursor:pointer}.install-button[hidden]{display:none}.view{padding-bottom:56px}.welcome-row{display:flex;justify-content:space-between;align-items:center;padding:49px 0 28px}.eyebrow{font-size:10px;letter-spacing:1.6px;color:#82918f;font-weight:700;margin:0 0 10px}.welcome-row h1{font:700 31px Manrope,'Noto Sans KR',sans-serif;letter-spacing:-1.1px;margin:0 0 8px}.subhead{margin:0;color:#7a858a;font-size:14px}.streak{display:flex;align-items:center;gap:11px;padding:12px 16px;border:1px solid #e7eae9;border-radius:14px;background:#fff}.streak-icon{font-size:25px;color:#e89b57}.streak strong,.streak small{display:block}.streak strong{font-size:14px}.streak small{font-size:10px;color:var(--muted);margin-top:2px}.import-card{background:#fff;border:1px solid #e8ebec;border-radius:15px;padding:24px 26px 18px;display:grid;grid-template-columns:43px 1fr;column-gap:15px;box-shadow:0 6px 24px #26373806}.import-icon{width:42px;height:42px;border-radius:12px;background:#eaf5f1;color:var(--teal);font-size:22px;display:grid;place-items:center}.import-copy h2{font-size:15px;margin:2px 0 5px}.import-copy p{font-size:12px;color:#879197;margin:0}.url-form{grid-column:1/-1;margin-top:19px;display:flex;align-items:center;border:1px solid #e1e6e7;border-radius:9px;height:49px;padding:4px 5px 4px 14px}.url-icon{color:#f36957;font-size:14px}.url-form input{flex:1;border:0;outline:0;padding:0 11px;background:transparent;color:var(--ink);font:13px inherit;min-width:0}.url-form input::placeholder{color:#a1a9ae}.primary-button{border:0;border-radius:8px;padding:12px 16px;background:var(--teal);color:white;font:700 12px inherit;cursor:pointer;transition:background .18s,transform .18s}.primary-button:hover{background:var(--teal-dark);transform:translateY(-1px)}.primary-button span{margin-left:9px;font-size:15px}.url-form .primary-button{height:39px;padding:0 16px}.import-foot{grid-column:1/-1;display:flex;align-items:center;gap:8px;padding-top:13px;color:#8b969a;font-size:10px}.status-dot{width:6px;height:6px;border-radius:50%;background:#e6aa56}.text-button{border:0;background:transparent;color:var(--teal-dark);font:700 11px inherit;cursor:pointer}.import-foot .text-button{margin-left:auto}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:40px 0 17px}.section-heading .eyebrow{margin-bottom:6px}.section-heading h2{margin:0;font:700 20px Manrope,'Noto Sans KR',sans-serif;letter-spacing:-.5px}.outline-button{background:white;border:1px solid #e1e6e7;border-radius:8px;padding:10px 13px;font:600 11px inherit;color:#47555a;cursor:pointer}.outline-button span{font-size:15px;color:var(--teal);margin-left:7px}.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.video-card{background:white;border:1px solid #e7e9ea;border-radius:12px;overflow:hidden;transition:transform .2s,box-shadow .2s}.video-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #203b3510}.video-thumb{height:157px;position:relative;background:#d5e1dd;overflow:hidden;cursor:pointer}.video-thumb img{width:100%;height:100%;object-fit:cover;display:block}.video-thumb .fallback-art{width:100%;height:100%;display:grid;place-items:center;font-size:46px;color:#558177;background:linear-gradient(135deg,#cedbd4,#9fbeb4)}.duration{position:absolute;right:10px;bottom:9px;background:#172126d9;color:white;border-radius:4px;padding:3px 6px;font-size:10px;font-weight:600}.video-card-body{padding:14px 15px 13px}.video-meta{display:flex;align-items:center;gap:7px;color:#829095;font-size:10px;margin-bottom:8px}.channel-dot{width:18px;height:18px;border-radius:50%;background:#e5eee9;display:grid;place-items:center;color:#488175;font-size:9px;font-weight:700}.video-card h3{font-size:14px;line-height:1.45;letter-spacing:-.2px;margin:0 0 13px;min-height:40px}.card-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eef0f0;padding-top:11px}.caption-state{font-size:10px;color:#71867f;display:flex;align-items:center;gap:5px}.caption-state:before{content:'';width:6px;height:6px;background:#66b295;border-radius:50%}.caption-state.unknown{color:#a47e49}.caption-state.unknown:before{background:#e1b366}.card-actions{display:flex;gap:12px}.card-actions button{border:0;background:none;color:var(--teal);font:700 10px inherit;cursor:pointer;padding:3px}.card-actions button:last-child{color:#6d797d}.how-card{margin-top:39px;border-radius:15px;background:#eaf3ef;min-height:198px;display:grid;grid-template-columns:250px 1fr;align-items:center;padding:20px 7%;overflow:hidden}.how-card h2{font:700 21px/1.45 Manrope,'Noto Sans KR',sans-serif;letter-spacing:-.7px;margin:0 0 8px}.how-card p:not(.eyebrow){font-size:12px;color:#74837f;margin:0 0 10px}.how-card .text-button{padding:0}.how-art{height:145px;position:relative;display:grid;place-items:center}.art-card{width:163px;height:103px;border-radius:11px;position:absolute;box-shadow:0 10px 25px #19382b1c}.art-card.back{background:#bfdacf;transform:rotate(-11deg) translate(-5px,1px)}.art-card.front{background:white;transform:rotate(5deg);padding:19px 17px;color:#283c39}.art-card.front span{font:700 17px Manrope}.art-card.front i{float:right;font-style:normal;color:var(--teal);font-size:15px}.art-card.front small{display:block;margin-top:13px;color:#83908b;font-size:10px}.spark{position:absolute;color:#e39b57;font-size:22px}.spark.s1{top:5px;left:36px}.spark.s2{right:31px;bottom:10px;color:#5b9f8b}.footer{min-height:64px;border-top:1px solid #e6e9eb;display:flex;align-items:center;gap:22px;font-size:10px;color:#8e999c}.footer span:first-child{font-weight:700;color:#61716e}.footer span:last-child{margin-left:auto}.reader-view{min-height:calc(100vh - 152px);position:relative;padding-bottom:42px}.reader-top{height:59px;display:flex;align-items:center;gap:19px}.back-button,.icon-button,.reading-tools button{border:0;background:transparent;color:#6d797d;cursor:pointer}.back-button{font:600 12px inherit}.back-button span{margin-left:7px}.reader-video-title{font-size:12px;font-weight:600;display:flex;align-items:center;gap:8px}.live-dot{width:7px;height:7px;border-radius:50%;background:#48ad8f}.reader-top .icon-button{margin-left:auto;font-size:20px}.reader-progress{height:2px;background:#e5eae8}.reader-progress span{display:block;width:22%;height:100%;background:#55a991;transition:width .25s}.reader-layout{display:grid;grid-template-columns:260px minmax(0,760px);gap:53px;justify-content:center;padding-top:31px}.video-side{padding-top:5px}.video-preview{height:146px;border-radius:10px;overflow:hidden;position:relative;background:linear-gradient(135deg,#789d91,#d1c6a9);background-size:cover;background-position:center;display:grid;place-items:center;margin-bottom:22px}.play-triangle{width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent;border-left:19px solid #fff;filter:drop-shadow(0 2px 5px #2228)}.video-side h2{font-size:15px;line-height:1.45;margin:0 0 7px}.side-meta{font-size:10px;color:#899396;margin:0}.side-divider{height:1px;background:#e4e8e7;margin:18px 0}.side-stat{display:flex;justify-content:space-between;font-size:11px;color:#818d8f;margin:10px 0}.side-stat strong{color:#263a38}.full-button{width:100%;margin-top:13px;padding:12px 10px}.side-note{font-size:10px;line-height:1.6;color:#8c9697}.transcript-panel{background:#fff;border:1px solid #e7eaea;border-radius:12px;padding:28px 39px 40px;box-shadow:0 5px 20px #132a2406}.transcript-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eef0ef;padding-bottom:18px}.transcript-heading .eyebrow{margin-bottom:5px}.transcript-heading h1{font:700 19px Manrope,'Noto Sans KR',sans-serif;margin:0;letter-spacing:-.6px}.reading-tools{display:flex;gap:4px}.reading-tools button{width:32px;height:30px;border-radius:6px;background:#f5f7f6;font-size:11px}.transcript-content{font:400 17px/2.05 Georgia,'Times New Roman',serif;color:#293335;padding-top:16px}.caption-paragraph{margin:0 0 20px}.word-token{cursor:pointer;border-radius:3px;transition:background .14s,color .14s}.word-token:hover{background:#dff1eb;color:#087665}.word-token.recent{background:#e4f3ee}.caption-time{font:500 9px 'DM Sans',sans-serif;color:#a1acab;vertical-align:middle;margin-right:8px;letter-spacing:.2px}.word-sheet[hidden]{display:none}@keyframes sheetin{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}.sheet-close{position:absolute;right:16px;top:10px;border:0;color:#ee7969;font-size:29px;line-height:1;background:none;cursor:pointer}.sheet-word-row{display:flex;align-items:center;gap:15px}.part-of-speech{font-size:8px;font-weight:700;color:#91bdb0;letter-spacing:1.3px}.sheet-word-row h2{font:700 26px Manrope,sans-serif;margin:2px 0 0}.speak-button{width:37px;height:37px;border:0;border-radius:50%;background:#f5f7f5;color:#536c70;font-size:14px;cursor:pointer}.phonetic{font-size:12px;color:#b7c4c3;margin:5px 0}.meaning{font-size:15px;margin:6px 0 13px}.context-box{background:#ffffff0b;border-left:2px solid #69ad9d;padding:8px 11px;margin-bottom:15px}.context-box span{font-size:8px;color:#a5b7b3;letter-spacing:1px;font-weight:700}.context-box p{font:13px/1.6 Georgia,serif;color:#e1e9e6;margin:4px 0 0}.sheet-actions{display:flex;gap:8px}.sheet-actions button{border-radius:7px;padding:10px 13px;font:600 11px inherit;cursor:pointer}.sheet-secondary{background:#ffffff13;border:1px solid #ffffff22;color:#e4ece9}.sheet-primary{background:#d8eee7;border:0;color:#136d5f;margin-left:auto}.sheet-primary span{margin-left:9px}.compact{padding-bottom:24px}.compact .primary-button{align-self:center}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:4px 0 25px}.stat-card{background:#fff;border:1px solid #e7eaea;border-radius:11px;padding:17px 19px}.stat-card span,.stat-card small{display:block;color:#7f8c8d;font-size:11px}.stat-card strong{display:block;font:700 24px Manrope;margin:5px 0 1px}.stat-card small{font-size:9px}.word-list-card{background:white;border:1px solid #e7eaea;border-radius:12px;padding:22px}.list-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0ef;padding-bottom:17px}.list-toolbar h2{font-size:16px;margin:0 0 4px}.list-toolbar p{font-size:10px;color:#8b9697;margin:0}.list-toolbar select{border:1px solid #e0e6e4;background:white;border-radius:7px;padding:9px;color:#657272;font:11px inherit}.word-row{display:grid;grid-template-columns:1fr 1.3fr 100px auto;align-items:center;gap:15px;padding:15px 2px;border-bottom:1px solid #f0f2f1}.word-row:last-child{border-bottom:0}.word-main strong{font:700 14px Manrope}.word-main small{display:block;font-size:10px;color:#8d9998;margin-top:3px}.word-definition{font-size:11px;color:#657372}.word-state{font-size:9px;color:#168978;background:#eaf5f1;border-radius:20px;padding:5px 8px;width:max-content}.word-state.known{color:#778380;background:#f0f3f2}.word-delete{background:none;border:0;color:#a5aeac;cursor:pointer;font-size:15px}.empty-state{padding:34px 10px;text-align:center;color:#889493;font-size:12px}.modal{border:0;border-radius:16px;width:min(510px,calc(100vw - 28px));padding:29px 31px;box-shadow:0 24px 90px #12201f40;color:var(--ink);max-height:90vh;overflow:auto}.modal::backdrop{background:#17242378;backdrop-filter:blur(2px)}.modal-close{position:absolute;right:17px;top:13px;border:0;background:none;color:#84908e;font-size:25px;cursor:pointer}.modal h2{font:700 22px Manrope,'Noto Sans KR',sans-serif;letter-spacing:-.7px;margin:0 0 10px}.modal-description{font-size:12px;line-height:1.7;color:#788583;margin:0 0 19px}.modal label{display:block;font-size:10px;color:#657471;font-weight:700;margin:12px 0 6px}.modal input,.modal textarea{width:100%;border:1px solid #dfe6e3;border-radius:8px;padding:12px;font:12px inherit;outline-color:#69ad9d;resize:vertical}.modal input{height:42px}.modal-sample-row{display:flex;justify-content:space-between;align-items:center;margin:9px 0 14px}.modal-sample-row span{font-size:9px;color:#98a19f}.modal-submit{width:100%;margin-top:8px}.playlist-results{margin-top:14px}.playlist-item{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #edf0ef}.playlist-thumb{width:72px;height:44px;border-radius:6px;background:#d9e5df;display:grid;place-items:center}.playlist-thumb img{width:100%;height:100%;object-fit:cover;border-radius:6px}.playlist-item strong{display:block;font-size:10px}.playlist-item small{font-size:9px;color:#81908d}.preview-modal{width:min(570px,calc(100vw - 28px))}.preview-words{max-height:43vh;overflow:auto;margin:13px 0}.preview-word{display:grid;grid-template-columns:1fr 95px 40px;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid #edf0ef}.preview-word strong{font:700 13px Manrope}.preview-word small{display:block;color:#82908c;font-size:10px;margin-top:3px}.preview-word em{font-style:normal;font-size:9px;color:#168978}.preview-word button{border:0;background:#eff5f2;border-radius:6px;padding:6px;color:#167867;cursor:pointer}.toast{position:fixed;z-index:20;bottom:24px;left:50%;transform:translate(-50%,10px);opacity:0;background:#203238;color:#fff;padding:11px 17px;border-radius:8px;font-size:11px;pointer-events:none;transition:.2s;box-shadow:0 6px 20px #1026282b}.toast.show{opacity:1;transform:translate(-50%,0)}.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}
@media(max-width:850px){.app-shell{padding:0 4%}.topbar{height:70px;gap:24px}.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reader-layout{grid-template-columns:210px minmax(0,1fr);gap:25px}.transcript-panel{padding:24px 27px}.video-preview{height:120px}.how-card{grid-template-columns:210px 1fr;padding:18px 4%}}
@media(max-width:600px){.app-shell{padding:0 18px}.topbar{height:62px;gap:15px}.brand{font-size:17px;gap:7px}.brand-mark{width:28px;height:28px}.top-nav{gap:14px}.nav-link{font-size:11px;padding:0}.profile-button{width:31px;height:31px}.welcome-row{padding:31px 0 22px}.welcome-row h1{font-size:25px}.subhead{font-size:12px;line-height:1.55}.streak{padding:8px 10px;gap:7px}.streak-icon{font-size:19px}.streak strong{font-size:12px}.streak small{font-size:8px}.import-card{padding:17px 15px 13px;grid-template-columns:35px 1fr;column-gap:10px}.import-icon{width:34px;height:34px;font-size:18px}.import-copy h2{font-size:13px}.import-copy p{font-size:10px;line-height:1.45}.url-form{height:45px;margin-top:15px;padding-left:10px}.url-form input{font-size:10px;padding:0 7px}.url-form .primary-button{font-size:10px;padding:0 9px;white-space:nowrap}.import-foot{font-size:8px;gap:5px;flex-wrap:wrap}.import-foot .text-button{font-size:9px;padding:0}.section-heading{margin:29px 0 13px}.section-heading h2{font-size:18px}.outline-button{font-size:9px;padding:9px 8px}.video-grid{grid-template-columns:1fr;gap:12px}.video-card{display:block}.video-thumb{height:auto;aspect-ratio:16/9;min-height:0}.video-card-body{padding:11px}.video-card h3{font-size:12px;min-height:0;margin-bottom:9px}.video-meta{font-size:8px;margin-bottom:5px}.card-bottom{align-items:center;gap:5px;flex-direction:row;padding-top:8px}.card-actions{width:auto;justify-content:flex-end;gap:6px}.card-actions button{font-size:9px;padding:3px 1px}.caption-state{font-size:8px}.how-card{grid-template-columns:105px 1fr;gap:12px;padding:15px 12px;margin-top:26px;min-height:163px}.how-art{transform:scale(.74);transform-origin:center}.how-card h2{font-size:15px}.how-card p:not(.eyebrow){font-size:9px;line-height:1.55}.how-card .eyebrow{font-size:8px}.how-card .text-button{font-size:9px}.footer{gap:9px;font-size:8px;min-height:53px}.footer span:last-child{display:none}.reader-view{min-height:calc(100vh - 112px)}.reader-top{height:48px;gap:8px}.reader-video-title{font-size:10px;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.back-button{font-size:10px}.reader-layout{display:block;padding-top:0}.video-side{display:none}.transcript-panel{border-radius:0;border:0;margin:0 -18px;padding:19px 22px 65px;box-shadow:none;min-height:calc(100vh - 162px)}.transcript-heading{padding-bottom:13px}.transcript-heading h1{font-size:17px}.reading-tools{gap:2px}.reading-tools button{width:28px;height:28px}.transcript-content{font-size:17px;line-height:1.95;padding-top:16px}.caption-paragraph{margin-bottom:20px}.caption-time{font-size:8px}.word-sheet[hidden]{display:none}@keyframes sheetmobile{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.sheet-word-row h2{font-size:24px}.meaning{font-size:14px;margin-bottom:10px}.context-box p{font-size:12px}.footer:has(+*){margin-top:0}.compact{align-items:flex-start;gap:12px}.compact .primary-button{font-size:10px;padding:11px 10px;white-space:nowrap;margin-top:9px}.stats-row{gap:7px}.stat-card{padding:12px 10px}.stat-card span{font-size:9px}.stat-card strong{font-size:20px}.stat-card small{font-size:8px}.word-list-card{padding:15px 12px}.word-row{grid-template-columns:1fr auto auto;gap:8px}.word-definition{grid-column:1/-1;grid-row:2;font-size:10px}.word-main strong{font-size:12px}.modal{padding:26px 21px}.modal h2{font-size:19px}.modal-description{font-size:11px}.modal-sample-row{align-items:flex-start;gap:6px}.modal-sample-row span{font-size:8px;text-align:right}.preview-word{grid-template-columns:1fr 78px 35px}.install-button{font-size:9px;padding:8px 10px}}

body.reading .topbar,body.reading .footer{display:none}body.reading .app-shell{max-width:none;padding:0}body.reading .reader-view{min-height:100dvh}body.reading .reader-top{padding:0 18px}body.reading .reader-layout{display:block;max-width:900px;margin:auto;padding:0 18px}body.reading .video-side{display:none}body.reading .transcript-panel{min-height:calc(100dvh - 58px)}.dictionary-credit{font-size:10px;color:#bddbd4}.dictionary-credit a{color:inherit}.footer a{color:inherit}
.brand{font-size:30px;gap:10px}.brand-mark{width:40px;height:40px;box-shadow:none}.nav-link{font-size:16px}.profile-button{width:44px;height:44px;font-size:20px;cursor:pointer}
.subhead,.import-copy p,.how-card p:not(.eyebrow),.modal-description{font-size:14px}.import-copy h2,.video-card h3{font-size:17px}.url-form input,.modal input,.modal textarea{font-size:16px}.primary-button,.outline-button,.text-button,.card-actions button{font-size:14px;min-height:40px}.video-meta,.caption-state,.import-foot,.footer{font-size:12px}.video-card{cursor:pointer}.card-bottom{flex-wrap:wrap;gap:8px}.word-main strong{font-size:17px}.word-main small,.word-definition,.word-state,.list-toolbar p,.list-toolbar select,.empty-state{font-size:14px}
.reader-top{position:sticky;top:0;z-index:5;height:60px;background:#f5f6f8}.back-button{font-size:16px;min-height:44px;white-space:nowrap;padding:0}.back-button span{margin-left:3px}.reader-video-title{min-width:0;font-size:14px;flex:1}.reader-video-title #reader-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-dot{flex-shrink:0}.reader-top .icon-button{font-size:24px;min-width:44px;min-height:44px}
.transcript-heading{gap:12px;padding-bottom:12px}.transcript-heading h1{font-size:20px;white-space:nowrap}.reading-tools{flex-shrink:0;align-items:center;gap:4px;white-space:nowrap}.reading-tools button{width:40px;height:40px;font-size:15px;white-space:nowrap;padding:0}.reading-tools output{font:600 14px 'DM Sans',sans-serif;min-width:22px;text-align:center;color:#536c70}.reading-tools button:disabled{opacity:.4}.transcript-content{font-size:20px;line-height:1.45;padding-top:16px}.caption-paragraph{margin:0 0 .35em;overflow-wrap:anywhere}.caption-time{font-size:11px;white-space:nowrap;display:inline-block;margin-right:8px}
body.reading .transcript-panel{padding-bottom:calc(36px + var(--word-sheet-space,0px))}body.sheet-open .view{padding-bottom:calc(56px + var(--word-sheet-space,0px))}html{scroll-padding-top:70px;scroll-padding-bottom:var(--word-sheet-space,0px)}
.sheet-close{right:4px;top:0;width:44px;height:44px;font-size:26px}.sheet-word-row{gap:8px;padding-right:32px;flex-wrap:wrap}.sheet-word-row h2{font-size:22px;margin:0;overflow-wrap:anywhere;min-width:0;max-width:100%}.part-of-speech{font-size:10px;letter-spacing:.5px}.speak-button{width:36px;height:36px;flex-shrink:0}.phonetic{font-size:13px;margin:1px 0 4px;overflow-wrap:anywhere}.phonetic:empty{display:none}.meaning{font-size:16px;line-height:1.4;margin:4px 0 6px;max-height:4.2em;overflow-y:auto;overscroll-behavior:contain}.context-box{margin:0 0 6px;padding:0;border:0;background:none}.context-box summary{cursor:pointer;font-size:12px;color:#bddbd4;min-height:24px;line-height:24px}.context-box[open] p{font-size:14px}.dictionary-credit{font-size:12px}.sheet-actions{align-items:center;gap:8px}.known-toggle{display:flex;align-items:center;gap:7px;font-size:14px;min-height:40px;cursor:pointer;white-space:nowrap}.known-toggle input{width:18px;height:18px;margin:0;accent-color:#69b5a2}.sheet-actions button{font-size:14px;min-height:40px;padding:8px 12px}.toast{font-size:14px;bottom:calc(var(--word-sheet-space,0px) + 12px);max-width:calc(100vw - 24px);text-align:center}
button:focus-visible,a:focus-visible,.word-token:focus-visible{outline:2px solid #168978;outline-offset:3px}
.transcript-heading{position:sticky;top:60px;z-index:4;background:white;padding-top:8px}.welcome-row h1{word-break:keep-all}
@media(max-width:600px){.welcome-row{display:block}.welcome-row .streak{display:none}}
.sheet-word-row .known-toggle,.preview-word>.known-toggle{flex:none;width:32px;height:32px;justify-content:center}.sheet-actions{justify-content:flex-end}#recommended-words{max-height:180px;overflow-y:auto}.preview-word>.known-toggle{align-self:flex-start}
.recommendations{margin:0 0 18px;padding:12px;background:#f3f8f6;border-radius:12px}.recommendations summary{font-size:15px;font-weight:700;cursor:pointer}.recommendations p{font-size:13px;line-height:1.5;color:#586b65;margin:8px 0}.recommended-word{font-size:14px;padding:7px 10px;margin:3px;background:white;border:1px solid #dce9e3;border-radius:8px}.recommendations .text-button{font-size:14px;margin-top:8px}.preview-word{flex-wrap:wrap;gap:8px}.preview-word>div{flex:1;min-width:140px}.preview-word em{font-size:12px}.preview-word small{font-size:14px;line-height:1.5}.preview-word .known-toggle{font-size:13px}.preview-words{max-height:55dvh;overflow:auto}
@media(max-width:600px){.topbar{height:auto;padding:12px 0 0;flex-wrap:wrap;gap:12px}.brand{font-size:28px;flex:1}.brand-mark{width:38px;height:38px}.top-nav{order:3;flex-basis:100%;height:44px;gap:24px}.nav-link{font-size:16px}.profile-button{width:44px;height:44px}.welcome-row h1{font-size:28px}.subhead,.import-copy p,.how-card p:not(.eyebrow){font-size:14px}.import-copy h2{font-size:17px}.url-form{height:52px}.url-form input{font-size:16px}.url-form .primary-button{font-size:14px;padding:0 12px;height:42px}.import-foot{font-size:12px;line-height:1.5}.import-foot .text-button{font-size:14px;padding:0}.video-card h3{font-size:17px}.video-meta,.caption-state{font-size:12px}.card-actions{width:100%;gap:16px;justify-content:flex-start}.card-actions button{font-size:14px}.how-card{display:block}.how-art{display:none}.how-card h2{font-size:20px}.how-card .text-button{font-size:14px}.how-card .eyebrow,.footer{font-size:12px}.modal-description{font-size:14px}.modal-sample-row span{font-size:12px}.word-main strong{font-size:17px}.word-definition{font-size:14px}.stat-card span{font-size:13px}.stat-card small{font-size:11px}.reader-top{height:60px}.reader-video-title{font-size:13px}.back-button{font-size:16px}body.reading .reader-layout{padding:0}body.reading .transcript-panel{margin:0;padding:14px 18px calc(36px + var(--word-sheet-space,0px))}.transcript-heading h1{font-size:20px}.reading-tools button{width:36px;height:40px;font-size:15px}.reading-tools{gap:3px}.caption-paragraph{margin-bottom:.35em}.transcript-content{line-height:1.45}.caption-time{font-size:11px}.sheet-word-row h2{font-size:22px}.meaning{font-size:16px}.known-toggle{font-size:14px}}
.preview-word{grid-template-columns:32px minmax(0,1fr) 32px}.preview-word>div{min-width:0;grid-column:2;grid-row:1}.preview-word>.known-toggle{grid-column:1;grid-row:1}.preview-word em{grid-column:2;grid-row:2}.preview-word button{grid-column:3;grid-row:1}.preview-word strong{font-size:16px}.preview-word small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.vocabulary-backup{display:flex;flex-wrap:wrap;gap:8px;padding-top:20px}.vocabulary-backup .outline-button{font-size:14px;cursor:pointer}.vocabulary-backup p{flex-basis:100%;font-size:13px;line-height:1.5;color:#78838b;margin:0}
body.previewing .topbar,body.previewing .footer{display:none}.preview-page{max-width:800px;margin:auto;padding:0 16px 24px;background:white;min-height:100dvh}.preview-header{position:sticky;top:0;background:white;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 0;border-bottom:1px solid #e5e8eb}.preview-header h1{font-size:20px;margin:0}.preview-header button{border:0;border-radius:8px;background:#edf4f1;color:#172126;padding:10px;font-size:15px;min-height:44px}#preview-video-title{font-size:13px;color:#78838b;line-height:1.4;margin:10px 0}.preview-page .preview-words{max-height:none;overflow:visible;margin:0}.preview-page .preview-word{grid-template-columns:24px minmax(80px,30%) minmax(0,1fr);gap:8px;padding:9px 0;align-items:start}.preview-page .known-toggle{width:24px;height:28px;min-height:28px;align-self:start}.preview-page .known-toggle input,.sheet-word-row .known-toggle input{width:14px;height:14px}.preview-page .preview-word strong{font-size:15px;line-height:1.5;overflow-wrap:anywhere}.preview-page .preview-word small{font-size:14px;line-height:1.5;margin:0;grid-column:3;grid-row:1;color:#43534e}.recommendations{width:100%;text-align:left;border:1px solid #dce9e3;color:#087665;font-size:15px;font-weight:700;cursor:pointer}

.sheet-word-row{flex-wrap:nowrap}.sheet-word-row h2{flex:1}.sheet-word-row .sheet-primary{flex:none;margin-left:0;width:30px;height:30px;padding:0;border-radius:6px;font-size:20px;cursor:pointer}.sheet-word-row .part-of-speech{flex-shrink:1;min-width:0}.sheet-word-row .speak-button{flex:none}
.youtube-player-host{position:sticky;top:0;z-index:5;width:100%;max-width:800px;margin:0 auto 12px;background:#111}.youtube-player-host[hidden]{display:none}.youtube-player-host iframe{display:block;width:100%;height:clamp(232px,calc(56.25vw + 32px),360px);border:0}.caption-paragraph[data-cue-start]{cursor:pointer}
.sheet-word-row{gap:6px;padding-right:28px}.sheet-word-row h2{font-size:20px;line-height:1.2}.sheet-word-row .speak-button{width:30px;height:30px;font-size:12px}.sheet-close{width:36px;height:36px;font-size:24px}.phonetic{font-size:11px;margin:2px 0}.meaning{font-size:14px;line-height:1.4;margin:3px 0 5px;max-height:4.2em;white-space:pre-line}.context-box{margin:0}.context-box summary{font-size:11px;min-height:24px;line-height:24px}.context-box[open] p{font-size:12px}.sheet-word-row .known-toggle{width:26px;height:30px;min-height:30px}.part-of-speech{font-size:9px;letter-spacing:0}.caption-play{display:inline-flex;align-items:center;min-height:32px;padding:3px 7px;margin-right:7px;border:1px solid #d8e7e1;border-radius:6px;background:#edf6f2;color:#087665;font:12px/1.2 system-ui;cursor:pointer;text-decoration:none}

.video-thumb .video-delete{position:absolute;top:8px;right:8px;z-index:2;display:grid;place-items:center;width:36px;height:32px;padding:0;border:1px solid #ffffff90;border-radius:6px;background:#203238e6;color:#fff;font:400 22px/1 system-ui;cursor:pointer;box-shadow:0 2px 8px #0003}.video-delete:focus-visible{outline:3px solid #168978;outline-offset:3px}.delete-video-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:18px}.delete-video-actions button{box-sizing:border-box;width:104px;height:36px;min-height:36px;padding:0 12px;font-size:14px;line-height:1}.delete-video-actions #confirm-video-delete{background:var(--teal)}#delete-video-dialog{max-width:calc(100% - 28px);overflow-wrap:anywhere}#delete-video-title{line-height:1.5}
.reader-top{grid-template-columns:44px minmax(0,1fr) 44px}.reader-top #recommend-preview{flex:1;min-width:0;border:0;background:transparent;color:var(--teal-dark);font:700 14px inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 4px}.reader-home{width:44px;height:44px;border:0;background:transparent;padding:7px;cursor:pointer}.reader-home img{display:block;width:30px;height:30px;border-radius:9px}.sheet-grabber{display:block;width:44px;height:18px;margin:-8px auto 2px;border:0;background:transparent;padding:7px 0;cursor:grab}.sheet-grabber span{display:block;width:32px;height:3px;border-radius:4px;background:#ffffff55;margin:auto}@media(max-width:600px){body.reading .reader-top{padding:0 8px;gap:2px}.reader-top #recommend-preview{font-size:13px}.back-button{width:44px;height:44px;font-size:24px}.reader-home{padding:8px}.reader-home img{width:28px;height:28px}}
.reader-top #recommend-preview{display:flex;align-items:center;justify-content:center;gap:8px;height:44px;border-radius:10px;padding:0 8px;font-size:14px}.recommend-icon{font-size:18px;line-height:1}.recommend-count{min-width:23px;height:23px;padding:0 6px;border-radius:12px;background:#e5f3ee;color:#087665;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-variant-numeric:tabular-nums}.transcript-title-group{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}.transcript-title-group h1{margin:0}.reader-source-link{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#168978;font:12px/1.3 system-ui,sans-serif;text-decoration:none}.reader-source-link[hidden]{display:none}.reader-source-link:hover{text-decoration:underline}body.reading #transcript-content{font-family:-apple-system,BlinkMacSystemFont,'Noto Sans KR','Malgun Gothic',sans-serif;font-weight:500;line-height:1.65;letter-spacing:-.15px}.caption-paragraph.audio-active{background:#e8f4ef;box-shadow:inset 3px 0 #168978;border-radius:4px;padding-left:9px;color:#142923}.toast{transition:none!important}.toast.show{transform:translate(-50%,0)}

body.reading .reader-top{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:0}.reader-top #recommend-preview{width:100%;height:auto;min-height:44px;flex-wrap:wrap;gap:4px 6px;white-space:normal;overflow:visible;padding:4px 0;line-height:1.3}.reader-top #recommend-label{font-size:clamp(16px,4.3vw,21px);font-weight:800;text-align:center}.reader-top .recommend-icon{font-size:17px}.reader-top .recommend-count{font-size:12px}.reader-top .back-button,.reader-top .reader-home{margin:0}.settings-note{font-size:13px;color:var(--muted)}#settings-dialog .reading-tools{margin:16px 0;gap:10px}#settings-dialog .reading-tools button{width:44px;height:44px}#settings-dialog .reading-tools output{min-width:28px}
body.reading .reader-top{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:0}.reader-top #recommend-preview{width:100%;height:auto;min-height:44px;flex-wrap:wrap;gap:4px 6px;white-space:normal;overflow:visible;padding:4px 0;line-height:1.3}.reader-top #recommend-label{font-size:clamp(16px,4.3vw,21px);font-weight:800;text-align:center}.reader-top .recommend-icon{font-size:17px}.reader-top .recommend-count{font-size:12px}.reader-top .back-button,.reader-top .reader-home{margin:0}.settings-note{font-size:13px;color:var(--muted)}#settings-dialog .reading-tools{margin:16px 0;gap:10px}#settings-dialog .reading-tools button{width:44px;height:44px}#settings-dialog .reading-tools output{min-width:28px}.preview-page .preview-word{padding:4px 0}.preview-page .preview-word button{font-size:16px;padding:4px}.theme-toggle{display:flex!important;align-items:center;gap:8px;font-size:14px!important;cursor:pointer}.dark-mode{--ink:#edf5f2;--muted:#a9b8b4;--line:#33433f;background:#14201e;color:var(--ink)}.dark-mode .app-shell,.dark-mode .preview-page{background:#14201e}.dark-mode .topbar,.dark-mode .transcript-panel,.dark-mode .word-list-card,.dark-mode .modal,.dark-mode .preview-header{background:#1d2b28;color:var(--ink);border-color:#344742}.dark-mode .transcript-content,.dark-mode .preview-word small,.dark-mode .word-definition{color:#d2dfdb}.dark-mode .reading-tools button,.dark-mode .theme-toggle{color:var(--ink);background:#2b3b37}.dark-mode .modal input,.dark-mode .modal textarea{background:#243530;color:var(--ink);border-color:#48615a}.dark-mode .preview-word{border-color:#344742}
body.reading .back-button,.view-back{display:inline-grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #d7e2de;border-radius:50%;background:#fff;color:var(--teal-dark);font-size:24px;line-height:1;box-shadow:0 3px 10px #173c3212;transition:background .18s,border-color .18s,transform .18s}body.reading .back-button:hover,.view-back:hover{background:var(--mint);border-color:#9bc9bb;transform:translateY(-1px)}.back-button:focus-visible,.view-back:focus-visible,.outline-button:focus-visible,.primary-button:focus-visible,.profile-button:focus-visible{outline:3px solid #8ed1bf;outline-offset:2px}.reader-home,.profile-button{border:1px solid #d7e2de;box-shadow:0 3px 10px #173c3212}.outline-button,.primary-button{border-radius:10px}.preview-header button{border:1px solid #d7e2de;border-radius:10px}
.stat-card{border:1px solid #e7eaea;cursor:pointer;text-align:left;font:inherit;transition:border-color .18s,transform .18s,box-shadow .18s}.stat-card:hover{border-color:#9bc9bb;transform:translateY(-1px);box-shadow:0 5px 14px #173c3212}.library-known-toggle{display:grid;place-items:center;width:32px;height:32px;cursor:pointer}.library-known-toggle input{appearance:none;width:19px;height:19px;border:2px solid #b8c9c4;border-radius:6px;background:#fff;cursor:pointer}.library-known-toggle input:checked{border-color:var(--teal);background:var(--teal)}.library-known-toggle input:checked::after{content:'✓';display:block;color:#fff;font-size:14px;line-height:15px;text-align:center;font-weight:800}.word-row{padding:9px 2px}.copy-transcript{display:block;margin:0 0 12px auto;min-height:36px;padding:8px 12px;font-size:12px}.body-reading-caption{scroll-margin-top:120px}
.caption-paragraph[data-cue-start]{scroll-margin-top:120px}
.playback-speed{display:flex;align-items:center;justify-content:flex-end;gap:6px;max-width:800px;margin:-4px auto 10px;color:var(--muted);font-size:11px}.playback-speed button{border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);padding:5px 9px;font:600 11px inherit;cursor:pointer}.playback-speed button.active{border-color:var(--teal);background:var(--mint);color:var(--teal-dark)}
.reader-top #recommend-preview{align-items:center;justify-content:flex-start}.reader-top #recommend-label{text-align:left}


/* Prevent accidental selection while reading and using controls. */
html{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}input,textarea,[contenteditable="true"]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}

body.reading .reader-top{grid-template-columns:40px minmax(0,1fr);gap:4px}body.reading .reader-top .back-button{width:38px;height:38px;min-height:38px;font-size:21px}
/* The generic recommendation card margin must not offset the reader title. */
.reader-top #recommend-preview{margin:0;align-self:center;display:flex;align-items:center}

/* Word and pronunciation on the left, wrapping meaning on the right. */
.preview-page .preview-word{grid-template-columns:24px minmax(0,1fr);align-items:start}
.preview-page .preview-word>.preview-word-content{display:grid;grid-template-columns:minmax(0,46fr) minmax(0,54fr);column-gap:12px;align-items:start;grid-column:2;grid-row:1;min-width:0}
.preview-page .preview-word-heading{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:flex-start;gap:6px;min-width:0}
.preview-page .preview-word-heading strong{min-width:0;overflow-wrap:anywhere}
.preview-page .preview-word-heading button{flex:0 0 28px;display:inline-grid;place-items:center;width:28px;height:28px;min-height:28px;padding:0;font-size:14px;line-height:1;background:transparent}
.preview-page .preview-word-content small{grid-column:2;grid-row:1;display:block;margin:0;padding-top:3px;height:auto;max-height:none;overflow:visible;-webkit-line-clamp:unset;overflow-wrap:anywhere;white-space:normal}



/* Shared surfaces, readable dark controls, and small-screen dialog bounds. */
.modal{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
button:disabled{cursor:default;opacity:.55}
.dark-mode{--teal-dark:#93dbc8;--mint:#263f37}
.dark-mode .video-card,.dark-mode .import-card,.dark-mode .how-card,.dark-mode .stat-card,.dark-mode .reader-top{background:#1d2b28;color:var(--ink);border-color:var(--line)}
.dark-mode .outline-button,.dark-mode .text-button,.dark-mode .preview-header button,.dark-mode .back-button,.dark-mode .view-back,.dark-mode .profile-button,.dark-mode .caption-play{background:#263c35;color:#c4eee2;border-color:#48615a}
.dark-mode .recommend-count{background:#284c40;color:#b9efde}
.dark-mode .caption-paragraph.audio-active{background:#26483d;color:#effaf6}
.dark-mode .word-main strong,.dark-mode .video-card h3,.dark-mode .import-copy h2,.dark-mode .how-card h2{color:var(--ink)}
.dark-mode #preview-video-title,.dark-mode .settings-note{color:var(--muted)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
.modal .theme-toggle input[type=checkbox]{appearance:auto;flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:var(--teal)}
.modal .theme-toggle{justify-content:flex-start;white-space:nowrap;background:transparent}

.settings-actions{display:flex;justify-content:flex-end;margin-top:16px}

/* Compact dictionary rows retain full, naturally wrapping meanings. */
.preview-page .preview-word{padding:4px 0;border-bottom-color:var(--line);gap:6px}
.preview-page .preview-word>.preview-word-content{column-gap:10px}
.preview-page .preview-word-heading strong{font-size:15px;font-weight:700;line-height:1.4}
.preview-page .preview-word-content small{font-size:14px;line-height:1.4;padding-top:3px;color:#43534e}
.dark-mode .preview-page .preview-word-content small{color:#d2dfdb}
.preview-page .preview-word-heading button{border-radius:50%;color:var(--teal-dark)}

.preview-page .preview-word-heading .speak-button{width:28px;height:28px;min-height:28px;flex-basis:28px;border:0;border-radius:50%;background:#f5f7f5;color:#536c70;font-size:12px;line-height:1}









.subscription-price{font-size:21px;font-weight:700}
#subscription-dialog p{line-height:1.5;font-size:14px}#subscription-dialog button{margin-top:8px}
.analysis-notice{padding:18px;line-height:1.5}.analysis-notice button{margin:6px}
#subscription-dialog a{color:var(--teal-dark)}
#subscription-dialog #purchase-annual,#subscription-dialog #restore-purchases{margin:4px 6px 4px 0}
.dark-mode #subscription-dialog a{color:#a5dfcc}

/* Keep meanings close to each word while allowing long entries to wrap. */
.preview-page .preview-word>.preview-word-content{grid-template-columns:fit-content(48%) minmax(0,1fr);column-gap:8px}

.word-sheet .sheet-grabber{display:block;width:52px;height:18px;min-height:18px;margin:0 auto 2px;padding:6px 0;border:0;background:transparent;touch-action:none;cursor:grab}
.word-sheet .sheet-grabber span{display:block;width:36px;height:4px;margin:auto;border-radius:4px;background:#879792}
.word-sheet .sheet-word-row{padding-right:0}
.dictionary-retry{border:0;background:transparent;color:#b9e8d9;padding:3px 0;font:inherit;font-size:12px;cursor:pointer}
.preview-word-content .dictionary-retry{color:var(--teal-dark);margin-left:5px}
#offline-offer .settings-actions{gap:8px;flex-wrap:wrap}

/* Fixed bottom sheet: controls stay aligned while only the definition scrolls. */
.word-sheet{position:fixed;z-index:10;inset:auto 0 0;margin-inline:auto;width:min(620px,100%);height:calc(95px + env(safe-area-inset-bottom));min-height:0;max-height:50dvh;display:grid;grid-template-areas:"handle" "word" "phonetic" "meaning" "retry";grid-template-rows:18px 30px 15px minmax(0,1fr) auto;gap:0;padding:4px 12px calc(6px + env(safe-area-inset-bottom));background:#29363b;color:#fff;border-radius:12px 12px 0 0;box-shadow:0 14px 50px #0717184d;overflow:hidden;transform:translateY(var(--sheet-drag,0px));animation:none;transition:none}
.word-sheet[hidden]{display:none}
.word-sheet .sheet-grabber{grid-area:handle;margin:0 auto;height:18px;min-height:18px}
.word-sheet .sheet-word-row{grid-area:word;min-width:0;align-items:center;padding:0;gap:6px;flex-wrap:nowrap}
.word-sheet .sheet-word-row h2{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;font-size:20px;line-height:30px}
.word-sheet .part-of-speech{flex:0 1 auto;max-width:27%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.3px}
.word-sheet .phonetic{grid-area:phonetic;margin:0;font-size:11px;line-height:15px}
.word-sheet .meaning{grid-area:meaning;min-height:0;margin:2px 0 0;overflow-y:auto;overflow-x:hidden;max-height:none;font-size:14px;line-height:1.4;overflow-wrap:anywhere;overscroll-behavior:contain}
.word-sheet .dictionary-retry{position:absolute;top:4px;right:12px;grid-area:auto;margin:0;padding:0;font-size:12px;line-height:18px}
