/* Product surfaces / action hierarchy / shared brand language. */
:root{--ink:#202c40;--muted:#6d7d94;--accent:#3766d8;--warm:#d26a35;--line:#e4e9f1;--shadow:0 6px 20px #22375307;--paper:#fff;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}
html{background:#f2f5f9}body{background:radial-gradient(ellipse at 95% 0,#dee7f459,transparent 30rem),linear-gradient(180deg,#f0f4fa,#f6f7fa 600px);color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body:before{opacity:.12;background-image:linear-gradient(135deg,transparent 49%,#879fca1c 49.5% 50%,transparent 50.5%);background-size:100px 100px;mask-image:linear-gradient(#000,transparent 55%)}
body[data-page="my"],body[data-page="goods"]:not([data-detail="true"]){background:radial-gradient(ellipse 470px 320px at 96% 30px,#406fae2d,transparent 80%),linear-gradient(180deg,#12213a 0,#203655 165px,#4b6482 255px,#e9eef6 355px,#f4f6fa 510px);background-repeat:no-repeat;background-color:#f4f6fa}
.app-shell{padding-left:16px;padding-right:16px;max-width:1000px}.topbar{height:74px}.brand{gap:10px;letter-spacing:.5px;font-size:19px}.brand small{font-size:8px;letter-spacing:2.4px;font-weight:500;color:#97accb!important}.brand-mark{width:43px;height:43px;padding:0;border:0;border-radius:12px;background:none;box-shadow:0 4px 12px #00000018;object-fit:contain}
body[data-page="my"] .topbar,body[data-page="goods"]:not([data-detail="true"]) .topbar{height:76px}
.topbar .icon-btn{border-radius:12px}.icon-btn{width:42px;height:42px;border-radius:12px;border-color:#e0e7f0;background:#fff;box-shadow:none}.page-title .icon-btn{width:38px;height:38px;background:#edf2fa;border-color:transparent;border-radius:11px}.page-title{min-height:70px;gap:11px}.page-title h1{font-size:20px;font-weight:650;letter-spacing:.2px}.page-title:after{content:"";width:6px;height:6px;background:#cad5e6;border-radius:50%;margin-left:4px}.page-title:has(.chat-brand):after{display:none}
svg{stroke-width:1.7}.primary,.secondary{min-height:46px;padding:12px 17px;border-radius:11px;line-height:1.5;letter-spacing:.2px;font-size:14px;font-weight:600;text-align:center;transition:background .16s,box-shadow .16s,transform .12s}.primary{background:#3766d8;color:#fff;border:1px solid #3766d8;box-shadow:0 4px 12px #3766d81c}.primary.warm{background:#d77532;border-color:#d77532;box-shadow:0 4px 12px #d775321a}.secondary{background:#fff;border:1px solid #dce4ef;color:#526781;font-weight:500;box-shadow:0 2px 4px #182c4803}.primary:active,.secondary:active{transform:translateY(1px);box-shadow:none}.primary:disabled,.secondary:disabled{cursor:not-allowed;opacity:.48;box-shadow:none}.primary svg,.secondary svg{width:19px;height:19px}.actions{gap:9px}.actions>*{min-height:42px;padding:10px 14px;font-size:12px;border-radius:9px}.danger-btn,.danger-text{color:#b94c57!important}.danger-btn{background:#fff;border-color:#eddde1}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #729cf177;outline-offset:3px}
.card,.goods-card,.message-entry{background:#fff;border:1px solid #e6ebf3;border-radius:15px;box-shadow:0 5px 20px #20395805;backdrop-filter:none}.card{padding:18px;margin:12px 0}.card h2{font-size:16px;font-weight:650;color:#26364d}.card h3{font-size:14px;font-weight:600}.section-head{margin:23px 0 13px;align-items:center}.section-head h2{font-size:18px;padding-left:0;letter-spacing:.2px}.section-head h2:before{display:none}.section-head small{color:#73849e;font-size:10px}.card-group-label{font-size:13px;font-weight:650;color:#394d6c;padding:0 0 12px;margin:0 0 1px;border-bottom:1px solid #eff2f7}
.poster-section{padding:10px 10px 9px;margin-bottom:15px;background:linear-gradient(125deg,#ffffff0c,#ffffff03);border:1px solid #d9e7ff24;border-radius:16px;box-shadow:0 7px 24px #091a3422}.poster-heading{font-size:10px;letter-spacing:.4px;color:#c2d2e9;margin-bottom:9px}.poster-heading img{width:19px;height:19px;border-radius:5px}.poster-carousel{border-radius:10px;border:1px solid #d4e2fa2c}.poster-bottom{padding-top:9px;font-size:9px;color:#a9bedb}.poster-dots button{height:4px;width:5px}.poster-dots button[aria-pressed=true]{width:16px;background:#d4e4ff;box-shadow:none}
.search{min-height:48px;padding:4px 5px 4px 13px;border:1px solid #e0e7f2;border-radius:12px;box-shadow:0 4px 14px #1d365c0e;background:#fff}.search svg{width:20px;height:20px;color:#8b9cb5}.search input{font-size:13px;min-height:36px;color:#243952}.search input::placeholder{color:#8a99af}.search button{min-height:37px;border-radius:8px;background:#edf3ff;color:#3564c5;font-size:13px;padding:8px 14px}.search button:active{background:#e1eaff}
.shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:17px 5px 14px;margin:14px 0 23px;border-radius:15px;border:1px solid #fff;background:#fffffffa;box-shadow:0 6px 20px #263b5f08}.shortcuts a{display:flex;flex-direction:column;gap:9px;align-items:center;justify-content:flex-start;min-height:85px;padding:0 1px;border:0;border-radius:0;background:none;box-shadow:none;font-size:12px;color:#2a3d58;text-align:center}.shortcuts a>span:last-child{display:flex;flex-direction:column;gap:5px;font-weight:600}.shortcuts a small{font-size:9px;letter-spacing:0;color:#8795aa;font-weight:400;white-space:nowrap}.shortcuts svg,.shortcuts a:nth-child(n) svg{display:block;box-sizing:border-box;width:24px;height:24px;stroke:currentColor;stroke-width:1.65;margin:0;padding:0;border-radius:0;background:none}.feature-icon{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:12px;border:1px solid #dce7fc;background:linear-gradient(145deg,#f5f9ff,#eaf1ff);color:#3e75d2;box-shadow:inset 0 1px #fff,0 3px 6px #446daf06}.feature-icon:after{content:"";position:absolute;width:13px;height:13px;right:4px;bottom:3px;background:currentColor;opacity:.035;border-radius:50%;z-index:-1}.feature-icon svg{width:22px;height:22px;stroke-width:1.7}.tone-heart{color:#a076ba;background:linear-gradient(145deg,#fcf8ff,#f2ecfa);border-color:#eae0f3}.tone-support,.tone-headset{color:#4a8fa5;background:linear-gradient(145deg,#f4fcff,#eaf5f8);border-color:#dcecf2}.tone-notice,.tone-help{color:#cb9551;background:linear-gradient(145deg,#fffcf4,#faf2e4);border-color:#efe6d4}.tone-user,.tone-shield{color:#629392;background:linear-gradient(145deg,#f6fcfc,#eaf3f3);border-color:#dfeceb}.tone-settings,.tone-exit{color:#7085a7;background:linear-gradient(145deg,#f7faff,#edf1f7);border-color:#e0e7f1}
.tabs{gap:5px;scroll-padding-inline:3px}.tabs button{min-height:38px;padding:9px 14px;font-size:12px;color:#687d98;border-radius:9px;font-weight:500}.tabs button.active{background:#243e63;color:#f9fbff;box-shadow:0 3px 6px #243e6315}.tools{margin:13px 0;font-size:11px;color:#8090a9}.tools select{font-size:11px;padding:8px 9px;border-radius:8px;border-color:#e0e6ef;min-height:34px;color:#455c7c}
.goods-list{gap:11px}.goods-card{padding:13px;gap:13px;border-radius:15px;min-width:0;transition:border-color .2s,box-shadow .2s}.goods-card>.cover{width:107px;height:150px;border-radius:10px;background:#eaf0f7}.goods-code{display:flex;justify-content:space-between;gap:7px;letter-spacing:.2px;color:#91a0b5;font-size:9px;margin-bottom:6px}.goods-body h3{font-size:13px;line-height:1.65;letter-spacing:.1px;font-weight:650;color:#273b59;margin-bottom:7px}.goods-spec-tags{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 7px;max-height:40px;overflow:hidden}.goods-spec-tags span{background:#f0f4fa;color:#6781a2;border:1px solid #e8eef6;border-radius:4px;padding:2px 5px;font-size:9px;line-height:1.5}.goods-meta{display:flex;align-items:center;gap:4px;font-size:9px;line-height:1.5;color:#8b9ab0;min-height:14px}.goods-meta svg{width:11px;height:11px;color:#839ab9;flex:none}.goods-meta>span{padding:0 2px}.total-line{gap:5px;align-items:baseline;flex-wrap:wrap;margin:8px 0 6px}.price{font-size:23px;font-weight:720;letter-spacing:-.7px;color:#cf6838;font-variant-numeric:tabular-nums}.price small{font-size:12px;color:inherit;font-weight:500;margin:0 2px 0 0;letter-spacing:0}.total-line .price-unit{font-size:9px;color:#9aa5b6}.goods-card-foot{display:flex;gap:5px;align-items:center;justify-content:space-between;font-size:9px;color:#8291a6;border-top:1px solid #f0f3f8;padding-top:7px;line-height:1.5}.card-go{display:flex;align-items:center;gap:1px;font-size:9px;color:#526e97;white-space:nowrap}.card-go svg{width:11px;height:11px}.tag{border-radius:4px;font-size:9px}.tag.warm{background:#fff3e8;color:#c07b45;border:1px solid #f6e7d7}
.profile-header{min-height:117px;padding:18px 13px 24px;margin-top:0;gap:14px}.profile-header:before{opacity:.6}.profile-header:after{background-image:url('/img/brand-emblem-v3.svg');width:139px;height:139px;right:7px;top:-10px;filter:none;opacity:.10;transform:rotate(-9deg);border-radius:32px}.profile-header .avatar{width:59px;height:59px;background:linear-gradient(150deg,#f5f9ff,#c9d9f1);border:2px solid #edf4ff;color:#3f6090;border-radius:19px;font-size:24px;box-shadow:0 7px 15px #0a1e3e33,0 0 0 4px #ffffff07}.profile-kicker{font-size:8px;color:#a5bcdb;letter-spacing:2px}.profile-header h2{font-size:21px;font-weight:650}.profile-header .caption{font-size:10px;color:#a8bddb}
.balance-card{padding:21px 20px 20px;margin:0 0 20px;border-radius:17px;border:1px solid #c9d9ef;background:radial-gradient(ellipse at 100% 0,#ffffffb0,transparent 65%),linear-gradient(120deg,#e6effc,#cdddf2 68%,#d5dff1);color:#253f64;box-shadow:0 10px 26px #183b6818,inset 0 1px #fff}.balance-card:before{background:repeating-linear-gradient(128deg,transparent 0 46px,#6c8cb507 47px 48px,transparent 49px 92px)}.balance-card:after{right:-60px;bottom:-145px;opacity:.6}.balance-card .muted{font-size:11px;color:#6b829f}.balance-card .big{font-size:36px;font-weight:650;line-height:1.4;margin:12px 0 20px;color:#253f64;font-variant-numeric:tabular-nums}.balance-actions{gap:10px}.balance-actions .primary{background:#274b78;border-color:#274b78;color:#f5f9ff;box-shadow:0 4px 10px #274b7818}.balance-actions .secondary{background:#f2f6fdab;border-color:#f8fbff;color:#45638b}.balance-actions a{min-height:43px;font-size:13px;border-radius:9px}.balance-card .withdrawing-note{font-size:10px;color:#6c819d}
.menu-row{gap:12px;padding:13px 0;font-size:13px;min-height:65px;border-bottom-color:#f0f3f7}.menu-row .feature-icon{width:35px;height:35px;border-radius:10px}.menu-row .feature-icon svg{width:19px;height:19px}.menu-row .grow{font-weight:500;color:#354b69}.menu-row small{color:#8c9bb0;font-size:10px}.menu-row>svg:last-child{width:13px;height:13px;color:#b1bdcf}.menu-row:hover .grow{color:#3e69b0}
.bottom-nav{max-width:1000px;height:calc(70px + env(safe-area-inset-bottom));background:#fffffffa;border-top:1px solid #e4eaf3;box-shadow:0 -4px 20px #1e345d05;backdrop-filter:blur(12px)}.bottom-nav a{font-size:10px;gap:4px;padding-top:7px;padding-bottom:5px;color:#8b9ab0;font-weight:500}.bottom-nav a svg{width:23px;height:23px;box-sizing:content-box;border-radius:9px;padding:4px 14px;stroke-width:1.6;transition:color .15s}.bottom-nav a.active{color:#3466c9;font-weight:600}.bottom-nav a.active svg{background:#edf3ff;stroke:#3e70ce;filter:none}.bottom-nav .nav-dot{background:#d98159;border:2px solid white;width:9px;height:9px;top:10px;left:57%}
.message-entry{gap:12px;padding:17px 15px;align-items:center}.message-entry .symbol{width:43px;height:43px;border:1px solid #dfe8f7;background:#edf4ff;color:#547fbc;border-radius:12px;box-shadow:none}.message-entry:nth-of-type(2) .symbol{background:#f2f4fd;color:#7883ad}.message-entry:nth-of-type(3) .symbol{background:#faf5ea;color:#ba9660}.message-entry h3{font-size:14px;color:#334b6a;margin-bottom:5px}.message-entry p{font-size:11px;color:#8b9bb0}.message-entry>svg{width:14px;color:#a8b7cd}.subtle-box{background:#eef3fa;border:1px solid #e6edf7;color:#7287a5;font-size:11px;border-radius:10px}
.field{margin:19px 0}.field label{font-size:12px;color:#506785;font-weight:500;margin-bottom:9px}.field input,.field textarea,.field select{min-height:46px;background:#f8fafd;border:1px solid #dfe6f1;border-radius:10px;color:#29415e;font-size:13px;padding:12px 13px;transition:border-color .15s,box-shadow .15s}.field input::placeholder,.field textarea::placeholder{color:#a1adc0}.field input:focus,.field textarea:focus,.field select:focus{background:#fff;border-color:#8da9db;box-shadow:0 0 0 3px #4873c70a}.field input[type=checkbox]{min-height:0}.caption{font-size:11px;color:#8797af;line-height:1.8}.body-copy{font-size:13px;color:#5c7392;line-height:1.9}.line-item{font-size:12px;color:#8493ab;margin:14px 0}.line-item strong{color:#425b79}.error-box{font-size:12px;border-color:#f1dad5;background:#fff7f2;color:#b77354;border-radius:9px}.checkline{color:#8b9ab0;font-size:11px;line-height:1.9}.checkline a,.inline-link{color:#5579b6}.inline-link{font-size:12px}
.detail-title{font-size:19px;color:#2d4462}.detail-gallery{border:1px solid #e4eaf3;border-radius:14px;background:#eaf0f7}.fee-grid{background:#f3f6fb;border:1px solid #eaf0f7;border-radius:10px;gap:15px;padding:15px}.fee-grid strong{font-size:21px;color:#3c587c}.fee-grid p{font-size:11px;color:#8798af}.specs{gap:17px 10px}.specs dt{font-size:10px;color:#8a9ab1}.specs dd{font-size:12px;color:#466080}.sticky-action{max-width:1000px;background:#fffffff7;border-top-color:#e4eaf3;box-shadow:0 -5px 20px #20365305;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.sticky-action .primary{min-height:46px}.sticky-action .secondary{font-size:12px;min-height:46px}
.order-card .cover{width:76px;height:84px}.order-card h3{font-size:13px}.order-code{font-size:9px;color:#9ba7ba;letter-spacing:.5px}.status{font-size:11px;padding:4px 8px;border-radius:5px;color:#5f7fae;background:#eff4fc}.status.s1{color:#b18850;background:#fcf6ec}.status.s4{color:#618783;background:#eff6f3}.status.s5{color:#8a98ad;background:#f1f4f8}.order-card .actions{border-top:1px solid #f0f3f8;padding-top:12px}.order-card .actions a{min-height:36px;padding:8px 12px;font-size:11px}.order-card .primary{background:#3d6bc7;border-color:#3d6bc7}.timeline>div{font-size:12px;color:#4f6786}.timeline>div.done:before{background:#7899c8}.timeline small{font-size:10px;color:#93a1b7}
.chat-screen{max-width:1000px;background:radial-gradient(ellipse at 100% 0,#e6eefb,transparent 35rem),#f2f5fa}.chat-screen .page-title{border-bottom:1px solid #e5ebf4;margin-bottom:8px}.chat-brand{width:32px;height:32px;border-radius:10px}.chat-info{color:#7f93af;border-color:#e2eaf5;background:#edf2fa;font-size:10px}.chat-msg .avatar{background:#fff;border:1px solid #e0e8f4;border-radius:10px}.chat-msg .avatar img{width:28px;height:28px;border-radius:8px}.chat-msg .bubble{border-color:#e3eaf4;background:#fff;color:#415a79;font-size:13px;border-radius:3px 13px 13px 13px;box-shadow:0 2px 8px #243e6303}.chat-msg.me .bubble{background:#e3ecfd;color:#315482;border:1px solid #d4e2fa;border-radius:13px 3px 13px 13px}.chat-msg small{font-size:9px;opacity:.55}.chat-quick{gap:7px}.chat-quick button{border-color:#dfe7f2;background:#fff;color:#7388a7;font-size:10px;border-radius:8px;padding:8px 11px;min-height:33px}.chat-compose textarea{background:#fff;border-color:#dfe7f2;border-radius:11px;font-size:13px}.chat-compose .primary{min-width:66px;font-size:12px;min-height:45px;border-radius:10px}
.login-brand{gap:13px;margin-bottom:24px}.login-brand img{width:57px;height:57px;background:none;border-radius:15px;padding:0;box-shadow:0 5px 15px #1734561c}.login-brand{font-size:20px;font-weight:700;color:#274365}.login-brand small{font-size:8px;letter-spacing:2.4px;color:#93a5be}.empty{padding:45px 20px;color:#8c9db5}.empty>svg{padding:12px;width:62px;height:62px;color:#849fc3;background:#edf3fc;border:1px solid #e4ecf8;border-radius:20px;margin-bottom:12px}.empty h3{font-size:15px;color:#6681a2;font-weight:550}.empty p{font-size:12px;color:#9aabc0}.loading{font-size:12px;color:#8fa1ba;min-height:120px;display:flex;justify-content:center;align-items:center;gap:7px}.spinner{border-color:#e0e9f7;border-top-color:#789bc9}
.dialog{border:1px solid #e4eaf3;border-radius:20px 20px 0 0;box-shadow:0 -8px 40px #1c345224}.dialog h2{font-size:19px;color:#2a4568}.dialog-backdrop{background:#10233c66;backdrop-filter:blur(2px)}.dialog .actions{gap:10px}.dialog .actions button{min-height:44px;font-size:13px}#toast{font-size:12px;background:#243955ef;border:1px solid #5a708b40;border-radius:11px;box-shadow:0 8px 24px #122c4b22}
.upload-add{min-height:82px;border-color:#c7d7ec;background:#f4f8fe;border-radius:10px;color:#8aa0bc}.upload-thumb{border:1px solid #e2e9f4}.upload-add svg{width:23px;height:23px;color:#7598c3}.summary-notice{font-size:11px;background:#faf7ef;border:1px solid #f1e7d6;color:#a88c61}.footer-note{font-size:9px;letter-spacing:.5px;color:#a1afc2}
form[data-busy="1"]>button.primary:before{content:"";width:12px;height:12px;border:2px solid #ffffff55;border-top-color:#fff;display:inline-block;border-radius:50%;animation:spin .6s linear infinite}form[data-busy="1"]>button.primary svg{display:none}
@media(hover:hover){.goods-card:hover{border-color:#bdcde5;box-shadow:0 9px 28px #2039580c}.shortcuts a:hover .feature-icon{border-color:#b6cbea;transform:translateY(-1px)}.primary:hover{background:#315dc7}.secondary:hover{background:#f6f9fd;border-color:#bfcfe5}.bottom-nav a:hover{color:#426caf}}
@media(min-width:700px){.app-shell{padding-left:30px;padding-right:30px}.shortcuts{padding:18px 8px;gap:8px}.shortcuts a{flex-direction:row;gap:12px;min-height:48px}.shortcuts a>span:last-child{text-align:left}.shortcuts a small{font-size:10px}.feature-icon{width:44px;height:44px;border-radius:13px}.goods-card>.cover{width:124px;height:157px}.goods-card{padding:15px}.goods-body h3{font-size:14px}.goods-spec-tags span{font-size:10px}.goods-meta{font-size:10px}.price{font-size:24px}.goods-card-foot{font-size:10px}.card-go{font-size:10px}.profile-header{min-height:132px}.balance-card{padding:25px}.card{padding:21px}.dialog{border-radius:18px}.chat-screen{padding-left:26px;padding-right:26px}.poster-carousel{max-height:270px}}
@media(max-width:360px){.app-shell{padding-left:12px;padding-right:12px}.goods-card{gap:10px;padding:11px}.goods-card>.cover{width:89px;height:151px}.goods-body h3{font-size:12px}.goods-code{font-size:8px}.goods-meta{font-size:8px}.goods-card-foot{font-size:8px}.card-go{font-size:8px}.price{font-size:22px}.shortcuts a{font-size:11px}.shortcuts a small{font-size:8px}.feature-icon{width:37px;height:37px}.shortcuts{padding-left:2px;padding-right:2px}.balance-actions a{font-size:12px}.profile-header{padding-left:9px;padding-right:9px}.page-title h1{font-size:18px}}
@media(prefers-reduced-motion:reduce){.primary,.secondary,.goods-card,.feature-icon{transition:none}.poster-track{transition:none}form[data-busy="1"]>button.primary:before{animation:none}}
/* Final integration: semantic icon colors, readable labels and stable hit areas. */
.shortcuts a:nth-child(n) .feature-icon svg{color:inherit;stroke:currentColor}
.card .card-group-label{font-size:13px;color:#4e6482;font-weight:600;padding-bottom:13px}
.menu-row[data-icon]:last-child{border-bottom:0}
.primary.warm{background:#d77532;border-color:#d77532}.primary.warm:hover{background:#c7682b}
.primary.full,.secondary.full{display:flex;align-items:center;justify-content:center;gap:7px}
.goods-code{font-size:10px}.goods-spec-tags span{font-size:10px}.goods-meta{font-size:10px}
.goods-card-foot,.card-go,.total-line .price-unit{font-size:10px}
.menu-row small{font-size:11px}.feature-icon svg{color:inherit}
.detail-title{overflow-wrap:anywhere}.line-item strong{overflow-wrap:anywhere;text-align:right;min-width:0}
.hero:after{background-image:url('/img/brand-emblem-v3.svg');filter:none}
.poster-section{background:linear-gradient(135deg,#243b59,#3d5270)}
.page-title:after{display:none}
@media(max-width:360px){.goods-spec-tags span,.goods-meta,.goods-card-foot,.card-go{font-size:9px}.goods-card{gap:9px}}
