/* 山水入席：structure and palette override the earlier visual study. */
:root{--paper:#f8f5ef;--surface:#fffdf9;--ink:#34352f;--muted:#6c6a5f;--line:#e4ded1;--tea:#343b34;--gold:#806a46;--cinnabar:#9a4f3e}
body{background:#ece9e1}
.top{background:#f8f5ef;border-bottom:1px solid #d8d1c2}
.top .seal{background:#9a4f3e;font-family:var(--display);border-radius:3px}
body:not(.public-mode) main{max-width:1510px;grid-template-columns:360px minmax(0,1fr);gap:50px;padding:36px 32px}
.preview{position:sticky;top:24px}
#phone{border-width:5px;border-radius:36px;background:var(--paper);height:790px;box-shadow:0 22px 55px #34352f13}
#phone .brandbar{height:54px;padding:0 18px}
#phone .brandname{font-size:21px;font-weight:500;letter-spacing:3px}
#phone .section{padding:22px 18px}
#phone .home-intro{display:flex;justify-content:space-between;align-items:center;padding:12px 18px 14px;color:#6c6a5f;font-size:13px}
#phone .home-intro>span{letter-spacing:3px;color:#34352f}
#phone .home-intro small{font-size:11px;letter-spacing:1px;color:#6c6a5f}
#phone .hero-carousel{width:calc(100% - 32px);margin:0 16px;aspect-ratio:4/3;border:1px solid #d9d2c2;border-radius:3px;background:#f0ebdf;overflow:hidden}
#phone .hero-slide{position:relative;display:block;text-align:left;min-height:0;overflow:hidden}
#phone .hero-slide img{height:100%;width:100%;object-fit:cover}
#phone .landscape-copy{position:absolute;left:23px;top:24px;right:65px;display:flex;flex-direction:column;align-items:flex-start}
#phone .hero-slide .art-mark{font-family:var(--display);font-size:11px;line-height:1.2;letter-spacing:2px;color:#9a4f3e;border:1px solid #9a4f3e;display:inline-block;padding:4px 6px;border-radius:2px;margin-bottom:12px}
#phone .landscape-copy strong{font-family:var(--display);font-size:26px;line-height:1.65;letter-spacing:3px;font-weight:500;max-width:210px;color:#34352f;text-wrap:balance}
#phone .hero-slide .landscape-copy small{font-family:inherit;font-size:11px;line-height:1.7;letter-spacing:1px;color:#5e6157;margin-top:12px;max-width:195px}
#phone .hero-slide .art-note{position:absolute;bottom:14px;left:20px;font-family:inherit;font-size:10px;line-height:1.3;letter-spacing:1px;color:#49564c;padding:0}
#phone .slide-dots{width:auto;right:16px;bottom:14px;gap:10px}
#phone .slide-dots button{width:5px;height:5px;background:#fcfaf2;box-shadow:none}
#phone .slide-dots [aria-pressed=true]{background:#536455;width:14px}
#phone .category-section{padding:24px 16px 18px}
#phone .cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#phone .cat{background:transparent;border:0;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;padding:0 2px 6px;gap:10px;min-height:88px}
#phone .cat strong{font-size:13px;line-height:1.4;font-weight:400;letter-spacing:1px;color:#34352f}
#phone .category-medallion,#phone .cat img{width:52px;height:52px;border-radius:50%;border:1px solid #cdc4b1;background:#eee9de}
#phone .category-medallion{font-family:var(--display);font-size:26px;line-height:50px;text-align:center;color:#5f644f;box-shadow:inset 0 0 0 4px #f8f5ef}
#phone .cat:nth-child(2n) .category-medallion{color:#806a46;background:#e9e0d1}
#phone .member-invitation{display:flex;align-items:center;gap:14px;width:calc(100% - 36px);margin:2px 18px 0;padding:16px 14px;background:#eae5d9;border:0;border-top:1px solid #d8ceba;border-bottom:1px solid #d8ceba;border-radius:0;text-align:left;color:#343b34}
#phone .invitation-seal{border:1px solid #806a46;color:#806a46;font-family:var(--display);font-size:24px;padding:3px 5px;line-height:1.2}
#phone .member-invitation strong{display:block;font-family:var(--display);font-size:18px;font-weight:500;letter-spacing:2px}
#phone .member-invitation small{display:block;font-size:11px;color:#6c6a5f;margin-top:4px}
#phone .invitation-arrow{margin-left:auto;font-size:22px}
#phone .goods-section{padding-top:24px}
#phone .chapter{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:10px 0 20px}
#phone .chapter h3{font-family:var(--display);font-size:23px;font-weight:500;letter-spacing:2px;line-height:1.4;margin:0;color:#34352f}
#phone .chapter p{font-size:12px;color:#6c6a5f;line-height:1.5;margin:7px 0 0}
#phone .chapter-link{font-size:12px;white-space:nowrap;background:transparent;border:0;padding:10px 0 10px 8px;color:#806a46}
#phone .grid{gap:22px 12px}
#phone .product{background:transparent;border-radius:0;box-shadow:none;overflow:visible}
#phone .photo{background:#ede8dc;border-radius:4px;overflow:hidden;border:1px solid #e4ded1}
#phone .info{padding:12px 1px 4px}
#phone .info b{font-size:14px;min-height:42px;line-height:1.5;font-weight:500}
#phone .info p{font-size:12px;margin:2px 0 7px;color:#6c6a5f;min-height:19px}
#phone .price{font-size:18px;color:#806a46}
#phone .price button{background:transparent;color:#806a46;border:1px solid #b6a588;width:44px;min-width:44px;height:44px;border-radius:50%;font-size:21px;line-height:1}
#phone .store-signature{margin:34px 0 8px;padding-top:20px;border-top:1px solid #d8d1c2;text-align:center;font-family:var(--display);font-size:17px;letter-spacing:4px;color:#6c6a5f}
#phone .store-signature span{display:block;font-family:inherit;font-size:11px;letter-spacing:2px;margin-top:8px}
#phone .membercard{background:#343b34;border:1px solid #656b57;border-radius:5px;box-shadow:0 8px 18px #343b3410;padding:24px 20px}
#phone .membercard:after{width:124px;height:124px;right:-52px;top:-52px;border-radius:0;transform:rotate(45deg);border-color:#bbb28f33}
#phone .membercard h2{font-family:var(--display);font-size:23px;line-height:1.7;font-weight:400;letter-spacing:2px;margin:16px 0}
#phone .membercard small{color:#d9d0b9;font-size:12px;letter-spacing:2px}
#phone .membercard p{color:#d9d0b9;line-height:1.7}
#phone .membercard button{border:1px solid #b4aa8b;background:transparent;color:#f6f0e0;border-radius:3px;font-size:13px;min-height:44px}
#phone .member-metrics{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ffffff22;border-bottom:1px solid #ffffff22;padding:17px 0;margin:14px 0 20px}
#phone .member-metrics>div+div{border-left:1px solid #ffffff22;padding-left:24px}
#phone .member-metrics span{display:block;color:#d9d0b9;font-size:11px}
#phone .member-metrics strong{display:block;font-size:22px;font-weight:400;margin-top:6px;color:#fff9e9}
#phone .vip-section .chapter{margin-top:28px}
#phone .gift-empty{border:1px dashed #c5baa6;background:#f0ece2;padding:24px 20px;text-align:center;border-radius:4px}
#phone .gift-empty strong{font-family:var(--display);font-size:20px;font-weight:400;color:#585b4c}
#phone .gift-empty p{font-size:12px;line-height:1.8;color:#6c6a5f;margin:10px 0 0}
#phone .box{border-radius:5px;border-color:#e4ded1;background:#fffdf9;padding:18px 14px}
#phone .box h3{font-family:var(--display);font-size:18px}
#phone .listbutton{padding:15px 2px;min-height:52px;font-size:14px;color:#34352f}
#phone .bottomnav:not(:has([data-buy-now])){background:#f8f5ef;border-top:1px solid #d8d1c2;box-shadow:none;padding:7px 0 16px}
#phone .bottomnav [data-go]{position:relative;font-size:11px}
#phone .bottomnav [data-go].active:after{content:"";height:2px;width:16px;background:var(--brand);position:absolute;bottom:-6px;left:calc(50% - 8px)}
#phone .bottomnav .vip-nav .navicon{border-radius:12px 12px 5px 5px;background:#827d6b;box-shadow:none;border:1px solid #aa9b7d}
#phone .points-balance-card{border-radius:5px;background:#343b34;border-color:#656b57;box-shadow:none}
#phone .points-card{border-radius:5px;border-color:#e4ded1}
#phone .points-rate{font-family:var(--display);font-size:24px;color:#806a46}
#phone .search{border-radius:3px;background:#f0ece2;border:1px solid #d4cbb9}
#phone .filters{gap:8px;border-bottom:1px solid #ded6c6;padding-bottom:14px}
#phone .filters button{border:0;border-radius:3px;background:transparent;min-height:44px;color:#6c6a5f;padding:8px 12px}
#phone .filters .active{background:#343b34;color:#fff9e9}
#phone .cartitem{border:1px solid #e4ded1;border-radius:5px;padding:18px 14px}
#phone .detailphoto .photo{border:0;border-radius:0}
#phone .detail-copy{color:#34352f}
#phone .primary{background:#343b34;border-color:#343b34;color:#fff9e9;border-radius:4px}
#phone .promo-banner{border-radius:3px;margin-top:0;margin-bottom:18px}
.workspace{display:grid;grid-template-columns:132px minmax(0,1fr);column-gap:26px;align-items:start}
.workspace>h1,.workspace>.muted,.workspace>.savebar{grid-column:1 / -1}
.workspace>h1{font-size:30px;letter-spacing:3px;color:#343b34;border-left:3px solid #9a4f3e;padding-left:18px;margin:0 0 10px}
.workspace>.muted{margin:0 0 22px;padding-left:21px;font-size:13px}
.workspace>.savebar{margin:0 0 28px;background:#f8f5ef;border-radius:4px;border-color:#d8d1c2;padding:14px 16px}
.workspace>.tabs{grid-column:1;grid-row:4;display:flex;flex-direction:column;gap:6px;position:sticky;top:24px;border:0;border-right:1px solid #d5ccbc;margin:0;padding:0 16px 24px 0;background:transparent;border-radius:0;align-items:stretch}
.workspace .tabs button{flex:none;text-align:left;white-space:nowrap;min-height:48px;border-radius:3px;padding:12px 14px;font-size:14px;color:#6c6a5f;border-left:2px solid transparent}
.workspace .tabs button.active{background:#e1dbc9;color:#343b34;border-left-color:#9a4f3e;font-weight:600;box-shadow:none}
#admin{grid-column:2;grid-row:4;min-width:0}
.workspace .box{border-radius:5px;border:1px solid #ddd5c7;padding:22px;background:#fbf9f3;margin-top:0;margin-bottom:20px}
.workspace .stats{margin-bottom:24px;gap:12px}.workspace .stats .stat{border-top:1px solid #9e8b65;border-radius:0;background:#f8f5ef;padding:18px 14px}
.workspace .stats strong{font-size:31px;color:#343b34}.workspace .stats span{font-size:12px}
.workspace .box h2{font-size:20px;font-weight:500;font-family:var(--display);letter-spacing:1px}
.workspace .primary{background:#343b34!important;border-color:#343b34!important;border-radius:4px}
.workspace .primary:hover{background:#535b48!important}
.workspace input:not([type=checkbox]):not([type=radio]):not([type=color]),.workspace select,.workspace textarea{border-radius:4px;background:#fffdf9;border-color:#bfb5a3}
.catalog-heading,.editor-heading{margin-top:0;gap:12px}.catalog-heading h2,.editor-heading h2{font-family:var(--display);font-size:24px}
.admin-product-grid{gap:18px}.admin-product-card{background:#fbf9f3;border-radius:5px;box-shadow:none;border-color:#ddd5c7}
.admin-product-content{padding:18px}.admin-product-card>img,.admin-image-empty{height:190px;background:#eee9de}
.admin-product-content h3{font-size:16px;line-height:1.6;margin:10px 0}.admin-product-content p{font-size:12px}
.product-state{border-radius:3px;border:1px solid #d6d9c7}.product-state.on{background:#edf0e6;color:#4e5d44}
.editor-sections{padding-bottom:18px;margin-bottom:22px;gap:8px}.editor-sections a{border-radius:3px;background:#eee8da;color:#665737}
.workspace .assetpreview{border-radius:3px;border-color:#d8d1c2}
.workspace input[type=file]{border-radius:4px;background:#f0ebdf!important}
.workspace button:focus-visible,#phone button:focus-visible{outline:2px solid #806a46;outline-offset:3px}
@media(max-width:1150px){body:not(.public-mode) main{grid-template-columns:340px minmax(0,1fr);gap:28px;padding:28px 20px}.workspace{display:block}.workspace>.tabs{position:static;display:flex;flex-direction:row;flex-wrap:wrap;gap:4px;border-right:0;border-bottom:1px solid #d5ccbc;padding:0 0 12px;margin:22px 0}.workspace .tabs button{flex:1 0 auto;padding:10px;font-size:13px}.admin-product-grid{grid-template-columns:1fr}}
@media(max-width:900px){body:not(.public-mode) main{grid-template-columns:1fr;max-width:720px}.preview{position:static;width:100%;max-width:380px}.workspace{margin-top:8px}.admin-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){body:not(.public-mode) main{padding:22px 12px}.top{padding:12px 16px}.workspace>h1{font-size:25px;letter-spacing:2px}.admin-product-grid{grid-template-columns:1fr}.workspace .stats{gap:7px}.workspace .stats .stat{padding:16px 10px}#phone{height:770px}.workspace .box{padding:18px}.preview{max-width:360px}}

#phone .landscape-copy strong{max-width:6em}
#phone .product{border:0}
#phone .gift-image{width:100%;aspect-ratio:1;object-fit:cover;border-radius:4px}
