:root{--brand-violet:#6c4cff;--brand-pink:#ef4ec7;--brand-gold:#ffb11b;--ink:#111827;--soft-shadow:0 20px 55px rgba(50,45,90,.12)}
html{scroll-behavior:smooth;scroll-padding-top:82px}body{overflow-x:hidden}.mall-page{position:relative}.mall-page:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;background:radial-gradient(circle at 12% 18%,rgba(108,76,255,.09),transparent 23rem),radial-gradient(circle at 88% 26%,rgba(239,78,199,.07),transparent 22rem)}.mall-page>*{position:relative;z-index:1}
.mall-header{height:66px;border-bottom-color:rgba(108,76,255,.1);transition:box-shadow .3s,background .3s}.mall-header.is-scrolled{background:rgba(255,255,255,.96);box-shadow:0 16px 45px rgba(38,33,77,.12)}.mall-logo span{transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}.mall-logo:hover span{transform:rotate(-8deg) scale(1.08);box-shadow:0 10px 28px rgba(217,70,239,.48)}
.mall-search{height:40px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px rgba(108,76,255,0);transition:border-color .2s,box-shadow .2s,transform .2s}.mall-search:focus-within{border-color:rgba(108,76,255,.55);box-shadow:0 0 0 4px rgba(108,76,255,.1);transform:translateY(-1px)}.login-pill{background:linear-gradient(135deg,#f5f2ff,#fff0fb);color:#5b3bea;font-weight:800;transition:transform .2s,box-shadow .2s}.login-pill:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(108,76,255,.16)}
.home-banner{min-height:254px;border-radius:20px;border-color:rgba(108,76,255,.12);box-shadow:0 28px 75px rgba(31,26,67,.2);transform:translateZ(0)}.home-banner>img{transition:transform 8s ease}.home-banner:hover>img{transform:scale(1.035)}.home-banner div{padding-left:64px;background:linear-gradient(90deg,rgba(6,8,20,.9),rgba(6,8,20,.45) 56%,transparent)}.home-banner p{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(255,177,27,.16);backdrop-filter:blur(10px)}.home-banner h1{max-width:620px;font-size:38px;letter-spacing:-.02em}.hero-cta{display:inline-flex!important;align-items:center;gap:8px;margin-top:22px!important;padding:11px 18px;border-radius:12px;background:linear-gradient(135deg,var(--brand-violet),var(--brand-pink));color:#fff!important;font-weight:900;box-shadow:0 12px 28px rgba(108,76,255,.35);transition:transform .2s,box-shadow .2s}.hero-cta:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(108,76,255,.42)}
.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0 22px}.trust-item{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.82);border:1px solid rgba(108,76,255,.1);border-radius:14px;padding:14px 16px;box-shadow:0 10px 30px rgba(38,33,77,.06);backdrop-filter:blur(12px)}.trust-item i{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#f0ecff,#fff1f8);font-style:normal}.trust-item b{display:block;font-size:14px}.trust-item small{color:#7a8495}
.category-tabs{position:sticky;top:76px;z-index:12;padding:8px;background:rgba(248,250,255,.86);border:1px solid rgba(108,76,255,.09);border-radius:16px;backdrop-filter:blur(16px);box-shadow:0 12px 32px rgba(38,33,77,.07)}.category-tabs a{border-radius:10px;border:0;box-shadow:none;transition:color .2s,background .2s,transform .2s}.category-tabs a:hover{transform:translateY(-1px)}.category-tabs a.active{background:linear-gradient(135deg,var(--brand-violet),var(--brand-pink));box-shadow:0 8px 18px rgba(108,76,255,.25)}
.product-grid{gap:30px 24px}.product-card{position:relative;padding:8px 8px 14px;border:1px solid transparent;border-radius:16px;transition:transform .32s cubic-bezier(.2,.8,.2,1),background .25s,border-color .25s,box-shadow .3s}.product-card:hover{transform:translateY(-7px);background:#fff;border-color:rgba(108,76,255,.1);box-shadow:var(--soft-shadow)}.product-cover{border-radius:12px;transition:transform .35s,filter .35s,box-shadow .35s}.product-card:hover .product-cover{transform:none;box-shadow:0 16px 32px rgba(23,28,45,.2)}.product-cover img{transition:transform .6s cubic-bezier(.2,.8,.2,1)}.product-card:hover .product-cover img{transform:scale(1.07)}.product-card h3{transition:color .2s}.product-card:hover h3{color:var(--brand-violet)}.product-price em{background:linear-gradient(135deg,#16b85a,#31d67b)}.card-save{position:absolute;top:18px;right:18px;z-index:5;padding:5px 8px;border-radius:8px;background:rgba(12,15,28,.78);color:#fff;font-size:12px;font-weight:800;backdrop-filter:blur(8px)}
.purchase-proof{display:flex;align-items:center;gap:8px;margin:13px 0 18px;padding:11px 12px;border-radius:10px;background:#fff8eb;color:#a44b00;font-size:13px;font-weight:800}.purchase-proof:before{content:"";width:8px;height:8px;border-radius:50%;background:#ff7a00;box-shadow:0 0 0 5px rgba(255,122,0,.13);animation:pulseDot 1.8s infinite}.buy-panel{position:sticky;top:92px;border-radius:18px;border-color:rgba(108,76,255,.1);box-shadow:var(--soft-shadow)}.buy-panel .buy-now{height:54px;border-radius:12px;background:linear-gradient(135deg,#ff7200,#ffb11b);font-size:17px;box-shadow:0 14px 30px rgba(255,122,0,.3);transition:transform .2s,box-shadow .2s,filter .2s}.buy-panel .buy-now:hover{transform:translateY(-3px);filter:saturate(1.1);box-shadow:0 18px 38px rgba(255,122,0,.4)}.buy-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}.buy-benefits span{text-align:center;padding:9px 4px;border-radius:9px;background:#f7f8fc;color:#667085;font-size:12px;font-weight:700}
.checkout-block{border-radius:16px;transition:transform .25s,box-shadow .25s}.checkout-block:hover{box-shadow:var(--soft-shadow)}.pay-row{border-radius:12px;transition:transform .2s,border-color .2s,background .2s,box-shadow .2s}.pay-row:hover{transform:translateY(-2px)}.checkout-submit button{border-radius:12px;background:linear-gradient(135deg,#ff7200,#ffb11b);transition:transform .2s,box-shadow .2s}.checkout-submit button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 18px 34px rgba(255,122,0,.4)}
.reveal{opacity:0;transform:translateY(24px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.8,.2,1)}.reveal.is-visible{opacity:1;transform:none}.filtering-out{opacity:0;transform:scale(.96);pointer-events:none}.mall-toast{position:fixed;left:50%;bottom:28px;z-index:200;transform:translate(-50%,18px);opacity:0;padding:12px 18px;border-radius:12px;background:rgba(17,24,39,.94);color:#fff;box-shadow:0 16px 42px rgba(0,0,0,.25);transition:opacity .25s,transform .25s;pointer-events:none}.mall-toast.show{opacity:1;transform:translate(-50%,0)}
@keyframes pulseDot{50%{box-shadow:0 0 0 9px rgba(255,122,0,0)}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}}
@media (max-width:980px){.mall-header{height:auto}.home-banner{min-height:210px;border-radius:16px}.home-banner div{padding:28px}.home-banner h1{font-size:28px}.trust-strip{grid-template-columns:repeat(2,1fr)}.category-tabs{top:116px}.product-card{padding:5px 5px 10px}.buy-panel{position:static}.buy-benefits{grid-template-columns:1fr}.trust-item{padding:12px}.trust-item small{display:none}}

/* White Game Store：保留商城结构，采用 React Game Store 的圆角、封面与交互语言 */
body{background:linear-gradient(135deg,#dceff1 0%,#edf5f6 45%,#dfeaed 100%);padding:20px;color:#15171c}
.mall-page{width:min(1500px,100%);margin:0 auto;border:1px solid rgba(29,39,53,.08);border-radius:28px;background:#fff;overflow:clip;box-shadow:0 26px 80px rgba(29,54,66,.16)}
.mall-page:before{background:radial-gradient(circle at 10% 8%,rgba(86,201,217,.09),transparent 25rem),radial-gradient(circle at 92% 24%,rgba(114,235,159,.07),transparent 22rem)}
.mall-header{height:72px;padding:0 38px;background:rgba(255,255,255,.92);border-bottom:1px solid #ebedf0;box-shadow:none}.mall-header.is-scrolled{background:rgba(255,255,255,.97);box-shadow:0 12px 32px rgba(24,35,46,.08)}
.mall-logo span{background:#101216;box-shadow:0 8px 20px rgba(16,18,22,.18)}.mall-logo:hover span{box-shadow:0 10px 28px rgba(67,207,135,.3)}
.mall-search{width:min(440px,36vw);background:#f5f6f7;border-color:#e6e8eb;border-radius:13px;box-shadow:none}.mall-search:focus-within{border-color:#9ca3ad;box-shadow:0 0 0 4px rgba(31,41,55,.08)}
.login-pill{background:#101216;color:#fff;border-radius:12px}.login-pill:hover{box-shadow:0 10px 22px rgba(16,18,22,.18)}
.mall-content{width:min(1320px,100% - 56px)}
.home-banner{min-height:184px;max-height:184px;margin-top:28px;border-radius:18px;border:0;box-shadow:0 18px 45px rgba(25,31,39,.17)}.home-banner div{height:184px;display:flex;flex-direction:column;justify-content:center;padding:22px 48px;background:linear-gradient(90deg,rgba(9,12,18,.9),rgba(9,12,18,.36) 62%,transparent)}.home-banner p{width:max-content;margin-bottom:7px;padding:4px 9px;background:rgba(119,237,166,.16);color:#91f0b6}.home-banner h1{font-size:30px}.home-banner span{margin-top:7px}.hero-cta{position:absolute;right:34px;bottom:26px;margin:0!important;padding:10px 16px;border-radius:11px;background:#fff;color:#15171c!important;box-shadow:0 12px 26px rgba(0,0,0,.2)}.hero-cta:hover{box-shadow:0 16px 30px rgba(0,0,0,.24)}
.trust-strip{gap:10px;margin:16px 0 20px}.trust-item{background:#fafbfc;border-color:#eceef1;border-radius:13px;padding:12px 14px;box-shadow:none}.trust-item i{background:#eefaf3;color:#1f9d60}.trust-item small{font-size:11px}
.category-tabs{top:82px;margin:18px 0 26px;padding:7px;background:rgba(248,249,250,.9);border-color:#eceef1;border-radius:14px;box-shadow:0 10px 26px rgba(25,31,39,.06)}.category-tabs a{min-width:90px;border-radius:10px;color:#5e6470}.category-tabs a.active{background:#101216;box-shadow:0 8px 18px rgba(16,18,22,.2)}
.product-section h2{font-size:24px;font-weight:900;letter-spacing:-.02em}.product-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 18px}.product-card{padding:7px 7px 13px;border-color:#eceef1;border-radius:17px;background:#fff;box-shadow:0 8px 24px rgba(29,39,53,.06)}.product-card:hover{transform:translateY(-6px);border-color:#dfe4e8;box-shadow:0 20px 42px rgba(29,39,53,.14)}.product-cover{aspect-ratio:16/10;border:0;border-radius:13px;box-shadow:none}.product-cover:after{background:linear-gradient(180deg,transparent 44%,rgba(7,10,14,.74))}.product-cover strong{font-size:18px}.product-card h3{font-size:15px;margin:11px 2px 7px}.product-card:hover h3{color:#1a8d58}.product-price{margin:0 2px}.product-price span{color:#17191d}.product-price em{background:#69df98;color:#103b24;border-radius:7px}.card-save{top:15px;right:15px;background:rgba(13,16,21,.8);border:1px solid rgba(255,255,255,.16);border-radius:8px;color:#8df0b3}
.detail-page{background:#fff}.detail-banner{height:210px}.detail-wrap{width:min(1320px,100% - 56px);grid-template-columns:minmax(0,1.2fr) 400px}.detail-media{border-radius:18px}.buy-panel{border-radius:18px;border-color:#e7eaed;box-shadow:0 18px 45px rgba(29,39,53,.1)}.buy-panel .buy-now{background:#101216;border-radius:12px;box-shadow:0 14px 28px rgba(16,18,22,.2)}.buy-panel .buy-now:hover{box-shadow:0 18px 36px rgba(16,18,22,.3)}.purchase-proof{background:#eefaf3;color:#167347}.buy-benefits span{background:#f5f7f8}
.checkout-page{background:#fff}.checkout-block{border-color:#e7eaed;box-shadow:0 10px 30px rgba(29,39,53,.06)}.checkout-submit button{background:#101216;box-shadow:0 14px 28px rgba(16,18,22,.2)}
.coupon-float,.back-home{background:#101216;border-radius:12px;box-shadow:0 12px 26px rgba(16,18,22,.22)}
.mall-footer{background:#101216;border-top:0}
@media (max-width:980px){body{padding:0;background:#fff}.mall-page{border:0;border-radius:0;box-shadow:none}.mall-header{padding:12px 16px}.mall-content{width:min(100% - 28px,620px)}.home-banner{min-height:196px;max-height:none}.home-banner div{height:196px;padding:22px}.home-banner h1{font-size:25px;max-width:78%}.hero-cta{right:16px;bottom:16px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.category-tabs{top:118px}.detail-wrap{width:min(100% - 28px,620px)}}

/* 全屏与多断点适配 */
body{padding:0;background:#fff}
.mall-page{width:100%;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none}
.mall-content,.detail-wrap,.detail-notice,.detail-description,.hot-section,.checkout-wrap{width:calc(100% - 64px);max-width:none}
.mall-footer{padding-left:32px;padding-right:32px}
.product-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.product-grid.compact{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:1440px){.product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.product-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:1180px){.mall-header{padding-left:24px;padding-right:24px}.mall-content,.detail-wrap,.detail-notice,.detail-description,.hot-section,.checkout-wrap{width:calc(100% - 40px)}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.detail-wrap{grid-template-columns:minmax(0,1fr) 360px}.trust-item{padding:11px}.trust-item small{display:none}}
@media (max-width:900px){.mall-header{flex-wrap:wrap;height:auto;padding:12px 18px}.mall-logo{min-width:0}.mall-search{order:3;width:100%;margin-left:0}.category-tabs{top:116px}.product-grid,.product-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-wrap{grid-template-columns:1fr}.buy-panel{position:static}.home-banner h1{font-size:26px}.trust-strip{grid-template-columns:repeat(2,1fr)}.mall-footer{grid-template-columns:1fr 1fr;gap:30px}.mall-footer>div:first-child{grid-column:1/-1}}
@media (max-width:640px){.mall-content,.detail-wrap,.detail-notice,.detail-description,.hot-section,.checkout-wrap{width:calc(100% - 24px)}.mall-header{gap:10px;padding:10px 12px}.mall-logo b{font-size:16px}.lang-button{display:none}.home-banner{min-height:188px;margin-top:12px}.home-banner div{height:188px;padding:18px}.home-banner h1{max-width:100%;padding-right:0;font-size:22px}.home-banner span{max-width:75%;font-size:13px}.hero-cta{right:12px;bottom:12px;padding:8px 11px;font-size:12px}.trust-strip{grid-template-columns:1fr 1fr;gap:8px}.trust-item{padding:10px}.category-tabs{top:108px;margin:12px 0 20px}.category-tabs a{min-width:78px;padding:9px 12px}.product-grid,.product-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 8px}.product-card{padding:5px 5px 10px;border-radius:13px}.product-cover{border-radius:10px}.product-cover strong{font-size:15px}.product-card h3{font-size:14px}.product-price{grid-template-columns:1fr}.product-price del{display:none}.product-price em{position:absolute;top:12px;left:12px;z-index:6}.card-save{display:none}.mall-footer{grid-template-columns:1fr;padding:32px 18px}.mall-footer>div:first-child{grid-column:auto}.detail-banner h1{font-size:30px}.detail-media{min-height:220px}.checkout-block{padding:14px}}
@media (max-width:380px){.product-grid,.product-grid.compact{grid-template-columns:1fr}.trust-strip{grid-template-columns:1fr}.hero-cta{display:none!important}.home-banner span{max-width:100%}}

/* 稳定页面高度：结果少时 Footer 不上跳 */
.mall-page{display:flex;min-height:100vh;flex-direction:column}
.mall-content,.checkout-wrap,.detail-page>.detail-wrap{flex:1 0 auto}
.mall-footer{margin-top:auto}
.product-grid{align-content:start;transition:min-height .2s ease}

/* 商品详情多图轮播 */
.detail-media{outline:none}.detail-media:focus-visible{box-shadow:0 0 0 4px rgba(87,202,139,.18),0 18px 38px rgba(17,24,39,.14)}
.detail-media .gallery-slide{z-index:0;opacity:0;transform:scale(1.025);transition:opacity .38s ease,transform .65s cubic-bezier(.2,.8,.2,1)}
.detail-media .gallery-slide.active{z-index:1;opacity:1;transform:scale(1)}
.detail-media>strong{z-index:3}
.gallery-controls{position:absolute;z-index:5;left:18px;right:18px;bottom:18px;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:12px;pointer-events:none}
.gallery-controls>button,.gallery-dots button{pointer-events:auto;cursor:pointer;border:1px solid rgba(255,255,255,.26);background:rgba(10,13,18,.62);color:#fff;backdrop-filter:blur(10px)}
.gallery-controls>button{display:flex!important;width:42px;height:42px;padding:0!important;border-radius:12px;align-items:center!important;justify-content:center!important;font-size:28px;line-height:1;transition:background .2s,transform .2s}.gallery-controls>button:hover{background:rgba(10,13,18,.9);transform:scale(1.05)}
.gallery-dots{display:flex;justify-content:center;gap:7px}.gallery-dots button{width:8px;height:8px;padding:0;border-radius:999px;background:rgba(255,255,255,.32);transition:width .25s,background .25s}.gallery-dots button.active{width:26px;background:#fff}
@media (max-width:640px){.gallery-controls{left:10px;right:10px;bottom:10px;grid-template-columns:36px 1fr 36px}.gallery-controls>button{width:36px;height:36px;border-radius:10px}}

/* 固定商品卡片规格：筛选、搜索和标题长度均不改变尺寸 */
.product-grid,.product-grid.compact{grid-template-columns:repeat(auto-fill,220px);grid-auto-rows:238px;justify-content:start;align-items:start;gap:24px 18px}
.product-card{display:flex;width:220px;height:238px;min-width:220px;max-width:220px;flex-direction:column;overflow:hidden}
.product-cover{width:204px;height:128px;min-height:128px;aspect-ratio:auto;flex:none}
.product-card h3{display:-webkit-box;height:40px;min-height:40px;margin:10px 2px 5px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:20px}
.product-price{width:200px;min-height:28px;margin-top:auto;flex:none}.product-price span,.product-price del,.product-price em{white-space:nowrap}
@media (max-width:640px){.product-grid,.product-grid.compact{grid-template-columns:repeat(auto-fill,160px);grid-auto-rows:210px;gap:14px 8px}.product-card{width:160px;height:210px;min-width:160px;max-width:160px}.product-cover{width:148px;height:92px;min-height:92px;aspect-ratio:auto}.product-card h3{height:40px;min-height:40px}.product-price{width:148px}}

/* 统一页面安全边距 */
:root{--page-gutter:clamp(40px,4vw,72px)}
.mall-header{padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
.mall-content,.detail-wrap,.detail-notice,.detail-description,.hot-section,.checkout-wrap,.detail-banner>div{width:calc(100% - var(--page-gutter) * 2);max-width:none}
.mall-footer{padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
@media (max-width:900px){:root{--page-gutter:24px}.mall-header{padding-left:var(--page-gutter);padding-right:var(--page-gutter)}}
@media (max-width:640px){:root{--page-gutter:16px}.mall-header{padding-left:var(--page-gutter);padding-right:var(--page-gutter)}}

/* 商品卡片价格区：防止折扣标签被底部圆角裁切 */
.product-grid,.product-grid.compact{grid-auto-rows:250px}
.product-card{height:250px;padding-bottom:12px}
.product-price{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;width:204px;min-height:34px;margin:0;padding:2px 2px 3px;gap:6px;overflow:visible}
.product-price span{font-size:17px;line-height:26px}.product-price del{min-width:0;overflow:hidden;color:#9aa4af;font-size:13px;line-height:26px;text-overflow:ellipsis}.product-price em{position:static;top:auto;left:auto;align-self:center;justify-self:end;min-width:48px;padding:4px 7px;border-radius:7px;line-height:20px;text-align:center}
@media (max-width:640px){.product-grid,.product-grid.compact{grid-auto-rows:220px}.product-card{height:220px;padding-bottom:10px}.product-price{width:148px;grid-template-columns:1fr auto;padding:2px 0 3px}.product-price del{display:none}.product-price em{min-width:44px;padding:3px 5px}}

/* 紧凑、清晰的分类吸顶栏 */
.category-sticky-sentinel{display:block;width:1px;height:0;pointer-events:none}
.category-tabs{top:82px;z-index:35;width:max-content;max-width:100%;margin-right:auto;background:#fff;border:1px solid #e8ebee;box-shadow:0 8px 24px rgba(25,31,39,.06);backdrop-filter:none;transform:translateZ(0);transition:box-shadow .3s ease,border-color .3s ease,transform .3s cubic-bezier(.2,.8,.2,1),background .3s ease}
.category-tabs.is-stuck{border-color:#dfe4e8;background:#fff;box-shadow:0 16px 38px rgba(20,28,36,.16),0 0 0 6px rgba(255,255,255,.94);transform:translate3d(0,5px,0)}
.category-tabs.is-stuck a{background:#f5f6f7}.category-tabs.is-stuck a.active{background:#101216;box-shadow:0 8px 18px rgba(16,18,22,.22)}
@media (max-width:900px){.category-tabs{top:116px;width:100%;max-width:100%}.category-tabs.is-stuck{transform:translate3d(0,3px,0)}}
@media (max-width:640px){.category-tabs{top:108px}.category-tabs.is-stuck{box-shadow:0 12px 28px rgba(20,28,36,.14),0 0 0 4px rgba(255,255,255,.94)}}

/* 加大页面留白，并统一上下内容对齐线 */
:root{--page-gutter:clamp(80px,8vw,144px)}
.category-tabs{width:100%;max-width:100%;margin-left:0;margin-right:0}
.product-grid,.product-grid.compact{justify-content:space-between}
@media (max-width:900px){:root{--page-gutter:48px}}
@media (max-width:640px){:root{--page-gutter:32px}.product-grid,.product-grid.compact{justify-content:space-between}}

/* 1220px 居中内容容器：匹配目标截图边距 */
.mall-header{padding-left:32px;padding-right:32px}
.mall-content,.detail-wrap,.detail-notice,.detail-description,.hot-section,.checkout-wrap,.detail-banner>div{width:min(1220px,calc(100% - 48px));max-width:1220px;margin-left:auto;margin-right:auto}
.category-tabs{width:max-content;max-width:100%;margin-left:0;margin-right:auto}
.product-grid,.product-grid.compact{grid-template-columns:repeat(5,220px);justify-content:start;column-gap:30px;row-gap:24px}
.mall-footer{padding-left:max(48px,calc(50vw - 610px));padding-right:max(48px,calc(50vw - 610px))}
@media (max-width:1260px){.product-grid,.product-grid.compact{grid-template-columns:repeat(4,220px)}.category-tabs{max-width:100%}}
@media (max-width:1020px){.product-grid,.product-grid.compact{grid-template-columns:repeat(3,220px)}.mall-header{padding-left:24px;padding-right:24px}.mall-footer{padding-left:24px;padding-right:24px}}
@media (max-width:760px){.mall-content,.detail-wrap,.detail-notice,.detail-description,.hot-section,.checkout-wrap,.detail-banner>div{width:calc(100% - 32px)}.product-grid,.product-grid.compact{grid-template-columns:repeat(2,220px);column-gap:16px}.category-tabs{width:100%}}
@media (max-width:520px){.mall-header{padding-left:16px;padding-right:16px}.product-grid,.product-grid.compact{grid-template-columns:repeat(2,160px);column-gap:8px}.mall-footer{padding-left:16px;padding-right:16px}}
@media (max-width:370px){.product-grid,.product-grid.compact{grid-template-columns:160px}}

/* 筛选栏吸附到视口顶部，使用实体背景隔离商品卡片 */
.category-tabs.is-stuck{position:fixed;top:0;left:0;right:0;z-index:100;width:100%;max-width:none;margin:0;padding:10px max(24px,calc((100vw - 1220px)/2));border:0;border-bottom:1px solid #e5e8eb;border-radius:0;background:#fff;box-shadow:0 12px 32px rgba(20,28,36,.14);transform:none;overflow-x:auto;overscroll-behavior-x:contain}
.category-tabs.is-stuck:before{content:"";position:fixed;z-index:-1;inset:0 0 auto;height:62px;background:#fff}
.category-tabs.is-stuck a{background:#f4f5f6}.category-tabs.is-stuck a.active{background:#101216}
@media (max-width:760px){.category-tabs.is-stuck{top:0;width:100%;padding:8px 16px;transform:none}.category-tabs.is-stuck:before{height:58px}}

/* 封面仅展示图片，商品名称统一放在卡片信息区 */
.product-cover strong{display:none}

/* 平滑吸顶：原栏保持布局，顶部同步栏独立滑入 */
.category-tabs[data-sticky-ready="true"]{position:relative;top:auto;z-index:12}
.category-tabs-dock{position:fixed!important;top:0!important;left:0;right:0;z-index:100;width:100%!important;max-width:none!important;margin:0!important;padding:10px max(24px,calc((100vw - 1220px)/2))!important;border:0!important;border-bottom:1px solid #e5e8eb!important;border-radius:0!important;background:#fff!important;box-shadow:0 12px 32px rgba(20,28,36,.14)!important;opacity:0;visibility:hidden;pointer-events:none;transform:translate3d(0,-115%,0)!important;transition:transform .38s cubic-bezier(.22,1,.36,1),opacity .24s ease,visibility 0s linear .38s!important;will-change:transform,opacity}
.category-tabs-dock.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translate3d(0,0,0)!important;transition:transform .38s cubic-bezier(.22,1,.36,1),opacity .24s ease!important}
.category-tabs-dock a{background:#f4f5f6}.category-tabs-dock a.active{color:#fff;background:#101216;box-shadow:0 8px 18px rgba(16,18,22,.22)}
@media (max-width:760px){.category-tabs-dock{padding:8px 16px!important;overflow-x:auto}}

/* Nieobie Game Icon Pack: unified local icon language */
.nieobie-icon{display:block;width:25px;height:25px;flex:0 0 25px;object-fit:contain;vertical-align:middle;transition:transform .22s cubic-bezier(.2,.8,.2,1),opacity .2s ease}
.mall-search>span{display:grid;place-items:center}.mall-search>span .nieobie-icon{width:25px;height:25px;opacity:.7}
.login-pill,.lang-button,.hero-cta,.buy-now,.coupon-float,.back-home{display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1}
.login-pill .control-label,.lang-button .control-label,.hero-cta .control-label,.buy-now .control-label,.coupon-float .control-label,.back-home .control-label{display:block;line-height:1.2}
.login-pill .nieobie-icon{width:23px;height:23px;flex-basis:23px;filter:invert(1)}
.lang-button .nieobie-icon{width:23px;height:23px;flex-basis:23px;opacity:.86}
.hero-cta .nieobie-icon{width:26px;height:26px;flex-basis:26px;filter:invert(1)}.buy-now .nieobie-icon{width:29px;height:29px;flex-basis:29px;filter:invert(1)}
.hero-cta:hover .nieobie-icon,.buy-now:hover .nieobie-icon,.back-home:hover .nieobie-icon{transform:translateX(3px)}
.coupon-float .nieobie-icon{width:25px;height:25px;flex-basis:25px;filter:invert(1)}
.gallery-prev,.gallery-next{display:flex!important;align-items:center!important;justify-content:center!important}.gallery-prev .nieobie-icon,.gallery-next .nieobie-icon{display:block;width:27px;height:27px;flex:0 0 27px;margin:0!important;filter:invert(1);transform:none!important}
.gallery-prev .nieobie-icon,.gallery-next .nieobie-icon{transform:none!important}
.gallery-controls>button{position:relative!important}
.gallery-prev .nieobie-icon,.gallery-next .nieobie-icon{visibility:hidden!important}
.gallery-controls>button:before{content:"";position:absolute;inset:0;width:24px;height:24px;margin:auto;background-position:center;background-repeat:no-repeat;background-size:24px 24px;pointer-events:none}
.gallery-prev:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 4 8 12l8 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.gallery-next:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m8 4 8 8-8 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.buy-benefits span{display:inline-flex;align-items:center;gap:8px}.buy-benefits .nieobie-icon{width:24px;height:24px;flex-basis:24px;color:#16a765}
.detail-notice p{display:flex;align-items:flex-start;gap:11px}.detail-notice p .nieobie-icon{width:25px;height:25px;flex-basis:25px;margin-top:0;opacity:.8}
.pay-check{display:grid!important;place-items:center}.pay-check .nieobie-icon{width:22px;height:22px;flex-basis:22px;filter:invert(58%) sepia(88%) saturate(459%) hue-rotate(92deg) brightness(88%)}
@media (max-width:640px){.login-pill .nieobie-icon{display:none}.lang-button .nieobie-icon:first-child{display:none}.coupon-float .nieobie-icon{width:22px;height:22px;flex-basis:22px}}

/* Language selector: hover/focus panel without a trailing chevron */
.language-switcher{position:relative;display:flex;align-self:stretch;align-items:center;z-index:120}
.language-switcher .lang-button{height:40px;white-space:nowrap}
.language-panel{position:absolute;top:calc(50% + 27px);right:0;width:190px;padding:8px;border:1px solid #e3e7ec;border-radius:14px;background:rgba(255,255,255,.98);box-shadow:0 18px 48px rgba(20,28,36,.16);opacity:0;visibility:hidden;pointer-events:none;transform:translate3d(0,-8px,0) scale(.98);transform-origin:top right;transition:opacity .2s ease,transform .28s cubic-bezier(.22,1,.36,1),visibility 0s linear .28s}
.language-switcher:hover .language-panel,.language-switcher:focus-within .language-panel{opacity:1;visibility:visible;pointer-events:auto;transform:translate3d(0,0,0) scale(1);transition:opacity .2s ease,transform .28s cubic-bezier(.22,1,.36,1)}
.language-panel:before{content:"";position:absolute;left:0;right:0;bottom:100%;height:12px}
.language-option{display:flex;width:100%;align-items:center;padding:12px 14px;border:0;border-radius:10px;background:transparent;color:#596270;text-align:left;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease}
.language-option:hover{color:#111820;background:#f1f2f4;transform:translateX(2px)}
.language-option.active{color:#111820;background:#e9ebee}
.language-option>b{font-size:14px;font-weight:650}
@media (max-width:640px){.language-panel{position:fixed;top:64px;right:16px;width:180px}.language-switcher .lang-button{height:38px}}

/* Complete horizontal Dianwan logo supplied by the user */
.mall-logo{min-width:164px;gap:0}
.mall-logo>span{display:block;width:164px;height:52px;border-radius:0;background:transparent;overflow:visible;box-shadow:none!important;transition:transform .28s cubic-bezier(.2,.8,.2,1)}
.mall-logo>span img{width:100%;height:100%;object-fit:contain}
.mall-logo>b{display:none}
.mall-logo:hover>span{transform:translateY(-1px) scale(1.02);box-shadow:none!important}
.footer-logo{display:inline-flex;margin-bottom:24px}
.footer-logo>span{display:block;width:186px;height:66px;padding:7px 10px;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.22)}
.footer-logo>span img{width:100%;height:100%;object-fit:contain}
.footer-logo>b{display:none}
@media (max-width:640px){.mall-logo{min-width:132px}.mall-logo>span{width:132px;height:44px}.footer-logo>span{width:168px;height:60px}}

/* First-open category skeletons and top-left wave reveal */
.product-grid.is-skeleton-loading{pointer-events:none}
.product-card.skeleton-loading{isolation:isolate;pointer-events:none;border-color:transparent!important;outline:0!important;background:transparent;box-shadow:none!important;transform:none}
.product-card.skeleton-loading>*{opacity:0!important}
.product-card.skeleton-loading:after{content:"";position:absolute;z-index:20;inset:0;border-radius:inherit;background:
linear-gradient(100deg,transparent 20%,rgba(255,255,255,.7) 42%,transparent 64%) -180% 0/220% 100% no-repeat,
linear-gradient(#e3e6ea,#e3e6ea) 7px 7px/calc(100% - 14px) 132px no-repeat,
linear-gradient(#e6e9ed,#e6e9ed) 9px 154px/62% 15px no-repeat,
linear-gradient(#eceef1,#eceef1) 9px 181px/35% 13px no-repeat,
linear-gradient(#e6e9ed,#e6e9ed) calc(100% - 59px) 178px/50px 22px no-repeat,
#f7f8fa;animation:skeleton-shimmer .72s ease-in-out infinite}
.product-card.wave-reveal{animation:card-wave-in .34s cubic-bezier(.18,.82,.3,1) both}
@keyframes skeleton-shimmer{0%{background-position:-180% 0,7px 7px,9px 154px,9px 181px,calc(100% - 59px) 178px,0 0}100%{background-position:180% 0,7px 7px,9px 154px,9px 181px,calc(100% - 59px) 178px,0 0}}
@keyframes card-wave-in{0%{opacity:0;transform:translate3d(-8px,-7px,0) scale(.97)}65%{opacity:1;transform:translate3d(1px,1px,0) scale(1.006)}100%{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@media (max-width:640px){.product-card.skeleton-loading:after{background:
linear-gradient(100deg,transparent 20%,rgba(255,255,255,.72) 42%,transparent 64%) -180% 0/220% 100% no-repeat,
linear-gradient(#e3e6ea,#e3e6ea) 5px 5px/calc(100% - 10px) 94px no-repeat,
linear-gradient(#e6e9ed,#e6e9ed) 7px 116px/72% 14px no-repeat,
linear-gradient(#eceef1,#eceef1) 7px 146px/42% 12px no-repeat,
linear-gradient(#e6e9ed,#e6e9ed) calc(100% - 50px) 141px/43px 21px no-repeat,
#f7f8fa}}
@media (prefers-reduced-motion:reduce){.product-card.skeleton-loading:after{animation:none}.product-card.wave-reveal{animation:none}}

/* Immersive compact hero carousel */
.home-banner{isolation:isolate;background:#0b1119}
.home-banner:before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,rgba(5,11,18,.9) 0%,rgba(5,11,18,.5) 43%,rgba(5,11,18,.12) 72%,rgba(5,11,18,.42) 100%);pointer-events:none}
.home-banner>.hero-slide{z-index:0;opacity:0;transform:scale(1.055) translate3d(10px,0,0);filter:saturate(.94) brightness(.82);transition:opacity 1s cubic-bezier(.22,1,.36,1),transform 5.8s cubic-bezier(.16,.78,.22,1),filter 1s ease;will-change:opacity,transform}
.home-banner>.hero-slide.active{opacity:1;transform:scale(1.015) translate3d(0,0,0);filter:saturate(1.08) brightness(.92)}
.home-banner>.hero-slide.leaving{opacity:0;transform:scale(1.075) translate3d(-8px,0,0)}
.home-banner>:not(.hero-slide):not(.hero-carousel-controls){z-index:2}
.home-banner>div:not(.hero-carousel-controls){transition:opacity .2s ease,transform .34s cubic-bezier(.22,1,.36,1),filter .25s ease}
.home-banner>div:not(.hero-carousel-controls).is-changing{opacity:0;transform:translate3d(0,10px,0);filter:blur(3px)}
.home-banner .hero-cta .control-label{display:block;margin:0;color:inherit;line-height:1.2}
.home-banner>.hero-carousel-controls,.home-banner>.hero-carousel-controls div{position:static;width:auto;height:auto;margin:0;padding:0;background:none}
.home-banner .hero-cta{display:none!important}
.home-banner>.hero-carousel-controls{position:absolute;z-index:4;left:50%;right:auto;bottom:10px;width:190px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:0!important;pointer-events:none;transform:translateX(-50%)}
.hero-dots{display:flex!important;width:auto!important;flex-direction:row!important;align-items:center;justify-content:center;gap:7px;white-space:nowrap;pointer-events:auto}
.hero-dots button{width:7px;height:7px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.42);cursor:pointer;transition:width .32s cubic-bezier(.22,1,.36,1),background .2s ease,transform .2s ease}
.hero-dots button:hover{background:#fff;transform:scale(1.15)}.hero-dots button.active{width:25px;background:#fff}
@media (max-width:640px){.home-banner>.hero-carousel-controls{left:50%;right:auto;bottom:8px;width:160px!important}.home-banner:before{background:linear-gradient(90deg,rgba(5,11,18,.88),rgba(5,11,18,.34) 78%,rgba(5,11,18,.48))}}
@media (prefers-reduced-motion:reduce){.home-banner>.hero-slide,.home-banner>div:not(.hero-carousel-controls){transition:opacity .2s ease;transform:none!important;filter:none}}

/* Game-detail ambient background derived from the current cover */
.detail-page{position:relative;isolation:isolate;background:#f5f7fa}
.detail-page>.detail-banner{display:none}
.detail-media>strong{display:none!important}
.detail-page>.detail-ambient-bg{position:fixed;z-index:0;inset:66px 0 0;overflow:hidden;pointer-events:none;opacity:0;transition:opacity .75s ease,transform .42s cubic-bezier(.22,1,.36,1);will-change:transform}
.detail-page>.detail-ambient-bg.is-ready{opacity:1}
.detail-ambient-bg .ambient-image{position:absolute;width:calc(100% + 180px);height:calc(100% + 180px);inset:-90px;object-fit:cover;object-position:center top;filter:blur(74px) saturate(1.08) brightness(1.02);opacity:0;transform:scale(1.1);transition:opacity .9s cubic-bezier(.22,1,.36,1);animation:detail-ambient-breathe 16s ease-in-out infinite alternate;will-change:transform,opacity}
.detail-ambient-bg .ambient-image.is-active{opacity:.88}
.detail-ambient-bg .ambient-variant-1{object-position:68% center;filter:blur(74px) saturate(1.14) brightness(1.01)}
.detail-ambient-bg .ambient-variant-2{object-position:28% center;filter:blur(78px) saturate(1.02) brightness(1.08)}
.detail-ambient-bg .ambient-variant-3{object-position:78% 35%;filter:blur(82px) saturate(1.18) brightness(.96)}
.detail-ambient-bg:after{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(180deg,rgba(247,249,251,.12) 0%,rgba(247,249,251,.24) 28%,rgba(247,249,251,.48) 56%,rgba(247,249,251,.82) 83%,#f5f7fa 100%),radial-gradient(ellipse at 50% 5%,rgba(255,255,255,0),rgba(255,255,255,.28) 78%)}
.detail-page>:not(.detail-ambient-bg):not(.detail-particle-canvas):not(.mall-header){position:relative;z-index:1}
.detail-particle-canvas{position:fixed;z-index:0;inset:0;display:block;width:100vw;height:100vh;pointer-events:none;opacity:1;mix-blend-mode:screen;filter:saturate(1.18) contrast(1.08);mask-image:linear-gradient(180deg,#000 0%,#000 48%,rgba(0,0,0,.62) 76%,transparent 100%);-webkit-mask-image:linear-gradient(180deg,#000 0%,#000 48%,rgba(0,0,0,.62) 76%,transparent 100%)}
.detail-page>.mall-header{position:sticky;z-index:130}
.detail-page .detail-wrap{padding-top:82px;padding-bottom:34px}
.detail-page .detail-wrap{position:relative}
.detail-back-button{position:absolute;z-index:12;top:22px;left:0;display:inline-flex;height:36px;align-items:center;justify-content:center;gap:7px;padding:0 14px;border:1px solid rgba(19,28,40,.1);border-radius:10px;background:rgba(255,255,255,.86);color:#172333;cursor:pointer;box-shadow:0 8px 22px rgba(20,28,38,.1);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:background .2s ease,transform .2s ease,box-shadow .2s ease}
.detail-back-button:hover{background:#fff;transform:translateX(-2px);box-shadow:0 12px 28px rgba(20,28,38,.14)}
.detail-back-button .nieobie-icon{width:19px;height:19px;flex-basis:19px}.detail-back-button .control-label{line-height:1;font-size:14px;font-weight:750}
.detail-page .buy-panel{background:rgba(255,255,255,.9);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.detail-page .detail-notice,.detail-page .detail-description{padding-left:22px;padding-right:22px;border:1px solid rgba(255,255,255,.62);border-radius:16px;background:rgba(255,255,255,.58);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.detail-page .detail-notice{margin-bottom:18px}
.detail-page .detail-description{margin-top:0;margin-bottom:20px;padding-left:0;padding-right:0;border:0;border-radius:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.detail-page .detail-description:before{content:"";position:absolute;z-index:-1;top:0;bottom:-1100px;left:50%;width:100vw;pointer-events:none;transform:translateX(-50%);background:#fff}
.detail-page .hot-section{background:transparent}
@keyframes detail-ambient-breathe{from{transform:scale(1.08) translate3d(-.5%,0,0)}to{transform:scale(1.13) translate3d(.5%,-.6%,0)}}
@media (max-width:640px){.detail-page>.detail-ambient-bg{inset:0}.detail-ambient-bg .ambient-image{filter:blur(58px) saturate(1.02) brightness(1.03)}.detail-ambient-bg .ambient-image.is-active{opacity:.78}.detail-ambient-bg:after{background:linear-gradient(180deg,rgba(247,249,251,.2),rgba(247,249,251,.56) 58%,#f5f7fa 100%)}.detail-page .detail-notice,.detail-page .detail-description{padding-left:16px;padding-right:16px}}
@media (pointer:coarse),(prefers-reduced-motion:reduce){.detail-particle-canvas{display:none}}
@media (prefers-reduced-motion:reduce){.detail-ambient-bg .ambient-image{animation:none}}
@media (max-width:640px){.detail-page .detail-wrap{padding-top:70px}.detail-back-button{top:16px}}

/* Additional cover-derived gallery views when dedicated screenshots are unavailable */
.detail-media .gallery-variant-1{width:118%!important;height:118%!important;inset:-9%!important;object-position:68% center}
.detail-media .gallery-variant-2{width:114%!important;height:114%!important;inset:-7%!important;object-position:28% center;filter:saturate(.92) brightness(1.06)}
.detail-media .gallery-variant-3{width:124%!important;height:124%!important;inset:-12%!important;object-position:78% 35%;filter:saturate(1.14) contrast(1.04) brightness(.9)}

/* Compact, structured site footer */
.detail-page>.back-home{display:none!important}
.mall-footer{grid-template-columns:minmax(360px,1.65fr) minmax(230px,.72fr) minmax(250px,.82fr);align-items:start;gap:44px;padding-top:32px;padding-bottom:26px;min-height:0}
.mall-footer>div{min-width:0}
.footer-logo{margin-bottom:15px}
.footer-logo>span{width:148px;height:52px;padding:5px 8px;border-radius:10px}
.mall-footer>div:first-child>p{max-width:540px;margin:0;color:rgba(255,255,255,.62);font-size:13px;line-height:1.75}
.mall-footer h3{margin:2px 0 13px;font-size:15px}
.mall-footer a,.mall-footer p{margin:0;font-size:13px;line-height:1.55}
.mall-footer>div:nth-child(2){display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.mall-footer>div:nth-child(3){display:grid;align-content:start;gap:9px}
.mall-footer>div:nth-child(3)>h3{margin-bottom:4px}
.mall-footer a{color:rgba(255,255,255,.7);transition:color .18s ease,transform .18s ease}
.mall-footer a:hover{color:#fff;transform:translateX(2px)}
@media (max-width:900px){.mall-footer{grid-template-columns:1fr 1fr;gap:26px 36px;padding-top:28px;padding-bottom:24px}.mall-footer>div:first-child{grid-column:1/-1}}
@media (max-width:640px){.mall-footer{grid-template-columns:1fr;gap:22px;padding:26px 18px 22px}.mall-footer>div:first-child{grid-column:auto}.footer-logo>span{width:138px;height:49px}}

/* Footer content must grow with wrapped legal copy */
.mall-footer{height:auto!important;max-height:none!important;overflow:visible!important;align-self:stretch;padding-bottom:32px}
.mall-footer>div:first-child{height:auto;min-height:0;overflow:visible}
.mall-footer>div:first-child>p{display:block;height:auto;max-height:none;overflow:visible;white-space:normal;word-break:break-word;text-wrap:pretty}
@media (max-width:640px){.mall-footer{padding-bottom:28px}}

/* Conversion-focused purchase panel hierarchy */
.detail-page .buy-panel{padding:25px 26px 22px;border:1px solid rgba(18,24,33,.1);box-shadow:0 22px 54px rgba(20,28,38,.14)}
.buy-kicker{display:flex;align-items:center;gap:7px;margin-bottom:13px}
.buy-kicker span{padding:5px 9px;border:1px solid #e1e5e9;border-radius:999px;background:#f5f6f7;color:#515b68;font-size:11px;font-weight:800;line-height:1}
.buy-kicker span:first-child{border-color:#1d2530;background:#1d2530;color:#fff}
.detail-page .buy-panel h2{margin-bottom:7px;font-size:28px;line-height:1.2;letter-spacing:-.025em}
.detail-page .buy-panel>p:not(.buy-action-note){margin-bottom:18px;font-size:14px;line-height:1.55}
.detail-page .detail-price{grid-template-columns:auto auto 1fr;align-items:center;gap:8px 14px;margin-bottom:16px;padding:15px 16px;border:1px solid #e8ebee;border-radius:14px;background:#f7f8f9}
.detail-page .detail-price em{justify-self:start;padding:5px 9px;border-radius:7px;background:#1d2530;color:#fff;font-size:14px}
.detail-page .detail-price strong{font-size:34px;line-height:1}
.detail-page .detail-price del{justify-self:end;color:#929aa5;font-size:13px}
.detail-saving{grid-column:1/-1;color:#e65f17;font-size:12px;font-weight:800;letter-spacing:.01em}
.detail-page .buy-panel dl{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:15px}
.detail-page .buy-panel dl>div{display:grid;gap:5px;padding:11px 12px;border:1px solid #eceff2;border-radius:11px;background:rgba(248,249,250,.9)}
.detail-page .buy-panel dt{color:#818a96;font-size:12px}.detail-page .buy-panel dd{color:#1b2430;font-size:14px;font-weight:800}
.detail-page .purchase-proof{display:grid;grid-template-columns:8px 1fr;align-items:center;gap:2px 10px;margin:0 0 14px;padding:12px 13px;border:1px solid #f0dfc9;border-radius:12px;background:#fff8ef;color:#1d2530;font-size:12px}
.detail-page .purchase-proof:before{grid-row:1/3;width:7px;height:7px;background:#f07a24;box-shadow:0 0 0 4px rgba(240,122,36,.12)}
.detail-page .purchase-proof b{font-size:13px}.detail-page .purchase-proof span{color:#6f6257;font-weight:600}
.detail-page .buy-panel .buy-now{height:56px;font-size:18px;letter-spacing:.02em}
.detail-page .buy-benefits{gap:7px;margin-top:12px}
.detail-page .buy-benefits span{min-width:0;padding:10px 5px;border:1px solid #eceff2;background:#f6f7f8;color:#576273;font-size:11px}
.detail-page .buy-benefits .nieobie-icon{width:20px;height:20px;flex-basis:20px}
.buy-action-note{margin:10px 0 0!important;color:#8a929d!important;text-align:center;font-size:11px!important;line-height:1.4!important}
@media (max-width:420px){.detail-page .buy-panel{padding:21px 18px}.detail-page .detail-price{grid-template-columns:auto 1fr}.detail-page .detail-price del{grid-column:1/-1;justify-self:start}.detail-page .buy-panel dl{grid-template-columns:1fr}}

/* Purchase CTA: energy converges from both sides into the action label */
.detail-page .buy-panel .buy-now{position:relative;isolation:isolate;overflow:hidden;border:1px solid rgba(255,255,255,.12);background:#0c0f13;box-shadow:0 10px 24px rgba(13,18,24,.24);transform:translateZ(0);transition:transform .24s cubic-bezier(.22,1,.36,1),box-shadow .24s ease,background .24s ease}
.detail-page .buy-panel .buy-now:before{content:"";position:absolute;z-index:0;inset:-30%;background:radial-gradient(ellipse,rgba(255,190,78,.92) 0%,rgba(255,126,28,.52) 34%,rgba(255,111,22,0) 72%) -35% 50%/42% 145% no-repeat,radial-gradient(ellipse,rgba(255,190,78,.92) 0%,rgba(255,126,28,.52) 34%,rgba(255,111,22,0) 72%) 135% 50%/42% 145% no-repeat;opacity:0;animation:buy-cta-converge 3s cubic-bezier(.22,1,.36,1) infinite;pointer-events:none}
.detail-page .buy-panel .buy-now:after{content:"";position:absolute;z-index:1;left:10%;right:10%;bottom:0;height:2px;border-radius:999px;background:linear-gradient(90deg,transparent,#ff9d2f 18%,#ffe0a2 50%,#ff9d2f 82%,transparent);opacity:.4;transform:scaleX(1);filter:drop-shadow(0 -3px 7px rgba(255,145,38,.72));animation:buy-cta-energy-line 3s cubic-bezier(.22,1,.36,1) infinite;pointer-events:none}
.detail-page .buy-panel .buy-now:hover{border-color:rgba(255,174,67,.72);background:#17130f;transform:translateY(-3px) scale(1.015);box-shadow:0 17px 36px rgba(13,18,24,.34),0 0 0 4px rgba(255,153,47,.16),0 0 24px rgba(255,143,35,.18)}
.detail-page .buy-panel .buy-now:hover:before{animation:buy-cta-hover-converge .62s cubic-bezier(.22,1,.36,1) both}
.detail-page .buy-panel .buy-now:hover:after{animation:none;opacity:1;transform:scaleX(.12);transition:transform .55s cubic-bezier(.22,1,.36,1),opacity .2s ease}
.detail-page .buy-panel .buy-now:active{transform:translateY(0) scale(.975);box-shadow:0 5px 12px rgba(13,18,24,.22);transition-duration:.08s}
.detail-page .buy-panel .buy-now:focus-visible{outline:3px solid rgba(255,153,47,.28);outline-offset:4px}
.detail-page .buy-panel .buy-now .control-label,.detail-page .buy-panel .buy-now .nieobie-icon{position:relative;z-index:2}
.detail-page .buy-panel .buy-now .control-label{transition:letter-spacing .28s ease,text-shadow .28s ease}
.detail-page .buy-panel .buy-now:hover .control-label{letter-spacing:.06em;text-shadow:0 0 13px rgba(255,211,142,.62)}
.detail-page .buy-panel .buy-now .nieobie-icon{transition:transform .28s cubic-bezier(.22,1,.36,1);animation:buy-cta-icon 2.7s ease-in-out infinite}
.detail-page .buy-panel .buy-now:hover .nieobie-icon{animation:none;transform:translateY(-1px) rotate(-8deg) scale(1.12)}
@keyframes buy-cta-converge{0%,56%{opacity:0;background-position:-35% 50%,135% 50%}63%{opacity:.82}76%{opacity:1;background-position:43% 50%,57% 50%}82%{opacity:.48;background-position:49% 50%,51% 50%}90%,100%{opacity:0;background-position:50% 50%,50% 50%}}
@keyframes buy-cta-hover-converge{0%{opacity:.18;background-position:-25% 50%,125% 50%}72%{opacity:1;background-position:43% 50%,57% 50%}100%{opacity:.68;background-position:49% 50%,51% 50%}}
@keyframes buy-cta-energy-line{0%,56%,100%{opacity:.28;transform:scaleX(1)}72%{opacity:1;transform:scaleX(.3)}80%{opacity:1;transform:scaleX(.06)}90%{opacity:0;transform:scaleX(0)}}
@keyframes buy-cta-icon{0%,67%,100%{transform:translateY(0) scale(1)}77%{transform:translateY(-2px) scale(1.12)}84%{transform:translateY(0) scale(1)}}
@media (prefers-reduced-motion:reduce){.detail-page .buy-panel .buy-now:before,.detail-page .buy-panel .buy-now:after,.detail-page .buy-panel .buy-now .nieobie-icon{animation:none}.detail-page .buy-panel .buy-now:hover{transform:none}}

/* Static purchase CTA: motion intentionally removed */
.detail-page .buy-panel .buy-now,.detail-page .buy-panel .buy-now:hover,.detail-page .buy-panel .buy-now:active{border-color:rgba(255,255,255,.12);background:#0c0f13;box-shadow:0 10px 24px rgba(13,18,24,.24);transform:none;transition:none;animation:none}
.detail-page .buy-panel .buy-now:before,.detail-page .buy-panel .buy-now:after{display:none!important;animation:none!important}
.detail-page .buy-panel .buy-now .control-label,.detail-page .buy-panel .buy-now:hover .control-label{letter-spacing:.02em;text-shadow:none;transition:none}
.detail-page .buy-panel .buy-now .nieobie-icon,.detail-page .buy-panel .buy-now:hover .nieobie-icon{transform:none;transition:none;animation:none}

/* CHECKOUT_CLARITY_REFRESH_START */
/* Checkout clarity refresh: compact hierarchy, simpler cards, stable mobile CTA. */
.checkout-page{
  background:#f5f6f8;
}

.checkout-page .mall-header{
  position:sticky;
  top:0;
  z-index:80;
  height:64px;
  min-height:64px;
  padding:0 28px;
  flex-wrap:nowrap;
  gap:12px;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid #e8eaed;
  box-shadow:none;
}

.checkout-page .mall-search{
  width:min(320px,30vw);
  height:38px;
  border-radius:10px;
  background:#f3f4f6;
  border-color:transparent;
}

.checkout-page .checkout-wrap{
  width:min(1040px,calc(100% - 48px));
  max-width:1040px;
  margin:0 auto;
  padding:36px 0 96px;
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(340px,.82fr);
  align-items:start;
  gap:18px;
}

.checkout-page .checkout-title{
  grid-column:1/-1;
  margin:0 0 8px;
}

.checkout-page .checkout-title p{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  margin:0 0 9px;
  padding:0 10px;
  border-radius:999px;
  color:#c95713;
  background:#fff0e5;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
}

.checkout-page .checkout-title h1{
  margin:0;
  color:#171a1f;
  font-size:28px;
  line-height:1.25;
  letter-spacing:-.025em;
}

.checkout-page .checkout-back-button{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  margin:0 0 16px;
  padding:0 13px;
  border:1px solid #e1e5e9;
  border-radius:9px;
  background:#fff;
  color:#333b45;
  font-size:14px;
  font-weight:750;
  text-decoration:none;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}

.checkout-page .checkout-back-button:hover{
  border-color:#cbd1d8;
  background:#f7f8f9;
  transform:translateX(-2px);
}

.checkout-page .checkout-block{
  min-width:0;
  margin:0;
  padding:22px;
  border:1px solid #e3e6ea;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(20,27,36,.04);
  transition:none;
}

.checkout-page .checkout-block:hover{
  transform:none;
  box-shadow:0 8px 24px rgba(20,27,36,.04);
}

.checkout-page .checkout-block h2{
  display:flex;
  align-items:center;
  gap:9px;
  margin:0 0 18px;
  color:#1c2026;
  font-size:17px;
  line-height:1.3;
}

.checkout-page .checkout-block h2:before{
  content:"";
  width:4px;
  height:17px;
  border-radius:999px;
  background:#ff7a1a;
}

.checkout-page .order-card{
  display:grid;
  grid-template-columns:112px minmax(0,1fr) auto;
  grid-template-areas:
    "cover main price"
    "cover type count";
  align-items:center;
  gap:8px 15px;
  padding:0 0 20px;
  border:0;
  border-bottom:1px solid #eceef1;
  border-radius:0;
  background:transparent;
}

.checkout-page .order-cover{
  grid-area:cover;
  width:112px;
  aspect-ratio:16/9;
  border-radius:9px;
  background:#e8ebef;
  box-shadow:0 5px 14px rgba(17,24,39,.1);
}

.checkout-page .order-main{
  grid-area:main;
  gap:4px;
  align-self:end;
}

.checkout-page .order-main strong{
  color:#171a1f;
  font-size:16px;
  line-height:1.35;
}

.checkout-page .order-main span{
  color:#68717d;
  font-size:13px;
  line-height:1.45;
}

.checkout-page .order-main small{
  color:#969da6;
  font-size:12px;
}

.checkout-page .order-type{
  grid-area:type;
  justify-self:start;
  align-self:start;
  padding:4px 8px;
  border-radius:6px;
  color:#646d78;
  background:#f1f3f5;
  font-size:12px;
  line-height:1;
}

.checkout-page .order-count{
  grid-area:count;
  justify-self:end;
  align-self:start;
  color:#7d8590;
  font-size:13px;
}

.checkout-page .order-price{
  grid-area:price;
  justify-self:end;
  align-self:end;
  color:#171a1f;
  font-size:18px;
  font-weight:900;
  white-space:nowrap;
}

.checkout-page .order-tip{
  position:relative;
  margin-top:16px;
  padding:11px 13px 11px 34px;
  border:1px solid #f1dfca;
  border-radius:10px;
  color:#8c431a;
  background:#fffaf4;
  font-size:13px;
  line-height:1.55;
  font-weight:650;
}

.checkout-page .order-tip:before{
  content:"!";
  position:absolute;
  left:13px;
  top:12px;
  display:grid;
  place-items:center;
  width:15px;
  height:15px;
  border-radius:50%;
  color:#fff;
  background:#ed7a2d;
  font-size:10px;
  font-weight:900;
}

.checkout-page .order-summary{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:7px 16px;
  margin-top:17px;
  color:#78818d;
  text-align:left;
  justify-content:stretch;
  font-size:13px;
}

.checkout-page .order-summary span:first-child{
  grid-column:1/-1;
  color:#9aa1aa;
  font-size:12px;
}

.checkout-page .order-summary span:nth-child(2),
.checkout-page .order-summary span:nth-child(3){
  grid-column:1/-1;
}

.checkout-page .order-summary strong{
  grid-column:1/-1;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  margin-top:4px;
  padding-top:13px;
  border-top:1px solid #eceef1;
  color:#e85d12;
  font-size:21px;
  line-height:1.2;
}

.checkout-page .pay-methods{
  gap:10px;
}

.checkout-page .pay-row{
  display:grid;
  grid-template-columns:22px 42px minmax(0,1fr);
  grid-template-areas:
    "check logo name"
    "check logo note"
    ". . balance";
  align-items:center;
  gap:3px 11px;
  min-height:72px;
  padding:12px 13px;
  border:1px solid #e5e8ec;
  border-radius:12px;
  color:#1c2026;
  background:#fff;
  box-shadow:none;
  transition:border-color .16s ease,background .16s ease;
}

.checkout-page .pay-row:hover{
  transform:none;
  border-color:#b7bdc5;
  box-shadow:none;
}

.checkout-page .pay-row.selected{
  border-color:#1b1e23;
  background:#fbfbfc;
  box-shadow:0 0 0 1px #1b1e23;
}

.checkout-page .pay-check{
  grid-area:check;
  width:18px;
  height:18px;
  border:1.5px solid #a8afb8;
  border-radius:50%;
  color:transparent;
  background:#fff;
}

.checkout-page .pay-row.selected .pay-check{
  border:5px solid #1b1e23;
  background:#fff;
}

.checkout-page .pay-check .nieobie-icon{
  display:none;
}

.checkout-page .pay-logo{
  grid-area:logo;
  width:42px;
  height:42px;
  border-radius:10px;
  font-size:18px;
  box-shadow:none;
}

.checkout-page .pay-name{
  grid-area:name;
  align-self:end;
  color:#20242a;
  font-size:15px;
  font-weight:800;
}

.checkout-page .pay-note{
  grid-area:note;
  align-self:start;
  color:#8a929d;
  font-size:12px;
  line-height:1.35;
}

.checkout-page .points-balance{
  grid-area:balance;
  margin-top:4px;
  color:#c55b1a;
  font-size:11px;
}

.checkout-page .recommend-ribbon{
  top:9px;
  right:9px;
  left:auto;
  width:auto;
  height:auto;
  padding:3px 6px;
  border-radius:5px;
  color:#bd5215;
  background:#fff0e5;
  font-size:10px;
  line-height:1;
}

.checkout-page .checkout-submit{
  grid-column:1/-1;
  position:sticky;
  bottom:14px;
  z-index:30;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  margin-top:2px;
  padding:11px 12px 11px 18px;
  border:1px solid rgba(28,32,38,.1);
  border-radius:16px;
  background:rgba(255,255,255,.94);
  box-shadow:0 14px 40px rgba(22,28,36,.15);
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
}

.checkout-page .checkout-submit span{
  display:flex;
  align-items:baseline;
  gap:8px;
  color:#767f8a;
  font-size:13px;
}

.checkout-page .checkout-submit b{
  color:#e85d12;
  font-size:22px;
  line-height:1;
}

.checkout-page .checkout-submit button{
  width:176px;
  height:48px;
  border-radius:11px;
  color:#fff;
  background:#111419;
  box-shadow:none;
  font-size:16px;
  font-weight:800;
  transition:background .16s ease,transform .16s ease;
}

.checkout-page .checkout-submit button:hover:not(:disabled){
  transform:translateY(-1px);
  background:#282c33;
  box-shadow:none;
}

@media (max-width:900px){
  .checkout-page .mall-header{
    height:64px;
    min-height:64px;
    padding:0 20px;
    flex-wrap:nowrap;
  }

  .checkout-page .mall-search{
    display:none;
  }

  .checkout-page .checkout-wrap{
    width:min(720px,calc(100% - 32px));
    padding:28px 0 92px;
    grid-template-columns:1fr;
    gap:14px;
  }

  .checkout-page .checkout-title{
    grid-column:auto;
    margin-bottom:4px;
  }

  .checkout-page .checkout-title h1{
    font-size:25px;
  }

  .checkout-page .checkout-block{
    padding:20px;
  }

  .checkout-page .checkout-submit{
    grid-column:auto;
    bottom:12px;
  }
}

@media (max-width:560px){
  .checkout-page .mall-header{
    height:58px;
    min-height:58px;
    padding:0 14px;
  }

  .checkout-page .lang-button{
    display:none;
  }

  .checkout-page .login-pill{
    margin-left:auto;
    padding:7px 12px;
  }

  .checkout-page .checkout-wrap{
    width:calc(100% - 24px);
    padding:22px 0 82px;
    gap:12px;
  }

  .checkout-page .checkout-title p{
    min-height:24px;
    margin-bottom:7px;
  }

  .checkout-page .checkout-title h1{
    font-size:22px;
  }

  .checkout-page .checkout-block{
    padding:16px;
    border-radius:14px;
  }

  .checkout-page .checkout-block h2{
    margin-bottom:15px;
    font-size:16px;
  }

  .checkout-page .order-card{
    grid-template-columns:94px minmax(0,1fr) auto;
    grid-template-areas:
      "cover main main"
      "cover type count"
      "cover price price";
    gap:6px 12px;
    padding-bottom:16px;
  }

  .checkout-page .order-cover{
    width:94px;
  }

  .checkout-page .order-main strong{
    font-size:15px;
  }

  .checkout-page .order-main span{
    display:none;
  }

  .checkout-page .order-price{
    justify-self:start;
    align-self:start;
    font-size:17px;
  }

  .checkout-page .order-tip{
    margin-top:13px;
    padding-right:11px;
    font-size:12px;
  }

  .checkout-page .pay-row{
    min-height:68px;
    padding:11px;
  }

  .checkout-page .pay-note{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .checkout-page .checkout-submit{
    gap:10px;
    padding:9px 9px 9px 13px;
    border-radius:14px;
  }

  .checkout-page .checkout-submit span{
    flex:1;
    gap:5px;
  }

  .checkout-page .checkout-submit b{
    font-size:19px;
  }

  .checkout-page .checkout-submit button{
    width:138px;
    height:46px;
    font-size:15px;
  }
}
/* CHECKOUT_CLARITY_REFRESH_END */


/* Payment icon assets: start */
.checkout-page .pay-logo{overflow:hidden;color:transparent;font-size:0;background-position:center;background-repeat:no-repeat;background-size:cover}
.checkout-page .pay-logo.alipay{color:transparent;font-size:0;background-image:url('./payment-alipay.png')}
.checkout-page .pay-logo.wechat{color:transparent;font-size:0;background-image:url('./payment-wechat.png')}
.checkout-page .pay-logo.points{color:transparent;font-size:0;background-image:url('./payment-points.png')}
/* Payment icon assets: end */

/* Inline checkout payment marks replace unavailable external logo files. */
.checkout-page .pay-logo{overflow:visible!important;background:none!important;color:inherit!important;font-size:inherit!important}
.checkout-page .pay-logo-art{display:block;width:42px;height:42px}

/* CHECKOUT_CONVERSION_FOCUS_START */
.checkout-page .mall-search,
.checkout-page .lang-button,
.checkout-page .mall-footer{display:none}
.checkout-page .checkout-wrap{width:min(960px,calc(100% - 48px));grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);align-content:start;gap:14px;padding-top:28px}
.checkout-page .checkout-title{position:relative;margin-bottom:4px}
.checkout-page .checkout-title:after{content:"支付成功后，兑换码将自动发送";position:absolute;right:0;bottom:3px;padding-left:20px;color:#3d7a4d;font-size:13px;font-weight:800;background:linear-gradient(90deg,transparent,#f5f6f8 18%)}
.checkout-page .checkout-title h1{font-size:30px}
.checkout-page .checkout-block{padding:20px}
.checkout-page .order-card{grid-template-columns:96px minmax(0,1fr) auto;grid-template-areas:"cover main price";gap:14px;padding-bottom:0;border-bottom:0}
.checkout-page .order-cover{width:96px}
.checkout-page .order-main{align-self:center;gap:5px}
.checkout-page .order-main span,
.checkout-page .order-type,
.checkout-page .order-count{display:none}
.checkout-page .order-main small{color:#3d7a4d;font-size:12px;font-weight:800}
.checkout-page .order-price{align-self:center;font-size:20px}
.checkout-page .order-tip{margin-top:14px;padding:9px 12px 9px 32px;font-size:12px}
.checkout-page .order-tip:before{top:10px}
.checkout-page .order-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid #eceef1}
.checkout-page .order-summary span:first-child,
.checkout-page .order-summary span:nth-child(2){display:none}
.checkout-page .order-summary span:nth-child(3),
.checkout-page .order-summary span:nth-child(4){grid-column:auto;padding:5px 8px;border-radius:7px;color:#d65a16;background:#fff1e7;font-size:12px;font-weight:800}
.checkout-page .order-summary strong{grid-column:auto;display:block;margin:0 0 0 auto;padding:0;border:0;font-size:22px;white-space:nowrap}
.checkout-page .pay-methods{gap:8px}
.checkout-page .pay-row{min-height:66px;padding:10px 12px}
.checkout-page .pay-row.selected{border-color:#ff7817;background:#fffaf6;box-shadow:0 0 0 1px #ff7817}
.checkout-page .pay-row.selected .pay-check{border-color:#ff7817}
.checkout-page .pay-note{font-size:12px}
.checkout-page .points-balance{display:none}
.checkout-page .checkout-submit{justify-content:flex-end;gap:16px;padding:10px 11px 10px 17px}
.checkout-page .checkout-submit:before{content:"安全支付 · 付款后自动发码";margin-right:auto;color:#3d7a4d;font-size:12px;font-weight:800}
.checkout-page .checkout-submit button{width:210px;background:linear-gradient(135deg,#ff6a00,#ff922d);box-shadow:0 10px 24px rgba(255,106,0,.28)}
.checkout-page .checkout-submit button:hover:not(:disabled){background:linear-gradient(135deg,#f45f00,#ff8418);box-shadow:0 14px 30px rgba(255,106,0,.34)}
@media (max-width:900px){.checkout-page .checkout-title:after{position:static;display:block;margin-top:9px;padding:0;background:none}.checkout-page .checkout-wrap{width:min(720px,calc(100% - 32px));grid-template-columns:1fr;padding-top:24px}.checkout-page .checkout-title,.checkout-page .checkout-submit{grid-column:1}.checkout-page .checkout-submit:before{display:none}}
@media (max-width:560px){.checkout-page .checkout-title h1{font-size:24px}.checkout-page .order-card{grid-template-columns:82px minmax(0,1fr);grid-template-areas:"cover main" "cover price"}.checkout-page .order-cover{width:82px}.checkout-page .order-price{justify-self:start;font-size:18px}.checkout-page .order-summary{align-items:flex-end}.checkout-page .order-summary span:nth-child(3),.checkout-page .order-summary span:nth-child(4){padding:4px 6px}.checkout-page .checkout-submit button{width:150px}}
/* CHECKOUT_CONVERSION_FOCUS_END */
/* CHECKOUT_STOREFRONT_MATCH_START */
/* Align checkout with the storefront's quiet white, black and green visual language. */
.checkout-page{
  background:#f7f8f9;
}
.checkout-page .mall-header{
  height:68px;
  min-height:68px;
  padding:0 34px;
  gap:18px;
  background:#fff;
  border-bottom:1px solid #eceef0;
}
.checkout-page .mall-search{
  display:flex;
  width:min(440px,36vw);
  height:40px;
  margin-left:auto;
  border:1px solid #eceef1;
  border-radius:12px;
  background:#f6f7f8;
}
.checkout-page .lang-button{
  display:inline-flex;
}
.checkout-page .mall-footer{
  display:none;
}
.checkout-page .checkout-wrap{
  width:min(1040px,calc(100% - 48px));
  grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr);
  gap:16px;
  padding:34px 0 96px;
}
.checkout-page .checkout-title{
  margin-bottom:8px;
}
.checkout-page .checkout-title p{
  min-height:auto;
  margin:0 0 8px;
  padding:0;
  border-radius:0;
  color:#7d848d;
  background:transparent;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
}
.checkout-page .checkout-title h1{
  color:#17191d;
  font-size:28px;
  font-weight:850;
  letter-spacing:-.03em;
}
.checkout-page .checkout-title:after{
  content:"";
  display:none;
}
.checkout-page .checkout-block{
  padding:22px;
  border:1px solid #e6e8eb;
  border-radius:14px;
  background:#fff;
  box-shadow:0 6px 18px rgba(25,30,36,.035);
}
.checkout-page .checkout-block:hover{
  box-shadow:0 6px 18px rgba(25,30,36,.035);
}
.checkout-page .checkout-block h2{
  margin-bottom:18px;
  color:#202329;
  font-size:16px;
}
.checkout-page .checkout-block h2:before{
  width:3px;
  height:16px;
  background:#17191d;
}
.checkout-page .order-card{
  grid-template-columns:102px minmax(0,1fr) auto;
  gap:15px;
}
.checkout-page .order-cover{
  width:102px;
  border-radius:8px;
  box-shadow:none;
}
.checkout-page .order-main small{
  color:#65716c;
  font-weight:700;
}
.checkout-page .order-price{
  color:#17191d;
  font-size:20px;
}
.checkout-page .order-tip{
  border-color:#ece5d9;
  color:#6f6254;
  background:#fbfaf7;
  font-weight:600;
}
.checkout-page .order-tip:before{
  color:#847462;
  background:#eee8df;
}
.checkout-page .order-summary{
  border-top-color:#eceef0;
}
.checkout-page .order-summary span:nth-child(3),
.checkout-page .order-summary span:nth-child(4){
  color:#168253;
  background:#e9f8f0;
}
.checkout-page .order-summary strong{
  color:#17191d;
  font-size:21px;
}
.checkout-page .pay-methods{
  gap:9px;
}
.checkout-page .pay-row{
  min-height:68px;
  padding:11px 12px;
  border:1px solid #e7e9ec;
  border-radius:11px;
  background:#fff;
}
.checkout-page .pay-row:hover{
  border-color:#bbc0c7;
  background:#fff;
}
.checkout-page .pay-row.selected{
  border-color:#1a1d21;
  background:#fafbfb;
  box-shadow:0 0 0 1px #1a1d21;
}
.checkout-page .pay-row.selected .pay-check{
  border-color:#1a1d21;
  background:#fff;
}
.checkout-page .pay-logo{
  width:40px;
  height:40px;
  border-radius:9px;
}
.checkout-page .pay-name{
  color:#25282d;
}
.checkout-page .pay-note{
  color:#9298a1;
}
.checkout-page .recommend-ribbon{
  color:#14794d;
  background:#e8f7ef;
}
.checkout-page .checkout-submit{
  bottom:14px;
  gap:18px;
  padding:11px 12px 11px 18px;
  border:1px solid #e3e6e9;
  border-radius:14px;
  background:rgba(255,255,255,.97);
  box-shadow:0 12px 32px rgba(25,30,36,.10);
}
.checkout-page .checkout-submit:before{
  content:"";
  display:none;
}
.checkout-page .checkout-submit span{
  color:#858b93;
}
.checkout-page .checkout-submit b{
  color:#17191d;
  font-size:21px;
}
.checkout-page .checkout-submit button{
  width:190px;
  height:48px;
  border-radius:10px;
  background:#121418;
  box-shadow:none;
}
.checkout-page .checkout-submit button:hover:not(:disabled){
  background:#2a2d33;
  box-shadow:none;
}
@media (max-width:900px){
  .checkout-page .mall-header{
    padding:0 20px;
  }
  .checkout-page .mall-search{
    display:none;
  }
  .checkout-page .checkout-wrap{
    width:min(720px,calc(100% - 32px));
    grid-template-columns:1fr;
    padding-top:28px;
  }
}
@media (max-width:560px){
  .checkout-page .mall-header{
    height:58px;
    min-height:58px;
    padding:0 14px;
  }
  .checkout-page .lang-button{
    display:none;
  }
  .checkout-page .checkout-wrap{
    width:calc(100% - 24px);
    padding-top:22px;
  }
  .checkout-page .checkout-title h1{
    font-size:23px;
  }
  .checkout-page .checkout-block{
    padding:16px;
    border-radius:12px;
  }
  .checkout-page .order-card{
    grid-template-columns:82px minmax(0,1fr);
    grid-template-areas:"cover main" "cover price";
    gap:7px 12px;
  }
  .checkout-page .order-cover{
    width:82px;
  }
  .checkout-page .checkout-submit{
    gap:10px;
    padding:9px 9px 9px 13px;
    border-radius:12px;
  }
  .checkout-page .checkout-submit button{
    width:146px;
    height:46px;
  }
}
/* CHECKOUT_STOREFRONT_MATCH_END */
/* CHECKOUT_GRID_ALIGNMENT_START */
@media (min-width:901px){
  .checkout-page .checkout-wrap{
    align-items:stretch;
  }
  .checkout-page .checkout-wrap > .checkout-block{
    height:100%;
    box-sizing:border-box;
  }
  .checkout-page .checkout-wrap > .checkout-block:first-of-type{
    display:flex;
    flex-direction:column;
  }
  .checkout-page .checkout-wrap > .checkout-block:first-of-type .order-summary{
    margin-top:auto;
  }
}
/* CHECKOUT_GRID_ALIGNMENT_END */
/* HOME_BACK_TO_TOP_START */
.mall-back-to-top{
  position:fixed;
  right:28px;
  bottom:28px;
  z-index:130;
  display:flex;
  width:48px;
  height:48px;
  align-items:center;
  justify-content:center;
  padding:0;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  color:#fff;
  background:#111318;
  box-shadow:0 12px 28px rgba(17,19,24,.22);
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate3d(0,12px,0) scale(.92);
  transition:opacity .2s ease,visibility 0s linear .24s,transform .28s cubic-bezier(.22,1,.36,1),background .18s ease,box-shadow .18s ease;
}
.mall-back-to-top.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translate3d(0,0,0) scale(1);
  transition:opacity .2s ease,transform .28s cubic-bezier(.22,1,.36,1),background .18s ease,box-shadow .18s ease;
}
.mall-back-to-top:hover{
  background:#292c32;
  box-shadow:0 15px 32px rgba(17,19,24,.28);
  transform:translate3d(0,-2px,0) scale(1);
}
.mall-back-to-top:active{
  transform:translate3d(0,0,0) scale(.96);
}
.mall-back-to-top:focus-visible{
  outline:3px solid rgba(17,19,24,.2);
  outline-offset:3px;
}
.mall-back-to-top .back-top-icon{
  width:23px;
  height:23px;
  display:block;
  filter:brightness(0) invert(1);
}
@media (max-width:760px){
  .mall-back-to-top{
    right:16px;
    bottom:18px;
    width:44px;
    height:44px;
    border-radius:13px;
  }
  .mall-back-to-top .back-top-icon{
    width:21px;
    height:21px;
  }
}
@media (prefers-reduced-motion:reduce){
  .mall-back-to-top,
  .mall-back-to-top.is-visible,
  .mall-back-to-top:hover,
  .mall-back-to-top:active{
    transition:none;
  }
}
/* HOME_BACK_TO_TOP_END */

/* The preview dialog lives under body so it escapes the mall shell's clipped viewport. */
body > .pay-modal-backdrop{
  position:fixed!important;
  inset:0!important;
  z-index:1000!important;
  display:grid!important;
  place-items:center!important;
  padding:20px!important;
  background:transparent!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
body > .pay-modal-backdrop .pay-modal{
  background:#fff!important;
  border:1px solid #e6e9ed!important;
  border-radius:14px!important;
  color:#17191d!important;
  box-shadow:0 24px 72px rgba(18,28,40,.2)!important;
}
body > .pay-modal-backdrop .pay-modal-close{color:#68717c!important}
body > .pay-modal-backdrop .pay-modal-line{background:#e8ebef!important}
body > .pay-modal-backdrop .pay-modal small{color:#69727d!important}

/* Generated Sultan's Game artwork sets the palette and focal art on the banner's right side. */
.home-banner{position:relative;min-height:212px;max-height:none;overflow:hidden;background:#0b1119}
.home-banner:before{z-index:1;background:linear-gradient(90deg,rgba(5,11,18,.94) 0%,rgba(5,11,18,.72) 34%,rgba(5,11,18,.18) 62%,rgba(5,11,18,.02) 100%)}
.home-banner .home-banner-generated-art{z-index:0;object-fit:cover;object-position:center 53%;filter:none;transform:none}
.home-banner .home-banner-copy{position:relative;z-index:2;width:68%;max-width:68%;height:100%;box-sizing:border-box;align-items:flex-start;padding:22px 48px;background:linear-gradient(90deg,rgba(5,11,18,.9),rgba(5,11,18,.38) 70%,transparent)}
.home-banner .home-banner-copy h1{max-width:100%;line-height:1.2}
.home-banner .home-banner-copy span{max-width:100%}
.home-banner .hero-cta{position:static;align-self:flex-start;display:inline-flex!important;min-height:36px;align-items:center;margin:14px 0 0!important;padding:0 14px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:#fff;color:#15171c!important;font-size:13px;font-weight:800;box-shadow:0 10px 24px rgba(0,0,0,.2)}
.home-banner .hero-cta:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(0,0,0,.26)}
.home-banner .hero-cta:focus-visible{outline:3px solid #9deab9;outline-offset:3px}
@media (max-width:640px){
  .home-banner{min-height:188px;max-height:none}
  .home-banner:before{background:linear-gradient(90deg,rgba(5,11,18,.95),rgba(5,11,18,.76) 40%,rgba(5,11,18,.12) 100%)}
  .home-banner .home-banner-generated-art{object-position:64% 53%}
  .home-banner .home-banner-copy{width:66%;max-width:66%;height:188px;padding:16px 18px}
  .home-banner .home-banner-copy h1{font-size:21px;line-height:1.18}
  .home-banner .home-banner-copy span{max-width:100%;font-size:12px}
  .home-banner .hero-cta{min-height:32px;margin-top:9px!important;padding:0 10px;font-size:11px}
}

/* Pear points are shown as unavailable in the local checkout preview. */
.checkout-page .pay-row:disabled{
  cursor:not-allowed;
  opacity:.48;
  filter:grayscale(1);
  background:#f1f2f3;
  border-color:#e1e4e7;
  box-shadow:none;
  transform:none;
}

.checkout-page .pay-row:disabled:hover{
  background:#f1f2f3;
  border-color:#e1e4e7;
  box-shadow:none;
  transform:none;
}

/* Keep the language popover above sibling content stacking contexts. */
.mall-page>.mall-header{z-index:200!important}
