@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@400;500;600;700&display=swap');500;600;700&family=Nunito:wght@400;600;700;800;900&display=swap');
:root{--bg:#f7f6ef;--paper:#fffef9;--ink:#263f35;--muted:#7c877a;--green:#416b45;--light:#e8edda;--line:#e6e7dc;--orange:#db8856;--pink:#ead3cb}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #db8856;outline-offset:4px}button{border:0;background:none}h1,h2,h3,h4,.brand{font-family:'Nunito',sans-serif}h1,h2,h3,h4,p{margin-top:0}a{color:inherit}header{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:48px;padding:0 4.6%;background:#fbfaf5}.brand{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:900;letter-spacing:-1px}.brand small{display:block;font:9px 'DM Sans',sans-serif;letter-spacing:2.6px;margin-top:1px}.brand-mark{background:var(--green);color:#f7edcf;width:38px;height:43px;border-radius:14px 14px 10px 10px;display:grid;place-items:center;font-size:28px}nav{display:flex;align-self:stretch;gap:26px}nav button{position:relative;padding:0 2px;font-size:13px;color:#7a8278}nav button.active{color:var(--green);font-weight:700}nav button.active:after{content:'';position:absolute;height:3px;border-radius:5px;background:var(--green);bottom:0;left:0;right:0}.account{margin-left:auto;display:flex;align-items:center;gap:20px}.currency{color:var(--green);font-weight:700;white-space:nowrap}.avatar{background:#e9d8bb;width:39px;height:39px;border-radius:50%;display:grid;place-items:center;font-size:23px;border:3px solid white}.layout{max-width:1490px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;padding:32px 4.6%}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:2px;font-weight:700;color:var(--green)}.greeting{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.greeting h1{font-size:28px;letter-spacing:-.7px;margin:7px 0 4px;font-weight:900}.greeting p{font-size:13px;color:var(--muted);margin:0}.pill{border:1px solid #e3e5d7;border-radius:30px;padding:8px 12px;background:#fbfaf4;font-size:11px;color:#788267;white-space:nowrap}.hero{height:340px;border-radius:19px;overflow:hidden;position:relative;background:#e6ead9}.hero svg{height:100%;width:100%;position:absolute;inset:0}.hero-copy{position:relative;z-index:1;padding:34px;max-width:49%}.hero-copy .eyebrow{font-size:9px;letter-spacing:1.8px}.hero h2{font-size:35px;line-height:1.12;letter-spacing:-.8px;font-weight:900;margin:13px 0}.hero p{line-height:1.7;font-size:12px;color:#6c7e62}.btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;border-radius:9px;padding:13px 20px;background:var(--green);color:#fffdf4;font-weight:700;font-size:12px;transition:transform .2s,background .2s}.btn:hover{background:#315735;transform:translateY(-2px)}.btn.secondary{color:var(--green);background:#edf0e3}.btn.outline{background:transparent;color:var(--green);border:1px solid #cdd6c3}.hero-tag{position:absolute;right:20px;bottom:17px;font-size:10px;color:#526444;background:#fffcedc9;padding:7px 12px;border-radius:20px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:26px 0 15px}.section-head h2{font-size:18px;margin:0;font-weight:900}.text-btn{font-size:11px;color:#738663;font-weight:600;padding:5px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.lesson-card{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:17px;text-align:left;transition:transform .2s,box-shadow .2s}.lesson-card:hover{transform:translateY(-3px);box-shadow:0 8px 18px #304a3010}.lesson-art{height:85px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:64px;margin-bottom:14px;position:relative;color:#4a684b}.lesson-art:before{content:'';width:76px;height:48px;background:#fff9;position:absolute;transform:rotate(-12deg);border-radius:50%}.lesson-art span{z-index:1;filter:drop-shadow(2px 4px 0 #0001)}.lesson-card:nth-child(1) .lesson-art{background:#e9eddc}.lesson-card:nth-child(2) .lesson-art{background:#eee2d8}.lesson-card:nth-child(3) .lesson-art{background:#dfe8e6}.mini{font-size:9px;color:var(--muted);letter-spacing:1.2px;text-transform:uppercase}.lesson-card h3{font-size:15px;margin:6px 0}.lesson-card p{font-size:11px;color:var(--muted);margin:0 0 16px;line-height:1.6}.lesson-foot{display:flex;justify-content:space-between;font-size:10px;color:#849078;border-top:1px solid var(--line);padding-top:12px}.chapter-strip{margin-top:24px;display:flex;align-items:center;gap:15px;background:#eeeddf;border:1px solid #e5e3d4;padding:17px 20px;border-radius:12px}.chapter-strip .cup{font-size:29px}.chapter-strip h3{font-size:13px;margin:0 0 3px}.chapter-strip p{font-size:11px;color:var(--muted);margin:0}.chapter-strip button{margin-left:auto}.side-card{background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:20px;margin-bottom:18px}.side-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.side-title h2{font-size:14px;font-weight:900;margin:0}.side-title span{font-size:10px;color:var(--muted)}.profile{display:flex;align-items:center;gap:13px}.profile .avatar{height:52px;width:52px;font-size:32px;background:#f0e5d0}.profile h3{font-size:15px;margin:0 0 5px}.profile p{font-size:11px;margin:0;color:var(--muted)}.xp-row{font-size:10px;display:flex;justify-content:space-between;margin:21px 0 7px;color:#87917c}.progress{height:6px;border-radius:9px;background:#edf0e5;overflow:hidden}.progress div{height:100%;background:#81985e;border-radius:9px}.stats{display:grid;grid-template-columns:repeat(3,1fr);margin-top:20px;text-align:center}.stats div+div{border-left:1px solid var(--line)}.stats b{display:block;font-size:17px;font-family:'Nunito';margin-bottom:4px}.stats span{font-size:9px;color:var(--muted)}.rival{background:#f3ebe2;border-color:#e9dfd3}.fox{font-size:42px;border-radius:50%;height:65px;width:65px;background:#edddc7;display:grid;place-items:center}.rival .profile h3{font-size:18px}.rival .profile p{font-size:10px}.rival blockquote{margin:14px 0;font-size:12px;line-height:1.7;font-style:italic;color:#8c7c67}.rival .btn{width:100%;background:#fffaf2;color:#796c54;border:1px solid #e4d9c9}.shop-scene{height:112px;position:relative;margin:8px 0 12px;background:#f1f1e5;border-radius:9px;overflow:hidden}.shop-scene svg{height:100%;width:100%}.shop-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin:11px 0}.shop-label span{font-size:9px;color:var(--muted)}.side-card>p{font-size:11px;line-height:1.6;color:var(--muted);margin-bottom:13px}.shop-progress{display:flex;justify-content:space-between;font-size:9px;color:#8b937d;margin-bottom:7px}.upgrade{width:100%;margin-top:14px;padding:10px}.bottom-note{display:flex;justify-content:space-between;gap:10px;color:#93998b;font-size:10px;margin:22px 0 0}.bottom-note span:first-child{color:#7d8a6e}.page-title{margin:0 0 10px;font-size:32px;letter-spacing:-.8px}.subtext{color:var(--muted);line-height:1.7;font-size:13px}.worlds{display:flex;flex-direction:column;gap:14px}.world-card{display:flex;gap:20px;align-items:center;padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}.world-icon{font-size:35px;background:#e7ecdc;border-radius:15px;width:75px;height:75px;display:grid;place-items:center;flex-shrink:0}.world-card h3{margin:5px 0;font-size:19px}.world-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.world-card button{margin-left:auto;white-space:nowrap}.world-card.locked{opacity:.65}.explorer{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:24px;background:var(--paper);border:1px solid var(--line);border-radius:15px}.piece-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:20px 0}.piece-tabs button{width:42px;height:44px;background:#eceee3;font-size:28px;border-radius:7px}.piece-tabs button.active{background:#59774e;color:white}.board{display:grid;grid-template-columns:repeat(8,1fr);aspect-ratio:1;width:100%;border:7px solid #52684b;border-radius:6px;overflow:hidden}.square{position:relative;aspect-ratio:1;display:grid;place-items:center;font-family:Georgia,serif;font-size:clamp(21px,3.8vw,43px);padding:0;background:#f1ead8;color:#fff9e8;text-shadow:0 1px 1px #253a20,1px 0 #253a20,-1px 0 #253a20;line-height:1}.square.dark{background:#91a47c}.square.blackpiece{color:#304331;text-shadow:0 1px 0 #f9f1db}.square.selected{background:#d5bd6f}.square.target:after{content:'';position:absolute;width:23%;height:23%;border-radius:50%;background:#3c644c6b}.square.capture:after{width:85%;height:85%;border:4px solid #cf9475;background:none}.square small{position:absolute;bottom:2px;left:3px;font:7px sans-serif;text-shadow:none;color:#29452e;opacity:.7}.rule{background:#f1f2e7;padding:15px;border-radius:9px;line-height:1.8;font-size:13px;margin:15px 0}.game-layout{display:grid;grid-template-columns:minmax(230px,1fr) 220px;gap:22px;padding:22px;background:var(--paper);border:1px solid var(--line);border-radius:16px}.game-player{display:flex;justify-content:space-between;margin:0 0 10px;font-size:12px}.game-controls{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}.game-controls .btn{padding:10px 12px;font-size:11px}.status{background:#eef1e5;padding:16px;border-radius:10px;line-height:1.7;font-size:13px;margin-bottom:15px}.move-list{max-height:170px;overflow:auto;font-size:12px;color:var(--muted);line-height:2.2;word-spacing:7px}.tip{font-size:12px;line-height:1.8;color:var(--muted)}.badge-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.badge{background:var(--paper);border:1px solid var(--line);padding:25px;border-radius:12px;text-align:center}.badge .emoji{font-size:40px}.badge h3{margin:15px 0 8px}.badge p{color:var(--muted);font-size:12px}.badge.dim{opacity:.55}dialog{border:1px solid var(--line);border-radius:20px;background:var(--paper);color:var(--ink);padding:35px;max-width:510px;width:calc(100% - 32px);box-shadow:0 20px 100px #172e2833}dialog::backdrop{background:#263f3566;backdrop-filter:blur(4px)}dialog h2{font-size:27px}dialog p{line-height:1.8;color:var(--muted);font-size:13px}#close{position:absolute;right:13px;top:8px;font-size:27px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,30px);opacity:0;background:var(--ink);color:white;padding:14px 24px;border-radius:30px;transition:.2s;pointer-events:none;z-index:10;font-size:13px;max-width:90%;text-align:center}#toast.show{transform:translate(-50%,0);opacity:1}.shop-big{height:250px;background:#ecefdc;border-radius:15px;margin-bottom:22px}.shop-big svg{width:100%;height:100%}.upgrade-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.upgrade-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:20px}.upgrade-card h3{font-size:16px}.upgrade-card p{font-size:12px;color:var(--muted);line-height:1.7}.upgrade-card .btn{width:100%;padding:12px 8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0)}footer{max-width:1490px;margin:0 auto;padding:3px 4.6% 25px;display:flex;justify-content:space-between;font-size:10px;color:#9a9f91}button:disabled{cursor:default;opacity:.5;transform:none}@media(min-width:1550px){.hero{height:390px}.hero h2{font-size:43px}.hero-copy{padding:45px}.hero p{font-size:14px}.lesson-art{height:110px}}@media(max-width:1100px){header{gap:25px;padding:0 3%}nav{gap:18px}.layout{gap:20px;padding:25px 3%;grid-template-columns:minmax(0,1fr) 265px}.hero-copy{padding:25px;max-width:52%}.hero h2{font-size:30px}.cards{gap:10px}.lesson-card{padding:12px}.game-layout{grid-template-columns:1fr}.hero{height:320px}}@media(max-width:800px){header{height:auto;min-height:78px;flex-wrap:wrap;gap:10px;padding:15px 5% 0}.brand{font-size:22px}.account{gap:14px}nav{order:3;width:100%;height:46px;justify-content:space-between;gap:8px}nav button{font-size:12px}.layout{display:block;padding:25px 5%}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:25px}.side-card{margin:0}.sidebar .side-card:last-child{grid-column:1/-1}.sidebar .shop-scene{height:150px}.hero{height:330px}.hero-copy{max-width:51%}.hero h2{font-size:33px}.hero svg{width:120%;left:-20%}.greeting h1{font-size:25px}.greeting .pill{display:none}.game-layout{grid-template-columns:minmax(0,1fr) 200px}.square{font-size:36px}.explorer{gap:16px}.world-card{gap:14px;padding:15px}.world-icon{width:55px;height:60px}.world-card h3{font-size:16px}}@media(max-width:520px){.currency{font-size:12px}.hero-copy{padding:25px 22px;max-width:65%}.hero h2{font-size:31px}.hero p{font-size:11px}.hero svg{width:160%;left:-28%;opacity:.7}.hero-tag{font-size:8px}.hero-copy .btn{margin-top:10px}.cards{grid-template-columns:1fr}.lesson-card{display:grid;grid-template-columns:85px 1fr;column-gap:15px;padding:14px}.lesson-art{grid-row:1/6;margin:0;height:100%;min-height:100px}.lesson-card p{margin-bottom:9px}.lesson-foot{padding-top:8px}.lesson-card h3{margin:4px 0}.sidebar{grid-template-columns:1fr}.sidebar .side-card:last-child{grid-column:auto}.explorer,.game-layout{grid-template-columns:1fr;padding:16px}.explorer .board{max-width:340px;margin:auto}.square{font-size:37px}.world-card{flex-wrap:wrap}.world-card>div:nth-child(2){flex:1}.world-card .btn{margin-left:70px}.upgrade-grid{grid-template-columns:1fr}.chapter-strip{padding:16px 13px}.chapter-strip p{max-width:155px;font-size:10px}.bottom-note{font-size:9px}footer{gap:20px;font-size:9px}.page-title{font-size:28px}}
@media(max-width:520px){.hero-copy{max-width:95%;padding:25px 22px}.hero h2{font-size:30px}.hero p{max-width:220px}.hero-copy .btn{margin-top:3px}.hero-tag{bottom:12px}.hero svg{opacity:.48}.hero-copy{background:linear-gradient(90deg,#e8ecdcaa,transparent)}}
.account-button{font-size:12px;color:var(--green);font-weight:700;white-space:nowrap;padding:9px 12px;border:1px solid #dce3d3;border-radius:20px}.account-banner{max-width:1490px;margin:0 auto;padding:10px 4.6% 0;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#788568}.account-banner .text-btn{font-size:10px}.account-state{padding:12px 15px;background:#edf0e3;border-radius:10px}a.btn{text-decoration:none}a.text-btn{display:inline-block;margin-top:8px}.account{gap:12px}@media(max-width:520px){.account{gap:8px}.account-button{font-size:10px;padding:7px 9px}.currency{font-size:10px}.currency .mini{display:none}.account .avatar{width:32px;height:32px;font-size:20px}.brand{font-size:20px;gap:7px}.brand-mark{width:32px;height:36px}.brand small{font-size:8px;letter-spacing:2px}.account-banner{padding:10px 5% 0;font-size:9px}.account-banner .text-btn{font-size:9px}}
