.site-wallet{display:flex;align-items:center;gap:14px;min-width:0}
.site-wallet-amounts{max-width:240px;white-space:normal;overflow-wrap:anywhere}
button.meeting-odds-outcome{font-family:inherit;font-weight:400;color:var(--ink);min-width:0;min-height:36px;height:auto;width:auto;margin:0;cursor:pointer;box-shadow:none;transition:background .15s,border-color .15s;justify-content:center;max-width:180px}
.bet-own-stake{grid-column:1/-1;text-align:center;font-size:12px;color:var(--accent-dark);white-space:normal;overflow-wrap:anywhere}
.bet-own-stake[hidden]{display:none}
.bet-market-note{grid-column:1/-1;text-align:center;font-size:11px;line-height:1.5;color:var(--muted)}
button.meeting-odds-outcome:hover:not(:disabled){background:var(--accent-soft);border-color:var(--accent);transform:none}
button.meeting-odds-outcome:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
button.meeting-odds-outcome:disabled{opacity:.45;cursor:not-allowed}
.bet-tournament-market[hidden],.bet-add-express[hidden]{display:none}
.bet-tournament-market .bet-context{margin-top:0}
.bet-tournament-odds{width:100%;border-collapse:collapse;font-size:13px}
.bet-tournament-odds th,.bet-tournament-odds td{padding:5px 4px;text-align:center}
.bet-tournament-odds thead th{font-size:11px;color:var(--muted)}
.bet-tournament-odds tbody tr{border-top:1px solid var(--line)}
.bet-tournament-odds th:first-child{padding-left:0;text-align:left;overflow-wrap:anywhere}
.bet-tournament-odds td:last-child,.bet-tournament-odds th:last-child{padding-right:0}
.bet-tournament-odds button.meeting-odds-outcome{padding-inline:8px;min-height:32px}
.active-bets-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px}
.active-bets-heading h2{margin:0;flex:1}
.active-bets-heading>a{font-size:12px;white-space:nowrap}
[data-active-bets-count]{font:500 11px var(--mono);color:var(--muted);padding:2px 6px;background:var(--ph2);border-radius:6px}
.bet-card{border:1px solid var(--line);border-radius:12px;padding:16px;background:var(--island);color:var(--ink);min-width:0}
.active-bets .bet-card{background:transparent;padding:14px 0;border:0;border-top:1px solid var(--line);border-radius:0}
.bet-card-heading,.bet-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bet-status{font-size:11px;font-weight:700;display:inline-flex;align-items:center;gap:6px}
.bet-status:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}
.bet-status--active,.bet-status--refunded{color:var(--muted)}
.bet-status--won,.bet-positive{color:var(--green,#299a65)}
.bet-status--lost,.bet-negative,.bet-error{color:var(--red,#c76051)}
.bet-id{font-size:11px;color:var(--muted);font-family:var(--mono)}
.bet-meeting{display:block;margin-top:12px;font-size:15px;font-weight:700;color:var(--ink);overflow-wrap:anywhere}
.bet-context{font-size:11px;color:var(--muted);margin:5px 0 12px;overflow-wrap:anywhere}
.bet-pick{font-size:13px;margin:10px 0;overflow-wrap:anywhere}
.bet-pick strong{display:inline-block;margin-left:8px;font-family:var(--mono);font-size:12px}
.bet-figures{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.bet-figures>div{min-width:0}
.bet-figures dt{font-size:11px;color:var(--muted);margin-bottom:5px}
.bet-figures dd{font-size:17px;font-weight:700;margin:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.bet-detail{font-size:12px;line-height:1.6;color:var(--muted);margin:10px 0}
.bet-card-footer{font-size:10px;color:var(--muted);margin-top:14px;flex-wrap:wrap}
.bets-empty{padding:22px 0;text-align:center;font-size:13px;color:var(--muted)}
.bets-empty p{font-weight:600;color:var(--ink);margin:0 0 8px}
.bets-empty span{display:block;max-width:320px;margin:auto;font-size:12px;line-height:1.6}
.bets-page{max-width:1050px;padding-bottom:40px}
.bets-back{font-size:13px;color:var(--muted)}
.bets-page h1{font-size:28px;margin:22px 0}
.bets-wallet-summary{display:flex;align-items:center;gap:32px;margin-bottom:24px}
.bets-wallet-summary>div{display:flex;flex-direction:column;gap:8px;min-width:0}
.bets-wallet-summary span{font-size:12px;color:var(--muted)}
.bets-wallet-summary strong{font-size:25px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.bets-wallet-summary img{margin-left:auto;flex:none}
.bets-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:12px}
.bets-tabs a{padding:9px 16px;border-radius:8px;color:var(--muted);font-size:13px;font-weight:700}
.bets-tabs a[aria-current]{color:var(--ink);background:var(--accent-soft)}
.bets-rules{max-width:750px;margin:18px 0}
.bets-page-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.bets-page-list>.bets-empty{grid-column:1/-1;padding:36px}
.bets-pagination{display:flex;justify-content:center;gap:24px;margin-top:24px;font-size:13px}
.bet-dialog{box-sizing:border-box;width:min(490px,calc(100vw - 28px));max-height:calc(100dvh - 32px);margin:auto;padding:30px;border:1px solid var(--line);border-radius:20px;background:var(--island);color:var(--ink);box-shadow:0 24px 80px #0004;overflow:auto}
.bet-dialog::backdrop{background:rgba(12,18,28,.55);backdrop-filter:blur(4px)}
.bet-dialog-close{position:absolute;top:12px;right:12px;width:30px;min-height:30px;height:30px;padding:0;border:0;background:transparent;color:var(--muted);font-size:24px;box-shadow:none}
.bet-eyebrow{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:var(--muted)}
.bet-dialog h2{font-size:23px;line-height:1.25;margin:10px 20px 20px 0}
.bet-dialog-meeting{font-size:16px;font-weight:700;margin:0;overflow-wrap:anywhere}
.bet-selection{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border-radius:10px;background:var(--ph2);margin:18px 0 22px;font-size:13px}
.bet-selection strong{font-size:18px;white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:65%;text-align:right;font-family:var(--mono)}
#bet-form label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}
#bet-amount{width:100%;font-size:23px;font-weight:600;box-sizing:border-box;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--ph2);color:var(--ink)}
#bet-amount:focus{outline:2px solid var(--accent);outline-offset:2px}
.bet-available{font-size:11px;color:var(--muted);margin:8px 0 14px}
.bet-quick-amounts{display:flex;flex-wrap:wrap;gap:7px}
.bet-quick-amounts button{min-width:0;width:auto;flex:1 1 auto;min-height:32px;height:auto;padding:7px 10px;border-radius:7px;border:1px solid var(--line);background:transparent;color:var(--ink);font-size:12px;box-shadow:none;margin:0}
.bet-dialog-close,.bet-notices button{min-width:0}
.bet-quick-amounts button.is-selected{border-color:var(--accent);background:var(--accent-soft)}
.bet-quick-amounts button:disabled{opacity:.35;cursor:not-allowed}
.bet-projection{padding:15px 0;margin-top:10px;border-bottom:1px solid var(--line)}
.bet-projection>div{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin:8px 0}
.bet-projection span{font-size:12px;max-width:230px;color:var(--muted)}
.bet-projection strong{font-size:17px;font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere;min-width:0}
.bet-error{font-size:12px;min-height:18px;line-height:1.5;margin:12px 0}
.bet-dialog-actions{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px}
.bet-dialog-actions button{margin:0;min-height:42px;height:auto;white-space:normal;padding:10px 14px;font-size:13px}
.bet-dialog-actions .bet-cancel{background:var(--ph2);color:var(--ink);border:1px solid var(--line);box-shadow:none}
.bet-dialog-actions button:disabled{opacity:.45;cursor:not-allowed}
.bet-notices{position:fixed;right:20px;bottom:20px;z-index:1000;width:min(380px,calc(100vw - 32px));max-height:50vh;overflow:auto;display:grid;gap:10px}
.bet-notices[hidden]{display:none}
.bet-notices>div{position:relative;background:var(--island);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:16px 40px 16px 16px;box-shadow:0 8px 30px #0002;font-size:13px}
.bet-notices span{display:block;line-height:1.5}
.bet-notices a{display:inline-block;font-size:12px;margin-top:8px}
.bet-notices button{position:absolute;right:8px;top:8px;width:26px;height:26px;min-height:26px;padding:0;background:transparent;color:var(--muted);border:0;font-size:22px;box-shadow:none}
.bet-legs{list-style:none;margin:14px 0;padding:0;display:grid;gap:12px;font-size:12px}
.bet-legs li{display:grid;gap:6px;padding:12px;border:1px solid var(--line);border-radius:10px;min-width:0;overflow-wrap:anywhere}
.bet-legs .bet-context{margin:0;display:block}
.bet-legs .bet-status{font-size:11px}
.bet-legs small{color:var(--muted);line-height:1.5}
.bet-add-express,.bet-remove{width:auto;min-width:0;height:auto;min-height:32px;padding:8px 12px;margin:0 0 16px;background:var(--ph2);color:var(--ink);border:1px solid var(--line);box-shadow:none;font-size:12px}
.bet-remove{justify-self:end;margin:0}
[data-bet-coupon-list] li{grid-template-columns:minmax(0,1fr) auto;align-items:center}
[data-bet-coupon-list] li>strong,[data-bet-coupon-list] li>span{grid-column:1}
[data-bet-coupon-list] li>.bet-remove{grid-column:2;grid-row:1/3}
.bet-coupon-toggle{position:fixed;left:20px;bottom:20px;z-index:900;width:auto;min-width:0;min-height:44px;height:auto;margin:0;padding:12px 20px;border-radius:24px;box-shadow:0 4px 24px #0003}
[data-bet-single][hidden],[data-bet-express][hidden],.bet-coupon-toggle[hidden]{display:none}
@media(max-width:760px){
  .site-wallet{order:2;margin-left:auto;gap:10px}
  .site-wallet .site-funcoins{margin-left:0}
  .site-wallet-amounts{max-width:150px}
  .site-account{flex-wrap:wrap;row-gap:12px}
  .bets-page-list{grid-template-columns:1fr}
}
@media(max-width:420px){
  .pairs-compare .meeting-odds{gap:5px}
  .filter-inline .filter-status{display:flex;flex-wrap:wrap;max-width:100%}
  .site-wallet-amounts{max-width:100px}
  .bet-dialog{padding:24px 18px}
  .bet-dialog h2{font-size:21px}
  .bet-projection span{max-width:180px;font-size:11px}
  .bets-wallet-summary{gap:18px}
  .bets-wallet-summary strong{font-size:20px}
  .bets-wallet-summary img{display:none}
}
