:root{--brand:#b4471f;--brand-2:#e9a23b;--bg:#f6f1ea;--card:#fff;--text:#2b2118;--muted:#8a7a6a}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);margin:0;font:15px/1.6 -apple-system,PingFang SC,Microsoft YaHei,sans-serif}.wrap{max-width:520px;min-height:100vh;padding:16px 16px calc(88px + env(safe-area-inset-bottom));margin:0 auto}@media (min-width:768px){.wrap{background:var(--bg);box-shadow:0 0 40px #0000000f}}.card{background:var(--card);border-radius:14px;margin-bottom:14px;padding:16px;box-shadow:0 1px 3px #0000000a}h1{margin:4px 0 12px;font-size:22px}h2{margin:0 0 10px;font-size:17px}.muted{color:var(--muted);font-size:13px}.big{color:var(--brand);font-size:28px;font-weight:700}.row{align-items:center;gap:10px;display:flex}.between{justify-content:space-between}.btn{background:linear-gradient(90deg, var(--brand), var(--brand-2));color:#fff;text-align:center;cursor:pointer;border:0;border-radius:24px;width:100%;padding:12px;font-size:16px;font-weight:600;text-decoration:none;display:block}.btn.ghost{color:var(--brand);border:1px solid var(--brand);background:#fff}.btn:disabled{opacity:.5}.btn.sm{width:auto;padding:6px 14px;font-size:13px;display:inline-block}input,textarea{background:#fff;border:1px solid #e3d9cc;border-radius:10px;width:100%;margin-bottom:10px;padding:11px 12px;font-size:15px}.hero{color:#fff;background:radial-gradient(circle at 80% 20%,#f2c36b,#0000 50%),linear-gradient(135deg,#7a2d12,#c5622a);border-radius:16px;padding:28px 20px}.bar{background:#f0e6d8;border-radius:4px;height:8px;overflow:hidden}.bar>i{background:var(--brand-2);height:100%;display:block}.tab{padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #eee;justify-content:center;display:flex;position:fixed;bottom:0;left:0;right:0}.tab a{text-align:center;max-width:130px;color:var(--muted);flex:1;padding:12px 0 16px;text-decoration:none}.tab a.on{color:var(--brand);font-weight:600}.list>div{border-bottom:1px solid #f3ece3;padding:8px 0;font-size:14px}.list>div:last-child{border:0}.mask{z-index:10;background:#00000073;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.mask .card{width:100%;max-width:400px}.err{color:#c0392b;margin:6px 0;font-size:13px}.dot{background:#e74c3c;border-radius:50%;width:8px;height:8px;margin-left:4px;display:inline-block}table{border-collapse:collapse;width:100%;font-size:13px}td,th{text-align:left;border-bottom:1px solid #eee;padding:6px 4px}.seg{background:#efe5d8;border-radius:10px;margin-bottom:14px;padding:3px;display:flex}.seg button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:1;padding:8px 0;font-size:14px}.seg button.on{color:var(--text);background:#fff;font-weight:600;box-shadow:0 1px 2px #0000000f}.tiles{grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:10px;margin-top:10px;display:grid}.tiles>div{background:#faf6f0;border-radius:10px;padding:8px 10px}.tiles b{font-size:18px}.meter{background:#f3dfd4;border-radius:4px;height:8px;margin:4px 0 2px;overflow:hidden}.meter>i{background:var(--brand);border-radius:4px;height:100%;display:block}.legrow{padding:6px 0}.hbar{height:10px;margin:4px 0 2px}.hbar>i{background:var(--brand);border-radius:0 4px 4px 0;min-width:2px;height:100%;display:block}.tag{border:1px solid var(--brand);color:var(--brand);vertical-align:1px;border-radius:8px;margin-left:6px;padding:0 6px;font-size:11px;font-weight:400;display:inline-block}.crumbs{font-size:14px}.crumbs a{color:var(--brand);cursor:pointer}.tiles.two{grid-template-columns:1fr 1fr}.fld{min-width:120px;color:var(--muted);flex:1;font-size:13px;display:block}.fld input,.fld textarea{color:var(--text);margin-top:4px;font-family:inherit}td input{min-width:70px;margin:0;padding:6px 8px}.wrap:has(.wide){max-width:860px}.tiles b{overflow-wrap:anywhere}td input[maxlength="10"]{min-width:96px}.brand{align-items:center;gap:10px;margin:0 0 12px;display:flex}.brand img{border-radius:9px;flex:none}.brand b{letter-spacing:2px;color:#7a2d12;font-family:Songti SC,Noto Serif SC,STSong,serif;font-size:18px;display:block}.brand span{color:var(--muted);letter-spacing:1px;font-size:12px;display:block}.pd-hero{background:var(--card);border-radius:16px;margin-bottom:14px;overflow:hidden;box-shadow:0 1px 3px #0000000a}.pd-hero>img{width:100%;height:auto;display:block}.pd-hero>.pd-title,.pd-hero>.pd-price{padding:0 16px}.pd-hero>.pd-title{padding-top:12px}.pd-hero>.pd-price{padding-top:6px;padding-bottom:16px}.pd-title h1{margin:0;font-family:Songti SC,Noto Serif SC,STSong,serif;font-size:22px}h2.sec{color:#8e2913;letter-spacing:1px;font-family:Songti SC,Noto Serif SC,STSong,serif;font-size:18px}.spec{grid-template-columns:1fr 1fr;gap:0 14px;margin:0;display:grid}.spec>div{border-bottom:1px dashed #eadfce;padding:8px 0}.spec dt{color:var(--muted);font-size:12px}.spec dd{margin:0;font-size:15px}.story img,.feat img,.scenes img{border-radius:10px;width:100%;height:auto;display:block}.story img{margin-bottom:12px}.story p{color:#4a3b2e;text-indent:2em;margin:0 0 8px;font-size:14px;line-height:1.8}.story p:last-child{margin-bottom:0}.feat{grid-template-columns:42% 1fr;align-items:center;gap:12px;padding:8px 0;display:grid}.feat b{color:#8e2913;font-size:16px}.scenes{gap:10px;display:grid}.scenes figure{margin:0;position:relative}.scenes figcaption{color:#fff;letter-spacing:2px;background:linear-gradient(#0000,#0000008c);border-radius:0 0 10px 10px;padding:18px 12px 8px;font-size:14px;position:absolute;bottom:0;left:0;right:0}.badge{color:var(--muted);background:#f3e9dc;border-radius:10px;padding:1px 8px;font-size:12px;display:inline-block}.badge.PENDING_SHIP{color:#b4471f;background:#fff1e0}.badge.SHIPPED{color:#1f6fb4;background:#e6f2ff}.badge.RECEIVED{color:#2e8b57;background:#e8f5ec}.track{background:#faf6f0;border-radius:10px;margin-top:10px;padding:10px 12px;font-size:14px}.track code{letter-spacing:.5px;font-size:15px;font-weight:600}.counts{text-align:center;grid-template-columns:repeat(3,1fr);margin-top:8px;display:grid}.counts a{color:inherit;padding:6px 0;text-decoration:none}.counts b{font-size:18px;display:block}select{background:#fff;border:1px solid #e3d9cc;border-radius:10px;width:100%;margin-bottom:10px;padding:11px 12px;font-size:15px}td select,td input.trk{min-width:120px;margin:0 0 4px;padding:6px 8px;font-size:13px}.tab{z-index:6}.buybar{left:0;right:0;bottom:calc(53px + env(safe-area-inset-bottom));z-index:5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff5;border-top:1px solid #f0e6d8;justify-content:space-between;align-items:center;gap:12px;max-width:520px;margin:0 auto;padding:8px 16px;display:flex;position:fixed;box-shadow:0 -2px 10px #0000000d}.buybar b{color:var(--brand);font-size:22px}.buybar .muted{font-size:12px;line-height:1.3}.buybar .btn{flex:none;width:auto;padding:10px 28px}.buybar-space{height:64px}.btn.sm{white-space:nowrap;flex:none}.atabs{z-index:4;background:var(--bg);gap:6px;margin:0 -2px 6px;padding:8px 0;display:flex;position:sticky;top:0}.atabs button{color:#6b5a4a;cursor:pointer;background:#efe5d8;border:0;border-radius:10px;flex:1;padding:10px 0;font-size:15px;position:relative}.atabs button.on{background:var(--brand);color:#fff;font-weight:600}.atabs i{color:#fff;background:#e74c3c;border-radius:9px;min-width:18px;padding:0 5px;font-size:11px;font-style:normal;line-height:18px;position:absolute;top:-5px;right:6px}.toast{z-index:3;white-space:pre-wrap;cursor:pointer;background:#fff7e8;border:1px solid #f2d7a6;border-radius:10px;justify-content:space-between;gap:10px;margin-bottom:10px;padding:10px 14px;font-size:14px;display:flex;position:sticky;top:58px}.toast span{color:var(--muted)}.item{border-bottom:1px solid #f3ece3;padding:10px 0;font-size:14px}.item:last-child{border-bottom:0}.kv{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:6px;font-size:14px;display:grid}.kv>div{background:#faf6f0;border-radius:8px;padding:4px 8px}.kv span{color:var(--muted);font-size:11px;display:block}.addr{background:#faf6f0;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:8px;margin-top:6px;padding:8px 10px;font-size:14px;display:flex}.shipform{margin-top:8px}.shipform select,.shipform input{margin-bottom:8px}.link{color:var(--brand);cursor:pointer}@media (max-width:420px){.kv{grid-template-columns:repeat(2,1fr)}}.lvl{background:#fffdf9;border:1px solid #f0e6d8;border-radius:10px;margin-bottom:8px;padding:8px 10px 0}.lvl-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:0 10px;display:grid}.lvl-grid .fld input{margin-bottom:8px}.boxgrp{background:#fffbf3;border:1px solid #f2d7a6;border-radius:10px;margin:8px 0;padding:8px 10px}.boxhead{color:#8e2913;margin-bottom:4px;font-size:13px;font-weight:600}.ord{padding:3px 0;font-size:13px}.ord input[type=checkbox]{vertical-align:-2px;width:auto;margin:0 6px 0 0}.badge{white-space:nowrap;flex:none}table.rw{margin-top:4px;font-size:13px}table.rw td{border-bottom:1px dashed #f0e6d8;padding:3px 4px}.atabs button{font-size:14px}.qty{border:1px solid #e3d9cc;border-radius:10px;align-items:center;display:inline-flex;overflow:hidden}.qty button{width:38px;height:36px;color:var(--brand);cursor:pointer;background:#faf6f0;border:0;font-size:18px}.qty button:disabled{color:#ccc}.qty input{text-align:center;border:0;border-radius:0;width:48px;height:36px;margin:0;padding:0;font-size:16px}.wrap:has(.fin-table){max-width:1500px}.fin-table{margin-top:8px;display:none;overflow-x:auto}.fin-table table{white-space:nowrap;font-size:12px}.fin-table th{background:#faf6f0;position:sticky;top:0}.fin-table td,.fin-table th{border:1px solid #f0e6d8;padding:5px 6px}.fin-grid{grid-template-columns:auto auto 1fr;align-items:baseline;gap:2px 10px;margin-top:6px;font-size:13px;display:grid}.fin-grid>span:nth-child(3n+1){color:var(--muted)}@media (min-width:900px){.fin-table{display:block}.fin-cards{display:none}}
