:root{--ink:#263e2a;--muted:#83867b;--green:#43733b;--line:#e6e7db;--cream:#f7f6ed;--yellow:#f9d56b}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:'Noto Sans SC','Microsoft YaHei',sans-serif;font-size:14px}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #e1ae37;outline-offset:3px}button{color:inherit}button:disabled{opacity:.38;cursor:default}.sprite-library{position:absolute;width:0;height:0;overflow:hidden}.topbar{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5%;background:#fcfbf5}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-size:24px;font-weight:900;letter-spacing:1px}.brand svg{width:49px;height:57px}.brand small{display:block;font-size:9px;letter-spacing:2px;font-weight:600;margin-top:2px}.header-middle{font-size:12px;color:#929780;letter-spacing:2px}.help-button{border:1px solid #dcdfcf;border-radius:24px;background:transparent;padding:10px 16px;font-size:12px}.help-button span{display:inline-grid;place-items:center;border:1.5px solid #73806b;width:17px;height:17px;border-radius:50%;margin-right:6px;font-size:11px}main{max-width:1440px;padding:44px 5% 0;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:35px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#8a936f}h1{font-size:34px;line-height:1.5;letter-spacing:-1px;margin:9px 0 8px;font-weight:900}h1 span{color:#739143}p{line-height:1.9}.page-heading p{color:#8b8d7f;font-size:12px;margin:0}.save-indicator{font-size:10px;color:#929681;display:flex;align-items:center;gap:6px;padding-bottom:5px}.save-indicator i{width:5px;height:5px;background:#7f9a58;border-radius:50%}.section-label{display:flex;align-items:center;gap:10px}.section-label h2{font-size:16px;margin:0;font-weight:800}.step{font:11px monospace;border:1px solid #d9ddc9;color:#6e8259;width:25px;height:25px;border-radius:50%;display:grid;place-items:center}.muted{color:#929381;font-size:10px;margin-left:5px}.difficulty-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}.difficulty-card{position:relative;overflow:hidden;display:flex;align-items:center;text-align:left;border:1px solid #dedfce;border-radius:12px;background:#fdfcf6;padding:17px 18px;gap:14px;min-height:116px;transition:.2s}.difficulty-card.active{border:2px solid #5c7d40;background:#edf1df;padding:16px 17px;box-shadow:0 3px 0 #dfe6ce}.difficulty-card:hover:not(:disabled){transform:translateY(-2px)}.difficulty-art{width:60px;height:77px;flex-shrink:0;position:relative;background:#e7e9d9;border-radius:50%;display:grid;place-items:center}.difficulty-art svg{height:79px;width:56px}.difficulty-art .bucket{position:absolute;top:-1px;left:18px;width:29px;height:21px;background:linear-gradient(100deg,#c2c8c4,#edf0db,#8f9b95);border:2px solid #6b7770;border-radius:3px;transform:rotate(-8deg)}.difficulty-art .boss-glass{position:absolute;top:18px;left:15px;border:3px solid #4c4940;width:32px;height:11px;background:#b1e1d3;border-radius:4px}.difficulty-art.boss{background:#dedce9}.difficulty-art.boss svg{transform:scale(1.18)}.difficulty-card h3{font-size:17px;margin:0 0 7px}.difficulty-card p{font-size:11px;color:#838a72;margin:0}.difficulty-tag{position:absolute;right:13px;top:12px;font-size:9px;color:#8b947c}.selection-check{position:absolute;right:14px;bottom:15px;background:#52763c;color:#fff;border-radius:50%;width:18px;height:18px;text-align:center;font-size:11px}.game-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(310px,1fr);align-items:start;gap:24px;margin-top:30px}.garden-panel,.entry-panel{border:1px solid #e0e3d4;background:#fdfcf7;border-radius:14px;overflow:hidden}.garden-heading{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 22px}.garden-heading>div{display:flex;align-items:center;gap:9px}.garden-heading h2,.history-heading h2{font-size:15px;margin:0}.live-dot{width:7px;height:7px;background:#82a753;border-radius:50%;box-shadow:0 0 0 4px #edf1e3}.round-pill{font-size:9px;background:#f0f0e5;color:#929780;border-radius:4px;padding:4px 7px;margin-left:5px}.text-button{border:0;background:transparent;font-size:10px;color:#7f8873;padding:7px 0}.garden-scene{height:302px;margin:0 14px;position:relative;isolation:isolate;overflow:hidden;border-radius:8px;border:3px solid #6f8843;background:#a7c6ad}.sky{position:absolute;inset:0 0 55%;background:linear-gradient(#acd6cc,#dce6b8)}.cloud{position:absolute;width:87px;height:19px;background:#f3f5d8;border-radius:50px;opacity:.8}.cloud:before,.cloud:after{content:'';position:absolute;border-radius:50%;background:inherit;width:38px;height:34px;top:-17px;left:15px}.cloud:after{width:28px;height:27px;left:44px;top:-10px}.cloud-one{top:35px;left:18%}.cloud-two{top:47px;left:70%;transform:scale(.7)}.scene-sun{position:absolute;left:38px;top:10px;color:#ffe77a;font-size:54px;text-shadow:0 0 22px #ffe986}.back-hills{position:absolute;top:68px;left:-10%;width:125%;height:80px;border-radius:50% 60% 0 0;background:#92b36b;box-shadow:90px 10px 0 #a4c27d}.fence{position:absolute;left:0;right:0;top:106px;height:42px;background:repeating-linear-gradient(90deg,transparent 0 5px,#ede8c1 5px 19px,#c9c38e 19px 22px,transparent 22px 27px);border-bottom:7px solid #b9b781;filter:drop-shadow(0 2px 0 #617d3f)}.fence:after{content:'';position:absolute;left:0;right:0;top:20px;height:6px;background:#d3cfa0}.lawn{position:absolute;inset:146px 0 0;background:repeating-conic-gradient(#80a648 0 25%,#8bb04e 0 50%) 0 0/120px 96px;box-shadow:inset 0 4px 8px #526e43}.garden-grid{position:absolute;left:8%;top:-15px;bottom:30px;right:27%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:0 4px}.garden-cell{display:flex;align-items:center;justify-content:center;position:relative}.garden-cell:after{content:'';width:32px;height:10px;background:#486e27;opacity:.2;border-radius:50%;position:absolute;bottom:1px;z-index:-1}.garden-cell svg{height:61px;width:52px;overflow:visible;filter:drop-shadow(1px 3px 1px #354a3e55);animation:sway 3s ease-in-out infinite;transform-origin:bottom}.garden-cell:nth-child(2n) svg{animation-delay:-1s}.empty-plot{width:20px;height:9px;border-radius:50%;border:1px dashed #5d7d34;opacity:.6}.zombie-area{position:absolute;right:3%;top:-48px;bottom:16px;width:24%;display:flex;align-items:center;justify-content:center}.zombie-area svg{width:100px;height:151px;filter:drop-shadow(3px 5px 0 #445b3833);animation:shamble 4s infinite ease-in-out}.zombie-area .bucket{position:absolute;width:35px;height:28px;top:6px;left:calc(50% - 10px);border:3px solid #66756a;background:linear-gradient(90deg,#a0ada6,#e0e2d2,#97a29b);transform:rotate(-8deg);border-radius:3px}.zombie-area.boss svg{transform:scale(1.15)}.boss-label{position:absolute;top:0;font-size:9px;background:#4e484a;color:#f5e8c6;padding:3px 8px;border-radius:5px}.scene-label{position:absolute;bottom:11px;left:14px;border:1px solid #c2d3a752;border-radius:20px;background:#35532bd9;color:#f1f0ce;display:flex;gap:6px;align-items:center;font-size:9px;padding:6px 10px;backdrop-filter:blur(5px)}.scene-label-dot{width:5px;height:5px;border-radius:50%;background:#dfd58c}.garden-stats{display:grid;grid-template-columns:1.1fr 1fr 1fr;margin:22px 22px 0;padding-bottom:20px;border-bottom:1px solid var(--line)}.garden-stats>div{border-right:1px solid var(--line);padding-left:25px}.garden-stats>div:first-child{padding-left:0}.garden-stats>div:last-child{border:0}.garden-stats span{display:block;font-size:10px;color:#889077;margin-bottom:4px}.garden-stats strong{display:block;font-size:29px;font-weight:800;line-height:1.4}.garden-stats b{font-weight:800}.garden-stats small{font-size:11px;color:#90957c;font-weight:400}.sun-stat{display:flex;align-items:center;gap:12px}.sun-stat>svg{width:45px;height:45px}.sun-stat strong{color:#a97c24}.progress-wrap{padding:17px 22px 12px}.progress-label{display:flex;justify-content:space-between;font-size:10px;color:#7d886d}.progress-track{height:8px;background:#e9ecdc;border-radius:8px;overflow:hidden;margin-top:10px}.progress-track>div{height:100%;width:0;background:linear-gradient(90deg,#759b45,#b5bf5c);border-radius:8px;transition:width .5s}.progress-wrap p{font-size:10px;color:#999b87;margin:9px 0}.history-section{border-top:1px solid var(--line);margin-top:0;padding:18px 22px 8px}.history-heading{display:flex;justify-content:space-between;align-items:center}.history-heading h2 span{font-size:10px;font-weight:500;background:#eceee2;border-radius:4px;padding:2px 6px;margin-left:5px}.history-empty{text-align:center;padding:21px 5px 25px;color:#a0a28c;font-size:11px}.history-empty span{font-size:24px;display:block;color:#b0b68f;margin-bottom:5px}.history-list{max-height:280px;overflow:auto}.history-row{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid #eceee3}.history-row:last-child{border:0}.history-number{font:12px monospace;background:#f0f0e6;padding:9px 6px;border-radius:7px;text-align:center;color:#8d957b}.history-row strong{font-size:11px;font-weight:600}.history-row p{font-size:9px;color:#959985;margin:4px 0 0}.history-delta{text-align:right;font-size:17px;font-weight:700;color:#66813c}.history-delta.negative{color:#b17b5f}.history-delta small{display:block;font-size:9px;font-weight:400;color:#9b9c89}.entry-panel{padding:23px 23px 13px}.entry-index{margin-left:auto;font:9px monospace;letter-spacing:1px;color:#a0a68a}.entry-panel .section-label{margin-bottom:25px}.field-title{font-size:11px;font-weight:600;display:block;margin-bottom:9px}.field-title>span{font-size:9px;font-weight:400;color:#969c85;margin-left:5px}.outcome-toggle{display:grid;grid-template-columns:1fr 1fr;background:#f1f1e7;border-radius:7px;padding:4px;gap:4px;margin-bottom:22px}.outcome-toggle button{border:1px solid transparent;background:transparent;color:#929781;padding:10px 2px;font-size:11px;border-radius:5px}.outcome-toggle button.selected{background:#fffef8;color:#4b723f;border-color:#dce2cd;box-shadow:0 2px 3px #263e2a09}.outcome-toggle button.selected[data-outcome=failure]{color:#ad7359}.revenue-input{display:flex;border:1px solid #dedfce;border-radius:7px;background:#f9f9f0;height:49px;align-items:center;padding-right:13px}.revenue-input input{font-size:23px;font-weight:700;width:100%;background:none;border:0;color:#3c5530;padding:8px 12px;min-width:0;outline-offset:0}.revenue-input>span{font-size:10px;color:#929a7c;white-space:nowrap}.revenue-chips{display:flex;gap:6px;margin:8px 0 22px}.revenue-chips button{flex:1;white-space:nowrap;padding:6px 3px;font-size:9px;border:1px solid #e6e5d7;background:transparent;border-radius:4px;color:#93967f}.revenue-chips b{color:#a98b39;font-weight:500;margin-left:3px}.loot-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.loot-title label{margin:0}.loot-title>span{font-size:9px;color:#a0a58f}.loot-row{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #eff0e5}.loot-icon{width:26px;height:28px;background:#e8d4c4;display:grid;place-items:center;color:#9c5146;font-size:14px;border:2px solid #b67c66;border-radius:3px;box-shadow:inset 0 0 0 2px #e9c1a5}.loot-icon.card{background:#e6d7b5;color:#b35d48;border-color:#bf8f68}.loot-icon.other{background:#dfe4d0;color:#7b8b63;border-color:#a4b18a}.loot-name{font-size:11px}.loot-name small{color:#a0a58d;font-size:8px;margin-left:3px}.loot-name>span{display:block;color:#82906f;font-size:9px;margin-top:3px}.loot-row .negative{color:#ad8d76}.counter{margin-left:auto;display:flex;align-items:center;gap:1px}.counter button{background:#f2f3e8;border:1px solid #e6e8d9;width:25px;height:26px;border-radius:4px;color:#82906b;padding:0;font-size:15px}.counter input{width:32px;border:0;text-align:center;background:transparent;font-size:12px;appearance:textfield;color:var(--ink)}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.round-preview{margin:21px 0 16px;background:#f2f2df;border:1px solid #e6e7ce;border-radius:7px;padding:12px 13px}.round-preview>div{display:flex;align-items:center;justify-content:space-between}.round-preview>div>span{font-size:10px;color:#7d8866}.round-preview strong{font-size:23px;color:#a78b2f}.round-preview strong small{font-size:17px}.round-preview p{font-size:8px;margin:5px 0 0;color:#9b9f82}.submit-button{width:100%;background:#426639;color:#fffbe7;padding:14px 16px;border:1px solid #36592d;border-radius:7px;font-size:12px;font-weight:600;box-shadow:0 3px 0 #294925;display:flex;justify-content:space-between;transition:background .2s}.submit-button:hover{background:#527b42}.entry-footnote{font-size:9px;text-align:center;color:#a0a58c;margin:14px 0 0}footer{display:flex;justify-content:space-between;padding:25px 0 20px;color:#a2a58f;font-size:9px;letter-spacing:.5px}.victory-banner{position:absolute;inset:40px 10% 48px;background:#f9f4d9ed;border:3px solid #e6be55;border-radius:15px;box-shadow:0 10px 40px #29492544;text-align:center;padding:23px;backdrop-filter:blur(4px)}.victory-banner[hidden]{display:none}.victory-banner span{font-size:12px;color:#928047;display:block}.victory-banner strong{display:block;font-size:30px;margin:9px 0;color:#426639}.victory-banner small{color:#9c956e}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#2b472d;color:#fffbe5;font-size:12px;padding:13px 25px;border-radius:30px;box-shadow:0 7px 25px #263e2a33;transition:.3s;z-index:10;max-width:90%;width:max-content}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #d5dcc4;border-radius:16px;background:#fcfbf3;color:var(--ink);padding:32px;max-width:540px;width:calc(100% - 32px);box-shadow:0 20px 80px #263e2a44}dialog::backdrop{background:#25332377;backdrop-filter:blur(3px)}dialog h2{font-size:23px;margin:8px 0 15px}dialog h3{font-size:13px;margin-top:22px;color:#6f844f}dialog p{font-size:12px;color:#7c856d}.dialog-close{position:absolute;right:15px;top:12px;border:0;background:none;font-size:24px}.rules-table{display:grid;grid-template-columns:1fr auto;gap:9px;font-size:12px;background:#f1f1e2;padding:15px;border-radius:7px}.rules-table b{font-weight:500;color:#7a874e}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.dialog-actions button{padding:10px 16px;border:1px solid #ccd5bc;border-radius:6px;background:#ecefdf}.dialog-actions button:last-child{background:#426639;color:#fffbe7}@keyframes sway{50%{transform:rotate(3deg)}}@keyframes shamble{50%{translate:3px -2px;rotate:2deg}}@media(min-width:1500px){main{padding-left:35px;padding-right:35px}.topbar{padding-left:calc((100% - 1370px)/2);padding-right:calc((100% - 1370px)/2)}.garden-scene{height:350px}.lawn{top:165px}.fence{top:125px}.back-hills{top:85px}.garden-cell svg{height:68px;width:60px}}@media(max-width:1050px){main{padding:30px 3% 0}.topbar{padding:0 3%}.game-layout{gap:16px;grid-template-columns:minmax(0,1.5fr) minmax(305px,1fr)}h1{font-size:28px}.difficulty-card{gap:7px;padding:14px 10px}.difficulty-card.active{padding:13px 9px}.difficulty-art{width:48px}.difficulty-card h3{font-size:15px}.difficulty-card p{font-size:9px}.difficulty-tag{font-size:8px;right:8px;top:7px}.save-indicator{display:none}.garden-stats>div{padding-left:14px}.garden-stats strong{font-size:25px}.sun-stat>svg{width:32px}.sun-stat{gap:6px}.entry-panel{padding:23px 17px 15px}.zombie-area svg{width:80px}.muted{font-size:9px}.garden-grid{left:4%;right:24%}}@media(max-width:760px){.topbar{height:74px;padding:0 5%}.brand{font-size:20px}.brand svg{width:37px;height:45px}.brand small{font-size:7px}.header-middle{display:none}.help-button{font-size:10px;padding:8px 10px}main{padding:26px 5% 0}.eyebrow{font-size:8px;letter-spacing:1.4px}h1{font-size:25px;letter-spacing:-.6px;margin-top:11px}.page-heading p{font-size:10px;max-width:290px}.page-heading{margin-bottom:26px}.section-label h2{font-size:14px}.muted{display:none}.difficulty-grid{gap:7px;margin-top:12px}.difficulty-card{padding:14px 5px 12px;flex-direction:column;align-items:center;text-align:center;min-height:155px;gap:7px}.difficulty-card.active{padding:13px 4px 11px}.difficulty-art{width:54px;height:64px}.difficulty-art svg{height:67px;width:46px}.difficulty-card h3{font-size:13px;margin-bottom:5px}.difficulty-card p{font-size:8px}.difficulty-tag{position:static;font-size:8px;order:3}.selection-check{right:6px;top:6px;bottom:auto;width:15px;height:15px;font-size:9px}.difficulty-art .bucket{left:18px;width:24px;height:18px}.difficulty-art .boss-glass{left:17px;top:17px;width:27px;height:9px}.game-layout{grid-template-columns:1fr;margin-top:23px;gap:20px}.garden-scene{height:280px;margin:0 10px}.garden-heading{padding:0 16px;height:57px}.garden-grid{left:4%;right:24%;top:-12px;bottom:30px}.garden-cell svg{height:52px;width:47px}.garden-stats{margin:19px 16px 0}.garden-stats strong{font-size:24px}.garden-stats small{font-size:9px}.garden-stats>div{padding-left:15px}.garden-stats span{font-size:9px}.sun-stat>svg{width:33px}.sun-stat{gap:8px}.progress-wrap{padding:15px 16px 9px}.progress-label,.progress-wrap p{font-size:9px}.history-section{padding:14px 16px 4px}.history-empty{padding:16px 0 18px}.entry-panel{padding:22px}.entry-panel .section-label{margin-bottom:22px}.field-title,.loot-name{font-size:12px}.loot-name small{font-size:9px}.loot-row{padding:12px 0}.counter button{width:31px;height:30px}.counter input{width:38px}.revenue-chips button{font-size:10px;padding:8px 3px}.round-preview p{font-size:9px}.submit-button{padding:16px;font-size:13px}footer{flex-direction:column;gap:8px;align-items:center;font-size:8px;padding:25px 0}.victory-banner strong{font-size:25px}.victory-banner{inset:37px 8% 40px}.entry-footnote{font-size:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
