
:root{--ink:#182338;--muted:#68758a;--line:#e5eaf1;--blue:#315efb;--bg:#f4f7fc}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--ink)}.wrap{max-width:850px;margin:28px auto;padding:16px}.panel{background:white;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 12px 35px #23395b0d}.top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.tag{background:#edf2ff;color:#315efb;border-radius:30px;padding:7px 12px;font-size:13px;font-weight:700}h1{font-size:clamp(25px,5vw,36px);margin:6px 0}.sub{color:var(--muted);margin:0 0 20px}.controls{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}select,button{font:inherit;border-radius:12px;padding:11px 14px;border:1px solid var(--line);background:white;color:var(--ink)}button{cursor:pointer;font-weight:650}button.primary{background:var(--blue);color:white;border-color:var(--blue)}button:disabled{opacity:.5;cursor:not-allowed}.stats{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.stat{background:#f6f8fc;border:1px solid var(--line);padding:9px 13px;border-radius:12px;font-size:14px}.bar{height:9px;background:#edf0f5;border-radius:20px;overflow:hidden;margin:15px 0 22px}.bar>div{height:100%;background:var(--blue);width:0;transition:.2s}.qno{font-size:14px;color:var(--muted);font-weight:700}.prompt{font-size:clamp(23px,4vw,30px);font-weight:800;margin:8px 0 5px}.hint{color:var(--muted);margin-bottom:20px}.answers{display:grid;grid-template-columns:1fr 1fr;gap:12px}.answer{text-align:left;min-height:62px;font-size:17px;display:flex;align-items:center;gap:12px}.letter{width:30px;height:30px;border-radius:9px;background:#f0f3f9;display:grid;place-items:center;font-size:13px;font-weight:800;flex:none}.answer.correct{border-color:#159b62;background:#edfbf4}.answer.wrong{border-color:#df5353;background:#fff2f2}.feedback{min-height:60px;margin-top:16px;padding:13px 15px;border-radius:13px;background:#f6f8fc;color:var(--muted)}.feedback.good{background:#edfbf4;color:#126c48}.feedback.bad{background:#fff2f2;color:#a72c2c}.bottom{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:16px}.hidden{display:none}.result{text-align:center;padding:22px 0}.score{font-size:54px;font-weight:850;color:var(--blue)}.review{text-align:left;margin-top:20px;overflow-x:auto}.review li{margin:8px 0}.small{font-size:12px;color:var(--muted);line-height:1.5;margin-top:18px}@media(max-width:560px){.answers{grid-template-columns:1fr}.panel{padding:18px}.wrap{margin:8px auto}}

:root{--ink:#2c392d;--muted:#7c8174;--line:#e4e5d9;--blue:#526846;--bg:#fafaf5;--peach:#f0dcc9;--green:#526846}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{background:var(--bg);font-family:'Be Vietnam Pro',sans-serif;font-size:14px;line-height:1.6;color:var(--ink);margin:0}button,select,input{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c49364;outline-offset:4px}button{transition:background .18s,transform .18s}button:hover:not(:disabled){background:#e9eddf;transform:translateY(-2px)}button.primary:hover:not(:disabled){background:#3f5435}a{color:inherit;text-decoration:none}.site-header{max-width:1320px;margin:auto;padding:24px 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:28px}.brand{font-weight:700;font-size:18px;letter-spacing:-.7px;display:flex;align-items:center;gap:10px}.brand-icon{font-family:'Lora',serif;background:#526846;color:#fafaf5;width:37px;height:37px;border-radius:13px 13px 13px 3px;display:grid;place-items:center;font-size:27px}.brand-dot{color:#c48961}.site-header nav{display:flex;gap:32px;font-size:13px;font-weight:500}.site-header nav a:first-child{color:#4e6743}.site-header nav a:hover{color:#a76d47}.header-note{font-size:11px;color:var(--muted)}.wrap{max-width:1220px;margin:0 auto;padding:0 34px}.wrap>main.panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.hero{display:grid;grid-template-columns:1.15fr 1fr;gap:30px;align-items:center;min-height:430px;padding:53px 0 49px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;display:flex;align-items:center;gap:9px;color:#758168}.eyebrow>span{width:6px;height:6px;border-radius:50%;background:#829869}.hero h1{font-family:'Lora',serif;font-weight:500;letter-spacing:-2px;font-size:clamp(36px,4.3vw,57px);line-height:1.22;margin:22px 0 19px}.hero .sub{max-width:410px;font-size:13px;line-height:1.9;margin:0;color:#7b7f71}.hero-facts{display:flex;align-items:center;gap:13px;margin-top:28px;font-size:10px;color:#767c6d}.hero-facts i{width:3px;height:3px;border-radius:50%;background:#b7baaa}.hero-art{height:324px;position:relative;background:radial-gradient(ellipse,#ecebdc 0%,transparent 67%)}.hero-tile{position:absolute;background:#fffdf6;border:1px solid #e9e3d5;padding:10px 10px 8px;border-radius:13px;box-shadow:0 15px 26px #4247330c}.hero-tile img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:7px}.hero-tile>span{font-family:'Lora',serif;font-size:21px;display:flex;align-items:center;justify-content:space-between;padding:7px 5px 0}.hero-tile small{font-family:'Be Vietnam Pro',sans-serif;font-size:10px;color:#8a8d7e}.tile-one{width:209px;left:25px;top:32px;transform:rotate(-9deg);z-index:1}.tile-two{width:168px;right:16px;top:93px;transform:rotate(11deg);z-index:2}.art-doodle{font-family:'Lora',serif;font-style:italic;position:absolute;right:18px;top:14px;color:#9c825e;font-size:18px;transform:rotate(7deg)}.art-caption{position:absolute;bottom:0;left:45px;letter-spacing:1px;color:#8d927f;font-size:10px}.practice{background:#eff1e7;border:1px solid #e4e8d8;border-radius:17px;padding:28px 32px;display:flex;flex-wrap:wrap;align-items:end;gap:16px 24px}.section-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;width:100%}.section-intro h2{font-family:'Lora',serif;font-size:27px;font-weight:500;letter-spacing:-.8px;line-height:1.4;margin:8px 0}.section-intro p{color:var(--muted);font-size:12px;margin:4px 0 0}.practice .section-intro{margin-bottom:2px}.little-label{color:#828977;font-size:10px;white-space:nowrap}.practice .controls{display:flex;flex-direction:column;align-items:stretch!important;gap:8px;flex:1;margin:0}.controls label{font-size:11px;font-weight:500!important}.practice .controls select{width:100%;min-width:120px}select,button{padding:12px 15px;border-radius:9px;border:1px solid #dfe3d5;background:#fffef8;color:var(--ink)}.primary{background:var(--green)!important;border-color:var(--green)!important;color:white!important;font-size:12px;font-weight:500;padding:14px 23px}#start{min-height:49px;white-space:nowrap}.practice>.small{width:100%;font-size:10px;line-height:1.7;margin:0!important;color:#8b917f}.library{padding:55px 0 45px}.library-toolbar{display:flex;gap:15px;margin-bottom:24px}.search-box{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:9px;padding:0 16px;background:#fffef9;flex:1}.search-box span{font-size:26px;color:#8b917e}.search-box input{width:100%;background:none;border:0;padding:12px 0;font-size:12px;color:var(--ink);outline-offset:0}.library-toolbar select{font-size:12px;min-width:195px}.word-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.word-card{overflow:hidden;border:1px solid #e6e6db;background:#fffef9;border-radius:13px;transition:transform .2s,box-shadow .2s}.word-card:hover{transform:translateY(-4px);box-shadow:0 10px 20px #34422d09}.word-picture{position:relative;background:#f5f1e3;aspect-ratio:1.15;overflow:hidden}.word-picture img{display:block;width:100%;height:100%;object-fit:cover}.ai-label{position:absolute;top:10px;left:10px;background:#ffffffbd;color:#858b74;border:1px solid #e4e4d7;border-radius:5px;font-size:8px;letter-spacing:1px;padding:2px 6px}.word-info{padding:15px 16px 18px;display:flex;align-items:center;justify-content:space-between;gap:8px}.word-topic{font-size:8px;color:#989c8b;letter-spacing:.4px}.word-info h3{margin:3px 0 1px;font-size:18px;letter-spacing:-.5px;font-weight:600}.word-info p{font-size:11px;color:#858a7b;margin:0}.sound-button{border-radius:50%;border:1px solid #e3e7d8;width:35px;height:35px;padding:8px;flex-shrink:0;background:#f5f7ee;color:#6a7b5e}.sound-button svg{width:100%;height:100%}.more-button{display:block;margin:28px auto 0;font-size:11px;background:transparent;padding:12px 25px}.empty{grid-column:1/-1;padding:30px;text-align:center;color:var(--muted)}.progress-section{padding:20px 0 30px;border-top:1px solid var(--line)}.progress-section>.panel{border:1px solid var(--line);border-radius:14px;background:#fffef9!important;padding:22px!important}.progress-section .stat{background:#f2f4e9;border:0;color:#78846a;font-size:11px}#topicStats{overflow-x:auto}#topicStats table{font-size:11px!important}#resetStats{font-size:10px;padding:8px 12px;background:transparent}#saveStatus{font-size:10px;color:#8b927d}main>.small{font-size:10px;border-top:1px solid var(--line);padding-top:20px;color:#989c8d}footer{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:28px 0 35px;color:#9a9f8e;font-size:10px}footer .brand{color:#526846;font-size:15px}#quiz,#result{background:#fffef9;border:1px solid var(--line);border-radius:18px;padding:30px;margin:0 0 30px}.quiz-content{display:grid;grid-template-columns:1fr 1.5fr;align-items:center;gap:35px}.quiz-picture img{width:100%;height:auto;border-radius:13px;display:block}.quiz-picture{max-width:320px}.answers{gap:10px}.answer{font-size:16px;min-height:63px;background:#fffef9}.letter{background:#f0f2e8;color:#79886c}.hint{font-size:12px}.feedback{font-size:13px;background:#f3f4eb}.stat{background:#f4f5ed;border-color:var(--line);font-size:12px}.bar{background:#ecefe3}.bar>div{background:#8da376}.qno{letter-spacing:2px;font-size:11px}.prompt{font-family:'Lora',serif;font-size:32px}.bottom button{font-size:11px}.tag{background:#edf1e4;color:var(--green)}.score{color:var(--green)}.review img{width:75px;height:75px;border-radius:10px;vertical-align:middle;margin:8px 12px 8px 0}.hidden{display:none!important}@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.hero-copy,.practice,.library{animation:rise .6s ease both}.practice{animation-delay:.1s}.library{animation-delay:.2s}@media(min-width:1200px){.tile-two{right:35px}.tile-one{left:70px}}@media(max-width:900px){.header-note{display:none}.word-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{gap:12px}.tile-one{width:185px;left:0}.tile-two{width:140px;right:0}.hero-art{height:300px}.hero h1{font-size:43px}.practice{gap:16px}.practice>.controls{min-width:210px}.quiz-content{gap:20px}.answers{grid-template-columns:1fr}.hero-facts{gap:9px}.little-label{white-space:normal}}@media(max-width:600px){.site-header{padding:17px 20px;gap:15px;flex-wrap:wrap}.brand{font-size:16px}.site-header nav{gap:21px;font-size:11px}.wrap{padding:0 20px}.hero{grid-template-columns:1fr;padding:35px 0 25px;gap:10px}.hero h1{font-size:43px}.hero .sub{max-width:330px}.hero-art{height:270px;max-width:350px;width:100%;margin:auto}.tile-one{width:175px;left:22px;top:25px}.tile-two{width:136px;right:15px;top:65px}.art-doodle{top:3px;font-size:15px}.art-caption{bottom:8px;left:35px}.hero-facts{margin-top:20px}.practice{padding:22px}.practice>.controls{min-width:100%;flex:auto}.practice #start{width:100%;margin-top:3px}.section-intro{align-items:start;gap:12px}.section-intro h2{font-size:25px}.section-intro .little-label{display:none}.library{padding-top:35px}.library-toolbar{flex-direction:column;gap:10px}.word-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.word-info{padding:10px}.word-info h3{font-size:16px}.word-topic{font-size:7px}.sound-button{width:29px;height:29px;padding:6px}.word-info p{font-size:10px}.quiz-content{grid-template-columns:1fr;gap:22px}.quiz-picture{max-width:230px;margin:auto}#quiz,#result{padding:18px}.answer{min-height:55px}.answers{grid-template-columns:1fr 1fr}.prompt{font-size:28px}.bottom{align-items:stretch}.bottom>div{width:100%}.bottom>.primary{width:100%}footer{flex-wrap:wrap;padding-bottom:25px;font-size:9px}footer .brand{width:100%}.hero-copy .eyebrow{font-size:9px}.progress-section>.panel{padding:15px!important}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
