@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&display=swap');
:root{--blue:#287cf3;--ink:#293143;--muted:#77829a;--bg:#eef5ff}*{box-sizing:border-box}html,body{margin:0;background:#dfe9f8;color:var(--ink);font-family:'Noto Sans SC',sans-serif}button,input{font:inherit}.app-shell{width:100%;max-width:390px;min-height:100vh;margin:auto;background:linear-gradient(#edf5ff 0%,#e8f2ff 100%);position:relative;padding-bottom:76px;overflow:hidden}.topbar{height:58px;background:#fff;display:flex;align-items:center;padding:0 12px;gap:13px;white-space:nowrap;overflow:hidden;box-shadow:0 1px 2px #bad0e8}.brand{display:flex;align-items:center;gap:6px;color:var(--ink);text-decoration:none;flex:none}.brand-mark,.tip-logo{display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#2b8df7,#2870e9);font-size:24px;font-weight:900;width:30px;height:30px;border-radius:9px}.brand b{display:block;font-size:16px;line-height:16px}.brand small,.telegram small{display:block;color:#69768d;font-size:8px;line-height:10px}.telegram{display:flex;align-items:center;color:#2582ee;gap:5px;flex:none}.telegram b{display:block;font-size:9px;color:#4a596f}.page-title{font-size:16px}.top-actions{margin-left:auto;display:flex;gap:13px;color:#728099}.page-content{padding:0 0}.hero{height:256px;overflow:hidden;background:#eaf2fc;position:relative}.hero img{width:100%;height:100%;object-fit:cover;object-position:center}.hero i{position:absolute;bottom:11px;left:calc(50% - 15px);width:30px;height:4px;background:#fff;border-radius:5px}.notice{height:45px;margin:10px 0 0;padding:0 19px;border:1px solid #dfe8f6;border-radius:24px;background:#f7fbff;display:flex;align-items:center;gap:9px;color:#2680ee;box-shadow:0 2px 7px #d5e3f1}.notice span{font-size:12px;color:#74819a}.account-card{margin:9px 12px 14px;min-height:110px;border-radius:18px;background:#fff;display:flex;align-items:center;padding:16px 15px 14px 19px;box-shadow:0 3px 2px #b5d4eb}.account-card h1{font-size:24px;margin:0 0 3px;font-weight:700}.account-card a{color:#74809a;text-decoration:none;font-size:18px}.contact-list{margin-left:auto;display:flex;gap:10px;border-left:1px dashed #d8dfeb;padding-left:14px}.contact-list a{display:flex;flex-direction:column;align-items:center;color:#2586ef;gap:4px;font-size:12px}.contact-list a svg{width:39px;height:39px;padding:8px;background:#2992f6;color:#fff;border-radius:50%}.contact-list small{font-size:11px;color:#66738a}.contact-list b{color:#277df2}.account-more{color:#9ba9bf;margin-left:4px}.category-grid{margin:0 12px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:184px 106px 106px;grid-gap:10px;gap:10px}.category-card{position:relative;border-radius:18px;overflow:hidden;text-decoration:none;color:var(--ink);background:linear-gradient(145deg,#effaff,#dcefff);box-shadow:0 3px 2px #afd0e9;padding:18px}.category-card img{position:absolute;right:-5px;bottom:0;width:56%;height:80%;object-fit:contain;opacity:.93}.category-card.large{grid-row:span 2;padding:19px 17px;display:flex;flex-direction:column;justify-content:flex-end}.category-card.large img{width:100%;height:70%;right:0;top:8px}.category-card.wide{padding:17px 19px}.category-card h2{position:relative;margin:0;font-size:25px;z-index:1}.category-card p{position:relative;margin:5px 0 0;font-size:13px;line-height:1.45;color:#647492;max-width:65%;z-index:1}.category-card .en{position:absolute;bottom:8px;left:14px;font-size:23px;font-weight:900;color:#c8e5fb;z-index:0}.category-card.small{padding:13px 8px;display:flex;justify-content:flex-end;align-items:center;flex-direction:column}.category-card.small img{width:75%;height:70%;top:0;bottom:auto;right:12%}.category-card.small h2{font-size:18px}.home-spacer{height:350px}.install-tip{margin:0 auto 16px;width:270px;height:62px;border-radius:34px;background:linear-gradient(120deg,#398afa,#2875ec);color:#fff;display:flex;align-items:center;gap:10px;padding:8px 12px;font-size:16px;box-shadow:0 5px 14px #b0cdf4}.install-tip .tip-logo{background:#fff;color:#287cf3;width:44px;height:44px}.install-tip svg{margin-left:auto}.customer-float{position:fixed;right:max(calc((100vw - 390px)/2 + 10px),12px);bottom:90px;background:#2f84f5;color:#fff;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;text-decoration:none;z-index:4}.customer-float span{position:absolute;top:42px;font-size:9px;white-space:nowrap}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(390px,100vw);height:76px;background:#fff;display:flex;justify-content:space-around;align-items:flex-end;padding-bottom:9px;z-index:3;box-shadow:0 -3px 12px #d2e2f4}.bottom-nav a{color:#9ca8bf;text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12px;min-width:52px}.bottom-nav a.active{color:#377ef0}.bottom-nav .recharge{position:relative;margin-top:-31px;width:68px;height:68px;border-radius:50%;justify-content:center;background:linear-gradient(145deg,#477efb,#2265ef);border:3px solid #72c6ff;color:#fff;box-shadow:0 4px 15px #7aa8e9}.bottom-nav .recharge span{font-size:12px}.games-page,.me-page{padding:20px 14px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:17px}.section-heading span{font-size:10px;color:#4a8cf2;letter-spacing:2px}.section-heading h1{margin:2px 0 0;font-size:26px}.chips,.operator-row{display:flex;gap:8px;overflow:auto;padding-bottom:8px}.chips button,.operator-row button,.amounts button{border:0;border-radius:18px;background:#fff;color:#6d7890;padding:8px 14px;white-space:nowrap;font-size:12px}.chips button.selected,.operator-row button.selected{background:#2d7df1;color:#fff}.operator-row button{background:#e1edff;font-size:11px}.games-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px;margin-top:11px}.game-item{border:0;text-align:left;padding:0;background:#fff;border-radius:15px;overflow:hidden;color:var(--ink);box-shadow:0 3px 8px #cbdced}.game-art{height:118px;display:grid;place-items:center;color:#fff}.art-0{background:linear-gradient(135deg,#54a2ff,#2664e6)}.art-1{background:linear-gradient(135deg,#8bc7ff,#487ef2)}.art-2{background:linear-gradient(135deg,#7c9bff,#5545d8)}.art-3{background:linear-gradient(135deg,#53d5e1,#1a8ed5)}.game-item b,.game-item small{display:block;padding:9px 10px 0}.game-item small{padding-top:3px;padding-bottom:11px;color:#8994a9;font-size:10px}.overlay{position:fixed;inset:0;background:#11284a55;z-index:8;display:grid;place-items:center}.maintenance{width:280px;background:#fff;border-radius:20px;text-align:center;padding:24px;box-shadow:0 12px 40px #1b477355}.maintenance span{display:grid;place-items:center;margin:auto;width:44px;height:44px;border-radius:50%;background:#eaf2ff;color:#2d7df1;font-size:25px;font-weight:900}.maintenance h2{margin:12px 0 4px}.maintenance p{color:#7b879b;font-size:13px}.primary{border:0;background:linear-gradient(100deg,#4b96ff,#2872ed);color:#fff;border-radius:25px;height:44px;width:100%;font-weight:700}.maintenance button{border:0;background:#2d7df1;color:#fff;border-radius:22px;padding:10px 34px}.profile-card,.menu-card{background:#fff;border-radius:20px;box-shadow:0 3px 8px #cbdced;padding:18px;margin-bottom:15px}.profile-card{display:flex;align-items:center;gap:12px}.avatar{width:54px;height:54px;border-radius:18px;background:linear-gradient(145deg,#378eff,#2764e5);color:#fff;display:grid;place-items:center;font-size:18px;font-weight:900}.profile-card h1{font-size:19px;margin:0}.profile-card p{margin:4px 0 0;color:#8994a9;font-size:12px}.profile-btn{margin-left:auto;color:#fff;background:#2d7df1;border-radius:18px;padding:7px 15px;text-decoration:none;font-size:12px}.menu-card>a{display:flex;align-items:center;gap:12px;padding:15px 3px;border-bottom:1px solid #edf1f7;color:var(--ink);text-decoration:none;font-size:14px}.menu-card>a:last-child{border:0}.menu-card>a svg:last-child{margin-left:auto;color:#aab5c7}.auth-page{min-height:100vh;background:linear-gradient(160deg,#eaf4ff,#dceaff);padding:34px 18px}.auth-brand{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--ink);text-decoration:none;font-size:22px}.auth-card{background:#fff;border-radius:24px;margin:30px auto 0;padding:24px 20px;max-width:360px;box-shadow:0 8px 25px #bbd3eb}.auth-tabs{display:flex;background:#edf4ff;border-radius:22px;padding:4px;margin-bottom:24px}.auth-tabs a{flex:1 1;text-align:center;padding:8px;border-radius:19px;color:#78869c;text-decoration:none;font-size:14px}.auth-tabs a.on{background:#fff;color:#2877ee;box-shadow:0 2px 6px #c6d9ee}.auth-card h1{font-size:25px;margin:0 0 18px}.auth-card input:not([type=checkbox]){display:block;width:100%;height:46px;border:1px solid #e1e8f2;border-radius:12px;padding:0 13px;margin:10px 0;outline:none}.auth-card input:focus{border-color:#4a93f4}.agree{display:flex;gap:6px;align-items:center;color:#8994a9;font-size:11px;margin:14px 0}.agree input{accent-color:#2d7df1}.form-message{text-align:center;color:#2877ee;font-size:12px}.auth-switch{text-align:center;color:#8994a9;font-size:12px}.auth-switch a{color:#2877ee}.simple-page{text-align:center;padding:50px 16px}.simple-icon{display:grid;place-items:center;margin:auto;width:90px;height:90px;border-radius:50%;background:#2d7df1;color:#fff;font-size:44px;box-shadow:0 6px 20px #8eb4ed}.simple-page h1{margin:17px 0 5px}.simple-page p,.simple-page small{color:#8491a6;font-size:12px}.amounts{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin:26px 0}.amounts button{border:1px solid #d5e5f8;color:#2877ee;font-size:16px}.amounts button:focus{background:#2d7df1;color:#fff}

.top-actions{display:none}.account-more{border:1px solid #aab7c9;border-radius:50%;padding:4px;transform:rotate(90deg);flex:none}.page-title{margin-left:auto;font-size:14px;color:#293143}.logged-name{font-size:18px!important;color:#69758d}.balance{display:block;font-size:25px;margin-top:7px}.balance span{font-size:19px;color:#a4afbf}
.game-inner{padding:0!important;display:grid;grid-template-columns:90px 1fr;min-height:calc(100vh - 58px);background:#f5f9ff}.game-sidebar{background:#fff;padding:8px 0 90px;display:flex;flex-direction:column}.game-sidebar button{position:relative;height:54px;border:0;background:#fff;color:#71809d;font-size:16px}.game-sidebar button.active{color:#2878f4;font-weight:700}.game-sidebar button.active:before{content:'';position:absolute;left:0;top:10px;width:4px;height:34px;border-radius:0 4px 4px 0;background:#2c79f4}.game-sidebar em{position:absolute;top:-4px;left:29px;background:#ff3b25;color:#fff;border-radius:8px 8px 8px 0;padding:1px 5px;font-size:9px;font-style:normal}.game-results{padding:12px 9px 90px;overflow:hidden}.inner-title{display:flex;justify-content:space-between;align-items:center;font-weight:700;margin-bottom:8px}.game-results .operator-row{display:none}.game-results .games-grid{gap:12px 10px;margin:0}.game-results .game-item{border:1px solid #dfe5ef;border-radius:13px;box-shadow:none;text-align:center}.game-results .game-art{height:118px}.game-results .image-art img{width:100%;height:100%;object-fit:cover}.game-results .game-item b{font-size:13px;padding:8px 4px 10px;min-height:42px;display:flex;align-items:center;justify-content:center}
.member-page{padding:18px 14px 95px!important;background:#f5f9ff;min-height:calc(100vh - 58px)}.member-head{display:flex;align-items:center;gap:12px;padding:2px 0 15px}.portrait{width:55px;height:55px;border-radius:50%;border:2px solid #2878f4;background:linear-gradient(145deg,#78b6ff,#2468e9);display:grid;place-items:center;color:#fff;font-weight:900;position:relative}.portrait i{position:absolute;right:-3px;bottom:-3px;background:#fff;border:1px solid #2878f4;color:#2878f4;border-radius:50%;font-size:11px;width:19px;height:19px;display:grid;place-items:center}.member-head h1{font-size:17px;margin:0}.member-head p{font-size:12px;color:#71809d;margin:4px 0}.member-tools{margin-left:auto;display:flex;gap:18px}.wallet-panel,.income-panel,.service-panel{background:#fff;border-radius:17px;padding:13px;margin-bottom:13px}.panel-title{display:flex;justify-content:space-between;align-items:center}.panel-title h2,.service-panel h2{font-size:16px;margin:0 0 9px}.panel-title h2 small{font-size:12px;color:#71809d;font-weight:400}.panel-title button{border:0;background:transparent;color:#437cf0}.balance-card{height:82px;border-radius:10px;background:linear-gradient(145deg,#3f92fb,#2475ef);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}.balance-card span{font-size:13px;font-weight:700}.balance-card strong{font-size:25px}.balance-card small{font-size:20px}.money-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:12px}.money-actions button{height:35px;border:0;background:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px}.money-actions button+button{border-left:1px solid #e3e8f0}.money-actions svg{color:#4592f5}.income-grid{display:grid;grid-template-columns:repeat(3,1fr);background:#f6f8fd;border-radius:10px;padding:9px 0}.income-grid div{display:flex;flex-direction:column;align-items:center;border-right:1px solid #e6eaf1}.income-grid div:last-child{border:0}.income-grid b{font-size:17px}.income-grid span{font-size:11px;color:#71809d}.service-panel>div{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:15px 3px;gap:15px 3px}.service-panel button{border:0;background:#fff;color:#293143;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:11px}.service-panel svg{color:#a9bbe0}
.auth-brand-image{max-height:52px;width:auto;object-fit:contain}

.portrait img{width:100%;height:100%;border-radius:50%;object-fit:cover}.money-actions a{height:35px;border:0;background:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;color:#293143}.money-actions a+a{border-left:1px solid #e3e8f0}.money-actions a svg{color:#4592f5}.service-panel a{border:0;background:#fff;color:#293143;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:11px;text-decoration:none}.service-panel a svg{color:#a9bbe0}.member-subpage{min-height:calc(100vh - 76px);padding:0 14px;background:#f5f9ff}.member-subpage header{height:58px;display:grid;grid-template-columns:32px 1fr 32px;align-items:center}.member-subpage header h1{text-align:center;font-size:17px;margin:0}.member-subpage header>svg{transform:rotate(180deg)}.subpage-card{margin-top:22px;background:#fff;border-radius:18px;padding:35px 20px;text-align:center;box-shadow:0 4px 14px #cdddf0}.subpage-card>svg{color:#3c88f4;background:#eaf3ff;border-radius:50%;padding:11px;width:66px;height:66px}.subpage-card h2{margin:16px 0 6px}.subpage-card p{font-size:13px;line-height:1.7;color:#7c879b;margin:0 auto 22px;max-width:240px}.subpage-card button{border:0;border-radius:22px;background:#2d7df1;color:#fff;padding:10px 24px}
.game-results .game-item{display:flex;flex-direction:column;min-height:157px}.game-results .game-item .game-art{flex:0 0 118px}.game-results .game-item b{position:static;width:100%;background:#fff;line-height:1.2;overflow:visible}

.back-button{width:36px;height:36px;border:0;background:transparent;color:#293143;display:grid;place-items:center;padding:0;cursor:pointer}.back-button svg{transform:rotate(180deg)}.auth-page>.back-button{position:absolute;left:14px;top:20px}.simple-page>.back-button{position:absolute;left:12px;top:70px}
.game-sidebar a{position:relative;height:54px;color:#71809d;font-size:16px;text-decoration:none;display:flex;align-items:center;justify-content:center}.game-sidebar a.active{color:#2878f4;font-weight:700}.game-sidebar a.active:before{content:'';position:absolute;left:0;top:10px;width:4px;height:34px;border-radius:0 4px 4px 0;background:#2c79f4}

.member-form{background:#fff;border-radius:16px;padding:15px;text-align:left}.member-form h2{font-size:17px;margin:0 0 12px}.member-form label{display:block;color:#65738d;font-size:12px;margin:10px 0}.member-form input{display:block;width:100%;height:42px;border:1px solid #e0e7f1;border-radius:10px;padding:0 12px;margin-top:5px;outline:none}.member-form input:focus{border-color:#3284f3}.member-form>button{width:100%;height:42px;border:0;border-radius:22px;background:#2d7df1;color:#fff;margin-top:10px}.member-form>p{text-align:center;color:#2d7df1;font-size:12px}.activity-detail{min-height:calc(100vh - 76px);padding:0 14px;background:#f5f9ff}.activity-detail header{height:58px;display:grid;grid-template-columns:32px 1fr 32px;align-items:center}.activity-detail header h1{text-align:center;font-size:17px;margin:0}.detail-white{background:#fff;border-radius:18px;padding:22px 18px;box-shadow:0 4px 14px #cdddf0}.detail-white h2{font-size:20px;margin:0 0 16px}.detail-white p{font-size:13px;line-height:1.8;color:#71809d}.detail-white button{border:0;border-radius:22px;background:#2d7df1;color:#fff;padding:10px 30px}

.brand-image{width:30px;height:30px;border-radius:8px;object-fit:contain}.admin-page{min-height:100vh;background:#edf5ff;padding:30px 16px;color:#293143}.admin-card{max-width:620px;margin:auto;background:#fff;border-radius:22px;padding:25px;box-shadow:0 10px 30px #bdd1ea}.admin-head{display:flex;justify-content:space-between;align-items:start}.admin-head span{font-size:10px;color:#3d86f5;letter-spacing:2px}.admin-head h1{margin:4px 0 0;font-size:25px}.admin-head a{color:#2878f4;text-decoration:none;font-size:13px}.admin-help{color:#7b879b;font-size:13px;background:#f3f7fd;border-radius:10px;padding:11px;margin:20px 0}.admin-card label{display:block;font-size:13px;color:#596a86;margin:16px 0}.admin-card input,.admin-card textarea{display:block;width:100%;margin-top:7px;border:1px solid #dce5f0;border-radius:10px;padding:11px 12px;outline:none;color:#293143;background:#fbfdff}.admin-card textarea{min-height:82px;resize:vertical}.admin-card input:focus,.admin-card textarea:focus{border-color:#438df4}.admin-save{border:0;width:100%;height:44px;border-radius:22px;background:#2d7df1;color:#fff;font-weight:700;margin-top:7px}.admin-message{text-align:center;color:#2878f4;font-size:13px}.logo-preview{padding:12px;background:#f3f7fd;border-radius:10px}.logo-preview img{max-height:55px;max-width:180px}
.admin-section-title{font-size:15px;color:#293143;margin:28px 0 4px;padding-bottom:8px;border-bottom:1px dashed #dce5f0;display:flex;align-items:center;justify-content:space-between}.admin-section-title:first-of-type{margin-top:8px}.slide-add{border:0;background:#eaf3ff;color:#2d7df1;border-radius:14px;padding:5px 14px;font-size:12px;cursor:pointer}.slide-add:hover{background:#dcebff}.upload-field{margin:14px 0}.upload-label{display:block;font-size:13px;color:#596a86;margin-bottom:7px}.upload-row{display:flex;gap:8px;align-items:center}.upload-row input{flex:1 1;min-width:0;margin-top:0!important}.upload-btn{flex:none;border:0;background:#2d7df1;color:#fff;border-radius:10px;padding:9px 16px;font-size:13px;cursor:pointer;white-space:nowrap}.upload-btn:disabled{opacity:.6;cursor:wait}.upload-btn-sm{padding:6px 12px;font-size:12px}.upload-preview{padding:10px;background:#f3f7fd;border-radius:10px;margin-top:8px}.upload-preview img{max-height:70px;max-width:220px;display:block;object-fit:contain}.slide-row{display:flex;gap:10px;align-items:flex-start;margin:12px 0;padding:12px;background:#f8fbff;border:1px solid #e6eef8;border-radius:12px}.slide-index{flex:none;width:22px;height:22px;border-radius:50%;background:#2d7df1;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700;margin-top:8px}.slide-fields{flex:1 1;display:flex;flex-direction:column;gap:8px}.slide-fields .upload-row input{margin-top:0!important}.slide-remove{flex:none;border:0;background:#ffe9e6;color:#e5484d;width:26px;height:26px;border-radius:50%;cursor:pointer;font-size:13px;margin-top:6px;display:grid;place-items:center}.slide-remove:hover{background:#ffd9d5}

.subpage-content{padding-bottom:95px}.feature-tabs{display:flex;gap:8px;margin-bottom:12px}.feature-tabs button{border:0;background:#fff;color:#71809d;border-radius:19px;padding:8px 15px}.feature-tabs button.on{background:#2d7df1;color:#fff}.empty-panel{min-height:180px;background:#fff;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#71809d;gap:7px}.empty-panel b{color:#293143}.fund-summary{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border-radius:16px;padding:17px 4px;margin-bottom:12px}.fund-summary div{display:flex;flex-direction:column;align-items:center;border-right:1px solid #e7ebf2}.fund-summary div:last-child{border:0}.fund-summary span{font-size:11px;color:#71809d}.fund-summary b{font-size:17px}.guide-list,.news-list,.task-list{display:flex;flex-direction:column;gap:10px}.guide-list>div,.news-list article,.task-list article,.share-card{background:#fff;border-radius:15px;padding:15px}.guide-list>div{display:flex;align-items:center;gap:12px}.guide-list b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e8f2ff;color:#2d7df1}.news-list article{position:relative}.news-list article>b{display:block}.news-list article>span{position:absolute;right:15px;top:15px;color:#9ba6b8;font-size:10px}.news-list article p{font-size:12px;color:#71809d;margin:6px 0 0}.share-card{margin-bottom:11px}.share-card span{font-size:12px;color:#71809d}.share-card strong{display:block;font-size:25px;color:#2d7df1;margin:8px 0}.share-card p{word-break:break-all;font-size:12px}.share-card button,.task-list button{border:0;background:#2d7df1;color:#fff;border-radius:18px;padding:7px 14px}.task-list article{display:flex;align-items:center;justify-content:space-between}.task-list article div{display:flex;flex-direction:column;gap:4px}.task-list span{font-size:11px;color:#71809d}.coming-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.coming-grid div{height:105px;background:#fff;border-radius:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.coming-grid span{font-size:11px;color:#9aa5b7}.feature-toast{position:fixed;left:50%;bottom:100px;transform:translateX(-50%);background:#293143;color:#fff;border-radius:20px;padding:9px 16px;font-size:12px;z-index:10}

.activity-hero{display:block;width:100%;border-radius:17px;object-fit:cover;margin-bottom:12px}.detail-white h3{font-size:14px;margin:16px 0 5px}.detail-white ol{padding-left:20px;color:#71809d;font-size:13px;line-height:1.9}.empty{background:#fff;border-radius:16px;padding:50px 0;text-align:center;color:#8996aa}

.detail-list{padding:18px 14px 95px;background:#f5f9ff;min-height:calc(100vh - 58px)}.detail-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}.detail-heading .back-button{margin-left:-8px}.detail-heading span{display:block;font-size:9px;color:#4389f1;letter-spacing:2px}.detail-heading h1{margin:2px 0 0;font-size:20px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.detail-game{border:0;border-radius:15px;background:#fff;overflow:hidden;padding:0;text-align:left;color:#293143;box-shadow:0 3px 10px #cddded}.detail-art{height:115px;display:grid;place-items:center;color:#fff}.detail-game b,.detail-game small{display:block;padding:9px 11px 0}.detail-game small{padding-top:3px;padding-bottom:11px;color:#7e8ba2;font-size:10px}
.hero-dots{position:absolute;bottom:9px;left:0;right:0;display:flex;justify-content:center;gap:6px}.hero-dots button{width:20px;height:4px;border:0;border-radius:4px;background:#fff8;padding:0}.hero-dots button.active{background:#fff}

.script-input{min-height:140px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}

/* ── 修复 1：彻底禁止整页左右滑动 ──────────────────────────────
   原来只靠 .app-shell{overflow:hidden} 遮住溢出，但被 body 直接接管的
   元素（后台注入的广告/统计代码就是 append 到 body 的）不受它约束，
   会把文档撑宽 → 整页可横向拖动，且 shell 看起来不居中。            */
html,body{width:100%;max-width:100%;overflow-x:hidden}
html{overscroll-behavior-x:none}

/* 后台注入的脚本容器：允许显示内容，但不允许撑宽页面 */
#site-ad-script,#site-analytics-script{max-width:100%;overflow:hidden}

/* ── 修复 2：移除首页底部「添加到主屏幕」横幅与「24H客服」悬浮球 ──
   （连同它们的 180px 占位空白 .home-spacer 一起删除）              */

/* ── 修复 3：账户卡片错位 ────────────────────────────────────
   ① 左侧「登录 / 注册后查看」18px 过大，折行后第二个字掉到下一行，
     还会顶到中间的虚线分隔；
   ② 右侧 TG 项是两行、代理/客服是一行，三个标签高度不齐；
   ③ 左块没有 min-width:0，flex 下无法正常收缩。                  */
.account-card{gap:12px;align-items:center}
.account-card>div:first-child{flex:1 1 auto;min-width:0}
.account-card h1{font-size:22px;line-height:1.2;white-space:nowrap}
.account-card>div:first-child a{font-size:13px;line-height:1.4;display:block}
.contact-list{flex:none;gap:11px;align-items:flex-start;padding-left:13px}
.contact-list a{gap:5px}
.contact-list small{display:block;text-align:center;line-height:13px;min-height:26px;white-space:nowrap}
.contact-list b{display:block}

/* ── 修复 4：首页 Banner 被裁掉 34% ───────────────────────────
   图片实际 1905x825（比例 2.31），容器却写死 height:256px（比例 1.52），
   object-fit:cover 把左右各裁掉一大块，"每天8888""真金白银"全被切断。
   改为按图片比例自适应高度，整张 banner 完整显示。               */
.hero{height:auto;aspect-ratio:1905/825;background:#eaf2fc}
.hero img{display:block;width:100%;height:100%;object-fit:contain}

/* ── 修复 5：后台登录门 ─────────────────────────────────────── */
.admin-lock{max-width:420px}
.admin-head-actions{display:flex;align-items:center;gap:12px}
.admin-lock-btn{border:1px solid #d5e0f0;background:#fff;color:#6d7890;border-radius:16px;padding:6px 14px;font-size:12px;cursor:pointer}
.admin-lock-btn:hover{border-color:#2d7df1;color:#2d7df1}

/* ── PWA 安装引导（components/PwaInstall.tsx）────────────────────
   横幅贴在底部导航（76px）上方；引导弹层是从底部升起的半屏卡片，
   iOS Safari 的「分享」按钮就在屏幕最下方，所以箭头朝下正好指到它。 */

.pwa-banner{position:fixed;bottom:86px;left:50%;transform:translateX(-50%);z-index:6;
  width:min(366px,calc(100vw - 24px));display:flex;align-items:center;gap:11px;
  background:#fff;border-radius:20px;padding:11px 12px;
  box-shadow:0 8px 26px #9dbde5a6;animation:pwa-rise .32s ease-out}
.pwa-banner>img{flex:none;width:44px;height:44px;border-radius:13px;box-shadow:0 3px 9px #b9d0ee}
.pwa-banner-text{flex:1 1;min-width:0}
.pwa-banner-text b{display:block;font-size:14px;line-height:18px}
.pwa-banner-text small{display:block;margin-top:2px;font-size:11px;color:#8994a9;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pwa-install-btn{flex:none;border:0;height:34px;padding:0 17px;border-radius:18px;font-size:13px;
  font-weight:700;color:#fff;background:linear-gradient(100deg,#4b96ff,#2872ed);box-shadow:0 3px 10px #a9c8f3}
.pwa-close{position:absolute;top:-7px;right:-5px;width:22px;height:22px;padding:0;border:0;border-radius:50%;
  display:grid;place-items:center;background:#8f9db5;color:#fff;box-shadow:0 2px 6px #00000026}

.pwa-mask{position:fixed;inset:0;z-index:9;background:#11284a66;
  display:flex;align-items:flex-end;justify-content:center;animation:pwa-fade .2s ease-out}
.pwa-sheet{position:relative;width:min(390px,100vw);background:#fff;border-radius:24px 24px 0 0;
  padding:22px 20px calc(18px + env(safe-area-inset-bottom,0px));
  box-shadow:0 -6px 30px #1b477333;animation:pwa-up .3s cubic-bezier(.2,.8,.3,1)}
.pwa-sheet-close{position:absolute;top:15px;right:15px;padding:4px;border:0;line-height:0;
  background:transparent;color:#a9b4c6}
.pwa-sheet-head{display:flex;align-items:center;gap:13px;margin-bottom:19px}
.pwa-sheet-head img{width:54px;height:54px;border-radius:16px;box-shadow:0 4px 12px #b9d0ee}
.pwa-sheet-head h2{margin:0;font-size:19px}
.pwa-sheet-head p{margin:4px 0 0;font-size:12px;color:#8994a9}

.pwa-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:13px}
.pwa-steps li{display:flex;gap:11px;font-size:14px;line-height:23px}
.pwa-steps i{flex:none;width:24px;height:24px;margin-top:1px;border-radius:50%;display:grid;place-items:center;
  background:#e8f2ff;color:#2d7df1;font-style:normal;font-weight:700;font-size:12px}
.pwa-steps b{color:#2877ee}
.pwa-steps svg{vertical-align:-4px;margin:0 2px;color:#2877ee}

.pwa-note{margin:15px 0 0;font-size:11px;color:#9aa5b7}
.pwa-point{margin-top:15px;display:flex;flex-direction:column;align-items:center;gap:1px;
  color:#2877ee;font-size:12px;animation:pwa-bounce 1.5s ease-in-out infinite}
.pwa-point svg{transform:rotate(90deg)}
.pwa-copy{margin-top:17px;width:100%;height:42px;border:1px solid #cfe1fa;border-radius:22px;
  background:#f3f8ff;color:#2877ee;font-size:13px}
.pwa-later{margin-top:13px;width:100%;height:40px;border:0;background:transparent;color:#9aa5b7;font-size:13px}

@keyframes pwa-rise{from{opacity:0;transform:translate(-50%,16px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes pwa-fade{from{opacity:0}to{opacity:1}}
@keyframes pwa-up{from{transform:translateY(100%)}to{transform:none}}
@keyframes pwa-bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}

@media (prefers-reduced-motion:reduce){
  .pwa-banner,.pwa-mask,.pwa-sheet,.pwa-point{animation:none}
}

