* { margin:0; padding:0; box-sizing:border-box; }
body { background:#e9e7e2; font-family:"PingFang SC","Microsoft YaHei",sans-serif; display:flex; justify-content:center; }
.app { width:100%; max-width:480px; min-height:100vh; background:#f7f6f3; position:relative; padding-bottom:56px; }
.page { display:none; min-height:100vh; }
.page.active { display:block; }
.bar { background:#fff; padding:14px 16px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #eee; }
.brand { color:#c0392b; font-weight:600; font-size:18px; }
.t { font-size:16px; font-weight:500; color:#222; }
.sub { font-size:12px; color:#999; }
.searchbox { background:#fff; margin:12px; border-radius:12px; padding:14px; }
textarea { width:100%; min-height:88px; border:1.5px dashed #d8d6d0; border-radius:8px; padding:10px; font-size:13px; color:#333; resize:none; outline:none; font-family:inherit; }
textarea:focus { border-color:#c0392b; border-style:solid; }
.err { background:#fdf3f2; border:1px solid #f5c8c3; color:#a53023; border-radius:8px; padding:8px 10px; font-size:12px; margin-top:10px; }
.btn-main { display:block; width:100%; margin-top:12px; background:#c0392b; color:#fff; border:none; border-radius:22px; padding:12px; font-size:15px; cursor:pointer; }
.btn-main:active { opacity:.85; }
.chips { display:flex; gap:8px; margin-top:12px; }
.chip { font-size:12px; color:#666; background:#f2f1ed; border-radius:14px; padding:5px 12px; }
.chip.demo { color:#c0392b; cursor:pointer; }
.section-t { font-size:13px; color:#888; margin:16px 16px 6px; }
.hist { background:#fff; border-radius:12px; margin:8px 12px; padding:12px 14px; display:flex; justify-content:space-between; align-items:center; cursor:pointer; }
.hist.dim { opacity:.5; cursor:default; }
.hist .n { font-size:14px; color:#333; max-width:230px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hist .p { font-size:14px; color:#c0392b; }
.hist .pl { font-size:11px; color:#aaa; margin-top:3px; }
.foot { text-align:center; font-size:11px; color:#bbb; padding:24px 16px; }
.card { background:#fff; border-radius:12px; margin:12px; padding:14px; }
.prod { display:flex; gap:12px; }
.img { width:88px; height:88px; background:#eceae5; border-radius:8px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:11px; color:#aaa; }
.prod .info h4 { font-size:14px; color:#222; font-weight:400; line-height:1.5; }
.price { color:#c0392b; font-size:20px; font-weight:500; margin-top:6px; }
.price small { font-size:12px; font-weight:400; }
.verdict { background:#fdf3f2; border:1px solid #f5c8c3; color:#a53023; border-radius:8px; padding:10px 12px; font-size:13px; margin:0 12px; }
.plat { background:#fff; border-radius:12px; margin:10px 12px; padding:14px; display:flex; align-items:center; gap:12px; }
.plat.off { opacity:.55; }
.logo { width:40px; height:40px; border-radius:8px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:13px; flex-shrink:0; }
.mid { flex:1; min-width:0; }
.pn { font-size:14px; color:#222; }
.pd { font-size:12px; color:#999; margin-top:2px; }
.pp { font-size:17px; color:#c0392b; font-weight:500; text-align:right; }
.pp small { font-size:11px; color:#999; font-weight:400; display:block; }
.gobuy { border:none; border-radius:16px; padding:8px 16px; color:#fff; font-size:13px; cursor:pointer; }
.gobuy:disabled { background:#ccc; cursor:default; }
.low { font-size:10px; color:#c0392b; border:1px solid #e5a79f; border-radius:3px; padding:0 4px; margin-left:6px; }
.tabbar { position:fixed; bottom:0; width:100%; max-width:480px; background:#fff; border-top:1px solid #eee; display:flex; }
.tabbar button { flex:1; background:none; border:none; padding:14px 0; font-size:14px; color:#999; cursor:pointer; }
.tabbar button.on { color:#c0392b; font-weight:500; }
.loading { position:absolute; inset:0; background:rgba(247,246,243,.97); display:flex; flex-direction:column; align-items:center; justify-content:center; z-index:9; }
.spin { width:44px; height:44px; border:4px solid #e5e3de; border-top-color:#c0392b; border-radius:50%; animation:sp 1s linear infinite; }
@keyframes sp { to { transform:rotate(360deg);} }
.loading .lt { font-size:15px; color:#333; margin-top:16px; }
.loading .ld { font-size:12px; color:#999; margin-top:8px; padding:0 40px; text-align:center; }
.loading .ic { width:64px; height:64px; background:#f2f1ed; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px; color:#c0392b; font-weight:600; }
.glink { margin-top:20px; }
.glink a { font-size:13px; color:#c0392b; }
