:root{color:#172033;background:#fff8f7;font-family:ui-rounded,SF Pro Rounded,Avenir Next Rounded,Nunito,Pretendard,Apple SD Gothic Neo,Malgun Gothic,system-ui,sans-serif;font-weight:500;line-height:1.5}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{color:#fff;cursor:pointer;background:#e57373;border:0;border-radius:18px;font-weight:900;transition:box-shadow .12s,transform .12s,filter .12s;box-shadow:0 5px #c85a5a}button:hover{filter:brightness(.98);transform:translateY(1px);box-shadow:0 4px #c85a5a}button:disabled{color:#7a8499;cursor:not-allowed;background:#d7deea;box-shadow:0 5px #b9c3d6}input,select,textarea{color:#172033;background:#fff;border:2px solid #e1e7f5;border-radius:18px;width:100%;padding:14px 16px;font-weight:700}input:focus,select:focus,textarea:focus{border-color:#e57373;outline:none;box-shadow:0 0 0 5px #e5737329}label{color:#50607f;gap:8px;font-size:.9rem;font-weight:900;display:grid}a{color:inherit;text-decoration:none}.app-shell{width:min(1080px,100% - 32px);margin:0 auto;padding:24px 0 72px}.topbar{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff0;border:2px solid #e8eef8;border-radius:24px;justify-content:space-between;align-items:center;gap:24px;margin-bottom:48px;padding:12px 14px;display:flex;box-shadow:0 16px 40px #1e293b14}.brand{color:#b85c5c;align-items:center;gap:10px;font-size:1.125rem;font-weight:950;text-decoration:none;display:inline-flex}.brand:hover{color:#a34f4f}.brand-logo{flex-shrink:0;width:auto;height:32px;display:block}.brand-name{letter-spacing:-.02em;line-height:1}.topbar nav{color:#50607f;gap:8px;font-weight:900;display:flex}.topbar nav a{border-radius:999px;justify-content:center;align-items:center;min-height:42px;padding:10px 14px;font-size:1rem;line-height:1;text-decoration:none;display:inline-flex}.topbar nav a:hover{color:#b85c5c;background:#fdecec}.topbar nav a.nav-highlight{color:#fff;background:#e57373;box-shadow:0 4px #c85a5a}.topbar nav a.nav-highlight:hover{filter:brightness(.98);color:#fff;background:#e57373}.hero,.panel{background:#fff;border:2px solid #e8eef8;border-radius:32px;box-shadow:0 20px 50px #1e293b14}.hero{background:linear-gradient(135deg,#e573731f,#0000 34%),linear-gradient(145deg,#fff 0%,#fff8f7 100%);grid-template-columns:minmax(0,1fr);align-items:center;gap:32px;padding:56px;display:grid;overflow:hidden}.panel{padding:34px}.eyebrow{color:#b85c5c;letter-spacing:.08em;margin:0 0 12px;font-size:.875rem;font-weight:950}h1,h2,p{margin-top:0}h1{letter-spacing:-.035em;max-width:720px;margin-bottom:20px;font-size:clamp(2.5rem,6vw,5rem);line-height:1.06}.hero>p:not(.eyebrow){color:#50607f;max-width:620px;font-size:1.125rem}.hero-copy>p:not(.eyebrow){color:#50607f;letter-spacing:-.018em;max-width:560px;font-size:1.28rem;font-weight:800}.hero .eyebrow{color:#b85c5c;letter-spacing:0;background:#fdecec;border-radius:999px;width:fit-content;padding:8px 14px}.hero h1{letter-spacing:-.025em;max-width:560px;font-weight:950}.hero-actions,.link-row{flex-wrap:wrap;align-items:center;gap:12px;margin-top:28px;display:flex}.feature-spotlight-card{background:linear-gradient(135deg,#e5737324,#0000 42%),linear-gradient(145deg,#fff 0%,#fff8f7 100%);border:2px solid #f0dede;border-radius:28px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px;padding:28px 32px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid;box-shadow:0 16px 40px #e573731a}.feature-spotlight-card:hover{border-color:#e57373;transform:translateY(-2px);box-shadow:0 20px 48px #e5737329}.feature-spotlight-icon{color:#b85c5c;background:#fdecec;border-radius:18px;flex-shrink:0;place-items:center;width:56px;height:56px;display:grid;position:relative}.feature-spotlight-icon:before,.feature-spotlight-icon:after{content:"";box-sizing:border-box;position:absolute}.feature-spotlight-icon:before{background:#fff;border:2px solid;border-radius:6px;width:24px;height:30px}.feature-spotlight-icon:after{background:currentColor;border-radius:999px;width:14px;height:2px;transform:translateY(4px);box-shadow:0 5px,0 10px}.feature-spotlight-copy h2{letter-spacing:-.02em;margin:0 0 8px;font-size:1.35rem;font-weight:950}.feature-spotlight-copy p:not(.eyebrow){color:#50607f;margin:0;font-weight:700}.feature-spotlight-copy .eyebrow{margin-bottom:8px}.feature-spotlight-cta{color:#fff;white-space:nowrap;background:#e57373;border-radius:18px;justify-content:center;align-items:center;min-height:48px;padding:0 20px;font-weight:950;display:inline-flex;box-shadow:0 5px #c85a5a}.primary-cta,.secondary-cta{border-radius:18px;justify-content:center;align-items:center;min-height:48px;padding:0 20px;font-weight:950;display:inline-flex}.primary-cta{color:#fff;background:#e57373;box-shadow:0 5px #c85a5a}.secondary-cta{color:#b85c5c;background:#fff;border:2px solid #e1e7f5;box-shadow:0 4px #dce4f3}.compact-link{min-height:48px;padding:0 20px}.stack{gap:24px;display:grid}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.stat-card{background:#fff;border:2px solid #e8eef8;border-radius:26px;padding:22px;box-shadow:0 12px 30px #1e293b0f}.stat-card strong{color:#e57373;font-size:2rem;font-weight:950;line-height:1;display:block}.stat-card span{color:#50607f;font-weight:900}.section-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.section-heading h1,.section-heading h2,.section-heading p{margin-bottom:0}.page-title{font-size:clamp(2rem,5vw,3.25rem)}.inline-form,.card-form,.import-form{gap:16px;display:grid}.inline-form{grid-template-columns:minmax(0,1fr);align-items:end}.inline-form>button{width:fit-content}.inline-form button,.card-form button{min-height:48px;padding:0 20px}.import-form>button{min-height:58px;padding:0 24px}.card-form{grid-template-columns:repeat(2,minmax(0,1fr))}.import-form label:has(textarea){grid-column:1/-1}.import-form .form-field,.import-form .file-drop,.import-form .youtube-import,.card-form .form-field{grid-column:1/-1}.youtube-import{margin-bottom:8px}.youtube-import-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.youtube-import-row input{min-width:0}.youtube-import-row button{white-space:nowrap;min-height:48px;padding:0 20px}.field-hint{color:#7a879c;font-size:.85rem}.field-hint .text-link{font-size:inherit;font-weight:900}.import-divider{color:#7a879c;text-align:center;margin:8px 0 20px;font-size:.9rem;font-weight:800}.form-field{gap:8px;display:grid}.form-field>span,.file-drop>span{color:#50607f;font-size:.9rem;font-weight:900}.segmented-options{background:#fff;border:2px solid #e1e7f5;border-radius:22px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:6px;display:grid}.language-options{flex-wrap:wrap;gap:8px;display:flex}.language-options button{min-height:40px;box-shadow:none;color:#50607f;background:#fff;border:2px solid #e1e7f5;border-radius:999px;padding:0 14px}.language-options button:hover{box-shadow:none;background:#fff8f7;transform:none}.language-options button.is-active{color:#b85c5c;background:#fdecec;border-color:#e57373}.segmented-options button{min-height:48px;box-shadow:none;color:#50607f;background:0 0;border-radius:16px}.segmented-options button:hover{box-shadow:none;background:#fff8f7;transform:none}.segmented-options button.is-active{color:#fff;background:#e57373;box-shadow:0 4px #c85a5a}.file-drop{cursor:pointer;background:#fffdfc;border:2px dashed #e5d3d3;border-radius:22px;justify-items:start;gap:8px;padding:18px;display:grid;position:relative}.file-drop:hover{background:#fff8f7;border-color:#e57373}.file-drop strong{color:#b85c5c;background:#fdecec;border-radius:999px;padding:10px 14px;font-size:.95rem;font-weight:950}.file-drop small{color:#66708f;font-weight:700}.file-drop input{opacity:0;cursor:pointer;position:absolute;inset:0}.create-panel,.form-panel{background:linear-gradient(#e5737314,#0000),#fff}.card-form label:has(textarea){grid-column:1/-1}.compact-row{margin-top:0}.deck-grid,.card-list{gap:16px;display:grid}.deck-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.deck-card,.word-card{background:#fbfcff;border:2px solid #e8eef8;border-radius:26px}.deck-card{cursor:pointer;gap:28px;padding:24px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.deck-card:hover,.deck-card:focus{border-color:#e57373;outline:none;transform:translateY(-2px);box-shadow:0 16px 40px #e5737324}.deck-card h3,.word-card h3{margin:0}.deck-card p,.muted,.empty-state{color:#66708f}.deck-icon,.mode-icon{color:#b85c5c;background:#fdecec;border-radius:18px;place-items:center;width:52px;height:52px;margin-bottom:14px;display:grid;position:relative}.deck-icon:before,.deck-icon:after,.mode-icon:before,.mode-icon:after{content:"";box-sizing:border-box;position:absolute}.deck-icon:before{background:#fff8f7;border:2px solid;border-radius:6px;width:23px;height:28px;transform:rotate(-8deg)translate(-3px)}.deck-icon:after{background:#fff;border:2px solid;border-radius:6px;width:23px;height:28px;transform:rotate(7deg)translate(4px)}.mode-icon-cards:before,.mode-icon-cards:after{background:#fff;border:2px solid;border-radius:6px;width:22px;height:28px}.mode-icon-cards:before{transform:rotate(-10deg)translate(-4px)}.mode-icon-cards:after{transform:rotate(9deg)translate(5px)}.mode-icon-target:before{border:2px solid;border-radius:50%;width:28px;height:28px}.mode-icon-target:after{border:2px solid;border-radius:50%;width:10px;height:10px}.mode-icon-blank:before{background:#fff;border:2px solid;border-radius:6px;width:28px;height:18px}.mode-icon-blank:after{background:currentColor;border-radius:999px;width:22px;height:2px;transform:translateY(14px)}.mode-icon-mic:before{border:2px solid;border-radius:999px;width:16px;height:24px}.mode-icon-mic:after{border-bottom:2px solid;border-left:2px solid;border-right:2px solid;border-radius:0 0 999px 999px;width:24px;height:18px;transform:translateY(5px)}.deck-meta,.word-card-header,.card-actions{align-items:center;gap:12px;display:flex}.word-card-header{justify-content:space-between}.deck-meta{grid-template-columns:auto auto;justify-content:space-between;align-items:center;gap:10px;display:grid}.deck-meta span,.count-pill,.word-card-header span{color:#b85c5c;background:#fdecec;border-radius:999px;padding:6px 10px;font-size:.85rem;font-weight:950}.text-link{color:#b85c5c;font-weight:950}.text-danger-link{box-shadow:none;color:#b42318;background:0 0;padding:0;font-weight:950}.deck-menu{justify-self:end;position:relative}.deck-menu summary{color:#b85c5c;cursor:pointer;border-radius:999px;place-items:center;width:34px;height:34px;font-size:.9rem;font-weight:950;list-style:none;display:grid}.deck-menu summary::-webkit-details-marker{display:none}.deck-menu summary:hover{background:#fdecec}.deck-menu-popover{z-index:3;background:#fff;border:1px solid #f0dede;border-radius:16px;width:max-content;min-width:150px;padding:8px;position:absolute;bottom:calc(100% + 8px);right:0;box-shadow:0 14px 32px #1e293b24}.deck-menu-item{width:100%;box-shadow:none;color:#50607f;text-align:left;white-space:nowrap;background:0 0;border-radius:12px;padding:10px 12px;font-weight:900;display:block}.deck-menu-item:hover{box-shadow:none;background:#fff8f7;text-decoration:none;transform:none}.danger-menu-item{color:#b42318}.text-link:hover,.text-danger-link:hover{box-shadow:none;background:0 0;text-decoration:underline;transform:none}.word-card{gap:20px;padding:20px;display:grid}.word-card-header{align-items:flex-start}.card-token{color:#b77900;background:#fff5d6;border-radius:999px;width:fit-content;margin-bottom:6px;padding:4px 8px;font-size:.75rem;font-weight:950}.translation{color:#172033;margin-bottom:8px;font-weight:950}.sentence{color:#50607f;margin-bottom:8px}.card-actions{flex-wrap:wrap}.candidate-list{gap:14px;display:grid}.summary-notebook{background:#fffdf8;border:2px solid #ead9cf;border-radius:24px;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffffb3}.summary-notebook-header{background:linear-gradient(#fff9f2 0%,#fffdf8 100%);border-bottom:2px dashed #ead9cf;padding:18px 24px 18px 32px}.summary-notebook-label{color:#b85c5c;letter-spacing:.08em;font-size:.82rem;font-weight:950}.summary-notebook-header h3{color:#172033;margin-top:6px;font-size:1.12rem;font-weight:950;line-height:1.45}.summary-notebook-body{background-color:#fffdf8;background-image:repeating-linear-gradient(#0000,#0000 31px,#f3ebe3 31px 32px);padding:22px 24px 26px 36px;position:relative}.summary-notebook-body:before{content:"";background:#e89898b3;width:2px;position:absolute;top:0;bottom:0;left:22px}.summary-note-block{margin-bottom:22px;position:relative}.summary-note-block:last-child{margin-bottom:0}.summary-note-block h4{color:#172033;border-bottom:2px solid #f0dede;align-items:center;gap:8px;margin-bottom:10px;padding-bottom:6px;font-size:.95rem;font-weight:950;display:inline-flex}.summary-note-block h4:before{content:"";background:#e57373;border-radius:999px;width:8px;height:8px}.summary-note-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.summary-note-list li{color:#172033;padding-left:18px;font-weight:700;line-height:1.75;position:relative}.summary-note-list.is-bullet li:before{color:#c85a5a;content:"•";font-weight:900;position:absolute;left:0}.summary-note-list.is-numbered{counter-reset:note-item}.summary-note-list.is-numbered li{counter-increment:note-item;padding-left:24px}.summary-note-list.is-numbered li:before{color:#c85a5a;content:counter(note-item) ".";font-weight:950;position:absolute;left:0}.summary-note-list li::selection{color:#b85c5c;background:#fdecec}.selection-toolbar{background:#fffdfc;border:2px solid #f0dede;border-radius:20px;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding:12px;display:flex}.selection-toolbar span{color:#50607f;font-weight:900}.selection-toolbar button{min-height:44px;padding:0 16px}.form-selection-toolbar{grid-column:1/-1;margin-top:-4px}.target-box{background:#fffdfc;border:2px solid #e8eef8;border-radius:24px;gap:16px;margin-bottom:18px;padding:18px;display:grid}.manual-word-form{background:#fffdfc;border:2px solid #e8eef8;border-radius:24px;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:12px;margin-bottom:18px;padding:18px;display:grid}.manual-word-form button{min-height:48px;padding:0 18px}.candidate-card{background:#fbfcff;border:2px solid #e8eef8;border-radius:24px;gap:12px;padding:18px;display:grid}.candidate-card p{color:#66708f;margin-bottom:0;font-size:.95rem;font-weight:700}.check-row{color:#172033;grid-template-columns:none;align-items:center;gap:10px;display:flex}.check-row input{accent-color:#e57373;width:18px;height:18px}.check-row span{font-size:1.1rem;font-weight:950}.check-row small{color:#b85c5c;background:#fdecec;border-radius:999px;margin-left:auto;padding:4px 8px;font-weight:950}.sticky-actions{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffeb;border:2px solid #e8eef8;border-radius:22px;justify-content:flex-end;margin-top:18px;padding:12px;display:flex;position:sticky;bottom:16px;box-shadow:0 14px 32px #1e293b17}.card-actions button,.secondary-button,.danger-button{padding:10px 14px}.secondary-button{color:#50607f;background:#fff;border:2px solid #e1e7f5;box-shadow:0 4px #dce4f3}.secondary-button:hover{background:#f0f3fb;box-shadow:0 3px #dce4f3}.danger-button{color:#b42318;background:#ffe8e8;box-shadow:0 4px #ffc3c3}.danger-button:hover{background:#ffd3d3;box-shadow:0 3px #ffc3c3}.form-message{color:#b85c5c;background:#fdecec;border-radius:999px;width:fit-content;margin:16px 0 0;padding:10px 14px;font-weight:950}.empty-state{text-align:center;background:#fbfcff;border:2px dashed #d7deea;border-radius:24px;justify-items:center;gap:6px;padding:36px 20px;display:grid}.empty-state strong{color:#172033;font-size:1.1rem;font-weight:950}.progress-strip{gap:14px;display:grid}.progress-strip strong,.progress-strip span{display:block}.progress-strip strong{font-size:1.15rem;font-weight:950}.progress-strip span{color:#66708f;font-weight:700}.progress-bar{background:#e8eef8;border-radius:999px;height:18px;overflow:hidden}.progress-bar span{border-radius:inherit;background:linear-gradient(90deg,#e57373,#f2a0a0);height:100%;display:block}.mode-hero p:not(.eyebrow){color:#50607f;font-weight:700}.mode-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;display:grid}.mode-card{background:#fff;border:2px solid #e8eef8;border-radius:28px;align-content:start;gap:12px;min-height:240px;padding:22px;display:grid;box-shadow:0 14px 32px #1e293b12}.mode-card h3,.mode-card p{margin-bottom:0}.mode-card h3{font-size:1.15rem;font-weight:950}.mode-card p{color:#66708f;min-height:48px;font-weight:700}.mode-card button{min-height:44px;margin-top:auto}.study-header{justify-content:space-between;align-items:center;gap:24px;display:flex}.study-header h2{margin-bottom:0}.study-progress{color:#66708f;gap:10px;min-width:220px;font-weight:950;display:grid}.study-panel{gap:24px;display:grid}.study-panel>button:not(.flashcard),.answer-form>button{min-height:58px;padding:0 24px}.flashcard{color:#172033;text-align:center;background:linear-gradient(145deg,#fff8f7,#fff);border:2px solid #f2d8cc;border-radius:32px;place-items:center;gap:12px;min-height:300px;display:grid;box-shadow:0 8px #f2d8cc}.flashcard:hover{box-shadow:0 7px #f2d8cc}.flashcard span{letter-spacing:-.03em;font-size:clamp(2rem,8vw,4rem);font-weight:950}.flashcard small{color:#66708f;max-width:560px;font-size:1rem;font-weight:800}.question-card{background:#fbfcff;border:2px solid #e8eef8;border-radius:28px;justify-items:stretch;gap:16px;padding:24px;display:grid}.question-card>button{justify-self:start;width:124px;min-height:42px;padding:0 14px}.question-card h2{margin-bottom:0;font-size:clamp(1.8rem,5vw,3rem)}.option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.option-button{text-align:left;justify-content:flex-start;min-height:64px}.content-quiz-actions{gap:10px;margin-top:18px;display:grid}.content-quiz-actions>button{width:100%;min-height:58px;padding:0 24px}.content-quiz-panel{gap:20px;display:grid}.content-quiz-progress{min-width:0}.content-quiz-question{background:#fff8f1;border-color:#f2d8cc}.content-quiz-prompt{color:#172033;white-space:pre-line;margin:0;font-size:1.15rem;font-weight:900;line-height:1.6}.content-quiz-option.is-correct{background:#eefaf2;border-color:#7fbf9b}.content-quiz-option.is-wrong{background:#fff1f1;border-color:#e3a0a0}.content-quiz-review{gap:12px;display:grid}.content-quiz-review-card{background:#fbfcff;border:2px solid #e8eef8;border-radius:20px;padding:16px}.content-quiz-review-card p{margin:0}.content-quiz-review-card p+p{color:#172033;margin-top:8px;font-weight:800}.answer-form{gap:18px;display:grid}.blank-prompt,.sentence-answer{color:#172033;background:#fff8f1;border:2px dashed #e6c9b8;border-radius:24px;padding:22px;font-size:1.25rem;font-weight:950}.word-bank{flex-wrap:wrap;gap:10px;display:flex}.recognized-text{color:#b85c5c;background:#fdecec;border-radius:18px;padding:14px 16px;font-weight:900}.feedback{border-radius:24px;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.feedback.is-correct{color:#b85c5c;background:#fdecec}.feedback.is-wrong{color:#b42318;background:#ffe8e8}.content-quiz-panel .feedback button,.content-quiz-panel .link-row button,.content-quiz-action-button{flex-shrink:0;width:128px;min-height:54px;padding:0 20px}.result-panel{gap:18px;display:grid}.result-panel .link-row{align-items:stretch}.result-panel .link-row button,.result-panel .link-row .secondary-cta{width:112px;min-height:48px;padding:0 16px}.result-score{color:#b85c5c;background:#fdecec;border-radius:28px;gap:4px;width:fit-content;padding:22px 28px;display:grid}.result-score strong{font-size:3rem;font-weight:950;line-height:1}.result-score span{font-weight:900}@media (width<=640px){.topbar{flex-direction:column;align-items:flex-start}.hero,.panel{padding:32px 24px}.hero{grid-template-columns:1fr}.feature-spotlight-card{grid-template-columns:1fr;gap:18px;padding:24px}.feature-spotlight-cta{width:100%}.stats-grid{grid-template-columns:1fr}.section-heading,.deck-meta{align-items:flex-start}.deck-meta{grid-template-columns:auto auto;width:100%}.deck-meta span{width:fit-content}.inline-form,.card-form,.import-form,.youtube-import-row{grid-template-columns:1fr}.youtube-import-row button{width:100%}.compact-row,.sticky-actions,.selection-toolbar{flex-direction:column;align-items:stretch}.sticky-actions button,.selection-toolbar button{width:100%}.segmented-options,.manual-word-form{grid-template-columns:1fr}.study-header{flex-direction:column;align-items:flex-start}.study-progress{width:100%;min-width:0}.option-grid{grid-template-columns:1fr}}
