    
:root{--p1:#10b981;--p2:#047857;--red:#e5121b;--ink:#15111f;--bg:#f4f3f8;--ok:#1a9e4b;--warn:#e69a00}
*{box-sizing:border-box;margin:0;font-family:'Poppins',sans-serif}
html,body{overflow-x:hidden}
body{background:var(--bg);color:var(--ink);font-size:14px;min-height:100vh;display:flex;justify-content:center}
button{cursor:pointer;border:0;font-weight:600;font-size:13px}
button:disabled{opacity:.45;cursor:not-allowed}
small{display:block;font-size:11px;opacity:.8;font-weight:400}
.muted{color:#777;font-size:12px}
#app{width:100%;max-width:480px;min-height:100vh;background:#fff;position:relative;padding-bottom:calc(40px + env(safe-area-inset-bottom))}
.top{background:linear-gradient(160deg,var(--p1),var(--p2));color:#fff;padding:16px 16px 14px;padding-top:calc(16px + env(safe-area-inset-top))}
.who{display:flex;gap:10px;align-items:center;margin-bottom:12px}
.avatar{width:42px;height:42px;border-radius:50%;background:#fff;color:var(--p2);display:grid;place-items:center;font-weight:700;font-size:18px}
.bal3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}
.bal3 div{background:rgba(255,255,255,.12);border-radius:12px;padding:8px 10px;min-width:0}
.bal3 b{font-size:14px;display:block;overflow:hidden;text-overflow:ellipsis}
.btn{padding:11px 16px;border-radius:10px;color:#fff;background:var(--ink)}
.btn.red{background:var(--red)}.btn.gray{background:rgba(255,255,255,.2)}.btn.light{background:#e9e6f3;color:var(--ink)}
.btn.block{width:100%}
#view{padding:14px}
.card{background:#fff;border-radius:16px;box-shadow:0 4px 18px rgba(40,10,90,.1);padding:14px;margin-bottom:14px}
.menu button{display:flex;width:100%;justify-content:space-between;align-items:center;background:#fff;padding:14px;border-radius:12px;box-shadow:0 2px 10px rgba(40,10,90,.08);margin-bottom:10px;color:var(--ink);font-weight:500;text-align:left}
.row{display:flex;justify-content:space-between;align-items:center;gap:8px}
.cd{font-weight:700;font-size:22px;color:var(--p2)}
.cd.locked,.pill.locked{color:var(--red)}
.pill{font-size:11px;font-weight:600;padding:3px 10px;border-radius:20px;background:#e8f7ee;color:var(--ok)}
.pill.locked{background:#fde8e9}
.cats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}
.cat{background:#f1eff8;border-radius:14px;padding:10px 4px;color:var(--ink);font-size:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.cat img{width:100%;height:92px;object-fit:contain;display:block}
.coin-name{display:block;font-size:12px;font-weight:800;line-height:1.2;color:#111827;text-align:center}
.nums{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.num{min-height:94px;border-radius:10px;font-size:20px;color:#fff;background:#000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px 2px}
.num img{max-width:100%;display:block}
.num .coin-name{font-size:11px;color:#fff}
.num.r{background:var(--red)}
#game .cat .coin-name{color:#111827}
#game.lock .cat,#game.lock .num{opacity:.4;pointer-events:none}
table{width:100%;border-collapse:collapse;font-size:12px}
th,td{padding:8px 4px;text-align:center;border-bottom:1px solid #eee}
th{color:#777;font-weight:500}
.rd{color:var(--red)}.bk{color:#000}
.pager{display:flex;justify-content:space-between;align-items:center;margin-top:10px}
.pager button{padding:7px 14px;border-radius:8px;background:var(--p2);color:#fff}
.tabs{display:flex;gap:6px;margin-bottom:12px;overflow-x:auto}
.tabs button{padding:7px 14px;border-radius:8px;background:#eee;white-space:nowrap}
.tabs .on{background:var(--p2);color:#fff}
.rec{padding:10px 0;border-bottom:1px solid #eee}
.s-success{color:var(--ok)}.s-fail{color:var(--red)}.s-wait{color:var(--warn)}
.bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:12;width:100%;max-width:480px;display:grid;grid-template-columns:repeat(3,1fr);background:#fff;box-shadow:0 -4px 16px rgba(0,0,0,.08);padding-bottom:env(safe-area-inset-bottom)}
.bottom button{background:none;padding:8px 0;font-size:11px;color:var(--ink)}
.bottom i{display:block;font-style:normal;font-size:20px}
.bottom .on{color:var(--red)}
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);display:grid;place-items:center;padding:14px;z-index:20}
.overlay[hidden],.toast[hidden]{display:none}
.modal{background:#fff;border-radius:14px;width:100%;max-width:360px;max-height:92vh;overflow:auto}
.modal h3{background:var(--red);color:#fff;padding:12px 14px;font-size:15px;border-radius:14px 14px 0 0;display:flex;justify-content:space-between}
.modal h3 button{background:none;color:#fff;font-size:18px}
.mb{padding:14px}.center{text-align:center}
.bignum{display:inline-grid;place-items:center;width:64px;height:48px;border-radius:10px;background:var(--red);color:#fff;font-size:26px;font-weight:700}
.chips{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0 12px}
.chips button{padding:9px;border-radius:8px;background:#fff;border:1px solid #ddd}
.chips .on{background:var(--red);color:#fff;border-color:var(--red)}
.qty{display:grid;grid-template-columns:44px 1fr 44px;margin:8px 0 12px}
.qty button{background:#e9e6f3;font-size:18px}.qty span{display:grid;place-items:center;border:1px solid #ddd}
.agree{display:flex;gap:8px;align-items:center;font-size:12px;margin:10px 0}
.agree input{accent-color:var(--red);width:16px;height:16px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tick{width:56px;height:56px;border-radius:50%;background:var(--ok);color:#fff;font-size:32px;display:grid;place-items:center;margin:0 auto 8px}
.toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;padding:10px 16px;border-radius:10px;z-index:30;max-width:90vw;font-size:13px}
.err{text-align:center;padding:20px;color:#777}
.auth{width:100%;display:grid;place-items:center;padding:16px;background:linear-gradient(160deg,var(--p1),var(--p2));min-height:100vh}
.auth-card{background:#fff;border-radius:18px;padding:22px;width:100%;max-width:380px}
.auth-card h1{color:var(--p2)}
.auth-card label{display:block;font-size:12px;margin:12px 0 4px;color:#555}
.auth-card input{width:100%;padding:11px;border:1px solid #ddd;border-radius:10px;font-size:14px;margin-top:4px}
.auth-card .btn{margin-top:16px}
.alert{background:#fde8e9;color:#b00;padding:10px;border-radius:10px;margin-top:10px;font-size:12px}
.link{background:none;color:var(--p2);margin-top:12px;width:100%}
@media(min-width:768px){body{padding:0px 0}#app{border-radius:20px;overflow:hidden;min-height:90vh}.bottom{border-radius:0 0 20px 20px}}

/* ---- site bar, menu, public pages ---- */
.site-bar{position:sticky;top:0;z-index:15;background:var(--p1);color:#fff;display:flex;justify-content:space-between;align-items:center;padding:10px 16px;padding-top:calc(10px + env(safe-area-inset-top))}
.logo{color:#fff;text-decoration:none;font-weight:700;font-size:20px}
.menu-btn{background:rgba(255,255,255,.15);color:#fff;border-radius:10px;width:40px;height:40px;font-size:20px}
.menu-panel{position:absolute;right:12px;top:100%;margin-top:4px;background:#fff;border-radius:14px;box-shadow:0 8px 28px rgba(40,10,90,.25);min-width:210px;padding:8px;z-index:30}
.menu-panel[hidden]{display:none}
.menu-panel a{display:block;padding:10px 12px;border-radius:8px;color:var(--ink);text-decoration:none;font-weight:500}
.menu-panel a:hover{background:#f1eff8}
.menu-panel hr{border:0;border-top:1px solid #eee;margin:6px 0}
.page{padding:14px}
.page h1{font-size:22px;margin-bottom:10px;color:var(--p2)}
.page h2{font-size:16px;margin:10px 0 6px}
.page p{line-height:1.7;color:#444;margin-bottom:8px}
.hero{background:linear-gradient(160deg,var(--p1),var(--p2));color:#fff;border-radius:16px;padding:20px;margin-bottom:14px}
.hero h1{color:#fff}.hero p{color:#e8e1ff}.hero .two{margin-top:12px}
.btn{display:inline-block;text-align:center;text-decoration:none}
.sec{margin:6px 0 10px}
.post{display:block;background:#fff;border-radius:14px;box-shadow:0 3px 14px rgba(40,10,90,.08);padding:14px;margin-bottom:10px;color:var(--ink);text-decoration:none}
.post b{display:block;color:var(--p2);margin-bottom:4px}.post span{display:block;color:#555;font-size:13px;line-height:1.5}.post small{color:#888;margin-top:4px}
.body{line-height:1.8;margin-top:10px;color:#333}
.sitefoot{text-align:center;font-size:12px;color:#777;margin:18px 0 8px}.sitefoot a{color:var(--p2)}
.okmsg{background:#e8f7ee;color:var(--ok);padding:10px;border-radius:10px;margin-bottom:10px;font-size:13px}
.bottom a{background:none;padding:8px 0;font-size:11px;color:var(--ink);text-align:center;text-decoration:none;font-weight:600}
.bottom a i{display:block;font-style:normal;font-size:20px}
.bottom a.on{color:var(--red)}

/* ---- my record (list + expandable detail) ---- */
.rec2{border-bottom:1px solid #ddd;cursor:pointer}
.rec2 .rh{display:flex;justify-content:space-between;align-items:center;padding:12px 4px;font-size:13px}
.rec2 .rh b{font-weight:600}
.rec2.open{background:#f4f3f8}
.rec2 .pd{padding:4px 8px 12px}
.rec2 .pd h4{color:var(--ok);font-size:13px;margin:4px 0 8px}
.rec2 .pd div{display:flex;justify-content:space-between;padding:5px 0;font-size:13px}
.rec2 .pd div span:first-child{font-weight:600}
.rec2 .pd [data-c=red]{color:var(--red)}.rec2 .pd [data-c=black]{color:#000}
.rec-foot{display:flex;justify-content:space-between;align-items:center;padding:12px 4px;font-size:12px;color:#555}
.rec-foot button{background:none;font-size:22px;padding:0 10px;color:var(--p2)}
.rec-foot button:disabled{color:#bbb}
.reflink{display:flex;gap:8px;margin:8px 0}
.reflink input{flex:1;min-width:0;padding:10px;border:1px solid #ddd;border-radius:10px;font-size:12px}
.reflink button{padding:10px 14px;border-radius:10px;background:var(--p2);color:#fff}

/* profile header: logo + right-side menu; image bet buttons */
.avatar{overflow:hidden;flex:none}
.avatar img{width:100%;height:100%;object-fit:cover;display:block}
.who{position:relative}
.who-menu{margin-left:auto}
.who-menu .menu-panel{top:100%;right:0;margin-top:6px}
.cat{background:none!important;padding:0!important;border-radius:14px;overflow:hidden;line-height:0}
.cat img{width:100%;height:auto;display:block}
.res{font-size:16px;letter-spacing:2px}

/* Number buttons styling: Background removed and size set to 72px x 72px */
.nums button.num, .num {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

/* Number button images size */
.nums button.num img, .num img {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain !important;
  display: block;
}


/* CryptoXPlay coin labels and record icons */
#game .num .coin-name,
#game .cat .coin-name {
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  font-size:10px !important;
  font-weight:600 !important;
  line-height:1.2 !important;
  text-align:center !important;
  color: #000 !important;
}
.result-coin,.record-coin{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  vertical-align:middle;
  min-width:34px;
}
.result-coin img{width:28px;height:28px;max-width:28px;max-height:28px;object-fit:contain;display:block;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.result-coin small{font-size:10px;font-weight:800;color:#111827;line-height:1.1}
.record-coin{flex-direction:row;gap:5px}
.record-coin img{width:20px;height:20px;max-width:20px;max-height:20px;object-fit:contain;display:inline-block;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.record-coin b{font-size:12px;font-weight:700;color:#111827}
#modal .modal .mb .center img{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}

/* v20261110c: ensure record/history coin artwork uses the same fixed icon box as the game grid */
#view .result-coin img,
#view .record-coin img,
#spade .result-coin img,
#spade .record-coin img {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  object-fit: contain !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* =========================================================
   CryptoXPlay App Refresh — clean green / white mobile UI
   UI-only layer; existing game and wallet logic is preserved.
   ========================================================= */
:root{--p1:#08ad78;--p2:#006b45;--ink:#101827;--bg:#f4f6f8;--ok:#0b9b5b;--red:#e5122a}
body{background:#f1f3f6;color:#111827}
#app{max-width:500px;background:#f7f8fa;box-shadow:0 8px 36px rgba(15,23,42,.08);padding-bottom:calc(76px + env(safe-area-inset-bottom));min-height:100vh}
.top{background:linear-gradient(135deg,#08b77e 0%,#00865e 58%,#006b4a 100%);padding:16px 16px 18px;padding-top:calc(16px + env(safe-area-inset-top));}
.who{margin-bottom:14px;gap:10px}
.avatar{width:42px;height:42px;border:2px solid rgba(255,255,255,.55);background:#052c22}
.avatar img{border-radius:50%;object-fit:cover!important}
.who>div:not(.who-menu){min-width:0}
.who>div b{font-size:14px;font-weight:700}
.who>div small{font-size:10px;color:rgba(255,255,255,.85)}
.bal3{grid-template-columns:repeat(2,minmax(0,1fr));max-width:310px;margin:0;gap:8px}
.bal3 div{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.08);border-radius:13px;padding:9px 11px}
.bal3 small{font-size:10px;color:rgba(255,255,255,.86)}
.bal3 b{font-size:14px;color:#fff;font-weight:700}
#view{padding:14px 14px 24px}
.card{border:1px solid #edf0f3;border-radius:17px;box-shadow:0 5px 18px rgba(15,23,42,.055);padding:15px;margin-bottom:13px}
.home-hero{position:relative;display:flex;align-items:center;min-height:176px;overflow:hidden;padding:20px 16px;border-radius:20px;margin-bottom:15px;color:#fff;background:linear-gradient(125deg,#052d22 0%,#006c49 58%,#09a66f 100%);box-shadow:0 8px 22px rgba(0,105,71,.16)}
.home-hero:after{content:"";position:absolute;width:190px;height:190px;border:1px solid rgba(91,255,190,.22);border-radius:50%;right:-55px;top:-58px;box-shadow:0 0 0 18px rgba(91,255,190,.045),0 0 0 38px rgba(91,255,190,.035)}
.home-hero-copy{position:relative;z-index:1;max-width:68%}
.home-hero .eyebrow{display:block;font-size:9px;letter-spacing:1.5px;font-weight:700;color:#a7f3d0;margin-bottom:7px}
.home-hero h1{font-size:20px;line-height:1.2;color:#fff;margin:0 0 8px;font-weight:800}
.home-hero h1 span{color:#a3f33b}
.home-hero p{font-size:10px;line-height:1.5;color:#d7f8e9;margin:0 0 13px;max-width:220px}
.home-brand-art{position:absolute;right:8px;bottom:8px;width:126px;height:126px;object-fit:cover;border-radius:50%;opacity:.92;border:1px solid rgba(255,255,255,.2);box-shadow:0 4px 20px rgba(0,0,0,.25)}
.home-primary,.home-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 13px;border-radius:9px;text-decoration:none;font-size:11px;font-weight:700}
.home-primary{background:#fff;color:#006b45;box-shadow:0 3px 10px rgba(0,0,0,.12)}
.home-secondary{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.25)}
.home-hero-actions{display:flex;gap:8px;flex-wrap:wrap}
.home-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px 0 12px}
.home-section-head h2{font-size:14px;font-weight:800;color:#111827;margin:0}
.text-action{background:transparent;color:#08794f;font-size:11px;font-weight:700;padding:4px 0}
.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:14px}
.quick-card{min-width:0;min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;padding:12px 5px;border:1px solid #edf0f3;border-radius:15px;background:#fff;box-shadow:0 3px 12px rgba(15,23,42,.045);text-decoration:none;color:#111827}
.quick-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#e8f8f0;color:#07834f;font-size:24px;font-weight:700;line-height:1}
.quick-card b{font-size:11px;font-weight:700}
.quick-card small{font-size:9px;color:#788391;line-height:1.25}
.home-results-card{padding:15px}
.home-result-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 2px;border-top:1px solid #eef0f2}
.home-result-row>b{font-size:11px;color:#263244;font-weight:600}
.home-result-coins{display:flex;align-items:center;gap:8px}
.home-result-coins>span{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:28px}
.home-result-coins img{width:25px;height:25px;object-fit:contain}
.home-result-coins small{font-size:8px;font-weight:700;color:#344054}
.home-result-coins i{font-style:normal;color:#b6c0cc;font-size:11px}
.home-balance-strip{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 15px;border-radius:15px;background:#e8f7ef;border:1px solid #d6f0e1;margin-bottom:12px}
.home-balance-strip small{font-size:10px;color:#527464}
.home-balance-strip b{display:block;font-size:16px;color:#075f3d;margin-top:3px}
.home-balance-strip a{font-size:10px;color:#08794f;font-weight:700;text-decoration:none;white-space:nowrap}
.home-info p{font-size:12px;color:#667085;margin-top:6px;line-height:1.55}
/* Game view */
.game-screen{display:flex;flex-direction:column;gap:13px}
.game-round-card{background:#fff;border:1px solid #edf0f3;border-radius:19px;padding:16px 13px 14px;box-shadow:0 5px 18px rgba(15,23,42,.055)}
.game-round-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.game-round-top small,.game-countdown small{font-size:10px;color:#697586}
.game-round-top #period{display:block;font-size:16px;color:#101828;font-weight:800;line-height:1.35}
.game-countdown{text-align:right}
.game-countdown .cd{font-size:23px;line-height:1.2;color:#08794f;font-weight:800}
.game-countdown .cd.locked{color:#dc2626}
.game-status-wrap{text-align:center;margin:13px 0 15px}
.game-status-wrap .pill{display:inline-flex;padding:5px 12px;border-radius:30px;background:#e7f8ee;color:#07834f;font-size:10px;font-weight:800;letter-spacing:.2px}
.game-status-wrap .pill.locked{background:#fff0f0;color:#dc2626}
.game-coin-section{padding:0 1px}
.game-coin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:15px}
#game .cat{width:100%;min-width:0;min-height:114px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:9px 4px;background:#fff!important;border:1px solid #edf0f3!important;border-radius:14px!important;box-shadow:0 2px 8px rgba(15,23,42,.045)!important}
#game .cat img{width:76px;height:76px;max-width:76px;object-fit:contain}
#game .cat .coin-name{font-size:10px!important;color:#17212f!important;font-weight:800!important}
.game-number-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px 5px}
#game .num{min-width:0;min-height:76px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px 2px;background:#fff!important;border:1px solid #edf0f3!important;border-radius:12px!important;box-shadow:0 2px 7px rgba(15,23,42,.04)!important;color:#111827!important}
#game .num img{width:47px!important;height:47px!important;max-width:47px!important;object-fit:contain!important}
#game .num .coin-name{font-size:9px!important;color:#263244!important;font-weight:800!important}
#game .cat:active,#game .num:active{transform:scale(.97)}
.game-hint{text-align:center;font-size:10px;color:#87909c;margin-top:12px}
.game-record-card{padding:14px 12px}
.game-record-card table{font-size:11px}
.game-record-card th{font-size:10px;color:#667085}
.game-record-card td{font-size:11px;color:#344054;padding:8px 3px}
/* Wallet */
.wallet-total{padding:18px;border-radius:18px;background:linear-gradient(135deg,#08a96f,#006b48);color:#fff;box-shadow:0 8px 20px rgba(0,111,73,.14);margin-bottom:13px}
.wallet-total-top{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.wallet-symbol{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:rgba(255,255,255,.16);font-size:27px}
.wallet-total small{font-size:11px;color:#d8f7e8}
.wallet-total b{display:block;font-size:23px;color:#fff;font-weight:800;margin-top:2px}
.wallet-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.wallet-actions button{padding:11px 8px;border-radius:11px;font-size:14px;font-weight:700}
.wallet-deposit{background:#fff;color:#08794f}
.wallet-withdraw{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.75)}
.wallet-links{background:#fff;border:1px solid #edf0f3;border-radius:16px;padding:4px 13px;margin-bottom:13px;box-shadow:0 4px 14px rgba(15,23,42,.04)}
.wallet-links button{display:flex;align-items:center;gap:12px;width:100%;padding:14px 2px;background:#fff;color:#1f2937;text-align:left;font-size:12px;border-bottom:1px solid #eef0f2}
.wallet-links button:last-child{border-bottom:0}
.wallet-links button b{margin-left:auto;font-size:20px;color:#7b8794;font-weight:400}
.wallet-link-icon{width:31px;height:31px;border-radius:9px;background:#e8f8f0;color:#07834f;display:grid;place-items:center;font-size:18px}
.wallet-history table{font-size:10px}
/* Four item bottom navigation */
.bottom{max-width:500px;grid-template-columns:repeat(4,1fr);padding:7px 8px calc(7px + env(safe-area-inset-bottom));border-top:1px solid #edf0f3;box-shadow:0 -5px 18px rgba(15,23,42,.07);background:rgba(255,255,255,.98);backdrop-filter:blur(12px)}
.bottom a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px 0;color:#344054;font-size:10px;font-weight:600;text-decoration:none}
.bottom a i{width:36px;height:27px;display:grid;place-items:center;border-radius:18px;font-style:normal;font-size:19px;line-height:1;color:#344054}
.bottom a.on{color:#07834f}
.bottom a.on i{background:#08a96f;color:#fff}
/* Bet modal polish; modal text and action handlers remain unchanged. */
#modal .modal{border-radius:17px;box-shadow:0 18px 55px rgba(0,0,0,.25)}
#modal .modal h3{background:#10231c!important;color:#fff!important;border-radius:17px 17px 0 0}
#modal .chips button{border-radius:9px;border-color:#dce3e8;color:#243244;background:#fff}
#modal .chips button.on{background:#079b65!important;color:#fff!important;border-color:#079b65!important}
#modal .qty button{background:#eaf6ef;color:#08794f}
#modal .btn.green,#modal #ok{background:linear-gradient(135deg,#08ad70,#00784f)!important}
#modal .bignum{background:#e8f7ef;color:#08794f}
@media(max-width:360px){.home-hero{min-height:160px;padding:16px 13px}.home-hero h1{font-size:18px}.home-brand-art{width:104px;height:104px;right:4px}.quick-grid{gap:7px}.quick-card{min-height:92px}.game-coin-grid{gap:6px}#game .cat{min-height:104px}#game .cat img{width:67px;height:67px}}
@media(min-width:768px){body{padding:18px 0}#app{border-radius:22px;overflow:hidden;min-height:calc(100vh - 36px)}.bottom{border-radius:0 0 22px 22px}}
