:root{--ink:#2B1D16;--muted:#6E5A4E;--line:#E5D9CB;--bg:#FBF7F1;--card:#fff;--brand:#8E2B1E;--brand-dark:#6E1F15;--price:#C0352B;--soft:#F3E4D3;--soft2:#F6E3DC;--warn:#9a3d12;--warnbg:#fdf0e8;--ok:#2f6b3a;
  font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,sans-serif;color:var(--ink);background:var(--bg);line-height:1.6}
*{box-sizing:border-box}body{margin:0;padding-bottom:env(safe-area-inset-bottom);background:var(--bg)}
a{color:var(--brand)}button,input,select,textarea{font:inherit}
.devbar{background:#fff4d6;color:#6b4b00;font-size:13px;padding:6px 16px;text-align:center}
.top{position:sticky;top:0;z-index:5;background:var(--bg);display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:space-between;align-items:center;padding:10px 16px;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}
.mark{display:inline-grid;place-items:center;background:var(--brand);color:#FBF7F1;width:42px;height:42px;border-radius:50%;font-weight:900;font-size:21px;font-family:"Noto Serif TC","Songti TC",serif}
.brand-text{display:flex;flex-direction:column;line-height:1.2}.brand-name{font-weight:900;font-size:20px;letter-spacing:2px;font-family:"Noto Serif TC","Songti TC",serif}
.brand-slogan{font-size:12px;color:var(--muted);letter-spacing:1px}
.nav{display:flex;flex-wrap:wrap;gap:6px}.nav a,.nav button{font-size:14px;padding:6px 12px;border-radius:999px;background:var(--soft);color:var(--ink);text-decoration:none;border:0;cursor:pointer;font-weight:500}
.nav a.on{background:var(--brand);color:#fff}
.view{max-width:1040px;margin:auto;padding:16px}
h1{font-size:24px;margin:8px 0 16px}h2{font-size:19px;margin:20px 0 10px}h3{font-size:16px;margin:0 0 6px}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px;margin-bottom:12px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.tile{display:block;background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;color:inherit;text-decoration:none}
.tile img,.photo-main{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--soft);display:block}
.tile .body{padding:12px}.price{font-size:20px;font-weight:900;color:var(--price)}.small{font-size:13px;color:var(--muted)}
.badge{display:inline-block;font-size:12px;padding:2px 10px;border-radius:999px;background:var(--soft);margin-right:4px}
.badge.warn{background:var(--warnbg);color:var(--warn)}.badge.ok{background:#e3f1e5;color:var(--ok)}
.empty{color:var(--muted);background:var(--card);border:1px dashed var(--line);border-radius:16px;padding:14px}
.notice{background:var(--warnbg);color:var(--warn);border-radius:12px;padding:10px 14px;margin:10px 0}
.info{background:var(--soft);border-radius:12px;padding:10px 14px;margin:10px 0}
form .row{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}label{font-weight:600;font-size:14px}
input,select,textarea{width:100%;padding:10px 12px;border:1px solid #D9C9B6;border-radius:10px;background:#fff;color:var(--ink)}
textarea{min-height:80px}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
button{background:var(--brand);color:#fff;border:0;border-radius:10px;padding:10px 16px;cursor:pointer;font-weight:600}
button.ghost{background:var(--soft);color:var(--ink)}button.danger{background:var(--warn)}button:disabled{opacity:.5;cursor:not-allowed}
.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
table{width:100%;border-collapse:collapse;font-size:14px}td,th{border-bottom:1px solid var(--line);padding:6px 4px;text-align:left}td.num,th.num{text-align:right}
.thumbs{display:flex;flex-wrap:wrap;gap:8px}.thumbs figure{margin:0;width:88px}.thumbs img{width:88px;height:88px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}
.thumbs figcaption{font-size:12px;text-align:center}.thumbs button{padding:2px 6px;font-size:12px}
.video-box{aspect-ratio:16/9;width:100%;border:0;border-radius:12px}
.toast{position:fixed;left:50%;bottom:92px;transform:translateX(-50%);z-index:30;background:#2B1D16;color:#fff;padding:10px 18px;border-radius:12px;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw}
.toast.show{opacity:1}
[hidden]{display:none!important}
.guide{position:fixed;inset:0;background:rgba(43,29,22,.55);display:grid;place-items:center;z-index:20;padding:16px}
.guide-card{background:#fff;border-radius:18px;max-width:420px;width:100%;padding:22px}.guide-step{color:var(--muted);font-size:13px;margin:0}
.guide-go{display:block;width:100%;margin-top:14px}.guide-actions{display:flex;justify-content:space-between;gap:8px;margin-top:16px}
.check-list li{margin-bottom:4px}
@media(max-width:600px){.two{grid-template-columns:1fr}.view{padding:12px}h1{font-size:21px}}
input[type=checkbox],input[type=radio]{width:auto;margin-right:6px;flex:none}
td.num,button{white-space:nowrap}
.req{display:inline-block;font-size:12px;font-weight:600;padding:0 6px;border-radius:6px;vertical-align:middle;margin-left:2px}
.req-must{color:#b42318;background:#fdecea}.req-one{color:#1d4f91;background:#e7effa}.req-opt{color:var(--muted);background:var(--soft)}
.field-error input,.field-error select,.field-error textarea{border-color:#b42318;box-shadow:0 0 0 2px #fdecea}
.field-msg{color:#b42318;font-size:13px;margin:2px 0 0}
.choice{font-weight:500;display:inline-flex;align-items:center;gap:4px;margin-right:12px}.choice.block{display:flex;margin:6px 0}
.choice.disabled{opacity:.5}.choices{display:flex;flex-wrap:wrap;gap:4px}
.strike{text-decoration:line-through;color:var(--muted);font-size:14px;font-weight:400;margin-left:8px}
fieldset{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:0 0 14px}legend{font-weight:700;padding:0 6px}
.rule{display:grid;grid-template-columns:auto 1fr 1fr 1fr;gap:8px;align-items:center}
.cart-table td{vertical-align:top}.cart-table input.qty{width:72px;padding:6px 8px}
tr.charge td{color:var(--muted);font-size:13px;border-bottom:0}tr.total td{font-weight:700;font-size:16px;border-top:2px solid var(--ink)}
.line-problem{color:var(--warn);font-size:13px}.group-head{margin:0 0 8px}
.facts th{width:96px;color:var(--muted);font-weight:600;vertical-align:top}.danger-text{color:#b42318;font-weight:700}
.suggest{color:var(--brand);font-size:12px;margin-left:4px}.price-details{margin:8px 0}.price-details summary{cursor:pointer;font-weight:600}
details summary{cursor:pointer}h4{margin:14px 0 6px}
@media(max-width:600px){.rule{grid-template-columns:1fr}.cart-table{font-size:13px}.cart-table td,.cart-table th{padding:6px 2px}.cart-table input.qty{width:56px}.choice{margin-right:8px}}
.site-footer{max-width:1040px;margin:24px auto 0;padding:16px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.evidence{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0}.evidence img{width:96px;height:96px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}
.evidence video{width:220px;max-width:100%;border-radius:10px;background:#000}
.serial-box,.mono{font-family:ui-monospace,Consolas,monospace}.serial-box{background:#FBF7F1;border:1px dashed var(--line);border-radius:10px;padding:8px 12px;word-break:break-all}
.item-state{border-top:1px dashed var(--line);margin-top:10px;padding-top:8px}.aftersale{background:var(--warnbg);border-radius:12px;padding:8px 12px;margin:8px 0}
.aftersale-form{margin:8px 0}.aftersale-form summary{font-weight:600;color:var(--brand)}
button.dev{border:1px dashed #b88a00;background:#fff4d6;color:#6b4b00}
.kind-row{background:var(--soft);border-radius:12px;padding:10px 12px}
.settle-table td:nth-child(2),.settle-table th:nth-child(2){white-space:nowrap}
.return-box{background:var(--soft);border-radius:12px;padding:8px 12px;margin:8px 0}.return-box .row{margin:6px 0}
.refunds{margin:8px 0}.refund{border:1px solid var(--line);border-radius:12px;padding:8px 12px;margin:6px 0}.refund.late,.card.late{border-color:var(--warn)}
.refund-lines{width:100%;font-size:13px}.refund-lines td{padding:2px 0}
.resolve{border:1px dashed var(--line);border-radius:12px;padding:8px 12px;margin:8px 0}.resolve select,.resolve input{max-width:100%}

.view{padding-bottom:96px}
.search{display:flex;align-items:center;gap:8px;height:44px;padding:0 14px;background:#fff;border:1px solid var(--line);border-radius:22px;color:var(--muted);margin:4px 0 14px}
.search input{border:0;outline:0;padding:0;background:transparent;font-size:15px}
.hero{position:relative;display:block;border-radius:18px;overflow:hidden;min-height:220px;background:var(--soft);color:#FBF7F1;text-decoration:none;margin-bottom:6px}
.hero img{width:100%;height:100%;min-height:220px;max-height:380px;object-fit:cover;display:block}
.hero .over{position:absolute;left:0;right:0;bottom:0;padding:16px 18px;background:linear-gradient(0deg,rgba(43,29,22,.85),rgba(43,29,22,.35) 70%,rgba(43,29,22,0));display:flex;flex-direction:column;gap:4px}
.hero .tag{align-self:flex-start;font-size:12px;font-weight:700;background:var(--price);padding:2px 10px;border-radius:10px}
.hero .name{margin:0;font-family:"Noto Serif TC","Songti TC",serif;font-weight:900;font-size:26px;line-height:1.25}
.hero .sub{margin:0;font-size:13px}.hero .money{font-size:24px;font-weight:900}.hero .ref{font-size:13px;text-decoration:line-through;opacity:.85;margin-left:8px}
.quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}
.quick a{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 0;border-radius:14px;background:#fff;color:var(--ink);font-size:13px;font-weight:500;text-decoration:none;border:1px solid var(--line)}
.quick a.on{background:var(--soft2);border-color:var(--soft2)}
.quick span{width:40px;height:40px;border-radius:50%;background:var(--soft2);color:var(--brand);display:grid;place-items:center;font-weight:900}
.section-head{display:flex;align-items:baseline;justify-content:space-between;margin:22px 0 10px}.section-head h2{margin:0;font-size:20px;font-weight:900}
.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;margin-bottom:10px}
.chips button{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:18px;padding:6px 14px;font-weight:500}.chips button.on{background:var(--brand);color:#fff;border-color:var(--brand)}
.goods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(min-width:760px){.goods{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:1000px){.goods{grid-template-columns:repeat(4,minmax(0,1fr))}}
.good{background:#fff;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 1px 0 var(--line);color:inherit;text-decoration:none}
.good .pic{position:relative;aspect-ratio:1/1;background:var(--soft)}.good .pic img{width:100%;height:100%;object-fit:cover;display:block}
.good .pic .tag{position:absolute;top:8px;left:8px;font-size:11px;font-weight:700;color:#fff;background:var(--price);padding:2px 8px;border-radius:8px}
.good .pic .tag.gray{background:#6E5A4E}
.good .txt{padding:10px 10px 12px;display:flex;flex-direction:column;gap:3px}.good .nm{margin:0;font-size:15px;font-weight:700;line-height:1.35}
.good .sp{margin:0;font-size:12px;color:var(--muted)}.good .pr{font-size:20px;font-weight:900;color:var(--price)}.good .rf{font-size:12px;color:var(--muted);text-decoration:line-through;margin-left:6px}
.good .meta{font-size:12px;color:var(--brand)}
.soon{display:flex;gap:12px;background:#fff;border-radius:14px;padding:10px;align-items:center;margin-bottom:10px}
.soon img,.soon .ph{width:84px;height:84px;flex:0 0 84px;border-radius:10px;object-fit:cover;background:var(--soft)}
.soon .t{flex:1;min-width:0}.soon .t p{margin:0}.soon .t .n{font-weight:700}.soon .t .w{font-size:12px;color:var(--brand)}
button.outline{background:#fff;color:var(--brand);border:1.5px solid var(--brand);border-radius:20px;padding:8px 12px;font-size:13px}
button.outline.on{background:var(--brand);color:#fff}
.promise{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}@media(min-width:760px){.promise{grid-template-columns:repeat(4,minmax(0,1fr))}}
.promise div{background:#fff;border-radius:12px;padding:12px}.promise p{margin:0}.promise .k{font-size:14px;font-weight:700;color:var(--brand)}.promise .d{font-size:12px;color:var(--muted);line-height:1.5}
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:6;height:68px;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center}
.tabbar a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:13px;color:var(--muted);text-decoration:none;position:relative}
.tabbar a.on{color:var(--brand);font-weight:700}.tabbar svg{width:24px;height:24px}
.tabbar .dot{position:absolute;top:-4px;left:calc(50% + 6px);min-width:18px;height:18px;border-radius:9px;background:var(--price);color:#fff;font-size:11px;display:grid;place-items:center;padding:0 4px}
@media(min-width:900px){.tabbar{display:none}.view{padding-bottom:24px}.toast{bottom:24px}}
@media(max-width:899px){.top .nav.consumer{display:none}}
.pd-photos{background:var(--soft);border-radius:16px;overflow:hidden}.pd-photos .main{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;max-height:520px}
.pd-thumbs{display:flex;gap:8px;padding:10px 0;overflow-x:auto}.pd-thumbs img{width:56px;height:56px;border-radius:8px;object-fit:cover;border:2px solid var(--line);cursor:pointer}.pd-thumbs img.on{border-color:var(--brand)}
.pd-layout{display:grid;gap:16px}@media(min-width:900px){.pd-layout{grid-template-columns:1fr 1fr;align-items:start}}
.pd-title{margin:4px 0;font-family:"Noto Serif TC","Songti TC",serif;font-weight:900;font-size:26px;line-height:1.3}
.pd-price{display:flex;align-items:baseline;gap:10px;margin:6px 0 2px}.pd-price .now{font-size:32px;font-weight:900;color:var(--price)}.pd-price .was{font-size:15px;color:var(--muted);text-decoration:line-through}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border-radius:14px;padding:12px 0;margin:12px 0}
.stats>div:not(.stat){display:flex;flex-direction:column;align-items:center;gap:2px}.stats>div:not(.stat)+div:not(.stat){border-left:1px solid #EFE5D8}.stats .v{font-size:17px;font-weight:900;color:var(--brand)}.stats .k{font-size:12px;color:var(--muted)}
.kv{background:#fff;border-radius:14px;padding:4px 14px}.kv div{display:flex;gap:12px;padding:10px 0;font-size:14px}.kv div+div{border-top:1px solid #EFE5D8}
.kv span:first-child{width:96px;flex:0 0 96px;color:var(--muted)}.kv span:last-child{flex:1;line-height:1.5;word-break:break-word}
.hong{display:flex;gap:12px;padding:18px;border-radius:16px;background:var(--soft);margin:18px 0}
.hong .mark{flex:0 0 44px;width:44px;height:44px;font-size:20px}.hong p{margin:0}.hong .who{font-weight:700;color:var(--brand)}.hong .say{font-family:"Noto Serif TC","Songti TC",serif;font-size:17px;line-height:1.7}
.buybar{position:fixed;left:0;right:0;bottom:0;z-index:7;background:#fff;border-top:1px solid var(--line);padding:10px 12px calc(12px + env(safe-area-inset-bottom));display:flex;gap:8px;align-items:center}
.buybar .step{display:flex;align-items:center;border:1px solid var(--line);border-radius:22px;height:44px}.buybar .step button{background:transparent;color:var(--brand);width:36px;padding:0;font-size:20px}
.buybar .step span{width:28px;text-align:center;font-weight:700}.buybar .go{flex:1;height:46px;border-radius:23px}.buybar .add{background:#fff;color:var(--brand);border:1.5px solid var(--brand)}.buybar .now{background:var(--price)}
@media(min-width:900px){.buybar{position:static;border:0;padding:0;margin-top:14px;background:transparent}}
.pd-section h2{font-size:20px;font-weight:900}
.login-box{max-width:420px;margin:24px auto;text-align:center}.login-box .mark{margin:0 auto 10px}
.oauth{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:48px;border-radius:24px;font-size:16px;font-weight:700;text-decoration:none;margin:10px 0}
.oauth.line{background:#06C755;color:#fff}.oauth.google{background:#fff;color:#2B1D16;border:1px solid var(--line)}
.policy h2{font-size:18px}.policy p,.policy li{font-size:15px;line-height:1.8}
.site-footer a{color:var(--muted);margin-right:12px}
.paying{position:fixed;inset:0;z-index:40;background:rgba(251,247,241,.95);display:grid;place-items:center;font-size:18px;font-weight:700;color:var(--brand)}
.stage-note{background:#fff4d6;color:#6b4b00;border-radius:10px;padding:8px 12px;font-size:13px}

.card.left{text-align:left}.pre{white-space:pre-line}input.inv-no{width:130px}
.search svg{width:18px;height:18px;flex:none}

.banner{position:relative;margin:0 0 6px}
.slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:18px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.slides::-webkit-scrollbar{display:none}
.slide{position:relative;flex:0 0 100%;scroll-snap-align:start;min-height:200px;aspect-ratio:2/1;max-height:360px;display:flex;align-items:flex-end;color:#FBF7F1;text-decoration:none;overflow:hidden;background:var(--brand-dark)}
.slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.slide .over{position:relative;width:100%;padding:16px 18px 22px;display:flex;flex-direction:column;gap:4px}
.slide.photo .over,.slide.b2 .over{background:linear-gradient(0deg,rgba(43,29,22,.85),rgba(43,29,22,.3) 75%,rgba(43,29,22,0))}
.slide .tag{align-self:flex-start;font-size:12px;font-weight:700;background:var(--price);padding:2px 10px;border-radius:10px;color:#fff}
.slide .name{margin:0;font-family:"Noto Serif TC","Songti TC",serif;font-weight:900;font-size:26px;line-height:1.25}
.slide .sub{margin:0;font-size:14px;opacity:.95}
.slide.b1{background:linear-gradient(135deg,#6E1F15 0%,#8E2B1E 55%,#C0352B 100%)}
.slide.b3{background:linear-gradient(135deg,#4A3326 0%,#6E5A4E 100%)}
.slide.b2{background:linear-gradient(135deg,#8E2B1E,#C0352B)}
.dots{display:flex;justify-content:center;gap:6px;margin-top:8px}
.dots button{width:8px;height:8px;min-width:8px;padding:0;border-radius:50%;background:#D9C9B6}.dots button.on{background:var(--brand);width:20px;border-radius:4px}
@media(min-width:900px){.slide{aspect-ratio:3/1}.slide .name{font-size:34px}}
.goods .gcard{background:#fff;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 1px 0 var(--line);color:inherit;text-decoration:none}
.pic{position:relative;aspect-ratio:1/1;background:var(--soft);display:grid;place-items:center}.pic img{width:100%;height:100%;object-fit:cover;display:block}
.pic .noimg{font-size:40px;font-weight:900;color:var(--brand);opacity:.35;font-family:"Noto Serif TC","Songti TC",serif}
.pic .tag{position:absolute;top:8px;left:8px;font-size:11px;font-weight:700;color:#fff;background:var(--price);padding:2px 8px;border-radius:8px}.pic .tag.gray{background:#6E5A4E}
.gcard .txt{padding:10px 10px 12px;display:flex;flex-direction:column;gap:4px}.gcard .nm{margin:0;font-size:15px;font-weight:700;line-height:1.35}
.gcard .sp{margin:0;font-size:12px;color:var(--muted)}.gcard .pr{font-size:20px;font-weight:900;color:var(--price)}.gcard .rf{font-size:12px;color:var(--muted);text-decoration:line-through;margin-left:6px}
.gcard .meta,.gcard .left{margin:0;font-size:12px;color:var(--brand)}.gcard .left{color:var(--muted)}
.gcard .say{margin:2px 0 0;font-size:12px;color:var(--ink);background:var(--soft);border-radius:8px;padding:4px 8px;line-height:1.5}
.bar{height:8px;background:#EFE5D8;border-radius:4px;overflow:hidden}.bar .fill{display:block;height:100%;background:linear-gradient(90deg,#C0352B,#8E2B1E);border-radius:4px;transition:width .4s}
.cd{font-variant-numeric:tabular-nums;font-weight:700;color:var(--brand)}
.good .pic{aspect-ratio:1/1}
.soon .ph{display:grid;place-items:center;font-size:30px;font-weight:900;color:var(--brand);font-family:"Noto Serif TC","Songti TC",serif}
.soon .when{font-size:14px;font-weight:700;color:var(--ink)}.soon .say{margin:4px 0 0;font-size:12px;background:var(--soft);border-radius:8px;padding:4px 8px}
.empty-state{background:#fff;border:1px dashed var(--line);border-radius:16px;padding:22px 16px;text-align:center;margin-bottom:10px}
.empty-state .mark{margin:0 auto 8px;opacity:.85}.empty-state .t{margin:4px 0;font-weight:700;font-size:16px}.empty-state .small{margin:0 0 4px}
.actions.center{justify-content:center}
.sub-head{margin:16px 0 8px;font-size:16px;font-weight:900}
.scroller{display:flex;gap:12px;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x proximity}.scroller .good{flex:0 0 150px;scroll-snap-align:start}
.cats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:6px}@media(min-width:760px){.cats{grid-template-columns:repeat(6,minmax(0,1fr))}}
.cats .cat{display:flex;flex-direction:column;align-items:center;gap:2px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:10px 4px}
.cats .cat.on{background:var(--brand);color:#fff;border-color:var(--brand)}.cats .cn{font-weight:700;font-size:14px}.cats .ct{font-size:12px;opacity:.8}
.offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 4px}
.offer{display:flex;flex-direction:column;align-items:flex-start;gap:0;background:#fff;color:var(--ink);border:1.5px solid var(--line);border-radius:12px;padding:8px 12px;text-align:left}
.offer.on{border-color:var(--brand);background:var(--soft2)}.offer.off{opacity:.6}.offer .ol{font-size:12px;color:var(--muted);font-weight:500}.offer .op{font-size:20px;font-weight:900;color:var(--price)}.offer .on-note{font-size:12px;color:var(--brand);font-weight:500}
.g-box{display:flex;justify-content:center;min-height:44px;margin:10px 0}.g-btn{display:flex;justify-content:center}
@media(prefers-reduced-motion:reduce){.slides{scroll-behavior:auto}.bar .fill{transition:none}}

.mark.logo{background:transparent;overflow:hidden;padding:0}.mark.logo img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.line-actions{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.line-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:22px;background:#06C755;color:#fff!important;font-weight:700;text-decoration:none;font-size:15px;margin-right:0!important}
.line-btn.community{background:#fff;color:#06A04A!important;border:1.5px solid #06C755}
.community-card{padding:12px 16px}.community-card p{margin:0 0 6px}
.site-footer .line-actions a{margin-right:0}
.slide.photo{flex-direction:column;align-items:stretch;aspect-ratio:auto;min-height:0;max-height:none;background:var(--soft)}
.slide.photo img{position:static;aspect-ratio:4/1;height:auto;object-fit:cover;display:block}
.slide.photo .cap{padding:8px 14px 10px;background:var(--brand-dark);color:#FBF7F1}.slide.photo .cap p{margin:0}.slide.photo .cap .name{font-weight:900;font-size:16px}.slide.photo .cap .sub{font-size:13px;opacity:.9}
details.advanced{border:1px solid var(--line);border-radius:12px;padding:8px 14px 4px;margin:0 0 14px;background:#fff}
details.advanced>summary{font-weight:700;color:var(--brand);padding:6px 0}
.advanced-grid{display:grid;gap:0}
.sticky-actions{position:sticky;bottom:72px;background:var(--card);padding:10px 0;border-top:1px solid var(--line);z-index:4}
.summary-card{max-height:86vh;overflow:auto}.summary-card ul{padding-left:18px}
.cards-grid{display:grid;gap:12px}.card.off{opacity:.65}
.row.inline{flex-direction:row;align-items:center;gap:8px}.row.inline label{margin:0}.row.inline input{width:90px}
.cols2{display:grid;gap:0 16px}
.install-tip{position:fixed;left:8px;right:8px;bottom:76px;z-index:8;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 18px rgba(43,29,22,.18);padding:10px 12px}
.install-tip p{margin:0 0 6px}.install-tip .actions{margin-top:4px}
@media(min-width:900px){
  .cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cols2{grid-template-columns:1fr 1fr}
  .advanced-grid{grid-template-columns:1fr 1fr;gap:0 16px;align-items:start}
  .product-form{max-width:980px}
  .sticky-actions{bottom:0}
  .slide.photo .cap .name{font-size:20px}
}

button.big,.big-link{min-height:48px;padding:0 18px;font-size:16px;border-radius:24px}
button.big.on{background:var(--brand);color:#fff}button.big.ghost{background:var(--soft);color:var(--ink)}button.big.danger.on{background:var(--warn)}
.picker{margin:8px 0 12px}
.dropzone{border:2px dashed var(--line);border-radius:16px;padding:14px;text-align:center;background:#fff;transition:background .15s,border-color .15s}
.dropzone.over{border-color:var(--brand);background:var(--soft2)}.dropzone .actions{justify-content:center}.drop-hint{margin:6px 0 0;display:none}
@media(min-width:900px){.drop-hint{display:block}}
.ai-banner{background:#fff4d6;color:#6b4b00;border-radius:10px;padding:8px 12px;font-weight:600}
.chip-btn{background:var(--soft);color:var(--ink);border-radius:14px;padding:2px 10px;margin:2px 4px 2px 0;font-weight:500;min-height:0}
.grow{flex:1;min-width:0}.row.inline{display:flex;flex-direction:row;align-items:center;gap:8px;margin-bottom:8px}.row.inline input,.row.inline select{flex:1;width:auto}
.contact-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0}
.big-link{display:flex;align-items:center;justify-content:center;background:var(--brand);color:#fff!important;text-decoration:none;font-weight:700;font-size:15px;text-align:center}
.big-link.line{background:#06C755}.big-link.off{background:var(--soft);color:var(--muted)!important}
.status-row{display:flex;gap:8px;overflow-x:auto;padding:4px 0 10px;margin:0 -2px;scroll-snap-type:x proximity}.status-row button{flex:0 0 auto;scroll-snap-align:start}
.split{display:block}.pitem{display:block;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;margin-bottom:8px;color:inherit;text-decoration:none}
.pitem.on{border-color:var(--brand);background:var(--soft2)}.pitem .pt,.quote .pt{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}
.due{color:#b42318;font-weight:700}
.split.has-detail .plist{display:none}.back-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.back-row h2{margin:8px 0}
.quote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-bottom:10px}
.quote{border:1.5px solid var(--line);border-radius:14px;padding:12px;background:#fff}.quote.best{border-color:#2f6b3a;background:#f3faf4}.quote.chosen{box-shadow:0 0 0 2px var(--brand)}.quote.expired{opacity:.6}
.qprice{font-size:26px;font-weight:900;color:var(--price);margin:4px 0}.qlist{padding-left:18px;margin:0 0 6px}
.big-summary{font-weight:700;color:var(--brand);padding:8px 0;min-height:44px}
.logs{max-height:320px;overflow:auto;margin-bottom:8px}.log{background:var(--soft);border-radius:12px;padding:8px 12px;margin-bottom:6px}.log p{margin:2px 0 0;white-space:pre-line}
.invite-box{border-color:var(--brand)}
@media(min-width:900px){
  .split{display:grid;grid-template-columns:minmax(300px,380px) 1fr;gap:16px;align-items:start}
  .split.has-detail .plist{display:block}.plist{position:sticky;top:76px;max-height:calc(100vh - 100px);overflow:auto}
  .back-row .back{display:none}
}

.admin-hint{max-width:1040px;margin:8px auto 0;padding:10px 16px;background:#fff4d6;border-radius:12px;color:#6b4b00;text-align:center}
.admin-hint p{margin:0 0 6px}
.install-btn{background:var(--soft)!important;color:var(--ink)!important}.install-btn.big{background:var(--brand)!important;color:#fff!important}
.nav .install-btn{font-weight:600}

.role-tag{background:var(--ink);color:var(--bg);font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;letter-spacing:1px}
.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
@media(min-width:760px){.stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1100px){.stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
.stat{display:block;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px;color:var(--ink);text-decoration:none}
a.stat:hover{border-color:var(--ink)}
.stat-title{font-size:13px;color:var(--muted)}
.stat-value{font-size:24px;font-weight:900;margin:4px 0;word-break:break-all}
.stat-sub{font-size:12px;color:var(--muted)}
.stat.warn{background:var(--warnbg)}
.stat.bad{background:var(--warnbg);border-color:var(--warn)}.stat.bad .stat-value{color:var(--warn)}
.chart-box{width:100%;overflow:hidden}
.chart{width:100%;height:auto;display:block}
.chart .grid-line{stroke:var(--line);stroke-width:1}
.chart .axis{fill:var(--muted);font-size:11px}
.chart .line-revenue{stroke:#2f6fdb;stroke-width:2.5}
.chart .line-margin{stroke:#2e8b57;stroke-width:2.5}
.legend{font-size:13px;margin:6px 0 0}.dot-revenue{color:#2f6fdb}.dot-margin{color:#2e8b57}
.two-col{display:grid;gap:12px}@media(min-width:900px){.two-col{grid-template-columns:1fr 1fr;align-items:start}}
.camp{padding:8px 0;border-bottom:1px solid var(--line)}.camp:last-child{border:0}
.bar{background:var(--soft);border-radius:999px;height:8px;overflow:hidden;margin-top:6px}
.bar-fill{background:var(--ink);height:100%;border-radius:999px}
ul.plain{list-style:none;padding:0;margin:0}ul.plain li{padding:6px 0;border-bottom:1px solid var(--line)}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 10px}
.chip{background:var(--soft);color:var(--ink);border:1px solid var(--line);border-radius:999px;padding:6px 14px}
.chip.on{background:var(--ink);color:var(--bg)}
.table-wrap{overflow-x:auto}
table.report th,table.report td{white-space:nowrap}
table.report tr.low td{background:var(--warnbg)}
.po.late{border-color:var(--warn)}
.po-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.po-head h2{margin:0}
.po-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}
@media(min-width:760px){.po-facts{grid-template-columns:repeat(4,minmax(0,1fr))}}
.po-detail{margin-top:10px}
.tax-tag{font-size:11px;color:var(--muted);margin-left:4px;font-weight:400}

.app-item{border-top:1px solid var(--line);padding:10px 0}.app-item:first-of-type{border-top:0}
.sticky-actions{position:sticky;bottom:0;background:var(--bg);padding:10px 0;margin-top:12px}
.quick-page{max-width:520px;margin:0 auto}.quick-page .buybar.quick{position:sticky;bottom:0;background:var(--bg);padding:10px 0}
.qr{display:block;margin:8px 0;border:1px solid var(--line);border-radius:8px;background:#fff}
.link-card .actions a{text-decoration:none}
.big-num{font-size:28px;font-weight:900}

.auth-buttons{display:flex;gap:8px;align-items:center;margin-left:auto}
.auth-buttons[hidden]{display:none}
.auth-btn{white-space:nowrap;text-decoration:none;font-size:14px;font-weight:700;padding:7px 14px;border-radius:999px;border:1px solid var(--ink);color:var(--ink);background:transparent}
.auth-btn.shop{background:var(--ink);color:var(--bg)}
@media(max-width:480px){.top{gap:6px 8px;padding:8px 12px}.brand-slogan{display:none}.brand-name{font-size:17px;letter-spacing:1px}.auth-btn{font-size:13px;padding:6px 10px}.brand{gap:6px;min-width:0}.brand-text{min-width:0}.brand-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:34vw}}
.foot-groups{display:grid;gap:0;margin-bottom:10px}
.foot-group{border-top:1px solid var(--line);padding:8px 0}
.foot-group summary{font-weight:700;cursor:pointer;padding:4px 0;list-style:none}
.foot-group summary::-webkit-details-marker{display:none}
.foot-group summary::after{content:"＋";float:right;color:var(--muted)}
.foot-group[open] summary::after{content:"－"}
.foot-group ul{list-style:none;padding:0;margin:4px 0 0;display:grid;gap:6px}
@media(min-width:900px){.foot-groups{grid-template-columns:repeat(3,1fr);gap:24px}.foot-group{border-top:0}.foot-group summary{pointer-events:none;cursor:default}.foot-group summary::after{content:""}}
.foot-company{font-size:12px;color:var(--muted);text-align:center;margin:8px 0}
.terms-note{margin:8px 0}.company-box{margin-top:12px}
.setting-group{border:1px solid var(--line);border-radius:16px;padding:6px 12px;margin-bottom:10px;background:var(--card)}
.setting-group>summary{font-weight:800;font-size:16px;cursor:pointer;padding:8px 0;list-style:none}
.setting-group>summary::-webkit-details-marker{display:none}
.setting-group>summary::before{content:"▸ ";color:var(--muted)}.setting-group[open]>summary::before{content:"▾ "}
#set-search{width:100%;margin:8px 0}
.selftest-msg{white-space:pre-wrap;word-break:break-all}
.selftest h3{margin:12px 0 4px}
.ask-back{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:100;padding:16px}
.ask-box{background:var(--card,#fff);color:var(--ink);border-radius:16px;padding:18px;max-width:420px;width:100%;box-shadow:0 8px 30px rgba(0,0,0,.3)}
.ask-box input{width:100%;margin:8px 0}.ask-line{margin:0 0 8px;white-space:pre-wrap}
.ask-box .actions{justify-content:flex-end}
.carrier-pick{display:inline-flex;gap:6px;flex-wrap:wrap}
.side{background:#fff;border-right:1px solid var(--line);padding:12px 12px 24px;font-size:14px}
.side-group{margin-bottom:14px}
.side a,.side button{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;padding:8px 10px;border-radius:10px;color:var(--ink);text-decoration:none;background:none;border:0;font-weight:500;font-size:14px;cursor:pointer;white-space:normal}
.side a:hover,.side button:hover{background:var(--soft)}
.side a.on{background:var(--brand);color:#fff}
.side .side-install{font-weight:500}
.side-count{display:inline-block;min-width:20px;padding:0 6px;border-radius:10px;background:var(--price);color:#fff;font-size:11px;line-height:20px;text-align:center;font-weight:700}
.admin-bar{display:none}
.side-close{display:none!important}
body.admin{display:grid;grid-template-columns:248px minmax(0,1fr);align-items:start}
body.admin>.devbar{grid-column:1/-1;grid-row:1}
body.admin>.top{grid-column:1/-1;grid-row:2}
body.admin>.side{grid-column:1;grid-row:3/span 2;position:sticky;top:62px;max-height:calc(100vh - 62px);overflow:auto;align-self:start}
body.admin>.view{grid-column:2;grid-row:3;max-width:none;width:100%;margin:0}
body.admin>.site-footer{grid-column:2;grid-row:4;max-width:none;width:100%;margin:24px 0 0}
body.admin>.top .nav{display:none}
@media(max-width:899px){
  body.admin{display:block}
  body.admin>.side{display:none}
  body.admin>.top .nav.admin-bar{display:flex;align-items:center;gap:6px;margin-left:auto}
  body.admin>.top{position:sticky}
  body.admin.menu-open>.side{display:block;position:fixed;left:0;right:0;top:0;bottom:0;max-height:none;z-index:40;border:0;padding-top:12px}
  body.admin.menu-open .side-close{display:flex!important;background:var(--soft);font-weight:700;margin-bottom:10px}
  .admin-bar .menu-btn{background:var(--ink);color:#fff}
  .admin-bar .side-count{margin-left:6px}
}
.unit-box{display:flex;align-items:stretch;border:1px solid #D9C9B6;border-radius:10px;background:#fff;overflow:hidden;width:100%}
.unit-box input{border:0;border-radius:0;min-width:0;flex:1}
.unit-pre,.unit-suf{display:grid;place-items:center;padding:0 10px;background:var(--soft);color:var(--muted);font-size:14px;white-space:nowrap}
.spec-picker{display:grid;gap:6px}
.spec-row{display:flex;gap:6px;align-items:center}
.spec-row .spec-qty{width:80px;flex:none}
.spec-row select{min-width:0}
.spec-slash{color:var(--muted)}
.quick-row{display:grid;grid-template-columns:auto 72px minmax(0,1.4fr) minmax(0,1fr);gap:12px;align-items:start;padding:12px 0;border-top:1px solid var(--line)}
.quick-thumb img{width:72px;height:72px;object-fit:cover;border-radius:10px}
.quick-main,.quick-side{display:grid;gap:6px;min-width:0}
.quick-row.field-error{border:1px solid #b42318;border-radius:12px;padding:12px}
.missing{background:#fff6d6!important}
.mono{font-family:ui-monospace,Consolas,monospace;word-break:break-all}
@media(max-width:760px){.quick-row{grid-template-columns:auto 64px minmax(0,1fr)}.quick-side{grid-column:1/-1}}
.onepage { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line, #ddd); }
.onepage .grow { flex: 1 1 200px; min-width: 0; }
.onepage .thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.onepage.bad, .choice.bad { outline: 2px solid #c0392b; background: #fdecea; }
.sug { display: inline-block; margin-left: 6px; font-size: 12px; color: #6b7280; background: #f3f4f6; border-radius: 4px; padding: 0 6px; }
.bad-text { color: #c0392b; }
.plan-card { border: 1px solid var(--line, #ddd); border-radius: 10px; padding: 12px; margin: 8px 0; }
.plan-head { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.plan-head input { flex: 1; min-width: 0; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 12px; }
.plan-field { display: flex; flex-direction: column; gap: 2px; }
.product-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; text-decoration: none; color: inherit; }
.product-row .grow { flex: 1 1 200px; min-width: 0; }
.product-row .thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.product-row .thumb.none { display: flex; align-items: center; justify-content: center; background: #eee; font-size: 11px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; } .filters > * { flex: 1 1 140px; min-width: 0; }
.promo-form .row.inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.alerts{background:#fff4d6;border-bottom:1px solid #f0d58a;padding:8px 16px;font-size:14px}.alerts a{display:block;color:#7a4b00;font-weight:600;text-decoration:none;padding:2px 0}
@media(max-width:899px){.nav.vendor-nav{display:none}}
.subtabs{display:flex;gap:8px;overflow-x:auto;padding:2px 0 8px;margin:0 0 14px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.subtabs::-webkit-scrollbar{display:none}
.subtabs a{flex:0 0 auto;white-space:nowrap;padding:8px 16px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);text-decoration:none;font-weight:600;font-size:15px;min-height:40px;display:inline-flex;align-items:center}
.subtabs a.on{background:var(--brand);border-color:var(--brand);color:#fff}
.subtab-tools{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 8px;padding-top:16px;border-top:1px solid var(--line)}.subtab-tools button{flex:0 0 auto}

.ask-box{max-height:calc(100dvh - 32px);overflow-y:auto;min-width:0}.ask-box select{width:100%;max-width:100%;min-width:0}

.field-help-button{display:inline-flex;align-items:center;justify-content:center;padding:0;width:26px;height:26px;border-radius:50%;font-size:15px;vertical-align:middle;margin-left:4px}.field-help-text{display:block;margin:6px 0;padding:10px;background:var(--card,#fff);border:1px solid var(--line,#ddd);border-radius:8px;font-weight:normal;white-space:normal;overflow-wrap:anywhere}.field-help-text[hidden],.select-full-text[hidden]{display:none}.select-full-text{display:block;font-size:13px;color:var(--muted,#666);white-space:normal;overflow-wrap:anywhere}select{min-width:0;max-width:100%}.row select,.rule select{width:100%}.rule{min-width:0}.rule .unit-box{max-width:100%}
.pkg-form{display:flex;flex-direction:column;gap:6px;width:100%}.pkg-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.pkg-row input{flex:1 1 140px;min-width:0}
.small-btn{padding:4px 10px;font-size:13px;min-height:32px}.pkg-view{margin:4px 0}
.wish-float{position:fixed;right:14px;bottom:calc(80px + env(safe-area-inset-bottom));z-index:8;display:flex;align-items:center;gap:6px;padding:11px 16px;border-radius:999px;background:var(--brand);color:#fff;font-weight:700;font-size:15px;text-decoration:none;box-shadow:0 6px 18px rgba(0,0,0,.2)}
.order-fold{margin:0 0 8px}.order-fold>summary.order-line{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;padding:12px 14px;border:1px solid #e5e0d8;border-radius:12px;background:#fff;cursor:pointer;min-height:44px}.order-fold[open]>summary.order-line{border-radius:12px 12px 0 0}
.wish-float[hidden]{display:none}.wish-float.away{opacity:0;pointer-events:none}.wish-float.community{background:#06C755}.float-line{font-size:12px;font-weight:900;background:#fff;color:#06C755;border-radius:6px;padding:2px 5px;line-height:1.2}.wish-float svg{width:20px;height:20px;fill:#FFD66B;stroke:#FFD66B}
@media(min-width:900px){.wish-float{bottom:28px;right:28px}}
.seo-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.seo-list img{width:100%;height:auto;display:block;border-radius:8px;margin-bottom:4px}.seo-summary img{max-width:100%;height:auto}.seo-cats ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px}.seo-crumbs{font-size:13px;margin-bottom:8px}
input[type=checkbox],input[type=radio],.row.inline input[type=checkbox],.row.inline input[type=radio]{width:20px;height:20px;flex:none;min-width:20px}
.s-free-ship{margin:6px 0;padding:8px 12px;border-radius:10px;background:#FFF4E5;color:#8E2B1E;font-size:15px}.s-free-ship.ok{background:#EAF7EE;color:#1E6B3A}

.s-card .s-tag{white-space:normal;max-width:100%;line-height:1.35}
.s-card2 .s-card-image{position:relative;height:auto;aspect-ratio:1/1;padding:0;background:#fff;overflow:hidden}.s-card2 .s-card-image img{width:100%;height:100%;object-fit:cover}
.s-card2 .s-card-body{padding:10px 10px 12px;gap:4px}.s-card2 h3{font-size:15px;line-height:1.4;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.8em}
.s-card-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.s-card-price .now{font-size:22px;font-weight:800;color:#E4393C;line-height:1.2}.s-card-price del{font-size:13px;color:#9a9a9a}
.s-ship-badge{position:absolute;left:0;bottom:0;background:#1E7B4F;color:#fff;font-size:13px;font-weight:700;padding:3px 8px;border-top-right-radius:8px}
.s-off{position:absolute;top:0;right:0;background:#FFF1EC;color:#E4393C;font-size:14px;font-weight:800;padding:3px 8px;border-bottom-left-radius:8px}
.s-card-tags{display:flex;gap:4px;flex-wrap:wrap}.s-chip-mini{display:inline-block;max-width:100%;font-size:13px;font-weight:700;color:#E4393C;border:1px solid #F3B4B5;border-radius:4px;padding:1px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.s-chip-mini.hot{background:#E4393C;color:#fff;border-color:#E4393C}
.s-card-meta{display:flex;justify-content:space-between;gap:6px;font-size:13px;color:var(--muted)}.s-sold{white-space:nowrap}
.s-card2.is-soldout .s-card-image img{opacity:.55}
@media(max-width:899px){.s-grid{gap:8px!important}.s-card2{border-radius:10px}}
.s-card2 .s-card-tags{min-height:25px}
.s-shortcuts{display:flex;justify-content:space-between;gap:6px;margin:4px 0 16px;overflow-x:auto}.s-shortcuts a{flex:1 0 64px;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:13px;color:var(--ink,#2B1D16);text-decoration:none;text-align:center}
.s-sc-icon{width:48px;height:48px;border-radius:50%;background:#FFF1EC;display:flex;align-items:center;justify-content:center}.s-sc-icon svg{width:24px;height:24px;fill:none;stroke:#E4393C;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.s-price-big .s-off{position:static;display:inline-block;margin-left:8px;border-radius:6px;vertical-align:middle;font-size:15px}
.s-pp-chips{margin:6px 0 2px}
@media(max-width:899px){.s-product-layout>div:first-child{margin:0 -16px}.s-product-photo{padding:0!important;border-radius:0!important;border:0!important;aspect-ratio:1/1;overflow:hidden;background:#fff}.s-product-photo img{width:100%;height:100%;object-fit:contain}.s-product-layout .s-thumbs{padding:12px 16px;flex-wrap:nowrap}body .s-product-info h1{font-size:20px;line-height:1.4}body .s-price.s-price-big{font-size:30px;color:#E4393C}}
@media(min-width:900px){.s-shortcuts{display:none}}
body .s-price.s-price-big{color:#E4393C}
.order-tools{position:sticky;top:0;z-index:5;background:var(--bg);padding:8px 0;display:flex;flex-direction:column;gap:8px}
.order-tools .order-search{width:100%;max-width:420px}
.order-filter{display:flex;gap:6px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:2px}
.order-filter .chip{white-space:nowrap;flex:0 0 auto;font-size:14px}
body .field-help-button{width:32px;height:32px;font-size:17px;position:relative}
body .field-help-button::after{content:"";position:absolute;inset:-6px}
.print-page{max-width:520px;margin:16px auto}
.print-page button{width:100%}
.pay-choose{position:fixed;inset:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:200;padding:16px}
.pay-choose-card{background:#fff;border-radius:16px;padding:20px;width:100%;max-width:360px;display:flex;flex-direction:column;gap:10px}
.pay-choose-card h2{margin:0 0 4px}
.connect-card .plan-field{display:flex;flex-direction:column;gap:4px;margin:8px 0}
.connect-card .check{display:flex;align-items:center;gap:8px;margin:8px 0}
.connect-help img{max-width:100%;border-radius:8px;margin:6px 0}
.connect-help p{margin:2px 0;white-space:pre-wrap}
.ok-line{background:#e3f1e5;color:var(--ok);border-radius:12px;padding:10px 14px}
.install-done{display:inline-block;padding:8px 12px;border-radius:10px;background:#e3f1e5;color:var(--ok);font-weight:600}
.install-btn .ib-short{display:none}
.s-actions .install-btn{min-height:0;padding:5px 12px;border-radius:16px;font-size:13px;font-weight:600}
.foot-install{background:none!important;border:0;padding:0;margin-top:8px;min-height:0;color:var(--brand)!important;text-decoration:underline;font-size:14px;cursor:pointer}
@media(max-width:899px){.install-btn .ib-full{display:none}.install-btn .ib-short{display:inline}}
@media(min-width:900px){.install-tip{left:auto;right:16px;bottom:16px;max-width:380px}}

.pm-count{margin:4px 0 8px}
.pm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px;margin-bottom:10px}
.pm-card{position:relative;margin:0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:pan-y;cursor:grab}
.pm-card img{display:block;width:100%;aspect-ratio:1;object-fit:cover;pointer-events:none}
.pm-cover{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand) inset}
.pm-badge{position:absolute;left:6px;top:6px;background:var(--brand);color:#fff;font-size:12px;padding:1px 8px;border-radius:999px}
.pm-tools{display:flex;flex-wrap:wrap;gap:4px;padding:6px;justify-content:center}
.pm-tools button{padding:2px 8px;font-size:12px;min-height:28px}
.pm-drag{z-index:30;opacity:.85;box-shadow:0 8px 24px rgba(0,0,0,.3);cursor:grabbing;touch-action:none}
.pm-target{outline:3px dashed var(--brand);outline-offset:-3px}
.pm-busy{display:grid;place-items:center;min-height:120px;cursor:default}
.pm-wait{color:var(--muted);font-size:13px}
.pm-overlay{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.6);display:grid;place-items:center;padding:12px}
.pm-crop{background:#fff;border-radius:16px;padding:14px;max-width:min(100%,620px);max-height:100%;overflow:auto}
.pm-ratios{margin:6px 0}
.pm-ratios .chip-btn.on{background:var(--brand);color:#fff}
.pm-crop-stage{position:relative;display:inline-block;max-width:100%;line-height:0;touch-action:none}
.pm-crop-img{max-width:100%;max-height:50vh;display:block;user-select:none;-webkit-user-drag:none}
.pm-crop-box{position:absolute;border:2px solid #fff;box-shadow:0 0 0 9999px rgba(0,0,0,.5);cursor:move;touch-action:none}
.be-list{display:grid;gap:12px;margin-bottom:8px}
.be-block{border:1px solid var(--line);border-radius:14px;background:#fff;padding:10px 12px}
.be-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.be-ctrl{display:flex;gap:4px}.be-ctrl button{padding:2px 10px;min-height:32px}
.be-block textarea,.be-block input:not([type=radio]):not([type=checkbox]){width:100%;margin:4px 0}
.be-row{display:grid;grid-template-columns:1fr 1.4fr auto;gap:6px;align-items:center}
.be-faq{border-top:1px dashed var(--line);padding-top:6px;margin-top:6px}
.be-thumb img{max-width:100%;max-height:200px;border-radius:10px;display:block}
.be-thumbs{display:flex;flex-wrap:wrap;gap:8px}.be-thumbs figure{margin:0;width:88px}.be-thumbs img{width:88px;height:88px;object-fit:cover;border-radius:10px}
.be-menu{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;margin-top:8px}
.be-type{display:flex;gap:10px;align-items:center;text-align:left;background:var(--soft);color:var(--ink);border-radius:12px;padding:10px 12px;border:0}
.be-type small{display:block;color:var(--muted);font-weight:400;font-size:12px}
.be-ico{font-size:22px}
.be-add{width:100%}
.pv{margin-top:12px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:8px 12px}
.pv-summary{font-weight:700;cursor:pointer}
.pv-bar{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
.pv-bar .chip-btn.on{background:var(--brand);color:#fff}
.pv-frame{margin:0 auto;background:#fff;border:1px solid var(--line);overflow:auto;max-height:70vh}
.pv-phone{width:390px;max-width:100%;border-radius:28px;border:8px solid #2b1d16}
.pv-desktop{width:100%;max-width:960px;border-radius:10px}
.pv-page{padding:12px}
.pv-cover{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;display:block}
.pv-cover.none{display:grid;place-items:center;background:var(--soft);color:var(--muted)}
.pv-desktop .pv-cover{max-width:420px}
.pv-name{margin:10px 0 6px;font-size:20px}
.pv-thumbs{display:flex;gap:6px;overflow:auto}.pv-thumbs img{width:64px;height:64px;object-fit:cover;border-radius:8px}
.pv-title{margin:16px 0 6px;border-left:4px solid var(--brand);padding-left:8px}
.pb{display:grid;gap:30px;color:var(--ink);font-size:16px}
.pb-text{margin:0;white-space:pre-wrap;line-height:1.95;letter-spacing:.02em;overflow-wrap:anywhere;color:var(--ink)}
.pb-head{margin:6px 0 -14px;font-size:21px;font-weight:800;line-height:1.45;letter-spacing:.04em;color:var(--ink)}.pb-head::before{content:"";display:block;width:28px;height:3px;border-radius:2px;background:var(--brand,#8E2B1E);margin-bottom:12px}
.pb-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.pb-list li{position:relative;padding:12px 14px 12px 42px;background:var(--tint);border-radius:12px;line-height:1.6;color:var(--ink)}.pb-list li::before{content:"";position:absolute;left:18px;top:50%;width:6px;height:11px;margin-top:-8px;border-right:2.5px solid var(--brand,#8E2B1E);border-bottom:2.5px solid var(--brand,#8E2B1E);transform:rotate(45deg)}
.pb-hero{margin:0;text-align:center}.pb-hero img{display:block;width:100%;height:auto;border-radius:18px}.pb-hero-copy{max-width:36em;margin:18px auto 0}.pb-hero h2{margin:0;font-size:26px;line-height:1.35;font-weight:800;letter-spacing:.03em;color:var(--ink)}.pb-hero p{margin:10px 0 0;font-size:16px;line-height:1.85;color:var(--muted)}
.pb-split{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:center}.pb-split img{display:block;width:100%;height:auto;border-radius:16px}.pb-split h3{margin:0;font-size:20px;line-height:1.45;font-weight:800;letter-spacing:.03em;color:var(--ink)}.pb-split p{margin:8px 0 0;white-space:pre-wrap;line-height:1.9;color:var(--ink)}
@media(min-width:768px){.pb-split{grid-template-columns:1fr 1fr;gap:32px}.pb-split.right img{order:2}}
.pb-features h3{margin:0 0 14px;font-size:20px;font-weight:800;letter-spacing:.03em;color:var(--ink)}.pb-feature-list{display:grid;gap:18px}.pb-feature{display:flex;align-items:flex-start;gap:14px}.pb-feature-ico{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:var(--tint);color:var(--brand,#8E2B1E)}.pb-feature-ico svg{width:24px;height:24px}.pb-feature strong{display:block;font-size:16.5px;color:var(--ink);line-height:1.5}.pb-feature p{margin:3px 0 0;font-size:14.5px;line-height:1.7;color:var(--muted)}
@media(min-width:768px){.pb-feature-list{grid-template-columns:1fr 1fr;gap:22px 28px}}
.be-feature{display:grid;grid-template-columns:96px minmax(0,1fr) 44px;gap:6px;align-items:center;margin-bottom:12px}.be-feature>select{grid-column:1;grid-row:1}.be-feature>input:nth-of-type(1){grid-column:2;grid-row:1}.be-feature>button{grid-column:3;grid-row:1}.be-feature>input:nth-of-type(2){grid-column:1/-1;grid-row:2}
.pb-image,.pb-gallery-wrap,.pb-video-wrap{margin:0}
.pb-long{display:block;margin:0;line-height:0;border-radius:12px;overflow:hidden}.pb-long img{display:block;width:100%;height:auto;margin:0}
.be-long{display:flex;flex-direction:column;max-height:320px;overflow-y:auto;width:120px;border-radius:8px;line-height:0}.be-long img{width:100%;display:block}
.pb-image img{width:100%;height:auto;border-radius:16px;display:block}
.pb figcaption{font-size:13px;color:var(--muted);margin-top:8px;text-align:center}
.pb-gallery{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;-webkit-overflow-scrolling:touch}
.pb-gallery img{flex:0 0 78%;max-width:420px;aspect-ratio:1;object-fit:cover;border-radius:16px;scroll-snap-align:center}
.pb-video{width:100%;max-height:70vh;border-radius:16px;background:#000;display:block}
.pb-video-slot{aspect-ratio:16/9;background:#000;border-radius:16px;display:grid;place-items:center;overflow:hidden}
.pb-frame{width:100%;height:100%;border:0}
.pb-play{background:#fff;color:var(--ink);border-radius:999px;padding:10px 20px}
.pb-specs{background:var(--tint);border-radius:18px;padding:20px 18px 8px}
.pb-specs h3{margin:0 0 6px;font-size:17px;font-weight:800;letter-spacing:.04em;color:var(--ink)}
.pb-specs table{width:100%;border-collapse:collapse}
.pb-specs th,.pb-specs td{border:0;border-top:1px solid var(--line);padding:13px 0;text-align:left;vertical-align:top;overflow-wrap:anywhere;line-height:1.6}
.pb-specs tr:first-child th,.pb-specs tr:first-child td{border-top:0}
.pb-specs th{width:36%;padding-right:12px;font-weight:600;font-size:15px;color:var(--ink);background:none}
.pb-specs td{font-size:15px;color:var(--muted)}
.pb-notice{background:var(--tint);border:0;border-radius:18px;padding:18px 18px 16px;font-size:14px;color:var(--muted)}
.pb-notice strong{display:block;font-size:15px;color:var(--ink);letter-spacing:.03em}
.pb-notice p{margin:8px 0 0;white-space:pre-wrap;line-height:1.85}
.pb-faq::before{content:"常見問答";display:block;font-size:21px;font-weight:800;letter-spacing:.04em;color:var(--ink);margin-bottom:10px;padding-top:15px;background:linear-gradient(var(--brand,#8E2B1E),var(--brand,#8E2B1E)) top left/28px 3px no-repeat}
.pb-faq details{border-top:1px solid var(--line);padding:0}
.pb-faq details:last-child{border-bottom:1px solid var(--line)}
.pb-faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;font-weight:600;font-size:15.5px;color:var(--ink);cursor:pointer;min-height:44px}
.pb-faq summary::-webkit-details-marker{display:none}
.pb-faq summary::after{content:"";flex:none;width:10px;height:10px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);margin:-4px 4px 0 0;transition:transform .2s}
.pb-faq details[open] summary::after{transform:rotate(-135deg);margin-top:4px}
.pb-faq p{margin:0 0 16px;white-space:pre-wrap;line-height:1.85;color:var(--muted);font-size:15px}
.add-ways{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin:12px 0}
.add-way{display:flex;gap:12px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff;text-decoration:none;color:var(--ink);min-height:72px}
.add-way small{display:block;color:var(--muted);font-weight:400}
.add-ico{font-size:28px}
#fs-intro{min-width:0;max-width:100%}
.be,.pm,.pv,.be-list,.be-block{min-width:0;max-width:100%}
.be-block .choices{display:flex;flex-wrap:wrap;gap:4px 14px}
.be-block .choice{white-space:normal}
.be-head{flex-wrap:wrap}
.pb{grid-template-columns:minmax(0,1fr)}
.pb>*{min-width:0;max-width:100%}
.pb-gallery{max-width:100%}
.pb-video-slot,.pb-video{max-width:100%}
.claim-hit{background:#fde0dc;color:#b3261e;font-weight:700;border-radius:3px;padding:0 2px}
.claim-box{border-left:4px solid #b3261e}
.claim-snippet{margin-top:2px}
.claim-tag{background:#b3261e;color:#fff}
.claim-product{border-top:1px solid var(--line);padding-top:8px;margin-top:8px}
.be-adds{margin-top:8px}.be-adds .be-add{flex:1 1 220px}
.pi-box{background:var(--card,#fff);color:var(--ink);border-radius:16px;padding:16px;width:min(100%,720px);max-height:calc(100dvh - 24px);overflow:auto}
.pi-row{display:flex;gap:8px;margin:8px 0}.pi-row input{flex:1;min-width:0}
.pi-preview{border:1px solid var(--line);border-radius:12px;padding:10px;max-height:50vh;overflow:auto;background:var(--soft);margin:8px 0}
.pi-preview .pb img{max-width:100%}
.pb-head span,.pb-features>h3 span{background:linear-gradient(transparent 60%,var(--soft2) 0)}
.pb-hero-copy h2{color:var(--brand)}.pb-hero-copy h2::after{content:"";display:block;width:44px;height:4px;border-radius:2px;background:var(--accent);margin:12px auto 0}
.pb-features{background:var(--soft);border-radius:20px;padding:20px 16px}
.pb-features>h3{color:var(--brand)}
.pb-feature{background:var(--card);border-radius:14px;padding:14px;box-shadow:0 2px 0 var(--soft2)}
.pb-feature-ico{background:var(--accent);color:#fff;border-radius:50%}
.pb-specs{background:var(--card);border:2px solid var(--soft2);padding:0 18px 8px;overflow:hidden}
.pb-specs h3{margin:0 -18px 6px;padding:12px 18px;background:var(--brand);color:#fff;font-size:16.5px}
.pb-specs th{color:var(--brand)}
.pb-list li{background:var(--soft);border-left:4px solid var(--accent)}
.pb-notice{background:var(--soft);border-left:5px solid var(--accent)}
.pb-notice strong{color:var(--brand)}
.pb-faq summary{justify-content:flex-start}.pb-faq summary::after{margin-left:auto}
.pb-faq summary::before{content:"Q";flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--brand);color:#fff;font-size:13px;font-weight:800}
.pb-faq p{padding-left:38px}
.s-actions .s-logout{color:var(--muted);font-size:14px}
@media(max-width:899px){.s-actions .s-logout{display:none}}
.me-logout{margin-left:auto}
