*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft Yahei,sans-serif;background:#f6f6f4;color:#222}button{cursor:pointer;border:none;border-radius:10px;padding:9px 14px;background:#1fa37d;color:#fff;font-weight:700}button.secondary{background:#eee;color:#333}button.danger{background:#d84a2b}input,select,textarea{border:1px solid #ddd;border-radius:10px;padding:10px;font-size:14px;width:100%}table{border-collapse:collapse;width:100%;background:#fff}th,td{border-bottom:1px solid #eee;padding:9px;text-align:left;font-size:14px}th{background:#fafafa;color:#555}a{color:#1fa37d}.loginPage{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#1fa37d,#11785b)}.loginCard{width:360px;background:#fff;padding:28px;border-radius:24px;box-shadow:0 18px 40px #0000002e}.loginCard h1{margin-top:0}.formRow{margin-bottom:14px}.error{color:#d84a2b;margin:8px 0}.topbar{height:58px;background:#1fa37d;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 18px;position:sticky;top:0;z-index:10}.topbar h2{font-size:18px;margin:0}.shell{display:flex;min-height:calc(100vh - 58px)}.sidebar{width:220px;background:#fff;border-right:1px solid #eee;padding:14px}.sidebar button{display:block;width:100%;margin-bottom:8px;background:#f1f3f2;color:#333;text-align:left}.sidebar button.active{background:#1fa37d;color:#fff}.main{flex:1;padding:18px;overflow:auto}.card{background:#fff;border-radius:16px;padding:16px;margin-bottom:16px;box-shadow:0 2px 10px #0000000a}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.inline{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.badge{display:inline-block;background:#fff1db;color:#b26900;padding:3px 7px;border-radius:7px;font-size:12px;font-weight:700}.mobileFrame{max-width:430px;min-height:100vh;margin:0 auto;background:#fff;position:relative;box-shadow:0 0 0 1px #ddd}.storeHeader{background:#1fa37d;color:#fff;padding:18px 18px 12px}.storeHeader .title{display:flex;justify-content:space-between;font-size:20px;font-weight:800;margin-bottom:14px}.searchBox{background:#fff;padding:10px;border-radius:16px;display:flex;align-items:center}.searchBox input{border:none;font-size:16px}.tabs{display:flex;background:#fff;border-bottom:1px solid #ddd}.tabs button{flex:1;background:#fff;color:#444;border-radius:0;border-bottom:3px solid transparent;padding:14px 6px}.tabs button.active{color:#1fa37d;border-bottom-color:#1fa37d}.storeHint{padding:12px 18px;color:#555;background:#f8f7f4}.productList{padding-bottom:88px}.productItem{display:grid;grid-template-columns:70px 1fr 54px;gap:12px;padding:14px 18px;border-bottom:1px solid #eee;align-items:center}.productImg{width:64px;height:64px;border-radius:12px;background:#f3f1ec;display:flex;align-items:center;justify-content:center;font-size:30px;overflow:hidden}.productImg img{width:100%;height:100%;object-fit:cover}.productName{font-weight:800}.productSpec{color:#777;font-size:13px;margin:4px 0}.price{color:#e84b22;font-weight:800}.qtyControls{display:flex;align-items:center;justify-content:flex-end;gap:6px}.qtyControls button{width:36px;height:32px;padding:0;background:#fff;color:#222;border:1px solid #bbb;border-radius:12px;font-size:20px}.cartBar{position:fixed;left:50%;transform:translate(-50%);bottom:0;max-width:430px;width:100%;background:#fff;border-top:1px solid #ddd;padding:12px 18px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 -2px 12px #00000014}.cartTotal{font-weight:900;font-size:20px}.cartDrawer{position:fixed;left:50%;transform:translate(-50%);bottom:75px;max-width:430px;width:100%;max-height:55vh;overflow:auto;background:#fff;border:1px solid #ddd;border-radius:18px 18px 0 0;box-shadow:0 -6px 18px #0000001f;padding:14px}.storeQtyInput{width:72px;padding:6px}.screenshotTable th,.screenshotTable td{text-align:center}@media(max-width:768px){.shell{display:block}.sidebar{width:100%;display:flex;overflow-x:auto;border-right:0;border-bottom:1px solid #eee}.sidebar button{min-width:110px;margin-right:8px}.main{padding:10px}}
