:root{font-family:system-ui,-apple-system,'Microsoft YaHei',sans-serif;color:#292929;background:#f5f5f6}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5}.shell{max-width:650px;margin:auto;min-height:100vh;background:#f5f5f6;padding-bottom:90px}.top{background:#e92025;color:white;text-align:center;padding:18px;font-size:20px;font-weight:800}.main{padding:16px}.hero{background:linear-gradient(120deg,#e9141d,#ff6851);border-radius:16px;color:white;padding:24px;min-height:140px}.hero h1{font-size:25px;margin:4px 0 8px}.hero p{font-size:13px;opacity:.9}.card{background:#fff;border-radius:14px;padding:18px;margin-bottom:12px;box-shadow:0 2px 10px #00000008}.card h3{margin:0 0 10px}.card p{color:#777;font-size:13px;line-height:1.6}.title{font-size:19px;font-weight:800;border-left:4px solid #ed292c;padding-left:10px;margin:24px 0 12px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.grid .card{margin:0}.product-img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;background:#fff0ed}.placeholder{display:grid;place-items:center;font-size:42px;color:#eb8881}.price{font-size:22px;color:#e9282c;font-weight:800}.muted{font-size:13px;color:#888}.primary,.secondary,.danger{border:0;border-radius:9px;padding:11px 15px;font-weight:600;background:#eb292d;color:white}.secondary{background:#fff0ef;color:#d82629}.danger{background:#494949}.wide{width:100%}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions button{flex:1}.nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(650px,100%);background:white;border-top:1px solid #eee;display:flex;justify-content:space-around;padding:9px 0 calc(9px + env(safe-area-inset-bottom));z-index:2}.nav button{border:0;background:none;color:#888;display:grid;gap:3px;place-items:center;font-size:12px}.nav button span{font-size:22px}.nav button.active{color:#ed292c}.form{display:grid;gap:10px}.form input,.form textarea,.form select,input,textarea,select{width:100%;border:1px solid #e5e5e5;border-radius:8px;padding:11px;background:#fafafa;min-width:0}.form textarea{min-height:80px}.form label{font-size:13px;color:#555}.list button{width:100%;text-align:left;border:0;background:white;border-bottom:1px solid #eee;padding:16px;color:#333}.empty{text-align:center;color:#999;padding:32px 8px}.badge{font-size:12px;color:#dc2828;background:#fff0ef;border-radius:20px;padding:5px 9px}.modal{position:fixed;inset:0;background:#0008;display:grid;align-items:end;justify-items:center;z-index:5}.sheet{width:min(650px,100%);max-height:90vh;overflow:auto;background:white;border-radius:20px 20px 0 0;padding:22px}.sheet h2{margin-top:0;font-size:20px}.close{float:right;border:0;background:none;font-size:25px}.toast{position:fixed;top:15px;left:50%;transform:translateX(-50%);background:#333;color:white;padding:10px 16px;border-radius:8px;z-index:8}.admin{max-width:1200px;margin:auto;padding:20px}.admin header{display:flex;align-items:center;justify-content:space-between}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.tabs button{border:0;border-radius:8px;padding:10px;background:#fff}.tabs button.active{background:#e92025;color:white}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}th,td{padding:10px;border-bottom:1px solid #eee;text-align:left}td button{margin:2px}.admin-grid{display:grid;grid-template-columns:minmax(250px,350px) 1fr;gap:15px}.admin-grid .card{min-width:0}.proof{max-width:100%;max-height:280px;object-fit:contain}.dot{color:#e92025;font-weight:bold}@media(max-width:750px){.admin-grid{grid-template-columns:1fr}.admin{padding:12px}}
