/* VegasKing789 / Hardcourt Club */
:root{--ink:#102942;--muted:#697e93;--paper:#f1f6fb;--green:#176ec0;--lime:#ccecff;--line:#dce6ef;--shadow:0 10px 35px #123c5e08;--radius:14px}body{background:var(--paper)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#258be3}.btn.primary{background:#176bc1;box-shadow:0 3px 9px #176bc119}.btn.primary:hover{background:#0b5199}.btn.lime{background:#ecf8ff;color:#10476e}.btn.soft{background:#eaf3fb;color:#185c9a}.btn.dark{background:#0c2946}.badge.green{color:#155e94;background:#e4f3ff}.badge.outline{color:#627a92}.icon-button{background:#eef4f9}.panel,.match-card{box-shadow:var(--shadow)}.notice{background:#eef6fd;border-color:#d3e6f8;color:#2e587b}.notice.danger{background:#fff0ee;border-color:#f3d2ce;color:#a73732}.field input:focus,.field select:focus,.field textarea:focus{border-color:#4c95d7}.check-field input{accent-color:#176bc1}.text-button,.green-text{color:var(--green)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}code{font-size:.92em;overflow-wrap:anywhere}.live-dot{background:#218ad7;box-shadow:0 0 0 4px #218ad715}.page-container{max-width:1440px;padding:30px 40px 64px}.page-heading h1{font-size:32px}.brand small{font-size:7px;letter-spacing:2px;color:#6483a1}.brand-mark{border:1px solid #dfebf4}.member-bar{background:#0c2541;color:#c1d4e6;font-size:11px;position:relative;z-index:35}.member-bar>div{max-width:1440px;margin:auto;padding:9px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:54px}.member-bar-title{letter-spacing:1.3px;font-size:10px}.member-bar-title b{color:#fff;font-weight:500}.member-bar-title small{margin-left:20px;color:#8faac3}.member-tools{display:flex;align-items:center;gap:22px}.member-tools>a{display:flex;align-items:center;gap:7px}.member-tools .icon{width:16px;height:16px}.member-tools .wallet-pill{border:0;background:none;padding:0;color:#e6f7ff;border-radius:0}.member-tools .wallet-pill span{font-weight:700;font-size:14px}.member-tools .btn{color:#fff;padding:8px 22px;background:#2783d1;border:1px solid #3f95dc}.account-menu{position:relative}.account-menu summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;color:#e5eef7}.account-menu summary::-webkit-details-marker{display:none}.account-menu summary>.icon{width:12px;transform:rotate(90deg)}.account-menu .avatar{width:26px;height:26px;background:#284966;color:#d6e9fa;font-size:11px}.account-menu nav{position:absolute;top:39px;right:0;background:white;color:#254768;width:215px;padding:8px;box-shadow:0 12px 35px #061f3f2a;border-radius:10px;border:1px solid var(--line);display:flex;flex-direction:column}.account-menu nav a,.account-menu nav button{padding:12px;display:flex;gap:10px;align-items:center;justify-content:flex-start;font-size:12px;border-radius:6px}.account-menu nav a:hover{background:#eff6fd}.club-header{background:#ffffffed;box-shadow:0 4px 22px #0c294604;top:0}.club-header .header-inner{max-width:1440px;padding:0 40px;min-height:94px;gap:48px;flex-wrap:nowrap}.club-header .brand{font-size:28px;flex-shrink:0}.club-header .brand-mark{width:46px;height:46px}.club-header .main-nav{height:94px;width:auto;order:0;flex:1;gap:10px;justify-content:space-around;margin:0}.club-header .main-nav a{flex-direction:column;gap:6px;justify-content:center;padding:0 22px;font-size:12px;color:#68819a;flex:0 1 auto}.club-header .main-nav a>.icon{width:24px;height:24px;stroke-width:1.5}.club-header .main-nav a[aria-current]{color:#1568b5;background:linear-gradient(0deg,#edf6ff,transparent)}.club-header .main-nav a[aria-current]:after{height:3px;border-radius:4px 4px 0 0;left:20px;right:20px}.site-footer{background:#e8f0f7;border-color:#d7e3ee;color:#5e7690}.site-footer strong{color:#123b61}.chat-launcher{position:fixed;bottom:22px;right:25px;display:flex;align-items:center;gap:12px;padding:15px 20px;background:#0e5da7;color:#fff;border:1px solid #438ccc;border-radius:50px;box-shadow:0 8px 24px #103f6e26;z-index:25;font-size:12px;font-weight:600}.chat-launcher:hover{background:#084a89}.chat-launcher .icon{width:21px;height:21px}.unread-count{background:#f2b34b;color:#17334c;font-size:10px;min-width:19px;height:19px;border-radius:20px;padding:1px 5px;text-align:center;display:inline-block}.unread-count[hidden]{display:none}
.club-welcome{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#71879d;margin-bottom:20px}.club-welcome>span:first-child{font-size:9px;letter-spacing:2px;color:#3c759f;font-weight:600}.club-welcome .icon{width:16px;height:16px;margin-right:8px}.club-hero{min-height:375px;position:relative;border-radius:20px;overflow:hidden;background:linear-gradient(105deg,#072440 0%,#124976 56%,#1c75aa 100%);color:#fff;isolation:isolate}.club-hero-copy{position:relative;z-index:2;padding:46px 48px 52px;width:60%;max-width:710px}.club-hero .eyebrow{color:#9fcaeb;font-size:9px;letter-spacing:2.4px;margin-bottom:17px}.club-hero h1{font-size:clamp(32px,3.6vw,54px);line-height:1.35;font-weight:650;letter-spacing:-1.4px;margin:0 0 16px}.club-hero h1 span{color:#9dd9ff}.club-hero p{font-size:13px;line-height:1.9;color:#c7dff2;max-width:440px;white-space:pre-line;overflow-wrap:anywhere}.club-hero .btn{margin-top:8px;font-size:12px;padding:13px 22px}.club-court{position:absolute;width:53%;height:125%;right:-5%;top:-4%;transform:rotate(-19deg);background:linear-gradient(140deg,#258dbe18,#3eabde4d);border-left:12px solid #ffffff07}.club-court .court-lines{inset:13% 14%;background:#3da0ce18;border-color:#e3f7ff88;box-shadow:0 0 0 26px #39a5dd19,0 0 0 28px #c4edff33}.court-lines:before,.court-lines:after,.court-lines em{background:#b8e8ff77}.court-lines b{border-color:#b8e8ff77}.court-lines i{background:#e7f9ffbd}.court-ball{position:absolute;width:72px;height:72px;left:24%;top:56%;border-radius:50%;background:radial-gradient(circle at 30% 25%,#f2fff8,#b9e7c0 50%,#77b18d);box-shadow:18px 28px 27px #00244255;border:1px solid #e4ffec66;overflow:hidden}.court-ball:before,.court-ball:after{content:"";position:absolute;border:2px solid #ffffffb8;border-radius:50%;width:80px;height:80px;top:-8px;left:-62px;transform:rotate(20deg)}.court-ball:after{left:50px}.court-word{position:absolute;right:8%;top:50%;transform:rotate(19deg);font-size:51px;line-height:.95;font-weight:800;letter-spacing:-3px;color:#e7f8ff28}.banner-controls{position:absolute;bottom:22px;right:30px;z-index:3;display:flex;align-items:center;gap:10px}.banner-controls>span{font-size:10px;letter-spacing:2px;color:#bbd9ee;margin-right:8px}.banner-controls .icon-button{background:#ffffff15;color:#d5eaff;border:1px solid #ffffff26;width:30px;height:30px}.banner-controls button:first-of-type .icon{transform:rotate(180deg)}.club-hero.has-banner{min-height:0;display:grid;grid-template-columns:1fr;background:#fff;color:var(--ink);border:1px solid var(--line)}.club-banner-image{width:100%;max-height:420px;object-fit:contain;display:block;background:#0d2c49}.has-banner .club-hero-copy{width:100%;max-width:none;padding:25px 30px 30px}.has-banner .club-hero-copy .eyebrow{color:#437dab}.has-banner h1{font-size:27px;letter-spacing:-.7px}.has-banner p{color:#59728b;max-width:900px}.has-banner .btn{background:#176bc1;color:#fff}.has-banner .banner-controls{bottom:26px;color:#476784}.has-banner .banner-controls span{color:#476784}.has-banner .banner-controls button{color:#176bc1;background:#e7f2fb}.club-ticker{display:flex;align-items:center;gap:12px;color:#56718b;font-size:11px;background:#e4eef8;border:1px solid #d9e7f3;padding:11px 18px;margin:17px 0 35px;border-radius:9px}.club-ticker>.icon{width:16px;height:16px;color:#2d79b6}.club-ticker>span{flex:1}.club-ticker>a{font-weight:600;color:#236ca6;white-space:nowrap}.club-ticker a .icon{width:14px;height:14px}.section-heading{margin-bottom:20px}.section-heading h2{font-size:25px;letter-spacing:-.6px}.club-sports{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:40px}.club-sport-card{border:1px solid #d9e6f1;border-radius:14px;text-align:left;position:relative;overflow:hidden;background:linear-gradient(110deg,#fff,#e1effb);padding:26px 28px;min-height:185px;transition:transform .2s,box-shadow .2s;color:var(--ink)}.club-sport-card:hover{transform:translateY(-3px);box-shadow:0 10px 30px #176bc112}.club-sport-card>div{position:relative;z-index:1}.club-sport-card h3{font-size:26px;margin:10px 0 4px;font-weight:650}.club-sport-card .eyebrow{font-size:8px;color:#5f89a8}.club-sport-card p{font-size:10px;color:#617f98;margin-bottom:20px}.club-sport-card .text-button{font-size:11px}.club-sport-card .text-button .icon{width:15px;height:15px}.sport-orb{position:absolute;right:-7px;bottom:-19px;font-size:105px;filter:grayscale(.25);opacity:.25;transform:rotate(-20deg);line-height:1.3}.club-sport-card.tennis{background:linear-gradient(110deg,#fff,#d7f0fc)}.club-sport-card.basketball{background:linear-gradient(110deg,#fff,#e0eaf8)}.club-home-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start;margin-bottom:38px}.upcoming-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.upcoming-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px;display:block;transition:border-color .2s}.upcoming-card:hover{border-color:#7eb4df}.upcoming-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#71879c}.upcoming-card>p{font-size:11px;color:#4c718f;margin:17px 0}.upcoming-pair{display:grid;grid-template-columns:1fr 25px 1fr;align-items:center;gap:7px;min-height:105px}.upcoming-pair>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;min-width:0}.upcoming-pair strong{font-size:12px;overflow-wrap:anywhere}.upcoming-pair>span{font-size:9px;font-weight:700;color:#9cb0c1;text-align:center}.club-portrait{width:54px;height:54px;display:inline-flex;align-items:center;justify-content:center;background:#edf5fc;border:1px solid #d5e5f3;border-radius:50%;color:#387cab;font-size:18px;overflow:hidden;flex-shrink:0}.club-portrait img{width:100%;height:100%;object-fit:contain;background:#fff;padding:3px}.upcoming-bottom{margin-top:22px;padding-top:12px;border-top:1px solid #edf2f6;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#3978a8}.upcoming-bottom .icon{width:14px;height:14px}.club-member-card{background:linear-gradient(145deg,#0c2d4c,#164d78);color:#c5dbed;padding:28px;border-radius:14px;margin-top:69px}.club-member-card .eyebrow{font-size:8px;color:#8fbcdf}.club-member-card h2{color:#fff;font-size:27px;margin:16px 0 25px}.club-member-card>span{font-size:11px}.member-balance{display:block;font-size:32px;color:#edf9ff;line-height:1.4;margin:6px 0 18px;font-weight:600;letter-spacing:-1px}.club-wallet-actions{display:flex;gap:8px;margin-bottom:20px}.club-wallet-actions .btn{font-size:11px;padding:10px 16px;flex:1}.club-wallet-actions .soft{background:#ffffff12;color:#d7edff;border:1px solid #ffffff25}.club-member-card>a{border-top:1px solid #ffffff20;padding:15px 0 0;margin-top:15px;display:block;font-size:12px;color:#fff}.club-member-card>a>span{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#9fc0dc;margin-top:3px}.club-member-card>a .icon{width:14px;height:14px}.club-reads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.club-reads article{display:flex;align-items:flex-start;gap:20px;background:#fff;padding:24px;border:1px solid var(--line);border-radius:12px}.read-number{font-size:22px;font-weight:300;color:#a8c4da;line-height:1.2;margin-top:3px}.club-reads h3{font-size:14px;margin:10px 0}.club-reads p{font-size:11px;color:#71879a;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.club-reads .text-button{font-size:11px}.club-reads .empty,.upcoming-grid>.empty{grid-column:1/-1;background:#fff;border:1px solid var(--line);border-radius:12px}
/* A compact pre-match board, with one column for each supported market. */
.betting-container{max-width:1560px}.betting-container .page-heading{margin-top:0;margin-bottom:20px}.sports-subnav{border-color:#dce7f1;margin-bottom:22px}.odds-layout{display:grid;grid-template-columns:170px minmax(0,1fr) 225px;gap:17px;align-items:start}.sport-sidebar{background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px 12px;position:sticky;top:114px}.sport-sidebar>.eyebrow{font-size:8px;color:#92a8bc;margin:0 12px 6px}.sport-sidebar h2{font-size:18px;margin:0 12px 18px}.sport-sidebar>button,.sport-sidebar>a{display:flex;align-items:center;gap:10px;border:0;background:none;color:#647f98;padding:12px;border-radius:7px;text-align:left;width:100%;font-size:12px;margin:4px 0}.sport-sidebar>button.selected{background:#ddecfa;color:#1265b1;font-weight:650}.sport-sidebar button>.icon{width:12px;height:12px;margin-left:auto}.sport-sidebar button>span{font-size:18px}.sport-sidebar>a>.icon{width:16px;height:16px}.sidebar-divider{height:1px;background:#e5eef5;margin:20px 10px}.sport-sidebar>p{font-size:10px;color:#92a6b8;margin:28px 12px 3px}.odds-board{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0;box-shadow:var(--shadow)}.odds-toolbar{background:#123f67;color:#e5f3ff;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 19px}.odds-toolbar>div{display:flex;align-items:center;gap:11px}.odds-toolbar strong{font-size:13px}.odds-toolbar small{font-size:10px;color:#a8c9e5}.odds-toolbar>span{font-size:10px;color:#b4d4ed}.odds-toolbar .live-dot{background:#85d7ff}.odds-filters{display:flex;gap:12px;padding:12px 16px;background:#f8fbfe;border-bottom:1px solid var(--line)}.odds-filters .search-field{flex:1;min-width:0;margin:0;padding:7px 11px;background:#fff;border:1px solid #dee9f2}.odds-filters input{width:100%;font-size:11px;background:transparent}.odds-filters select{border:1px solid #dee9f2;border-radius:7px;max-width:185px;background:white;color:#55718a;font-size:10px;padding:7px}.odds-table-scroll{overflow:auto;scrollbar-width:thin}.odds-table{min-width:690px}.odds-table-head,.odds-event-row{display:grid;grid-template-columns:80px minmax(180px,1.7fr) repeat(3,minmax(115px,1fr))}.odds-table-head{background:#edf3f9;color:#526e85;font-size:10px;border-bottom:1px solid var(--line)}.odds-table-head>span{padding:12px 8px;text-align:center;border-right:1px solid #dce7f1}.odds-table-head>span:nth-child(2){text-align:left;padding-left:17px}.odds-time-bar{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#f0f6fc;border-bottom:1px solid var(--line);flex-wrap:wrap}.odds-time-label{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;color:#264f70;white-space:nowrap}.odds-time-label .icon{width:14px;height:14px;color:#176bc1}.odds-time-pills{display:flex;align-items:center;gap:6px;flex-wrap:wrap;flex:1}.odds-time-pill{border:1px solid #cbe0f3;background:#fff;color:#3d6587;font-size:11px;font-weight:600;padding:6px 12px;border-radius:7px;transition:background .15s,color .15s,border-color .15s}.odds-time-pill:hover{background:#e4f1fc;border-color:#8ec0ea}.odds-time-pill.selected{background:#176bc1;border-color:#176bc1;color:#fff;box-shadow:0 2px 6px #176bc126}.odds-collapse-all{border:1px solid #cbe0f3;background:#fff;color:#264f70;font-size:10px;font-weight:600;padding:6px 10px;border-radius:7px;margin-left:auto;white-space:nowrap}.odds-collapse-all:hover{background:#e4f1fc}.odds-league-heading{display:flex;align-items:center;gap:8px;background:#dceaf7;color:#264f70;font-size:10px;font-weight:600;padding:9px 15px;border:0;border-bottom:1px solid #ccdfef;width:100%;text-align:left;cursor:pointer;transition:background .15s}.odds-league-heading:hover{background:#cfe2f3}.odds-league-heading .icon{width:14px;height:14px}.odds-league-name{font-weight:600;min-width:0;overflow-wrap:anywhere}.odds-league-heading>span:last-child{margin-left:auto;font-size:9px;color:#517491;display:inline-flex;align-items:center;gap:5px;flex-shrink:0}.odds-league-heading>span:last-child .icon{width:13px;height:13px;transition:transform .2s;transform:rotate(90deg)}.odds-league-heading.collapsed>span:last-child .icon{transform:rotate(0deg)}.odds-event-row{border-bottom:1px solid var(--line);min-height:117px}.odds-event-row:last-child{border-bottom:0}.odds-event-row.closed{background:#f5f8fb}.odds-time{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px 5px;border-right:1px solid #edf2f7}.odds-time strong{font-size:13px}.odds-time>small{font-size:8px;color:#94a7b8;max-width:70px;text-align:center;line-height:1.7}.odds-time .bet-cutoff{font-size:8px;padding:0;margin:3px 0 0;border:0;color:#5c8cb2}.odds-teams{padding:17px 14px;display:flex;flex-direction:column;justify-content:center;gap:14px;border-right:1px solid #edf2f7;min-width:0}.odds-teams>div{display:flex;gap:8px;align-items:center;min-width:0}.team-crest{width:23px;height:23px;border:1px solid #dce9f3;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:10px;color:#397baa;background:#eef5fa;overflow:hidden;flex-shrink:0}.team-crest img{width:100%;height:100%;object-fit:contain;background:#fff}.odds-teams strong{font-size:11px;line-height:1.5;font-weight:550;overflow-wrap:anywhere}.odds-teams small{margin-left:auto;font-size:8px;color:#a6b8c8;flex-shrink:0}.odds-market-cell{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:9px 8px;border-right:1px solid #edf2f7}.odds-market-cell:last-child{border:0}.odds-market-cell .odds-option{min-height:29px;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:5px;padding:5px 8px;background:#f0f7ff;border:1px solid #e2edf8;border-radius:5px;color:#155b99;text-align:left}.odds-market-cell .odds-option:hover:not(:disabled){background:#dceeff;border-color:#82b8e4;box-shadow:0 1px 4px #1675be15}.odds-market-cell .odds-option>span{font-size:9px;color:#708da6;display:block;line-height:1.4}.odds-market-cell .odds-option small{font-size:9px;display:inline;color:#3e6a8e}.odds-market-cell .odds-option strong{font-size:13px;color:#1266b1;font-variant-numeric:tabular-nums;font-weight:700}.odds-option:disabled{opacity:.5}.odds-market-cell.unavailable{text-align:center;align-items:center;color:#c0cfdb;font-size:20px}.odds-footnote{font-size:9px;color:#8298ab;margin:0;padding:10px 16px 14px}.odds-board .pagination{padding:14px 16px;margin:0;font-size:10px;border-top:1px solid #e6eef5}.odds-board .pagination .btn{padding:6px 9px;font-size:9px}.club-betslip{display:block;background:#fff;color:var(--ink);padding:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;top:114px}.slip-heading{padding:16px;color:#295e88;border-bottom:1px solid var(--line);font-size:10px;font-weight:700;letter-spacing:1px;display:flex;align-items:center;gap:8px}.slip-heading .icon{width:17px;height:17px}.slip-heading>span{margin-left:auto;font-size:9px;letter-spacing:0;font-weight:400;color:#8198ac}.slip-empty{text-align:center;padding:28px 15px;border-bottom:1px dashed var(--line);background:linear-gradient(#fff,#f7fbff)}.slip-empty>.icon{padding:9px;border-radius:50%;width:40px;height:40px;background:#eaf4fd;color:#71a5cd}.slip-empty h3{font-size:12px;margin:13px 0 8px;font-weight:500}.slip-empty p{font-size:10px;color:#89a0b4;line-height:1.8;margin:0}.club-betslip .guide-balance{margin:18px 17px 0;padding:0;background:none;border:0}.club-betslip .guide-balance span{font-size:10px;color:#7a92a7}.club-betslip .guide-balance strong{font-size:24px;color:#214d73}.club-betslip>p{font-size:10px;color:#8a9fb1;margin:13px 17px}.club-betslip>.btn{margin:10px 14px;width:calc(100% - 28px);font-size:11px;padding:10px}.club-betslip>.text-button{font-size:10px;padding-bottom:18px}.ticket-summary{background:#f2f8fe;border-color:#dfebf5}.market-editor{background:#fbfdff;border-color:#dbe7f1}.option-editor{background:#f0f6fc}.sport-tabs button.selected{background:#e0f0ff;color:#176bc1}
/* Admin and support. */
.admin-sidebar{background:#eaf1f8}.admin-sidebar button{color:#607b94}.admin-sidebar button.active{color:#145f9e;background:#d7e9f8}.admin-sidebar>.eyebrow{color:#85a1b9}.admin-sidebar>a{color:#547997}.admin-content .panel td{font-size:11px}.admin-content .panel td strong{font-size:12px}.feed-status{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:20px;font-size:11px;color:#6e879e}.feed-help{padding-left:21px;color:#4c6c86;font-size:13px;line-height:2}.feed-help li{padding-bottom:13px}.settings-grid .field{font-size:12px}.media-search{display:flex;align-items:flex-end;gap:15px;margin-bottom:25px}.media-search .field{margin:0;flex:1;max-width:450px}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}.media-card{padding:28px 20px;text-align:center}.media-card>.club-portrait{display:flex;width:85px;height:85px;margin:0 auto 16px;font-size:28px}.media-card h3{font-size:16px;margin:12px 0 5px}.media-card p{font-size:11px;color:#7d95aa}.suggestion-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.announcement-banner{width:100%;border-radius:10px;margin-bottom:20px;max-height:340px;object-fit:contain}.chat-layout{display:grid;grid-template-columns:1fr;max-width:1000px;margin:auto;gap:18px}.chat-layout.with-inbox{grid-template-columns:275px minmax(0,1fr);max-width:none}.chat-inbox{border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden;max-height:760px;overflow-y:auto}.chat-inbox .panel-heading{padding:16px;display:flex;justify-content:space-between;align-items:center}.chat-inbox h3{margin:0;font-size:14px}.chat-inbox>button{border:0;border-top:1px solid #edf2f7;background:white;display:flex;width:100%;gap:12px;padding:16px;text-align:left;color:#385c7c}.chat-inbox>button.selected{background:#eaf4fd;border-left:3px solid #237dca;padding-left:13px}.chat-inbox>button .avatar{background:#e3eff8;color:#3174a8;flex-shrink:0;width:34px;height:34px}.chat-inbox button>div{min-width:0;flex:1}.chat-inbox strong{font-size:12px;display:block}.chat-inbox strong .unread-count{float:right}.chat-inbox small{font-size:10px;color:#8aa1b6}.chat-inbox p{font-size:10px;margin:5px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px;color:#6f8aa0}.chat-inbox .pagination{padding:12px;margin:0;gap:8px}.chat-panel{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden;display:flex;flex-direction:column;min-width:0}.chat-panel>header{padding:18px 24px;display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);background:#f9fcff}.chat-panel>header>.icon{background:#e5f2fd;color:#287fbe;width:38px;height:38px;padding:9px;border-radius:50%}.chat-panel header>div{flex:1}.chat-panel header strong{font-size:14px;display:block}.chat-panel header small{font-size:10px;color:#849bb0;display:block}.chat-messages{height:460px;min-height:260px;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:15px;background:linear-gradient(#f4f9fd,#f8fbfe);scrollbar-width:thin}.chat-bubble{max-width:80%;width:fit-content;border-radius:13px;padding:13px 17px;border:1px solid #dfebf4;background:#fff;align-self:flex-start;font-size:12px}.chat-bubble.mine{align-self:flex-end;background:#1e70b7;color:#fff;border-color:#1e70b7;border-bottom-right-radius:3px}.chat-bubble.theirs{border-bottom-left-radius:3px}.chat-bubble>span{font-size:9px;font-weight:600;color:#6f91ac}.chat-bubble.mine>span{color:#bddff9}.chat-bubble p{margin:5px 0 7px;white-space:pre-wrap;overflow-wrap:anywhere}.chat-bubble time{display:block;font-size:8px;text-align:right;color:#91a9bc}.chat-bubble.mine time{color:#b6d8f1}.chat-composer{padding:18px 22px;display:flex;gap:14px;align-items:center;border-top:1px solid var(--line)}.chat-composer textarea{resize:vertical;min-height:58px;max-height:180px;width:100%;border:1px solid var(--line);border-radius:9px;background:#f7fbfe;padding:12px;font-size:12px;color:#284e6e}.chat-composer .btn{flex-shrink:0;font-size:12px}.chat-hint{font-size:9px;color:#8ca1b3;text-align:center;margin:0 10px 15px}.chat-empty{margin:auto;text-align:center;color:#7896ae}.chat-empty>.icon{width:50px;height:50px;margin-bottom:20px;stroke-width:1}.chat-empty h3{font-size:18px;color:#3e6b8d}.chat-empty p{font-size:12px;line-height:2}.chat-older{padding:10px;font-size:11px;background:#eff7fd}.auth-story{background:linear-gradient(145deg,#0b2947,#124e78)}.auth-copy h1 span{color:#a3dcff}.auth-story:after{background:radial-gradient(circle,#81c6fa20,transparent 65%)}.auth-copy .eyebrow,.story-footer,.court-caption{color:#9cc3e0}.court-art .court-lines,.hero-court .court-lines{border-color:#c5ebff66;background:#438dc622;box-shadow:0 0 0 26px #4fa8e511,0 0 0 28px #bcdeff33}.insight-hero{background:linear-gradient(110deg,#0c2f50,#1b608b)}.insight-hero h1 span{color:#a3dcff}.insight-hero p{color:#b9d6ea}.insight-hero .eyebrow,.hero-edition{color:#9cc3e0}.balance-card,.stat-card.dark{background:#103b60}.player-monogram{background:#e4eff9;color:#3678ac}.player-monogram.second{background:#eaf1f8;color:#6b85a0}.segmented .selected,.portal-switch .selected{background:white;color:#1b69ab}.portal-switch,.segmented{background:#eaf1f8}.editorial-card{background:#e7f0f8}.auth-panel .btn{font-size:14px}.auth-trust{color:#859cb0}.member-tools.guest-tools{gap:10px;margin-left:auto}.member-tools .btn.guest-login-btn{background:#ffffff1a;color:#fff;border:1px solid #ffffff38;padding:8px 18px}.member-tools .btn.guest-login-btn:hover{background:#ffffff2b}.member-tools .btn.guest-register-btn{background:#2783d1;color:#fff;border:1px solid #4ca1ea;padding:8px 18px}.guest-card-note{font-size:12px;line-height:1.8;color:#c5dbed;margin:12px 0 22px}dialog.auth-popup-modal{width:min(440px,calc(100vw - 24px));max-width:min(440px,calc(100vw - 24px));max-height:92dvh;border-radius:18px;padding:0;border:1px solid #d5e4f2;box-shadow:0 28px 80px #061d384d;background:#fff;overflow:auto}.auth-popup-card{padding:34px 32px 30px;position:relative;background:#fff;color:var(--ink)}.auth-popup-brand{margin-bottom:22px;font-size:24px}.auth-popup-card .portal-switch{margin-bottom:22px;width:100%;display:grid;grid-template-columns:1fr 1fr}.auth-popup-card .portal-switch button{text-align:center;justify-content:center}.auth-popup-card h2{font-size:26px;font-weight:650;letter-spacing:-.8px;margin:10px 0 8px;color:var(--ink)}.auth-popup-card>.muted{font-size:13px;margin-bottom:22px}.auth-popup-card .btn.primary{font-size:14px;margin-top:4px}.auth-popup-card .auth-toggle{margin:20px 0 18px}.auth-popup-card .auth-trust{padding-top:18px}.auth-modal-close{position:absolute;top:16px;right:16px;z-index:10;background:#eef4f9;color:#1b3b5a;width:34px;height:34px;border-radius:50%;border:1px solid #d5e3f0}.auth-modal-close:hover{background:#dceaf7}.odds-option.selected{background:linear-gradient(135deg,#0ea5e9,#0284c7)!important;color:#fff!important;border-color:#0284c7!important;box-shadow:0 4px 12px #0284c740}
.odds-option.selected span,.odds-option.selected small,.odds-option.selected strong{color:#fff!important}
.slip-heading .parlay-badge{background:#176bc1;color:#fff}
body.has-bottom-betslip .chat-launcher{bottom:78px}
.cv-bs-collapsed-bar{position:fixed;left:0;right:0;bottom:0;z-index:920;height:58px;background:linear-gradient(90deg,#19d3e6,#0bc5ea);color:#062329;display:flex;align-items:center;justify-content:space-between;padding:0 14px;box-shadow:0 -6px 24px #00000038;cursor:pointer;user-select:none}
.cv-bs-bar-left{display:flex;align-items:center;gap:11px;min-width:0}
.cv-bs-count-badge{width:30px;height:30px;border-radius:6px;background:#0f4c5c;color:#fff;font-weight:800;font-size:14px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.cv-bs-bar-titles{display:flex;flex-direction:column;min-width:0}
.cv-bs-bar-titles strong{font-size:14px;font-weight:800;color:#062329;line-height:1.2}
.cv-bs-bar-titles small{font-size:11px;color:#083b44;font-weight:600}
.cv-bs-bar-right{display:flex;align-items:center;gap:12px;flex-shrink:0}
.cv-bs-balance{font-size:13px;font-weight:700;color:#062329}
.cv-bs-chevron-box{width:36px;height:36px;border-radius:8px;background:#0d94b038;color:#062329;font-size:14px;font-weight:900;display:inline-flex;align-items:center;justify-content:center}
.cv-bs-backdrop{position:fixed;inset:0;background:#00000080;z-index:940;backdrop-filter:blur(2px)}
.cv-bs-drawer{position:fixed;left:0;right:0;bottom:0;z-index:950;max-height:88dvh;width:min(560px,100vw);margin:0 auto;background:#14171a;color:#f1f5f9;border-radius:16px 16px 0 0;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 -12px 42px #00000075}
.cv-bs-top-bar{height:56px;background:linear-gradient(90deg,#19d3e6,#0bc5ea);color:#062329;display:flex;align-items:center;justify-content:space-between;padding:0 14px;cursor:pointer;flex-shrink:0}
.cv-bs-top-bar strong{font-size:15px;font-weight:800;color:#062329}
.cv-bs-mode-tabs{display:grid;grid-template-columns:1fr 1fr;background:#1c2024;border-bottom:1px solid #2d3339;flex-shrink:0}
.cv-bs-mode-tab{padding:11px 10px;text-align:center;font-size:13px;font-weight:600;color:#8b98a5;border-bottom:3px solid transparent}
.cv-bs-mode-tab.active{color:#fff;font-weight:800;border-bottom-color:#19d3e6;background:#22272c}
.cv-bs-legs-scroll{overflow-y:auto;max-height:34dvh;padding:4px 14px;divide-y:1px solid #262b31}
.cv-bs-leg-item{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #282e34}
.cv-bs-leg-item.conflict{background:#3b121966;padding:12px 10px;border-radius:8px;border:1px solid #ef4444;margin:4px 0}
.cv-bs-leg-main{flex:1;min-width:0}
.cv-bs-leg-head{display:flex;align-items:center;gap:6px;margin-bottom:3px}
.cv-bs-sport-dot{font-size:13px}
.cv-bs-pick-title{font-size:14px;font-weight:800;color:#19d3e6}
.cv-bs-pick-title .cv-bs-at{color:#94a3b8;font-weight:500}
.cv-bs-pick-title .cv-bs-odds{font-style:normal;color:#fff;font-weight:800}
.cv-bs-leg-sub{font-size:12px;color:#cbd5e1;margin-bottom:2px}
.cv-bs-leg-match{font-size:12px;color:#cbd5e1;margin-bottom:2px}
.cv-bs-leg-league{font-size:11px;color:#94a3b8}
.cv-bs-dup-alert{margin-top:5px;font-size:11px;font-weight:700;color:#fca5a5}
.cv-bs-remove-leg{width:26px;height:26px;border-radius:50%;border:none;background:#ef4444;color:#fff;font-size:16px;font-weight:900;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;margin-top:2px;padding:0}
.cv-bs-stake-area{padding:14px;background:#181c20;border-top:1px solid #2b3138;display:flex;flex-direction:column;gap:10px;flex-shrink:0}
.cv-bs-fold-header{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:700;color:#fff}
.cv-bs-fold-header strong{color:#19d3e6;font-size:15px}
.cv-bs-fold-mult{color:#cbd5e1;font-size:13px}
.cv-bs-input-row{display:flex;align-items:center;gap:10px}
.cv-bs-input-box{flex:1;display:flex;align-items:center;background:#262b31;border:1px solid #3c444d;border-radius:8px;overflow:hidden;height:44px}
.cv-bs-input-box:focus-within{border-color:#19d3e6;box-shadow:0 0 0 2px #19d3e633}
.cv-bs-thb-tag{padding:0 12px;background:#1f2429;color:#94a3b8;font-size:12px;font-weight:700;height:100%;display:inline-flex;align-items:center;border-right:1px solid #363d45}
.cv-bs-input-box input{flex:1;background:transparent;border:0;color:#fff;font-size:15px;font-weight:700;padding:0 12px;height:100%;outline:none;min-width:0}
.cv-bs-input-box input::placeholder{color:#64748b;font-weight:500;font-size:13px}
.cv-bs-clear-input{width:30px;height:30px;border-radius:50%;border:1px solid #64748b;background:transparent;color:#cbd5e1;font-size:11px;margin-right:8px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;flex-shrink:0}
.cv-bs-x1{color:#cbd5e1;font-size:14px;font-weight:600;min-width:28px;text-align:right}
.cv-bs-quick-chips{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.cv-bs-chip{background:#262b31;border:1px solid #38414a;color:#e2e8f0;border-radius:6px;padding:6px 4px;font-size:12px;font-weight:700;cursor:pointer;text-align:center}
.cv-bs-chip:hover{background:#19d3e6;color:#062329;border-color:#19d3e6}
.cv-bs-est-row{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#94a3b8;padding:2px 0}
.cv-bs-est-row strong{color:#fff;font-size:13px}
.cv-bs-est-row .cv-bs-cyan{color:#19d3e6}
.cv-bs-error-banner{background:#450a0a;border:1px solid #ef4444;color:#fecaca;padding:9px 12px;border-radius:8px;font-size:12px;font-weight:600;line-height:1.45}
.cv-bs-footer-actions{display:grid;grid-template-columns:96px 1fr;gap:10px;padding-top:6px;border-top:1px solid #2b3138}
.cv-bs-remove-all-btn{background:transparent;border:1px solid #3f4750;border-radius:8px;color:#ef4444;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:8px 6px;font-size:11px;font-weight:700;cursor:pointer}
.cv-bs-remove-all-btn .trash-ico{font-size:16px}
.cv-bs-submit-btn{background:linear-gradient(90deg,#19d3e6,#0ea5e9);border:0;border-radius:8px;color:#042026;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 14px;cursor:pointer;box-shadow:0 4px 14px #0ea5e940}
.cv-bs-submit-btn span{font-size:13px;font-weight:800}
.cv-bs-submit-btn strong{font-size:14px;font-weight:900}
.parlay-row-summary{display:flex;flex-direction:column;gap:4px}
.parlay-legs-mini{display:flex;flex-direction:column;gap:2px;margin:4px 0;padding-left:8px;border-left:2px solid #cbd5e1}
.parlay-ticket-legs{display:flex;flex-direction:column;gap:10px;margin:14px 0}
.parlay-ticket-leg{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;background:#f6fafe;border:1px solid #d6e5f3;border-radius:10px}
@media(min-width:1600px){.club-hero{min-height:400px}.club-hero-copy{padding:50px 55px}.odds-table{min-width:760px}}
@media(max-width:1250px){.page-container{padding:25px 28px 55px}.member-bar>div{padding-inline:28px}.club-header .header-inner{padding-inline:28px;gap:30px}.club-header .main-nav a{padding-inline:14px}.odds-layout{grid-template-columns:150px minmax(0,1fr)}.club-betslip{display:none}.club-home-grid{grid-template-columns:minmax(0,1fr) 270px}.club-hero-copy{padding:40px}.club-hero h1{font-size:43px}.club-reads article{padding:19px;gap:12px}.club-sport-card{padding:24px}.chat-layout.with-inbox{grid-template-columns:225px minmax(0,1fr)}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:950px){.member-bar-title small{display:none}.member-tools{gap:15px}.club-header .header-inner{gap:20px}.club-header .brand{font-size:23px}.club-header .main-nav a{font-size:10px;padding-inline:10px}.club-header .main-nav a>.icon{width:21px;height:21px}.club-header .brand-mark{width:38px;height:38px}.club-sport-card{padding:20px}.club-sport-card h3{font-size:22px}.club-sport-card p{font-size:9px}.sport-orb{font-size:80px}.club-home-grid{grid-template-columns:1fr}.club-member-card{margin-top:0;display:none}.club-reads{grid-template-columns:1fr}.club-reads p{margin-bottom:9px}.club-hero{min-height:340px}.club-hero-copy{width:67%;padding:33px}.club-hero h1{font-size:37px}.club-hero p{font-size:12px}.odds-layout{grid-template-columns:1fr}.sport-sidebar{position:static;display:flex;align-items:center;padding:10px;gap:10px}.sport-sidebar>button{width:auto;flex:1;margin:0;justify-content:center;padding:9px}.sport-sidebar>h2,.sport-sidebar>.eyebrow,.sport-sidebar>a,.sport-sidebar>p,.sport-sidebar>.sidebar-divider,.sport-sidebar button>.icon{display:none}.chat-layout.with-inbox{grid-template-columns:1fr}.chat-inbox{max-height:220px}.chat-inbox>button{padding:10px 16px}.chat-inbox p{max-width:100%;margin:2px 0 0}.chat-messages{height:430px}}
@media(max-width:680px){body{font-size:13px}.page-container,.page-container.narrow{padding:20px 16px 40px}.member-bar>div{padding:8px 16px;min-height:49px;gap:10px}.member-bar-title{display:none}.member-tools{width:100%;justify-content:space-between;gap:10px}.member-tools>a:first-child,.member-tools>a:nth-child(2){display:none}.member-tools .wallet-pill span{font-size:13px}.member-tools .btn{padding:7px 16px;font-size:10px}.account-menu summary>span:not(.avatar){display:none}.account-menu nav{right:-68px}.club-header .header-inner{padding:14px 16px 0;flex-wrap:wrap;gap:14px;min-height:0}.club-header .brand{font-size:22px;margin:auto}.club-header .brand-mark{width:35px;height:35px}.club-header .main-nav{height:58px;width:100%;flex-basis:100%;gap:0;margin:0;overflow-x:auto;justify-content:space-between}.club-header .main-nav a{font-size:10px;gap:5px;padding:7px 10px 12px;flex:1;min-width:64px}.club-header .main-nav a>.icon{width:19px;height:19px}.club-header .main-nav a[aria-current]:after{left:10px;right:10px}.club-welcome{font-size:9px;margin-bottom:14px}.club-welcome>span:first-child{font-size:7px;letter-spacing:1px}.club-welcome .icon{width:13px;height:13px;margin-right:4px}.club-hero{border-radius:13px;min-height:315px}.club-hero-copy{width:87%;padding:29px 23px 40px}.club-hero .eyebrow{font-size:7px;letter-spacing:1.5px;margin-bottom:15px}.club-hero h1{font-size:33px;letter-spacing:-.8px;margin-bottom:13px}.club-hero p{font-size:10px;max-width:230px;line-height:1.9}.club-hero .btn{font-size:10px;padding:10px 16px;margin-top:4px}.club-court{right:-37%;width:88%;opacity:.6}.court-word{font-size:40px;right:40%;opacity:.5}.court-ball{width:45px;height:45px;left:23%;top:67%}.banner-controls{right:18px;bottom:14px;gap:6px}.banner-controls>span{font-size:8px;margin:0;letter-spacing:1px}.banner-controls .icon-button{width:25px;height:25px}.has-banner .club-hero-copy{padding:22px}.has-banner h1{font-size:23px}.has-banner p{max-width:none;padding-bottom:10px}.has-banner .banner-controls{bottom:23px}.club-ticker{font-size:9px;gap:8px;padding:10px 12px;margin:12px 0 27px}.club-ticker>a{display:none}.club-ticker>.icon{width:14px;height:14px}.section-heading h2{font-size:21px}.section-heading>.text-button,.section-heading>a{font-size:10px}.section-heading .eyebrow{font-size:7px;letter-spacing:1.5px}.club-sports{grid-template-columns:1fr;gap:10px;margin-bottom:29px}.club-sport-card{padding:20px;min-height:135px}.club-sport-card h3{font-size:25px;margin:4px 0}.club-sport-card p{font-size:10px;margin-bottom:9px}.club-sport-card .eyebrow{font-size:7px}.sport-orb{right:15px;bottom:3px;font-size:95px;opacity:.2}.club-home-grid{margin-bottom:29px}.upcoming-grid{gap:12px}.upcoming-card{padding:13px 11px}.upcoming-meta{flex-direction:column;align-items:flex-start;font-size:8px;gap:7px}.upcoming-meta>.badge{font-size:8px}.upcoming-card>p{font-size:9px;margin:12px 0;min-height:28px}.upcoming-pair{grid-template-columns:1fr;gap:8px}.upcoming-pair>div{flex-direction:row;gap:6px;text-align:left}.upcoming-pair>span{display:none}.upcoming-pair strong{font-size:10px}.upcoming-pair .club-portrait{width:30px;height:30px;font-size:11px}.upcoming-bottom{font-size:8px;margin-top:16px;gap:4px}.upcoming-bottom .icon{width:11px;height:11px}.club-reads article{padding:19px}.read-number{font-size:25px}.club-reads h3{font-size:13px}.chat-launcher{right:15px;bottom:15px;padding:13px;gap:7px}.chat-launcher>span{display:none}.chat-launcher .icon{width:21px;height:21px}.page-heading h1{font-size:27px}.betting-container .page-heading p{font-size:10px}.betting-container .page-heading .btn{padding:9px 12px;font-size:10px}.sports-subnav{font-size:11px;gap:20px;overflow-x:auto;white-space:nowrap;margin-bottom:15px}.odds-layout{gap:12px}.sport-sidebar{gap:5px;padding:7px}.sport-sidebar>button{font-size:11px;gap:7px;padding:7px}.sport-sidebar button>span{font-size:16px}.odds-toolbar{padding:13px}.odds-toolbar strong{font-size:12px}.odds-toolbar>span{font-size:8px}.odds-time-bar{padding:9px 10px;gap:7px}.odds-time-label{font-size:10px}.odds-time-pills{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.odds-time-pill{padding:6px 4px;font-size:10px;text-align:center}.odds-collapse-all{font-size:9px;padding:5px 8px}.odds-filters{padding:10px;gap:7px}.odds-filters select{max-width:120px;font-size:9px}.odds-filters .search-field input{font-size:10px}.odds-filters .search-field>.icon{width:14px;height:14px}.odds-table{min-width:660px}.odds-table-head,.odds-event-row{grid-template-columns:70px minmax(175px,1.5fr) repeat(3,minmax(110px,1fr))}.odds-board .pagination{padding:10px;font-size:9px}.odds-footnote{font-size:8px;padding:10px 12px}.admin-content{padding:22px 16px 35px}.admin-sidebar{background:#edf4fa}.admin-sidebar button{border-color:#dbe7f2;color:#617d96}.admin-sidebar button.active{border-color:#bad6ec;background:#d9ecfb}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.media-card{padding:20px 12px}.media-card>.club-portrait{width:65px;height:65px}.media-card h3{font-size:12px}.media-card .btn{font-size:10px;padding:8px}.chat-panel>header{padding:14px}.chat-panel header strong{font-size:13px}.chat-panel header small{font-size:9px}.chat-messages{height:420px;padding:16px;gap:12px}.chat-bubble{max-width:88%;padding:12px 14px;font-size:12px}.chat-composer{padding:12px;gap:9px}.chat-composer .btn{padding:10px 13px;font-size:11px}.chat-composer .btn .icon{width:15px;height:15px}.chat-composer textarea{font-size:12px;padding:10px}.chat-hint{font-size:8px}.settings-grid .padded{padding:20px}.site-footer{padding-bottom:80px}.member-tools.guest-tools{width:100%;justify-content:flex-end;gap:8px}dialog.auth-popup-modal{width:calc(100vw - 20px);max-width:calc(100vw - 20px);border-radius:15px}.auth-popup-card{padding:26px 20px 24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.club-sport-card,.upcoming-card{transition:none}.club-sport-card:hover{transform:none}}

.home-ref-box{background:#ffffff14;border:1px solid #ffffff29;border-radius:11px;padding:11px 12px;margin:10px 0 14px}
.home-ref-box small{display:block;font-size:11px;color:#d6ecff;margin-bottom:8px;font-weight:600}
.home-ref-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ref-program-panel{margin-bottom:18px;background:linear-gradient(145deg,#ffffff,#f0f7ff);border:1px solid #c8dff4}
.ref-link-box{display:flex;gap:8px;margin:12px 0 16px;flex-wrap:wrap}
.ref-link-box input{flex:1;min-width:180px;background:#fff;border:1px solid #bdd6ed;border-radius:9px;padding:9px 12px;font-size:12px;font-weight:700;color:#0f3e6d}
.ref-stats-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.ref-stat-item{background:#fff;border:1px solid #d8e7f5;border-radius:10px;padding:11px 14px}
.ref-stat-item span{display:block;font-size:10px;color:#627d98}
.ref-stat-item strong{font-size:18px;color:var(--ink)}
.ref-invited-list{border-top:1px solid #d8e7f5;padding-top:10px;display:flex;flex-direction:column;gap:6px}
.ref-invited-row{display:flex;align-items:center;justify-content:space-between;font-size:12px;background:#fff;padding:7px 11px;border-radius:8px;border:1px solid #e3eef8}
.cv-share-ticket-card{background:linear-gradient(155deg,#0c192c,#132f54);color:#fff;border-radius:16px;overflow:hidden;border:1px solid #2b5485;box-shadow:0 16px 36px #07142666;margin-bottom:14px}
.cv-st-head{background:linear-gradient(90deg,#19d3e6,#0ea5e9);color:#052229;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.cv-st-brand{display:block;font-size:9px;font-weight:800;letter-spacing:1.4px;opacity:.85}
.cv-st-head h3{margin:2px 0 0;font-size:15px;font-weight:900;color:#052229}
.cv-st-mult{background:#052229;color:#19d3e6;padding:6px 12px;border-radius:8px;font-size:15px;font-weight:900}
.cv-st-body{padding:14px 18px;display:flex;flex-direction:column;gap:10px}
.cv-st-leg{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px dashed #294970}
.cv-st-leg:last-child{border-bottom:0;padding-bottom:0}
.cv-st-leg-left strong{display:block;font-size:13px;color:#fff}
.cv-st-leg-left small{display:block;font-size:11px;color:#9cc2e6;margin-top:2px}
.cv-st-odds{font-style:normal;color:#19d3e6;font-weight:800}
.cv-st-Totals{background:#091424;padding:13px 18px;display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid #234166}
.cv-st-Totals span{display:block;font-size:10px;color:#8ab2d8}
.cv-st-Totals strong{font-size:16px;color:#fff}
.cv-st-Totals .cv-st-win{color:#19d3e6;font-size:18px}
.cv-st-foot{padding:10px 18px;background:#060e1a;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:11px;color:#7da4c9}
.cv-st-foot span{font-weight:700;color:#cbe5ff}
.cv-share-actions{display:flex;flex-direction:column;gap:8px}
/* Image 1 Style Game Lobby Poster Cards */
.eg-lobby-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,265px));gap:20px;margin-bottom:36px}
.eg-poster-card{background:#0d1f36;border:1px solid #234975;border-radius:16px;overflow:hidden;cursor:pointer;box-shadow:0 12px 28px #07162826;transition:transform .2s,box-shadow .2s;user-select:none}
.eg-poster-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px #0b294840;border-color:#38bdf8}
.eg-poster-art{position:relative;height:255px;background:radial-gradient(circle at 50% 35%,#1d6ec2,#0a213c 78%);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px;overflow:hidden}
.eg-poster-art.wheel-art{background:radial-gradient(circle at 50% 35%,#0ea5e9,#0d2847 78%)}
.eg-poster-ribbon{position:absolute;top:14px;left:-6px;background:linear-gradient(90deg,#176bc1,#38bdf8);color:#041c2c;font-size:11px;font-weight:900;padding:4px 12px;border-radius:0 8px 8px 0;box-shadow:0 4px 12px #0000004d;z-index:2}
.eg-poster-ribbon.gold{background:linear-gradient(90deg,#eab308,#fde047);color:#0f172a}
.eg-art-cups{display:flex;align-items:flex-end;gap:12px;margin-bottom:16px;margin-top:16px}
.art-cup{width:42px;height:50px;background:linear-gradient(105deg,#176bc1,#60a5fa,#0c2f57);clip-path:polygon(16% 0%,84% 0%,100% 100%,0% 100%);border-radius:6px;position:relative;display:inline-block}
.art-cup.up{transform:translateY(-22px)}
.art-ball{position:absolute;bottom:-20px;left:50%;transform:translateX(-50%);width:18px;height:18px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fef08a,#f59e0b);box-shadow:0 0 12px #fbbf24}
.eg-art-wheel-icon{font-size:74px;line-height:1;margin:8px 0 14px;filter:drop-shadow(0 8px 18px #00000059)}
.eg-poster-logo{text-align:center;color:#fff;font-weight:900;font-size:21px;letter-spacing:.8px;text-shadow:0 4px 12px #00000080}
.eg-poster-logo span{display:block;font-size:11px;font-weight:600;color:#bae6fd;letter-spacing:.2px;margin-top:3px}
.eg-poster-overlay{position:absolute;inset:0;background:#071526d9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;opacity:0;transition:opacity .2s;z-index:3}
.eg-poster-card:hover .eg-poster-overlay,.eg-poster-card:focus-within .eg-poster-overlay{opacity:1}
.eg-play-circle{width:84px;height:84px;border-radius:50%;background:#19d3e6;color:#042229;font-size:20px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 8px 24px #19d3e666;transition:transform .16s}
.eg-poster-card:hover .eg-play-circle{transform:scale(1.06)}
.eg-try-pill{padding:6px 16px;border-radius:999px;border:1px solid #ffffff4d;color:#e2f1ff;font-size:11px;font-weight:600}
.eg-poster-title{padding:14px 16px;text-align:center;color:#fff;font-size:14px;font-weight:700;background:#091728;border-top:1px solid #1b385c}

/* Topbar inside Game View */
.eg-topbar-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.eg-mode-pills{display:flex;gap:8px;flex-wrap:wrap}
.eg-top-mode{padding:8px 14px;border-radius:999px;border:1px solid #c5dcf0;background:#fff;color:#174978;font-size:12px;font-weight:700;cursor:pointer}
.eg-top-mode.active{background:#176bc1;color:#fff;border-color:#176bc1}

/* Game 1: Thimblerig (Image 2 3D Cups + Image 3 Control Bar) */
.eg-thimble-arena{background:#0c223b;border-radius:20px;overflow:hidden;border:2px solid #235385;box-shadow:0 18px 42px #07162933}
.eg-thimble-header{padding:22px 24px 16px;text-align:center;color:#fff}
.eg-thimble-header .eyebrow{color:#7cc8ff;font-size:10px;letter-spacing:2px}
.eg-thimble-header h2{color:#fff;font-size:22px;margin:6px 0 12px}
.eg-thimble-status-pill{display:inline-block;padding:9px 18px;border-radius:999px;background:#15385f;border:1px solid #2e67a0;color:#e0f2fe;font-size:13px;font-weight:600;margin:0}
.eg-thimble-status-pill.win{background:#065f46;border-color:#34d399;color:#ecfdf5}
.eg-thimble-status-pill.lose{background:#7f1d1d;border-color:#f87171;color:#fef2f2}
.eg-stage-white-board{background:linear-gradient(180deg,#f0f7ff 0%,#ffffff 65%,#dceaf7 100%);margin:0 20px;border-radius:16px;padding:54px 18px 34px;box-shadow:inset 0 4px 18px #0b25451a}
.eg-3cups-stage{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:580px;margin:0 auto;align-items:end;justify-items:center}
.eg-3d-cup-wrap{position:relative;display:flex;flex-direction:column;align-items:center;transition:transform .35s ease}
.eg-3d-cup-click{background:none;border:0;padding:0;cursor:pointer;position:relative;width:140px;height:165px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end}
.eg-3d-cup-model{width:130px;height:142px;position:relative;z-index:3;transition:transform .44s cubic-bezier(0.22, 1, 0.36, 1)}
.eg-cup-3d-svg{width:100%;height:100%;filter:drop-shadow(0 10px 16px #081f3840)}
.eg-3d-cup-num{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);color:#ffffff;font-size:12px;font-weight:800;background:#081f3880;padding:3px 10px;border-radius:999px;white-space:nowrap}
.eg-3d-cup-wrap.lifted .eg-3d-cup-model{transform:translateY(-68px)}
.eg-3d-cup-wrap.pickable .eg-3d-cup-model:hover{transform:translateY(-10px)}
.eg-3d-cup-wrap.picked-cup .eg-3d-cup-num{background:#eab308;color:#0f172a}
.eg-3d-ball-spot{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);width:48px;height:48px;z-index:2;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s}
.eg-3d-ball-spot.show-ball{opacity:1}
.eg-3d-gold-ball{width:42px;height:42px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffffff 0%,#fef08a 22%,#f59e0b 65%,#92400e 100%);box-shadow:0 8px 14px #0000004d}
.eg-3d-cup-shadow{width:116px;height:18px;border-radius:50%;background:#0b25452e;position:absolute;bottom:6px;z-index:1;transition:transform .44s,opacity .44s}
.eg-3d-cup-wrap.lifted .eg-3d-cup-shadow{transform:scale(0.82);opacity:0.45}

@keyframes egCupSwap1{0%{transform:translateX(0)}20%{transform:translateX(170px) scale(0.94)}45%{transform:translateX(85px) scale(1.05)}70%{transform:translateX(170px)}100%{transform:translateX(0)}}
@keyframes egCupSwap2{0%{transform:translateX(0)}20%{transform:translateX(-170px) scale(1.05)}45%{transform:translateX(170px) scale(0.94)}70%{transform:translateX(-85px)}100%{transform:translateX(0)}}
@keyframes egCupSwap3{0%{transform:translateX(0)}20%{transform:translateX(-85px) scale(0.94)}45%{transform:translateX(-170px) scale(1.05)}70%{transform:translateX(-85px)}100%{transform:translateX(0)}}
#eg-cups-row.shuffling-active .eg-3d-cup-wrap:nth-child(1){animation:egCupSwap1 1.1s ease-in-out}
#eg-cups-row.shuffling-active .eg-3d-cup-wrap:nth-child(2){animation:egCupSwap2 1.1s ease-in-out}
#eg-cups-row.shuffling-active .eg-3d-cup-wrap:nth-child(3){animation:egCupSwap3 1.1s ease-in-out}

/* Image 3 Style Control Bar in VegasKing789 Navy/Blue/Gold Theme */
.eg-pg-control-deck{background:linear-gradient(180deg,#0f2d4f,#081b33);padding:18px 22px 24px;margin-top:20px;border-top:2px solid #25588c}
.eg-pg-top-pills{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;max-width:600px;margin:0 auto 20px;align-items:center}
.eg-pg-pill{background:#071526;border:1px solid #214d7a;border-radius:999px;padding:9px 16px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#fbbf24;font-size:15px}
.eg-pg-pill.center{color:#bae6fd;font-size:12px;justify-content:center;padding:9px 14px}
.eg-pg-pill.center strong,.eg-pg-pill.center b{color:#fde047}
.eg-pg-ico{width:24px;height:24px;border-radius:50%;border:1.5px solid #7cc8ff;color:#e0f2fe;font-size:12px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}
.eg-pg-Action-Row{display:flex;align-items:center;justify-content:center;gap:20px}
.eg-pg-SideBtn{width:52px;height:52px;border-radius:50%;background:#07172b;border:1.5px solid #285a8c;color:#cbd5e1;font-size:11px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.eg-pg-SideBtn:hover{border-color:#38bdf8;color:#fff}
.eg-pg-StepBtn{width:56px;height:56px;border-radius:50%;background:#07172b;border:2px solid #2d669f;color:#ffffff;font-size:28px;font-weight:700;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:transform .12s,background .15s}
.eg-pg-StepBtn:hover{background:#143b66;border-color:#38bdf8;transform:scale(1.05)}
.eg-pg-SpinBtn{width:88px;height:88px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#38bdf8,#176bc1 65%,#0c3c73);border:4px solid #fbbf24;color:#ffffff;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 8px 24px #0284c766,inset 0 3px 10px #ffffff66;transition:transform .15s}
.eg-pg-SpinBtn:hover{transform:scale(1.06)}
.eg-pg-spin-arrows{font-size:32px;line-height:1;font-weight:900;color:#fde047}
.eg-pg-SpinBtn small{font-size:10px;font-weight:800;color:#fff;margin-top:2px}
.eg-pg-SpinBtn.spinning .eg-pg-spin-arrows{animation:egSpin360 .7s linear infinite}
@keyframes egSpin360{to{transform:rotate(360deg)}}

/* Game 2: Lucky Wheel (Image 5 Style Full Poster Stage with Center START Button) */
.eg-wheel-poster-stage{background:radial-gradient(circle at 50% 45%,#1b5796 0%,#0d2b4d 65%,#07182e 100%);border-radius:22px;padding:28px 20px 44px;border:2px solid #2b639e;box-shadow:0 20px 48px #06142640;text-align:center;color:#fff;position:relative;overflow:hidden}
.eg-wheel-top-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;flex-wrap:wrap}
.eg-rw-badge{display:inline-flex;flex-direction:column;align-items:flex-start;background:#07162899;padding:8px 14px;border-radius:12px;border:1px solid #38bdf84d}
.eg-rw-badge span{font-size:10px;font-weight:800;color:#fde047;letter-spacing:1.5px}
.eg-rw-badge strong{font-size:22px;font-weight:900;color:#38bdf8;letter-spacing:1px;line-height:1.1}
.eg-rw-sub{background:#ffffff1a;border:1px solid #ffffff33;padding:6px 14px;border-radius:999px;font-size:12px;font-weight:700;color:#e0f2fe}
.eg-wheel-main-heading{font-size:26px;font-weight:800;color:#ffffff;margin:10px 0 26px;text-shadow:0 4px 14px #00000066}
.eg-wheel-center-container{position:relative;width:min(410px,86vw);height:min(410px,86vw);margin:0 auto;display:flex;align-items:center;justify-content:center}
.eg-wheel-top-pointer{position:absolute;top:-20px;left:50%;transform:translateX(-50%);z-index:12;font-size:42px;color:#38bdf8;filter:drop-shadow(0 4px 8px #000000b3);line-height:1}
.eg-wheel-outer-ring{position:relative;width:100%;height:100%;border-radius:50%;padding:8px;background:rgba(255,255,255,0.12);box-shadow:0 0 0 10px rgba(56,189,248,0.12),0 18px 46px rgba(0,0,0,0.6)}
.eg-wheel-rotor-div{width:100%;height:100%;border-radius:50%;will-change:transform;transition:transform 4s cubic-bezier(0.12, 0.84, 0.14, 1)}
.eg-wheel-svg-disc{width:100%;height:100%;display:block;border-radius:50%}
.eg-wheel-start-center-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:15;width:96px;height:96px;border-radius:50%;border:4px solid #fde047;background:radial-gradient(circle at 35% 30%,#fde047 0%,#f59e0b 65%,#d97706 100%);color:#071628;font-size:18px;font-weight:900;letter-spacing:.8px;cursor:pointer;box-shadow:0 0 0 8px rgba(251,191,36,0.24),0 10px 24px rgba(0,0,0,0.55);display:inline-flex;align-items:center;justify-content:center;transition:transform .15s,box-shadow .15s}
.eg-wheel-start-center-btn:hover:not(:disabled){transform:translate(-50%,-50%) scale(1.07);box-shadow:0 0 0 12px rgba(251,191,36,0.35),0 12px 28px rgba(0,0,0,0.65)}
.eg-wheel-start-center-btn:disabled{opacity:0.8;cursor:wait}

@media(max-width:720px){
  .eg-lobby-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .eg-poster-art{height:195px}
  .eg-play-circle{width:64px;height:64px;font-size:16px}
  .eg-poster-overlay{opacity:1;background:linear-gradient(180deg,transparent 40%,#071526cc 100%);justify-content:flex-end;padding-bottom:14px}
  .eg-3d-cup-click{width:96px;height:125px}
  .eg-3d-cup-model{width:92px;height:102px}
  .eg-3d-cup-wrap.lifted .eg-3d-cup-model{transform:translateY(-50px)}
  .eg-3d-gold-ball{width:30px;height:30px}
  .eg-pg-top-pills{grid-template-columns:1fr 1fr;gap:8px}
  .eg-pg-pill.center{grid-column:1 / -1;order:3}
  .eg-pg-Action-Row{gap:12px}
  .eg-pg-SpinBtn{width:76px;height:76px}
  .eg-wheel-start-center-btn{width:80px;height:80px;font-size:15px}
  @keyframes egCupSwap1{0%{transform:translateX(0)}25%{transform:translateX(95px)}50%{transform:translateX(48px)}75%{transform:translateX(95px)}100%{transform:translateX(0)}}
  @keyframes egCupSwap2{0%{transform:translateX(0)}25%{transform:translateX(-95px)}50%{transform:translateX(95px)}75%{transform:translateX(-48px)}100%{transform:translateX(0)}}
  @keyframes egCupSwap3{0%{transform:translateX(0)}25%{transform:translateX(-48px)}50%{transform:translateX(-95px)}75%{transform:translateX(-48px)}100%{transform:translateX(0)}}
}
/* Clickable Admin Overview Cards */
.admin-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:28px}
.admin-overview-card{background:#fff;border:1px solid #d5e4f2;border-radius:16px;padding:20px 22px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:8px;box-shadow:var(--shadow);transition:transform .16s,border-color .16s,box-shadow .16s;color:var(--ink)}
.admin-overview-card:hover{transform:translateY(-3px);border-color:#2783d1;box-shadow:0 14px 30px #155ca21f;background:#f8fbff}
.admin-overview-card.amber{border-left:4px solid #f59e0b}
.admin-overview-card.green{border-left:4px solid #10b981}
.aov-top{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:4px}
.aov-icon{width:38px;height:38px;border-radius:10px;background:#e6f2fc;color:#176bc1;display:inline-flex;align-items:center;justify-content:center}
.aov-icon .icon{width:20px;height:20px}
.aov-go{font-size:11px;font-weight:700;color:#176bc1;display:inline-flex;align-items:center;gap:4px}
.aov-go .icon{width:14px;height:14px}
.aov-label{font-size:13px;font-weight:700;color:#486581}
.aov-value{font-size:28px;font-weight:800;color:#0e3358;line-height:1.15}
.aov-sub{font-size:11px;color:#627d98;line-height:1.45}
.amber-text{color:#d97706;font-weight:600}
@media(max-width:960px){.admin-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.admin-overview-grid{grid-template-columns:1fr}}

/* ============================================================================
   VEGASKING789 UNIFIED PC & MOBILE PRO THEME + SINGLE-SCREEN E-GAMES
   ============================================================================ */

/* Hide Mobile-Only Shell Elements on Desktop (> 768px) */
.m-app-header-wrap,
.m-drawer-backdrop,
.m-side-drawer,
.m-bottom-nav,
.bti-sport-strip,
.bti-mobile-market-head {
  display: none;
}

/* 1. DESKTOP FIXED HEADER (Image 5: .member-bar + .club-header always follow scroll!) */
@media (min-width: 769px) {
  .member-bar.desktop-only-bar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    height: 48px !important;
    min-height: 48px !important;
    z-index: 1002;
  }
  .member-bar.desktop-only-bar > div {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 40px !important;
    align-items: center !important;
  }
  .member-bar.desktop-only-bar .member-tools .btn {
    padding: 5px 16px !important;
    min-height: 32px !important;
    height: 32px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
  }
  .site-header.club-header.desktop-only-header {
    position: fixed !important;
    top: 48px !important;
    left: 0;
    right: 0;
    z-index: 1001;
    box-shadow: 0 6px 20px rgba(14, 51, 88, 0.08);
  }
  body {
    padding-top: 146px !important;
  }
}

/* 2. PROMINENT CTA ON COLLAPSED BET SLIP BAR (Image 1 Fix) */
.cv-bs-collapsed-bar {
  background: linear-gradient(90deg, #0e3358 0%, #176bc1 100%) !important;
  color: #ffffff !important;
  border-top: 2px solid #38bdf8;
  height: 60px !important;
  z-index: 1050 !important;
}
.cv-bs-count-badge {
  background: #fde047 !important;
  color: #0e3358 !important;
  font-weight: 900 !important;
}
.cv-bs-bar-titles strong {
  color: #ffffff !important;
  font-size: 13px !important;
}
.cv-bs-bar-titles small {
  color: #bae6fd !important;
  font-size: 11px !important;
}
.cv-bs-open-cta {
  background: linear-gradient(180deg, #fde047, #eab308);
  color: #0e3358;
  font-weight: 900;
  font-size: 12px;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ============================================================================
   3. COMPACT SINGLE-SCREEN E-GAMES ON BOTH DESKTOP & MOBILE (Images 3, 4, 6)
   ============================================================================ */
.eg-compact-page {
  padding-top: 10px !important;
  padding-bottom: 18px !important;
}

/* Baccarat Poster Card */
.eg-poster-art.baccarat-art {
  background: radial-gradient(circle at 50% 35%, #1e40af, #09192f 78%);
}
.eg-art-cards {
  display: flex;
  gap: 10px;
  margin: 12px 0;
}
.art-pcard {
  width: 46px;
  height: 64px;
  border-radius: 7px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 8px 18px #00000066;
}
.art-pcard.blue {
  color: #1d4ed8;
  border: 2px solid #60a5fa;
  transform: rotate(-8deg);
}
.art-pcard.red {
  color: #be123c;
  border: 2px solid #fb7185;
  transform: rotate(8deg);
}

/* All-in-One Single-Screen Baccarat Container (Matches Image 3 & Fits 1 Screen on PC/Mobile) */
.bac-allinone-screen {
  max-width: 820px;
  margin: 0 auto;
  background: #091c34;
  border: 2px solid #235080;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(7, 22, 40, 0.25);
  display: flex;
  flex-direction: column;
}
.bac-compact-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 12px;
  background: #061426;
  border-bottom: 1px solid #1e3f66;
  color: #fff;
}
.bac-top-back,
.bac-top-Action {
  background: #102a49;
  border: 1px solid #2b547e;
  color: #e0f2fe;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.bac-top-shoe-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #93c5fd;
}
.bac-top-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bac-top-wallet {
  background: #0e3358;
  border: 1px solid #38bdf866;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #fde047;
}
.bac-compact-status {
  background: #0d2847;
  color: #e0f2fe;
  text-align: center;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  border-bottom: 1px solid #1e426b;
}
.bac-compact-status.settled {
  background: #064e3b;
  color: #ecfdf5;
}
.bac-compact-status.nobet {
  background: #3b2f13;
  color: #fef08a;
}

/* Compact Betting Spots (Upper-Middle) */
.bac-bet-board.compact {
  padding: 8px 10px;
  background: radial-gradient(circle at 50% 30%, #133c68 0%, #091e36 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bac-bet-top-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.bac-bet-main-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.bac-spot {
  background: rgba(9, 32, 58, 0.75);
  border: 1.5px solid #2b5c8f;
  border-radius: 10px;
  padding: 7px 6px;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  position: relative;
  transition: all .15s;
}
.bac-spot:hover:not(:disabled) {
  border-color: #38bdf8;
  background: #123660;
}
.bac-spot:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}
.bac-spot.main-p {
  border-color: #3b82f6;
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.42), rgba(9, 32, 58, 0.85));
  padding: 9px 8px;
}
.bac-spot.main-b {
  border-color: #f43f5e;
  background: linear-gradient(180deg, rgba(190, 18, 60, 0.42), rgba(9, 32, 58, 0.85));
  padding: 9px 8px;
}
.bac-spot.tie-spot {
  border-color: #10b981;
  background: linear-gradient(180deg, rgba(6, 95, 70, 0.42), rgba(9, 32, 58, 0.85));
}
.bac-spot.has-bet {
  box-shadow: 0 0 0 2px #fde047, inset 0 0 12px rgba(253, 224, 71, 0.2);
}
.spot-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
}
.spot-odds {
  font-size: 10px;
  color: #bae6fd;
  font-weight: 700;
}
.spot-chip-stack {
  margin-top: 2px;
  background: linear-gradient(90deg, #fde047, #f59e0b);
  color: #0f172a;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

/* Compact Chip Tray & Action Bar */
.bac-bottom-bar.compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #061426;
  padding: 7px 10px;
  border-top: 1px solid #1b3d63;
  border-bottom: 1px solid #1b3d63;
  flex-wrap: wrap;
}
.bac-chip-tray {
  display: flex;
  align-items: center;
  gap: 6px;
}
.casino-chip {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px dashed #ffffffd9;
  padding: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 10px #00000066, inset 0 0 6px #00000066;
  transition: transform .15s, box-shadow .15s;
  color: #fff;
  font-weight: 900;
}
.casino-chip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.casino-chip .chip-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid #ffffff99;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  text-shadow: 0 1px 2px #000;
  line-height: 1;
}
.casino-chip .chip-inner small {
  font-size: 8px;
}
.casino-chip.green { background: radial-gradient(circle, #22c55e, #15803d); }
.casino-chip.teal { background: radial-gradient(circle, #14b8a6, #0f766e); }
.casino-chip.blue { background: radial-gradient(circle, #3b82f6, #1d4ed8); }
.casino-chip.navy { background: radial-gradient(circle, #2563eb, #1e3a8a); }
.casino-chip.gold { background: radial-gradient(circle, #f59e0b, #b45309); }
.casino-chip.red { background: radial-gradient(circle, #ef4444, #b91c1c); }
.casino-chip.purple { background: radial-gradient(circle, #a855f7, #6b21a8); }
.casino-chip.emerald { background: radial-gradient(circle, #16a34a, #14532d); }
.casino-chip.bronze { background: radial-gradient(circle, #d97706, #78350f); }
.casino-chip.magenta { background: radial-gradient(circle, #d946ef, #86198f); }
.casino-chip.crimson { background: radial-gradient(circle, #dc2626, #7f1d1d); }
.casino-chip.amber { background: radial-gradient(circle, #eab308, #854d0e); }
.casino-chip.sky { background: radial-gradient(circle, #0ea5e9, #0369a1); }
.casino-chip.violet { background: radial-gradient(circle, #8b5cf6, #4c1d95); }
.casino-chip.custom-gear { background: radial-gradient(circle, #fbbf24, #d97706); }
.casino-chip.selected {
  transform: translateY(-3px) scale(1.07);
  box-shadow: 0 0 0 3px #fde047, 0 0 12px #fde047;
}
.casino-chip-config-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1e293b;
  border: 2px solid #eab308;
  color: #fde047;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chip-cfg-ring {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px dashed #fde047;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.bac-action-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bac-total-bet-pill {
  color: #bae6fd;
  font-size: 12px;
}
.bac-total-bet-pill strong {
  color: #fde047;
  font-size: 14px;
}
.bac-locked-tag {
  background: #1e293b;
  color: #fde047;
  border: 1px solid #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

/* 5. Split Blue/Red Dealt Cards Bar (Exact Image 3 Style!) */
.bac-split-hands-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid #1e3a5f;
}
.bac-split-side {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 98px;
}
.bac-split-side.player-side {
  background: linear-gradient(90deg, #061833 0%, #123e7c 100%);
  border-right: 1px solid #335d8a;
}
.bac-split-side.banker-side {
  background: linear-gradient(90deg, #7f1d1d 0%, #3b0a0a 100%);
}
.bac-split-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.bac-split-label {
  font-size: 12px;
  font-weight: 800;
  color: #f8fafc;
}
.bac-split-score {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}
.bac-split-score.p {
  color: #38bdf8;
}
.bac-split-score.b {
  color: #ffffff;
}
.bac-split-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.bac-win-seal {
  position: absolute;
  top: 6px;
  right: 8px;
  background: radial-gradient(circle, #fef08a, #d97706);
  color: #0f172a;
  font-weight: 900;
  font-size: 11px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 5;
}
.bac-card-slot {
  width: 48px;
  height: 68px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0 !important;
  padding: 0;
}
.bac-card-slot.slot-empty {
  border: 1.5px dashed rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  background: rgba(0, 0, 0, 0.22);
}
.bac-card-slot.facedown {
  border: 0;
  background: none;
  cursor: pointer;
  animation: bacPulseCard 1.4s infinite ease-in-out;
}
@keyframes bacPulseCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.bac-card-back {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(135deg, #0f3866, #1d6ec2 50%, #092240);
  border: 2px solid #fde047;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}
.bac-cb-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fde047;
  color: #092240;
  font-weight: 900;
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bac-card-back small {
  font-size: 8px;
  color: #fef08a;
  font-weight: 700;
}
.bac-card-face {
  width: 48px;
  height: 68px;
  border-radius: 6px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  color: #0f172a;
  user-select: none;
}
.bac-card-face.red {
  color: #dc2626;
}
.bac-cf-corner {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.bac-cf-corner.top { top: 3px; left: 4px; }
.bac-cf-corner.bot { bottom: 3px; right: 4px; transform: rotate(180deg); }
.bac-cf-corner b { font-size: 11px; font-weight: 900; }
.bac-cf-corner span { font-size: 9px; }
.bac-cf-center { font-size: 20px; }

/* 6. Compact Roadmap Directly Below Cards (Image 3) */
.bac-roadmap-board {
  background: #ffffff;
  color: #0f172a;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 118px;
}
.bac-rm-bead-grid {
  display: grid;
  grid-template-columns: repeat(6, 22px);
  grid-template-rows: repeat(6, 20px);
  grid-auto-flow: column;
  border-right: 1.5px solid #94a3b8;
}
.bac-rm-main-wrap {
  display: flex;
  flex-direction: column;
  border-right: 1.5px solid #94a3b8;
  overflow-x: hidden;
}
.bac-rm-big-grid {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-template-rows: repeat(6, 14px);
  grid-auto-flow: column;
  border-bottom: 1.5px solid #94a3b8;
}
.rm-cell {
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.rm-bead {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rm-bead.p { background: #1d4ed8; }
.rm-bead.b { background: #dc2626; }
.rm-bead.t { background: #15803d; }
.rm-big-ring {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #1d4ed8;
  font-size: 8px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8;
  position: relative;
}
.rm-big-ring.b { border-color: #dc2626; color: #dc2626; }
.rm-big-ring.t { border-color: #15803d; color: #15803d; }
.rm-big-ring.has-tie::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 1.5px;
  background: #16a34a;
  transform: rotate(-45deg);
}
.bac-rm-derived-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 36px;
}
.bac-rm-derived-box {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(2, 18px);
  border-right: 1.5px solid #94a3b8;
}
.bac-rm-derived-box:last-child { border-right: 0; }
.rm-mini-cell {
  border-right: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rm-eye { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid #dc2626; display: inline-block; }
.rm-eye.p { border-color: #1d4ed8; }
.rm-solid { width: 7px; height: 7px; border-radius: 50%; background: #dc2626; display: inline-block; }
.rm-solid.p { background: #1d4ed8; }
.rm-slash { width: 8px; height: 2px; background: #dc2626; transform: rotate(-45deg); display: inline-block; }
.rm-slash.p { background: #1d4ed8; }
.bac-rm-stats-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 10px;
}
.rm-stat-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 6px;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 800;
}
.rm-stat-line .b-txt { color: #dc2626; }
.rm-stat-line .p-txt { color: #1d4ed8; }
.rm-stat-line .t-txt { color: #15803d; }
.rm-stat-line.total { color: #a16207; }
.ask-dots { display: inline-flex; align-items: center; gap: 3px; }
.ask-dots i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; }
.ask-dots .ring-r { border: 1.5px solid #dc2626; }
.ask-dots .ring-b { border: 1.5px solid #1d4ed8; }
.ask-dots .dot-b { background: #1d4ed8; }
.ask-dots .dot-r { background: #dc2626; }
.ask-dots .slash-r { width: 7px; height: 1.5px; border-radius: 0; background: #dc2626; transform: rotate(-45deg); }
.ask-dots .slash-b { width: 7px; height: 1.5px; border-radius: 0; background: #1d4ed8; transform: rotate(-45deg); }

/* Chip Customizer & Card Squeeze Popup */
.bac-chip-modal-box {
  background: linear-gradient(180deg, #0e294b, #08182e);
  color: #fff;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #38bdf84d;
}
.bac-cm-title {
  text-align: center;
  color: #fde68a;
  font-size: 16px;
  margin: 0 0 16px;
}
.bac-cm-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  justify-items: center;
  margin-bottom: 18px;
}
.bac-cm-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}
.bac-cm-btn {
  min-width: 120px;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  border: 0;
}
.bac-cm-btn.cancel { background: #cbd5e1; color: #0f172a; }
.bac-cm-btn.confirm { background: linear-gradient(180deg, #fde68a, #d97706); color: #0f172a; }
.bac-cm-footnote { text-align: center; font-size: 11px; color: #bae6fd; margin: 0; }

.bac-squeeze-stage { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; }
.bac-sq-instruction { font-size: 13px; color: #0e3358; margin: 0 0 12px; text-align: center; }
.bac-sq-card-container { position: relative; width: 200px; height: 285px; border-radius: 16px; user-select: none; touch-action: none; }
.bac-sq-face-layer { position: absolute; inset: 0; z-index: 1; }
.bac-card-face.giant { width: 200px; height: 285px; border-radius: 16px; border-width: 3px; }
.bac-card-face.giant .bac-cf-corner b { font-size: 30px; }
.bac-card-face.giant .bac-cf-corner span { font-size: 24px; }
.bac-card-face.giant .bac-cf-center { font-size: 84px; }
.bac-sq-back-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 16px;
  background: linear-gradient(135deg, #0c2b4e, #176bc1 50%, #081c36);
  border: 4px solid #fde047;
  box-shadow: 0 14px 32px #00000066;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
}
.bac-sq-back-pattern {
  border: 2px dashed #fde04780;
  border-radius: 10px;
  width: 86%;
  height: 88%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  text-align: center;
  padding: 12px;
}
.bac-sq-back-pattern .sq-brand { font-size: 10px; letter-spacing: 2px; color: #7cc8ff; font-weight: 800; }
.bac-sq-back-pattern strong { font-size: 19px; color: #fde047; }
.bac-sq-back-pattern small { font-size: 11px; color: #e0f2fe; }

/* 7. Compact Single-Screen Thimblerig & Lucky Wheel on Desktop & Mobile */
.eg-topbar-nav {
  margin-bottom: 8px !important;
}
.eg-thimble-arena {
  max-width: 760px;
  margin: 0 auto;
}
.eg-thimble-header {
  padding: 12px 16px 8px !important;
}
.eg-thimble-header h2 {
  font-size: 18px !important;
  margin: 2px 0 6px !important;
}
.eg-thimble-status-pill {
  padding: 6px 14px !important;
  font-size: 12px !important;
}
.eg-stage-white-board {
  margin: 0 14px !important;
  padding: 36px 14px 20px !important;
}
.eg-3d-cup-click {
  width: 104px !important;
  height: 126px !important;
}
.eg-3d-cup-model {
  width: 98px !important;
  height: 108px !important;
}
.eg-3d-cup-wrap.lifted .eg-3d-cup-model {
  transform: translateY(-48px) !important;
}
.eg-3d-gold-ball {
  width: 32px !important;
  height: 32px !important;
}
.eg-3d-cup-shadow {
  width: 88px !important;
  height: 14px !important;
}
.eg-pg-control-deck {
  padding: 12px 16px 14px !important;
  margin-top: 12px !important;
}
.eg-pg-top-pills {
  margin-bottom: 10px !important;
}
.eg-pg-SpinBtn {
  width: 70px !important;
  height: 70px !important;
}
.eg-pg-StepBtn,
.eg-pg-SideBtn {
  width: 46px !important;
  height: 46px !important;
}

.eg-wheel-poster-stage {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 18px 22px !important;
}
.eg-wheel-main-heading {
  font-size: 19px !important;
  margin: 4px 0 16px !important;
}
.eg-wheel-center-container {
  width: min(300px, 44dvh, 72vw) !important;
  height: min(300px, 44dvh, 72vw) !important;
}
.eg-wheel-start-center-btn {
  width: 74px !important;
  height: 74px !important;
  font-size: 15px !important;
}

/* ============================================================================
   8. MOBILE VIEWPORT (<= 768px): VEGASKING789 PC THEME + FIXED BARS
   ============================================================================ */
@media (max-width: 768px) {
  body {
    overflow-x: clip;
    padding-top: 90px !important;
    padding-bottom: 66px !important;
    background: #f4f8fc;
  }
  body.has-bottom-betslip {
    padding-bottom: 130px !important;
  }
  .page-container,
  .page-container.narrow,
  .betting-container {
    padding: 10px 10px 24px !important;
    max-width: 100%;
  }

  /* Hide Desktop Header/Nav & Floating Chat Launcher on Mobile */
  .desktop-only-bar,
  .desktop-only-header,
  .chat-launcher,
  .sports-subnav,
  .club-welcome {
    display: none !important;
  }

  /* FIXED TOP HEADER ON MOBILE (Always follows scroll - Image 2 + PC Theme) */
  .m-app-header-wrap {
    display: block;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(14, 51, 88, 0.1);
  }
  /* Row 1: Deep Navy Member & Balance Bar (#0e3358 - Matches PC .member-bar) */
  .m-navy-member-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 12px;
    background: #0e3358;
    color: #ffffff;
    min-height: 38px;
  }
  .m-nm-left {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
  }
  .m-nm-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2783d1;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .m-nm-user {
    font-size: 12px;
    color: #dbeafe;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .m-nm-user strong {
    color: #ffffff;
    font-weight: 700;
  }
  .m-nm-club-tag {
    font-size: 11px;
    letter-spacing: 0.8px;
    color: #dbeafe;
  }
  .m-nm-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  .m-nm-wallet-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 3px 8px;
    color: #ffffff;
    font-size: 12px;
  }
  .m-nm-wallet-pill .icon {
    width: 14px;
    height: 14px;
  }
  .m-nm-refresh {
    background: none;
    border: 0;
    color: #93c5fd;
    font-size: 13px;
    padding: 0 2px;
    cursor: pointer;
    line-height: 1;
  }
  .m-nm-topup-btn {
    background: #2783d1;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    text-decoration: none;
  }
  .m-nm-guest-btn {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
  }
  .m-nm-guest-btn.login {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
  }
  .m-nm-guest-btn.register {
    background: #2783d1;
    color: #ffffff;
  }

  /* Row 2: Crisp White Brand & Menu Bar (Matches PC .club-header) */
  .m-white-brand-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: #ffffff;
    border-bottom: 1px solid #d5e4f2;
    min-height: 48px;
  }
  .m-ham-btn {
    width: 36px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #c8dcef;
    background: #f4f9ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
  }
  .m-ham-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 16px;
  }
  .m-ham-bars i {
    display: block;
    height: 2px;
    width: 100%;
    background: #0e3358;
    border-radius: 2px;
  }
  .m-brand-link {
    font-size: 18px !important;
    gap: 8px !important;
  }
  .m-brand-link .brand-mark {
    width: 30px !important;
    height: 30px !important;
  }
  .m-chat-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef6ff;
    border: 1px solid #c8dcef;
    color: #176bc1;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
  }
  .m-chat-top-btn .icon {
    width: 15px;
    height: 15px;
  }

  /* SLIDE-OUT LEFT DRAWER IN VEGASKING789 PC NAVY & WHITE THEME */
  .m-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(14, 51, 88, 0.55);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
    backdrop-filter: blur(2px);
  }
  .m-drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }
  .m-drawer-outside-close {
    position: absolute;
    top: 14px;
    left: min(78vw, 290px);
    margin-left: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    background: #0e3358;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .m-side-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(78vw, 290px);
    background: #ffffff;
    color: #0e3358;
    z-index: 1110;
    transform: translateX(-102%);
    transition: transform .25s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    border-right: 1px solid #d5e4f2;
    box-shadow: 14px 0 36px rgba(14, 51, 88, 0.25);
  }
  .m-side-drawer.open {
    transform: translateX(0);
  }
  .m-sd-navy-head {
    background: linear-gradient(145deg, #0e3358, #17518a);
    color: #ffffff;
    padding: 16px;
  }
  .m-sd-title {
    font-size: 11px;
    letter-spacing: 1.4px;
    color: #93c5fd;
    display: block;
    margin-bottom: 10px;
  }
  .m-sd-user-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }
  .m-sd-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #0e3358;
    font-weight: 800;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .m-sd-user-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  .m-sd-user-meta small {
    font-size: 11px;
    color: #bae6fd;
  }
  .m-sd-user-meta strong {
    font-size: 15px;
    color: #ffffff;
  }
  .m-sd-balance-box {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
  }
  .m-sd-balance-box .icon {
    width: 15px;
    height: 15px;
    vertical-align: -2px;
  }
  .wallet-pill-drawer {
    font-size: 14px;
    font-weight: 800;
    color: #fde047;
  }
  .m-sd-ref-btn {
    background: none;
    border: 0;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
  }
  .m-sd-guest-card p {
    font-size: 12px;
    color: #e0f2fe;
    margin: 0 0 10px;
  }
  .m-sd-guest-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .m-sd-coupon-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #f4f9ff;
    border-bottom: 1px solid #d5e4f2;
  }
  .m-sd-coupon-code {
    flex: 1;
    border: 1px dashed #93c5fd;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 11px;
    color: #0e3358;
    background: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .m-sd-coupon-btn {
    background: #176bc1;
    color: #ffffff;
    border: 0;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
  }
  .m-sd-nav-list {
    display: flex;
    flex-direction: column;
    padding: 6px 0 20px;
  }
  .m-sd-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: #1e3a5f;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 0;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
  }
  .m-sd-link .icon {
    width: 18px;
    height: 18px;
    color: #176bc1;
  }
  .m-sd-link.active,
  .m-sd-link:hover {
    background: #eef6ff;
    color: #176bc1;
    border-left: 3px solid #176bc1;
  }
  .m-sd-divider {
    height: 1px;
    background: #e2ecf7;
    margin: 4px 14px;
  }
  .m-sd-link.logout-row {
    margin-top: 4px;
    border-top: 1px solid #e2ecf7;
    color: #dc2626;
  }
  .m-sd-link.logout-row .icon {
    color: #dc2626;
  }

  /* FIXED BOTTOM NAVIGATION BAR IN VEGASKING789 PC WHITE & ROYAL BLUE THEME */
  .m-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(58px + env(safe-area-inset-bottom, 0px));
    background: #ffffff;
    border-top: 1px solid #cfe0f2;
    z-index: 1002;
    padding: 2px 4px env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -4px 16px rgba(14, 51, 88, 0.08);
  }
  .m-bn-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #526d88;
    text-decoration: none;
    background: none;
    border: 0;
    height: 100%;
    padding: 4px 2px;
    cursor: pointer;
    font-family: inherit;
    position: relative;
  }
  .m-bn-tab .icon {
    width: 20px;
    height: 20px;
  }
  .m-bn-tab small {
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
  }
  .m-bn-tab.active {
    color: #176bc1;
  }
  .m-bn-tab.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: #176bc1;
    border-radius: 0 0 3px 3px;
  }

  /* LIFT BET SLIP COLLAPSED BAR & DRAWER ABOVE MOBILE BOTTOM NAV (Image 1 Fix!) */
  .cv-bs-collapsed-bar {
    bottom: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 1050 !important;
  }
  .cv-bs-drawer {
    bottom: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
    max-height: calc(82dvh - 58px) !important;
    z-index: 1060 !important;
  }
  .cv-bs-backdrop {
    z-index: 1055 !important;
  }

  /* MOBILE HOME & E-GAMES LOBBY */
  .club-hero {
    min-height: 180px !important;
    border-radius: 14px !important;
    margin-bottom: 12px !important;
  }
  .club-hero-copy {
    padding: 18px 16px !important;
  }
  .club-hero h1 {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
  .club-hero p {
    font-size: 12px !important;
    margin-bottom: 12px !important;
  }
  .eg-lobby-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
  }
  .eg-poster-art {
    height: 145px !important;
    padding: 10px !important;
  }
  .eg-poster-overlay {
    display: none !important;
  }
  .eg-poster-logo {
    font-size: 15px !important;
  }
  .eg-poster-logo span {
    font-size: 9px !important;
  }
  .eg-poster-title {
    padding: 8px !important;
    font-size: 12px !important;
  }

  /* MOBILE SPORTSBOOK IN VEGASKING789 PC THEME + BTi CARDS */
  .betting-container > .page-heading {
    display: none !important;
  }
  .odds-layout {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .sport-sidebar {
    display: none !important;
  }
  .bti-sport-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 10px;
    background: #eef5fc;
    border-bottom: 1px solid #d5e4f2;
    scrollbar-width: none;
  }
  .bti-sport-strip::-webkit-scrollbar {
    display: none;
  }
  .bti-sport-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    border: 1px solid #c8dcef;
    background: #ffffff;
    color: #0e3358;
    cursor: pointer;
    flex-shrink: 0;
  }
  .bti-sport-pill.selected {
    background: linear-gradient(135deg, #176bc1 0%, #0e3358 100%);
    border-color: #0e3358;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(23, 107, 193, 0.28);
  }
  .bti-sport-icon {
    font-size: 20px;
    line-height: 1;
  }
  .bti-sport-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
  }
  .bti-sport-meta strong {
    font-size: 12px;
    font-weight: 800;
  }
  .bti-sport-meta small {
    font-size: 10px;
    opacity: 0.85;
  }

  .odds-toolbar {
    padding: 8px 12px !important;
    font-size: 11px !important;
  }
  .odds-time-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    scrollbar-width: none;
  }
  .odds-time-bar::-webkit-scrollbar {
    display: none;
  }
  .odds-time-label {
    font-size: 11px !important;
    white-space: nowrap !important;
    flex-shrink: 0;
  }
  .odds-time-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    flex-shrink: 0;
  }
  .odds-time-pill {
    padding: 5px 12px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    min-height: 30px !important;
  }
  .odds-collapse-all {
    margin-left: auto;
    padding: 5px 10px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    flex-shrink: 0;
  }
  .odds-filters {
    display: grid !important;
    grid-template-columns: 1fr 135px !important;
    gap: 6px !important;
    padding: 8px 10px !important;
  }

  .odds-table-scroll {
    overflow-x: visible !important;
  }
  .odds-table {
    min-width: 0 !important;
    width: 100% !important;
  }
  .odds-table-head {
    display: none !important;
  }
  .odds-league-heading {
    padding: 9px 12px !important;
    font-size: 12px !important;
  }
  .odds-event-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    padding: 12px 10px !important;
    border-bottom: 6px solid #e9f1fa !important;
    background: #ffffff;
    align-items: stretch !important;
  }
  .odds-teams {
    grid-column: 1 / 3 !important;
    order: 1;
    padding: 0 4px 4px 0 !important;
    gap: 6px !important;
  }
  .odds-teams strong {
    font-size: 13px !important;
    line-height: 1.25 !important;
  }
  .odds-time {
    grid-column: 3 / 4 !important;
    order: 2;
    padding: 0 0 4px !important;
    border: 0 !important;
    background: transparent !important;
    text-align: right !important;
    align-items: flex-end !important;
    justify-content: center !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .bti-mobile-market-head {
    grid-column: 1 / -1 !important;
    order: 3;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-top: 2px;
  }
  .bti-mobile-market-head span {
    background: #e6f0fa;
    color: #0e3358;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    padding: 4px 2px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .odds-market-cell {
    order: 4;
    padding: 0 !important;
    border: 0 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
  }
  .odds-option {
    padding: 7px 6px !important;
    min-height: 32px !important;
    border-radius: 5px !important;
    background: #f4f8fc !important;
    border: 1px solid #d5e4f2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 11px !important;
    width: 100% !important;
  }
  .odds-option span {
    color: #176bc1;
    font-size: 10px !important;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .odds-option strong {
    color: #0e3358;
    font-size: 12px !important;
    font-weight: 800;
  }
  .odds-option.selected {
    background: #176bc1 !important;
    border-color: #0e3358 !important;
    color: #ffffff !important;
  }
  .odds-option.selected span,
  .odds-option.selected strong {
    color: #ffffff !important;
  }

  /* MOBILE UNIVERSAL RESPONSIVE TABLES (My Bets, Withdrawals, Wallet, Stats) */
  .cv-resp-table-wrap {
    overflow-x: visible !important;
  }
  .cv-resp-table,
  .cv-resp-table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .cv-resp-table thead {
    display: none !important;
  }
  .cv-resp-table tbody tr {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 14px !important;
    margin-bottom: 12px !important;
    background: #ffffff !important;
    border: 1px solid #d5e4f2 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 12px rgba(14, 51, 88, 0.05);
    width: 100% !important;
  }
  .cv-resp-table tbody td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 2px 0 !important;
    border: 0 !important;
    text-align: right;
    min-width: 0 !important;
  }
  .cv-resp-table tbody td[data-col="0"] {
    display: block !important;
    text-align: left !important;
    padding-bottom: 10px !important;
    border-bottom: 1px dashed #dbe7f4 !important;
  }
  .cv-resp-table tbody td:not([data-col="0"]):not([data-label=""])::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-align: left;
    flex-shrink: 0;
  }
  .cv-resp-table tbody td[data-label=""] {
    justify-content: flex-end !important;
    padding-top: 8px !important;
    border-top: 1px solid #f1f5f9 !important;
  }

  /* MOBILE SINGLE-SCREEN BACCARAT (Image 3 Fit) */
  .eg-compact-page {
    padding: 6px 6px 14px !important;
  }
  .bac-compact-topbar {
    padding: 5px 8px;
  }
  .bac-top-shoe-tag span:last-child {
    display: none;
  }
  .bac-compact-status {
    font-size: 10px;
    padding: 4px 8px;
  }
  .bac-bet-board.compact {
    padding: 6px 8px;
    gap: 5px;
  }
  .bac-spot {
    padding: 5px 4px;
  }
  .bac-spot.main-p,
  .bac-spot.main-b {
    padding: 7px 6px;
  }
  .spot-title {
    font-size: 11px;
  }
  .spot-odds {
    font-size: 9px;
  }
  .bac-bottom-bar.compact {
    padding: 6px 8px;
    gap: 6px;
    justify-content: center;
  }
  .bac-chip-tray {
    width: 100%;
    justify-content: center;
    gap: 4px;
  }
  .bac-chip-tray .casino-chip,
  .casino-chip-config-btn {
    width: 36px;
    height: 36px;
  }
  .bac-chip-tray .casino-chip .chip-inner {
    font-size: 9px;
  }
  .bac-action-btns {
    width: 100%;
    justify-content: space-between;
  }
  .bac-split-side {
    padding: 6px 8px;
    min-height: 82px;
  }
  .bac-split-label {
    font-size: 11px;
  }
  .bac-split-score {
    font-size: 20px;
  }
  .bac-card-slot,
  .bac-card-face:not(.giant) {
    width: 40px;
    height: 56px;
  }
  .bac-cf-corner b { font-size: 9px; }
  .bac-cf-corner span { font-size: 8px; }
  .bac-cf-center { font-size: 16px; }
  .bac-roadmap-board {
    grid-template-columns: 108px minmax(0, 1fr) 96px;
  }
  .bac-rm-bead-grid {
    grid-template-columns: repeat(6, 18px);
    grid-template-rows: repeat(6, 17px);
  }
  .rm-bead {
    width: 14px;
    height: 14px;
    font-size: 8px;
  }
  .bac-rm-big-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 12px);
  }
  .rm-big-ring {
    width: 10px;
    height: 10px;
    font-size: 7px;
  }
  .bac-rm-derived-row {
    height: 30px;
  }
  .bac-rm-derived-box {
    grid-template-rows: repeat(2, 15px);
  }
  .bac-rm-stats-col {
    font-size: 9px;
  }
  .rm-stat-line {
    padding: 1px 4px;
  }
  .bac-cm-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* MOBILE SINGLE-SCREEN THIMBLERIG & LUCKY WHEEL */
  .eg-stage-white-board {
    margin: 0 8px !important;
    padding: 28px 6px 14px !important;
  }
  .eg-3cups-stage {
    gap: 6px !important;
  }
  .eg-3d-cup-click {
    width: 72px !important;
    height: 90px !important;
  }
  .eg-3d-cup-model {
    width: 68px !important;
    height: 76px !important;
  }
  .eg-3d-cup-wrap.lifted .eg-3d-cup-model {
    transform: translateY(-32px) !important;
  }
  .eg-3d-gold-ball {
    width: 22px !important;
    height: 22px !important;
  }
  .eg-3d-cup-shadow {
    width: 58px !important;
    height: 10px !important;
  }
  .eg-wheel-center-container {
    width: min(68vw, 250px) !important;
    height: min(68vw, 250px) !important;
  }
  .eg-wheel-start-center-btn {
    width: 64px !important;
    height: 64px !important;
    font-size: 13px !important;
  }
}


/* ============================================================================
   IMAGE-ONLY AUTO-SLIDING BANNER CAROUSEL (Desktop & Mobile)
   ============================================================================ */
.club-hero.cv-img-only-banner {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 32px rgba(14, 51, 88, 0.14);
}
.cv-banner-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #0b223d;
  user-select: none;
  touch-action: pan-y;
}
.cv-banner-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.cv-banner-slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #091e38, #123b68);
}
.cv-banner-slide .club-banner-image {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block !important;
  background: transparent !important;
}
@media (min-width: 769px) {
  .page-container.club-home {
    padding-top: 12px !important;
  }
  .club-home .club-welcome {
    display: none !important;
  }
  .club-hero.cv-img-only-banner {
    max-width: 100%;
    margin: 0 auto 10px !important;
    border-radius: 16px !important;
  }
  .cv-banner-viewport {
    height: 265px !important;
    max-height: 265px !important;
    border-radius: 16px !important;
    background: radial-gradient(circle at 50% 50%, #154578 0%, #081b33 78%) !important;
  }
  .cv-banner-track,
  .cv-banner-slide {
    height: 265px !important;
    max-height: 265px !important;
    background: radial-gradient(circle at 50% 50%, #154578 0%, #081b33 78%) !important;
  }
  .cv-banner-slide .club-banner-image {
    width: 100% !important;
    height: 265px !important;
    max-height: 265px !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
  .club-home .club-ticker {
    margin: 10px 0 18px !important;
    padding: 9px 16px !important;
  }
  .club-home .section-heading {
    margin-bottom: 12px !important;
  }
}
.cv-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(8, 24, 44, 0.65);
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background .18s, transform .18s;
}
.cv-carousel-arrow:hover {
  background: rgba(23, 107, 193, 0.92);
  transform: translateY(-50%) scale(1.06);
}
.cv-carousel-arrow.prev { left: 14px; }
.cv-carousel-arrow.next { right: 14px; }

.cv-carousel-controls-bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.cv-carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 24, 44, 0.65);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  pointer-events: auto;
}
.cv-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width .22s, background .22s;
}
.cv-carousel-dot.active {
  width: 22px;
  background: #fde047;
}
.cv-carousel-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 24, 44, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(4px);
  pointer-events: auto;
}
.cv-cp-btn {
  background: none;
  border: 0;
  color: #93c5fd;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 4px;
  cursor: pointer;
}
.cv-cp-btn:hover {
  color: #fde047;
}
@media (max-width: 768px) {
  .club-hero.cv-img-only-banner,
  .cv-banner-viewport {
    border-radius: 14px !important;
  }
  .cv-carousel-arrow {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }
  .cv-carousel-arrow.prev { left: 8px; }
  .cv-carousel-arrow.next { right: 8px; }
  .cv-carousel-controls-bar {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  .cv-carousel-pill {
    font-size: 10px;
    padding: 3px 8px;
    gap: 6px;
  }
  .cv-cp-btn {
    font-size: 10px;
  }
}


/* ============================================================================
   TIPSTER COMMUNITY MARKETPLACE V3 (Image 2 Profile, Image 3 Feed, Image 4 Post Detail)
   ============================================================================ */

.mobile-only-lb-tab {
  display: none !important;
}
.bti-sport-icon .icon {
  width: 20px;
  height: 20px;
}
.tip-narrow-page {
  max-width: 820px !important;
  margin: 0 auto;
}

/* Subpage Topbar (Image 2 & Image 4 Header) */
.tip-subpage-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(135deg, #0e3358, #176bc1);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.tip-sub-back-btn {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.tip-subpage-topbar strong {
  font-size: 15px;
  font-weight: 800;
}

.tip-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #d5e4f2;
  border-bottom: 3px solid #176bc1;
  border-radius: 14px 14px 0 0;
  padding: 8px 12px 0;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.tip-top-tabs {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  overflow-x: auto;
}
.tip-tab-btn {
  padding: 9px 14px;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: #eaf2fa;
  color: #334e68;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.tip-tab-btn .icon {
  width: 15px;
  height: 15px;
}
.tip-tab-btn.active {
  background: linear-gradient(135deg, #0e3358, #176bc1);
  color: #ffffff;
}
.tip-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
  flex-wrap: wrap;
}
.tip-post-cta-btn {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}
.tip-post-cta-btn .icon,
.tip-rules-btn .icon {
  width: 15px;
  height: 15px;
}
.tip-rules-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334e68;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tip-seller-earnings-strip {
  background: linear-gradient(90deg, #eff6ff, #ffffff);
  border: 1px solid #93c5fd;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.tip-seller-earnings-strip strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0e3358;
  font-size: 13px;
}
.tip-seller-earnings-strip small {
  color: #486581;
  font-size: 11px;
}
.tip-ses-numbers {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #1e3a5f;
}

.tip-admin-banner-wrap {
  margin-bottom: 12px;
}
.tip-sport-filter-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 12px;
  padding-bottom: 2px;
}
.tip-sf-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #c8dcef;
  background: #ffffff;
  color: #1e3a5f;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tip-sf-pill .icon {
  width: 14px;
  height: 14px;
}
.tip-sf-pill.active {
  background: #176bc1;
  border-color: #176bc1;
  color: #ffffff;
}

/* Main 2-Column Layout on Desktop */
.tip-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}
.tip-feed-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============================================================================
   IMAGE 3 COMPACT POST CARD (`.tip-compact-post-card`)
   Fits ~3 posts on a mobile screen just like Reference Image 3!
   ============================================================================ */
.tip-compact-post-card {
  background: #ffffff;
  border: 1px solid #d8e5f2;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 3px 10px rgba(14, 51, 88, 0.04);
}
.tip-cpc-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.tip-cpc-author-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-width: 0;
}
.tip-cpc-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #176bc1, #0e3358);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tip-cpc-name {
  font-size: 14px;
  font-weight: 800;
  color: #0e3358;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tip-streak-tag {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #ea580c;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 5px;
  white-space: nowrap;
}
.tip-cpc-body {
  cursor: pointer;
  margin-bottom: 8px;
}
.tip-cpc-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 2-Line Soft Blue-Gray Match Box inside Post Card (Exact Image 3 Style!) */
.tip-cpc-match-box {
  background: #edf3f9;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tip-cpc-mb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.tip-cpc-mb-league {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #486581;
  font-weight: 600;
  min-width: 0;
}
.tip-cpc-mb-league .icon {
  width: 14px;
  height: 14px;
  color: #176bc1;
  flex-shrink: 0;
}
.tip-cpc-mb-league .sep {
  font-style: normal;
  color: #cbd5e1;
}
.tip-inline-buy-btn {
  background: linear-gradient(135deg, #176bc1, #0e3358);
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.tip-inline-unlocked-tag {
  font-size: 11px;
  font-weight: 800;
  color: #0d9488;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.tip-inline-unlocked-tag .icon {
  width: 13px;
  height: 13px;
}
.tip-cpc-mb-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tip-cpc-mkt-tag {
  background: #ffffff;
  color: #0d9488;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.tip-cpc-teams {
  font-size: 13px;
  font-weight: 700;
  color: #0e3358;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tip-cpc-teams .vs-red {
  color: #ef4444;
  font-style: normal;
  font-weight: 800;
  margin: 0 3px;
}
.tip-cpc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 11px;
  color: #64748b;
}
.tip-cpc-stats {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.tip-mini-stat-btn {
  background: none;
  border: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 2px 5px;
  border-radius: 6px;
}
.tip-mini-stat-btn .icon {
  width: 14px;
  height: 14px;
}
.tip-mini-stat-btn.liked {
  color: #176bc1;
}

/* ============================================================================
   IMAGE 2 PROFILE VIEW (`.tip-img2-profile-card` — NO Leaderboard!)
   ============================================================================ */
.tip-img2-profile-card {
  background: #ffffff;
  border: 1px solid #d5e4f2;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(14, 51, 88, 0.05);
}
.tip-i2p-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.tip-i2p-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.tip-i2p-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #176bc1, #0e3358);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tip-i2p-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.tip-i2p-name-row strong {
  font-size: 16px;
  color: #0e3358;
}
.tip-i2p-inline-counts {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #64748b;
}
.tip-i2p-inline-counts span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tip-i2p-inline-counts .icon {
  width: 14px;
  height: 14px;
}
.tip-pill-follow-btn {
  background: #0e3358;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}
.tip-pill-follow-btn.following {
  background: #eef6ff;
  color: #176bc1;
  border: 1px solid #93c5fd;
}
.tip-i2p-bio {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  padding: 6px 8px;
}
.tip-i2p-bio p {
  margin: 0;
}
.tip-i2p-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.tip-i2p-tab {
  padding: 9px 10px;
  border-radius: 999px;
  border: 0;
  background: #eaf1f8;
  color: #486581;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.tip-i2p-tab.active {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
}

/* ============================================================================
   IMAGE 4 POST DETAIL VIEW (`.tip-post-detail-card` — Compact 3-Col Match Banner)
   ============================================================================ */
.tip-post-detail-card {
  background: #ffffff;
  border: 1px solid #d5e4f2;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 4px 16px rgba(14, 51, 88, 0.05);
}
.tip-pd-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.tip-pd-author-left {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.tip-pd-name-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tip-pd-name-line strong {
  font-size: 15px;
  color: #0e3358;
}
.tip-pd-author-meta small {
  font-size: 11px;
  color: #64748b;
}

.tip-pd-match-banner {
  background: linear-gradient(110deg, #fff5f0 0%, #f4f8fc 50%, #eef6ff 100%);
  border: 1px solid #d5e4f2;
  border-radius: 12px;
  padding: 12px;
}
.tip-pd-mb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.tip-pd-league {
  font-size: 12px;
  font-weight: 800;
  color: #0e3358;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 auto;
}
.tip-pd-league .icon {
  width: 14px;
  height: 14px;
  color: #176bc1;
}
.tip-pd-pill {
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid #f97316;
  background: #fff7ed;
  color: #ea580c;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

/* Keep Teams & Odds 3-Column Horizontal on BOTH Desktop AND Mobile (Exact Image 4!) */
.tip-pd-teams-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.tip-pd-team {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #0e3358;
  min-width: 0;
}
.tip-pd-team strong {
  line-height: 1.25;
  word-break: break-word;
}
.tip-pd-team.side-a {
  justify-content: flex-end;
  text-align: right;
}
.tip-pd-team.side-b {
  justify-content: flex-start;
  text-align: left;
}
.tip-pd-datetime {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #486581;
  line-height: 1.25;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
}
.tip-pd-odds-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.tip-pd-odds-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: #0e3358;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.tip-pd-odds-box.picked {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  border-color: #0f766e;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}
.tip-pd-odds-box.masked {
  background: #f1f5f9;
  border-style: dashed;
  color: #64748b;
  font-size: 11px;
}
.tip-pd-odds-box.masked .icon {
  width: 13px;
  height: 13px;
}
.tip-pd-line-center {
  font-size: 12px;
  font-weight: 900;
  color: #0e3358;
  padding: 0 4px;
  text-align: center;
  white-space: nowrap;
}

.tip-pd-body-content {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.75;
  color: #1e293b;
}
.tip-pd-analysis-text {
  white-space: pre-line;
  margin-bottom: 16px;
}
.tip-pd-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #edf2f7;
  flex-wrap: wrap;
}
.tip-pd-stats-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tip-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334e68;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.tip-action-pill .icon {
  width: 15px;
  height: 15px;
}
.tip-action-pill.liked {
  background: #eef6ff;
  border-color: #176bc1;
  color: #176bc1;
}
.tip-views-pill {
  font-size: 12px;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tip-views-pill .icon {
  width: 15px;
  height: 15px;
}

/* Locked / Unlocked Pick Reveal Box */
.tip-pick-reveal-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.tip-pick-reveal-box.locked {
  background: linear-gradient(90deg, #0e3358, #174b82);
  color: #ffffff;
  border: 1.5px solid #2b6cb0;
}
.tip-pr-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tip-lock-svg-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fde047;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tip-lock-svg-circle .icon {
  width: 16px;
  height: 16px;
}
.tip-pick-reveal-box.locked strong {
  display: block;
  font-size: 12px;
  color: #fde047;
}
.tip-pick-reveal-box.locked small {
  font-size: 11px;
  color: #dbeafe;
}

/* Top 5 Tipster Leaderboard Panel */
.tip-leaderboard-panel {
  background: #ffffff;
  border: 1px solid #d5e4f2;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(14, 51, 88, 0.05);
}
.tip-lb-header h2 {
  font-size: 17px;
  color: #0e3358;
}
.tip-lb-header h2 .icon {
  width: 19px;
  height: 19px;
  color: #f59e0b;
}
.tip-lb-toggles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}
.tip-seg-pill {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #e9f0f8;
  padding: 3px;
  border-radius: 999px;
}
.tip-seg-pill button {
  border: 0;
  background: transparent;
  padding: 5px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #486581;
  cursor: pointer;
}
.tip-seg-pill button.active {
  background: #ffffff;
  color: #0e3358;
  box-shadow: 0 2px 6px rgba(14, 51, 88, 0.1);
}
.tip-lb-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tip-lb-item {
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f7;
}
.tip-lb-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.tip-lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.tip-lb-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tip-avatar-wrap {
  position: relative;
  display: inline-flex;
}
.tip-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #176bc1, #0e3358);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tip-avatar.c2 { background: linear-gradient(135deg, #0284c7, #0369a1); }
.tip-avatar.c3 { background: linear-gradient(135deg, #2563eb, #1e40af); }
.tip-avatar.c4 { background: linear-gradient(135deg, #0d9488, #115e59); }
.tip-avatar.c5 { background: linear-gradient(135deg, #4f46e5, #3730a3); }
.tip-rank-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
}
.tip-lb-name-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.tip-lb-name-box strong {
  font-size: 13px;
  color: #0e3358;
}
.tip-follow-btn {
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334e68;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.tip-follow-btn.following {
  background: #eef6ff;
  border-color: #93c5fd;
  color: #176bc1;
}
.tip-lb-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.tip-stat-box {
  background: #f4f8fc;
  border-radius: 8px;
  padding: 6px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tip-stat-box strong {
  font-size: 13px;
  font-weight: 800;
  color: #0e3358;
}
.tip-stat-box strong.win-rate {
  color: #ea580c;
}
.tip-stat-box small {
  font-size: 10px;
  color: #64748b;
}

/* POST TIP COMPOSER VIEW */
.tip-composer-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.tip-comp-left,
.tip-comp-right {
  background: #ffffff;
  border: 1px solid #d5e4f2;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(14, 51, 88, 0.05);
}
.tip-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.tip-step-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.tip-step-head .tip-step-title {
  margin-bottom: 0;
}
.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #176bc1;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tip-step-title strong {
  font-size: 14px;
  color: #0e3358;
}
.tip-step-title small {
  font-weight: 600;
  color: #176bc1;
  font-size: 11px;
}
.tip-sport-tabs3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}
.tip-sp-tab {
  padding: 7px 6px;
  border-radius: 8px;
  border: 1px solid #d5e4f2;
  background: #f4f8fc;
  color: #334e68;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.tip-sp-tab .icon {
  width: 14px;
  height: 14px;
}
.tip-sp-tab.active {
  background: #0e3358;
  border-color: #0e3358;
  color: #ffffff;
}
.tip-comp-search {
  margin-bottom: 10px;
}
.tip-comp-search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 12px;
}
.tip-match-list-scroll {
  max-height: 480px;
  overflow-y: auto;
  border: 1px solid #e2ecf7;
  border-radius: 10px;
}
.tip-league-title {
  background: #e9f1fa;
  color: #0e3358;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-bottom: 1px solid #d5e4f2;
}
.tip-match-item {
  width: 100%;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 22px 12px;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  border: 0;
  border-bottom: 1px solid #edf2f7;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}
.tip-match-item:hover {
  background: #f4f9ff;
}
.tip-match-item.selected {
  background: #fef9c3;
  border-left: 4px solid #eab308;
}
.tip-mi-time {
  font-size: 10px;
  color: #486581;
  line-height: 1.25;
}
.tip-mi-teams {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tip-mi-teams strong {
  font-size: 12px;
  color: #0e3358;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tip-mi-count {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tip-mi-arrow {
  color: #94a3b8;
  font-size: 15px;
}
.tip-step-block {
  margin-bottom: 18px;
}
.tip-step2-empty {
  background: #f8fafc;
  border: 1px solid #dbe7f4;
  border-radius: 10px;
  padding: 16px;
  color: #64748b;
  font-size: 13px;
}
.tip-step2-match-box {
  background: #f8fbff;
  border: 1px solid #d5e4f2;
  border-radius: 12px;
  padding: 14px;
}
.tip-s2-match-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.tip-s2-team {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #0e3358;
}
.tip-s2-time {
  font-size: 11px;
  font-weight: 700;
  color: #486581;
  background: #e9f1fa;
  padding: 3px 9px;
  border-radius: 999px;
}
.tip-s2-markets-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tip-mkt-row3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.tip-mkt-opt-btn {
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0e3358;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.tip-mkt-opt-btn.selected {
  background: #176bc1;
  border-color: #0e3358;
  color: #ffffff;
}
.tip-mkt-center-lbl {
  background: #e2e8f0;
  color: #334e68;
  border-radius: 8px;
  padding: 9px 6px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.tip-price-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.tip-price-card {
  position: relative;
  padding: 10px 6px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0e3358;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  overflow: hidden;
}
.tip-price-card strong {
  font-size: 14px;
  font-weight: 800;
}
.tip-price-card small {
  font-size: 10px;
  color: #64748b;
}
.tip-price-card.selected {
  border-color: #f97316;
  background: #fff7ed;
  color: #ea580c;
}
.tip-price-card.selected small {
  color: #c2410c;
  font-weight: 700;
}
.tip-price-check {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #f97316;
  color: #ffffff;
  font-style: normal;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 5px 0 0 0;
}
.tip-analysis-box {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  resize: vertical;
}
.tip-char-counter {
  margin-top: 5px;
  font-size: 11px;
  color: #ef4444;
  font-weight: 600;
}
.tip-char-counter.ok {
  color: #059669;
}
.tip-submit-row {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}
.tip-submit-btn {
  min-width: 220px;
  padding: 11px 28px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}
.tip-rule-highlight {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}
.tip-rule-highlight strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0e3358;
  margin-bottom: 4px;
}
.tip-rule-highlight strong .icon {
  width: 16px;
  height: 16px;
}
.tip-rule-highlight p {
  margin: 0;
  font-size: 12px;
  color: #1e3a5f;
}

/* ============================================================================
   MOBILE 2-STEP COMPOSER: Screen 1 "เผยแพร่" (Image 1) & Screen 2 "เลือกแมตช์" (Image 2)
   ============================================================================ */
.tip-composer-mobile {
  display: none;
  background: #ffffff;
  border: 1px solid #d5e4f2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(14, 51, 88, 0.06);
  position: relative;
}
.tip-m-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #0e3358, #176bc1);
  color: #ffffff;
  padding: 10px 12px;
  min-height: 48px;
}
.tip-m-topbar-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.tip-m-topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tip-m-nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.tip-m-nav-icon .icon {
  width: 19px;
  height: 19px;
}
.tip-m-nav-icon.active {
  background: rgba(255, 255, 255, 0.2);
}

/* Image 1: ทีเด็ด | ทอปปิก Tabs */
.tip-m-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}
.tip-m-mode-tab {
  padding: 12px 10px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
}
.tip-m-mode-tab.active {
  color: #ea580c;
  border-bottom-color: #ea580c;
}

.tip-m-form-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Image 1: + เลือกเกม Button */
.tip-m-select-game-btn {
  width: 100%;
  min-height: 50px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #475569;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.tip-m-select-game-btn:hover,
.tip-m-select-game-btn:active {
  border-color: #176bc1;
  background: #f8fbff;
}
.tip-m-select-game-btn .plus-sign {
  font-size: 22px;
  font-weight: 500;
  color: #475569;
  line-height: 1;
}

/* Selected Game Summary Button (shown in place of + เลือกเกม after choosing in Image 2) */
.tip-m-selected-game-card {
  width: 100%;
  border: 1.5px solid #176bc1;
  border-radius: 10px;
  background: #f0f7ff;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tip-msg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #486581;
}
.tip-msg-league {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
}
.tip-msg-league .icon {
  width: 14px;
  height: 14px;
  color: #176bc1;
}
.tip-msg-change {
  color: #176bc1;
  font-weight: 800;
}
.tip-msg-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.tip-msg-teams strong {
  font-size: 13px;
  color: #0e3358;
}
.tip-msg-teams .vs-red {
  color: #ef4444;
  font-style: normal;
  margin: 0 3px;
}
.tip-msg-pick-badge {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
}

/* Image 1: 4-Column Price Row (ฟรี | 48 บาท | 68 บาท | 88 บาท) */
.tip-m-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.tip-m-price-btn {
  position: relative;
  min-height: 40px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #1e293b;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px 4px;
}
.tip-m-price-btn.selected {
  border: 1.5px solid #f59e0b;
  color: #f59e0b;
  background: #fffbeb;
  font-weight: 800;
}
.tip-m-corner-check {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #f59e0b;
  color: #ffffff;
  font-style: normal;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 5px 0 0 0;
}

.tip-custom-price-bar {
  background: #fffbeb;
  border: 1.5px solid #f59e0b;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tip-custom-price-bar label {
  font-size: 12px;
  font-weight: 800;
  color: #b45309;
}
.tip-cp-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tip-cp-input-wrap input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}
.tip-cp-input-wrap input:focus {
  outline: none;
  border-color: #ea580c;
}
.tip-cp-input-wrap .unit {
  font-size: 13px;
  font-weight: 800;
  color: #b45309;
}
.tip-custom-price-bar small {
  font-size: 11px;
  color: #92400e;
}

/* Image 1: Clean Textarea & Character Counter & Submit Pill */
.tip-m-textarea-wrap {
  width: 100%;
}
.tip-m-textarea {
  width: 100%;
  min-height: 220px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-family: inherit;
  color: #1e293b;
  resize: vertical;
}
.tip-m-textarea:focus {
  outline: none;
  border-color: #176bc1;
}
.tip-m-char-line {
  font-size: 13px;
  color: #334155;
}
.tip-m-char-line .num {
  color: #ef4444;
  font-weight: 700;
}
.tip-m-char-line.ok .num {
  color: #0d9488;
}
.tip-m-submit-pill {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e3358, #176bc1);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 4px;
  box-shadow: 0 6px 16px rgba(23, 107, 193, 0.25);
}

/* ============================================================================
   IMAGE 2: เลือกแมตช์ (Expandable League Match List + 3x3 Market Grid)
   ============================================================================ */
.tip-m-picker-sports {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.tip-m-sp-pill {
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334e68;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.tip-m-sp-pill .icon {
  width: 14px;
  height: 14px;
}
.tip-m-sp-pill.active {
  background: #0e3358;
  border-color: #0e3358;
  color: #ffffff;
}
.tip-m-picker-search-bar {
  padding: 8px 12px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}
.tip-m-picker-search-bar input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
}
.tip-m-picker-list {
  max-height: 72vh;
  overflow-y: auto;
}
.tip-m-league-bar {
  background: #ebf1f5;
  color: #0f5132;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-bottom: 1px solid #e2e8f0;
}
.tip-m-match-wrap {
  border-bottom: 1px solid #edf2f7;
}
.tip-m-match-row {
  width: 100%;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 0;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}
.tip-m-mr-time {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  color: #334155;
  font-weight: 600;
}
.tip-m-mr-teams {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.tip-m-mr-teams strong {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tip-m-mr-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tip-m-mr-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tip-m-mr-chev {
  width: 8px;
  height: 8px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg);
  transition: transform 0.15s;
  margin-top: -3px;
}
.tip-m-mr-chev.up {
  border-color: #ef4444;
  transform: rotate(-135deg);
  margin-top: 3px;
}

/* Image 2: Accordion Body with 3x3 Market Rows */
.tip-m-accordion-body {
  background: #f8fafc;
  padding: 14px 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tip-m-odds-row3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.tip-m-odd-btn {
  min-height: 40px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.tip-m-odd-btn:active,
.tip-m-odd-btn.selected {
  background: #176bc1;
  border-color: #0e3358;
  color: #ffffff;
  font-weight: 800;
}
.tip-m-center-gray {
  min-height: 40px;
  border-radius: 6px;
  background: #e2e8f0;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px 4px;
}

.tip-m-floating-filter {
  position: sticky;
  bottom: 16px;
  left: calc(100% - 64px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: linear-gradient(135deg, #0e3358, #176bc1);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(14, 51, 88, 0.28);
  cursor: pointer;
  margin-bottom: 10px;
}

@media (max-width: 960px) {
  .tip-main-grid,
  .tip-composer-layout {
    grid-template-columns: 1fr;
  }
  .tip-composer-desktop {
    display: none !important;
  }
  .tip-composer-mobile {
    display: block !important;
  }
  .desktop-only-lb {
    display: none !important;
  }
  .mobile-only-lb-tab {
    display: inline-flex !important;
  }
  .tip-price-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================================
   DEPOSIT & WITHDRAWAL PAGE (Image 1 ฝากเงิน/ถอนเงิน Tabs & Image 2 Payment Method Picker)
   ============================================================================ */
.cv-dw-shell {
  background: #ffffff;
  border: 1px solid #d5e4f2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(14, 51, 88, 0.06);
}
.cv-dw-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #0b2239;
}
.cv-dw-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  background: #0b2239;
  transition: background 0.15s, color 0.15s;
  overflow: hidden;
}
.cv-dw-tab.active {
  background: linear-gradient(135deg, #176bc1, #0e3358);
  color: #ffffff;
}
.cv-dw-corner-tick {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #f97316 50%, transparent 50%);
  color: #ffffff;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 0 0 4px;
  line-height: 1;
}
.cv-dw-body-card {
  padding: 18px 16px 22px;
  background: #ffffff;
}
.cv-dw-balance-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0f7ff;
  border: 1px solid #cbe0f5;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
}
.cv-dw-balance-strip span {
  font-size: 13px;
  font-weight: 700;
  color: #334e68;
}
.cv-dw-balance-strip strong {
  font-size: 18px;
  font-weight: 900;
  color: #0e3358;
}
.cv-dw-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cv-dw-label {
  font-size: 14px;
  font-weight: 800;
  color: #0e3358;
}
.cv-dw-label .req-star {
  color: #ef4444;
}

/* Image 1: Selector Trigger Box (กรุณาเลือก | ⌄) */
.cv-pay-select-box {
  width: 100%;
  min-height: 54px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.cv-pay-select-box:hover {
  border-color: #176bc1;
  background: #ffffff;
}
.cv-psb-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.cv-psb-left .placeholder {
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
}
.cv-psb-left strong {
  font-size: 15px;
  font-weight: 800;
  color: #0e3358;
}
.cv-psb-right {
  padding-left: 14px;
  border-left: 1.5px solid #cbd5e1;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Image 2: Payment Method Picker Tiles (1. ธนาคาร, 2. Promptpay QR, 3. ทรูมันนี่) */
.cv-pay-picker-sheet {
  padding: 6px 2px 2px;
}
.cv-pay-tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 8px 0 18px;
  border-bottom: 1px solid #e2e8f0;
}
.cv-pay-option-tile {
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #0f2742;
  color: #ffffff;
  padding: 14px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.12s, border-color 0.15s, box-shadow 0.15s;
  min-height: 108px;
}
.cv-pay-option-tile:hover,
.cv-pay-option-tile.selected {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.28);
  transform: translateY(-1px);
}
.cv-pot-name {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  line-height: 1.25;
}
.cv-pm-logo-wrap {
  width: 68px;
  height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.cv-pm-logo-wrap.small {
  width: 54px;
  height: 36px;
}
.cv-pm-logo-wrap.bank {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.cv-bank-svg-ico {
  width: 34px;
  height: 34px;
}
.cv-pm-logo-wrap.qr {
  background: #113f67;
  padding: 3px 6px;
}
.cv-pm-logo-wrap.tm {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 2px 4px;
}
.cv-pm-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cv-pay-sheet-footer {
  padding-top: 14px;
}
.cv-pay-sheet-cancel {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #64748b;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.cv-dest-account-box {
  margin-top: 14px;
  background: #f8fbff;
  border: 1.5px solid #bfd8f2;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cv-dab-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cv-dab-head strong {
  display: block;
  font-size: 14px;
  color: #0e3358;
}
.cv-dab-head small {
  font-size: 12px;
  color: #486581;
}
.cv-dab-number-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffffff;
  border: 1px dashed #93c5fd;
  border-radius: 8px;
  padding: 8px 12px;
}
.cv-dab-number-row .num {
  font-size: 16px;
  font-weight: 900;
  color: #0e3358;
  letter-spacing: 0.03em;
}
.adm-pay-channel-box {
  background: #f8fbff;
  border: 1px solid #cfe2f5;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

/* ============================================================================
   E-GAMES DICE: UNDER & OVER 7 (Image 4 Exact Dark Casino + Gold Rings + Neon Pick)
   ============================================================================ */
.eg-poster-art.dice-art {
  background: radial-gradient(circle at 50% 35%, #3b2d54 0%, #1c192b 75%);
}
.eg-art-dice-pair {
  display: flex;
  gap: 10px;
  font-size: 38px;
  color: #ffffff;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}
.dice-uo7-arena {
  background: radial-gradient(circle at 50% 25%, #323142 0%, #21202c 70%, #181722 100%);
  border: 2px solid #b4924c;
  border-radius: 18px;
  padding: 14px 14px 18px;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(10, 10, 20, 0.45);
  max-width: 520px;
  margin: 0 auto;
}
.dice-uo7-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}
.dice-top-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dice-back-btn,
.dice-help-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 2px solid #d4af37;
  background: linear-gradient(180deg, #ca9e3b, #8b6214);
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}
.dice-status-banner {
  flex: 1;
  min-height: 38px;
  background: rgba(43, 39, 56, 0.92);
  border: 1px solid #6b6385;
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: #f8fafc;
}
.dice-status-banner.win {
  background: rgba(22, 101, 52, 0.9);
  border-color: #84cc16;
  color: #ecfccb;
}
.dice-status-banner.lose {
  background: rgba(127, 29, 29, 0.85);
  border-color: #f87171;
  color: #fee2e2;
}
.dice-wallet-badge {
  background: #14131d;
  border: 1.5px solid #c8a24b;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  color: #fde047;
  white-space: nowrap;
}

/* 2 Gold-Rimmed Circular Dice Windows */
.dice-circles-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 10px 0 18px;
}
.dice-gold-ring {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  padding: 9px;
  background: linear-gradient(145deg, #f3d27a 0%, #b38728 50%, #735110 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55), inset 0 2px 4px rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dice-inner-well {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #181526 55%, #090710 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.dice-face-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
  transition: transform 0.15s;
}
.dice-gold-ring.rolling .dice-face-svg {
  animation: diceSpinPulse 0.22s infinite linear;
}
@keyframes diceSpinPulse {
  0% { transform: rotate(0deg) scale(0.92); }
  50% { transform: rotate(180deg) scale(1.04); }
  100% { transform: rotate(360deg) scale(0.92); }
}

/* 3 Betting Choice Cards (มากกว่า 7 | เท่าเดิม 7 | น้อยกว่า 7) */
.dice-picks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.dice-pick-card {
  background: rgba(34, 33, 48, 0.95);
  border: 2px solid #52516e;
  border-radius: 8px;
  padding: 10px 8px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.dice-pick-card.selected {
  border-color: #84cc16;
  box-shadow: 0 0 12px rgba(132, 204, 22, 0.35);
}
.dice-pick-title {
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  color: #e9d5ff;
}
.dice-pick-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.dice-radio-ring {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid #d4af37;
  background: #14131d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dice-pick-card.selected .dice-radio-ring i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #84cc16;
  display: block;
}
.dice-pick-mult {
  font-size: 17px;
  font-style: italic;
  font-weight: 900;
  color: #ffffff;
}

/* 4 Metallic Gold Stake Modifier Buttons */
.dice-mod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.dice-gold-mod-btn {
  min-height: 38px;
  border-radius: 7px;
  border: 1.5px solid #2b2210;
  background: linear-gradient(180deg, #d7be82 0%, #9b7d42 55%, #755b28 100%);
  color: #1e1608;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.45);
}
.dice-gold-mod-btn:active {
  transform: translateY(1px);
}

/* Gold-Bordered Stake Display Box */
.dice-stake-row {
  margin-bottom: 16px;
}
.dice-stake-display {
  min-width: 150px;
  min-height: 40px;
  padding: 6px 18px;
  border-radius: 7px;
  border: 2px solid #cbb06a;
  background: #1a1824;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.65);
}

/* Bottom 3 Metallic Gold-Framed Square Buttons */
.dice-action-squares {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.dice-sq-btn {
  width: 82px;
  height: 76px;
  border-radius: 12px;
  border: 3px solid #cbb06a;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55), inset 0 2px 6px rgba(255, 255, 255, 0.35);
}
.dice-sq-btn.blue {
  background: radial-gradient(circle at 50% 35%, #5b78c7 0%, #273e87 70%, #172556 100%);
}
.dice-sq-btn.green.play {
  width: 112px;
  height: 82px;
  background: radial-gradient(circle at 50% 35%, #a3e635 0%, #4d7c0f 70%, #365314 100%);
}
.dice-sq-btn:active {
  transform: scale(0.97);
}

/* ============================================================================
   ONLINE SLOTS (#slots): EGYPT'S BOOK OF MYSTERY (Images 1, 2, 3)
   ============================================================================ */
.slot-lobby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 210px));
  gap: 16px;
}
.slot-img1-card {
  background: #2b2b2b;
  border: 1.5px solid #474747;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(14, 51, 88, 0.14);
  transition: transform 0.16s, box-shadow 0.16s;
}
.slot-img1-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(14, 51, 88, 0.24);
}
.slot-img1-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1a110b;
}
.slot-img1-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slot-img1-hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.18s;
}
.slot-img1-card:hover .slot-img1-hover {
  opacity: 1;
}
.slot-img1-footer {
  padding: 11px 12px;
  background: #2b2b2b;
  color: #f1f5f9;
}
.slot-img1-footer strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Image 3: Loading Splash Screen */
.slot-splash-screen {
  max-width: 440px;
  margin: 0 auto;
  background: linear-gradient(180deg, #2b1608 0%, #1c0c04 75%, #0f0602 100%);
  border-radius: 18px;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  border: 2px solid #a16207;
}
.slot-splash-art-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.slot-splash-loader-area {
  padding: 10px 22px 16px;
  text-align: center;
  background: linear-gradient(180deg, #3c1f0e 0%, #1c0c05 100%);
}
.slot-splash-bar-track {
  width: 100%;
  height: 14px;
  background: #090504;
  border: 1.5px solid #573b26;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}
.slot-splash-bar-fill {
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    #f472b6,
    #f472b6 8px,
    #ec4899 8px,
    #ec4899 16px
  );
  border-radius: 999px;
  transition: width 0.2s ease-out;
}
.slot-splash-pct {
  display: block;
  font-size: 13px;
  color: #fde68a;
  margin-bottom: 4px;
}
.slot-splash-hint {
  margin: 0;
  font-size: 11px;
  color: #e2e8f0;
}
.slot-splash-pg-footer {
  padding: 12px 16px 16px;
  background: #0d0603;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.pg-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 6px;
}
.pg-logo-box strong {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, #f43f5e, #f59e0b, #10b981, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1;
}
.pg-logo-box small {
  font-size: 7px;
  color: #cbd5e1;
}
.pg-cert-col {
  text-align: left;
  font-size: 9px;
  color: #94a3b8;
}
.pg-cert-col small {
  display: block;
}
.pg-cert-col b {
  color: #e2e8f0;
  font-size: 10px;
}
.pg-copy {
  font-size: 9px;
  color: #64748b;
}

/* Image 2: Playable Egypt's Book of Mystery Slot Machine */
.slot-ebm-machine {
  max-width: 440px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ecd9b5 0%, #c9a66b 45%, #8c6432 100%);
  border: 2.5px solid #b48332;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.32);
  color: #2e1d09;
}
.slot-ebm-top-sky {
  background: linear-gradient(180deg, #d7c7a9 0%, #e5cf9c 100%);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #b48332;
}
.slot-ebm-back-btn {
  background: rgba(46, 29, 9, 0.78);
  color: #fde68a;
  border: 1.5px solid #d97706;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.slot-ebm-ways-plaque {
  background: linear-gradient(180deg, #f3dfb9, #dec089);
  border: 2px solid #9a6e27;
  border-radius: 6px;
  padding: 2px 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.slot-ebm-ways-plaque strong {
  font-size: 16px;
  font-weight: 900;
  color: #be123c;
  text-shadow: 0 1px 0 #fde047;
}
.slot-ebm-ways-plaque span {
  font-size: 13px;
  font-weight: 900;
  color: #9f1239;
}
.slot-ebm-trophy-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #d97706;
  background: #27272a;
  font-size: 16px;
  cursor: pointer;
}

/* Upper 4-Cell Tracker Reel */
.slot-ebm-upper-tracker {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  background: linear-gradient(180deg, #d4af37, #9a6e27);
  padding: 3px 4px;
  border-bottom: 2.5px solid #784f12;
}
.slot-wing-ornament {
  height: 38px;
  background: repeating-linear-gradient(
    90deg,
    #1e3a8a,
    #1e3a8a 4px,
    #f59e0b 4px,
    #f59e0b 8px
  );
  border-radius: 4px;
  border: 1.5px solid #fde047;
}
.slot-top-4cells {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  padding: 0 4px;
}
.slot-top-cell {
  height: 40px;
  background: #cbb082;
  border: 1.5px solid #8f6b32;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main 6-Column x 5-Row Sandstone Board */
.slot-ebm-board-6col {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px;
  padding: 4px;
  background: #855e23;
}
/* Custom VegasKing789 Slot Poster Card (Matches E-Games Poster Style!) */
.eg-poster-art.slot-egypt-art {
  background: radial-gradient(circle at 50% 32%, #b45309 0%, #451a03 58%, #170d2a 100%);
}
.eg-art-egypt-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  filter: drop-shadow(0 6px 14px rgba(250, 204, 21, 0.45));
}
.egypt-eye-glow {
  font-size: 36px;
  line-height: 1;
}
.egypt-crossed-scepters {
  font-size: 20px;
  color: #fde047;
  font-weight: 900;
  letter-spacing: 2px;
}

.slot-top-4cells {
  overflow: hidden;
  position: relative;
}
.slot-top-4cells.top-rolling .slot-top-cell {
  animation: slotTopSlideLeft 0.14s infinite linear;
}
.slot-top-4cells.top-stopped .slot-top-cell {
  animation: slotTopStopBounce 0.24s cubic-bezier(0.22, 1.25, 0.36, 1);
}
@keyframes slotTopSlideLeft {
  0% { transform: translateX(42px); filter: blur(1px); }
  100% { transform: translateX(-42px); filter: blur(1px); }
}
@keyframes slotTopStopBounce {
  0% { transform: translateX(18px); }
  70% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

.slot-reel-col {
  height: 222px;
  overflow: hidden;
  position: relative;
  border-radius: 4px;
}
.slot-reel-final-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 222px;
}
.slot-reel-col.reel-stopped .slot-reel-final-wrap {
  animation: slotReelStopBounce 0.26s cubic-bezier(0.22, 1.28, 0.36, 1);
}
.slot-reel-strip.spinning-strip {
  display: flex;
  flex-direction: column;
  gap: 3px;
  animation: slotReelRollDown 0.28s infinite linear;
  will-change: transform;
}
.slot-reel-col.reel-rolling .slot-cell {
  filter: blur(0.7px);
}
@keyframes slotReelRollDown {
  0% { transform: translateY(-540px); }
  100% { transform: translateY(0px); }
}
@keyframes slotReelStopBounce {
  0% { transform: translateY(-28px); }
  65% { transform: translateY(7px); }
  100% { transform: translateY(0); }
}
.slot-cell {
  background: linear-gradient(180deg, #d7be93 0%, #c1a16d 100%);
  border: 1px solid #8c6830;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  position: relative;
  overflow: hidden;
}
.slot-cell.span-1 { height: 42px; }
.slot-cell.span-2 { height: 87px; }
.slot-cell.span-3 { height: 132px; }
.slot-cell.span-4 { height: 177px; }
.slot-cell.frame-silver {
  border: 2.5px solid #e2e8f0;
  box-shadow: inset 0 0 0 1.5px #64748b;
  background: radial-gradient(circle, #ebd9b7 0%, #c8a872 100%);
}
.slot-cell.frame-gold {
  border: 2.5px solid #facc15;
  box-shadow: inset 0 0 0 1.5px #b45309;
  background: radial-gradient(circle, #fef08a 0%, #d4af37 100%);
}
.slot-cell.win-glow {
  border-color: #fde047;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.85), inset 0 0 10px rgba(250, 204, 21, 0.45);
}
.slot-ebm-machine.is-spinning .slot-cell {
  animation: slotBlurSpin 0.16s infinite linear;
}
@keyframes slotBlurSpin {
  0% { transform: translateY(-4px); filter: blur(0.8px); }
  50% { transform: translateY(4px); filter: blur(1.2px); }
  100% { transform: translateY(-4px); filter: blur(0.8px); }
}

.slot-sym-art {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slot-sym-art svg {
  width: 100%;
  height: 100%;
}
.slot-sym-art.wild-sym {
  flex-direction: column;
  background: linear-gradient(135deg, #f59e0b, #b45309);
  border: 1.5px solid #fef08a;
  border-radius: 6px;
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  padding: 2px;
}
.slot-sym-art.wild-sym .wild-crown {
  font-size: 13px;
  line-height: 1;
}
.slot-sym-letter {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  -webkit-text-stroke: 1.2px #eab308;
}
.slot-sym-letter.sym-a { color: #7e22ce; }
.slot-sym-letter.sym-k { color: #1d4ed8; }
.slot-sym-letter.sym-q { color: #15803d; }
.slot-sym-letter.sym-j { color: #be185d; }
.slot-sym-letter.sym-10 { color: #b45309; }

/* Win Banner */
.slot-ebm-win-banner {
  background: linear-gradient(90deg, #7c5821 0%, #5b6d8a 22%, #6d81a1 50%, #5b6d8a 78%, #7c5821 100%);
  border-top: 2px solid #eab308;
  border-bottom: 2px solid #eab308;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.slot-ebm-win-banner .lbl {
  font-size: 10px;
  font-weight: 800;
  color: #fde68a;
  line-height: 1.1;
  text-align: right;
}
.slot-ebm-win-banner strong {
  font-size: 20px;
  font-weight: 900;
  color: #fbbf24;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.65);
}

/* Anubis & Horus Guardians Stage */
.slot-ebm-guardians-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #2e1d09;
}
.slot-ebm-guardians-stage img {
  width: 100%;
  height: auto;
  display: block;
}
.slot-feature-buy-hotspot {
  position: absolute;
  left: 33%;
  top: 18%;
  width: 34%;
  height: 50%;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
}
.slot-feature-buy-hotspot:hover {
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.65);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* 3 Dark-Brown Status Pills */
.slot-ebm-status-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px 8px;
  background: #c8a770;
}
.slot-st-pill {
  background: #5c4728;
  border: 1px solid #8a6c3e;
  border-radius: 999px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f8fafc;
  font-size: 12px;
}
.slot-st-pill .ico {
  font-size: 11px;
  color: #f59e0b;
}
.slot-st-pill .ico.win-tag {
  background: #b45309;
  color: #fde68a;
  font-size: 8px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 3px;
}

/* Bottom Sandstone Control Deck */
.slot-ebm-controls-deck {
  background: linear-gradient(180deg, #d8ba84 0%, #c29c5d 100%);
  padding: 6px 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.slot-ctrl-sub {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #9a6e27;
  background: rgba(154, 110, 39, 0.16);
  color: #784f12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.slot-ctrl-sub small {
  font-size: 8px;
  font-weight: 900;
}
.slot-ctrl-sub.active {
  background: #b45309;
  color: #fef08a;
  border-color: #fde047;
}
.slot-ctrl-step {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #9a6e27;
  background: rgba(154, 110, 39, 0.14);
  color: #784f12;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.slot-ctrl-spin-wheel {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid #784f12;
  background: radial-gradient(circle at 35% 30%, #fef08a 0%, #eab308 55%, #a16207 100%);
  color: #451a03;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(69, 26, 3, 0.4), inset 0 2px 6px rgba(255, 255, 255, 0.65);
}
.slot-ctrl-spin-wheel .spin-glyph {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}
.slot-ctrl-spin-wheel.spinning .spin-glyph {
  animation: diceSpinPulse 0.45s infinite linear;
}
.slot-ctrl-menu {
  background: transparent;
  border: 0;
  color: #5c3d0e;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  padding: 4px;
}

/* ============================================================================
   3D PAINTED SYMBOL SPRITE TILES & REDESIGNED SLOT COVER CARDS
   ============================================================================ */
.eg-poster-art.slot-cover-art {
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  background: #140d08;
}
.slot-cover-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.eg-poster-card:hover .slot-cover-bg-img {
  transform: scale(1.05);
}
.slot-cover-gradient-shade {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 10px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 15, 28, 0.88) 65%, rgba(10, 15, 28, 0.98) 100%);
  display: flex;
  justify-content: center;
}

.slot-sprite-tile {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  border-radius: 3px;
}
.slot-sprite-tile.egypt-sprite {
  background-image: url("/assets/sprites-egypt.jpg");
  background-size: 900% 100%;
}
.slot-sprite-tile.kong-sprite {
  background-image: url("/assets/sprites-kong.jpg");
  background-size: 1100% 100%;
}
.slot-cell.span-2 .slot-sprite-tile,
.slot-cell.span-3 .slot-sprite-tile,
.slot-cell.span-4 .slot-sprite-tile {
  height: 62px;
  width: 100%;
}
.slot-wild-badge {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #fef08a 0%, #ea580c 70%, #7c2d12 100%);
  border: 2px solid #fde047;
  border-radius: 4px;
  color: #ffffff;
  font-weight: 900;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.75);
}
.slot-wild-badge span {
  font-size: 9px;
  line-height: 1;
}
.slot-wild-badge strong {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #fef08a;
}

/* ============================================================================
   LEGACY OF KONG MAXWAYS (Image 2 Splash & Image 1 Playable Jungle Slot)
   ============================================================================ */
.slot-splash-screen.kong-splash {
  background: #121812;
  border-color: #4d7c0f;
}
.kong-splash-bar-wrap {
  position: relative;
  height: 28px;
  background: #27272a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kong-splash-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #3f6212, #65a30d);
  opacity: 0.55;
  transition: width 0.2s ease-out;
}
.kong-splash-status {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}
.kong-splash-footer {
  background: #050505;
  color: #cbd5e1;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8.5px;
  gap: 6px;
}
.kong-splash-footer .spade-brand b {
  color: #ef4444;
}

/* Playable Kong Machine (Image 1) */
.slot-kong-machine {
  max-width: 440px;
  margin: 0 auto;
  background: #1a2416;
  border: 2.5px solid #784f12;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.48);
  color: #ffffff;
}
.slot-kong-top-banner {
  position: relative;
  width: 100%;
}
.slot-kong-top-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.slot-kong-exit-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.78);
  color: #fde68a;
  border: 1.5px solid #ca8a04;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.slot-kong-upper-frame {
  position: relative;
  background: linear-gradient(180deg, #5c3a14, #3d2409);
  border-top: 3px solid #a16207;
  border-bottom: 3px solid #a16207;
  padding: 14px 36px 5px;
}
.slot-kong-ways-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #5c2d0c, #3b1a04);
  border: 1.5px solid #d97706;
  border-radius: 6px;
  padding: 1px 14px;
  font-size: 11px;
  font-weight: 800;
  color: #fef08a;
  z-index: 2;
  white-space: nowrap;
}
.kong-top-4cells {
  gap: 3px;
}
.kong-top-cell {
  height: 44px;
  background: #42260a;
  border: 1.5px solid #92561a;
  padding: 0;
  overflow: hidden;
}

.kong-board-6col {
  background: #42260a;
  border-left: 5px solid #854d0e;
  border-right: 5px solid #854d0e;
  border-bottom: 5px solid #854d0e;
  padding: 3px;
}
.kong-reel-col {
  height: 255px;
}
.kong-final-wrap {
  height: 255px;
}
.slot-cell.kong-cell {
  background: #4a2c0f;
  border: 1px solid #784614;
  padding: 0;
}
.slot-cell.kong-cell.span-1 { height: 40px; }
.slot-cell.kong-cell.span-2 { height: 83px; }
.slot-cell.kong-cell.span-3 { height: 126px; }
.slot-cell.kong-cell.span-4 { height: 169px; }

/* Kong Jungle Skull & Controls Stage */
.slot-kong-controls-stage {
  position: relative;
  width: 100%;
  background: #0f1f11;
}
.slot-kong-controls-stage img {
  width: 100%;
  height: auto;
  display: block;
}
.kong-hotspot {
  position: absolute;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
}
.kong-hotspot.trophy {
  left: 1%;
  top: 4%;
  width: 12%;
  height: 29%;
  border-radius: 8px;
}
.kong-hotspot.buy-free {
  left: 70%;
  top: 2%;
  width: 29%;
  height: 35%;
  border-radius: 10px;
}
.kong-hotspot.turbo {
  left: 2%;
  top: 43%;
  width: 12%;
  height: 30%;
}
.kong-hotspot.auto {
  left: 19%;
  top: 36%;
  width: 12%;
  height: 30%;
}
.kong-hotspot.spin {
  left: 36.5%;
  top: 17%;
  width: 27%;
  height: 64%;
}
.kong-hotspot.coins {
  left: 69.5%;
  top: 36%;
  width: 12%;
  height: 30%;
}
.kong-hotspot.menu {
  left: 86.5%;
  top: 43%;
  width: 12%;
  height: 30%;
}
.kong-hotspot.active,
.kong-hotspot:hover {
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.78);
}
.kong-hotspot.spin.spinning {
  box-shadow: 0 0 22px rgba(132, 204, 22, 0.9), inset 0 0 14px rgba(250, 204, 21, 0.75);
}
.kong-ways-credit-pill {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 2px 22px;
  font-size: 10px;
  color: #e2e8f0;
  white-space: nowrap;
}

/* Kong Bottom Stone Footer Bar */
.slot-kong-stone-footer {
  background: linear-gradient(180deg, #4b5563 0%, #27272a 45%, #18181b 100%);
  border-top: 3px solid #71717a;
  padding: 6px 8px 8px;
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  align-items: center;
  gap: 6px;
}
.kong-sf-side {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kong-sf-side .lbl {
  font-size: 10px;
  font-weight: 700;
  color: #4ade80;
}
.kong-sf-side .val {
  font-size: 13px;
  font-weight: 900;
  color: #4ade80;
}
.kong-sf-bet-adj {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.kong-sf-bet-adj button {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #4ade80;
  background: rgba(0, 0, 0, 0.45);
  color: #4ade80;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.kong-sf-center-plaque {
  background: #18181b;
  border: 2px solid #71717a;
  border-radius: 10px;
  padding: 6px 8px;
  text-align: center;
}
.kong-sf-center-plaque strong {
  font-size: 16px;
  font-weight: 900;
  color: #facc15;
}

/* Kong Vector Tile Backgrounds & Stone Letters (Matches Book of Mystery SVG Style in Kong Theme!) */
.slot-sym-art.kong-art-tile {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  padding: 2px;
}
.slot-sym-art.kong-art-tile svg {
  width: 34px;
  height: 34px;
}
.slot-cell.span-2 .slot-sym-art svg,
.slot-cell.span-3 .slot-sym-art svg {
  width: 48px;
  height: 48px;
}
.slot-sym-art.lady-tile { background: radial-gradient(circle, #fef08a 0%, #ca8a04 100%); }
.slot-sym-art.bat-tile { background: radial-gradient(circle, #fdba74 0%, #9a3412 100%); }
.slot-sym-art.plane-tile { background: radial-gradient(circle, #86efac 0%, #15803d 100%); }
.slot-sym-art.ship-tile { background: radial-gradient(circle, #93c5fd 0%, #1e3a8a 100%); }
.slot-sym-art.car-tile { background: radial-gradient(circle, #bfdbfe 0%, #1d4ed8 100%); }
.slot-sym-art.tank-tile { background: radial-gradient(circle, #d8b4fe 0%, #581c87 100%); }
.slot-sym-art.kong-wild {
  background: linear-gradient(135deg, #65a30d, #365314);
  border-color: #fde047;
}
.slot-sym-letter.kong-stone-letter {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.75);
  -webkit-text-stroke: 1.2px rgba(0, 0, 0, 0.65);
}
.kong-sym-a { color: #facc15; }
.kong-sym-k { color: #ef4444; }
.kong-sym-q { color: #c084fc; }
.kong-sym-j { color: #4ade80; }
.kong-sym-10 { color: #38bdf8; }

/* ============================================================================
   SLOT EFFECTS (IMAGES 1 TO 5):
   - Image 1: Dim Non-Winning Cells + Radiant Golden-Pink Win Glow + Crimson WIN Banner + Staff Glow
   - Image 2: Exploded Empty Dark Slots + Silver-to-Gold Cosmic Portal Transformation
   - Image 3: Cascade Tumble Drop + Gold-to-Wild Upgrade + Wave 2 Win
   - Image 4: BIG WIN / MEGA WIN Overlay + Showering Gold Coins + 3D Rolling Counter
   - Image 5: TOTAL WIN Crimson-Gold Summary Banner
   ============================================================================ */

/* Image 1: Non-winning cells dim dark so winning cells pop dramatically */
#slot-main-board.board-has-win .slot-cell:not(.win-glow),
#slot-top-reel-row.board-has-win .slot-top-cell:not(.win-glow) {
  filter: brightness(0.42) saturate(0.75);
  transition: filter 0.18s ease;
}

/* Image 1 & 3: Radiant Golden-Pink Win Glow on Winning Cells */
.slot-cell.win-glow,
.slot-top-cell.win-glow {
  background: radial-gradient(circle, #fffbeb 0%, #fde68a 48%, #f472b6 100%) !important;
  border: 2.5px solid #fef08a !important;
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.95), inset 0 0 12px rgba(244, 114, 182, 0.55) !important;
  z-index: 3;
  animation: winCellPulse 0.36s infinite alternate ease-in-out;
}
@keyframes winCellPulse {
  0% { transform: scale(0.98); }
  100% { transform: scale(1.03); }
}

/* Image 1 & 3: Guardians Staff Glow */
.guardians-win-glow img {
  filter: brightness(1.18) saturate(1.25) drop-shadow(0 0 12px rgba(250, 204, 21, 0.65));
  transition: filter 0.2s ease;
}

/* Image 2: Exploded Empty Dark Stone Slot */
.slot-cell.cell-exploded,
.slot-top-cell.cell-exploded {
  background: #23180c !important;
  border: 1px inset rgba(0, 0, 0, 0.65) !important;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.75) !important;
  animation: cellExplodeFlash 0.28s ease-out;
}
@keyframes cellExplodeFlash {
  0% { background: #fef08a !important; transform: scale(1.08); }
  40% { background: #f97316 !important; transform: scale(0.92); }
  100% { background: #23180c !important; transform: scale(1); }
}

/* Image 2: Silver-to-Gold Cosmic Portal Transformation */
.slot-cell.transforming-to-gold {
  background: radial-gradient(circle, #fbbf24 0%, #7e22ce 55%, #1e1b4b 100%) !important;
  border: 2.5px solid #facc15 !important;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.95), inset 0 0 14px rgba(250, 204, 21, 0.85) !important;
  animation: portalTransformSpin 0.45s ease-out;
}
@keyframes portalTransformSpin {
  0% { filter: brightness(2) hue-rotate(-40deg); transform: scale(0.9); }
  60% { filter: brightness(1.4) hue-rotate(20deg); transform: scale(1.05); }
  100% { filter: brightness(1); transform: scale(1); }
}

/* Image 3: Cascade Tumble Drop Animation */
.slot-cell.cascade-drop,
.slot-top-cell.cascade-drop {
  animation: cascadeTumbleDown 0.28s cubic-bezier(0.22, 1.28, 0.36, 1);
}
@keyframes cascadeTumbleDown {
  0% { transform: translateY(-48px); opacity: 0.35; }
  70% { transform: translateY(5px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Suspense Tease ("ตอนลุ้น") Electric Gold Aura on Final Reels */
.slot-reel-col.reel-suspense-tease {
  box-shadow: 0 0 18px #facc15, inset 0 0 14px #38bdf8;
  border: 2px solid #fde047;
}

/* Image 1, 3, 5: Crimson-Gold WIN & TOTAL WIN Banner */
.slot-ebm-win-banner.banner-win-hit,
.slot-ebm-win-banner.banner-total-win {
  background: linear-gradient(90deg, #5c1916 0%, #991b1b 22%, #b91c1c 50%, #991b1b 78%, #5c1916 100%) !important;
  border-top: 2px solid #facc15 !important;
  border-bottom: 2px solid #facc15 !important;
  box-shadow: 0 0 14px rgba(220, 38, 38, 0.55);
}
.kong-sf-center-plaque {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.kong-sf-center-plaque .lbl {
  font-size: 9px;
  font-weight: 800;
  color: #fde68a;
  line-height: 1.05;
  text-align: right;
}
.kong-sf-center-plaque.banner-win-hit,
.kong-sf-center-plaque.banner-total-win {
  background: linear-gradient(90deg, #5c1916, #b91c1c, #5c1916) !important;
  border-color: #facc15 !important;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.55);
}

/* Image 4: BIG WIN / MEGA WIN Full-Board Celebration Overlay */
.slot-ebm-machine,
.slot-kong-machine {
  position: relative;
}
.slot-bigwin-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: radial-gradient(circle at 50% 48%, rgba(88, 28, 135, 0.86) 0%, rgba(15, 23, 42, 0.92) 78%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: bwFadeIn 0.22s ease-out;
  cursor: pointer;
}
.slot-bigwin-overlay.closing {
  opacity: 0;
  transition: opacity 0.2s ease;
}
@keyframes bwFadeIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
.bw-rays-bg {
  position: absolute;
  width: 520px;
  height: 520px;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(250, 204, 21, 0.24) 0deg 12deg,
    transparent 12deg 24deg
  );
  border-radius: 50%;
  animation: diceSpinPulse 8s infinite linear;
}
.bw-coins-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bw-gold-coin {
  position: absolute;
  top: -36px;
  font-size: 26px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.55));
  animation: bwCoinRain 1.3s infinite ease-in;
}
@keyframes bwCoinRain {
  0% { transform: translateY(-20px) rotate(0deg) scale(0.85); opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(620px) rotate(540deg) scale(1.15); opacity: 0; }
}
.bw-center-stage {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 16px;
}
.bw-pyramid-emblem {
  font-size: 56px;
  line-height: 1;
  filter: drop-shadow(0 0 22px #facc15);
  margin-bottom: -6px;
}
.bw-title-3d {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 55%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2.5px #facc15;
  filter: drop-shadow(0 5px 0 #78350f) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.8));
  animation: winCellPulse 0.42s infinite alternate ease-in-out;
}
.bw-amount-3d {
  font-size: 48px;
  font-weight: 900;
  color: #fde047;
  background: linear-gradient(180deg, #fef9c3 0%, #facc15 45%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px #451a03;
  filter: drop-shadow(0 4px 0 #451a03) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.85));
  margin: 4px 0 8px;
}
.bw-hiero-strip {
  font-size: 15px;
  letter-spacing: 6px;
  color: #e0f2fe;
  text-shadow: 0 0 10px #38bdf8, 0 0 18px #60a5fa;
  border-top: 1.5px solid rgba(56, 189, 248, 0.6);
  border-bottom: 1.5px solid rgba(56, 189, 248, 0.6);
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(30, 58, 138, 0.45);
}

/* Game Sound Toggle Buttons across 4 E-Games & 2 Slot Games */
.game-sound-toggle-btn {
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
  user-select: none;
}
.game-sound-toggle-btn:hover {
  transform: scale(1.04);
}
.game-sound-toggle-btn.muted {
  opacity: 0.72;
}
.per-user-wr-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
}
/* Treasures of Aztec (สล็อตสาวถ้ำ PG) Machine & Progressive Multiplier Bar */
.slot-aztec-machine {
  background: linear-gradient(180deg, #1c1008 0%, #2e1909 50%, #140a04 100%) !important;
  border-color: #eab308 !important;
}
.aztec-top-sky {
  background: linear-gradient(180deg, #064e3b 0%, #1c1008 100%) !important;
  border-bottom: 2px solid #eab308 !important;
}
.aztec-ways-plaque {
  background: linear-gradient(180deg, #451a03, #1c0a00) !important;
  border: 1.5px solid #facc15 !important;
}
.aztec-board-6col {
  background: #231409 !important;
  border-color: #ca8a04 !important;
}
.slot-cell.aztec-cell {
  background: linear-gradient(180deg, #44372b 0%, #2b2118 100%);
  border: 1px solid #6b533b;
}
.slot-sym-art.aztec-art-tile {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  padding: 2px;
}
.slot-sym-art.aztec-art-tile svg {
  width: 34px;
  height: 34px;
}
.slot-sym-art.az-gold-mask { background: radial-gradient(circle, #fef08a 0%, #b45309 100%); }
.slot-sym-art.az-red-mask { background: radial-gradient(circle, #fca5a5 0%, #991b1b 100%); }
.slot-sym-art.az-purple-mask { background: radial-gradient(circle, #e9d5ff 0%, #581c87 100%); }
.slot-sym-art.az-pink-mask { background: radial-gradient(circle, #fed7aa 0%, #9a3412 100%); }
.slot-sym-art.az-green-snake { background: radial-gradient(circle, #6ee7b7 0%, #064e3b 100%); }
.slot-sym-art.az-blue-stone { background: radial-gradient(circle, #7dd3fc 0%, #0c4a6e 100%); }
.slot-sym-art.aztec-wild {
  background: radial-gradient(circle, #fef08a 0%, #dc2626 60%, #450a0a 100%);
  border: 2px solid #facc15;
}
.slot-sym-art.aztec-scatter {
  background: radial-gradient(circle, #fffbeb 0%, #f59e0b 55%, #78350f 100%);
  border: 2px solid #fef08a;
}
.slot-aztec-mult-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  background: linear-gradient(90deg, #1c0f05 0%, #3f1d0b 50%, #1c0f05 100%);
  border-top: 2px solid #ca8a04;
  border-bottom: 1px solid #78350f;
}
.az-mult-mode-tag {
  font-size: 11px;
  font-weight: 900;
  color: #fde68a;
  letter-spacing: 0.5px;
}
.az-mult-pills {
  display: flex;
  align-items: center;
  gap: 6px;
}
.az-mult-pill {
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1.5px solid #78350f;
  color: #a8a29e;
  font-size: 13px;
  font-weight: 900;
  transition: all 0.2s ease;
}
.az-mult-pill.active {
  background: radial-gradient(circle, #fef08a 0%, #eab308 65%, #b45309 100%);
  border-color: #ffffff;
  color: #451a03;
  transform: scale(1.12);
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.9);
}
.aztec-priestess-stage {
  position: relative;
}
.slot-feature-buy-hotspot.aztec-buy-hotspot {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32%;
  height: 68%;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.aztec-spin-wheel {
  background: radial-gradient(circle at 35% 30%, #fde047, #eab308 55%, #a16207 100%) !important;
  border-color: #fef08a !important;
  color: #451a03 !important;
}

.slot-kong-sound-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  background: rgba(15, 23, 42, 0.78);
  color: #fde047;
  border: 1.5px solid rgba(250, 204, 21, 0.65);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(4px);
}


/* ============================================================================
   100% AUTHENTIC 3D PG SOFT TREASURES OF AZTEC & EGYPT VISUAL OVERHAUL
   ============================================================================ */
.slot-ebm-top-sky {
  background: url("/assets/slot-egypt-top.jpg") center / cover no-repeat !important;
  min-height: 68px;
  padding: 8px 12px !important;
  border-bottom: 2px solid #b48332 !important;
}
.slot-ebm-top-sky.aztec-top-sky {
  background: url("/assets/slot-aztec-top.jpg") center / cover no-repeat !important;
  min-height: 68px;
  border-bottom: 2.5px solid #eab308 !important;
}
.slot-ebm-ways-plaque,
.slot-ebm-ways-plaque.aztec-ways-plaque {
  background: linear-gradient(180deg, rgba(243, 223, 185, 0.94), rgba(214, 178, 118, 0.96)) !important;
  border: 2px solid #9a6e27 !important;
  border-radius: 6px !important;
  padding: 3px 22px !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}
.slot-ebm-ways-plaque strong {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #be123c !important;
  text-shadow: 0 1px 0 #fde047 !important;
}
.slot-ebm-ways-plaque span {
  font-size: 14px !important;
  font-weight: 900 !important;
  color: #9f1239 !important;
}

/* 3D Carved Stone & Jade Wings on the 4-Cell Top Tracker Row */
.slot-ebm-upper-tracker {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px !important;
  align-items: stretch;
  background: linear-gradient(180deg, #caa052 0%, #8f6322 100%) !important;
  padding: 4px 6px !important;
  border-bottom: 3px solid #6b4610 !important;
}
.slot-ebm-upper-tracker.aztec-upper-tracker {
  background: linear-gradient(180deg, #b88a38 0%, #6e4c18 100%) !important;
  border-bottom: 3px solid #ca8a04 !important;
}
.slot-wing-ornament {
  height: 46px !important;
  border-radius: 5px !important;
  border: 1.5px solid #eab308 !important;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}
.slot-wing-ornament.left {
  background-image: url("/assets/slot-wing-left.jpg") !important;
}
.slot-wing-ornament.right {
  background-image: url("/assets/slot-wing-right.jpg") !important;
}
.slot-wing-ornament.aztec-wing.left {
  background-image: url("/assets/slot-aztec-wing-left.jpg") !important;
}
.slot-wing-ornament.aztec-wing.right {
  background-image: url("/assets/slot-aztec-wing-right.jpg") !important;
}

/* Full-Bleed 3D Aztec & Egypt Symbol Tiles */
.slot-top-cell,
.slot-top-cell.aztec-top-cell {
  height: 46px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #cbb082 !important;
  border: 1.5px solid #78521c !important;
}
.slot-cell.egypt-cell,
.slot-cell.aztec-cell {
  padding: 0 !important;
  background: linear-gradient(180deg, #d7be93 0%, #bfa06b 100%) !important;
  border: 1px solid #7c5822 !important;
  box-shadow: inset 0 1px 0 rgba(255, 245, 220, 0.55);
}
.slot-sprite-tile.aztec-sprite {
  width: 100% !important;
  height: 100% !important;
  background-image: url("/assets/sprites-aztec.jpg") !important;
  background-size: 1300% 100% !important;
  background-repeat: no-repeat !important;
  border-radius: 3px;
}
.slot-cell.span-2 .slot-sprite-tile.aztec-sprite,
.slot-cell.span-3 .slot-sprite-tile.aztec-sprite,
.slot-cell.span-4 .slot-sprite-tile.aztec-sprite {
  width: 100% !important;
  height: 100% !important;
}
.slot-cell.frame-silver {
  border: 3px solid #e2e8f0 !important;
  box-shadow: inset 0 0 0 2px #475569, 0 0 8px rgba(226, 232, 240, 0.65) !important;
}
.slot-cell.frame-gold {
  border: 3px solid #fde047 !important;
  box-shadow: inset 0 0 0 2px #b45309, 0 0 10px rgba(250, 204, 21, 0.85) !important;
}

/* 3D Carved Mayan Stone Multiplier Wheel Bar */
.slot-aztec-mult-bar {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) 46px !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 5px 10px !important;
  background: linear-gradient(180deg, #8c6635 0%, #5c3e1a 50%, #3d270e 100%) !important;
  border-top: 2.5px solid #eab308 !important;
  border-bottom: 2.5px solid #b48332 !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.55);
}
.az-stone-carving {
  height: 30px;
  border-radius: 6px;
  background: radial-gradient(circle, #6b4c26 0%, #3b2710 100%);
  border: 1.5px solid #ca8a04;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.65);
}
.az-mult-wheel-housing {
  background: linear-gradient(90deg, #1f140a 0%, #3b2612 50%, #1f140a 100%);
  border: 2px solid #d97706;
  border-radius: 999px;
  padding: 3px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.85);
}
.az-mult-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px !important;
}
.az-mult-pill {
  padding: 2px 12px !important;
  border-radius: 999px;
  background: rgba(28, 18, 10, 0.85);
  border: 1.5px solid #785225;
  color: #a89f91;
  font-size: 14px !important;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.az-mult-pill.active {
  background: radial-gradient(circle, #fef9c3 0%, #facc15 55%, #b45309 100%) !important;
  border: 2px solid #ffffff !important;
  color: #451a03 !important;
  transform: scale(1.14);
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.95);
}

/* Feature Buy Hotspot centered over the 3D "การซื้อฟีเจอร์" Stone Plaque */
.slot-feature-buy-hotspot.aztec-buy-hotspot {
  left: 33% !important;
  right: auto !important;
  top: 18% !important;
  transform: none !important;
  width: 34% !important;
  height: 52% !important;
}

/* Authentic 3D PG Soft Sandstone Control Deck + Rotating 3D Golden Spin Wheel */
.slot-pg-3d-controls-deck {
  position: relative;
  width: 100%;
  background: #c8a770;
  overflow: hidden;
}
.slot-pg-3d-controls-deck .pg-ctrl-bg {
  width: 100%;
  height: auto;
  display: block;
}
.pg-hotspot {
  position: absolute;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
  transition: box-shadow 0.15s ease, transform 0.12s ease;
}
.pg-hotspot:hover,
.pg-hotspot.active {
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.88), inset 0 0 8px rgba(250, 204, 21, 0.45);
}
.pg-hotspot:active {
  transform: scale(0.95);
}
.pg-hotspot.turbo {
  left: 6.5%;
  top: 22%;
  width: 11%;
  height: 36%;
}
.pg-hotspot.minus {
  left: 21.5%;
  top: 20%;
  width: 12%;
  height: 40%;
}
.pg-hotspot.spin {
  left: 39.0%;
  top: 5.5%;
  width: 22.0%;
  height: 74.8%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.pg-spin-rotor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.pg-hotspot.spin.spinning .pg-spin-rotor-img {
  animation: diceSpinPulse 0.42s infinite linear;
}
.pg-hotspot.plus {
  left: 66.5%;
  top: 20%;
  width: 12%;
  height: 40%;
}
.pg-hotspot.auto {
  left: 82.0%;
  top: 22%;
  width: 11%;
  height: 36%;
}
.pg-hotspot.menu {
  left: 93.5%;
  top: 24%;
  width: 6%;
  height: 34%;
  border-radius: 6px;
}



/* WebGL 2.0 Real-Time Shader Canvas & C++ WASM Telemetry Bar */
.slot-aztec-machine {
  position: relative !important;
}
.aztec-webgl-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
  mix-blend-mode: screen;
}
.aztec-engine-telemetry-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #0b1911 0%, #132a1c 50%, #0b1911 100%);
  border-bottom: 1.5px solid rgba(250, 204, 21, 0.45);
  padding: 3px 10px;
  position: relative;
  z-index: 5;
}
.aztec-engine-pill {
  background: rgba(6, 78, 59, 0.55);
  border: 1px solid rgba(110, 231, 183, 0.55);
  border-radius: 999px;
  padding: 2px 10px;
  color: #ecfdf5;
  font-size: 10.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.aztec-engine-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}
.aztec-engine-pill strong {
  color: #fde68a;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.aztec-engine-pill em {
  font-style: normal;
  background: rgba(0, 0, 0, 0.45);
  color: #6ee7b7;
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 10px;
}



/* ============================================================================
   ONLINE LOTTERY (#lotto): หวยรัฐบาลไทย & หวยออนไลน์ VegasKing789 VIP
   Matches VegasKing789 Signature Navy (#0e3358), Royal Blue (#176bc1) & Gold (#f59e0b)
   ============================================================================ */
.lotto-page-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 32px;
}
.lotto-hero-banner {
  background: linear-gradient(135deg, #0b2540 0%, #0e3358 52%, #176bc1 100%);
  border: 1px solid rgba(147, 197, 253, 0.32);
  border-radius: 18px;
  padding: 20px 22px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 12px 28px rgba(14, 51, 88, 0.16);
  flex-wrap: wrap;
}
.lotto-hero-left {
  flex: 1;
  min-width: 260px;
}
.lotto-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(253, 224, 71, 0.45);
  color: #fde047;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.lotto-eyebrow-pill .icon {
  width: 14px;
  height: 14px;
}
.lotto-hero-left h1 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
}
.lotto-hero-left p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #dbeafe;
}
.lotto-hero-left p strong {
  color: #fde047;
}
.lotto-hero-wallet-card {
  background: rgba(11, 34, 57, 0.72);
  border: 1.5px solid rgba(250, 204, 21, 0.55);
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 230px;
  text-align: right;
  backdrop-filter: blur(8px);
}
.lotto-hero-wallet-card .lbl {
  display: block;
  font-size: 11.5px;
  color: #bfdbfe;
}
.lotto-hero-wallet-card .val {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: #fde047;
  margin: 2px 0 8px;
}
.lotto-hero-badges {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  font-size: 11px;
  color: #e2e8f0;
}
.lotto-hero-badges span {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
}
.lotto-hero-badges b {
  color: #fde047;
}

/* 2 Lottery Mode Cards (Gov vs VegasKing789 VIP) */
.lotto-mode-Dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.lotto-mode-card {
  background: #ffffff;
  border: 2px solid #d5e4f2;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 4px 14px rgba(14, 51, 88, 0.05);
}
.lotto-mode-card:hover {
  border-color: #176bc1;
  transform: translateY(-2px);
}
.lotto-mode-card.active {
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  border-color: #176bc1;
  box-shadow: 0 8px 24px rgba(23, 107, 193, 0.16), inset 0 0 0 1px #176bc1;
}
.lmc-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  color: #ffffff;
}
.lmc-icon-wrap.gov {
  background: linear-gradient(135deg, #0e3358, #176bc1);
  box-shadow: 0 6px 14px rgba(14, 51, 88, 0.25);
}
.lmc-icon-wrap.vip {
  background: linear-gradient(135deg, #ea580c, #f59e0b);
  box-shadow: 0 6px 14px rgba(234, 88, 12, 0.28);
}
.lmc-icon-wrap .icon {
  width: 24px;
  height: 24px;
}
.lmc-flag-tag {
  font-size: 9px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.25);
  padding: 1px 6px;
  border-radius: 999px;
  white-space: nowrap;
}
.lmc-body {
  flex: 1;
  min-width: 0;
}
.lmc-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.lmc-head-row strong {
  font-size: 16px;
  font-weight: 900;
  color: #0e3358;
}
.lmc-status-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
}
.lmc-status-pill.open {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}
.lmc-status-pill.vip-live {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fdba74;
}
.lmc-body p {
  margin: 0 0 8px;
  font-size: 12.5px;
  color: #486581;
  line-height: 1.45;
}
.lmc-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f4f8fc;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  color: #334e68;
  flex-wrap: wrap;
}
.lmc-meta-bar b {
  color: #0e3358;
  font-weight: 800;
}

/* Main 2-Column Workspace */
.lotto-main-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: start;
}
.lotto-left-col,
.lotto-right-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Live Draw Result Card & 3D Lotto Balls */
.lotto-live-draw-card {
  background: linear-gradient(135deg, #0e3358 0%, #154c82 100%);
  border: 1.5px solid #2b6cb0;
  border-radius: 16px;
  padding: 16px 18px;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(14, 51, 88, 0.14);
}
.lotto-live-draw-card.vip-theme {
  background: linear-gradient(135deg, #0b2540 0%, #174b82 65%, #1e3a8a 100%);
  border-color: #f59e0b;
}
.lld-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.lld-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #fde047;
  margin-bottom: 2px;
}
.lld-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
}
.lotto-draw-now-btn {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  border: 1.5px solid #fde047;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  transition: transform 0.15s ease;
}
.lotto-draw-now-btn:hover {
  transform: translateY(-1px);
}
.lotto-draw-now-btn.drawing {
  opacity: 0.85;
  animation: winCellPulse 0.4s infinite alternate;
}

.lld-balls-grid {
  display: grid;
  gap: 10px;
}
.lld-balls-grid.gov-grid {
  grid-template-columns: 1.4fr 1fr 1.2fr 0.8fr;
}
.lld-balls-grid.vip-grid {
  grid-template-columns: 1.3fr 1fr 1fr;
}
.lld-prize-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.lld-prize-box.main-prize {
  background: rgba(250, 204, 21, 0.14);
  border-color: rgba(250, 204, 21, 0.55);
}
.lld-prize-box .p-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #dbeafe;
}
.lotto-balls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}
.ball-sep {
  color: #93c5fd;
  font-style: normal;
  font-weight: 900;
}
.lotto-3d-ball {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.65);
}
.lotto-3d-ball.gold {
  background: radial-gradient(circle at 35% 30%, #fef08a 0%, #f59e0b 65%, #b45309 100%);
  color: #0e3358;
  border: 1.5px solid #ffffff;
}
.lotto-3d-ball.navy {
  background: radial-gradient(circle at 35% 30%, #60a5fa 0%, #176bc1 60%, #0e3358 100%);
  color: #ffffff;
  border: 1.5px solid #93c5fd;
}
.lotto-3d-ball.sky {
  background: radial-gradient(circle at 35% 30%, #e0f2fe 0%, #38bdf8 65%, #0284c7 100%);
  color: #0e3358;
  border: 1.5px solid #ffffff;
}
.lotto-3d-ball.orange {
  background: radial-gradient(circle at 35% 30%, #fed7aa 0%, #f97316 65%, #c2410c 100%);
  color: #ffffff;
  border: 1.5px solid #ffedd5;
}
.lotto-3d-ball.rolling {
  animation: diceSpinPulse 0.25s infinite linear;
}

/* Step Cards */
.lotto-card-box {
  background: #ffffff;
  border: 1px solid #d5e4f2;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 4px 14px rgba(14, 51, 88, 0.04);
}
.lotto-card-box.compact {
  padding: 14px 16px;
}
.lotto-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e3358, #176bc1);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lotto-step-header strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #0e3358;
}
.lotto-step-header small {
  font-size: 12px;
  color: #64748b;
}

/* Bet Type Selector Grid */
.lotto-bet-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 8px;
}
.lotto-bt-pill {
  position: relative;
  background: #f8fbff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.15s ease;
  overflow: hidden;
}
.lotto-bt-pill:hover {
  border-color: #176bc1;
}
.lotto-bt-pill.selected {
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #176bc1;
  box-shadow: 0 4px 12px rgba(23, 107, 193, 0.15);
}
.lotto-bt-pill .bt-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #0e3358;
}
.lotto-bt-pill .bt-rate {
  font-size: 15px;
  font-weight: 900;
  color: #ea580c;
}
.lotto-bt-pill .bt-unit {
  font-size: 10.5px;
  color: #486581;
}
.lotto-bt-pill .bt-check {
  position: absolute;
  top: 0;
  right: 0;
  background: #176bc1;
  color: #ffffff;
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 0 0 0 8px;
}

/* Keypad & Quick Pick Layout */
.lotto-keypad-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.lotto-numpad-panel {
  background: #f4f8fc;
  border: 1px solid #d5e4f2;
  border-radius: 14px;
  padding: 12px;
}
.lotto-digit-display-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.lotto-digit-slots-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.lotto-digit-slot {
  width: 52px;
  height: 56px;
  border-radius: 12px;
  background: #ffffff;
  border: 2px solid #93c5fd;
  color: #94a3b8;
  font-size: 26px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 4px rgba(14, 51, 88, 0.06);
}
.lotto-digit-slot.filled {
  background: #0e3358;
  border-color: #176bc1;
  color: #fde047;
}
.lotto-digit-slot.active-cursor {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}
.lotto-digit-helper-btns {
  display: flex;
  gap: 6px;
}
.lotto-util-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0e3358;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}
.lotto-util-btn:hover {
  border-color: #176bc1;
  color: #176bc1;
}
.lotto-numpad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.lotto-key-btn {
  height: 44px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0e3358;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(14, 51, 88, 0.05);
  transition: all 0.1s ease;
}
.lotto-key-btn:hover {
  background: #eff6ff;
  border-color: #176bc1;
}
.lotto-key-btn:active {
  transform: translateY(1px);
}
.lotto-key-btn.clear,
.lotto-key-btn.back {
  font-size: 13px;
  background: #e2e8f0;
  color: #334e68;
}

.lotto-stake-and-quick {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lotto-stake-box label,
.lotto-quick-picks-box label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #0e3358;
  margin-bottom: 6px;
}
.lotto-stake-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lotto-stake-pill {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0e3358;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}
.lotto-stake-pill.active {
  background: #0e3358;
  border-color: #0e3358;
  color: #fde047;
}
.lotto-stake-pill.custom {
  border-style: dashed;
  border-color: #176bc1;
  color: #176bc1;
}
.lotto-quick-numbers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.lotto-quick-num-chip {
  padding: 8px 4px;
  border-radius: 8px;
  border: 1px solid #bfd8f2;
  background: #f0f7ff;
  color: #0e3358;
  font-size: 13.5px;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
  transition: all 0.14s ease;
}
.lotto-quick-num-chip:hover {
  background: #176bc1;
  border-color: #176bc1;
  color: #ffffff;
}
.lotto-add-item-cta {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #0e3358, #176bc1);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(23, 107, 193, 0.22);
}

/* Right Column: Active Bet Slip Card */
.lotto-slip-card {
  background: #ffffff;
  border: 2px solid #176bc1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(14, 51, 88, 0.08);
}
.lotto-slip-head {
  background: linear-gradient(135deg, #0e3358, #176bc1);
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.lotto-slip-head strong {
  display: block;
  font-size: 14.5px;
  font-weight: 900;
}
.lotto-slip-head small {
  font-size: 11px;
  color: #bfdbfe;
}
.lotto-slip-head-actions {
  display: flex;
  gap: 6px;
}
.lotto-mini-link {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.lotto-mini-link.danger {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(252, 165, 165, 0.5);
}
.lotto-slip-empty {
  padding: 28px 18px;
  text-align: center;
  color: #64748b;
}
.lotto-slip-empty .empty-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eff6ff;
  color: #176bc1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.lotto-slip-empty .empty-ico .icon {
  width: 22px;
  height: 22px;
}
.lotto-slip-empty strong {
  display: block;
  color: #0e3358;
  font-size: 14px;
  margin-bottom: 4px;
}
.lotto-slip-empty p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}
.lotto-slip-items-list {
  max-height: 280px;
  overflow-y: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.lotto-slip-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f8fbff;
  border: 1px solid #dbe7f4;
  border-radius: 10px;
  padding: 8px 10px;
}
.lsi-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lsi-num-badge {
  min-width: 44px;
  height: 34px;
  border-radius: 8px;
  background: #0e3358;
  color: #fde047;
  font-size: 15px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}
.lsi-left strong {
  display: block;
  font-size: 13px;
  color: #0e3358;
}
.lsi-left small {
  font-size: 11px;
  color: #64748b;
}
.lsi-left .win-txt {
  color: #0d9488;
}
.lsi-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lsi-stake {
  font-size: 13.5px;
  font-weight: 900;
  color: #0e3358;
}
.lsi-del-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  background: #fee2e2;
  color: #dc2626;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.lotto-slip-summary-box {
  background: #f0f7ff;
  border-top: 1px solid #cfe2f5;
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lss-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #334e68;
}
.lss-row .total-stake {
  font-size: 15px;
  font-weight: 900;
  color: #0e3358;
}
.lss-row.highlight .max-win {
  font-size: 16px;
  font-weight: 900;
  color: #ea580c;
}
.lotto-submit-slip-btn {
  margin-top: 6px;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.28);
}

/* Submitted Tickets & History Table */
.lotto-sub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.lotto-sub-head strong {
  font-size: 14px;
  color: #0e3358;
}
.cnt-pill {
  background: #e9f1fa;
  color: #176bc1;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}
.lotto-muted-empty {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}
.lotto-tickets-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lotto-tk-card {
  background: #f8fbff;
  border: 1px solid #d5e4f2;
  border-radius: 10px;
  padding: 8px 10px;
}
.lotto-tk-card.won {
  background: #f0fdf4;
  border-color: #86efac;
}
.ltk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 12px;
  color: #0e3358;
}
.ltk-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fef9c3;
  color: #a16207;
}
.ltk-badge.won {
  background: #dcfce7;
  color: #15803d;
}
.ltk-badge.lost {
  background: #f1f5f9;
  color: #64748b;
}
.ltk-nums {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ltk-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 11.5px;
  font-weight: 800;
  color: #0e3358;
}
.ltk-chip.hit {
  background: #fef08a;
  border-color: #eab308;
  color: #78350f;
}
.lotto-history-table-wrap {
  overflow-x: auto;
}
.lotto-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.lotto-history-table th {
  text-align: left;
  padding: 7px 6px;
  background: #f0f7ff;
  color: #0e3358;
  font-weight: 800;
  border-bottom: 1px solid #d5e4f2;
}
.lotto-history-table td {
  padding: 7px 6px;
  border-bottom: 1px solid #edf2f7;
  color: #334e68;
}
.lh-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 12px;
}
.lh-pill.gold {
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde047;
}
.lh-pill.sky {
  background: #e0f2fe;
  color: #0369a1;
}
.lh-pill.orange {
  background: #ffedd5;
  color: #c2410c;
}

@media (max-width: 960px) {
  .lotto-mode-Dual-grid,
  .lotto-main-workspace,
  .lotto-keypad-layout,
  .lld-balls-grid.gov-grid,
  .lld-balls-grid.vip-grid {
    grid-template-columns: 1fr;
  }
}



/* Global Synchronized Round Bar & Verified History Badges */
.lotto-global-sync-bar {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.15fr;
  gap: 14px;
  background: #ffffff;
  border: 2px solid #176bc1;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 6px 20px rgba(23, 107, 193, 0.1);
  align-items: center;
}
.lgs-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lgs-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0e3358, #176bc1);
  color: #fde047;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lgs-icon .icon {
  width: 24px;
  height: 24px;
}
.lgs-lbl {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #486581;
}
.lgs-item.active-period strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #0e3358;
  margin: 2px 0;
}
.lgs-item.active-period small {
  font-size: 12px;
  color: #64748b;
}
.lgs-item.active-period small b {
  color: #ea580c;
}
.lgs-item.countdown-box {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f0f7ff;
  border: 1px solid #bfd8f2;
  border-radius: 12px;
  padding: 8px 12px;
  gap: 2px;
}
.lgs-timer {
  font-size: 24px;
  font-weight: 900;
  color: #ea580c;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.sync-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: #0d9488;
}
.lgs-item.action-box {
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  text-align: right;
}
.lgs-item.action-box small {
  font-size: 11px;
  color: #64748b;
}
.top6-code {
  background: #0e3358;
  color: #fde047;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 12.5px;
  letter-spacing: 0.06em;
}
.time-badge {
  background: #f1f5f9;
  color: #334e68;
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 11.5px;
}
.verified-tag {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}
.ltk-draw-ref {
  font-size: 11px;
  color: #334e68;
  background: #eef6ff;
  border-radius: 6px;
  padding: 4px 8px;
  margin-bottom: 6px;
}
@media (max-width: 960px) {
  .lotto-global-sync-bar {
    grid-template-columns: 1fr;
  }
  .lgs-item.action-box {
    align-items: stretch;
    text-align: center;
  }
}



/* ============================================================================
   ECO-FRIENDLY, CLEAN & MOBILE-FIRST LOTTERY UX/UI (Fixes Mobile Viewport & Clutter)
   ============================================================================ */
.lotto-eco-shell {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 28px;
}
.lotto-eco-shell * {
  box-sizing: border-box;
}
.lotto-eco-dashboard {
  background: linear-gradient(145deg, #0b2540 0%, #0e3358 55%, #134e6f 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  padding: 14px 16px;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(14, 51, 88, 0.14);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.led-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.led-title-block {
  flex: 1;
  min-width: 220px;
}
.led-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.led-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.55);
  color: #a7f3d0;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  display: inline-block;
}
.led-sync-tag {
  font-size: 11px;
  font-weight: 700;
  color: #fde047;
}
.led-title-block h1 {
  margin: 0 0 2px;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
}
.led-sub {
  margin: 0;
  font-size: 12px;
  color: #cbd5e1;
}
.led-sub strong {
  color: #fde047;
}
.led-right-stats {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.led-stat-box {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 12px;
  padding: 8px 12px;
  min-width: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.led-stat-box.timer {
  border-color: rgba(52, 211, 153, 0.55);
  background: rgba(6, 78, 59, 0.45);
}
.led-stat-box .lbl {
  font-size: 10.5px;
  color: #cbd5e1;
  font-weight: 700;
}
.led-stat-box .val {
  font-size: 18px;
  font-weight: 900;
  color: #fde047;
  line-height: 1.2;
}
.led-stat-box.timer .val {
  color: #6ee7b7;
  font-size: 20px;
  letter-spacing: 0.04em;
}

/* Compact Single-Strip Latest Draw Result inside Dashboard */
.led-latest-result-strip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.llr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.llr-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.llr-title .trophy-ico {
  font-size: 18px;
}
.llr-title strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
}
.llr-title small {
  display: block;
  font-size: 11px;
  color: #93c5fd;
}
.llr-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.led-refresh-btn {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.led-admin-draw-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  border: 1px solid #a7f3d0;
  color: #ffffff;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.llr-prizes-4col {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.85fr 0.85fr;
  gap: 8px;
}
.llr-p-card {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 6px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.llr-p-card.main {
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.45);
}
.llr-p-card .p-lbl {
  font-size: 10.5px;
  color: #dbeafe;
  font-weight: 700;
}
.llr-p-card .p-balls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.lotto-eco-ball {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.lotto-eco-ball.gold {
  background: radial-gradient(circle at 35% 30%, #fef08a 0%, #f59e0b 70%, #b45309 100%);
  color: #0e3358;
}
.lotto-eco-ball.navy {
  background: radial-gradient(circle at 35% 30%, #93c5fd 0%, #2563eb 65%, #1e3a8a 100%);
  color: #ffffff;
}
.lotto-eco-ball.sky {
  background: radial-gradient(circle at 35% 30%, #e0f2fe 0%, #38bdf8 70%, #0284c7 100%);
  color: #0e3358;
}
.lotto-eco-ball.orange {
  background: radial-gradient(circle at 35% 30%, #fed7aa 0%, #f97316 70%, #c2410c 100%);
  color: #ffffff;
}
.lotto-eco-ball.rolling {
  animation: diceSpinPulse 0.25s infinite linear;
}

/* Mobile 3-Tab Switcher (Hidden on Desktop > 960px) */
.lotto-mobile-tabs {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: #e2e8f0;
  padding: 4px;
  border-radius: 12px;
}
.lmt-btn {
  border: 0;
  background: transparent;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 6px;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.lmt-btn.active {
  background: #ffffff;
  color: #0e3358;
  box-shadow: 0 2px 8px rgba(14, 51, 88, 0.12);
}
.badge-cnt {
  background: #ea580c;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 999px;
}
.badge-cnt.green {
  background: #0d9488;
}

/* Workspace & Cards */
.lotto-eco-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 14px;
  align-items: start;
}
.lotto-eco-left,
.lotto-eco-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.lotto-eco-card {
  background: #ffffff;
  border: 1px solid #d5e4f2;
  border-radius: 16px;
  padding: 15px 16px;
  box-shadow: 0 4px 14px rgba(14, 51, 88, 0.04);
}
.lec-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.num-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0d9488;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lec-section-title strong {
  display: block;
  font-size: 14.5px;
  color: #0e3358;
}
.lec-section-title small {
  font-size: 11.5px;
  color: #64748b;
}

.lotto-eco-bt-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}
.lotto-eco-bt-btn {
  position: relative;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.14s ease;
}
.lotto-eco-bt-btn.selected {
  background: #f0fdf4;
  border-color: #0d9488;
  box-shadow: 0 3px 10px rgba(13, 148, 136, 0.14);
}
.lotto-eco-bt-btn .bt-lbl {
  font-size: 13px;
  font-weight: 800;
  color: #0e3358;
}
.lotto-eco-bt-btn .bt-pay {
  font-size: 12px;
  font-weight: 900;
  color: #0d9488;
}
.lotto-eco-bt-btn .bt-tick {
  position: absolute;
  top: 0;
  right: 0;
  background: #0d9488;
  color: #ffffff;
  font-style: normal;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 0 8px 0 6px;
}

.lotto-eco-stake-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.stake-lbl {
  font-size: 12.5px;
  font-weight: 800;
  color: #0e3358;
}
.stake-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.lotto-eco-stake-pill {
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0e3358;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.lotto-eco-stake-pill.active {
  background: #0d9488;
  border-color: #0d9488;
  color: #ffffff;
}
.lotto-eco-stake-pill.custom {
  border-style: dashed;
  color: #176bc1;
  border-color: #176bc1;
}

.lotto-eco-keypad-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.lek-pad-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
}
.lek-display-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.lek-quick-tools {
  display: flex;
  gap: 5px;
}
.lek-quick-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lek-sub-lbl {
  font-size: 12.5px;
  font-weight: 800;
  color: #0e3358;
}
.lotto-inline-mobile-cart {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.limc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: #065f46;
}
.limc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.limc-chip {
  background: #ffffff;
  border: 1px solid #6ee7b7;
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 12px;
  color: #0e3358;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.limc-chip i {
  font-style: normal;
  color: #dc2626;
  font-weight: 900;
  cursor: pointer;
  margin-left: 2px;
}
.lotto-inline-hint {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .lotto-mobile-tabs {
    display: grid;
  }
  .mobile-hidden-panel {
    display: none !important;
  }
  .lotto-eco-workspace,
  .lotto-eco-keypad-grid {
    grid-template-columns: 1fr;
  }
  .lotto-eco-bt-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lotto-eco-dashboard {
    padding: 10px 12px;
    gap: 8px;
  }
  .led-title-block h1 {
    font-size: 16.5px;
  }
  .led-sub {
    font-size: 11px;
  }
  .led-stat-box {
    padding: 5px 10px;
    min-width: 0;
  }
  .led-stat-box .val,
  .led-stat-box.timer .val {
    font-size: 16px;
  }
  .llr-prizes-4col {
    grid-template-columns: 1.55fr 0.95fr 0.72fr 0.72fr;
    gap: 4px;
  }
  .llr-p-card {
    padding: 5px 3px;
  }
  .llr-p-card .p-lbl {
    font-size: 9.5px;
  }
  .llr-p-card .p-balls {
    gap: 2px;
  }
  .lotto-eco-ball {
    width: 20px;
    height: 20px;
    font-size: 10.5px;
  }
  .led-right-stats {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .lotto-quick-numbers-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}



/* ============================================================================
   HOME PAGE CATEGORY QUICK-ACCESS ICON BAR (Images 4 & 5 in VegasKing789 Theme)
   ============================================================================ */
.cv-home-cat-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 18px;
}
.cv-hcs-tile {
  position: relative;
  background: linear-gradient(180deg, #133b68 0%, #0b223b 100%);
  border: 1.5px solid rgba(147, 197, 253, 0.32);
  border-radius: 14px;
  padding: 12px 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(11, 34, 59, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  overflow: hidden;
}
.cv-hcs-tile:hover,
.cv-hcs-tile:active {
  transform: translateY(-2px);
  border-color: #fbbf24;
  box-shadow: 0 8px 20px rgba(23, 107, 193, 0.28);
}
.cv-hcs-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: radial-gradient(circle at 35% 30%, rgba(253, 224, 71, 0.22) 0%, rgba(23, 107, 193, 0.25) 100%);
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #fde047;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cv-hcs-ico .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.9;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}
.cv-hcs-lbl {
  font-size: 12px;
  font-weight: 800;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  letter-spacing: 0.01em;
}
.cv-hcs-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 8.5px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 999px;
  line-height: 1.2;
}
.cv-hcs-badge.hot {
  background: linear-gradient(135deg, #f97316, #dc2626);
  color: #ffffff;
}
.cv-hcs-badge.vip {
  background: linear-gradient(135deg, #facc15, #ca8a04);
  color: #0e3358;
}

@media (max-width: 768px) {
  .cv-home-cat-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin: 10px 0 14px;
  }
  .cv-hcs-tile {
    padding: 10px 4px 8px;
    border-radius: 12px;
    gap: 5px;
  }
  .cv-hcs-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .cv-hcs-ico .icon {
    width: 21px;
    height: 21px;
  }
  .cv-hcs-lbl {
    font-size: 11px;
  }
}

/* Lotto Theme SVG Icon Alignment & Mobile Top Spacing */
.lotto-eco-shell {
  padding-top: 6px;
}
.led-sync-tag,
.led-stat-box .lbl,
.led-refresh-btn,
.led-admin-draw-btn,
.lmt-btn,
.lotto-util-btn,
.lek-sub-lbl,
.lotto-inline-hint,
.limc-top strong,
.lotto-sub-head strong,
.lotto-slip-head strong,
.lotto-submit-slip-btn,
.lotto-mini-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.lotto-submit-slip-btn {
  justify-content: center;
}
.led-sync-tag .icon,
.led-stat-box .lbl .icon,
.led-refresh-btn .icon,
.led-admin-draw-btn .icon,
.lotto-util-btn .icon,
.lek-sub-lbl .icon,
.limc-top strong .icon,
.lotto-sub-head strong .icon,
.lotto-slip-head strong .icon,
.lotto-submit-slip-btn .icon,
.lotto-mini-link .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.lmt-btn .icon {
  width: 15px;
  height: 15px;
  color: #176bc1;
  flex-shrink: 0;
}
.lmt-btn.active .icon {
  color: #0d9488;
}
.llr-title .trophy-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(250, 204, 21, 0.18);
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #fde047;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.llr-title .trophy-ico .icon {
  width: 18px;
  height: 18px;
}
.lek-sub-lbl .icon {
  color: #ea580c;
}
.lotto-inline-hint .icon {
  width: 15px;
  height: 15px;
  color: #0d9488;
  vertical-align: text-bottom;
  margin-right: 4px;
}



/* === LIVE CASINO CSS START === */
.cv-home-cat-strip {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 12px 0 18px !important;
}
.cv-hcs-badge.live {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.45);
}
@media (max-width: 768px) {
  .cv-home-cat-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 10px 0 14px !important;
  }
}

/* Eco-Friendly Container (Fits mobile & desktop cleanly) */
.lc-page-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 12px 12px 84px;
}
@media (max-width: 768px) {
  .lc-page-wrap {
    padding: 6px 6px 76px !important;
  }
}

/* Eco-Friendly Compact Lobby Top Bar */
.lc-eco-lobby-top {
  background: linear-gradient(135deg, #091e36 0%, #0e3358 60%, #154577 100%);
  border: 1.5px solid rgba(250, 204, 21, 0.38);
  border-radius: 14px;
  padding: 10px 14px;
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  box-shadow: 0 6px 18px rgba(9, 30, 54, 0.16);
}
.lc-elt-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.lc-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.28);
  animation: lcPulse 1.4s infinite ease-in-out;
  flex-shrink: 0;
}
@keyframes lcPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}
.lc-elt-titles {
  min-width: 0;
}
.lc-elt-titles h1 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lc-elt-titles small {
  display: block;
  font-size: 11.5px;
  color: #93c5fd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lc-elt-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.lc-eco-tab {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #e2e8f0;
  border-radius: 9px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.lc-eco-tab svg {
  width: 14px;
  height: 14px;
}
.lc-eco-tab.active {
  background: linear-gradient(135deg, #facc15, #ca8a04);
  border-color: #fef08a;
  color: #091e36;
  box-shadow: 0 3px 10px rgba(250, 204, 21, 0.35);
}
.lc-eco-icon-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fde047;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lc-eco-icon-btn svg {
  width: 15px;
  height: 15px;
}
@media (max-width: 640px) {
  .lc-eco-lobby-top {
    padding: 8px 10px;
    gap: 8px;
    margin-bottom: 8px;
  }
  .lc-elt-titles h1 {
    font-size: 14.5px;
  }
  .lc-elt-titles small {
    font-size: 10.5px;
  }
  .lc-eco-tab {
    padding: 5px 9px;
    font-size: 11.5px;
  }
}

/* 4-Room Lobby Grid */
.lc-lobby-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 960px) {
  .lc-lobby-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

/* Individual Room Card in Lobby (Compact Eco-Friendly Layout) */
.lc-room-card {
  background: #ffffff;
  border: 1.5px solid #cfe0f2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(14, 51, 88, 0.08);
  display: flex;
  flex-direction: column;
}
.lc-rc-head {
  padding: 8px 12px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.lc-room-card.theme-royal .lc-rc-head {
  background: linear-gradient(135deg, #0b223b 0%, #17569b 100%);
}
.lc-room-card.theme-crimson .lc-rc-head {
  background: linear-gradient(135deg, #450a0a 0%, #991b1b 100%);
}
.lc-room-card.theme-emerald .lc-rc-head {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
}
.lc-room-card.theme-gold .lc-rc-head {
  background: linear-gradient(135deg, #422006 0%, #a16207 100%);
}
.lc-rc-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.lc-rc-code {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(250, 204, 21, 0.65);
  color: #fde047;
  font-size: 12px;
  font-weight: 900;
  padding: 3px 7px;
  border-radius: 7px;
  flex-shrink: 0;
}
.lc-rc-title-text {
  min-width: 0;
}
.lc-rc-title-text h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lc-rc-title-text small {
  display: block;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lc-rc-timer-pill {
  background: rgba(15, 23, 42, 0.78);
  border: 1.5px solid rgba(250, 204, 21, 0.75);
  border-radius: 9px;
  padding: 3px 9px;
  text-align: right;
  flex-shrink: 0;
  min-width: 82px;
}
.lc-rc-timer-pill small {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  font-size: 9.5px;
  color: #fde047;
  font-weight: 700;
}
.lc-rc-timer-pill small svg {
  width: 11px;
  height: 11px;
}
.lc-rc-timer-pill strong {
  font-size: 14.5px;
  font-weight: 900;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.lc-rc-timer-pill.closing {
  border-color: #f87171;
  background: rgba(127, 29, 29, 0.88);
}
.lc-rc-timer-pill.closing strong {
  color: #fca5a5;
}

.lc-rc-latest-bar {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
}
.lc-rc-last-left {
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lc-rc-last-scores {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.lc-score-pill {
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 900;
}
.lc-score-pill.p {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #93c5fd;
}
.lc-score-pill.b {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}
.lc-out-badge {
  padding: 1.5px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  color: #ffffff;
}
.lc-out-badge.player { background: #2563eb; }
.lc-out-badge.banker { background: #dc2626; }
.lc-out-badge.tie { background: #16a34a; }

.lc-rc-roadmap-wrap {
  padding: 5px 8px;
  background: #f8fafc;
}
.lc-rc-roadmap-wrap .bac-roadmap-board {
  border-radius: 7px;
  border: 1.5px solid #cbd5e1;
}

.lc-rc-foot {
  padding: 7px 12px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.lc-rc-limits {
  font-size: 11.5px;
  color: #475569;
  font-weight: 700;
}
.lc-rc-limits strong {
  color: #0e3358;
}
.lc-enter-btn {
  background: linear-gradient(135deg, #0e3358 0%, #176bc1 100%);
  color: #ffffff;
  border: none;
  border-radius: 9px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(23, 107, 193, 0.25);
}
.lc-enter-btn svg {
  width: 13px;
  height: 13px;
}

/* ============================================================================
   ECO-FRIENDLY IN-ROOM BACCARAT TABLE (Single-Screen Fit on Mobile!)
   ============================================================================ */
.lc-room-switcher-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 6px;
}
.lc-rsw-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  padding: 5px 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  color: #0e3358;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  transition: all 0.14s ease;
}
.lc-rsw-name {
  overflow: hidden;
  text-overflow: ellipsis;
}
.lc-rsw-btn.active {
  background: linear-gradient(135deg, #0e3358, #176bc1);
  border-color: #fde047;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(14, 51, 88, 0.22);
}
.lc-rsw-timer {
  font-size: 10.5px;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(15, 23, 42, 0.1);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.lc-rsw-btn.active .lc-rsw-timer {
  background: rgba(250, 204, 21, 0.25);
  color: #fde047;
}
@media (max-width: 640px) {
  .lc-room-switcher-bar {
    gap: 4px;
    margin-bottom: 5px;
  }
  .lc-rsw-btn {
    padding: 4px 5px;
    font-size: 10.5px;
  }
}

/* Unified Single-Line Room Topbar + Timer Strip */
.lc-eco-room-topbar {
  background: linear-gradient(90deg, #07192e 0%, #10325a 50%, #07192e 100%);
  border-bottom: 1.5px solid rgba(250, 204, 21, 0.45);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: #ffffff;
  flex-wrap: nowrap;
}
.lc-ert-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.lc-back-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(147, 197, 253, 0.4);
  color: #ffffff;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.lc-ert-room-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.lc-ert-room-meta strong {
  font-size: 12px;
  color: #fde047;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.15;
}
.lc-ert-room-meta small {
  font-size: 10px;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lc-ert-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.lc-replay-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e2e8f0;
  border-radius: 7px;
  padding: 4px 7px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.lc-tts-phase-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid #4ade80;
  color: #86efac;
  white-space: nowrap;
}
.lc-tts-phase-pill.closing {
  background: rgba(239, 68, 68, 0.22);
  border-color: #f87171;
  color: #fca5a5;
}
.lc-tts-phase-pill.revealing {
  background: rgba(250, 204, 21, 0.22);
  border-color: #fde047;
  color: #fef08a;
}
.lc-digital-clock {
  background: #040d1a;
  border: 1.5px solid #38bdf8;
  color: #38bdf8;
  font-size: 14.5px;
  font-weight: 900;
  padding: 2px 9px;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  box-shadow: inset 0 0 8px rgba(56, 189, 248, 0.25);
  white-space: nowrap;
}
.lc-digital-clock.closing {
  border-color: #f87171;
  color: #f87171;
  animation: lcClockBlink 0.6s infinite alternate;
}
.lc-digital-clock.revealing {
  border-color: #fde047;
  color: #fde047;
}
@keyframes lcClockBlink {
  0% { opacity: 1; }
  100% { opacity: 0.55; }
}
@media (max-width: 480px) {
  .lc-tts-phase-pill {
    display: none;
  }
}

/* ============================================================================
   DISTINCT VIBRANT CASINO CHIP COLORS & 3D TABLE CHIP STACKS
   ============================================================================ */
.casino-chip.green { background: radial-gradient(circle at 35% 30%, #4ade80, #16a34a 60%, #14532d 100%) !important; border-color: #dcfce7 !important; }
.casino-chip.teal { background: radial-gradient(circle at 35% 30%, #2dd4bf, #0d9488 60%, #115e59 100%) !important; border-color: #ccfbf1 !important; }
.casino-chip.sky { background: radial-gradient(circle at 35% 30%, #38bdf8, #0284c7 60%, #0c4a6e 100%) !important; border-color: #e0f2fe !important; }
.casino-chip.emerald { background: radial-gradient(circle at 35% 30%, #34d399, #059669 60%, #064e3b 100%) !important; border-color: #d1fae5 !important; }
.casino-chip.navy { background: radial-gradient(circle at 35% 30%, #60a5fa, #1d4ed8 60%, #172554 100%) !important; border-color: #dbeafe !important; }
.casino-chip.blue { background: radial-gradient(circle at 35% 30%, #3b82f6, #1d4ed8 60%, #1e3a8a 100%) !important; border-color: #eff6ff !important; }
.casino-chip.red { background: radial-gradient(circle at 35% 30%, #f87171, #dc2626 60%, #7f1d1d 100%) !important; border-color: #fee2e2 !important; }
.casino-chip.purple { background: radial-gradient(circle at 35% 30%, #c084fc, #7e22ce 60%, #3b0764 100%) !important; border-color: #f3e8ff !important; }
.casino-chip.gold { background: radial-gradient(circle at 35% 30%, #fde047, #d97706 60%, #78350f 100%) !important; border-color: #fef9c3 !important; }
.casino-chip.magenta { background: radial-gradient(circle at 35% 30%, #f472b6, #be185d 60%, #500724 100%) !important; border-color: #fce7f3 !important; }
.casino-chip.crimson { background: radial-gradient(circle at 35% 30%, #fb7185, #9f1239 60%, #1e1b4b 100%) !important; border-color: #fde047 !important; }
.casino-chip.violet { background: radial-gradient(circle at 35% 30%, #a78bfa, #5b21b6 60%, #1e1b4b 100%) !important; border-color: #ede9fe !important; }
.casino-chip.bronze { background: radial-gradient(circle at 35% 30%, #fb923c, #c2410c 60%, #431407 100%) !important; border-color: #ffedd5 !important; }
.casino-chip.amber { background: radial-gradient(circle at 35% 30%, #facc15, #a16207 60%, #422006 100%) !important; border-color: #fef08a !important; }

/* 3D Stacked Casino Chips Rendered Inside Betting Spots on the Table */
.bac-spot {
  position: relative !important;
  overflow: visible !important;
  min-height: 54px;
}
.bac-spot.main-p,
.bac-spot.main-b {
  min-height: 64px;
}
.lc-spot-chip-zone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 3px;
  position: relative;
  z-index: 4;
}
.lc-table-chip-pile {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-block;
  flex-shrink: 0;
}
.lc-mini-table-chip {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.92);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.55), inset 0 0 4px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  pointer-events: none;
  animation: lcChipLandBounce 0.26s cubic-bezier(0.22, 1.35, 0.36, 1);
}
.lc-mini-table-chip::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
}
@keyframes lcChipLandBounce {
  0% { transform: translateY(-10px) scale(1.22); opacity: 0.7; }
  70% { transform: translateY(2px) scale(0.96); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.lc-spot-sum-tag {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  text-align: left;
}
.lc-sst-draft {
  background: rgba(250, 204, 21, 0.95);
  color: #0f172a;
  font-size: 10px;
  font-weight: 900;
  padding: 1.5px 6px;
  border-radius: 999px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.lc-sst-conf {
  background: linear-gradient(135deg, #16a34a, #15803d);
  border: 1px solid #bbf7d0;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 1.5px 6px;
  border-radius: 999px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

/* Flying Chip Element Animated from Tray to Table Spot */
.lc-flying-chip {
  position: fixed;
  z-index: 9999;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px dashed #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 900;
  text-shadow: 0 1px 2px #000;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(0.2, 0.88, 0.32, 1.06), opacity 0.34s ease;
}

/* Custom Chip Value Input Row inside Chip Settings Modal */
.lc-cm-custom-editor {
  margin: 12px 0 14px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(250, 204, 21, 0.45);
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.lc-cm-custom-editor label {
  font-size: 12px;
  color: #fde68a;
  font-weight: 700;
}
.lc-cm-custom-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lc-cm-custom-input {
  width: 110px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1.5px solid #fde047;
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.bac-card-slot.lc-flip-in {
  animation: lcCardFlipOpen 0.38s cubic-bezier(0.22, 1.28, 0.36, 1);
}
@keyframes lcCardFlipOpen {
  0% { transform: rotateY(90deg) scale(0.88); opacity: 0.4; }
  70% { transform: rotateY(-8deg) scale(1.04); opacity: 1; }
  100% { transform: rotateY(0deg) scale(1); opacity: 1; }
}

.lc-room-history-card {
  margin-top: 10px;
  background: #ffffff;
  border: 1.5px solid #cfe0f2;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 6px 18px rgba(14, 51, 88, 0.06);
}
.lc-rh-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}
.lc-rh-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  color: #0e3358;
}
.lc-rh-table-wrap {
  overflow-x: auto;
}
.lc-rh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.lc-rh-table th {
  background: #f1f5f9;
  color: #334155;
  font-weight: 800;
  text-align: left;
  padding: 7px 9px;
  border-bottom: 1.5px solid #cbd5e1;
  white-space: nowrap;
}
.lc-rh-table td {
  padding: 7px 9px;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
  vertical-align: middle;
  white-space: nowrap;
}
.lc-mini-cards {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.lc-mc {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  font-size: 10.5px;
  font-weight: 800;
}
.lc-mc.red { color: #dc2626; }
.lc-mc.black { color: #0f172a; }
/* === LIVE CASINO CSS END === */

/* === VEGASKING789 & DERIVED ROADS & SLOT FIT START === */

/* 1. VegasKing789 Crown-V Logo Fit (Image 3 & 5: Full-frame Crown-V emblem without cropping!) */
.brand-mark {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: #02132e !important;
  border: 1.5px solid #38bdf8 !important;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.32) !important;
  overflow: hidden !important;
}
.brand-mark img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
@media (max-width: 768px) {
  .m-brand-link .brand-mark {
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
  }
}

/* 2. Authentic 2-Tier Baccarat Derived Roads (Image 4 & 7: Big Eye Boy, Small Road, Cockroach Pig + Interactive ASK B / ASK P) */
.bac-roadmap-board {
  background: #ffffff;
  color: #0f172a;
  display: grid !important;
  grid-template-columns: 132px minmax(0, 1fr) 118px !important;
  align-items: stretch !important;
}
.bac-rm-bead-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 22px) !important;
  grid-template-rows: repeat(6, 28px) !important;
  grid-auto-flow: column !important;
  border-right: 1.5px solid #94a3b8 !important;
}
.bac-rm-main-wrap {
  display: flex !important;
  flex-direction: column !important;
  border-right: 1.5px solid #94a3b8 !important;
  overflow: hidden !important;
}
.bac-rm-big-grid {
  display: grid !important;
  grid-template-columns: repeat(16, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(6, 14px) !important;
  grid-auto-flow: column !important;
  border-bottom: 1.5px solid #64748b !important;
}
.bac-rm-derived-stack {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  background: #ffffff !important;
}
/* Top Derived Tier: Big Eye Boy (Hollow Rings ○, 6 rows x 24 cols, Full Width like Image 4) */
.bac-rm-derived-eye-grid {
  display: grid !important;
  grid-template-columns: repeat(24, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(6, 7px) !important;
  grid-auto-flow: column !important;
  border-bottom: 1.5px solid #64748b !important;
}
/* Bottom Derived Tier: Split 50% Left (Small Road ●) & 50% Right (Cockroach Pig /) like Image 4 */
.bac-rm-derived-bottom-split {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  width: 100% !important;
}
.bac-rm-derived-small-grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(6, 7px) !important;
  grid-auto-flow: column !important;
  border-right: 1.5px solid #64748b !important;
}
.bac-rm-derived-cockroach-grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(6, 7px) !important;
  grid-auto-flow: column !important;
}
.rm-d-cell {
  border-right: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.rm-eye {
  width: 5.5px !important;
  height: 5.5px !important;
  border-radius: 50% !important;
  border: 1.4px solid #dc2626 !important;
  background: transparent !important;
  display: inline-block !important;
  box-sizing: border-box !important;
}
.rm-eye.p {
  border-color: #2563eb !important;
}
.rm-solid {
  width: 5.5px !important;
  height: 5.5px !important;
  border-radius: 50% !important;
  background: #dc2626 !important;
  display: inline-block !important;
}
.rm-solid.p {
  background: #2563eb !important;
}
.rm-slash {
  width: 6.5px !important;
  height: 1.6px !important;
  background: #dc2626 !important;
  transform: rotate(-45deg) !important;
  display: inline-block !important;
  border-radius: 1px !important;
}
.rm-slash.p {
  background: #2563eb !important;
}

/* Interactive ASK B & ASK P Buttons & Blinking Preview Animation */
.rm-stat-line.ask-btn {
  width: 100%;
  background: #f8fafc;
  border: 0;
  border-top: 1px solid #e2e8f0;
  cursor: pointer;
  padding: 2px 6px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.rm-stat-line.ask-btn:hover {
  background: #eff6ff;
}
.rm-stat-line.ask-btn.active {
  background: #fef9c3 !important;
  box-shadow: inset 0 0 0 1.5px #eab308 !important;
}
.rm-stat-line.ask-btn .ask-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.rm-stat-line.ask-btn .ask-dots .rm-eye,
.rm-stat-line.ask-btn .ask-dots .rm-solid {
  width: 7px !important;
  height: 7px !important;
}
.rm-stat-line.ask-btn .ask-dots .rm-slash {
  width: 8px !important;
  height: 2px !important;
}
.rm-ask-blink {
  animation: rmAskPulseBlink 0.38s infinite alternate ease-in-out !important;
}
@keyframes rmAskPulseBlink {
  0% { opacity: 1; transform: scale(1.25); filter: drop-shadow(0 0 4px #facc15); }
  100% { opacity: 0.2; transform: scale(0.85); }
}

@media (max-width: 768px) {
  .bac-roadmap-board {
    grid-template-columns: 102px minmax(0, 1fr) 92px !important;
  }
  .bac-rm-bead-grid {
    grid-template-columns: repeat(6, 17px) !important;
    grid-template-rows: repeat(6, 25px) !important;
  }
  .bac-rm-big-grid {
    grid-template-columns: repeat(14, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(6, 12px) !important;
  }
  .bac-rm-derived-eye-grid {
    grid-template-columns: repeat(20, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(6, 6.5px) !important;
  }
  .bac-rm-derived-small-grid,
  .bac-rm-derived-cockroach-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(6, 6.5px) !important;
  }
}

/* ============================================================================
   3. FULL-SCREEN HEADERLESS SLOT MODE (PC & MOBILE) + AZTEC PG FIXES
   ============================================================================ */

/* Hide Website Header, Mobile Top/Bottom Navbars, Footer & Chat Launcher when inside any Slot Game */
body.slot-fullscreen-mode {
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  overflow: hidden !important;
  background: radial-gradient(circle at 50% 38%, #16243d 0%, #060b14 100%) !important;
}
body.slot-fullscreen-mode .member-bar,
body.slot-fullscreen-mode .site-header,
body.slot-fullscreen-mode .m-app-header-wrap,
body.slot-fullscreen-mode .m-bottom-nav,
body.slot-fullscreen-mode .site-footer,
body.slot-fullscreen-mode .chat-launcher {
  display: none !important;
}
body.slot-fullscreen-mode #app {
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body.slot-fullscreen-mode #main.site-main {
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body.slot-fullscreen-mode .page-container.narrow {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

/* Full-Height Responsive Slot Machine Cabinet on Desktop & Mobile */
.slot-ebm-machine,
.slot-kong-machine,
.slot-aztec-machine,
.slot-splash-screen {
  width: min(95vw, 430px) !important;
  max-width: 430px !important;
  height: calc(100vh - 16px) !important;
  height: calc(100dvh - 16px) !important;
  max-height: 860px !important;
  margin: 0 auto !important;
  border-radius: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  overflow: hidden !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.82), 0 0 0 2px rgba(250, 204, 21, 0.38) !important;
}

.slot-splash-screen .slot-splash-art-wrap {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
.slot-splash-screen .slot-splash-art-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

@media (max-width: 600px) {
  body.slot-fullscreen-mode .page-container.narrow {
    padding: 0 !important;
  }
  .slot-ebm-machine,
  .slot-kong-machine,
  .slot-aztec-machine,
  .slot-splash-screen {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }
}

/* Top Sky Header & Upper 4-Cell Tracker */
.slot-ebm-top-sky {
  flex: 0 0 auto !important;
  min-height: 46px !important;
  padding: 5px 10px !important;
}
.slot-ebm-ways-plaque,
.slot-ebm-ways-plaque.aztec-ways-plaque {
  padding: 2px 16px !important;
}
.slot-ebm-ways-plaque strong {
  font-size: 16px !important;
}
.slot-ebm-ways-plaque span {
  font-size: 12.5px !important;
}
.slot-ebm-trophy-btn {
  width: 30px !important;
  height: 30px !important;
  font-size: 14px !important;
}
.slot-ebm-upper-tracker {
  flex: 0 0 auto !important;
  grid-template-columns: 44px minmax(0, 1fr) 44px !important;
  padding: 3px 5px !important;
}
.slot-wing-ornament {
  height: 38px !important;
}
.slot-top-cell,
.slot-top-cell.aztec-top-cell,
.kong-top-cell {
  height: 38px !important;
}

/* Flexible 6-Column Reel Board that Automatically Scales to Fit Any Screen Height */
.slot-ebm-board-6col,
.kong-board-6col {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  gap: 3px !important;
  padding: 4px !important;
  align-items: stretch !important;
}
.slot-reel-col,
.kong-reel-col {
  height: 100% !important;
  min-height: 0 !important;
}
.slot-reel-final-wrap,
.kong-final-wrap {
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}
/* Proportional Flex Cell Spans inside Stopped Reel Columns (Always Sums to 100% of Column Height!) */
.slot-reel-final-wrap > .slot-cell.span-1 { flex: 1 1 0% !important; height: auto !important; min-height: 0 !important; }
.slot-reel-final-wrap > .slot-cell.span-2 { flex: 2 1 0% !important; height: auto !important; min-height: 0 !important; }
.slot-reel-final-wrap > .slot-cell.span-3 { flex: 3 1 0% !important; height: auto !important; min-height: 0 !important; }
.slot-reel-final-wrap > .slot-cell.span-4 { flex: 4 1 0% !important; height: auto !important; min-height: 0 !important; }

/* Fixed Cell Height inside Rolling Animation Strip */
.slot-reel-strip.spinning-strip > .slot-cell.span-1 { height: 42px !important; flex: 0 0 42px !important; }
.slot-reel-strip.spinning-strip > .slot-cell.span-2 { height: 86px !important; flex: 0 0 86px !important; }
.slot-reel-strip.spinning-strip > .slot-cell.span-3 { height: 130px !important; flex: 0 0 130px !important; }

/* Crisp Full-Tile Symbol Sizing across Egypt, Kong & Aztec */
.slot-sym-art {
  width: 86% !important;
  height: 86% !important;
  max-width: 46px !important;
  max-height: 46px !important;
}
.slot-sym-art.aztec-art-tile,
.slot-sym-art.kong-art-tile {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2px !important;
}
.slot-sym-art.aztec-art-tile svg,
.slot-sym-art.kong-art-tile svg {
  width: 86% !important;
  height: 86% !important;
  max-width: 48px !important;
  max-height: 48px !important;
}
.slot-cell.span-2 .slot-sym-art svg,
.slot-cell.span-3 .slot-sym-art svg,
.slot-cell.span-4 .slot-sym-art svg {
  max-width: 64px !important;
  max-height: 64px !important;
}
.slot-sym-letter {
  font-size: 21px !important;
}

/* Kong Top Banner & Controls Scaling */
.slot-kong-top-banner {
  flex: 0 0 auto !important;
}
.slot-kong-top-banner img {
  max-height: 84px !important;
  object-fit: cover !important;
  object-position: center 20% !important;
}
.slot-kong-upper-frame {
  flex: 0 0 auto !important;
  padding: 12px 24px 4px !important;
}
.slot-kong-controls-stage {
  flex: 0 0 auto !important;
}
.slot-kong-controls-stage img {
  max-height: 112px !important;
  object-fit: fill !important;
}
.slot-kong-stone-footer {
  flex: 0 0 auto !important;
  padding: 6px 8px !important;
}

/* Multiplier Bar, Win Banner, Guardians/Priestess Stage & Bottom Control Deck */
.slot-aztec-mult-bar {
  flex: 0 0 auto !important;
  padding: 4px 10px !important;
  grid-template-columns: 38px minmax(0, 1fr) 38px !important;
}
.az-mult-pill {
  font-size: 13px !important;
  padding: 2px 11px !important;
}
.slot-ebm-win-banner {
  flex: 0 0 auto !important;
  padding: 3px 10px !important;
  min-height: 28px !important;
}
.slot-ebm-win-banner .lbl {
  font-size: 10px !important;
}
.slot-ebm-win-banner strong {
  font-size: 18px !important;
}
.slot-ebm-guardians-stage {
  flex: 0 0 auto !important;
}
.slot-ebm-guardians-stage img {
  width: 100% !important;
  height: 92px !important;
  max-height: 92px !important;
  object-fit: fill !important;
  display: block !important;
}
/* Fix Aztec Feature Buy Hotspot so it aligns over the right-side "การซื้อฟีเจอร์" button on slot-aztec-priestess.jpg */
.slot-feature-buy-hotspot.aztec-buy-hotspot {
  left: 69% !important;
  right: auto !important;
  top: 12% !important;
  transform: none !important;
  width: 29% !important;
  height: 76% !important;
  border-radius: 12px !important;
}

.slot-ebm-status-pills {
  flex: 0 0 auto !important;
  padding: 4px 8px !important;
  gap: 6px !important;
}
.slot-st-pill {
  padding: 3px 8px !important;
  font-size: 11.5px !important;
}
.slot-ebm-controls-deck {
  flex: 0 0 auto !important;
  padding: 6px 14px 10px !important;
}
.slot-ebm-controls-deck.aztec-controls-deck {
  background: linear-gradient(180deg, #b88a44 0%, #8c6223 55%, #5c3d10 100%) !important;
  border-top: 2px solid #fde047 !important;
}
.slot-ebm-controls-deck.aztec-controls-deck .slot-ctrl-sub,
.slot-ebm-controls-deck.aztec-controls-deck .slot-ctrl-step {
  background: rgba(28, 16, 6, 0.55) !important;
  border-color: #fde047 !important;
  color: #fef08a !important;
}
.slot-ebm-controls-deck.aztec-controls-deck .slot-ctrl-menu {
  color: #fef08a !important;
}
.slot-ctrl-spin-wheel {
  width: 62px !important;
  height: 62px !important;
}
.slot-ctrl-spin-wheel .spin-glyph {
  font-size: 30px !important;
}
.slot-ctrl-sub {
  width: 40px !important;
  height: 40px !important;
  font-size: 11px !important;
}
.slot-ctrl-step {
  width: 36px !important;
  height: 36px !important;
  font-size: 20px !important;
}


/* ============================================================================
   4. FULL-SCREEN HEADERLESS MODE FOR ALL 4 E-GAMES & ALL 4 LIVE CASINO ROOMS
      + LIVE CASINO WALLET BADGE & HAMBURGER (☰) ROOM HISTORY BUTTON
   ============================================================================ */

/* Live Casino Room Wallet Pill & 3-Line Hamburger Menu Button (☰) */
.lc-room-wallet-pill {
  background: linear-gradient(135deg, #0b2545 0%, #153e75 100%);
  border: 1.5px solid #fde047;
  color: #ffffff;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.lc-room-wallet-pill .lc-rwp-lbl {
  color: #93c5fd;
  font-size: 10.5px;
  font-weight: 700;
}
.lc-room-wallet-pill strong {
  color: #fde047;
  font-size: 12.5px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.lc-room-menu-btn {
  width: 34px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #1e3a8a 0%, #0f2547 100%);
  border: 1.5px solid #fde047;
  color: #fde047;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.14s ease, background 0.14s ease;
}
.lc-room-menu-btn:hover {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
}
.lc-rmb-bars {
  width: 16px;
  height: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.lc-rmb-bars i {
  display: block;
  width: 100%;
  height: 2px;
  background: #fde047;
  border-radius: 2px;
}

@media (max-width: 480px) {
  .lc-room-wallet-pill .lc-rwp-lbl {
    display: none;
  }
  .lc-room-wallet-pill {
    padding: 2px 7px;
  }
  .lc-room-wallet-pill strong {
    font-size: 11.5px;
  }
  .lc-replay-pill {
    padding: 3px 6px;
    font-size: 10px;
  }
  .lc-room-menu-btn {
    width: 30px;
    height: 27px;
  }
}

/* ============================================================================
   FULL-SCREEN SINGLE-VIEWPORT LAYOUT FOR LIVE CASINO 4 ROOMS (PC & MOBILE)
   ============================================================================ */
body.slot-fullscreen-mode .lc-page-wrap.lc-room-fullscreen-wrap {
  width: min(98vw, 780px) !important;
  max-width: 780px !important;
  height: calc(100vh - 12px) !important;
  height: calc(100dvh - 12px) !important;
  max-height: 860px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 5px !important;
  overflow: hidden !important;
}
body.slot-fullscreen-mode .lc-room-switcher-bar {
  flex: 0 0 auto !important;
  margin-bottom: 0 !important;
}
body.slot-fullscreen-mode .bac-allinone-screen.lc-room-screen,
body.slot-fullscreen-mode .eg-fs-baccarat .bac-allinone-screen {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  overflow: hidden !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.72) !important;
}
body.slot-fullscreen-mode .bac-allinone-screen .lc-eco-room-topbar,
body.slot-fullscreen-mode .bac-allinone-screen .bac-compact-topbar,
body.slot-fullscreen-mode .bac-allinone-screen .bac-compact-status,
body.slot-fullscreen-mode .bac-allinone-screen .bac-bottom-bar.compact,
body.slot-fullscreen-mode .bac-allinone-screen .bac-split-hands-bar,
body.slot-fullscreen-mode .bac-allinone-screen .bac-roadmap-board {
  flex: 0 0 auto !important;
}
body.slot-fullscreen-mode .bac-allinone-screen .bac-bet-board.compact {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 6px 10px !important;
}
body.slot-fullscreen-mode .bac-allinone-screen .bac-bet-top-row {
  flex: 1 1 0% !important;
  min-height: 0 !important;
  align-items: stretch !important;
}
body.slot-fullscreen-mode .bac-allinone-screen .bac-bet-main-row {
  flex: 1.15 1 0% !important;
  min-height: 0 !important;
  align-items: stretch !important;
}
body.slot-fullscreen-mode .bac-allinone-screen .bac-spot {
  min-height: 0 !important;
  height: 100% !important;
  padding: 4px 6px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}
body.slot-fullscreen-mode .bac-allinone-screen .bac-split-hands-bar {
  padding: 6px 10px !important;
}
body.slot-fullscreen-mode .bac-allinone-screen .bac-card-slot {
  height: 68px !important;
  width: 48px !important;
}
body.slot-fullscreen-mode .bac-allinone-screen .bac-card-slot.third-card-slot {
  width: 46px !important;
  height: 64px !important;
}

/* ============================================================================
   FULL-SCREEN SINGLE-VIEWPORT LAYOUT FOR ALL 4 E-GAMES (PC & MOBILE)
   ============================================================================ */
body.slot-fullscreen-mode .page-container.eg-fullscreen-wrap {
  width: min(98vw, 760px) !important;
  max-width: 760px !important;
  height: calc(100vh - 14px) !important;
  height: calc(100dvh - 14px) !important;
  max-height: 860px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 6px !important;
  overflow: hidden !important;
}
body.slot-fullscreen-mode .page-container.eg-fs-thimble {
  max-width: 640px !important;
}
body.slot-fullscreen-mode .page-container.eg-fs-wheel {
  max-width: 560px !important;
}
body.slot-fullscreen-mode .page-container.eg-fs-dice {
  max-width: 500px !important;
}

body.slot-fullscreen-mode .eg-topbar-nav {
  flex: 0 0 auto !important;
  margin-bottom: 0 !important;
  background: rgba(11, 30, 54, 0.92) !important;
  border: 1px solid rgba(147, 197, 253, 0.28) !important;
  border-radius: 12px !important;
  padding: 6px 10px !important;
}

/* 1. Thimblerig Full-Screen Fit */
body.slot-fullscreen-mode .eg-thimble-arena {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  overflow: hidden !important;
}
body.slot-fullscreen-mode .eg-thimble-header {
  flex: 0 0 auto !important;
  padding: 12px 14px 8px !important;
}
body.slot-fullscreen-mode .eg-thimble-header h2 {
  font-size: 18px !important;
  margin: 4px 0 8px !important;
}
body.slot-fullscreen-mode .eg-stage-white-board {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  margin: 0 12px !important;
  padding: 16px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body.slot-fullscreen-mode .eg-3cups-stage {
  width: 100% !important;
}
body.slot-fullscreen-mode .eg-pg-control-deck {
  flex: 0 0 auto !important;
  padding: 10px 14px 12px !important;
}

/* 2. Lucky Wheel Full-Screen Fit */
body.slot-fullscreen-mode .eg-wheel-poster-stage {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  padding: 14px 16px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: center !important;
  overflow: hidden !important;
}
body.slot-fullscreen-mode .eg-wheel-top-brand {
  width: 100% !important;
  margin-bottom: 4px !important;
}
body.slot-fullscreen-mode .eg-wheel-main-heading {
  font-size: 20px !important;
  margin: 4px 0 8px !important;
}
body.slot-fullscreen-mode .eg-wheel-center-container {
  width: min(340px, 52dvh, 80vw) !important;
  height: min(340px, 52dvh, 80vw) !important;
  margin: auto !important;
}

/* 3. Under & Over 7 Dice Full-Screen Fit */
body.slot-fullscreen-mode .dice-uo7-arena {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 12px 14px 14px !important;
  overflow: hidden !important;
}
body.slot-fullscreen-mode .dice-uo7-topbar {
  margin-bottom: 6px !important;
}
body.slot-fullscreen-mode .dice-circles-stage {
  margin: 4px 0 !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  align-items: center !important;
}

@media (max-width: 600px) {
  body.slot-fullscreen-mode .lc-page-wrap.lc-room-fullscreen-wrap,
  body.slot-fullscreen-mode .page-container.eg-fullscreen-wrap {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    padding: 4px 4px 0 !important;
    gap: 4px !important;
  }
  body.slot-fullscreen-mode .eg-fs-baccarat,
  body.slot-fullscreen-mode .eg-fs-dice {
    padding: 0 !important;
  }
  body.slot-fullscreen-mode .eg-fs-baccarat .bac-allinone-screen,
  body.slot-fullscreen-mode .eg-fs-dice .dice-uo7-arena,
  body.slot-fullscreen-mode .bac-allinone-screen.lc-room-screen {
    border-radius: 10px 10px 0 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
  }
  body.slot-fullscreen-mode .bac-allinone-screen .bac-card-slot {
    height: 58px !important;
    width: 42px !important;
  }
  body.slot-fullscreen-mode .bac-allinone-screen .bac-card-slot.third-card-slot {
    height: 54px !important;
    width: 40px !important;
  }
}


/* ==========================================================================
   ALIBABA'S CAVE OF FORTUNE — CSS SPRITE SHEET SYSTEM (background-image + background-position)
   ========================================================================== */

/* 1. Master Symbol & FX Sprite Sheet (/assets/cave/sprites-cave-symbols.png — 4x4 Grid, 960x960 RGBA) */
.cave-sprite-sym,
.cave-sprite-fx {
  background-image: url('/assets/cave/sprites-cave-symbols.png');
  background-size: 400% 400%;
  background-repeat: no-repeat;
  display: inline-block;
}

/* Row 0 (Y = 0%) */
.cave-sp-wild         { background-position: 0% 0%; }
.cave-sp-girl         { background-position: 33.3333% 0%; }
.cave-sp-man          { background-position: 66.6667% 0%; }
.cave-sp-donkey       { background-position: 100% 0%; }

/* Row 1 (Y = 33.3333%) */
.cave-sp-jar          { background-position: 0% 33.3333%; }
.cave-sp-coin         { background-position: 33.3333% 33.3333%; }
.cave-sp-scale        { background-position: 66.6667% 33.3333%; }
.cave-sp-axe          { background-position: 100% 33.3333%; }

/* Row 2 (Y = 66.6667%) */
.cave-sp-sword        { background-position: 0% 66.6667%; }
.cave-sp-a            { background-position: 33.3333% 66.6667%; }
.cave-sp-k            { background-position: 66.6667% 66.6667%; }
.cave-sp-q            { background-position: 100% 66.6667%; }

/* Row 3 (Y = 100%) */
.cave-sp-j            { background-position: 0% 100%; }
.cave-sp-fire-frame,
.cave-sp-fire-only    { background-position: 33.3333% 100%; }
.cave-sp-explosion,
.cave-sp-explode-only { background-position: 66.6667% 100%; }
.cave-sp-sparkles     { background-position: 100% 100%; }

/* 2. Master UI & Controls Sprite Sheet (/assets/cave/sprites-cave-ui.png — 800x800 RGBA) */
.cave-ui-sprite {
  background-image: url('/assets/cave/sprites-cave-ui.png');
  background-repeat: no-repeat;
  display: inline-block;
}

/* 5x3 "243 วิธี" Reel Frame (x=0, y=0, w=600, h=360 on 800x800 sheet) */
.cave-ui-sprite-reel-frame {
  background-image: url('/assets/cave/sprites-cave-ui.png');
  background-size: 133.3333% 222.2222%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
}

/* Green Money-Bag Win Banner (x=0, y=360, w=600, h=90 on 800x800 sheet) */
.cave-ui-sprite-winbar {
  background-image: url('/assets/cave/sprites-cave-ui.png') !important;
  background-size: 133.3333% 888.8889% !important;
  background-position: 0% 50.7042% !important;
  background-repeat: no-repeat !important;
}

/* Spin Button (x=600, y=0, w=200, h=200 on 800x800 sheet) */
.cave-sp-btn-spin,
.cps-spin-sprite {
  background-size: 400% 400%;
  background-position: 100% 0%;
}

/* Glowing Open Cave Portal (x=600, y=200, w=200, h=200 on 800x800 sheet) */
.cave-sp-open-portal,
.cps-open-portal {
  background-size: 400% 400%;
  background-position: 100% 33.3333%;
}

/* Control Buttons (-, +, AUTO, TURBO on 800x800 sheet) */
.cave-sp-btn-minus {
  background-size: 533.3333% 533.3333% !important;
  background-position: 0% 69.2308% !important;
}
.cave-sp-btn-plus {
  background-size: 533.3333% 533.3333% !important;
  background-position: 23.0769% 69.2308% !important;
}
.cave-sp-btn-auto {
  background-size: 400% 533.3333% !important;
  background-position: 50% 69.2308% !important;
}
.cave-sp-btn-turbo {
  background-size: 400% 533.3333% !important;
  background-position: 83.3333% 69.2308% !important;
}

/* Bottom Row Plaques & Medallion (y=600, w=200, h=200 on 800x800 sheet) */
.cps-plaque-36        { background-size: 400% 400%; background-position: 0% 100%; }
.cave-sp-wild-logo    { background-size: 400% 400%; background-position: 33.3333% 100%; }
.cave-sp-mult-x2      { background-size: 400% 400%; background-position: 66.6667% 100%; }
.cave-sp-medallion,
.cps-mini-medallion   { background-size: 400% 400%; background-position: 100% 100%; }

/* 3. Machine Container & Layout (5x3 Upper Grid + Lower Cave Door Stage) */
.slot-cave-machine {
  background-image: url('/assets/cave/bg-cave-full.jpg') !important;
  background-size: cover !important;
  background-position: center top !important;
  border: 2px solid #d97706 !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.82), inset 0 0 24px rgba(245, 158, 11, 0.2) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.cave-top-sky {
  background: linear-gradient(180deg, rgba(20, 12, 5, 0.92) 0%, rgba(42, 24, 9, 0.88) 100%) !important;
  border-bottom: 2px solid #f59e0b !important;
  padding: 5px 10px !important;
  min-height: 38px !important;
  flex-shrink: 0 !important;
}

.cave-ways-plaque {
  background: linear-gradient(180deg, #7c1d1d 0%, #450a0a 100%) !important;
  border: 1.5px solid #fbbf24 !important;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.4) !important;
}

.cave-storyboard-pill-btn {
  background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%);
  color: #fffbeb;
  border: 1.5px solid #fde047;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.45);
}

/* UPPER HALF: 5 Reels x 3 Rows Fixed Board framed by Sprite Sheet's "243 วิธี" Reel Frame */
.cave-reel-frame-wrap {
  position: relative;
  width: 100%;
  flex: 1 1 48%;
  min-height: 215px;
  max-height: 350px;
  padding: 24px 12px 14px;
  border-bottom: 2px solid #f59e0b;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.cave-board-5x3 {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 2px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.cave-reel-col {
  background: rgba(11, 30, 36, 0.28) !important;
  border-right: 1.5px solid rgba(251, 191, 36, 0.38) !important;
  height: 100% !important;
  overflow: hidden !important;
}
.cave-reel-col:last-child {
  border-right: none !important;
}

.cave-board-5x3 .slot-reel-final-wrap {
  display: grid !important;
  grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
  height: 100% !important;
  gap: 2px !important;
}

.cave-cell,
.cave-cell.span-1 {
  position: relative !important;
  height: 100% !important;
  min-height: 54px !important;
  background: rgba(14, 38, 45, 0.35) !important;
  border: 1px solid rgba(251, 191, 36, 0.14) !important;
  border-radius: 5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2px !important;
  overflow: visible !important;
}

.cave-art-tile {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cave-art-tile .cave-sprite-sym {
  width: 90%;
  height: 90%;
  max-width: 82px;
  max-height: 82px;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.68));
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cave-art-tile .cave-sprite-fx {
  position: absolute;
  inset: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.18s ease, transform 0.22s ease;
}

.cave-art-tile .cave-sp-explosion.explode-active {
  opacity: 1 !important;
  transform: scale(1.12) !important;
  animation: caveExplodePop 0.48s ease-out forwards !important;
}

@keyframes caveExplodePop {
  0% { transform: scale(0.6); opacity: 1; }
  60% { transform: scale(1.22); opacity: 1; }
  100% { transform: scale(1.38); opacity: 0; }
}

/* Idle Symbol Loops (Frames 06-15) */
.cave-coin-tile .cave-sprite-sym {
  animation: caveCoinPulse 2.8s ease-in-out infinite;
}
.cave-donkey-tile .cave-sprite-sym {
  animation: caveDonkeyNod 2.6s ease-in-out infinite;
}
.cave-girl-tile .cave-sprite-sym,
.cave-prince-tile .cave-sprite-sym {
  animation: caveCharBreathe 3s ease-in-out infinite;
}
.cave-wild-tile .cave-sprite-sym {
  animation: caveWildChallenge 2.2s ease-in-out infinite;
}
.cave-jar-tile .cave-sprite-sym {
  animation: caveJarGlow 2.4s ease-in-out infinite;
}
.cave-prop-tile .cave-sprite-sym,
.cave-letter-tile .cave-sprite-sym {
  animation: cavePropFloat 3.2s ease-in-out infinite;
}

@keyframes caveCoinPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.06) rotate(6deg); filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.7)); }
}
@keyframes caveDonkeyNod {
  0%, 100% { transform: rotate(0deg) scale(1); }
  35% { transform: rotate(-3deg) scale(1.03); }
  70% { transform: rotate(3deg) scale(1.03); }
}
@keyframes caveCharBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes caveWildChallenge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.85)); }
}
@keyframes caveJarGlow {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 6px rgba(236, 72, 153, 0.6)); }
  50% { transform: scale(1.07); filter: drop-shadow(0 0 14px rgba(250, 204, 21, 0.95)); }
}
@keyframes cavePropFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* Winning Cell Fire Frame & Sparkles (Frames 16, 17, 19 via CSS Sprite Sheet!) */
.cave-cell.win-glow,
.cave-cell.winning {
  z-index: 4 !important;
  border-color: #fde047 !important;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.85), inset 0 0 14px rgba(245, 158, 11, 0.55) !important;
}
.cave-cell.win-glow .cave-sp-fire-frame,
.cave-cell.winning .cave-sp-fire-frame {
  opacity: 1 !important;
  transform: scale(1.05) !important;
  animation: caveFireBlaze 0.55s ease-in-out infinite alternate !important;
}
.cave-cell.win-glow .cave-sp-sparkles,
.cave-cell.winning .cave-sp-sparkles {
  z-index: 0 !important;
  mix-blend-mode: screen !important;
  opacity: 0.45 !important;
  transform: scale(1.05) !important;
}
.cave-cell.win-glow .cave-sprite-sym,
.cave-cell.winning .cave-sprite-sym {
  animation: caveWinSymbolCheer 0.5s ease-in-out infinite alternate !important;
}

@keyframes caveFireBlaze {
  0% { transform: scale(0.98); filter: brightness(1) drop-shadow(0 0 8px #f59e0b); }
  100% { transform: scale(1.07); filter: brightness(1.25) drop-shadow(0 0 16px #fde047); }
}
@keyframes caveWinSymbolCheer {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); filter: brightness(1.15) drop-shadow(0 0 10px #fef08a); }
}

/* Frame 25: Gold Frame Trigger */
.cave-cell.frame-gold {
  border: 2px solid #facc15 !important;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.28) 0%, rgba(21, 56, 64, 0.88) 100%) !important;
  box-shadow: inset 0 0 10px rgba(250, 204, 21, 0.55) !important;
}

/* LOWER HALF: Ancient Cave Door Stage (#slot-cave-door-stage) using CSS background-image + background-position from bg-cave-full.jpg */
.slot-cave-door-stage {
  position: relative;
  width: 100%;
  flex: 1 1 36%;
  min-height: 155px;
  max-height: 245px;
  overflow: hidden;
  border-bottom: 2px solid #f59e0b;
  background-image: url('/assets/cave/bg-cave-full.jpg');
  background-size: 100% 215%;
  background-position: 50% 96%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.35s ease;
}

.slot-cave-door-stage.cave-door-opened,
.slot-cave-door-stage.cave-door-open {
  filter: brightness(1.22) saturate(1.2);
}

.cave-buy-feature-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 4;
  background: linear-gradient(180deg, #dc2626 0%, #7f1d1d 100%);
  border: 2px solid #fde047;
  border-radius: 10px;
  padding: 4px 9px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65), 0 0 12px rgba(245, 158, 11, 0.5);
}
.cave-buy-feature-badge .cbf-top {
  font-size: 9px;
  font-weight: 800;
  color: #fde047;
}
.cave-buy-feature-badge strong {
  font-size: 12px;
  line-height: 1.15;
}
.cave-buy-feature-badge small {
  font-size: 9px;
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 6px;
  border-radius: 99px;
  margin-top: 2px;
  color: #fef08a;
}

.cave-arch-monument {
  position: relative;
  z-index: 2;
  width: 155px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cave-seal-orbs {
  position: absolute;
  inset: 0;
}
.cave-orb {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #fde047 0%, #d97706 70%, rgba(120, 53, 15, 0.4) 100%);
  border: 1.5px solid #fef08a;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.75);
  opacity: 0.45;
  transition: all 0.25s ease;
}
.cave-orb.o1 { left: 10px; bottom: 22px; }
.cave-orb.o2 { left: 16px; top: 44px; }
.cave-orb.o3 { left: 36px; top: 16px; }
.cave-orb.o4 { left: 71px; top: 6px; }
.cave-orb.o5 { right: 36px; top: 16px; }
.cave-orb.o6 { right: 16px; top: 44px; }
.cave-orb.o7 { right: 10px; bottom: 22px; }

.slot-cave-door-stage.cave-seals-lit .cave-orb,
.slot-cave-door-stage.cave-door-open .cave-orb {
  opacity: 1;
  transform: scale(1.3);
  box-shadow: 0 0 16px #fef08a, 0 0 26px #f59e0b;
}

.cave-inner-portal {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cave-golden-light-beam {
  position: absolute;
  inset: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.35s ease, transform 0.4s ease;
}

.slot-cave-door-stage.cave-door-opened .cave-golden-light-beam,
.slot-cave-door-stage.cave-door-open .cave-golden-light-beam {
  opacity: 1;
  transform: scale(1.1);
}

.cave-door-medallion {
  width: 44px;
  height: 44px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.slot-cave-door-stage.cave-seals-lit .cave-door-medallion {
  opacity: 0.92;
  transform: scale(1.08);
}

/* Frame 18: Spark Coins (CSS Sprite Sheet Coins) Shooting DOWN from Upper 5x3 Board into Lower Cave Door */
.cave-spark-projectiles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: visible;
}
.cave-spark {
  position: absolute;
  width: 30px;
  height: 30px;
  opacity: 0;
  filter: drop-shadow(0 0 10px #fef08a) drop-shadow(0 0 18px #f59e0b);
}
.slot-cave-door-stage.cave-sparks-flying .cave-spark.s1 {
  animation: caveSparkShootDown1 0.75s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
.slot-cave-door-stage.cave-sparks-flying .cave-spark.s2 {
  animation: caveSparkShootDown2 0.85s 0.08s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
.slot-cave-door-stage.cave-sparks-flying .cave-spark.s3 {
  animation: caveSparkShootDown3 0.9s 0.16s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

@keyframes caveSparkShootDown1 {
  0% { opacity: 1; left: 22%; top: -95px; transform: scale(1.15) rotate(0deg); }
  100% { opacity: 0; left: 48%; top: 48%; transform: scale(0.45) rotate(360deg); }
}
@keyframes caveSparkShootDown2 {
  0% { opacity: 1; left: 50%; top: -120px; transform: scale(1.2) rotate(0deg); }
  100% { opacity: 0; left: 50%; top: 50%; transform: scale(0.45) rotate(360deg); }
}
@keyframes caveSparkShootDown3 {
  0% { opacity: 1; left: 78%; top: -95px; transform: scale(1.15) rotate(0deg); }
  100% { opacity: 0; left: 52%; top: 48%; transform: scale(0.45) rotate(360deg); }
}

/* Green Money-Bag WIN Banner below Cave Door and above Spin Button (Frames 22-23) */
.cave-win-banner {
  border-top: 1.5px solid #fbbf24 !important;
  border-bottom: 1.5px solid #fbbf24 !important;
  padding: 5px 12px !important;
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.cave-win-plaque-frame {
  background: rgba(7, 34, 32, 0.78);
  border: 1.5px solid #f59e0b;
  border-radius: 8px;
  padding: 2px 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}
.cave-win-banner.cave-bigwin-glow .cave-win-plaque-frame,
.cave-win-banner.banner-total-win .cave-win-plaque-frame {
  box-shadow: 0 0 24px #fde047, inset 0 0 14px rgba(250, 204, 21, 0.55);
  border-color: #fef08a;
}

/* Status Pills & Control Deck with Sprite-Sliced Buttons */
.cave-status-pills {
  background: linear-gradient(180deg, #271409 0%, #170b04 100%) !important;
  padding: 4px 10px !important;
  border-bottom: 1px solid rgba(251, 191, 36, 0.3) !important;
  flex-shrink: 0 !important;
}
.cave-status-pills .slot-st-pill {
  background: linear-gradient(180deg, #4b2511 0%, #2e1508 100%) !important;
  border: 1.5px solid #d97706 !important;
}

.cave-controls-deck {
  background: linear-gradient(180deg, #0c2b32 0%, #06181c 100%) !important;
  border-top: 1.5px solid rgba(251, 191, 36, 0.45) !important;
  padding: 6px 12px 8px !important;
  flex-shrink: 0 !important;
}

.cave-controls-deck .cave-sp-btn-turbo,
.cave-controls-deck .cave-sp-btn-auto {
  width: 62px !important;
  height: 42px !important;
  border: none !important;
  background-color: transparent !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.cave-controls-deck .cave-sp-btn-turbo.active,
.cave-controls-deck .cave-sp-btn-auto.active {
  filter: brightness(1.25) drop-shadow(0 0 8px #fde047) !important;
}

.cave-controls-deck .cave-sp-btn-minus,
.cave-controls-deck .cave-sp-btn-plus {
  width: 44px !important;
  height: 44px !important;
  border: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
}

.cave-spin-wheel {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.45), 0 0 24px rgba(250, 204, 21, 0.45) !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.cave-spin-wheel .cave-sp-btn-spin {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.cave-spin-wheel.spinning .cave-sp-btn-spin {
  animation: caveSpinWheelRotate 0.65s linear infinite;
}
@keyframes caveSpinWheelRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 25-Frame Storyboard Modal with CSS Sprite Sheet Previews */
.cave-prod-sheet-modal {
  background: #0f172a;
  color: #f8fafc;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.cps-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.cps-badge {
  font-size: 10px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.6px;
}
.cps-top-header h3 {
  margin: 2px 0 0;
  font-size: 15px;
  color: #fff;
}
.cps-grid-25 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.cps-frame-card {
  background: #172133;
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 8px;
  padding: 5px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cps-frame-card:hover {
  transform: translateY(-2px);
  border-color: #fde047;
}
.cps-frame-num {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  color: #fde047;
  margin-bottom: 2px;
}
.cps-frame-stage {
  width: 100%;
  height: 44px;
  background: #102a30;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cps-frame-stage .cave-art-tile .cave-sprite-sym,
.cps-sym,
.cps-spin-sprite,
.cps-plaque-36,
.cps-open-portal,
.cps-sp-explode-only {
  width: 38px;
  height: 38px;
}
.cps-stage-reel-frame {
  width: 100%;
  height: 100%;
  background-size: 133.3333% 222.2222%;
  background-position: 0% 0%;
}
.cps-fire-stage {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cps-fire-stage .cave-sp-fire-only {
  position: absolute;
  inset: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  pointer-events: none;
}
.cps-fire-stage .cave-sp-fire-only.dim { opacity: 0.55; }
.cps-fire-stage .cave-sp-fire-only.blaze { opacity: 1; animation: caveFireBlaze 0.6s infinite alternate; }
.cps-spark-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  gap: 4px;
}
.cps-mini-coin { width: 24px; height: 24px; }
.cps-mini-medallion { width: 28px; height: 28px; }
.cps-beam {
  flex: 1;
  height: 4px;
  background: linear-gradient(90deg, #fef08a, #f59e0b);
  border-radius: 99px;
  box-shadow: 0 0 8px #fde047;
}
.cps-spin-sprite {
  animation: caveSpinWheelRotate 2.4s linear infinite;
}
.cps-frame-caption {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.cps-frame-caption strong {
  font-size: 10px;
  color: #f8fafc;
  line-height: 1.15;
}
.cps-frame-caption small {
  font-size: 8.5px;
  color: #94a3b8;
  line-height: 1.1;
}
.cps-keyframe-timeline {
  margin-top: 10px;
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  padding: 8px 10px;
}
.cps-kf-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  padding-bottom: 4px;
  margin-bottom: 6px;
}
.cps-kf-scale {
  display: flex;
  gap: 42px;
  font-size: 10px;
  color: #94a3b8;
}
.cps-kf-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  padding: 3px 0;
}
.cps-kf-lbl {
  color: #cbd5e1;
}
.cps-kf-lbl i {
  color: #38bdf8;
  font-style: normal;
  font-weight: 700;
  margin-right: 4px;
}
.cps-kf-bar {
  position: relative;
  height: 14px;
  background: rgba(56, 189, 248, 0.16);
  border-left: 2px solid #38bdf8;
  border-right: 2px solid #38bdf8;
  border-radius: 3px;
}
.cps-kf-bar b {
  position: absolute;
  top: -1px;
  color: #fde047;
  font-size: 10px;
}

.cave-top-sky .slot-ebm-trophy-btn {
  color: #fde047 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}
