/* 泓辰璟韵 / 温润茶礼 — the final visual layer, shared with native tokens. */
:root{--paper:#f7f4ed;--surface:#fffdf8;--ink:#302c25;--muted:#71685a;--line:#e6dfd1;--tea:#514735;--gold:#b29b71;--display:"Songti SC","STSong","SimSun",serif}
body{background:#ede9e0;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;line-height:1.6}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;min-height:44px;border-radius:9px}
button:disabled{cursor:not-allowed}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #685338;outline-offset:3px}
.top{background:var(--surface);border-bottom:1px solid var(--line);padding:18px 32px;gap:16px;flex-wrap:wrap}
.top .seal{background:var(--tea);border-radius:5px;color:#faf5e9}.top strong{letter-spacing:3px}.top .badge{background:#f1ecdf;color:#655842;border:1px solid #ded4c1}
body:not(.public-mode) main{max-width:1450px;padding:36px 28px;gap:48px;align-items:start;grid-template-columns:390px minmax(0,1fr)}
.preview .caption{font-size:13px;font-weight:500;color:#514735;margin-bottom:14px}.preview .caption span{font-size:12px;color:var(--muted)}
#phone{background:var(--paper);border:6px solid #36332c;box-shadow:0 18px 55px #302c2512;border-radius:42px}
#phone .status{font-size:11px;padding:13px 22px 6px;height:34px}
#phone .brandbar{height:52px;padding:0 20px;background:var(--paper)}
#phone .brandname{font-family:var(--display);font-size:21px;letter-spacing:3px;font-weight:600}
#phone .screen{background:var(--paper);min-height:0}
#phone .section{padding:20px 18px}
#phone .section h3{font-size:21px;line-height:1.5;letter-spacing:1px;margin:4px 0 18px;font-weight:500}
#phone .hero-carousel{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
#phone .hero-slide span{font-family:var(--display);font-size:27px;letter-spacing:3px;color:var(--tea)}
#phone .hero-slide small{font-family:inherit;letter-spacing:1px;font-size:12px;color:#655a47;margin-top:22px}
#phone .cat{border:1px solid var(--line);border-radius:10px;background:#eee7d9;padding:15px 14px;min-height:72px;color:var(--tea)}
#phone .cat strong{font-family:inherit;font-size:17px;font-weight:500;letter-spacing:2px}
#phone .category-arrow{font-size:22px;color:#7b6a4e}
#phone .cat img{width:42px;height:42px;border-radius:50%;object-fit:cover}
#phone .product{border:0;border-radius:10px;box-shadow:0 2px 7px #51473507;background:var(--surface)}
#phone .photo{height:auto;aspect-ratio:1;background:#eee8dd}
#phone .photo img{object-fit:cover;display:block}
#phone .info{padding:13px 12px 15px}
#phone .info b{display:block;min-height:42px;line-height:1.5;font-size:14px;color:var(--ink)}
#phone .info p{min-height:20px;font-size:12px;color:var(--muted);margin:4px 0 10px}
#phone .price{font-size:18px;line-height:1.4;color:#685338;font-variant-numeric:tabular-nums}
#phone .price button{width:44px;min-height:44px;border-radius:50%;padding:0;font-size:22px;background:var(--brand);border:0}
#phone .membercard{position:relative;overflow:hidden;padding:26px 22px;background:var(--tea);border:1px solid #6e6047;border-radius:16px;color:#fff8e9;box-shadow:0 8px 18px #51473516}
#phone .membercard:after{content:"";position:absolute;width:175px;height:175px;border:1px solid #b29b7140;border-radius:50%;right:-85px;top:-70px;pointer-events:none}
#phone .membercard small{color:#dfcfb0;letter-spacing:2px;font-size:12px}
#phone .membercard h2{font-family:var(--display);font-size:25px;letter-spacing:1px;font-weight:500;margin:14px 0}
#phone .membercard p,#phone .membercard .note{color:#e5d8c0;font-size:13px}
#phone .membercard button{background:#eee3cd;color:#493e2b;border:0;border-radius:8px;font-weight:500;margin-top:18px}
#phone .box{padding:20px 16px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:none;margin:14px 0}
#phone .box h3{font-size:15px;letter-spacing:0;margin-bottom:12px}
#phone .ordericons{gap:6px}#phone .ordericons button{font-size:12px;min-height:72px;color:var(--muted);padding:8px 0}
#phone .ordericons span{height:28px;margin:0 0 10px;display:flex;justify-content:center;align-items:center}
#phone .ordericons img{width:25px;height:25px}
#phone .listbutton{min-height:52px;padding:15px 2px;font-size:14px;color:#514735;border-color:var(--line)}
#phone .listbutton:last-child{border-bottom:0}
#phone .bottomnav:not(:has([data-buy-now])){box-shadow:0 -4px 18px #51473506;padding-top:6px;border-top:1px solid var(--line)}
#phone .bottomnav [data-go]{font-size:12px;color:#716b61;gap:4px;min-height:62px}
#phone .bottomnav [data-go].active{font-weight:600;color:#685338}
#phone .bottomnav [data-go] .navicon img{width:24px;height:24px;opacity:1;filter:none}
#phone .bottomnav .vip-nav .navicon{width:38px;height:38px;background:#81786a;box-shadow:0 2px 8px #51473512}
#phone .bottomnav .vip-nav.active .navicon{background:var(--brand)}
#phone .bottomnav .vip-nav .navicon img{width:27px;height:27px}
#phone .points-page{background:var(--paper)}
#phone .points-balance-card{background:var(--tea);border:1px solid #6e6047;border-radius:16px;box-shadow:0 8px 18px #51473512}
#phone .points-card{border-radius:12px;padding:20px 16px;background:var(--surface);border-color:var(--line)}
#phone .points-card summary{min-height:26px;color:var(--ink)}
#phone .points-card-footer{font-size:12px;color:#eee3cd}
#phone .points-card summary span{color:var(--muted);font-size:12px}
#phone .search{min-height:48px;border-radius:10px;background:var(--surface);border-color:#c7bba6}
#phone .filters button{min-height:40px;border-radius:8px}
#phone .empty{font-size:14px;color:var(--muted)}
#phone .promo-banner{width:calc(100% - 36px);margin:0 18px 10px;border-radius:10px;border:0}
#phone .detail-copy{font-size:14px;line-height:1.9}
#phone .detailphoto .photo{aspect-ratio:auto;height:260px}
.workspace>.eyebrow,.admin-kicker{display:none}
.workspace>h1{font-family:var(--display);font-size:30px;font-weight:500;letter-spacing:2px;line-height:1.4;margin:0 0 12px}
.workspace>.muted{font-size:14px;color:var(--muted);margin-bottom:24px}
.workspace .savebar{padding:15px 18px;background:#f7f3e9;border-color:#d8cbb5;border-radius:10px;gap:12px;font-size:13px}
.workspace .savebar a{color:#685338;text-underline-offset:4px}
.workspace .tabs{border-radius:0;background:transparent;border-bottom:1px solid #ccc2b0;padding:0;gap:4px;margin:28px 0}
.workspace .tabs button{border-radius:8px 8px 0 0;min-height:48px;color:#6e6453;font-size:14px;padding:12px 14px}
.workspace .tabs button.active{color:#fff8e9;background:var(--tea);box-shadow:none}
.workspace .box{border-color:var(--line);border-radius:12px;box-shadow:none;padding:24px;background:var(--surface)}
.workspace .box h2{font-size:19px;color:var(--tea)}
.workspace .stats{gap:16px}.workspace .stats .stat{background:var(--surface);border:0;border-top:2px solid #b29b71;border-radius:0 0 12px 12px;padding:24px}
.workspace .stats strong{font-family:inherit;font-size:34px;color:var(--tea);font-weight:400}.workspace .stats span{font-size:13px;color:var(--muted)}
.workspace .primary{background:var(--tea)!important;border-color:var(--tea)!important;color:#fff8e9;min-height:44px}
.workspace .primary:hover{background:#6b5940!important}
.workspace input:not([type=checkbox]):not([type=radio]):not([type=color]),.workspace select,.workspace textarea{background:#fffdf9;border-color:#bfb4a2;border-radius:8px;font-size:14px}
.workspace label{font-size:14px;color:#514735}
.catalog-heading h2,.editor-heading h2{font-size:24px;font-weight:500;letter-spacing:1px}
.catalog-heading p,.editor-heading p{font-size:13px;color:var(--muted)}
.admin-product-card{border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 4px 15px #51473505}
.admin-product-card>img,.admin-image-empty{height:210px;background:#f2eee6}
.admin-product-content{padding:22px}.admin-product-content h3{font-weight:500;font-size:18px}.admin-product-content p{color:var(--muted);font-size:13px}
.product-state{font-size:12px}.product-metrics b{color:#685338;font-weight:500;font-size:22px}.product-metrics span{color:var(--muted)}
.editor-sections{gap:8px;padding:0 0 18px}.editor-sections a{background:#f8f4eb;border:1px solid #ddd2c0;padding:10px 14px;border-radius:8px;color:#685338;font-size:13px}
.workspace .assetpreview{border-radius:8px;background:#f3eee4}
.workspace input[type=file]{padding:16px!important;border-radius:10px;background:#f7f3e9!important}
@media(max-width:1050px){body:not(.public-mode) main{grid-template-columns:1fr;max-width:800px;gap:36px;padding:24px 16px}.preview{max-width:390px}}
@media(max-width:560px){.top{padding:14px 16px}.workspace>h1{font-size:25px}.workspace .tabs button{flex:1 0 27%;font-size:13px}.workspace .stats{gap:8px}.workspace .stats .stat{padding:16px 10px}.workspace .box{padding:18px}.admin-product-grid{grid-template-columns:1fr}.savebar{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){button,a{transition:none!important}}
