*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:70px}body{margin:0;color:#080808;background:#edf3f3 url('assets/optimized/BodyImageURL.webp') center top/100% auto no-repeat fixed;font-family:Arial,sans-serif;font-size:12px}:is(button,a){font:inherit;cursor:pointer;border:0}:is(button,a):focus-visible{outline:3px solid #f0b900;outline-offset:3px}:is(button,a):hover{filter:brightness(1.06)}.header{height:58px;position:relative;background:#001738}.brand{width:100%;height:58px;display:block}.menu-toggle{position:absolute;top:0;left:0;background:transparent;padding:0;width:49px;height:55px}.menu-toggle img{width:100%;height:100%;object-fit:contain}.profile{position:absolute;right:0;top:0;width:100px;height:58px;background:#ffffffca;display:flex;flex-direction:column;align-items:center;font-size:10px}.profile img{height:43px;width:47px;object-fit:contain}main{padding:0 10px 25px}.wallet{height:189px;position:relative;font-family:'Times New Roman',serif;padding-top:11px}.balance span,.balance p{font-size:11px}.balance .wallet-amount{font-size:16px;color:#0075ad;margin:10px 0}.balance p{margin:5px 0}.wallet-actions{position:absolute;right:0;top:10px;display:grid;gap:10px}.wallet-actions :is(button,a){color:white;font-family:"Times New Roman",serif;font-weight:bold;font-size:14px;min-width:130px;height:38px;border-radius:15px;border:1px solid #0004;box-shadow:0 1px 3px #0003}.topup{background:linear-gradient(#42ac13,#008700)}.withdraw{background:linear-gradient(#b65c7a,#650d25)}.refresh{background:linear-gradient(#e96f28,#572406)}#clock{position:absolute;bottom:27px;left:5px;font-size:10px;font-weight:bold}.stats{height:49px;background:linear-gradient(#fff,#e4e4e4);border-radius:16px;display:flex;justify-content:space-around;align-items:center;font-family:"Times New Roman",serif;text-align:center}.stats div{display:grid;gap:3px}.stats small{font-size:8px}.stats span{font-size:11px}h2{font-size:13px;margin:12px 0 8px;font-weight:800}.sports h2{margin:8px 0}.match-list{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;scroll-snap-type:x mandatory}.match-card{flex:0 0 270px;background:#fff;border:1px solid #344b5c;border-radius:10px;padding:8px;scroll-snap-align:start;font-weight:800}.match-head{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin-bottom:9px}.match-head :is(button,a){background:none;font-size:10px;font-weight:800;padding:0}.match-teams{height:86px;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;background:#ccc;border-radius:3px;text-align:center}.team{font-size:10px;line-height:12px}.flag{font-size:35px;line-height:40px;display:block}.match-time{font-size:12px;line-height:16px}.match-time span{font-size:18px}.handicap{text-align:center;font-size:9px;padding:8px 0 5px}.odds{display:flex;gap:6px}.odds :is(button,a){flex:1;background:#1578bd;color:white;border-radius:3px;font-size:10px;font-weight:800;padding:4px}.odds strong{display:block;font-size:14px;line-height:16px}.correct-score{margin-top:15px;background:#f9dfa0;border:1px solid #b9c3c8;border-radius:6px;box-shadow:0 0 2px #5555;height:282px;padding:16px 20px}.score-title{display:flex;align-items:center;gap:30px;height:140px}.score-title>b{font-family:monospace;font-size:clamp(12px,3vw,44px);letter-spacing:1px}.score-title>strong{color:#bd0613;font-size:48px;line-height:.85;text-shadow:2px 2px white,-2px -2px white,2px -2px white,-2px 2px white;text-align:center}.score-title>strong span{font-size:36px;letter-spacing:-2px}.score-match{display:grid;grid-template-columns:1fr 1fr 1fr;text-align:center;align-items:center}.score-match p{margin:6px 0}.crest{display:inline-block;clip-path:polygon(0 0,100% 0,90% 72%,50% 100%,10% 72%);font-size:11px;font-weight:bold;color:white;width:39px;height:49px;padding:5px 2px;border:3px solid #f1c233}.arsenal{background:#d9232b}.leeds{background:#086bab}.kickoff{color:#555}.kickoff p{font-size:12px}.kickoff time{display:block;color:#169a15;font-family:monospace;font-size:18px}.kickoff :is(button,a){display:block;background:#4ab545;color:white;padding:7px 15px;border-radius:3px;margin:9px auto 0}.more{width:100%;background:#f9d376;margin:10px 0 3px;height:35px;font-weight:bold}.lottery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.lottery-grid :is(button,a){background:transparent;border:1px solid #a77622;border-radius:8px;padding:0;overflow:hidden}.lottery-grid img{width:100%;display:block}.referral{margin:18px 0;padding:15px;border-radius:9px;background:#ffffffaf;text-align:center}.referral :is(button,a),footer :is(button,a){color:#fff;background:linear-gradient(#1687cb,#034c80);padding:10px 18px;border-radius:5px;margin:3px}.recommendations{padding:16px;border-radius:6px;background:#fff9;color:#0560a9;font-weight:bold;text-align:center}.categories{display:flex;gap:10px;margin:12px 0;overflow:auto}.category{background:#ffffffa0;border:1px solid #c1cdd4;border-radius:8px;min-width:95px;padding:5px}.category[aria-selected=true]{background:#b6dfff;border:2px solid #0560a9}.category img{width:70px;height:50px;object-fit:contain}.category span{display:block;font-weight:bold;font-size:10px}.game-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.game{background:#ffffff9c;border:1px solid #c0cdd5;border-radius:9px;padding:0;overflow:hidden;transition:transform .15s}.game:hover{transform:translateY(-3px)}.game img{width:100%;display:block;aspect-ratio:1.2;object-fit:contain}.game span{display:block;background:#0560a9;color:#fff;padding:8px;font-weight:bold;font-size:11px}.promo-grid,.mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.promo-grid :is(button,a),.mini-grid :is(button,a){padding:0;background:transparent}.promo-grid img{display:block;width:100%;border-radius:8px}.mini-grid{grid-template-columns:repeat(4,1fr);text-align:center}.mini-grid img{width:100%;max-height:140px;object-fit:contain}.mini-grid span{display:block;font-weight:bold}footer{text-align:center;margin-top:25px;padding:15px 0 80px;background:#ffffffa0}footer h2{margin:16px}.payments{display:flex;justify-content:center;align-items:center;gap:15px;flex-wrap:wrap}.payments img{width:min(350px,90%);height:auto}footer p{font-size:10px;margin-top:25px}footer small{color:#66757e}.bottom-nav{position:fixed;z-index:10;bottom:0;left:0;right:0;height:56px;display:flex;background:linear-gradient(#0870b9,#00476e);box-shadow:0 -1px 5px #0576d3}.bottom-nav :is(button,a){position:relative;background:transparent;color:white;flex:1;font-size:12px;font-weight:bold;padding:0}.bottom-nav :is(button,a).active{background:#00578b4d}.bottom-nav span{position:absolute;top:3px;margin-left:12px;border-radius:100%;padding:3px 6px;background:#269ee8}.floating{position:fixed;bottom:105px;z-index:11}.floating>:is(button,a):not(.dismiss){background:none;padding:0}.floating img{width:85px;height:85px;object-fit:contain}.spin{left:0}.four-d{right:15px;bottom:115px}.four-d img{width:45px}.dismiss{position:absolute;right:-5px;top:-12px;border-radius:50%;background:#000;color:#fff;font-size:20px;width:20px;height:20px;line-height:16px;padding:0}.shade{position:fixed;inset:0;background:#0007;z-index:20}.drawer{position:fixed;left:0;top:0;bottom:0;width:min(310px,85vw);background:#f6faff;z-index:21;transform:translateX(-100%);transition:transform .2s;overflow:auto;padding:22px}.drawer.open{transform:translateX(0)}.drawer>img{width:85px;display:block;margin:auto}.drawer>:is(button,a):not(.close-menu){display:block;width:100%;text-align:left;background:transparent;color:#07558b;border-bottom:1px solid #dce6ec;padding:15px;font-weight:bold}.close-menu{position:absolute;right:10px;top:8px;font-size:26px;background:none;color:#125887}dialog{width:min(410px,90vw);border:1px solid #1678b8;border-radius:13px;padding:25px;color:#173348;box-shadow:0 15px 60px #001a3955}dialog::backdrop{background:#00182d99}dialog h2{font-size:20px;margin:8px 20px 15px 0}dialog p{line-height:1.7}@media(min-width:1600px){.match-card{flex-basis:calc((100% - 60px)/6)}}@media(max-width:600px){.match-card{flex-basis:235px}.correct-score{height:156px;padding:10px}.score-title{height:30px;gap:15px;justify-content:flex-start}.score-title>b{font-size:11px;letter-spacing:0}.score-title>strong{font-size:20px}.score-title>strong span{font-size:12px;letter-spacing:-1px}.score-match{margin-top:5px}.crest{width:42px;height:50px}.kickoff time{font-size:18px}.kickoff :is(button,a){margin-top:8px}.score-match p{margin:5px 0}.lottery-grid{gap:10px}.game-grid{grid-template-columns:repeat(3,1fr);gap:7px}.category{min-width:72px}.category img{width:55px;height:42px}.promo-grid{grid-template-columns:1fr}.bottom-nav{height:56px}.bottom-nav span{margin-left:0;top:3px}.four-d{right:12px;bottom:92px}.spin{bottom:103px}.mini-grid{gap:4px}.mini-grid span{font-size:9px}.referral :is(button,a){padding:9px}.score-title{white-space:nowrap}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Long-form guide below Mini Games. */
.platform-guide{max-width:1100px;margin:30px auto 24px;padding:32px clamp(18px,4vw,52px);background:rgba(255,255,255,.96);border:1px solid #c7dce9;border-top:4px solid #0560a9;border-radius:12px;color:#283d4b;font-size:15px;line-height:1.8;overflow-wrap:anywhere;box-shadow:0 4px 18px #00476e0c}
.platform-guide #guide-title{margin:0 0 28px;color:#034f83;font-size:clamp(23px,3vw,32px);line-height:1.3;font-weight:800}
.platform-guide section+section{border-top:1px solid #dce8f0;margin-top:30px;padding-top:10px}
.platform-guide h3{font-size:22px;line-height:1.4;color:#0560a9;margin:24px 0 12px}
.platform-guide h4{font-size:18px;line-height:1.5;color:#144765;margin:22px 0 8px}
.platform-guide h5{font-size:15px;line-height:1.6;margin:18px 0 8px;color:#23465e}
.platform-guide p{margin:0 0 16px}
.platform-guide ul{padding-left:24px;margin:10px 0 20px}
.platform-guide li{padding-left:3px;margin:7px 0}
.platform-guide li::marker{color:#1578bd}
.guide-table{margin:20px 0 26px;border:1px solid #c9dce9;border-radius:8px;overflow:hidden}
.guide-table table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;line-height:1.6;table-layout:fixed}
.guide-table th,.guide-table td{padding:13px 16px;vertical-align:top;border-bottom:1px solid #dce8f0}
.guide-table thead{background:#0560a9;color:white}
.guide-table tbody th{width:34%;color:#164d71;font-weight:600}
.guide-table tbody tr:nth-child(even){background:#f0f7fb}
.guide-table tbody tr:last-child>*{border-bottom:0}
.guide-notice{background:#fff8e8;border-left:4px solid #d6a134;border-radius:5px;padding:4px 22px 6px;margin:24px 0}
.guide-notice h4{color:#705018}
.guide-faq h4{padding-top:16px;border-top:1px solid #e6eef4}
@media(max-width:600px){.platform-guide{margin-top:24px;padding:23px 16px;font-size:14px;line-height:1.75}.platform-guide h3{font-size:20px}.platform-guide h4{font-size:17px}.guide-table th,.guide-table td{padding:10px 8px;font-size:12px}.guide-notice{padding-left:14px;padding-right:14px}}

#settings-panel{width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 36px);overflow-y:auto;padding:24px;background:#f5fafc;border:1px solid #bfd9e9}


.auth-tabs{display:flex;align-items:center;background:linear-gradient(#09afeb,#0089ca);border-radius:14px;padding:6px 12px;color:white}
.auth-tabs :is(button,a){flex:1;position:relative;background:transparent;color:white;padding:20px 8px;font-size:20px}
.auth-tabs>span{font-size:25px}
.auth-tabs :is(button,a)[aria-selected="true"]::after{content:"";position:absolute;bottom:5px;left:calc(50% - 20px);width:40px;height:4px;background:#fff}
#language-status{font-size:12px;line-height:1.5;color:#245774;margin:4px 0}
.language-settings{border-top:1px solid #cedfe8;margin-top:18px;padding-top:10px}

.language-buttons{display:flex;gap:10px;margin-bottom:12px}
.language-buttons :is(button,a){flex:1;background:#fff;color:#075d91;border:1px solid #a7c6da;border-radius:8px;padding:12px 8px;font-weight:600}
.language-buttons :is(button,a)[aria-pressed="true"]{background:#0560a9;color:white;border-color:#0560a9;box-shadow:0 0 0 2px #a9d7ef}
@media(max-width:420px){#settings-panel{padding:20px 16px}.auth-tabs :is(button,a){font-size:18px}}

/* Native links share the button styling and navigate without dialogs. */
a{color:inherit;text-decoration:none;cursor:pointer;text-align:center}
a:focus-visible{outline:3px solid #f0b900;outline-offset:3px}
.wallet-actions a{display:flex;align-items:center;justify-content:center}
.bottom-nav a{display:flex;align-items:center;justify-content:center}
.bottom-nav a span{position:static;align-self:flex-start;margin:3px 0 0 8px}
.kickoff a,.more,.lottery-grid a,.game,.promo-grid a,.mini-grid a{display:block}
.more{line-height:35px}
.referral a,footer a{display:inline-block}
.profile{display:flex}
#settings-panel{position:static;display:flex;align-items:center;gap:20px;width:auto;max-height:none;margin:12px 10px;padding:12px;border:1px solid #bfd9e9;border-radius:12px;background:#f5fafc}
#settings-panel .auth-tabs{flex:1}
#settings-panel .auth-tabs a{flex:1;color:white;padding:16px 8px;font-size:20px}
#settings-panel .language-settings{margin:0;border:0;padding:0}
#settings-panel .language-buttons{margin:0}
#language-status:empty{display:none}
@media(max-width:600px){#settings-panel{display:block;padding:10px}#settings-panel .language-settings{margin-top:10px}#settings-panel .auth-tabs a{font-size:18px;padding:14px 8px}.bottom-nav a span{margin-left:0}}

/* Compact account controls stay above the bottom navigation. */
#settings-panel{position:fixed;z-index:12;left:50%;bottom:calc(64px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:flex;gap:8px;width:min(520px,calc(100% - 16px));margin:0;padding:6px;overflow:visible;border-radius:12px;box-shadow:0 3px 16px #00345430}
#settings-panel .auth-tabs{min-width:0;padding:0 4px;border-radius:8px}
#settings-panel .auth-tabs a{padding:12px 6px;font-size:14px;white-space:nowrap}
#settings-panel .auth-tabs>span{font-size:16px}
#settings-panel .language-settings{margin:0;flex:0 0 auto}
#settings-panel .language-buttons{gap:5px}
#settings-panel .language-buttons button{min-height:42px;padding:7px;font-size:11px;max-width:85px}
#language-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.bottom-nav{height:calc(56px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px)}
footer{padding-bottom:calc(145px + env(safe-area-inset-bottom,0px))}
.floating.spin,.floating.four-d{bottom:calc(140px + env(safe-area-inset-bottom,0px))}
@media(max-width:380px){#settings-panel .auth-tabs a{font-size:12px;padding:13px 4px}#settings-panel .language-buttons button{font-size:10px;max-width:72px;padding:6px}}

/* Welcome promotion: full artwork with a separate, accessible close control. */
#welcome-popup{width:min(1000px,calc(100vw - 32px),calc((100dvh - 140px)*2.25));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:70px 48px 40px;border:1px solid #fff;border-radius:2px;overflow:auto;background:#fff;box-shadow:0 20px 80px #00182d66}
#welcome-popup::backdrop{background:rgba(0,18,42,.76)}
.welcome-banner{display:block;border-radius:0;overflow:hidden}
.welcome-banner img{display:block;width:100%;height:auto}
.welcome-close{position:absolute;right:12px;top:10px;width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:0;background:transparent;color:#aaa;font:48px/1 Arial,sans-serif;box-shadow:none}
.welcome-close:hover{color:#555}
@media(max-width:600px){#welcome-popup{padding:54px 16px 20px}.welcome-close{right:6px;top:4px;font-size:40px}}
html.welcome-open{overflow:hidden}

/* Intrinsic image dimensions reserve space while artwork loads. */
.lottery-grid img,.promo-grid img,.mini-grid img,.game img{height:auto}
/* The title retains the original appearance with a semantic page heading. */
.platform-guide #guide-title{font-weight:800}
.skip-link{position:fixed;left:12px;top:8px;z-index:100;background:#fff;color:#034f83;padding:10px 16px;transform:translateY(-160%)}
.skip-link:focus{transform:translateY(0)}

.brand{background:url("assets/optimized/header.webp") center/100% 100% no-repeat}
.balance .wallet-amount{font-weight:bold}

.drawer>img{height:auto}
