/* 参考页白蓝配色。页面图片及按钮均为HTML元素，未用整页截图覆盖。 */
:root{color-scheme:light;--blue:#10669a;--ink:#315b70;--muted:#8da8b6;--outside:#dfe9ee;--line:#d3e1e8;--page:#f6fbfe;--width:500px;font-family:Arial,"Microsoft YaHei","PingFang SC",sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{min-height:100%;background:var(--outside);-webkit-text-size-adjust:100%}body{margin:0;min-width:280px;color:var(--ink);font-size:15px;line-height:1.4}a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}img{display:block;max-width:100%;height:auto}button{font:inherit}body a:active{opacity:.85}.site-shell{width:min(100%,var(--width));min-height:100dvh;margin:0 auto;padding-bottom:82px;background:var(--page) url("../assets/home-bg.avif") center top/100% auto no-repeat}.hero{position:relative;width:100%;aspect-ratio:1080/490;overflow:hidden}.hero-slider{position:absolute;inset:0}.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .35s ease}.hero-slide.is-active{opacity:1;visibility:visible}.hero-slide img{width:100%;height:100%;object-fit:cover}.site-header{position:absolute;inset:0 0 auto;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:8px 14px}.brand{display:flex;align-items:center;gap:8px}.brand>img{width:145px;aspect-ratio:336/100;object-fit:contain}.header-tools{display:flex;gap:13px}.header-tools a{display:block;width:26px;height:26px}.header-tools img{width:100%;height:100%}.banner-dots{position:absolute;left:0;right:0;bottom:11px;z-index:2;display:flex;justify-content:center;gap:8px}.banner-dots a{display:block;width:7px;height:7px;border-radius:50%;background:#e4eff6}.banner-dots a.is-active{background:#6a8d9f}.home-content{padding:0 12px}.announcement{display:flex;align-items:center;gap:7px;height:33px;margin:5px 0 7px;padding:3px 8px;background:#ffffffa8;border-radius:14px;font-size:12px}.announcement>span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.announcement-icon{color:#91acba;transform:rotate(0);font-size:16px}.announcement>img{flex:0 0 24px;width:24px;height:21px;object-fit:contain}.quick-actions{display:grid;grid-template-columns:1.2fr 1.2fr 1fr 1fr 1fr .8fr;gap:7px;align-items:center;margin:8px 0 13px}.account-button{display:flex;justify-content:center;align-items:center;min-height:34px;border:1px solid #82a9bd;border-radius:4px;font-size:14px;white-space:nowrap}.account-button.register{border-color:var(--blue);background:var(--blue);color:#fff}.quick-link{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:12px;white-space:nowrap}.quick-link img{width:34px;height:30px;object-fit:contain}.game-lobby{display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,1fr);gap:11px}.game-column{display:flex;flex-direction:column;gap:11px;min-width:0}.game-panel{padding:0 8px 8px;border-radius:15px;background:#ffffff80;min-width:0}.panel-heading{position:relative;display:flex;align-items:center;justify-content:center;min-height:28px;gap:8px;font-size:15px}.panel-heading>img{position:absolute;right:3px;width:14px;height:14px;object-fit:contain}.game-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.game-pair a{min-width:0}.game-pair img{width:100%;aspect-ratio:1;object-fit:contain}.hot-panel{padding:0 10px 8px}.hot-game{position:relative;display:block;overflow:hidden;border-radius:11px}.hot-poster{width:100%;aspect-ratio:300/400;object-fit:cover}.hot-label{position:absolute;top:5px;left:5px;width:50px;height:41px;object-fit:contain}.favorite{position:absolute;top:6px;right:6px;width:24px;height:24px}.hot-game>span{position:absolute;left:0;right:0;bottom:0;padding:27px 2px 9px;text-align:center;color:#fff;font-size:15px;background:linear-gradient(transparent,#145c83cc);font-weight:600}.activity-panel{display:block;overflow:hidden;border-radius:12px;background:#ffffffa8}.activity-panel>img{width:100%;height:auto}.activity-panel>span{display:flex;justify-content:space-between;gap:4px;padding:9px 8px;font-size:13px}.activity-panel>span>span{font-size:12px;color:var(--blue)}.bottom-nav{position:fixed;z-index:10;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,var(--width));height:70px;padding:8px 4px max(4px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);background:#fff;box-shadow:0 -3px 13px #98b9cc29;border-radius:14px 14px 0 0}.bottom-nav>a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;font-size:13px;color:var(--muted)}.bottom-nav>a.active{color:var(--blue)}.bottom-nav img{width:29px;height:29px;object-fit:contain}.bottom-nav .deposit img{width:38px;height:34px;margin-top:-4px}.deposit-promo{position:absolute;top:-13px;left:50%;transform:translateX(-50%);z-index:1;padding:1px 5px;white-space:nowrap;background:#e24c4c;color:#fff;border-radius:5px;font-size:10px}.promotion-dialog{width:calc(100vw - 46px);max-width:434px;padding:0;border:0;border-radius:17px;background:#fafdff;color:var(--ink);box-shadow:0 18px 70px #0b38565c}.promotion-dialog::backdrop{background:#183a4e88}.promotion-head{display:flex;align-items:center;justify-content:space-between;padding:11px 16px}.promotion-head h2{margin:0;color:var(--blue);font-size:18px;font-weight:600}.promotion-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:28px;line-height:1;color:#7798aa}.promotion-image{display:block;margin:0 10px;border-radius:8px;overflow:hidden}.promotion-image img{width:100%;height:auto}.promotion-cta{display:flex;align-items:center;justify-content:center;min-height:43px;margin:15px 20px 18px;background:var(--blue);color:#fff;border:1px solid #679fbe;border-radius:8px;font-size:16px}.promotion-dialog:not([open]){display:none}
@media(max-width:370px){.site-header{padding:7px 10px}.brand>img{width:118px}.header-tools{gap:10px}.header-tools a{width:22px;height:22px}.home-content{padding:0 8px}.quick-actions{gap:5px}.account-button{font-size:12px;min-height:31px}.quick-link{font-size:10px}.quick-link img{width:29px;height:26px}.game-lobby{gap:8px}.game-column{gap:8px}.game-panel{padding-left:5px;padding-right:5px}.panel-heading{font-size:14px}.hot-label{width:42px;height:34px}.favorite{width:20px;height:20px}.activity-panel>span{font-size:11px}.activity-panel>span>span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}}
