/* Original conservatory artwork; polished table-top theme. */
:root{--ink:#365348;--gold:#bea16b;--night:#264d43}body{background:radial-gradient(ellipse at 10% 10%,#f9f5e9,transparent 60%),radial-gradient(ellipse at 100% 100%,#d6dfcb,transparent 60%),#e9ecdf;min-height:100vh}body:before{content:'';position:fixed;inset:0;pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0 59px,#66866505 60px)}.app{max-width:1110px;display:grid;grid-template-columns:1fr 450px;column-gap:54px;padding:0 32px;margin:32px auto 40px}.top{grid-column:1/-1;margin-bottom:25px;border-bottom:1px solid #81947120;padding-bottom:18px}.brand strong{font-size:22px;font-family:Georgia,"Songti SC",SimSun,serif;letter-spacing:3px}.brand small{letter-spacing:4px;font-size:9px}.brand svg{width:43px;height:43px}.wallet{gap:12px}.pill{background:#f7f8ed;border:1px solid #dfe3cc;box-shadow:inset 0 1px 0 #fff,0 3px 7px #36584409;padding:8px 15px;font-weight:700}.hero{grid-column:1;grid-row:2/9;height:auto;min-height:704px;align-self:stretch;border-radius:210px 210px 22px 22px;border:7px solid #e8e8d3;outline:1px solid #b6bc9d;box-shadow:0 20px 50px #34564320,inset 0 0 0 1px #fff;overflow:hidden;background:#345b4c;position:relative}.hero>svg{display:none}.hero:before{content:'';position:absolute;inset:0;background:url('./assets/conservatory.svg') center/cover no-repeat}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(#183e3655,transparent 38%,transparent 70%,#173e3650);pointer-events:none}.hero-label{z-index:1;left:0;right:0;top:80px;text-align:center;align-items:center;gap:11px}.hero-label small{color:#ddd7b4;letter-spacing:3px;font-size:9px}.hero-label strong{font-family:Georgia,"Songti SC",SimSun,serif;font-weight:500;font-size:29px;letter-spacing:3px;color:#f7eed6;text-shadow:0 2px 15px #193f36}.hero-label span{font-size:11px;color:#d6ddc4;letter-spacing:1px}.level-tag{z-index:1;bottom:23px;left:50%;transform:translateX(-50%);background:#244f42cc;color:#e8ddbb;border:1px solid #b9b59188;backdrop-filter:blur(7px);padding:9px 18px;border-radius:20px;font-size:10px;letter-spacing:2px;white-space:nowrap}.round,.board-wrap,.feedback,.word-rewards,.tools,.bottom,.intro{grid-column:2}.round{margin:0 0 17px;border-radius:21px;background:linear-gradient(135deg,#fefbef,#f4f1df);border:1px solid #dcdcc0;box-shadow:0 3px 7px #4f66440a,inset 0 1px 0 #fff;padding:15px 20px;grid-template-columns:1fr 1px 66px;gap:18px}.goal-title{font-size:10px;letter-spacing:1px;color:#8e9477}.goal-number{font-size:23px;color:#47684c;margin-top:4px}.goal-number small{font-size:10px}.progress{height:5px;background:#e4e6d0;box-shadow:inset 0 1px 2px #46583712}.progress i{background:linear-gradient(90deg,#7b9d74,#c1ce8e);position:relative}.steps strong{font-family:Georgia,serif;font-size:35px;font-weight:500;color:#496f54}.steps small{font-size:9px;letter-spacing:1px}.divider{background:#d7dcc4}.board-wrap{padding:18px;background:linear-gradient(135deg,#b8bb97,#ebe5c4 24%,#cac79e 62%,#f5eccd);border:1px solid #adb58c;border-radius:27px;box-shadow:0 7px 0 #a2ab82,0 9px 0 #dfe3cd,0 24px 35px #456d3c22,inset 0 2px 0 #fff7;align-self:start}.board-wrap:before,.board-wrap:after{width:6px;height:6px;top:9px;background:#c1a879;box-shadow:inset 0 1px 1px #fff9,inset 0 -1px 1px #846b37}.board-wrap:before{left:14px}.board-wrap:after{right:14px}.board{gap:7px;min-height:0;padding:9px;background:linear-gradient(135deg,#789371,#8fa57e);border:1px solid #6d8560;border-radius:17px;box-shadow:inset 0 3px 7px #284a3825,inset 0 0 0 2px #c3cfa525;position:relative;isolation:isolate}.cell{aspect-ratio:1/1.16;border-radius:12px;padding:5px 1px 4px;border:1px solid #fff9;background:linear-gradient(145deg,#ffffff65,transparent 45%),linear-gradient(165deg,var(--tile),var(--shadow));box-shadow:0 4px 0 var(--shadow),0 6px 5px #29483035,inset 0 1px 0 #ffffffe0,inset 0 0 0 2px #ffffff25;gap:4px;overflow:visible;z-index:1}.cell:before{content:'';position:absolute;inset:-3px -2px -5px;border-radius:13px;box-shadow:inset 0 2px 3px #213e382b;background:#4f755220;z-index:-1}.cell:after{width:19px;height:4px;top:4px;left:7px;background:#fff9;transform:rotate(-12deg);filter:blur(.5px)}.cell svg{width:31px;height:31px;filter:drop-shadow(0 2px 1px #42523922);stroke-width:.7px;stroke:#ffffff30;z-index:1}.cell .word{font-size:9px;font-weight:700;letter-spacing:-.25px;color:#30483f;z-index:1;text-shadow:0 1px 0 #ffffff70;line-height:1.4}.cell.selected{outline:2px solid #fff3bd;outline-offset:2px;transform:translateY(-4px);box-shadow:0 5px 0 #b49d65,0 0 18px #fbdfa7bb;z-index:3}.cell.special{border:1px solid #fff6c8;box-shadow:0 4px 0 #aa9c61,0 0 13px #f9e0a15c,inset 0 1px 0 #fff}.cell.special .badge{color:#886d32;background:#fff2b6;border-radius:50%;width:13px;height:13px;display:grid;place-items:center;font-size:9px;right:-2px;bottom:-2px}.cell.clearing{transform:scale(1.18);opacity:0;filter:brightness(1.5)}.cell.empty{border:0;box-shadow:inset 0 2px 6px #2a483526;background:#57755133;opacity:1;pointer-events:none}.cell.empty:before,.cell.empty:after{display:none}.feedback{height:43px;font-size:11px;color:#6f8669;letter-spacing:.2px}.feedback.combo{color:#a78547}.tools{gap:12px}.tool{min-height:69px;padding:9px 10px;border-radius:18px;border:1px solid #d7d9bd;background:linear-gradient(145deg,#fffdf2,#eaeedb);box-shadow:0 3px 0 #c6cdb0,inset 0 1px 0 #fff;transition:transform .15s,box-shadow .15s}.tool:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 0 #bdc9a7}.tool:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 #bdc9a7}.tool svg{width:26px;height:26px;padding:2px;filter:drop-shadow(0 1px 0 #fff)}.tool b{font-size:11px;font-weight:700;letter-spacing:.5px}.tool small{font-size:8px;color:#8d997c;margin-top:5px}.bottom{margin-top:20px;padding:0 3px}.garden-button{background:transparent;border:0;box-shadow:none;padding:6px 0;color:#648563;font-size:11px}.garden-button svg{width:19px;height:19px}.option{color:#87967c;font-size:9px}.intro{font-size:9px;color:#98a389;letter-spacing:1px;margin-top:10px}.word-rewards{margin:0 0 15px;gap:7px;max-height:163px;overflow:auto}.word-reward{background:#f9f8e9;border:1px solid #dfe2c9;box-shadow:none;min-height:55px;border-radius:13px;animation:reward-rise .3s ease-out}.word-reward strong{font-size:12px;color:#4e7559;letter-spacing:.2px}.word-reward small{color:#929477;font-size:10px}.word-reward button{width:28px;height:28px;border:1px solid #d9dfc2;background:#edf1db;color:#779373}.word-reward button svg{width:15px;height:15px}.overlay{background:#1a382e77}.dialog{border:1px solid #d3d7b8;box-shadow:0 6px 0 #b7bea1,0 30px 80px #173c3430;background:linear-gradient(145deg,#fffdf0,#eff1df);border-radius:25px}.dialog h2{font-family:Georgia,"Songti SC",SimSun,serif;font-weight:500;letter-spacing:1px}.primary{background:linear-gradient(#749078,#486d56);border:1px solid #6c8b6b;box-shadow:0 4px 0 #3c5843}.reward{background:#f5f3df;border:1px dashed #d2ccaa}.garden-scene{background:linear-gradient(#dce6d3,#d6e0be)}.toast{background:#345b4df5;box-shadow:0 8px 25px #294b3020}.particle{border-radius:7px 1px 7px 1px;box-shadow:0 0 7px #ffeabc;animation:petal .9s ease-out forwards}.stars{animation:reward-rise .45s ease-out}.pill.reward-pulse{animation:wallet-pulse .55s ease-out}.screen-note{grid-column:1;grid-row:9;margin:16px 0 0;text-align:center;font-size:9px;color:#8b997e;letter-spacing:3px}.chapter-marker{display:inline-block;font-size:10px;color:#b7a479;margin-right:7px}
@keyframes reward-rise{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes wallet-pulse{50%{transform:scale(1.18);box-shadow:0 0 17px #e8d494}}
@media(max-width:900px){.app{max-width:480px;display:block;padding:0 18px;margin:20px auto 30px}.top{margin-bottom:15px;padding-bottom:13px}.brand strong{font-size:19px}.brand small{font-size:8px}.brand svg{width:36px;height:36px}.pill{padding:6px 10px;font-size:11px}.wallet{gap:7px}.hero{height:137px;min-height:0;border-radius:23px;border:2px solid #d8ddc3;outline:0;margin-bottom:17px;box-shadow:0 9px 19px #33583e12}.hero:before{background-size:cover;background-position:center 52%}.hero:after{background:linear-gradient(90deg,#244c42d9,#244c4255 70%,transparent)}.hero-label{top:21px;left:20px;right:auto;align-items:start;text-align:left;gap:7px}.hero-label strong{font-size:22px;letter-spacing:2px}.hero-label small{font-size:8px;letter-spacing:2px}.hero-label span{font-size:9px}.level-tag{left:20px;bottom:13px;transform:none;padding:4px 10px;font-size:8px;letter-spacing:1px}.screen-note{display:none}.round{padding:12px 17px;margin-bottom:15px}.board-wrap{padding:16px}.board{gap:6px;padding:8px}.tools{gap:10px}.tool{padding:8px;min-height:62px}.bottom{margin-top:17px}.feedback{height:40px}}
@media(max-width:380px){.app{padding:0 12px}.brand strong{font-size:17px}.board-wrap{padding:12px}.board{padding:6px;gap:5px}.cell svg{width:26px;height:26px}.cell .word{font-size:8px}.cell{gap:3px;border-radius:10px}.tool{gap:5px}.tool svg{width:22px;height:22px}.word-reward{flex-basis:46%}}
@media(prefers-reduced-motion:reduce){.word-reward,.pill,.stars{animation:none}}
