*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#07111f;color:#e8edf5}.topbar{height:64px;background:#081524;border-bottom:1px solid #1d3044;display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:5}.brand{font-size:25px;font-weight:800;color:#fff}.brand span{color:#13d66f}.nav a,.btn{color:#fff;text-decoration:none;margin-left:12px}.wrap{max-width:1500px;margin:0 auto;padding:22px}.grid{display:grid;grid-template-columns:230px 1fr 320px;gap:18px}.panel,.card{background:#0e1c2c;border:1px solid #1d344b;border-radius:10px;padding:16px}.sidebar a{display:block;padding:12px;border-radius:7px;color:#cbd5e1;text-decoration:none}.sidebar a:hover{background:#15324a;color:#21df7d}.hero{background:linear-gradient(120deg,#0b2831,#0b5d3a);min-height:170px;display:flex;align-items:center;padding:32px;border-radius:12px;margin-bottom:18px}.hero h1{font-size:38px;margin:0 0 8px}.green{color:#21df7d}.red{color:#ff4f5e}.muted{color:#9fb0c2}.btn{display:inline-block;border:0;border-radius:7px;padding:10px 16px;background:#1a3045;cursor:pointer}.btn.green{background:#14d970;color:#03110a;font-weight:700}.btn.red{background:#d63c4d;color:#fff}.btn.small{padding:7px 10px;margin:2px}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.form-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}input,select{width:100%;padding:10px;border-radius:6px;border:1px solid #2b4259;background:#071522;color:#fff;margin:5px 0}.section-title{display:flex;justify-content:space-between;align-items:center;margin:16px 0 10px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{padding:10px;border-bottom:1px solid #22384d;text-align:left;white-space:nowrap}th{color:#8fa9c0}.badge{padding:4px 8px;border-radius:12px;background:#183047}.badge.live{background:#a91f31}.alert{padding:12px;border-radius:7px;margin-bottom:12px}.alert.ok{background:#0a4c2f}.alert.err{background:#68202a}.match{border:1px solid #244057;border-radius:9px;padding:14px;margin-bottom:12px;background:#0b1a29}.odds{display:flex;gap:8px;flex-wrap:wrap}.odd{padding:9px 12px;background:#14293d;border:1px solid #2c4963;border-radius:7px;color:#fff}.wallet{font-size:28px;font-weight:800;color:#21df7d}.login-shell{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card{width:380px}.login-card h2{text-transform:capitalize}.tabs a{display:inline-block;padding:8px 12px;color:#bcd;text-decoration:none}.tabs a:hover{color:#21df7d}@media(max-width:1000px){.grid{grid-template-columns:1fr}.sidebar{display:none}}@media(max-width:700px){.form-row,.form-row.three{grid-template-columns:1fr}.wrap{padding:12px}.hero h1{font-size:28px}}
.live-period{font-size:13px;color:#9fb0c2;margin:8px 0 10px}.ratio-strip{display:flex;gap:10px;margin-bottom:10px}.ratio-strip span{background:#13283a;border:1px solid #28465f;padding:8px 12px;border-radius:7px}.auto-refresh{font-size:12px}.live-game-card{transition:opacity .2s ease}.live-empty{text-align:center;padding:28px}
.anchor{scroll-margin-top:82px}.inline{display:inline}.mini{width:125px;display:inline}.nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.nav a{margin-left:4px}
.wrap>.panel,.wrap>.form-row,.wrap>.grid,.wrap>.section-title{margin-bottom:22px}.form-row>.panel{height:100%;padding:24px}.panel h3{margin-top:4px;margin-bottom:20px}.panel>form:not(.inline){display:grid;gap:10px}.panel>form:not(.inline) input,.panel>form:not(.inline) select{margin:0}.panel>form:not(.inline) .form-row{gap:14px}.panel>form:not(.inline) .btn{justify-self:start;margin-top:4px}.wrap>.form-row.three{gap:18px;align-items:stretch}.wrap>.form-row.three>.panel{min-height:360px}.wrap>.form-row.three>.panel:nth-child(3){min-height:510px}.result-profit{color:#21df7d;font-weight:700}.result-loss{color:#ff6976;font-weight:700}.result-pending{color:#f4c95d;font-weight:700}
.front-page{background:radial-gradient(circle at 85% 8%,#103d33 0,transparent 28%),#050d18}.premium-nav{background:rgba(5,13,24,.9);backdrop-filter:blur(14px)}.premium-hero{min-height:330px;padding:48px;background:radial-gradient(circle at 80% 50%,rgba(32,222,124,.28),transparent 28%),linear-gradient(125deg,#0b1e30,#0a422f);border:1px solid #1e6a4b;justify-content:space-between;overflow:hidden}.premium-hero h1{font-size:52px;line-height:1.05}.premium-hero p{max-width:620px;font-size:17px;line-height:1.6}.eyebrow{color:#44ec96;font-size:12px;font-weight:800;letter-spacing:1.8px}.hero-actions{display:flex;gap:10px;margin-top:22px}.btn.glass{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15)}.hero-score{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.pulse-ring{width:110px;height:110px;border-radius:50%;display:grid;place-items:center;background:rgba(16,217,112,.12);border:2px solid #14d970;color:#49f49e;font-weight:900;box-shadow:0 0 0 12px rgba(20,217,112,.06),0 0 45px rgba(20,217,112,.3)}.hero-score strong{font-size:22px}.hero-score small{color:#9fb0c2}.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:18px 0;background:#203448;border:1px solid #203448;border-radius:12px;overflow:hidden}.feature-strip div{background:#0d1a29;padding:18px 22px}.feature-strip b,.feature-strip span{display:block}.feature-strip span{color:#8fa5b9;font-size:13px;margin-top:5px}.front-layout{display:grid;grid-template-columns:210px minmax(0,1fr) 260px;gap:18px;align-items:start}.sports-menu,.login-cta{position:sticky;top:84px}.sports-menu a{display:block;padding:12px;margin:4px 0;border-radius:8px;color:#bdd0df}.sports-menu a.active,.sports-menu a:hover{background:#15382e;color:#4bf09c}.match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.match{margin:0;background:linear-gradient(145deg,#101f31,#0a1725);box-shadow:0 12px 30px rgba(0,0,0,.2);transition:transform .2s,border-color .2s}.match:hover{transform:translateY(-3px);border-color:#2b8a63}.match-head{display:flex;justify-content:space-between;gap:10px}.match-head h3{margin:12px 0 6px}.sport-chip{display:inline-block;background:#17422f;color:#52f3a0;border-radius:20px;padding:5px 9px;font-size:11px;font-weight:800}.league-name{color:#8fa9c0;font-size:12px;margin-left:8px}.badge.live i{display:inline-block;width:7px;height:7px;background:#ff5363;border-radius:50%;margin-right:4px}.teams{display:grid;grid-template-columns:1fr 36px 1fr;align-items:center;text-align:center;background:#07131f;border-radius:10px;padding:16px 8px;margin:14px 0}.teams strong{font-size:16px}.teams span{color:#61788d;font-size:11px;font-weight:900}.ratio-strip span{flex:1;text-align:center}.refresh-pill{font-size:12px;background:#102b25;color:#4ced9a;padding:7px 10px;border-radius:20px}.login-cta{text-align:center;padding:25px}.cta-icon{width:52px;height:52px;margin:auto;border-radius:15px;background:#14d970;color:#052014;display:grid;place-items:center;font-size:28px}.btn.full{display:block;margin:10px 0 0;width:100%}footer{display:flex;justify-content:space-between;align-items:center;color:#8094a6;border-top:1px solid #1d3044;margin-top:35px;padding:25px 5%}.small-brand{font-size:18px}@media(max-width:1100px){.front-layout{grid-template-columns:1fr}.sports-menu,.login-cta{position:static}.sports-menu{display:none}.match-grid{grid-template-columns:1fr}}@media(max-width:700px){.premium-hero{padding:28px}.premium-hero h1{font-size:38px}.hero-score{display:none}.feature-strip{grid-template-columns:1fr}.match-grid{grid-template-columns:1fr}footer{gap:20px;align-items:flex-start;flex-direction:column}}

.profile-menu{position:relative;margin-left:auto}.profile-menu summary{cursor:pointer;list-style:none;padding:10px;border:1px solid #38516a;border-radius:8px}.profile-dropdown{position:absolute;right:0;top:100%;min-width:190px;background:#152b3e;z-index:100;border:1px solid #38516a;border-radius:8px;padding:8px}.profile-dropdown a{display:block;padding:10px;white-space:nowrap}.scheduled-match[hidden]{display:none}textarea{width:100%;box-sizing:border-box;padding:10px;background:#102235;color:#fff;border:1px solid #38516a;border-radius:5px}

.profile-menu summary{display:flex;align-items:center;gap:9px;color:#fff;font-size:14px;min-height:42px}.profile-menu summary::-webkit-details-marker{display:none}.profile-icon{display:block;flex-shrink:0;width:24px;height:24px;stroke:#fff}.profile-caret{display:block;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:0 3px 4px}.profile-menu[open] .profile-caret{transform:rotate(225deg);margin-bottom:0}.sports-catalog a{justify-content:center;font-size:14px}.sports-catalog a span{font-size:13px}

.header-account-id{margin-left:18px;margin-right:auto;padding:7px 11px;border:1px solid #2b4259;border-radius:6px;color:#e8edf5;font-size:14px;white-space:nowrap}.header-account-id strong{color:#21df7d}.topbar .brand{flex-shrink:0}@media(max-width:1000px){.topbar{height:auto;min-height:64px;flex-wrap:wrap;gap:8px;padding:10px 16px}.topbar .nav{margin-left:auto}}@media(max-width:700px){.header-account-id{margin-left:0}.topbar .nav{width:100%;justify-content:flex-end}}

.brand{text-decoration:none}.sports-catalog{display:flex;gap:9px;overflow-x:auto;padding:12px 2px;margin:10px 0 18px}.sports-catalog a{min-width:86px;padding:12px;border:1px solid #253d54;background:#0e1c2c;border-radius:10px;color:#d7e2eb;text-decoration:none;font-size:14px;text-align:center}.sports-catalog a.active{border-color:#20dd7b;color:#20dd7b}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0}.summary-card{background:#102239;border:1px solid #27425b;border-radius:12px;padding:18px}.summary-card span{display:block;color:#91a8bb;font-size:12px}.summary-card strong{display:block;font-size:25px;margin-top:8px}.summary-card.credit strong{color:#2be685}.summary-card.withdraw strong{color:#ff6976}.account-content{max-width:600px;margin:24px auto}.outcome-row{grid-template-columns:2fr 1fr auto;align-items:center}.catalog-settings{margin-top:20px}.catalog-settings summary{cursor:pointer;padding:12px}.catalog-settings form{padding:15px}#typeParameters [hidden]{display:none}@media(max-width:700px){.summary-grid{grid-template-columns:1fr}.outcome-row{grid-template-columns:1fr 1fr auto}}

/* Version 10 panel navigation and spacing */
.topbar a,.topbar a:link,.topbar a:visited,.topbar a:hover,.topbar a:focus,.sports-catalog a{text-decoration:none}.topbar{gap:16px;padding:14px 24px;min-height:76px;height:auto}.topbar .nav{gap:8px;line-height:1.5}.nav>a{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;margin:0;border-radius:7px}.nav>a:hover,.nav>a:focus-visible{background:#183047}.nav-icon{display:block;width:19px;height:19px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav>span{padding:8px 10px}.header-account-id{margin-left:0}.profile-dropdown a{display:block;margin:0;padding:12px 14px;text-decoration:none}.wrap{padding:28px 24px}.panel,.card{padding:24px;line-height:1.6}.panel h2,.panel h3{margin:0 0 20px;line-height:1.4}.panel p{margin:12px 0 18px}.wrap>.panel,.wrap>.form-row,.wrap>.grid{margin-bottom:26px}.form-row{gap:16px}.panel label{display:block;line-height:1.5}.panel label>input,.panel label>select{display:block;margin-top:8px;margin-bottom:12px}.panel>form{gap:16px}.panel form .btn{margin-left:0}.inline .mini{margin:5px 6px 5px 0}.section-title{gap:16px;flex-wrap:wrap}.sports-catalog{gap:12px;margin-bottom:24px}.anchor{scroll-margin-top:118px}th,td{padding:14px 16px;line-height:1.5}.transaction-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.transaction-filters button{justify-self:start}.transaction-row[hidden]{display:none}@media(max-width:1000px){.topbar{flex-wrap:wrap}.topbar .nav{width:100%;justify-content:flex-start}.transaction-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.wrap{padding:18px 12px}.panel{padding:18px}.transaction-filters{grid-template-columns:1fr}.topbar{padding:12px}.nav>a{padding:8px;gap:6px}.anchor{scroll-margin-top:190px}}

.market-details summary{cursor:pointer;padding:12px;font-size:1.05rem}.market-content{padding:16px}.market-content form{margin:18px 0}.market-content li{margin:8px 0}textarea{width:100%;padding:12px;box-sizing:border-box}#queuedBets .queued-bet{padding:12px;margin:12px 0;border:1px solid #496078;border-radius:8px}

/* Readable match titles and schedule in panel game tables. */
#games .game-title-link,#games .game-title-link:visited{display:inline-block;color:#e5edf8;text-decoration:none;font-weight:600;line-height:1.5;margin-bottom:5px}
#games .game-title-link:hover{color:#28db95;text-decoration:none}
#games .game-title-link:focus-visible{outline:2px solid #28db95;outline-offset:4px;border-radius:3px}
#games td{line-height:1.65;padding-top:18px;padding-bottom:18px}
#games .match-date{display:block;white-space:nowrap}
#games .match-date-separator{display:block;color:#91a6bc;font-size:.85rem}

/* Compact typography shared by admin, agent, user and account pages. */
body.panel-page{font-size:13px;line-height:1.45}
.panel-page input,.panel-page select,.panel-page textarea,.panel-page button,.panel-page .btn{font-family:inherit;font-size:12px}
.panel-page table{font-size:12px}
.panel-page h1{font-size:22px}.panel-page h2{font-size:18px}.panel-page h3{font-size:15px}
.panel-page .brand{font-size:20px}.panel-page .wallet,.panel-page .summary-card strong{font-size:21px}
.panel-page .profile-menu summary,.panel-page .header-account-id,.panel-page .sports-catalog a,.panel-page .sports-catalog a span,.panel-page .market-details summary{font-size:12px}
.panel-page .live-period,.panel-page .auto-refresh{font-size:11px}

/* Version 18: consistent section spacing and visible link symbols in panels. */
.panel-page{--section-space:28px;--content-space:16px}
.panel-page .wrap{padding:28px 24px}
.panel-page .wrap>.panel,.panel-page .wrap>.form-row,.panel-page .wrap>.grid,.panel-page .wrap>.summary-grid{margin-top:0;margin-bottom:var(--section-space)}
.panel-page .panel,.panel-page .card{padding:24px;min-width:0}
.panel-page .form-row,.panel-page .grid,.panel-page .summary-grid{gap:20px;align-items:start}
.panel-page .form-row>.panel{height:auto;min-height:0}
.panel-page .panel h1,.panel-page .panel h2,.panel-page .panel h3{margin:0 0 18px;line-height:1.4}
.panel-page .panel p{margin:12px 0 18px}
.panel-page .panel>form:not(.inline),.panel-page .market-content>form{display:grid;gap:16px}
.panel-page .panel label{display:block;margin:0;line-height:1.5}
.panel-page .panel label>input,.panel-page .panel label>select,.panel-page .panel label>textarea{margin:8px 0 0}
.panel-page .panel>.form-row,.panel-page .panel>.table-wrap{margin-top:18px}
.panel-page .panel>.form-row{margin-bottom:20px}
.panel-page .section-title{margin:0 0 18px;gap:16px}
.panel-page .section-title h2,.panel-page .section-title h3{margin:0}
.panel-page .market-content{padding:18px 12px 8px}
.panel-page .market-content>form+form{border-top:1px solid #294158;padding-top:20px;margin-top:24px}
.panel-page .market-details summary{padding:10px 0;line-height:1.6}
.panel-page .catalog-settings{border-top:1px solid #294158;padding-top:16px;margin-top:24px}
.panel-page .catalog-settings summary{padding:8px 0 16px}
.panel-page .catalog-settings form{display:grid;gap:16px;padding:16px;border:1px solid #294158;border-radius:8px}
.panel-page .sports-catalog{gap:12px;margin:0 0 var(--section-space);padding:4px 2px}
.panel-page .summary-grid{margin:0 0 var(--section-space)}
.panel-page #liveGames{display:grid;gap:16px}
.panel-page #liveGames>.match{margin:0;min-width:0}
.panel-page #queuedBets .queued-bet{padding:16px;margin:16px 0}
.panel-page .table-wrap{border-radius:6px}
.panel-page th,.panel-page td{padding:14px 16px;vertical-align:top}
.panel-page .inline{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px;margin:4px 12px 4px 0}
.panel-page .inline .mini,.panel-page .inline .btn{margin:0}
.panel-page .transaction-filters{align-items:end;margin:20px 0 24px;gap:18px}
.panel-page .transaction-filters .btn{margin:0;min-height:38px}
.panel-page a[href],.panel-page a[href]:link,.panel-page a[href]:visited,.panel-page a[href]:hover,.panel-page a[href]:focus,.panel-page a[href]:active{text-decoration:none;color:#b9e6d4}
.panel-page a[href]:hover{color:#47efa2}
.panel-page a[href]:focus-visible{outline:2px solid #47efa2;outline-offset:4px;border-radius:4px}
.panel-page a.btn{color:#fff}.panel-page a.btn.green{color:#03110a}
.panel-page .topbar a,.panel-page .sports-catalog a{color:#e8edf5}
.panel-page .sports-catalog a.active{color:#21df7d}
.panel-page .link-symbol{display:inline-block;margin-right:8px;line-height:1;vertical-align:baseline;color:currentColor;font-size:1em}
.panel-page .brand .link-symbol{font-size:14px;color:#21df7d}
.panel-page .profile-dropdown{padding:8px;top:calc(100% + 8px)}
.panel-page .profile-dropdown a{padding:12px 14px;margin:2px 0;border-radius:6px;line-height:1.5}
.panel-page .profile-dropdown a:hover{background:#203c50}
@media(max-width:700px){
 .panel-page{--section-space:20px}
 .panel-page .wrap{padding:20px 12px}
 .panel-page .panel,.panel-page .card{padding:18px}
 .panel-page .form-row,.panel-page .grid,.panel-page .summary-grid{gap:16px}
 .panel-page .topbar{gap:12px}
 .panel-page th,.panel-page td{padding:12px}
 .panel-page .market-content{padding:14px 0 4px}
}

.panel-page .panel>a+h1{margin-top:18px}

.message-dialog{background:#0e1c2c;color:#e8edf5;border:1px solid #2b4259;border-radius:12px;max-width:440px;width:calc(100% - 32px);padding:24px}.message-dialog::backdrop{background:rgba(0,0,0,.7)}.message-dialog p{white-space:pre-wrap;overflow-wrap:anywhere}.panel-page .alert{display:none}

/* Shared account controls for admin and agent: separated forms with consistent gaps. */
.panel-page .accounts-section{margin:24px 0}
.panel-page .accounts-table{width:100%;min-width:1120px;table-layout:auto}
.panel-page .accounts-table th,.panel-page .accounts-table td{padding:16px 14px;vertical-align:top}
.panel-page .accounts-table .account-password-column{min-width:210px}
.panel-page .accounts-table .account-actions-column{min-width:430px}
.panel-page .accounts-table .account-actions-cell{white-space:normal}
.panel-page .accounts-table .account-password-form{display:flex;flex-direction:column;align-items:flex-start;gap:12px;width:210px;max-width:100%;margin:0}
.panel-page .accounts-table .account-status-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 16px}
.panel-page .accounts-table .account-status-actions form{display:block;margin:0}
.panel-page .accounts-table .account-wallet-actions{display:flex;flex-direction:column;gap:14px}
.panel-page .accounts-table .account-wallet-form{display:grid;grid-template-columns:110px minmax(170px,1fr) 92px;align-items:center;gap:10px;margin:0;padding:12px;background:#0a1725;border:1px solid #263d52;border-radius:8px}
.panel-page .accounts-table .account-password-form input,.panel-page .accounts-table .account-wallet-form input{width:100%;min-width:0;height:38px;margin:0;padding:8px 10px}
.panel-page .accounts-table .btn{margin:0;min-height:38px;padding:8px 12px;line-height:1.3;white-space:nowrap}
.panel-page .accounts-table .account-wallet-form .btn{width:100%;text-align:center}

/* Text-only sport navigation shared by admin, agent and user. */
.panel-page .sports-catalog{display:flex;flex-flow:row nowrap;align-items:center;gap:12px;overflow-x:auto;overflow-y:hidden;padding:6px 2px;margin:0 0 24px;scrollbar-width:thin}
.panel-page .sports-catalog>a{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-width:0;width:auto;height:40px;min-height:40px;padding:10px 16px;line-height:1.2;white-space:nowrap;text-align:center;font-size:12px;border-radius:8px}
.panel-page .sports-catalog>a:hover,.panel-page .sports-catalog>a:focus-visible{background:#183047;border-color:#21df7d}
