html,body,#app{min-height:100%;margin:0;font-size:16px}body{background:#f5f5f5}#app{background:#f5f5f5;width:100%;min-height:100dvh;overflow-x:hidden}:root{color:#171717;font-synthesis:none;background:#f5f5f5;font-family:Arial,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}.login-page{background:linear-gradient(#fff7a8 0,#fffbd4 46%,#f7f7f7 78%);place-items:start center;min-height:100dvh;display:grid}.login-box{text-align:center;width:100%;padding:12vh 36px 32px}.brand-badge{background:#ffe000;border:3px solid #171717;border-radius:16px 16px 12px 12px;width:64px;height:52px;margin:0 auto;position:relative;transform:rotate(-2deg)}.brand-badge span:before,.brand-badge span:after{content:"";background:#171717;position:absolute;top:22px;left:15px}.brand-badge span:before{width:18px;height:5px}.brand-badge span:after{width:5px;height:18px;top:15px;left:21px}.brand-badge i,.brand-badge b{background:#171717;border-radius:50%;width:7px;height:7px;position:absolute;top:16px;right:16px}.brand-badge b{top:24px;right:9px}.login-box h1{letter-spacing:0;margin:14px 0 46px;font-size:24px}.login-fields{gap:12px;display:grid}.login-fields label{background:#fff;border:1px solid #0000000d;border-radius:25px;align-items:center;height:56px;padding:0 17px;display:flex;box-shadow:0 3px 12px #00000006}.login-fields i{color:#666;text-align:left;width:44px;font-size:12px;font-style:normal;font-weight:700}.login-fields input{background:0 0;border:0;outline:0;flex:1;min-width:0}.login-fields button{color:#222;background:0 0;border:0;border-left:1px solid #eee;padding-left:14px;font-size:13px}.login-submit{color:#141414;background:#ffe000;border:0;border-radius:28px;width:100%;height:56px;margin-top:14px;font-weight:800}.agreement{color:#666;justify-content:center;align-items:center;gap:7px;margin-top:14px;font-size:12px;display:flex}.agreement input{accent-color:#e2c500}.form-error{color:#c83b2a;text-align:left;margin:10px 14px 0;font-size:12px}.app-shell{background:#f5f5f5;width:100%;min-height:100dvh;margin:auto;padding-bottom:70px}.market-head,.page-bar{background:#fff;border-bottom:1px solid #eee;justify-content:space-between;align-items:center;height:54px;padding:0 16px;display:flex}.market-head strong{font-size:20px}.market-head button,.page-bar button{background:0 0;border:0}.search-row{background:#fff;padding:10px 14px}.search-row input{background:#f2f2f2;border:0;border-radius:20px;outline:0;width:100%;height:40px;padding:0 16px}.category-row{scrollbar-width:none;background:#fff;gap:8px;padding:12px 14px;display:flex;overflow-x:auto}.category-row button{background:#f1f1f1;border:0;border-radius:16px;flex:none;padding:7px 15px}.category-row button.active{background:#ffe000;font-weight:700}.notice-line{background:#fff;border-radius:5px;gap:12px;margin:10px 12px;padding:12px;font-size:13px;display:flex}.notice-line b{color:#d83b26}.goods-section{padding:4px 12px}.section-title{justify-content:space-between;align-items:center;height:44px;display:flex}.section-title span{color:#888;font-size:12px}.goods-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.goods-card{text-align:left;background:#fff;border:0;border-radius:5px;padding:0;overflow:hidden}.goods-image{aspect-ratio:1;background:#ededed;place-items:center;display:grid}.goods-image img{object-fit:cover;width:100%;height:100%}.goods-image span{color:#aaa;font-size:42px;font-weight:800}.goods-info{padding:10px}.goods-info small{color:#888}.goods-info h2{height:39px;margin:5px 0 8px;font-size:14px;line-height:1.4;overflow:hidden}.goods-info>div{justify-content:space-between;align-items:center;display:flex}.goods-info b{color:#e74725;font-size:17px}.goods-info span{color:#999;font-size:11px}.bottom-nav{width:100%;height:62px;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #e8e8e8;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav button{color:#888;background:0 0;border:0;place-items:center;padding:5px;display:grid}.bottom-nav i{font-size:20px;font-style:normal;line-height:1}.bottom-nav span{font-size:11px}.bottom-nav button.active{color:#151515;font-weight:700}.bottom-nav button.active i{color:#d6b800}.empty-state{text-align:center;color:#999;place-content:center;gap:7px;min-height:230px;display:grid}.empty-state strong{color:#666}.category-page{grid-template-columns:repeat(3,1fr);gap:12px;padding:16px;display:grid}.category-page button{background:#fff;border:0;border-radius:5px;place-items:center;gap:9px;padding:18px 8px;display:grid}.category-page span{background:#fff3a8;border-radius:50%;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.order-tabs{background:#fff;grid-template-columns:repeat(4,1fr);height:48px;display:grid}.order-tabs button{background:0 0;border:0}.profile-head{background:#ffe000;align-items:center;gap:13px;padding:36px 20px 26px;display:flex}.avatar{background:#fff;border-radius:50%;place-items:center;width:58px;height:58px;font-weight:800;display:grid}.profile-head div:last-child{gap:5px;display:grid}.profile-head span{font-size:12px}.profile-list{background:#fff;margin:12px}.profile-list button{background:#fff;border:0;border-bottom:1px solid #eee;justify-content:space-between;width:100%;height:52px;padding:0 15px;display:flex}.detail-image{aspect-ratio:1;color:#999;background:#eee;place-items:center;display:grid}.detail-image img{object-fit:cover;width:100%;height:100%}.detail-body{background:#fff;padding:16px}.game-tag{color:#888;margin:0}.detail-body h1{margin:8px 0;font-size:20px}.detail-price{color:#e74725;font-size:25px;font-weight:800}.buy-bar{background:#fff;grid-template-columns:1fr 2fr;gap:10px;width:100%;height:62px;padding:8px 12px;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.buy-bar button{background:#fff;border:1px solid #ddd;border-radius:22px}.buy-bar .buy-primary{background:#ffe000;border-color:#ffe000;font-weight:800}.auth-tabs{justify-content:center;gap:8px;margin:-28px 0 20px;display:flex}.auth-tabs button,.switch-auth{color:#888;background:0 0;border:0;padding:6px 12px}.auth-tabs button.active{color:#222;border-bottom:2px solid #e0c400;font-weight:700}.switch-auth{margin-top:10px;font-size:12px}.wechat-submit{color:#238b4b;background:#fff;border:1px solid #25a65a;border-radius:24px;width:100%;height:48px;margin-top:10px;font-weight:700}.wechat-submit span{margin-right:6px}.switch-auth{text-decoration:none;display:inline-block}.auth-back{left:20px;top:max(18px,env(safe-area-inset-top));color:#222;width:40px;height:40px;font-size:34px;line-height:36px;text-decoration:none;position:absolute}.login-submit:disabled{opacity:.6}.market-head a{color:#222;font-size:14px;text-decoration:none}.bottom-nav a{color:#888;background:0 0;border:0;place-items:center;padding:5px;text-decoration:none;display:grid}.bottom-nav a.active{color:#151515;font-weight:700}.bottom-nav a.active i{color:#d6b800}.logout-button{color:#c83b2a}.auth-logo{object-fit:contain;width:78px;height:78px;margin:0 auto 12px;display:block}.auth-logo-placeholder{height:78px}.login-box>.auth-logo+h1,.login-box>.auth-logo-placeholder+h1{margin-top:0}
