:root{color-scheme:light;--ink:#183e32;--muted:#5b6b5c;--line:#d5d5bd;--cream:#fffcf1;--sun:#ffbd39;--green:#235d43;font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);background:#f9f7ed}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(#cfcbb440 .8px,transparent 1px) 0 0/7px 7px}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,canvas:focus-visible{outline:3px solid #097c71;outline-offset:4px}button:disabled{cursor:default;opacity:.48}button,button svg{transition:background .14s,transform .14s,box-shadow .14s}button:active:not(:disabled){transform:translateY(2px)}[hidden]{display:none!important}svg{width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{position:absolute;width:0;height:0;overflow:hidden}.shell{max-width:1512px;width:92%;margin:auto;padding:0 0 10px}header,nav,.brand,.nav-button,.guide-heading,.guide-heading div,.mode-label,.start-row,.mouse-note,.card-label,.board-tip,.dialog-tag,.dialog-top,footer,footer span{display:flex;align-items:center}header{justify-content:space-between;height:88px}.brand{gap:12px}.brand-mark{width:46px;height:46px;background:#ffda65;border:2px solid var(--ink);border-radius:14px;box-shadow:2px 3px 0 var(--ink);display:grid;place-items:center;transform:rotate(-7deg)}.brand-mark img{width:43px;transform:rotate(7deg)}.brand strong,.brand small{display:block}.brand strong{font-size:22px;letter-spacing:1px;font-weight:950;line-height:1.2}.brand small{font:800 10px/1.7 Arial,sans-serif;letter-spacing:2.1px;color:#65775c}.brand small,footer,.mode-label,.guide-heading span{user-select:none}nav{gap:10px}.nav-button,.icon-button{background:var(--cream);border:1.5px solid #92a18b;border-radius:12px}.nav-button{gap:8px;padding:10px 14px;font-weight:750;font-size:14px}.nav-button:hover,.icon-button:hover{background:#edf1dc}.nav-button svg{height:18px;width:18px}
.hero,.play-area{position:relative;isolation:isolate;overflow:hidden;border:2px solid var(--ink);border-radius:25px;box-shadow:0 5px 0 #254637;background:#abdfde url('assets/backgrounds/bg_home.png') center 54%/cover no-repeat}.hero{height:clamp(440px,53vh,595px);display:flex;align-items:center}.hero-wash{position:absolute;inset:0;background:linear-gradient(90deg,#fff3dbe8 0%,#fff5e0ed 18%,#fff5dfe0 32%,#fff5dea8 44%,#fff1d43b 60%,transparent 76%);z-index:-1}.hero-copy{position:relative;padding:14px 0 18px 6%;width:52%;z-index:2}.mode-label{width:fit-content;gap:7px;font-size:13px;font-weight:800;letter-spacing:.8px;background:#e4efce;border:1px solid #72966b;border-radius:20px;padding:5px 12px;color:#2b5d3a}.mode-label svg{width:16px;height:16px}h1{font-size:clamp(68px,6.2vw,98px);letter-spacing:-.065em;line-height:1.03;margin:13px 0 11px;font-weight:1000;width:fit-content;transform:rotate(-3deg);transform-origin:35% 55%;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif}h1 span,h1 b{display:block;font-weight:1000}h1 span{color:#184e38;text-shadow:1px 2px 0 #fff8d4,2px 3px 0 #fff8d4}h1 b{color:#ffc443;-webkit-text-stroke:1.5px #214a32;paint-order:stroke fill;text-shadow:1px 2px 0 #214a32,2px 3px 0 #214a32,3px 4px 0 #214a32,4px 5px 0 #214a32}.hero-copy p{font-weight:650;font-size:clamp(15px,1.22vw,19px);line-height:1.65;margin:15px 0 21px;color:#314735}.start-row{gap:20px}.primary{border:2px solid #26432e;background:#ffbd3b;box-shadow:0 4px 0 #27432c;border-radius:13px;font-weight:900}.primary:hover{background:#ffd05b;box-shadow:0 5px 0 #27432c;transform:translateY(-1px)}.primary:active{box-shadow:0 1px 0 #27432c}.start{display:flex;align-items:center;justify-content:center;gap:13px;font-size:21px;padding:12px 29px}.play-triangle{width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:11px solid var(--ink)}.mouse-note{gap:5px;font-size:13px;color:#4c5e4e;font-weight:700}
.hero-art{position:absolute;left:48%;right:2%;top:2%;bottom:0;pointer-events:none}.orbit{position:absolute;left:5%;top:17%;height:62%;width:87%;border:2px dashed #ffffdec4;border-radius:50%;transform:rotate(-19deg);box-shadow:0 1px 0 #294e332c}.fruit-shadow{position:absolute;left:33%;bottom:14%;width:42%;height:8%;background:#54492e50;filter:blur(8px);border-radius:50%;transform:rotate(-5deg)}.hero-fruit{position:absolute;object-fit:contain;filter:drop-shadow(2px 0 0 #fffae4) drop-shadow(-2px 0 0 #fffae4) drop-shadow(0 -2px 0 #fffae4) drop-shadow(0 3px 0 #fffae4) drop-shadow(2px 8px 0 #4247244d)}.main-fruit{height:82%;width:71%;top:6%;left:16%;transform:rotate(11deg)}.float-lime{width:17%;height:24%;right:1%;top:12%;transform:rotate(19deg)}.float-berry{width:16%;height:20%;left:2%;top:43%;transform:rotate(-19deg)}.float-cherry{width:21%;height:25%;right:0;bottom:10%;transform:rotate(13deg)}.spark{position:absolute;color:#fff5a7;font:900 42px/1 Georgia;-webkit-text-stroke:1px #91682a;text-shadow:1px 2px #fff6bc}.s1{left:20%;top:16%}.s2{right:16%;bottom:33%;font-size:31px}.s3{left:17%;bottom:22%;font-size:28px}.hero-sticker{position:absolute;bottom:9%;left:34%;display:flex;align-items:center;gap:7px;padding:8px 15px;border:1.5px solid var(--ink);border-radius:8px;background:#fffae5;color:#355136;box-shadow:2px 3px 0 #234737;transform:rotate(-7deg);font-size:14px;font-weight:850}.hero-sticker svg{width:15px;fill:var(--sun)}
.guide{background:#fffdf4;border:1.5px solid #c6cbb4;border-radius:19px;margin-top:22px;padding:17px 26px 16px;box-shadow:0 2px 0 #d7d8c1}.guide-heading{justify-content:space-between;margin-bottom:9px}.guide-heading div{gap:9px}.guide-heading svg{width:20px;height:20px;color:#557748}.guide h2{font-size:19px;letter-spacing:.02em;margin:0}.guide-heading span{color:var(--muted);font-size:13px}.guide ol{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:repeat(10,1fr)}.guide li{position:relative;display:grid;justify-items:center;align-content:end;gap:3px;color:#53604e;font-size:13px;font-weight:700}.guide li img{width:clamp(43px,3.9vw,64px);aspect-ratio:1;object-fit:contain;transition:transform .15s}.guide li:hover img{transform:translateY(-3px) rotate(-6deg)}.guide li+li:before{content:'›';font:22px Georgia;position:absolute;left:-3px;top:25%;color:#a1ad91}.guide li:last-child{color:#905719}footer{justify-content:space-between;color:#70806c;font-size:12px;margin:15px 4px;letter-spacing:.035em}footer span{gap:7px}footer i{width:7px;height:7px;background:#659268;border-radius:50%}footer b{font-weight:400;color:#a3aa94}
.play-area{background-image:linear-gradient(#fef8de24,#fff0be38),url('assets/backgrounds/bg_play.png');background-position:center;min-height:460px}.play-layout{width:min(100%,1080px);margin:auto;display:grid;grid-template-columns:minmax(145px,205px) minmax(265px,1fr) minmax(150px,214px);align-items:start;gap:clamp(10px,2.1vw,38px);padding:19px 20px 16px}.side{display:grid;gap:14px;padding-top:32px}.stat-card{background:#fffbedf5;border:1.5px solid #66866c;border-radius:16px;box-shadow:0 3px 0 #3d593c46;padding:16px}.card-label{color:#536a51;gap:7px;font-weight:800;font-size:14px}.card-label svg{width:17px}.goal-card{text-align:center}.goal-card .card-label{justify-content:center}.goal-img{width:70px;margin:7px 0 -2px}.goal-card>strong{display:block;font-size:18px}#score{display:block;font:900 clamp(30px,3vw,46px)/1.3 "Arial",sans-serif;color:#21543d;letter-spacing:-.05em}.tool-card .card-label{justify-content:space-between;margin-bottom:9px}#stock{background:#e7edcf;color:#315b39;border-radius:20px;padding:2px 8px;font-size:13px}.tool-btn{width:100%;border:1px solid #aab99a;border-radius:10px;background:#f1f3dc;display:flex;align-items:center;gap:10px;font-weight:800;margin-top:7px;padding:4px 8px;font-size:14px}.tool-btn img{width:34px;height:34px;object-fit:contain}.tool-btn:hover:enabled,.tool-btn.active{background:#ffe5a0;border-color:#bb8c35}.tool-btn.active{outline:2px solid #b27c28}.text-btn{display:block;border:none;background:none;text-decoration:underline;margin:8px auto -4px;font-size:13px}.board-column{min-width:0;text-align:center}.canvas-wrap{position:relative;margin:auto;width:min(100%,max(350px,50vh),540px)}#board{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair}.board-tip{margin:0 auto;width:fit-content;min-height:25px;padding:3px 13px;border-radius:18px;background:#fff9e1ea;font-size:13px;font-weight:650;color:#425b40}.danger-tip{color:#a43829!important}.canvas-wrap #boardMessage{position:absolute;top:22%;left:50%;transform:translateX(-50%);padding:6px 12px;background:#a5382a;color:white;font-weight:800;border-radius:8px;white-space:nowrap;pointer-events:none}
dialog{width:min(92vw,486px);max-height:90vh;overflow:auto;color:var(--ink);border:2px solid var(--ink);border-radius:22px;background:var(--cream);padding:26px 30px;box-shadow:0 6px 0 #204331,0 20px 90px #19362c55}dialog::backdrop{background:#17382972;backdrop-filter:blur(4px)}.dialog-top{justify-content:space-between}.dialog-tag{display:inline-flex;gap:6px;color:#527449;font-size:13px;font-weight:800}.icon-button{display:grid;place-items:center;width:32px;height:32px;border-radius:50%}dialog h2{font-size:30px;margin:12px 0 16px}.rule{display:flex;align-items:flex-start;gap:13px;margin:14px 0}.rule>b{font:bold 13px Arial;color:#557441;padding:6px;border-radius:7px;background:#e9edcf}.rule h3{margin:1px 0 4px;font-size:16px}.rule p,.result p{font-size:14px;line-height:1.7;color:#5a6555;margin:0}.dialog-main{width:100%;padding:11px 15px;margin:12px 0 2px;font-size:17px}.result{text-align:center;width:min(92vw,400px)}.result .dialog-tag{background:#e6edcc;border-radius:20px;padding:5px 12px}.result>img{display:block;width:100px;height:100px;object-fit:contain;margin:14px auto 0}.result h2{margin:6px 0}.result-stats{display:flex;justify-content:space-evenly;background:#f1f0de;border-radius:12px;padding:10px;margin:15px 0 5px;font-size:13px}.result-stats strong{display:block;font:900 26px Arial;margin-top:4px}
@media(min-width:1500px){header{height:100px}.guide{padding:20px 30px}.hero-copy{padding-left:7%}}
@media(max-width:850px){.shell{width:95%}header{height:72px}.hero-copy{padding-left:5%}.hero{height:420px}.play-layout{padding:12px 7px;gap:6px;grid-template-columns:minmax(115px,1fr) minmax(240px,2.5fr) minmax(124px,1.12fr)}.stat-card{padding:10px}.tool-btn{gap:4px}.guide{padding:15px}.guide-heading span{font-size:12px}}
@media(max-width:600px){header{height:65px}.brand{gap:7px}.brand-mark{width:34px;height:34px;border-radius:10px}.brand-mark img{width:32px}.brand strong{font-size:17px}.brand small{font-size:8px;letter-spacing:1.1px}.nav-button{padding:7px 8px;font-size:12px;gap:4px}nav{gap:5px}.hero{height:410px;border-radius:18px}.hero-copy{width:75%;align-self:flex-start;padding-top:28px}.hero-wash{background:linear-gradient(90deg,#fff4dfee,#fff6ddd9 38%,#fff1d45c 68%,transparent)}h1{font-size:60px}.hero-copy p{font-size:14px}.hero-art{left:40%;right:0;top:13%;bottom:20%}.hero-sticker{bottom:-8%;left:18%;font-size:10px;padding:5px}.start{font-size:17px;padding:10px 20px}.start-row{gap:10px}.mouse-note{font-size:11px}.guide{margin-top:15px}.guide ol{grid-template-columns:repeat(5,1fr);row-gap:8px}.guide li:nth-child(6):before{display:none}.guide h2{font-size:16px}.guide-heading span{font-size:10px}.play-layout{grid-template-columns:1fr 1fr;gap:7px}.left-side,.right-side{padding:0;gap:6px}.left-side{grid-column:1;grid-row:1}.right-side{grid-column:2;grid-row:1}.side{display:flex;align-items:stretch}.stat-card{padding:5px;border-radius:8px;flex:1}.goal-img,.tool-btn img{display:none}.card-label,.goal-card>strong,.tool-btn{font-size:10px}.tool-btn{margin:1px 0;padding:2px}.board-column{grid-row:2;grid-column:1/-1}.tool-card .card-label{margin:0}.board-tip{font-size:11px}.play-area{min-height:0}.canvas-wrap{width:min(100%,335px)}.hero-sticker svg{width:10px}.spark{font-size:23px}dialog{padding:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

