:root{--gold:#b99555;--ink:#30302e;--gray:#949494;--bg:#f5f5f5}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button,a{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;background:none;color:inherit}header{height:46px;background:white;display:flex;align-items:center;justify-content:space-between;padding:0 20px;position:sticky;top:0;z-index:5}header>button{font-size:31px;font-weight:300}.brand{display:flex;align-items:center;gap:8px;font:small-caps 20px Georgia,serif}.brand small{display:block;text-align:center;color:var(--gold);font-size:7px;letter-spacing:3px}.crest{border:1px solid var(--gold);border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font:20px Georgia;color:#31434c;box-shadow:0 0 0 3px #f7f2e9}main{padding-bottom:76px;min-height:calc(100vh - 46px)}nav{position:fixed;bottom:0;left:0;right:0;height:54px;background:white;display:flex;z-index:10;border-top:1px solid #fafafa}nav a{width:25%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;color:#999;font-size:12px}nav a.active{color:var(--gold)}nav svg{width:23px;height:23px;fill:currentColor}.section-title{height:34px;display:flex;align-items:center;gap:10px;padding:0 16px;font-size:14px}.section-title:before{content:'';height:20px;width:6px;border-radius:2px;background:#6652eb}.section-title a{margin-left:auto;font-size:22px;color:#999}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 10px 0 0}.product{min-width:0;background:white;border-radius:10px 10px 0 0;overflow:hidden}.product img{width:100%;aspect-ratio:1;object-fit:cover;background:#eee;display:block}.product .name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:14px 10px 6px;font-size:12px}.price{color:var(--gold);font-weight:bold;padding:4px 10px 14px}.more{display:block;margin:24px auto;padding:12px 28px;background:white;border-radius:30px;color:var(--gold)}.center{text-align:center}.search{padding:100px 5% 40px;text-align:center}.search h2{font-size:21px;margin:16px 0 24px}.pill,input,select,textarea{border:0;border-radius:22px;background:white;padding:14px 18px;width:100%;outline:none}input:focus,select:focus,textarea:focus{box-shadow:0 0 0 2px #b9955580}.search input{text-align:center;box-shadow:0 4px 12px #0002}.gold{display:block;background:var(--gold);color:white;border-radius:25px;padding:14px 28px;margin:24px auto;min-width:180px}.search .gold{width:56%;margin-top:40px;box-shadow:0 2px 18px #e7cf77}.filters{display:flex;gap:8px;padding:14px}.filters input{flex:2;min-width:80px}.filters select{flex:1;min-width:65px}.tabs{display:flex;background:white;overflow:auto;white-space:nowrap;border-radius:0 0 10px 10px}.tabs button{padding:18px 20px;flex:1;color:#777}.tabs button.selected{color:#111;font-weight:bold;box-shadow:inset 0 -2px var(--gold)}.empty{padding:85px 15px;text-align:center;color:#999}.empty .paper{font-size:72px;color:#dfe0e2;margin-bottom:55px}.panel{background:white;margin:14px;border-radius:10px;padding:22px}.profile-hero{padding:30px 24px;background:linear-gradient(120deg,#f7f1e4,#efdce1);text-align:center}.avatar{font-size:35px;margin:10px}.muted{color:#999;font-size:12px}.balance{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:24px 0 12px}.balance strong{display:block;margin:12px 0;font-size:18px}.group-title{padding:12px 20px 0;color:#888;font-size:12px}.menu{background:white;margin:10px 14px;border-radius:10px;overflow:hidden}.menu a,.menu button{display:flex;padding:18px;width:100%;border-bottom:1px solid #f4f4f4;text-align:left;gap:15px}.menu a:after{content:'›';margin-left:auto;color:#999}.page-title{background:white;padding:15px;text-align:center;font-size:17px;position:relative}.back{position:absolute;left:16px;top:10px;font-size:28px}.form{max-width:620px;margin:24px auto;padding:0 18px}.form label{display:block;margin:18px 0 8px}.form input,.form textarea{border-radius:8px;border:1px solid #eee}.form textarea{min-height:100px;resize:vertical}.login{min-height:calc(100vh - 46px);background:linear-gradient(135deg,#faf6e9 15%,#f4ece8 55%,#ebcddd);padding:70px 20px;text-align:center}.login .brand{justify-content:center;margin:25px auto}.login h2{font-size:22px}.login form{max-width:580px;margin:35px auto}.login input{margin:8px 0;border-radius:8px}.login .gold{min-width:50px;font-size:23px;padding:12px}.language{text-align:right}.language select{width:auto;padding:6px}.detail{max-width:880px;margin:auto}.gallery{position:relative;background:white}.gallery>img{width:100%;max-height:70vh;object-fit:contain;display:block;aspect-ratio:1}.gallery button{position:absolute;top:45%;background:#ffffffd9;border-radius:50%;width:38px;height:38px;font-size:23px}.gallery .prev{left:12px}.gallery .next{right:12px}.gallery .counter{position:absolute;bottom:12px;right:18px;background:#0006;color:white;border-radius:20px;padding:5px 12px}.detail h1{font-size:18px;line-height:1.5;font-weight:400}.detail .price{font-size:25px;padding:0}.detail img{max-width:100%}.detail .body-copy{line-height:1.7;overflow-wrap:anywhere}.body-copy p{margin:12px 0}.body-copy img{display:block;margin:12px auto;height:auto}.action-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.action-row .gold{margin:10px 0;flex:1}.quantity{width:90px;border:1px solid #ddd;border-radius:8px}.favorite{font-size:27px;color:var(--gold)}.order-card{background:white;margin:15px;border-radius:8px;padding:18px}.order-card img{width:65px;height:65px;object-fit:cover;float:left;margin-right:12px}.order-card h3{font-size:14px;font-weight:normal;margin:5px 0}.order-card footer{clear:both;padding-top:15px;display:flex;justify-content:flex-end;gap:12px}.order-card footer button{border:1px solid #ddd;padding:8px 15px;border-radius:20px}.notice{color:#a08450;font-size:12px;text-align:center;padding:8px}.error{padding:30px;text-align:center;color:#9b4040}#toast{position:fixed;bottom:80px;left:50%;transform:translateX(-50%);background:#222d;color:white;padding:12px 20px;border-radius:9px;z-index:99;display:none;max-width:90vw}button:disabled{opacity:.5;cursor:wait}@media(min-width:1000px){.grid{grid-template-columns:repeat(4,minmax(0,1fr));padding:0 20px;gap:16px}.search{max-width:850px;margin:auto}.profile-hero,.menu,.balance,.group-title{max-width:850px;margin-left:auto;margin-right:auto}.tabs{justify-content:center}.tabs button{flex:0 1 180px}}@media(max-width:420px){.filters{flex-wrap:wrap}.filters input{flex-basis:100%}.tabs button{padding:16px 12px;font-size:12px}.balance{font-size:11px}}
[hidden]{display:none!important}
.personal-page{color:#080808;padding:0 19px 16px;background:#f5f5f5;max-width:850px;margin:auto}
.personal-identity{display:flex;align-items:center;gap:14px;height:109px;padding:15px 5px 0;font-family:"Times New Roman",serif;font-size:14px}
.personal-avatar{background:#f2ece0;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;flex-shrink:0}
.personal-avatar .profile-icon{width:35px;height:35px;stroke:none;fill:#bf9651}
.personal-name{margin-bottom:7px}.vip{background:#dfbf7b;border-radius:2px;color:white;padding:0 3px;font:12px Arial,sans-serif}
.identity-line{font-size:12px;margin-top:5px;display:flex;align-items:center}.identity-line>span{color:#979da4;font:12px Arial,sans-serif}
.credit i{width:101px;height:8px;border-radius:6px;background:linear-gradient(90deg,#b89a56,#e2c581);margin:0 3px}.credit b{font-weight:normal}
.personal-balances{height:95px;border-radius:11px;background:#fff;display:grid;grid-template-columns:repeat(3,1fr);align-items:center;font:14px "Times New Roman",serif;text-align:center;margin-bottom:21px}
.personal-balances>div{position:relative;line-height:17px}.personal-balances>div+div:before{content:'';position:absolute;height:48px;top:0;left:0;border-left:1px solid #f5f5f5}
.personal-balances .profile-icon{width:16px;height:16px;margin-bottom:1px;stroke-width:2}.personal-balances strong{display:block;font-size:12px;color:#a58148;font-weight:normal;margin-top:2px}
.personal-group h2{font-size:15px;line-height:18px;margin:0 0 13px;font-weight:600;letter-spacing:.2px}
.personal-group+.personal-group{margin-top:12px}.personal-menu{background:white;padding:0 15px}
.personal-menu a{display:flex;align-items:center;height:42px;border-bottom:1px solid #f7f7f7;gap:12px;font:14px "Times New Roman",serif;letter-spacing:.1px}
.personal-menu a:last-child{border-bottom:0}.profile-icon{width:18px;height:18px;fill:none;stroke:#c3944d;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.personal-menu .chevron{width:9px;height:14px;fill:none;stroke:#929aa0;stroke-width:1;margin-left:auto}
body:has(.personal-page) header{height:44px;padding:0 18px 0 27px}body:has(.personal-page) nav{height:48px}body:has(.personal-page) nav a{font-size:12px;gap:2px}body:has(.personal-page) main{padding-bottom:48px}
.personal-identity{height:111px}html:has(.personal-page){scrollbar-width:none}html:has(.personal-page)::-webkit-scrollbar,body:has(.personal-page)::-webkit-scrollbar{display:none}
@font-face{font-family:OriginalIcons;src:url('/assets/original-icons.woff2') format('woff2');font-weight:normal;font-style:normal;font-display:block}
@font-face{font-family:OriginalVant;src:url('/assets/vant-icons.woff2') format('woff2');font-weight:normal;font-style:normal;font-display:block}
.source-icon{font-family:OriginalIcons!important;font-style:normal;font-weight:normal;display:inline-block;line-height:1;-webkit-font-smoothing:antialiased;flex-shrink:0}
.source-icon.vant-source{font-family:OriginalVant!important}.nav-source{font-size:22px}.profile-source{font-size:20px;width:20px;color:#bd914b}.personal-balances .profile-source{font-size:16px;font-weight:700;margin-bottom:3px}.chevron-source{margin-left:auto;font-size:16px;color:#969799}.original-avatar{width:60px;height:60px;display:block;object-fit:contain}.personal-avatar{background:transparent}.original-logo{display:block;width:180px;height:auto}header #refresh .source-icon{font-size:25px;color:#000}.brand:has(.original-logo){display:block}
body:has(.auth-original){background:#f8f2e9 url('/assets/bg-Cqb4eyL8.png') center/100% 100% fixed no-repeat}body:has(.auth-original)>header{display:none}body:has(.auth-original) main{padding:0;min-height:100vh}.auth-original{min-height:100vh;padding-top:124px}.auth-language{position:absolute;top:12px;right:18px;font-size:12px}.auth-language a{border:1px solid #333;padding:3px;border-radius:4px}.auth-title{display:flex;flex-direction:column;align-items:center;padding:20px 70px;gap:10px}.auth-title img{width:170px;height:80px;object-fit:contain}.auth-title h2{font-size:21px;margin:0}.auth-form{padding:10px 20px;position:relative;margin:0}.auth-box{padding:10px 10px 30px;border-radius:10px;background:white}.auth-row{display:flex;align-items:center;min-height:54px;padding:10px 16px;gap:12px;font-size:14px}.auth-row+.auth-row{border-top:1px solid #f7f7f7}.auth-row>span,.auth-row>label{width:90px;flex-shrink:0;line-height:24px}.auth-row input{width:0;min-width:0;flex:1;text-align:right;padding:4px 0;border-radius:0;font-size:14px}.auth-row input::placeholder{color:#969799}.auth-row button{padding:0;color:#969799}.auth-submit{position:absolute;bottom:-15px;left:50%;transform:translateX(-50%);width:50px;height:50px;border-radius:50%;background:#b99555;color:white;font-size:23px}.auth-register{display:block;padding:40px 30px 20px;text-align:center;text-decoration:underline;color:#b99555}

/* Login alignment from the supplied original screenshot (382 px viewport). */
body:has(.auth-original){font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;color:#000}
.auth-original{padding-top:124px}
.auth-title{padding:20px 70px 30px;gap:10px}
.auth-title h2{font-size:21px;font-weight:700;line-height:30px;color:#1a1a1a}
.auth-row{min-height:44px;padding:10px 16px;gap:12px;line-height:24px}
.auth-row>span,.auth-row>label{width:6.2em;color:#000;font-weight:400}
.auth-row input{border:0;outline:none;background:transparent;color:#323233;font:inherit;line-height:24px;padding:0}
.auth-row+.auth-row{border-top:0;position:relative}
.auth-row+.auth-row:before{content:"";position:absolute;top:0;left:16px;right:16px;border-top:1px solid #f7f7f7}
.auth-row button{font-size:16px;line-height:24px}
.auth-submit{font-size:16px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0}
.auth-register{padding:30px;font-size:16px;line-height:24px}
.auth-language{top:11px;right:16px;font-size:12px;line-height:20px}
.auth-language button{border:1px solid #222;border-radius:4px;padding:0 3px;color:#000;display:flex;align-items:center;gap:3px}
.auth-language .source-icon{font-size:16px}
.language-open{overflow:hidden}
#language-drawer{position:fixed;inset:0;z-index:1000}
.language-shade{position:absolute;inset:0;width:100%;height:100%;background:rgba(0,0,0,.7);padding:0}
.language-panel{position:absolute;right:0;top:0;bottom:0;width:50%;background:#fff;color:#000;font:14px/24px "Helvetica Neue",Helvetica,Arial,sans-serif}
.language-panel button{display:block;width:100%;height:44px;text-align:center;padding:10px 16px;color:#000}

#language-drawer{overflow:hidden}
#language-drawer .language-panel{transform:translateX(100%);transition:transform 0.3s ease-in;will-change:transform}
#language-drawer .language-shade{opacity:0;transition:opacity 0.3s ease-in}
#language-drawer.is-open .language-panel{transform:translateX(0);transition-timing-function:ease-out}
#language-drawer.is-open .language-shade{opacity:1;transition-timing-function:ease-out}

.auth-language button{border-width:1.25px;border-color:#000;min-height:23px;gap:2px}
.auth-language .source-icon{font-size:17px;-webkit-text-stroke:.25px currentColor}
.language-caret{font:12px/1 Arial,sans-serif;color:#333}
#language-drawer{overflow:clip}

.register-original{padding-top:20px}
.register-original .auth-title{padding-bottom:28px}
.register-original .auth-form{padding:10px 30px}
.register-original .auth-box{padding:10px 10px 30px}
.register-original .auth-row>label{width:5em}
.register-original .auth-register{padding-top:40px}
.registration-agreement{border-top:1px solid #f7f7f7;display:flex;align-items:center;gap:8px;padding:8px 10px 10px;min-height:38px;font-size:16px;line-height:20px}
.registration-agreement input{appearance:none;flex:0 0 20px;width:20px;height:20px;padding:0;margin:0;border:1px solid #c8c9cc;border-radius:50%;background:#fff;cursor:pointer}
.registration-agreement input:checked{background:#b99555;box-shadow:inset 0 0 0 4px #fff;border-color:#b99555}
.registration-agreement button{padding:0;text-align:left;text-decoration:underline;color:#000}
.register-original .auth-submit:disabled{opacity:.5}
.agreement-dialog{border:0;border-radius:10px;max-width:85vw;padding:24px}.agreement-dialog::backdrop{background:#0007}
#page-progress{pointer-events:none;position:fixed;inset:0 0 auto;height:2px;z-index:1031;transition:opacity 200ms ease;overflow:visible}
.page-progress-bar{background:#29d;width:100%;height:2px;transform:translateX(-100%)}
.page-progress-bar i{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;transform:rotate(3deg) translateY(-4px)}

.auth-original .auth-row{align-items:flex-start}
.auth-original .auth-row input.auth-invalid{color:#f00}
.auth-original .auth-row input.auth-invalid::placeholder{color:#f00;opacity:1}

.auth-original .auth-row input:focus,.auth-original .auth-row input:focus-visible{outline:none;box-shadow:none;border:0}

.registration-agreement input{display:grid;place-items:center}
.registration-agreement input:checked{background:#b99555;border-color:#b99555;box-shadow:none}
.registration-agreement input:checked::after{content:"\e728";font-family:OriginalVant!important;font-size:16px;line-height:1;font-weight:normal;color:#fff;-webkit-font-smoothing:antialiased}

.auth-original .auth-register{display:table;width:auto;padding:0;margin:30px auto;line-height:24px}
.register-original .auth-register{padding:0;margin-top:40px}

.registration-agreement input[type=checkbox]:not(:checked){border:1px solid #c8c9cc;box-shadow:none;outline:none;background:#fff}
.registration-agreement input[type=checkbox]:focus{box-shadow:none;outline:none}

.registration-agreement,.registration-agreement input,.registration-agreement button{-webkit-tap-highlight-color:transparent}
.registration-agreement input[type=checkbox]{-webkit-appearance:none;appearance:none;user-select:none;-webkit-user-select:none}
.registration-agreement input[type=checkbox]:active{outline:none;box-shadow:none}

body.agreement-open{overflow:hidden}
.agreement-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:80vw;max-width:80vw;height:75vh;max-height:75vh;border:0;border-radius:16px;padding:0;background:#fff;color:#000;overflow:hidden;font:14px/18px "Helvetica Neue",Helvetica,Arial,sans-serif}
.agreement-dialog::backdrop{background:rgba(0,0,0,.7)}
.agreement-dialog .agreement-close{position:absolute;top:16px;right:16px;padding:0;width:22px;height:22px;display:grid;place-items:center;color:#c8c9cc;font-size:22px;line-height:1;outline:none;box-shadow:none;-webkit-tap-highlight-color:transparent}
.agreement-content{box-sizing:border-box;height:100%;overflow-y:auto;padding:48px 20px 20px}
.agreement-content p{margin:0;font-size:14px;line-height:18px;font-weight:400}

.agreement-loading{position:absolute;inset:0;z-index:2;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;pointer-events:none}
.agreement-spinner{position:relative;display:block;width:30px;height:30px;color:#1989fa;animation:agreement-spin .8s steps(12) infinite}
.agreement-spinner i{position:absolute;top:0;left:0;width:100%;height:100%}
.agreement-spinner i:before{display:block;width:2px;height:25%;margin:0 auto;background:currentColor;border-radius:40%;content:" "}
@keyframes agreement-spin{to{transform:rotate(360deg)}}

#original-page-loader{position:fixed;inset:0;z-index:1020;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center}
#original-page-loader img{width:250px;height:250px;display:block}

/* Home reference: two square images per row, two-line titles and red USD prices. */
body[data-page="home"]{font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;color:#000}
body[data-page="home"] header{height:44px;padding:0 18px 0 27px}
body[data-page="home"] .original-logo{width:180px;height:44px;object-fit:contain}
body[data-page="home"] #refresh .source-icon{font-size:25px}
body[data-page="home"] .section-title{height:36px;padding:0 20px 0 16px;font-size:14px;gap:10px;align-items:flex-end}
body[data-page="home"] .section-title:before{margin-bottom:2px}
body[data-page="home"] .section-title a{line-height:24px}
body[data-page="home"] #result-count{display:none}
body[data-page="home"] .grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0;gap:10px}
body[data-page="home"] .product{border-radius:10px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06)}
body[data-page="home"] .product img{width:100%;aspect-ratio:1;object-fit:cover}
body[data-page="home"] .product .name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow:hidden;margin:16px 10px 0;padding:0;height:36px;font-size:12px;line-height:18px;font-weight:400;color:#000}
body[data-page="home"] .product .price{margin:20px 0 0;padding:0 16px 14px;color:#f00;font-size:14px;line-height:20px;font-weight:700}
body[data-page="home"] nav{height:50px}
body[data-page="home"] nav a{font-size:12px;gap:3px}
body[data-page="home"] .nav-source{font-size:24px}
body[data-page="home"] main{padding-bottom:50px}

body[data-page="home"] .section-title{align-items:center}
body[data-page="home"] .section-title:before{margin-bottom:0}
body[data-page="home"] #more,body[data-page="catalog"] #more{display:block;width:100%;height:50px;margin:0;padding:12px 0;border:0;border-radius:0;background:transparent;color:#969799;font-size:14px;box-shadow:none}
body[data-page="home"] #more:not([data-retry="true"]),body[data-page="catalog"] #more:not([data-retry="true"]){cursor:default}

body[data-page="home"] .section-title{height:36px;box-sizing:content-box;padding-bottom:0;align-items:center}
body[data-page="home"] .section-title a{display:flex;align-items:center;justify-content:center;font-size:16px;line-height:16px;color:#969799}
body[data-page="home"] .section-chevron{font-size:16px;line-height:1}

body[data-page="home"] .section-title{height:25px;padding-top:13px}

body[data-page="home"] .product .name{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;line-height:18px;word-break:break-all;overflow-wrap:anywhere;text-overflow:ellipsis;-webkit-line-clamp:2}
body[data-page="home"] .product .price{font-family:Arial,sans-serif;font-weight:700!important;font-synthesis:weight;color:#f00}

body[data-page="home"] .product .name,body[data-page="home"] .product .price{font-family:inherit}

/* Keep the header outside document scrolling, with an equal-height spacer. */
body{--site-header-height:46px}
body[data-page="home"],body:has(.personal-page){--site-header-height:44px}
body:not(:has(.auth-original))::before{content:"";display:block;height:var(--site-header-height);flex-shrink:0}
body>header{position:fixed;top:0;left:0;right:0;height:var(--site-header-height);transform:translateZ(0);backface-visibility:hidden;z-index:20}
body:has(.auth-original)::before{display:none}
body[data-page="goods"]{background:#f7f7f7;color:#000;font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif}
body[data-page="goods"]>header,body[data-page="goods"]>nav,body[data-page="goods"]::before{display:none!important}
body[data-page="goods"] main{padding:46px 0 60px;min-height:100vh}
.detail-heading{position:fixed;top:0;left:0;right:0;z-index:30;height:46px;background:#000;color:#fff;display:flex;align-items:center;justify-content:center}
.detail-heading h1{margin:0;font-size:16px;line-height:22px;font-weight:700}
.detail-heading>button{position:absolute;left:12px;top:0;height:46px;padding:0 6px;color:#fff;font-size:16px}
.detail-heading>button .source-icon{transform:rotate(180deg)}
.detail-summary{background:#fff;padding:0 10px}
.detail-carousel{position:relative;aspect-ratio:1;overflow:hidden;border-radius:9px;touch-action:pan-y}
.detail-carousel>img{display:block;width:100%;height:100%;object-fit:cover;user-select:none}
.detail-dots{position:absolute;bottom:12px;left:0;right:0;display:flex;justify-content:center;gap:6px}
.detail-dots button{width:6px;height:6px;padding:0;border-radius:50%;background:rgba(255,255,255,.35)}
.detail-dots button.selected{background:#fff}
.detail-name{font-size:16px;line-height:24px;font-weight:400;word-break:break-all;margin:0}
.detail-price-row{display:flex;align-items:center;justify-content:space-between;min-height:40px;font-size:16px}
.detail-price-row strong{color:red;font-weight:700}
.detail-price-row button{font-size:20px;padding:0;color:#000}
.detail-price-row button[aria-pressed="true"]{color:red}
.detail-stats{display:flex;align-items:center;justify-content:space-between;font-size:16px;line-height:24px;padding:0 0 6px}
.detail-description{margin-top:10px;background:#fff;min-height:180px;font-size:14px;line-height:22px;overflow-wrap:anywhere}
.detail-description img{display:block;width:100%;height:auto}.detail-description p{margin:0;padding:8px 10px}
.detail-submit-bar{position:fixed;bottom:0;left:0;right:0;padding:10px 16px;background:#fff;z-index:30}
.detail-submit-bar>button{display:block;width:100%;height:32px;border-radius:999px;background:linear-gradient(90deg,#ff6034,#ee0a24);color:white;font-size:12px;font-weight:700;padding:0}

.detail-carousel>.detail-incoming{position:absolute;inset:0;z-index:1;transform:translateX(100%)}
.detail-dots{z-index:2}

.detail-empty{display:flex;justify-content:center;align-items:center;padding:32px 0}
.detail-description .detail-empty img{width:160px;height:160px;display:block}

/* Match the larger text and branding in the supplied home comparison. */
body[data-page="home"] .product .name{font-size:14px;line-height:20px;height:40px}
body[data-page="home"] .product .price{font-size:16px;line-height:22px}
body[data-page="home"] .section-title{font-size:16px}
body[data-page="home"] .original-logo{width:200px;max-width:65vw}
body[data-page="home"] nav a{font-size:14px}
body[data-page="home"] .nav-source{font-size:26px}
body[data-page="home"] .product .name{font-size:15px;line-height:22px;height:44px}
body[data-page="home"] .product .price{font-size:18px;line-height:24px}
body[data-page="home"] .section-title{font-size:18px}
body[data-page="home"] nav a{font-size:15px}

.detail-heading h1{font-size:18px}
.detail-name{font-size:18px;line-height:26px}
.detail-price-row{font-size:18px}
.detail-stats{font-size:18px;line-height:26px}
.detail-submit-bar>button{font-size:14px}



body[data-page="home"] .product .name{font-size:12px;line-height:18px;height:36px}
body[data-page="home"] .product .price{font-size:14px;line-height:20px}
body[data-page="home"] .section-title{font-size:14px}
body[data-page="home"] nav a{font-size:12px}
.detail-heading h1{font-size:16px}
.detail-name{font-size:16px;line-height:24px}
.detail-price-row{font-size:16px}
.detail-stats{font-size:16px;line-height:24px}
.detail-submit-bar>button{font-size:12px}

.detail-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;max-height:48px}

.detail-price-row button[aria-pressed="true"],.detail-price-row button[aria-pressed="true"] .source-icon{color:#f00}
#toast.toast-center{position:fixed;top:50%;bottom:auto;left:50%;transform:translate(-50%,-50%);min-width:120px;width:auto;padding:8px 12px;border-radius:8px;background:rgba(0,0,0,.7);color:#fff;font-size:14px;line-height:20px;text-align:center;z-index:2000;pointer-events:none}

body.order-sheet-open{overflow:hidden}
.order-sheet-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;height:auto;min-height:367px;max-height:85vh;padding:10px 16px 68px;border:0;border-radius:0;background:white;color:#000;overflow-y:auto;font:14px/24px "Helvetica Neue",Helvetica,Arial,sans-serif}
.order-sheet-dialog::backdrop{background:rgba(0,0,0,.7)}
.order-sheet-form{margin:0;padding:0}
.order-sheet-product{display:flex;gap:10px;padding-bottom:16px;border-bottom:1px solid #f5f5f5}
.order-sheet-product>img{width:100px;height:100px;object-fit:cover;flex-shrink:0}
.order-sheet-product>div{min-width:0}
.order-sheet-product h2{margin:0;font-size:14px;line-height:24px;font-weight:400;word-break:break-all;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.order-sheet-product strong{display:block;color:red;font-size:14px;line-height:24px;margin-top:6px}
.order-sheet-quantity{display:flex;justify-content:space-between;align-items:flex-start;padding:10px 0;border-bottom:1px solid #f5f5f5;}
.order-stepper{display:flex;align-items:center;gap:2px}
.order-stepper button{width:28px;height:28px;padding:0;background:#f2f3f5;color:#969799;font-size:22px;line-height:28px}
.order-stepper input{box-sizing:border-box;width:100px;height:28px;padding:0;margin:0;border:0;border-radius:0;background:#f2f3f5;color:#000;text-align:center;font-size:14px;outline:none;box-shadow:none;appearance:textfield}
.order-stepper input::-webkit-inner-spin-button,.order-stepper input::-webkit-outer-spin-button{appearance:none;margin:0}
.order-sheet-total{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #f5f5f5}
.order-sheet-total strong{color:red;font-size:14px;font-weight:700}
.order-sheet-submit{display:block;width:calc(100% + 12px);margin:20px -6px 0;height:32px;padding:0;border-radius:999px;background:linear-gradient(90deg,#ff6034,#ee0a24);color:white;font-size:12px;font-weight:700}

.order-sheet-dialog.sheet-entering{animation:order-sheet-enter .3s ease-out both}
.order-sheet-dialog.sheet-entering::backdrop{animation:order-sheet-backdrop .3s ease-out both}
@keyframes order-sheet-enter{from{transform:translateY(100%)}to{transform:translateY(0)}}
@keyframes order-sheet-backdrop{from{background:rgba(0,0,0,0)}to{background:rgba(0,0,0,.7)}}

.order-sheet-dialog.sheet-leaving{animation:order-sheet-leave .3s ease-in both;pointer-events:none}
.order-sheet-dialog.sheet-leaving::backdrop{animation:order-sheet-backdrop-out .3s ease-in both}
@keyframes order-sheet-leave{from{transform:translateY(0)}to{transform:translateY(100%)}}
@keyframes order-sheet-backdrop-out{from{background:rgba(0,0,0,.7)}to{background:rgba(0,0,0,0)}}

body[data-page="search"]{--site-header-height:44px}
body[data-page="search"] header{height:44px;padding:0 18px 0 27px}
body[data-page="search"] .search{position:relative;padding:0 5%;padding-top:max(40px,calc(40vh - 44px));margin:0 auto;text-align:center}
body[data-page="search"] .search h2{font-size:21px;line-height:30px;font-weight:700;margin:0 0 24px}
body[data-page="search"] .search input{box-sizing:border-box;width:100%;height:44px;border:0;border-radius:999px;padding:0 16px;font-size:14px;line-height:24px;text-align:center;background:#fff;box-shadow:0 4px 12px #0002}
body[data-page="search"] .search input::placeholder{color:#c8c9cc;opacity:1}
body[data-page="search"] .search .gold{display:block;width:56%;height:44px;padding:0;margin:40px auto 0;font-size:14px;border-radius:999px;box-shadow:0 2px 12px #e7cf77}
body[data-page="search"] nav{height:48px}

body[data-page="order"]{--site-header-height:44px;overscroll-behavior-y:contain}
body[data-page="order"] header{height:44px;padding:0 18px 0 27px}
body[data-page="order"] .tabs{position:sticky;top:44px;z-index:15;height:44px;align-items:stretch;justify-content:flex-start;scrollbar-width:none;border-radius:0 0 10px 10px}
body[data-page="order"] .tabs::-webkit-scrollbar{display:none}
body[data-page="order"] .tabs button{flex:0 0 auto;padding:0 12px;font-size:14px;line-height:44px;color:#646566;font-weight:400}
body[data-page="order"] .tabs button:first-child{padding-left:20px}
body[data-page="order"] .tabs button.selected{color:#000;font-weight:700;box-shadow:none}
.order-pull-content{position:relative;min-height:calc(100vh - 136px)}
.order-pull-status{position:absolute;top:-50px;left:0;right:0;height:50px;display:flex;align-items:center;justify-content:center;color:#969799;font-size:14px}
.orders-empty{padding:32px 0;display:flex;align-items:center;flex-direction:column}
.orders-empty img{width:160px;height:160px;display:block}
.orders-empty p{margin:40px 0 0;font-size:14px;line-height:20px;color:#969799}
body[data-page="order"] nav{height:48px}

/* Shared bottom navigation geometry, matching the home page. */
body #nav{height:50px;box-sizing:border-box}
body #nav a{font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;font-size:12px;line-height:16px;font-weight:400;gap:3px;padding:0;flex:1 1 0;width:25%;min-width:0}
body #nav .nav-source{font-size:26px;line-height:26px;width:26px;height:26px;text-align:center}
body:not([data-page="goods"]):not(:has(.auth-original)) main{padding-bottom:50px}
body[data-page="home"] a.section-title{cursor:pointer;color:#000;text-decoration:none}
body[data-page="home"] .section-title>.section-chevron{margin-left:auto;color:#969799;font-size:16px}
body[data-page="catalog"]>header,body[data-page="catalog"]>nav,body[data-page="catalog"]::before{display:none!important}
body[data-page="catalog"] main{padding:46px 0 0!important;min-height:100vh}
body[data-page="catalog"]{background:#f7f8fa;color:#323233;font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif}
.catalog-controls{position:sticky;top:46px;z-index:25;background:white}
.catalog-search{height:54px;display:flex;align-items:center;padding:10px 0 10px 12px;margin:0;background:white}
.catalog-search label{display:flex;align-items:center;flex:1;min-width:0;height:34px;background:#f7f8fa;padding:0 12px;gap:6px}
.catalog-search .source-icon{font-size:16px;color:#969799}
.catalog-search input{width:100%;min-width:0;padding:0;border:0;border-radius:0;background:transparent;font-size:14px;line-height:24px;box-shadow:none;outline:none}
.catalog-search input::placeholder{color:#c8c9cc;opacity:1}
.catalog-search>button{height:34px;padding:0 8px;font-size:14px;color:#000}
.catalog-category{height:50px;width:100%;display:flex;align-items:center;justify-content:center;gap:5px;border-top:1px solid #fafafa;font-size:14px}
.catalog-caret{width:0;height:0;border:4px solid transparent;border-top-color:#dcdee0;transform:translateY(2px)}
.catalog-category[aria-expanded="true"]{color:#1989fa}.catalog-category[aria-expanded="true"] .catalog-caret{transform:rotate(180deg) translateY(2px);border-top-color:#1989fa}
.catalog-options{position:absolute;top:100%;left:0;right:0;background:#fff;box-shadow:0 2px 8px #0001}
.catalog-options button{display:flex;align-items:center;justify-content:space-between;width:100%;height:44px;padding:0 16px;color:#1989fa;font-size:14px}
.catalog-shade{position:fixed;inset:150px 0 0;z-index:24;background:rgba(0,0,0,.7);width:100%;height:calc(100% - 150px);padding:0}
body[data-page="catalog"] .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px}
body[data-page="catalog"] .product{border-radius:10px;background:white;box-shadow:0 2px 8px #0001}
body[data-page="catalog"] .product .name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;word-break:break-all;font-size:12px;line-height:18px;height:36px;margin:16px 10px 0;padding:0;font-weight:400}
body[data-page="catalog"] .product .price{margin:20px 0 0;padding:0 16px 14px;color:red;font-size:14px;line-height:20px;font-weight:700}

.catalog-category,.catalog-options button,.catalog-shade{-webkit-tap-highlight-color:transparent;user-select:none}
.catalog-category:active,.catalog-category:focus{background:#fff;outline:none;box-shadow:none}
.catalog-options{z-index:-1}
.catalog-search,.catalog-category{position:relative;background:#fff;z-index:1}

body[data-page="catalog"] #more.list-loading{display:flex;align-items:center;justify-content:center;gap:8px;color:#969799;font-size:14px}
body[data-page="catalog"] #more.list-loading:before{content:"";width:14px;height:14px;box-sizing:border-box;border:2px solid #dcdee0;border-top-color:transparent;border-right-color:transparent;border-radius:50%;animation:catalog-list-spin .8s linear infinite}
@keyframes catalog-list-spin{to{transform:rotate(360deg)}}

/* Personal page: match reference typography and vertical rhythm. */
.personal-page{font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;padding-left:20px;padding-right:20px}
.personal-identity{font-family:inherit;font-size:14px;height:118px;padding:15px 5px 0;gap:16px}
.personal-avatar{width:48px;height:48px}
.personal-avatar .original-avatar{width:50px;height:50px}
.personal-name{font-family:inherit;font-weight:400}
.identity-line{font-family:inherit}
.personal-balances{height:99px;margin-bottom:22px;font-family:inherit}
.personal-group h2{font-family:inherit;font-size:16px;line-height:20px;font-weight:600;letter-spacing:0;margin-bottom:13px}
.personal-menu a{height:44px;font-family:inherit;font-size:14px;line-height:20px;font-weight:600;letter-spacing:0;gap:12px}
.personal-group+.personal-group{margin-top:12px}
body:has(.personal-page) header{padding-left:27px;padding-right:18px}
body:has(.personal-page) .original-logo{width:180px;height:44px;object-fit:contain}

.personal-identity .credit i{position:relative;background:#ebedf0;overflow:hidden}
.personal-identity .credit i::before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(90deg,#b89a56,#e2c581);transform-origin:left center;animation:credit-fill 1s ease-out both}
@keyframes credit-fill{from{transform:scaleX(0)}to{transform:scaleX(var(--credit-scale,1))}}
@media(prefers-reduced-motion:reduce){.personal-identity .credit i::before{animation:none}}

.personal-menu a[href="#/wallet"]{border-bottom:0}
.personal-menu a[href="#/language"] .chevron-source{display:none}
.personal-page>button[data-action="logout"]{display:block;box-sizing:border-box;width:100%;height:44px;margin:10px 0 2px;padding:0;border:1px solid #000;border-radius:3px;background:transparent;color:#000;box-shadow:none;font-family:inherit;font-size:14px;font-weight:400;line-height:42px}
.personal-balances>div{transform:translateY(-2px);line-height:18px}
.personal-balances .profile-source{font-size:18px;line-height:18px;margin-bottom:3px}
.personal-balances strong{font-size:13px;line-height:18px;font-weight:400;margin-top:2px}
.personal-balances>div+div:before{top:0;height:48px}
/* Collection list, matching the reference page. */
body[data-page="favorites"]{background:#f5f5f5;color:#000;font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif}
body[data-page="favorites"]>header,body[data-page="favorites"]>nav,body[data-page="favorites"]::before{display:none!important}
body[data-page="favorites"] main{padding:46px 0 0!important;min-height:100vh}
.collection-list{padding:10px}
.collection-card{display:block;background:#fff;border-radius:10px;padding:10px;margin-bottom:10px;color:#000;text-decoration:none;min-height:121px;box-sizing:border-box}
.collection-product{display:flex;align-items:flex-start;gap:5px;padding:0 5px}
.collection-product img{width:70px;height:80px;object-fit:cover;flex:none}
.collection-name{font-size:12px;line-height:14px;font-weight:400;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.collection-card time{display:block;color:#969799;font-size:14px;line-height:20px}
.collection-end{text-align:center;font-size:14px;line-height:20px;color:#969799;padding:5px 0 15px}

body[data-page="favorites"]{overscroll-behavior-y:contain}
body[data-page="favorites"] main{overflow:hidden}
.collection-pull{min-height:calc(100vh - 46px)}

body:is([data-page="addresses"],[data-page="profile"],[data-page="personal-info"],[data-page="login-password"],[data-page="wallet-password"],[data-page="wallet"],[data-page="withdraw"]){background:#f5f5f5;color:#000;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}
body:is([data-page="addresses"],[data-page="profile"],[data-page="personal-info"],[data-page="login-password"],[data-page="wallet-password"],[data-page="wallet"],[data-page="withdraw"])>header,body:is([data-page="addresses"],[data-page="profile"],[data-page="personal-info"],[data-page="login-password"],[data-page="wallet-password"],[data-page="wallet"],[data-page="withdraw"])>nav,body:is([data-page="addresses"],[data-page="profile"],[data-page="personal-info"],[data-page="login-password"],[data-page="wallet-password"],[data-page="wallet"],[data-page="withdraw"])::before{display:none!important}
body:is([data-page="addresses"],[data-page="profile"],[data-page="personal-info"],[data-page="login-password"],[data-page="wallet-password"],[data-page="wallet"],[data-page="withdraw"]) main{padding:46px 0 0!important;min-height:100vh}
.account-form{padding:10px}.account-form>label{display:block;font-size:16px;font-weight:700;line-height:24px;color:#646566;margin:0 0 6px}.account-form input:not([type="file"]){box-sizing:border-box;width:100%;height:35px;border:0;border-radius:0;background:white;padding:0 16px;font:14px Arial,sans-serif;box-shadow:0 1px 2px #0002;margin:0 0 4px}.account-form input::placeholder{color:#c8c9cc}.account-input{position:relative}.account-input input{padding-right:45px!important}.account-input>button{position:absolute;right:12px;top:0;height:35px;padding:0;color:#969799;background:transparent;border:0}.account-submit{display:block;width:100%;height:44px;border:0;border-radius:3px;background:#b99555;color:white;font-size:14px;margin-top:16px;padding:0}
.account-settings{padding:20px 10px}.account-settings section{background:white;border-radius:5px;padding:0 16px;margin-bottom:10px}.account-settings section>a,.account-settings section>div{display:flex;align-items:center;min-height:44px;border-bottom:1px solid #f5f5f5;font-size:14px;color:#000;text-decoration:none}.account-settings section>:last-child{border-bottom:0}.account-settings div>span{margin-left:auto;color:#969799}
.avatar-form .avatar-picker{display:flex;flex-direction:column;align-items:center;gap:12px;margin:0 0 22px;font-size:16px;font-weight:400;color:#000;cursor:pointer}.avatar-picker img{width:100px;height:100px;border:3px solid white;border-radius:50%;object-fit:cover;box-sizing:border-box}.avatar-picker .source-icon{font-size:14px}
#reference-dialog,#account-restriction-dialog{border:0;border-radius:16px;padding:0;width:320px;max-width:calc(100vw - 48px);background:white;color:#323233;overflow:hidden}#reference-dialog::backdrop,#account-restriction-dialog::backdrop{background:#000b}#reference-dialog .reference-message,#account-restriction-dialog .reference-message{min-height:104px;box-sizing:border-box;padding:30px 24px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:14px;overflow-wrap:anywhere}#reference-dialog>button,#account-restriction-dialog>button{display:block;width:100%;height:48px;border:0;border-top:1px solid #f7f8fa;background:white;color:#1989fa;font-size:16px;border-radius:0;outline:none}
.collection-loading{display:flex;align-items:center;justify-content:center;gap:8px}.collection-loading:before{content:"";width:14px;height:14px;border:2px solid #dcdee0;border-top-color:transparent;border-right-color:transparent;border-radius:50%;animation:catalog-list-spin .8s linear infinite}

#address-form input.address-invalid,#address-form input.address-invalid::placeholder{color:#f00;opacity:1}

#account-password input.address-invalid,#account-password input.address-invalid::placeholder{color:#f00;opacity:1}

/* Disable native tap flash; menu feedback covers the complete row. */
html{-webkit-tap-highlight-color:transparent}
*,*::before,*::after{-webkit-tap-highlight-color:transparent}
.personal-menu{padding:0}
.personal-menu a{position:relative;padding:0 15px;border-bottom:0}
.personal-menu a:not(:last-child):not([href="#/wallet"])::after{content:"";position:absolute;left:15px;right:15px;bottom:0;height:1px;background:#f7f7f7}
.personal-menu a:active{background:#f2f3f5}

#wallet-gate{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:none;box-sizing:border-box;height:242px;border:0;border-radius:16px 16px 0 0;padding:10px;background:#fff;color:#323233;animation:wallet-gate-in .3s ease-out}
#wallet-gate::backdrop{background:#000b}#wallet-gate.closing{animation:wallet-gate-out .3s ease-in forwards}
#wallet-gate h2{font-size:16px;line-height:24px;text-align:center;margin:0 24px 30px;font-weight:700}
.wallet-gate-close{position:absolute;right:12px;top:10px;background:none;border:0;color:#c8c9cc;font-size:28px;padding:0;line-height:28px}
#wallet-gate input{box-sizing:border-box;width:100%;height:44px;border:0;border-radius:0;box-shadow:0 1px 3px #0002;padding:0 16px;font-size:14px}#wallet-gate input::placeholder{color:#c8c9cc;font-weight:700}#wallet-gate .account-submit{margin-top:10px;font-weight:700}
#wallet-gate input.address-invalid::placeholder,#wallet-form input.address-invalid::placeholder{color:red}
@keyframes wallet-gate-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes wallet-gate-out{to{transform:translateY(100%)}}

.wallet-gate-error{font-size:13px;color:#ee0a24;text-align:center;margin-top:12px}

#wallet-number-keyboard{position:fixed;bottom:0;left:0;right:0;z-index:60;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px 6px calc(22px + env(safe-area-inset-bottom));background:#f2f3f5;animation:wallet-gate-in .2s ease-out}
#wallet-number-keyboard button{height:48px;padding:0;border:0;border-radius:8px;background:#fff;color:#323233;font:28px Arial,sans-serif;display:flex;align-items:center;justify-content:center;touch-action:manipulation;user-select:none}
#wallet-number-keyboard button:active{background:#ebedf0}
#wallet-number-keyboard svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
[id="wallet-number-keyboard"].closing{animation:wallet-gate-out .2s ease-in forwards}
body.wallet-keyboard-open main{padding-bottom:246px!important}

#toast.icon-success{width:120px;height:120px;box-sizing:border-box;padding:22px 8px;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;background:rgba(0,0,0,.7);font-size:14px;pointer-events:none}
#toast.icon-success .source-icon{font-size:36px;line-height:36px}
.withdraw-tabs{display:flex;height:36px;background:#fff}.withdraw-tabs a{position:relative;display:flex;width:50%;align-items:center;justify-content:center;font-size:14px;color:#646566}.withdraw-tabs a.selected{color:#b99555;font-weight:700}.withdraw-tabs a.selected:after{position:absolute;content:"";bottom:0;width:40px;height:3px;background:#b99555;border-radius:2px}
.withdraw-balance{position:relative;overflow:hidden;margin:10px 8px 26px;padding:10px;color:#fff;background:linear-gradient(115deg,#902bff,#f63cac);border-radius:10px;height:104px;box-sizing:border-box;box-shadow:0 2px 3px #0001}.withdraw-balance:after{content:"";position:absolute;right:12px;top:-20px;width:120px;height:100px;transform:skew(-35deg);background:repeating-linear-gradient(90deg,transparent 0 32px,#ffffff18 32px 58px);pointer-events:none}.withdraw-balance b{font-size:12px}.withdraw-balance>div{font-size:12px;font-weight:700;margin:10px 0}.withdraw-balance strong{font-size:24px}
body[data-page="withdraw"] .account-form{padding:8px}.withdraw-amount{position:relative}.withdraw-amount input{height:40px!important;padding-right:48px!important}.withdraw-amount button{position:absolute;right:16px;top:10px;border:0;border-radius:3px;background:#b99555;color:white;font-size:10px;height:24px;padding:0 5px}.withdraw-empty{text-align:center;padding-top:55px}.withdraw-empty img{width:160px;height:160px}
.withdraw-filters{display:flex;margin:10px 16px 28px;border:1px solid #b99555;border-radius:2px}.withdraw-filters a{flex:1;text-align:center;height:28px;line-height:28px;color:#b99555;font-size:14px;background:white}.withdraw-filters a+a{border-left:1px solid #b99555}.withdraw-filters a.selected{background:#b99555;color:#fff;font-weight:700}.withdraw-records article{margin:10px;padding:14px;background:white;border-radius:6px}.withdraw-records time{display:block;color:#969799;font-size:12px;margin-top:8px}
#withdraw-form input.address-invalid::placeholder{color:red}

body:is([data-page="support"],[data-page="announcements"]){background:#f5f5f5;color:#000;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}
body[data-page="support"]{background:white}
body:is([data-page="support"],[data-page="announcements"])>header,body:is([data-page="support"],[data-page="announcements"])>nav,body:is([data-page="support"],[data-page="announcements"])::before{display:none!important}
body:is([data-page="support"],[data-page="announcements"]) main{padding:46px 0 0!important;min-height:100vh}
.information-content{font-size:14px;color:#646566}.information-text{margin:10px;padding:16px;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere;line-height:22px;color:#323233}.information-end{margin:0;padding:36px 0;text-align:center;font-size:14px;color:#969799}.information-content>button{display:block;margin:16px auto}

@media(prefers-reduced-motion:reduce){.personal-identity .credit i::before{transform:scaleX(var(--credit-scale,1))}}

.personal-identity .invite-copy{display:inline;padding:0;margin:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;line-height:inherit;cursor:pointer;vertical-align:baseline}

.order-failure-toast{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;width:max-content;max-width:80vw;box-sizing:border-box;padding:10px 12px;border:0;border-radius:8px;background:rgba(0,0,0,.7);color:#fff;font:14px/20px Arial,sans-serif;text-align:center;pointer-events:none;z-index:9999}

.missing-product-image{width:100%;aspect-ratio:1;background:#fff}.original-detail .detail-submit-bar button:disabled{cursor:default}

.home-notice-dialog{box-sizing:border-box;border:0;border-radius:16px;padding:0;width:308px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 48px);color:#323233;background:#fff;overflow:hidden}
.home-notice-dialog::backdrop{background:#000b}
.home-notice-dialog h2{font-size:16px;text-align:center;margin:0;padding:24px 16px 4px;font-weight:700}
.home-notice-content{height:288px;max-height:calc(100dvh - 210px);overflow-y:auto;padding:0 10px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.5}
.home-notice-option{display:flex;justify-content:center;align-items:center;gap:4px;font-size:10px;height:50px;margin:0}
.home-notice-option input{width:12px;height:12px;margin:0;accent-color:#b99555}
.home-notice-dialog>button{width:100%;height:46px;border:0;border-top:1px solid #f7f8fa;background:white;color:#1989fa;font-size:14px;cursor:pointer}
.repurchase-card .order-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:14px;font-size:11px;color:#999}.order-state{padding:3px 6px;border-radius:3px;background:#eee;color:#666}.state-pending{background:#b99555;color:white}.state-repurchasing{background:#409eff;color:white}.state-completed{background:#eaf7ed;color:#27854a}.state-failed{background:#fff0f0;color:#c33}
.order-product{display:flex;gap:12px;align-items:flex-start;min-width:0}.order-product img{float:none!important;flex:none;width:65px;height:65px;object-fit:cover;margin:0!important}.order-product>div{min-width:0}.order-product h3{margin:0 0 6px;font-size:13px;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.order-product span{font-size:12px;color:#777}.order-metrics{display:flex;gap:8px;margin-top:24px}.order-metrics>div{flex:1;min-width:0;color:#888;font-size:11px}.order-metrics strong{display:block;margin-top:8px;font-size:13px;color:#b99555;overflow-wrap:anywhere}.order-card footer .repurchase-button,.repurchase-submit{background:#b99555;color:white;border:0;border-radius:5px;padding:9px 16px}
.repurchase-dialog{border:0;border-radius:14px;background:white;color:#333;padding:22px;width:320px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);overflow:auto;box-sizing:border-box}.repurchase-dialog::backdrop{background:#0009}.repurchase-dialog h2{text-align:center;margin:0 0 24px;font-size:17px}.repurchase-close{position:absolute;right:10px;top:8px;background:none;border:0;color:#999;font-size:24px}.repurchase-dialog .order-metrics{border-top:1px solid #eee;padding-top:16px;text-align:center}.repurchase-dialog dl{font-size:11px;margin:20px 0}.repurchase-dialog dl>div{display:flex;justify-content:space-between;gap:12px;margin:16px 0}.repurchase-dialog dt{color:#888;flex-shrink:0}.repurchase-dialog dd{margin:0;text-align:right;overflow-wrap:anywhere}.repurchase-submit{display:block;width:100%;border-radius:24px}.repurchase-error{font-size:13px;color:#b3261e;overflow-wrap:anywhere}
