/* Original client textures; sprite frames follow the in-game dimensions. */
:root{color-scheme:dark;font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:#e7edf7;background:#090d15;font-size:14px}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#090d15 url('/static/game-background.png') center top/cover fixed}button,input,textarea{font:inherit}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed}h1,h2,h3,p{margin:0}h1{font-size:20px}h2{font-size:18px}h3{font-size:15px}p{line-height:1.7}b,strong{font-weight:600}ul{padding-left:20px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #ffd65b;outline-offset:3px}[hidden]{display:none!important}
.brand{height:154px;display:flex;align-items:center;justify-content:center}.brand a{display:block}.brand img{display:block;width:288px;height:144px;object-fit:contain}
.shop-window{width:min(1024px,calc(100% - 32px));margin:0 auto;background:#343c51 url('/static/game-store_bg.png') center/100% 100%;box-shadow:0 16px 50px #000c;border:1px solid #4d5873}
.window-title{height:48px;padding:0 23px;display:flex;align-items:center;justify-content:space-between;text-shadow:1px 2px 1px #000}.window-title h1{font-size:19px;font-weight:600;color:#fff}.window-title>span{font-size:12px;color:#aeb5c6}.shop-nav{display:flex;gap:4px;padding:10px 20px 8px;min-height:60px;background:#11162475;border-top:1px solid #525d72;border-bottom:1px solid #8b98b530}
.game-button{--btn-frame:0px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:124px;height:42px;padding:0 8px;border:0;border-radius:0;background:transparent url('/static/game-store_btn_g2.png') center var(--btn-frame)/100% 168px no-repeat;color:#f0f3fb;text-shadow:1px 1px 2px #000;font-size:13px;font-weight:500;line-height:1.2;white-space:nowrap;vertical-align:middle}.game-button:hover:not(:disabled){--btn-frame:-42px;color:#ffe680}.game-button:active:not(:disabled){--btn-frame:-84px}.game-button:disabled{--btn-frame:-126px;color:#8b8e96;text-shadow:none}.nav-button[aria-current=page]{--btn-frame:-42px;color:#ffe080}.nav-button[aria-current=page]::after{content:"";position:absolute;inset:0;background:url('/static/game-store_btn_maincategory.png') center -42px/100% 168px no-repeat;pointer-events:none}.nav-button{position:relative;gap:6px;font-size:14px}#order-count{font-size:11px;color:#a9d6ff}#order-count:empty{display:none}.primary{background-image:url('/static/game-simple_btn_s.png');background-size:100% 168px;color:#e4fbff}.wide-button{width:164px}.notice{margin:0;padding:9px 22px;background:#191f2cd9;border-bottom:1px solid #d3b66844;color:#e9ca83;font-size:12px;line-height:1.6}
.route-panel{padding:20px;min-height:606px}.shop-content{display:grid;grid-template-columns:minmax(0,1fr)294px;gap:20px}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-card{position:relative;height:180px;padding:14px 12px 10px;background:url('/static/game-store_win_bg.png') center/100% 100% no-repeat;isolation:isolate}.product-card::after{content:"";position:absolute;inset:0;background:url('/static/game-store_win_glow.png') center/100% 100% no-repeat;opacity:0;pointer-events:none}.product-card:hover::after{opacity:1}.product-top{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:start}.product-card h3{margin:1px 0 6px;color:#fff;font-size:15px}.product-tag{font-size:11px;color:#a2b9da;display:block;margin:5px 0 0}.product-summary{font-size:12px;color:#bdc6d9;line-height:1.65;height:42px;overflow:hidden}.item-icon{display:block;width:64px;height:64px;flex:0 0 64px;background-repeat:no-repeat;background-size:1024px 1024px;box-shadow:0 0 0 1px #6880a2,0 0 0 3px #151d2b;background-color:#080c16;image-rendering:auto}.icon-monthly{background-image:url('/static/game-icon07.png');background-position:-320px -832px}.icon-paid-u-120{background-image:url('/static/game-icon03.png');background-position:-448px -256px}.icon-pass-premium{background-image:url('/static/game-icon49.png');background-size:2048px 2048px;background-position:-1600px -320px}.icon-pass-super{background-image:url('/static/game-icon49.png');background-size:2048px 2048px;background-position:-1536px -320px}.icon-custom-u{background-image:url('/static/game-store_slot_digivice.png');background-position:center;background-size:64px 64px;box-shadow:none}.product-bottom{margin-top:10px;display:flex;align-items:center;justify-content:space-between;gap:6px}.price{font-size:22px;color:#ffdc59;font-family:Arial,"Microsoft YaHei",sans-serif;font-weight:700;line-height:1.25;text-shadow:1px 2px 1px #000}.price small{font:11px "Microsoft YaHei",sans-serif;color:#c7bd95;margin-left:3px;font-weight:400}.product-actions{display:flex;gap:5px;align-items:center}.small-button{--btn-frame:0px;width:70px;height:30px;background-image:url('/static/game-store_btn_tab.png');background-size:100% 60px;font-size:12px}.small-button:hover:not(:disabled),.small-button:active:not(:disabled){--btn-frame:-30px}.buy-button{--btn-frame:0px;width:80px;height:34px;background-image:url('/static/game-store_btn_g1.png');background-size:100% 136px;font-size:12px}.buy-button:hover:not(:disabled){--btn-frame:-34px}.buy-button:active:not(:disabled){--btn-frame:-68px}.buy-button:disabled{--btn-frame:-102px;font-size:11px}.product-footnote{margin-top:8px;font-size:11px;color:#929eb6}.shop-aside{display:flex;flex-direction:column;gap:12px}.game-banner{display:block;width:min(100%,264px);height:auto;align-self:center;object-fit:contain;object-position:center;border:1px solid #7384a7}.info-panel{background:#0b101ddf;border:1px solid #737f9a;box-shadow:inset 0 0 0 2px #1c2434;padding:15px 17px}.info-panel h2,.info-panel h3,.rotation-note h2{font-size:14px;color:#f1d477;margin-bottom:11px}.info-panel p{font-size:12px;color:#bec9db;margin-bottom:12px}.info-panel p:last-child{margin-bottom:0}.info-panel strong{color:#f4eab8}.rotation-note{padding:12px 16px;background:#1b2438cc;border:1px solid #6f809e}.rotation-note h2{margin-bottom:4px}.rotation-note p{font-size:12px;color:#c6d2e5}.window-footer{min-height:43px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 22px;border-top:1px solid #8a9ab546;background:#111624a8;font-size:12px;color:#bbc3d2}.window-footer a{color:#d8d1a9}.page-footer{text-align:center;padding:20px;color:#798597;font-size:11px}
.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;padding-bottom:12px;border-bottom:1px solid #a2b3d04d}.panel-heading h2{color:#fff;text-shadow:1px 1px 2px #101521}.orders-list{display:grid;gap:12px}.order-card{padding:20px;background:#0b1122ec;border:1px solid #71819f}.order-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.status-label,.pill{font-size:12px;color:#f2d77e}.order-meta{font-size:12px;color:#a9bbd6;overflow-wrap:anywhere}.quiet{font-size:12px;color:#bcc6d9;line-height:1.7}.order-card>.quiet{margin:10px 0}.order-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.order-history{margin-top:14px;font-size:12px;color:#b9cbe2}.order-history p{margin:10px 0}.empty-state{text-align:center;min-height:230px;padding:48px 12px;background:#111a2bd9;border:1px solid #7687a2}.empty-state h3{font-size:18px;color:#e5edf8;margin-bottom:12px}.empty-state p{color:#a8bad4;font-size:13px;margin-bottom:20px}.orders-list+.quiet{margin:15px 0}.restore{padding:16px;background:#172032b8;border:1px solid #6d7e9a}.restore summary,.order-history summary{cursor:pointer;color:#e2d3a7}.restore form{display:flex;gap:14px;align-items:flex-end;margin-top:16px}.restore label{flex:1}.help-note{margin-top:18px;font-size:12px;color:#c0cce0}.help-note strong{color:#ecdfa8}.help-note p{margin-top:4px}
.custom-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:20px;align-items:start}.custom-price{color:#ffdf69;font-size:19px}.custom-intro ol{padding-left:22px;margin:0 0 20px}.custom-intro li{margin:0 0 18px;color:#dbe4f5;font-size:13px}.custom-intro li p{margin:6px 0}.custom-intro .game-button{margin-top:18px}.custom-form{background:#0e192aee;border:1px solid #7e90ad;padding:20px}.form-heading{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}.target-summary{white-space:pre-line;overflow-wrap:anywhere;font-size:12px;color:#9fb5d5;padding:10px 12px;background:#0c1422;border:1px solid #354f70;margin-bottom:18px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{display:block;font-size:13px;color:#d4e1f3;margin-bottom:14px;line-height:1.5}input:not([type=checkbox]):not([type=radio]),textarea{display:block;width:100%;min-width:0;margin-top:6px;padding:9px 10px;background:#111e32;border:1px solid #5b7294;border-radius:0;color:#edf4ff;box-shadow:inset 0 1px 3px #0008;font-size:13px;line-height:1.5}input::placeholder,textarea::placeholder{color:#8399b5;opacity:1}textarea{resize:vertical}.required{color:#f3c661}.optional{font-size:11px;color:#a4b6d0}.check-label{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.7;margin:15px 0}input[type=checkbox]{appearance:none;flex:0 0 19px;width:19px;height:19px;margin:1px 0 0;background:url('/static/game-checkbt.png') 0 0/19px 76px no-repeat;cursor:pointer}input[type=checkbox]:hover{background-position:0 -19px}input[type=checkbox]:checked{background-position:0 -57px}.form-message{font-size:12px;line-height:1.7;margin-top:10px;color:#f3cd7a;overflow-wrap:anywhere}.form-message:empty{display:none}fieldset{border:0;padding:0;margin:14px 0;display:flex;gap:10px}legend{font-size:13px;color:#bccce4;margin-bottom:8px}.radio-label{display:block;margin:0;position:relative}.radio-label input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}.radio-label span{display:flex;align-items:center;justify-content:center;width:90px;height:30px;background:url('/static/game-btn_radio2.png') center 0/100% 120px;color:#c5d9ef;font-size:12px}.radio-label input:checked+span{background-position:center -90px;color:#fff4cc}.radio-label input:focus-visible+span{outline:2px solid #ffd65b;outline-offset:3px}
.game-dialog{width:min(396px,calc(100% - 24px));max-height:calc(100dvh - 28px);padding:0;border:0;color:#dbe8fa;background:#001525 url('/static/game-store_pop_bg.png') center/100% 100% no-repeat;overflow:auto;box-shadow:0 16px 70px #000b}.game-dialog::backdrop{background:#030712c9}.dialog-heading{background:url('/static/game-store_pop_bg.png') center top/100% auto no-repeat;height:57px;display:flex;align-items:center;padding:0 58px 0 66px;color:#c8f3ff;font-size:17px;font-weight:600}.game-close{z-index:1;--close-frame:0px;position:absolute;right:11px;top:9px;width:42px;height:42px;border:0;padding:0;background:transparent url('/static/game-store_btn_close.png') center var(--close-frame)/42px 126px no-repeat}.game-close:hover{--close-frame:-42px}.game-close:active{--close-frame:-84px}.dialog-body{padding:15px 24px 26px}.dialog-body h2{font-size:19px;line-height:1.5;color:#fff}.detail-product{display:flex;align-items:center;gap:16px;margin:3px 0 22px}.detail-product .price{margin-top:5px}.detail-list{font-size:13px;color:#b8cce4;line-height:1.8;margin:16px 0 22px}.detail-list li{margin-bottom:9px}#detail-summary{font-size:14px;color:#e2e9f5}#detail-status{color:#d3ba7c}.dialog-actions{display:flex;justify-content:center;gap:10px;margin-top:22px}.checkout-price{margin:8px 0 14px}.checkout-contents{background:#0a2035;padding:12px;font-size:12px;color:#c2d3e9;line-height:1.7;margin-bottom:18px;border:1px solid #345778}.checkout-contents ul{margin:8px 0 0;padding-left:16px}.checkout-contents li{margin-top:5px}.toast{position:fixed;z-index:20;bottom:28px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);padding:12px 22px;background:#07243af5;border:1px solid #419cc7;color:#f3d889;box-shadow:0 5px 25px #0008;font-size:13px;text-align:center}
@media(min-width:1500px){.brand{height:170px}.brand img{width:320px;height:160px}.shop-window{margin-bottom:15px}}
@media(max-width:1000px){.shop-content{grid-template-columns:minmax(0,1fr)245px;gap:14px}.route-panel{padding:14px}.product-card{height:194px;padding:14px 10px}.product-top{grid-template-columns:56px minmax(0,1fr);gap:10px}.product-card .item-icon{transform:scale(.875);transform-origin:top left}.product-bottom{flex-wrap:wrap;margin-top:7px}.product-actions{margin-left:auto}.product-summary{height:42px}.product-footnote{margin-top:4px}.game-banner{height:auto}.info-panel{padding:14px}.custom-layout{grid-template-columns:210px minmax(0,1fr);gap:14px}}
@media(max-width:940px){.shop-content{grid-template-columns:1fr}.shop-aside{display:grid;grid-template-columns:1fr 1fr;gap:12px}.game-banner{display:none}.product-card{height:180px}.product-bottom{flex-wrap:nowrap;margin-top:10px}.product-top{grid-template-columns:64px minmax(0,1fr)}.product-card .item-icon{transform:none}.custom-layout{grid-template-columns:1fr}.custom-intro ol{display:flex;gap:24px;padding-left:20px}.custom-intro li{flex:1;margin-bottom:8px}.custom-intro>h3{margin-bottom:15px}.custom-intro .game-button{margin-top:10px}.form-row{gap:12px}.route-panel{min-height:550px}.brand{height:140px}.brand img{width:264px;height:132px}}
@media(max-width:560px){.shop-window{width:calc(100% - 16px)}.brand{height:124px}.brand img{width:232px;height:116px}.window-title{height:43px;padding:0 14px}.window-title h1{font-size:17px}.window-title>span{font-size:10px}.shop-nav{padding:8px 9px;gap:3px;min-height:58px}.nav-button{width:calc((100% - 6px)/3);font-size:13px}.notice{padding:9px 13px;font-size:11px}.route-panel{padding:12px;min-height:450px}.product-grid{grid-template-columns:1fr;gap:10px}.product-card{height:164px;padding:13px 12px}.product-top{grid-template-columns:64px minmax(0,1fr);gap:14px}.product-card h3{font-size:15px}.product-summary{height:auto;max-height:40px}.product-tag{margin-top:3px}.product-bottom{margin-top:8px}.product-footnote{margin-top:3px}.shop-aside{grid-template-columns:1fr}.info-panel p{margin-bottom:8px}.rotation-note{padding:12px 14px}.window-footer{padding:10px 13px;align-items:flex-start;font-size:10px;gap:12px}.window-footer a{text-align:right}.panel-heading{gap:8px}.panel-heading h2{font-size:17px}.panel-heading .game-button{width:110px}.order-card{padding:15px}.order-actions{gap:6px}.order-actions .game-button{width:calc(50% - 3px);font-size:12px}.restore{padding:12px}.restore form{display:block}.restore label{margin-bottom:10px}.custom-form{padding:15px}.custom-intro ol{display:block}.custom-intro li{margin-bottom:12px}.custom-intro li:last-child{margin-bottom:0}.form-row{grid-template-columns:1fr;gap:0}.custom-price{font-size:16px}.game-dialog{max-height:calc(100dvh - 20px)}.dialog-body{padding:14px 20px 22px}.game-button{touch-action:manipulation}.page-footer{padding:15px}.price{font-size:22px}}
