*{box-sizing:border-box} :root{font-family:"Microsoft YaHei","PingFang SC",sans-serif;color:#263d39;background:#fbf7ed;font-synthesis:none}body{margin:0}button,select{font:inherit}button{cursor:pointer;min-height:46px;border:0;border-radius:14px;padding:10px 18px;background:#eeeadd;color:#354b43;font-weight:700;transition:background .2s,transform .2s}button:hover{background:#e2e4cf}button:active{transform:translateY(2px)}button:disabled{cursor:default;opacity:.65}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #2b697e;outline-offset:4px}::selection{background:#f5bf87}header{max-width:1320px;margin:auto;padding:26px 40px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:inherit;font-size:23px;font-weight:900}.brand small{display:block;font-size:11px;letter-spacing:2px;margin-top:4px;color:#6c7765}.logo{display:grid;place-items:center;width:49px;height:52px;border-radius:17px;background:#436b55;color:#fff3ce;font-size:34px}nav{display:flex;gap:10px}nav button{font-size:13px}main{max-width:1320px;margin:auto;padding:24px 40px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}h1{font-size:30px;letter-spacing:-1px;margin:0 0 10px}p{line-height:1.8}.intro p{margin:0;color:#687767;font-size:15px}.reward{text-align:right}.reward span{font-size:30px;color:#ab6a1b;letter-spacing:5px}.reward small{display:block;color:#687767;font-size:12px;margin-top:5px}.game-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);gap:28px;align-items:stretch}.world{overflow:hidden;border-radius:26px;background:#edf0df}.scene-top{height:66px;background:#e7edd7;padding:0 25px;display:flex;justify-content:space-between;align-items:center;font-size:13px}.park-title{font-weight:800;font-size:19px}.park-title b{margin-left:8px;background:#426e5b;color:white;border-radius:6px;padding:3px 8px;font-size:18px}#occupancy{color:#53634e}.grass{position:relative;background:#d6e7a8;height:345px;padding:37px 32px 0}.parking{position:relative;z-index:1;background:#81928f;border-radius:17px;padding:18px 12px 0;margin-right:85px;box-shadow:0 6px 0 #b2c88a}.bays{display:grid;grid-template-columns:repeat(3,1fr);gap:9px 7px}.bay{position:relative;height:86px;border:2px solid #e7edd7;border-bottom:0;border-radius:7px 7px 0 0;display:flex;align-items:center;justify-content:center}.bay-number{position:absolute;bottom:4px;right:6px;font-size:11px;color:#f4f2dc}.empty{font-size:22px;font-weight:700;color:#d4ddd1}.driveway{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;color:#e9eee0;font-size:11px;letter-spacing:3px}.arrow{font-size:32px}.total-sign{position:absolute;right:17px;top:42px;width:87px;background:#fff9df;border-radius:12px;text-align:center;padding:10px 5px;box-shadow:0 5px 0 #b5c98e}.total-sign small{font-size:10px}.total-sign strong{display:block;font-size:43px;line-height:1.25}.tree{position:absolute;width:45px;height:55px;border-radius:48% 48% 43% 43%;background:#88b464;box-shadow:inset -10px -5px 0 #77a155}.tree:after{content:"";position:absolute;width:8px;height:18px;background:#9c8254;bottom:-10px;left:19px}.t1{left:12px;top:-13px;transform:rotate(-12deg)}.t2{right:20px;bottom:30px;transform:scale(.8)}.flower{position:absolute;width:7px;height:7px;background:#f9e5a3;border-radius:50%;box-shadow:11px 7px 0 #f9e5a3,3px 17px 0 #f9e5a3}.f1{left:13px;bottom:30px}.f2{right:24px;top:18px}.gate-zone{position:absolute;left:36%;bottom:-1px;width:165px;height:79px;z-index:6}.traffic{position:absolute;width:28px;height:61px;border-radius:10px;background:#354d46;right:0;top:-4px;display:grid;padding:7px;gap:5px}.traffic i{display:block;width:14px;height:18px;border-radius:50%;background:#677a6c}.traffic .red{background:#f47a5c;box-shadow:0 0 9px #f49c6c88}.traffic.go .red{background:#677a6c}.traffic.go .green{background:#b6e17c;box-shadow:0 0 10px #c7ef89}.barrier{position:absolute;left:0;top:12px}.post{width:23px;height:49px;background:#f8f4de;border:3px solid #e4dac2;border-radius:7px;position:relative;z-index:2}.arm{position:absolute;left:10px;top:3px;width:111px;height:10px;background:repeating-linear-gradient(90deg,#fff4d6 0 17px,#e36e51 17px 34px);border-radius:4px;transform-origin:0 50%;transition:transform .65s cubic-bezier(.16,1,.3,1);z-index:3}.arm.open{transform:rotate(-83deg)}#signal{position:absolute;bottom:1px;left:0;font-size:10px;background:#fff7db;border-radius:5px;padding:4px 8px}.road{height:132px;position:relative;background:#748589;border-top:6px solid #eff0dd;border-bottom:6px solid #eff0dd}.road-line{position:absolute;top:61px;left:0;right:0;border-top:3px dashed #c1ceca}.queue{display:flex;gap:20px;align-items:center;position:absolute;top:6px;left:30px;right:15px}.road-label{position:absolute;bottom:12px;right:20px;color:#fff7dd;font-size:12px;letter-spacing:2px}.scene-bottom{height:48px;display:flex;justify-content:space-between;align-items:center;padding:0 22px;font-size:10px;color:#52654f}.scene-bottom i{display:inline-block;width:7px;height:7px;background:#54816a;border-radius:50%;margin-right:5px}.car{position:relative;width:58px;height:74px;flex-shrink:0;--car:#eaa456;filter:drop-shadow(0 4px 2px #273e3c35)}.car-body{position:absolute;left:6px;top:3px;bottom:3px;right:6px;background:var(--car);border-radius:15px 15px 12px 12px;border:2px solid #263d3914}.car:before,.car:after{content:"";position:absolute;top:15px;width:7px;height:14px;border-radius:3px;background:#344947;box-shadow:0 32px 0 #344947}.car:before{left:2px}.car:after{right:2px}.windshield{position:absolute;top:12px;left:11px;right:11px;height:13px;background:#e5f4ec;border-radius:7px 7px 3px 3px;border-bottom:3px solid #b5d8d2}.car b{position:absolute;top:28px;left:8px;right:8px;text-align:center;font-size:25px;line-height:1.2;color:#293e3a}.car .lights{position:absolute;left:11px;right:11px;bottom:8px;height:5px;border-left:8px solid #fff2ce;border-right:8px solid #fff2ce}.queue .car{transform:rotate(90deg);margin-right:12px}.queue .car:first-child{outline:3px dashed #fff6d9;outline-offset:5px;border-radius:15px}.bay.leaving{background:#dfeec933}.bay.leaving:after{content:"待出场";position:absolute;bottom:-8px;font-size:10px;background:#fff0cf;border-radius:5px;padding:2px 5px;color:#7d4b2c;z-index:4}.task{background:#fffdf6;border-radius:24px;padding:27px 28px;display:flex;flex-direction:column}.task-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.tag{font-size:12px;font-weight:700;background:#e8efda;color:#45623b;padding:8px 13px;border-radius:9px}.tag.exit{background:#f6e5cf;color:#855332}#read{padding:5px 0;background:none;font-size:12px;color:#5a705a;min-height:42px}h2{font-size:22px;margin:22px 0 0;line-height:1.5}#task-detail{font-size:13px;color:#6e7863;margin:8px 0 22px;min-height:24px}.equation{display:flex;align-items:center;justify-content:center;gap:12px;font-size:39px;font-weight:800;min-height:87px;background:#f4f0e5;border-radius:16px}.equation .operator{font-size:28px;color:#74806c}.equation .unknown{color:#c55d30;background:#fff9e9;min-width:57px;text-align:center;border-radius:10px;padding:7px}.answer-label{font-size:12px;margin:23px 0 10px;color:#6b7561}.answers{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.answers button{font-size:30px;min-height:65px;background:#f6e8cc;color:#664827;box-shadow:0 3px 0 #e4d5b9}.answers button:hover{background:#efcfa2}.answers button.correct{background:#dcecc4;color:#3d632d}.answers button.wrong{background:#f8ded2}.feedback{font-size:13px;color:#63715c;line-height:1.7;min-height:45px;padding-top:17px}.feedback.success{color:#45672f}.hint{font-size:12px;background:none;text-decoration:underline;text-underline-offset:4px;color:#6f725e;margin-top:auto;align-self:center;padding:7px;min-height:40px}.dots{font-size:12px;line-height:1.8;padding-top:12px}.dot-group{display:flex;gap:5px;flex-wrap:wrap;margin:5px 0}.dot{width:12px;height:12px;background:#759458;border-radius:50%;display:inline-block}.dot.added{background:#e88d57}.dot.removed{background:#c4c9b7;position:relative}.dot.removed:after{content:"";position:absolute;left:0;top:5px;width:13px;height:2px;background:#5d6854;transform:rotate(-45deg)}footer{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#727962;padding:18px 4px}footer button{font-size:12px;min-height:38px;background:none;padding:5px}dialog{border:0;border-radius:24px;background:#fffdf6;color:#263d39;padding:30px;width:min(440px,calc(100% - 32px));box-shadow:0 20px 80px #263d3955}dialog::backdrop{background:#263d3977}dialog h2{margin:0 0 12px}dialog p{font-size:14px}label{display:block;font-size:14px;font-weight:700;margin-top:18px}select{display:block;width:100%;min-height:48px;margin-top:8px;border:1px solid #c9ceb9;border-radius:10px;padding:9px;background:#f8f5e9;color:#263d39}.note{font-size:12px;color:#6b755f}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.primary{background:#e97443;color:#fffdf6}.primary:hover{background:#cd6033}.moving{transition:transform 1s cubic-bezier(.22,1,.36,1),opacity .8s}.moving.enter{transform:translateY(-140px) rotate(0deg)!important;opacity:0}.moving.exit{transform:translateY(130px);opacity:0}@media(min-width:1200px){.grass{height:372px;padding-top:44px}.bay{height:95px}.road{height:139px}.task{padding:30px 32px}h2{font-size:24px}.equation{margin-top:4px;min-height:100px}.answers button{min-height:70px}}@media(max-width:950px){header,main{padding-left:22px;padding-right:22px}.game-layout{gap:18px;grid-template-columns:minmax(0,1.4fr) minmax(290px,1fr)}.task{padding:22px}.grass{padding-left:18px;padding-right:18px}.parking{margin-right:77px;padding:12px 7px 0}.total-sign{right:10px;width:77px}.bay{height:86px}.queue{gap:6px;left:18px}.intro h1{font-size:25px}.reward span{font-size:23px}}@media(max-width:740px){header{padding:18px 18px}.brand{font-size:19px;gap:9px}.brand small{font-size:9px;letter-spacing:1px}.logo{width:40px;height:44px;font-size:29px}nav{gap:6px}nav button{font-size:11px;padding:8px 10px;min-height:40px}main{padding:18px 16px}.intro{align-items:flex-start;margin-bottom:22px}.intro h1{font-size:22px;max-width:220px;line-height:1.5;margin-bottom:7px}.intro p{font-size:12px;max-width:220px}.reward{padding-top:6px}.reward span{font-size:18px;letter-spacing:1px;white-space:nowrap}.reward small{font-size:10px}.game-layout{grid-template-columns:1fr;gap:18px}.scene-top{height:55px;padding:0 20px}.park-title{font-size:17px}.grass{height:315px;padding-top:26px;padding-left:24px}.parking{margin-right:77px}.bay{height:81px}.total-sign{top:30px;right:12px}.car{width:52px;height:70px}.car b{font-size:23px}.gate-zone{left:33%}.road{height:110px}.road-line{top:50px}.queue{top:0;left:25px;gap:10px}.queue .car{margin-right:8px}.scene-bottom{height:40px;font-size:9px;padding:0 16px}.task{padding:22px 24px}h2{margin-top:14px}.equation{min-height:87px;font-size:40px}.answers{grid-template-columns:repeat(4,1fr);gap:9px}.answers button{padding:8px 2px;min-height:65px;font-size:28px}#task-detail{margin-bottom:16px}.feedback{min-height:42px}.hint{margin-top:3px}footer{font-size:10px}dialog{padding:25px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
/* 接近真实的停车场主题：保留儿童可读性 */
:root{background:#f3f5f2;color:#263c3a}.logo{border-radius:9px;background:#286b79;color:white}.brand small{letter-spacing:1px}.world{border-radius:18px;background:#e2e8e2}.scene-top{background:#e0e7de}.park-title b{background:#226e91;border-radius:4px}.grass{background:#b5c49b;padding-top:30px}.parking{background:#555f63;border-radius:5px;box-shadow:0 5px 0 #879382;padding:19px 13px 0}.bay{border-color:#eff0e9;border-width:3px;border-radius:0}.bay-number{color:#f7f4d9;font-size:12px}.empty{color:#dce0d9}.driveway{color:#f7f1db}.total-sign{border-radius:5px;background:#f7f6e9;box-shadow:0 4px 0 #849176}.total-sign small{font-weight:700}.tree{background:#647e51;box-shadow:inset -10px -5px 0 #587246;border-radius:45% 50% 42% 47%}.flower{display:none}.road{background:#4d585e;border-color:#d4d8d0}.road-line{border-color:#e7dfba}.road-label{color:#f4efd9}.scene-bottom{color:#405642}.car{filter:drop-shadow(2px 5px 2px #15262855)}.car-body{background:var(--car);border-radius:11px 11px 8px 8px;border:2px solid #ffffff55;box-shadow:inset 4px 0 3px #ffffff45,inset -4px 0 3px #23393444}.windshield{background:#314d5a;border-bottom:3px solid #b7c9cc;border-radius:5px 5px 1px 1px;top:15px;height:12px}.car b{background:#fff9e6;border-radius:4px;top:31px;left:12px;right:12px;font-size:22px;line-height:1.1}.car .lights{border-left-color:#fff4bd;border-right-color:#fff4bd;bottom:59px;height:4px}.car-body:after{content:'';position:absolute;left:6px;right:6px;bottom:6px;height:7px;border-radius:1px 1px 4px 4px;background:#36515b;border-top:2px solid #bbccca}.post{background:#eeeeea;border-color:#b7bcb6;border-radius:3px;box-shadow:2px 2px 2px #21343133}.arm{height:9px;border:1px solid #eee9df;border-radius:2px;background:repeating-linear-gradient(90deg,#fcfcf4 0 17px,#d55743 17px 34px)}.traffic{background:#293b3c;border-radius:7px}.traffic i{box-shadow:inset 1px 2px 2px #1118}.traffic .red{background:#ed5942;box-shadow:0 0 7px #f49c6c55}.traffic.go .green{background:#6ed77f}.task{border-radius:18px;background:#fffefa}.tag{background:#dfece5;color:#315f4c}.equation{background:#edf1eb;border-radius:12px}.equation .unknown{background:#fff8e5}.answers button{background:#e8eddf;color:#354f43;box-shadow:0 3px 0 #cbd5c2}.answers button:hover{background:#d4e1c5}button{background:#e4eade}button:hover{background:#d6e0cf}dialog{background:#fffefa}.primary{background:#d66a36;color:white}.bay.leaving{background:#a8b49b44}@media(min-width:1200px){.grass{padding-top:35px}}@media(max-width:740px){.grass{padding-top:23px}.parking{padding-left:10px;padding-right:10px}.car b{font-size:21px}.car .lights{bottom:55px}}
.brand small,.intro p,.reward small,footer{color:#52634e}.primary{background:#ae4e27}.primary:hover{background:#93401f}.hint:hover{color:#354932;background:#e4eade}.total-sign small,.scene-bottom,#signal,.brand small,.reward small,footer,.bay-number{font-size:11px}
