*{box-sizing:border-box}body{margin:0;background:#071b3a url('/assets/reference/mobile_background_blue.webp') center top/100% 100% no-repeat;color:#fff;font:14px -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;min-height:100vh}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit;border:0;background:transparent}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #67e5ff;outline-offset:3px}header{height:12.89vw;min-height:86px;max-height:180px;background:url('/assets/reference/header_background_blue_.webp') center/100% 100% no-repeat;position:relative}.brand{position:absolute;left:5.3%;top:0;width:17.8%;height:96%;display:flex;align-items:center;justify-content:center}.brand img{width:100%;height:100%;object-fit:contain}.account{position:absolute;right:2%;top:5px;display:flex;align-items:center;gap:10px}.credit{position:relative;background:url('/assets/reference/point_banner_blue.png') center/100% 100% no-repeat;min-width:238px;height:55px;padding:9px 26px 0 51px}.credit-title{position:absolute;top:-7px;left:30%;width:90px;height:25px}.credit .coin{position:absolute;width:30px;height:30px;left:15px;top:12px}.credit strong{font-size:29px;font-weight:900;letter-spacing:1px;color:#ffe130;text-shadow:2px 2px 1px #533422}.avatar{padding:0;width:50px;height:50px}.avatar img{width:100%;height:100%}nav{display:flex;align-items:center;justify-content:flex-start;gap:2px;padding:0 12px;position:relative;margin-top:-10px;height:88px}nav button{padding:0;width:83px;height:78px;flex-shrink:0;transition:filter .15s}nav button img{width:100%;height:100%;object-fit:fill}nav button:hover,nav button.active{filter:brightness(1.2) drop-shadow(0 0 5px #2bd5ff)}.marquee{display:flex;align-items:center;gap:12px;overflow:hidden;height:50px;margin:6px 7px 8px;font-size:17px;font-weight:700}.marquee>img{width:36px;height:36px;flex-shrink:0}.marquee p{white-space:nowrap;min-width:0;overflow:hidden;margin:0;text-overflow:clip}.marquee button{display:none}main{margin:0;padding:0 12px 35px}.lobby{width:100%}.section-head{display:flex;justify-content:space-between;align-items:center;min-height:62px}.section-head h1{font-size:27px;margin:0;font-weight:800;color:#98f2ff;text-shadow:0 0 10px #16a9e4}.section-head h1 img{width:195px;height:50px;object-fit:contain}.search{display:flex;gap:8px;align-items:center}.search input{background:#08214690;border:1px solid #3fa8ca66;border-radius:6px;padding:9px;color:#fff;width:170px}.search button{padding:8px 10px;border-radius:5px;background:#122e53aa;border:1px solid #397ba7;font-size:12px}.providers{display:flex;gap:10px;overflow:auto;margin-bottom:15px}.providers button{padding:10px 25px;background:#102f50;border:1px solid #54c5e1;border-radius:6px;white-space:nowrap}.providers button.active{background:#1b7db6}body[data-category="all"] .providers{display:none}body[data-category="all"] .search{visibility:hidden}.games{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}.game{position:relative;aspect-ratio:1.045;padding:13px 12px 18px;background:url('/assets/reference/game_item_background_blue_.webp') center/100% 100% no-repeat;border-radius:20px;overflow:hidden;isolation:isolate}.game:after{content:'';position:absolute;inset:6px;border-radius:19px;box-shadow:inset 0 2px 4px #cefbff,0 0 6px #62f4ff44;pointer-events:none}.game .cover{width:100%;height:100%;object-fit:cover;border-radius:13px;display:block}.game .favorite{position:absolute;z-index:3;right:5px;top:8px;width:25px;height:25px;border-radius:50%;background:#a2b6c7bb;color:#fff;display:grid;place-items:center;padding:3px}.game .favorite.on{color:#ffeff3;background:#cc5d86}.game .favorite.on svg{fill:currentColor}.game .tag{position:absolute;left:8px;top:12px;z-index:2;color:#e9f4ff;background:linear-gradient(#cb5415,#8e2104);border:3px solid #f8ca65;border-radius:20px;padding:3px 14px;font-size:10px;line-height:1}.game-info{position:absolute;inset:10px 10px 17px;background:#0009;opacity:0;transition:opacity .15s;border-radius:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:15px;z-index:2}.game:hover .game-info,.game:focus-within .game-info{opacity:1}.game-info h3{font-size:22px;margin:0 0 8px}.game-info>small{font-size:11px}.game-meta{display:flex;gap:12px;color:#c5d8ec;font-size:11px;margin:15px}.game .play{width:75%;max-width:180px;min-height:50px;background:url('/assets/reference/play_button.png') center/100% 100% no-repeat;color:#fff;font-size:16px;font-weight:700}.game .play:disabled{filter:grayscale(1);opacity:.7}.game .mode{font-size:10px;color:#ccc;margin-top:10px}.empty{padding:55px 15px;text-align:center;color:#8a91a1;grid-column:1/-1}footer{padding:20px;display:flex;align-items:center;justify-content:center;gap:22px;color:#a2b8d4;font-size:11px;background:#06132966}footer small{font-size:10px}dialog{border:1px solid #252b37;background:#171b27;color:#fff;padding:0;border-radius:18px;width:72.5vw;min-width:720px;max-width:1100px;max-height:90vh;box-shadow:0 6px 30px #0009}dialog::backdrop{background:#0009}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 0 24px}.modal-head h2{margin:0;font-size:22px;font-weight:700}.close{padding:0;color:#dce0e7;font-size:31px;font-weight:200;line-height:1}.modal-content{padding:0;overflow:auto;max-height:69vh}.profile-layout{display:grid;grid-template-columns:45% minmax(0,1fr);gap:5.7%;padding:17px 15px 24px;min-height:705px}.profile-side{background:transparent;padding:12px 0 0;min-width:0}.profile-identity{display:flex;align-items:center;gap:10px;height:65px}.profile-identity .orb{width:49px;height:49px;display:grid;place-items:center;border-radius:50%;border:2px solid #4f5fcb;background:linear-gradient(#8da8d4,#36507c);overflow:hidden}.profile-identity h3{font-size:18px;margin:0 0 3px;font-weight:700}.profile-identity h3 small{font-size:9px;color:#8295b9;font-weight:400}.profile-identity>div>small{font-size:10px;color:#8295b9}.profile-wallet{height:90px;background:#3b60f4;border-radius:21px;text-align:center;padding:12px;margin:0 0 20px}.profile-wallet>span{font-size:17px;display:block;margin-bottom:6px}.profile-wallet strong{font-size:33px;line-height:1;font-weight:900}.profile-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 0;padding:20px 15px 23px}.profile-tiles button{display:flex;flex-direction:column;align-items:center;gap:14px;font-size:12px;padding:7px 0;white-space:nowrap}.profile-tiles button:hover{color:#9bb6ff}.profile-tiles button svg{width:20px;height:20px}.profile-tiles.records{padding:0 15px 20px}.side-label{border-radius:20px 20px 0 0;background:#3b60f4;border-bottom:1px solid #859aff;font-size:17px;font-weight:700;margin:5px 0 0;padding:11px 20px}.profile-side .logout{font-size:12px;color:#a6b4d2;padding:10px;display:block;margin-left:auto}.profile-main{min-width:0}.profile-main .modal-head{padding-top:0}.member-summary{display:grid;grid-template-columns:repeat(3,1fr);height:60px;align-items:center;text-align:center;background:#222936;border-radius:17px;margin-bottom:10px}.member-summary small{display:block;color:#7d8aa8;font-size:12px;margin-bottom:3px}.member-summary b{font-size:12px;font-weight:600}.favorite-panel{border-radius:17px;background:#222936;min-height:270px;padding:13px 10px}.favorite-panel>h3{color:#fff100;font-size:18px;margin:0}.favorite-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:220px;gap:45px}.favorite-empty>span{font-size:49px;font-weight:900;color:#48536a;text-shadow:0 0 25px #8096be44}.favorite-empty b{font-size:17px}.favorite-games{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:18px}.favorite-games button{padding:0;overflow:hidden;border-radius:8px}.favorite-games img{width:100%;aspect-ratio:1;object-fit:cover}.favorite-games span{font-size:12px;display:block;padding:5px}.settings-grid{display:grid;grid-template-columns:1fr;gap:0}.settings-grid button{padding:20px 5px;text-align:left;border-bottom:1px solid #333b4b;display:flex;align-items:center;gap:12px}.settings-grid button:after{content:'›';margin-left:auto}.form{display:grid;gap:18px;padding:10px 3px}.form label{display:grid;gap:8px;font-size:13px;color:#b2bdd2}.form input,.form select,.filters input,.filters select{background:#222a3a;border:1px solid #47536c;border-radius:4px;color:#fff;min-width:0;padding:11px;width:100%}.form button{padding:12px;background:#3b60f4;border-radius:4px}.form input[type=checkbox]{width:auto}.hint{font-size:12px;color:#8996ae;line-height:1.7}.warning{font-size:12px;line-height:1.8;background:#695d2944;color:#e6d798;padding:12px;border:1px solid #8c7c3a55;border-radius:5px}.login{padding:30px 40px;max-width:440px;margin:auto}.login h2{text-align:center;font-size:24px}.login>.eyebrow{display:block;text-align:center;font-size:26px;font-weight:900;color:#b2c9ff}.link-button{padding:10px 0;font-size:12px;color:#9fb6f5}.table-wrap{overflow:auto}table{border-collapse:collapse;font-size:12px;width:100%}th,td{padding:13px 10px;border-bottom:1px solid #343b4e;white-space:nowrap;text-align:left}th{background:#222936;color:#a2b3d1}.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.filters input{width:calc(50% - 15px);padding:8px}.filters button{background:#3b60f4;border-radius:4px;padding:8px 14px}.message{border-bottom:1px solid #333b4b;padding:15px 0}.message h3{font-size:16px;margin:0 0 10px}.message p{white-space:pre-wrap;color:#b0bdd2;font-size:13px;line-height:1.8}.message small{color:#7586a3;font-size:11px}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;font-size:11px;margin-top:18px}.pagination button{background:#29344e;padding:5px 10px;border-radius:3px}.pagination button:disabled{opacity:.3}.stats{display:grid;gap:12px}.stat{padding:17px;border-radius:8px;background:#222936}.stat small{display:block;color:#8c9bb6;margin-bottom:10px}.stat strong{font-size:23px}.success{color:#73dfbd}#toast{position:fixed;z-index:100;bottom:25px;left:50%;transform:translateX(-50%);background:#202d4a;border:1px solid #4973cd;border-radius:8px;padding:14px 23px;box-shadow:0 8px 30px #0008;max-width:90vw}#toast.error{background:#502931;border-color:#a76776}@media(min-width:1280px){header{height:115px}.brand{width:190px;left:42px}.account{right:25px}nav{height:110px;padding-left:18px}nav button{width:100px;height:96px}main{padding:0 20px 40px}.games{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.marquee{margin-left:15px}.section-head{min-height:64px}}@media(max-width:760px){header{min-height:75px;height:19vw}.brand{left:5%;width:22%;height:96%}.account{right:2%;gap:5px;top:5px}.credit{min-width:160px;height:40px;padding:7px 13px 0 38px}.credit-title{width:64px;height:18px;top:-5px}.credit .coin{width:24px;height:24px;left:10px;top:10px}.credit strong{font-size:21px}.avatar{width:38px;height:38px}nav{height:76px;margin-top:0;padding:0 5px;justify-content:center;gap:1px}nav button{width:18vw;max-width:73px;height:69px}.marquee{height:38px;font-size:13px;gap:7px;margin:0 5px 3px}.marquee>img{width:27px;height:27px}main{padding:0 7px 24px}.section-head{min-height:45px}.section-head h1 img{width:145px;height:38px}.games{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.game{padding:8px 7px 11px;border-radius:13px}.game:after{inset:4px;border-radius:11px}.game .cover{border-radius:8px}.game .tag{border-width:2px;padding:2px 6px;top:8px;left:5px;font-size:7px}.game .favorite{width:19px;height:19px;top:5px;right:3px;padding:2px}.game-info{inset:5px;padding:5px}.game-info h3{font-size:13px;margin:0}.game-info>small,.game-meta,.game .mode{display:none}.game .play{width:80%;min-height:30px;font-size:11px;margin-top:8px}.search input{width:110px;padding:6px}.search button{font-size:10px;padding:5px}.providers{gap:7px;margin-bottom:10px}.providers button{font-size:11px;padding:7px 13px}dialog{min-width:0;width:96vw;max-height:94vh}.profile-layout{grid-template-columns:43% minmax(0,1fr);gap:4%;padding:14px 9px;min-height:650px}.profile-identity{gap:5px}.profile-identity .orb{width:32px;height:32px;flex-shrink:0}.profile-identity .orb svg{width:25px;height:25px}.profile-identity h3{font-size:12px}.profile-identity h3 small{display:none}.profile-identity>div>small{font-size:8px}.profile-wallet{height:72px;border-radius:14px;padding:10px 3px}.profile-wallet>span{font-size:13px}.profile-wallet strong{font-size:21px}.profile-tiles{padding:15px 2px;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 0}.profile-tiles.records{padding:0 2px 14px}.profile-tiles button{font-size:9px;gap:10px}.profile-tiles button svg{width:18px;height:18px}.side-label{font-size:13px;padding:10px;border-radius:13px 13px 0 0}.modal-head h2{font-size:18px}.modal-head{padding:0 0 18px}.close{font-size:25px}.member-summary{height:55px;border-radius:12px;gap:0}.member-summary small{font-size:9px}.member-summary b{font-size:8px}.favorite-panel{padding:10px 6px;min-height:240px}.favorite-panel>h3{font-size:14px}.favorite-empty>span{font-size:32px}.favorite-empty b{font-size:11px}.form label{font-size:11px}.form input,.form select{padding:8px;font-size:12px}.hint,.warning{font-size:10px}.form button{font-size:11px;padding:9px}footer{font-size:9px;gap:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.profile-side .logout{display:block;width:100%;border-radius:30px;color:#fff;background:#3b60f4;font-weight:700;font-size:17px;text-align:center;padding:13px;margin-top:8px}.language-overlay{position:absolute;inset:0;z-index:20;background:#171b27f5;display:grid;place-items:center;min-height:600px;border-radius:17px}.language-overlay>.close{position:absolute;top:16px;right:25%;width:32px;height:32px}.language-overlay>div{display:flex;flex-direction:column;align-items:center;gap:23px}.language-overlay [data-language]{font-size:30px;font-weight:700;color:#fff;padding:4px 20px}.language-overlay [aria-pressed=true]{color:#527aff}.language-overlay [data-language]:hover{color:#8cabff}@media(max-width:760px){.language-overlay{min-height:100%;position:absolute}.language-overlay>.close{right:20px}.language-overlay [data-language]{font-size:24px}.profile-side .logout{font-size:12px;padding:10px}} 

.language-overlay{background:#0007;min-height:0;display:grid;place-items:start center;padding-top:16px}.language-overlay>.language-card{position:relative;display:block;width:400px;height:520px;max-width:95%;background:url('/assets/reference/language-panel.png') center/100% 100% no-repeat;padding:110px 10px 20px}.language-card>.language-title{position:absolute;width:310px;max-width:85%;height:85px;object-fit:contain;top:0;left:50%;transform:translateX(-50%)}.language-card>.close{position:absolute;top:4px;right:20px;font-size:24px}.language-card>div{display:flex;flex-direction:column;gap:0}.language-card [data-language]{height:65px;width:100%;padding:0;font-size:30px;color:#fff}.language-card [aria-pressed=true]{background:url('/assets/reference/language-active.png') center/100% 100% no-repeat;color:#fff}.language-card [data-language]:hover{background-color:#a7d3ff22;color:#fff}@media(max-width:760px){.language-overlay{padding-top:15px}.language-overlay>.language-card{width:330px;height:475px;padding-top:100px}.language-card>.language-title{height:78px}.language-card [data-language]{height:59px;font-size:25px}} 

.record-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #363b4c;margin:25px 0 10px}.record-tabs button{padding:10px 5px;border-bottom:2px solid transparent;color:#fff;font-weight:700;font-size:15px}.record-tabs .selected{color:#576deb;border-color:#576deb}.record-ranges{display:flex;gap:9px;margin:10px 0}.record-ranges button{background:#ddd;color:#5f6269;border-radius:30px;padding:7px 12px;font-size:13px;font-weight:700;white-space:nowrap}.record-ranges .selected{background:#3c60f6;color:#fff}#recordProvider{display:block;width:150px;padding:8px 12px;border-radius:30px;background:#222936;color:#fff;border:0;margin-bottom:10px}.record-list{border-top:1px solid #303747;padding-top:10px}.record-card{background:#222936;border-radius:16px;padding:12px;margin-bottom:15px}.record-card h3{font-size:17px;margin:0 0 6px}.record-card small{font-size:12px;color:#798bb8;display:block}.record-amounts{display:flex;justify-content:space-between;gap:10px}.record-amounts>span:last-child{text-align:right}.record-amounts small{margin-bottom:4px}.record-amounts b{font-size:14px;color:#8799c3}.record-amounts .positive{color:#2bbf7f}.record-amounts .negative{color:#ec485c}.history-card{border-left:2px solid #3a9f7e}.history-card header{height:auto!important;min-height:0!important;padding:0!important;background:none!important;display:flex;align-items:start;justify-content:space-between;gap:5px;box-shadow:none}.history-card header h3{font-size:16px;white-space:nowrap}.history-card header>small{font-size:9px;color:#fff;margin:2px 0}.settled{padding:4px 7px;background:#359b78;color:#fff;border-radius:4px;font-size:11px;display:inline-block}.order-id{display:flex;align-items:center;gap:4px;margin:5px 0;font-size:12px;overflow-wrap:anywhere}.order-id b{overflow-wrap:anywhere;word-break:break-all}.order-id button{padding:0;flex-shrink:0;color:#788fc0}.transfer-card h3{color:#576deb}.transfer-card .record-amounts{border-top:1px solid #346344;padding-top:9px;margin-top:8px}.profile-main .pagination{justify-content:center}.settlement-total{background:#222936;border-radius:17px;padding:15px;display:flex;align-items:center;gap:12px;margin-bottom:10px}.settlement-total>span{font-size:29px}.settlement-total small,.settlement-stats small{color:#7d8bad;display:block;font-size:11px;margin-bottom:6px}.settlement-total b,.settlement-stats b{font-size:14px}.settlement-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.settlement-stats>div{background:#242936;border-radius:16px;padding:12px 6px}.settlement-ranges{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:20px 0}.settlement-ranges button{padding:16px 2px;background:#222936;font-size:14px;font-weight:700;border-radius:5px}.settlement-ranges .selected{background:#3b60f4}.past-bets-title{font-size:20px;margin:22px 0 10px}.past-bets{border-top:1px solid #3b4353;padding:12px 8px}.past-bets summary{font-size:14px;font-weight:700;cursor:pointer}.past-bets>div{font-size:12px;color:#a4b4d5}@media(max-width:760px){.record-tabs{margin-top:15px}.record-tabs button{font-size:12px}.record-ranges{gap:3px;flex-wrap:wrap}.record-ranges button{font-size:10px;padding:5px 7px}.record-card h3{font-size:13px}.history-card header{flex-wrap:wrap}.history-card header h3{font-size:12px}.record-amounts b{font-size:12px}.settlement-stats{grid-template-columns:1fr}.settlement-ranges button{font-size:11px;padding:12px 0}.past-bets summary{font-size:10px}.past-bets-title{font-size:15px}.settlement-total b,.settlement-stats b{font-size:12px}} 

.profile-layout{height:710px;min-height:0;overflow:hidden}.profile-side{overflow:auto;scrollbar-width:none;padding-bottom:5px}.profile-main{overflow:auto;max-height:100%;scrollbar-width:thin}.profile-main .modal-content{max-height:none;overflow:visible}.language-overlay{position:fixed;inset:0;border-radius:0;padding-top:8vh;align-items:start;overflow:auto}.profile-layout .profile-identity{flex-shrink:0}@media(max-width:760px){.profile-layout{height:min(710px,90vh);min-height:0}.language-overlay{padding-top:8vh}.profile-main .modal-head{position:sticky;top:0;background:#171b27;z-index:1;padding-bottom:15px}}

/* Unified category controls: original vector icons and live, translatable labels. */
#categories{display:flex;height:114px;align-items:center;justify-content:flex-start;gap:10px;margin:0 12px 4px;padding:7px 0;overflow:visible}
#categories button{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:96px;max-width:none;height:96px;flex:0 0 96px;padding:8px 5px;border:1px solid #d7bd7e55;border-radius:17px;background:linear-gradient(155deg,#223d5bec,#102744f5 60%,#0b1b32);box-shadow:inset 0 1px 0 #fff4d733,0 5px 14px #0004;color:#efe1c4;transition:transform .16s,border-color .16s,box-shadow .16s,background .16s;filter:none;opacity:1}
#categories button:before{content:'';position:absolute;inset:3px;border:1px solid #ffffff08;border-radius:13px;pointer-events:none}
#categories .category-art{display:block;width:48px;height:48px;filter:drop-shadow(0 3px 3px #0004)}
#categories .category-art svg{display:block;width:100%;height:100%}
#categories .category-label{font-family:system-ui,"Microsoft JhengHei UI","Microsoft JhengHei",sans-serif;font-size:14px;line-height:20px;font-weight:650;letter-spacing:.5px;text-shadow:0 1px 2px #0008;white-space:nowrap}
#categories button:hover{transform:translateY(-2px);border-color:#f4d99c;background:linear-gradient(155deg,#304e70,#172f4d 70%,#10213a);box-shadow:inset 0 1px 0 #fff4d74d,0 7px 18px #0005}
#categories button.active{border-color:#f3d08c;background:linear-gradient(155deg,#344968,#23344a 60%,#242b35);box-shadow:inset 0 0 18px #d8ac4f22,0 0 0 1px #e1b65a33,0 5px 16px #0005;color:#fff2cb}
#categories button.active:after{content:'';position:absolute;bottom:0;left:28%;right:28%;height:3px;border-radius:4px;background:#ffdc93;box-shadow:0 0 10px #f8cd7b88}
#categories button:active{transform:translateY(1px);box-shadow:inset 0 2px 8px #0005}
@media(max-width:760px){#categories{height:94px;gap:6px;margin:0 7px 5px;padding:5px 0;justify-content:space-between}#categories button{width:calc((100vw - 38px)/5);height:82px;flex:0 1 calc((100vw - 38px)/5);border-radius:13px;padding:7px 2px;gap:3px}#categories button:before{border-radius:10px}#categories .category-art{width:39px;height:39px}#categories .category-label{font-size:12px;letter-spacing:0;line-height:18px}}
@media(prefers-reduced-motion:reduce){#categories button{transition:none}#categories button:hover,#categories button:active{transform:none}}
