.mhbm-odds-screen{max-width:none;margin:0 18px 0 0}.mhbm-odds-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0}.mhbm-odds-toolbar .button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border-radius:8px}.mhbm-board{min-height:calc(100vh - 150px);padding:22px;background:radial-gradient(circle at 0 0,#16375d 0,transparent 28%),linear-gradient(145deg,#06111f,#0a1c31 58%,#071426);border:1px solid #203a59;border-radius:18px;box-shadow:0 18px 50px rgba(2,8,23,.2)}
.mhbm-board-title{margin:0;padding:0 0 18px;border:0}.mhbm-board-heading,.mhbm-board-live{display:flex;align-items:center;gap:12px}.mhbm-board-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:linear-gradient(135deg,#22c55e,#0ea5e9);box-shadow:0 8px 24px rgba(14,165,233,.25);color:#fff!important;font-weight:900;letter-spacing:-1px}.mhbm-board-title strong{font-size:clamp(22px,2vw,31px);letter-spacing:.04em}.mhbm-board-title span{color:#9db2ca}.mhbm-board-live{padding:9px 12px;background:rgba(15,39,71,.8);border:1px solid #294d73;border-radius:999px}.mhbm-board-live i{width:8px;height:8px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 5px rgba(74,222,128,.12);animation:mhbm-pulse 1.8s infinite}.mhbm-board-live time{font-size:14px;color:#dbeafe}.mhbm-board-live span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}
.mhbm-board-meta{display:flex;align-items:center;gap:8px;margin-bottom:14px}.mhbm-board-meta>span{padding:6px 10px;background:rgba(15,39,71,.72);border:1px solid #24415f;border-radius:999px;color:#9db2ca;font-size:12px}.mhbm-board-meta b{color:#fff}.mhbm-board-meta #mhbm-refresh-status{margin-left:auto;color:#86efac}.mhbm-board-grid.mhbm-grid-4x4{gap:14px;grid-template-rows:repeat(4,minmax(230px,1fr))}.mhbm-grid-4x4>.mhbm-odds-card{max-height:360px;background:linear-gradient(180deg,#102a49,#0c213a);border:1px solid #2a4968;border-radius:14px;box-shadow:0 8px 22px rgba(0,0,0,.2);scrollbar-color:#365979 transparent;scrollbar-width:thin;transition:transform .18s,border-color .18s,box-shadow .18s}.mhbm-grid-4x4>.mhbm-odds-card:hover{transform:translateY(-2px);border-color:#4777a5;box-shadow:0 13px 28px rgba(0,0,0,.28)}
.mhbm-odds-card>header{align-items:center;padding:13px 14px;background:rgba(21,54,88,.96);border-bottom:1px solid #315272}.mhbm-race-kicker{display:block;margin-bottom:3px;color:#8eb4da!important;font-size:10px!important;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.mhbm-odds-card>header b{display:block;overflow:hidden;color:#f8fafc;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.mhbm-race-time{text-align:right}.mhbm-race-time>span{display:block;color:#fff!important;font-size:19px;font-weight:900}.mhbm-race-time small{display:inline-block;margin-top:3px;padding:2px 7px;border-radius:999px;font-size:9px;font-weight:900;text-transform:uppercase}.mhbm-race-time .is-open{background:#14532d;color:#86efac}.mhbm-race-time .is-scheduled{background:#1e3a8a;color:#bfdbfe}.mhbm-board-place{align-items:center;padding:8px 14px;background:rgba(7,20,38,.5);border-bottom:1px solid #274563}.mhbm-board-place span{color:#87a6c5;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.mhbm-board-place strong{color:#e9d5ff;font-size:13px}.mhbm-odds-table{overflow:auto}.mhbm-board table{table-layout:auto}.mhbm-board table th{position:sticky;top:0;z-index:1;padding:7px 8px;background:#0d233c;border-top:0;border-bottom:1px solid #294765;color:#7fa8d0;font-size:9px;letter-spacing:.055em}.mhbm-board td{padding:8px;border-top:1px solid rgba(55,88,120,.55);font-size:13px}.mhbm-board tbody tr{transition:background .15s}.mhbm-board tbody tr:hover{background:rgba(59,130,246,.1)}.mhbm-board .num{width:30px}.mhbm-board .num span{display:grid;place-items:center;width:25px;height:25px;background:#1e4064;border:1px solid #37648f;border-radius:7px;color:#dbeafe;font-weight:900}.mhbm-board .horse{min-width:105px}.mhbm-board .horse strong{display:block;overflow:hidden;max-width:160px;color:#f8fafc;text-overflow:ellipsis;white-space:nowrap}.mhbm-board .horse small{display:block;margin-top:2px;color:#87a6c5;font-size:9px}.mhbm-board .odd{min-width:65px}.mhbm-board .fonds{color:#86efac}.mhbm-board .avg{min-width:80px;color:#ddd6fe;white-space:nowrap}.mhbm-board-odds-form .mhbm-click-odds{padding:4px 8px!important;background:rgba(250,204,21,.08)!important;border:1px solid rgba(250,204,21,.22)!important;border-radius:7px!important}.mhbm-board-odds-form .mhbm-click-odds:hover,.mhbm-board-odds-form .mhbm-click-odds:focus{background:rgba(59,130,246,.18)!important;border-color:#60a5fa!important}.mhbm-board-empty{grid-column:1/-1;display:grid;place-items:center;min-height:300px;padding:30px;border:1px dashed #365979;border-radius:14px;color:#91aac3;text-align:center}.mhbm-board-empty strong{color:#fff;font-size:24px}.mhbm-board-empty span{margin-top:6px}.mhbm-board-page{color:#9db2ca}.mhbm-board-page:not(:empty)::before{content:"Auto rotation · ";color:#647f9c}
@keyframes mhbm-pulse{50%{box-shadow:0 0 0 8px rgba(74,222,128,0)}}@media(max-width:1200px){.mhbm-board-grid.mhbm-grid-4x4{grid-template-rows:auto}.mhbm-grid-4x4>.mhbm-odds-card{max-height:none}}@media(max-width:700px){.mhbm-odds-screen{margin-right:10px}.mhbm-odds-toolbar,.mhbm-board-title{align-items:stretch;flex-direction:column}.mhbm-board-live{justify-content:center}.mhbm-board-meta{flex-wrap:wrap}.mhbm-board-meta #mhbm-refresh-status{margin-left:0}.mhbm-board{padding:12px;border-radius:12px}.mhbm-board-title strong{font-size:20px}.mhbm-board-meta>span:nth-child(2){display:none}.mhbm-board td{padding:7px 6px}.mhbm-board .avg{min-width:72px}.mhbm-odds-toolbar>div{display:flex;gap:6px}.mhbm-odds-toolbar>div .button{flex:1}}

/* Show the complete field for every race; no runner is hidden in an inner scroller. */
.mhbm-board-grid.mhbm-grid-4x4{grid-template-rows:none;align-items:start}.mhbm-grid-4x4>.mhbm-odds-card{max-height:none;overflow:visible}.mhbm-odds-card .mhbm-odds-table{overflow-x:auto;overflow-y:visible}.mhbm-odds-card table th{position:static}.mhbm-runner-row .horse-no[readonly]{background:#eef2f7;color:#475569;font-weight:800;text-align:center;cursor:not-allowed}

.mhbm-quick-selection{grid-column:1/-1;display:grid;grid-template-columns:minmax(190px,1fr) 150px 150px auto;align-items:end;gap:10px;padding:14px 16px;background:#eff6ff;border:1px solid #93c5fd;border-left:5px solid #2563eb;border-radius:10px}.mhbm-quick-selection>div{align-self:center}.mhbm-quick-selection strong,.mhbm-quick-selection small{display:block}.mhbm-quick-selection small{margin-top:3px;color:#64748b}.mhbm-quick-selection label{display:grid;gap:4px;font-weight:700}.mhbm-quick-selection input{width:100%;margin:0}.mhbm-quick-selection>span{grid-column:1/-1;min-height:18px;font-weight:700}.mhbm-quick-selection .is-success{color:#166534}.mhbm-quick-selection .is-error{color:#b91c1c}@media(max-width:800px){.mhbm-quick-selection{grid-template-columns:1fr 1fr}.mhbm-quick-selection>div,.mhbm-quick-selection>span{grid-column:1/-1}.mhbm-quick-selection button{align-self:end}}@media(max-width:500px){.mhbm-quick-selection{grid-template-columns:1fr}.mhbm-quick-selection>*{grid-column:1!important}}

.mhbm-race-summary-row{align-items:center}.mhbm-race-summary-row>div span{display:block;margin-top:3px;color:#64748b}.mhbm-race-state-form{display:flex;align-items:end;gap:8px;margin:0}.mhbm-race-state-form label{display:grid;gap:3px;color:#475569;font-size:11px;font-weight:700}.mhbm-race-state-form select{min-width:125px}.mhbm-meeting-link{padding:5px;border-radius:8px;cursor:pointer;transition:background .15s}.mhbm-meeting-link:hover,.mhbm-meeting-link:focus{background:#eff6ff;outline:2px solid #93c5fd;outline-offset:2px}@media(max-width:700px){.mhbm-race-summary-row{align-items:stretch!important;flex-direction:column}.mhbm-race-state-form{align-items:stretch}.mhbm-race-state-form label{flex:1}}

.mhbm-view-multiple{margin-top:6px!important}.mhbm-multiple-detail-row>td{padding:0!important;background:#f8fafc}.mhbm-multiple-combination{padding:16px;border-left:5px solid #2563eb}.mhbm-combination-legs{display:grid;gap:7px;margin-top:10px}.mhbm-combination-legs>div{display:grid;grid-template-columns:minmax(260px,1fr) minmax(250px,1fr) auto;align-items:center;gap:12px;padding:10px 12px;background:#fff;border:1px solid #dbe3ef;border-radius:8px}.mhbm-combination-legs span,.mhbm-combination-legs small{display:block}.mhbm-combination-legs small{color:#64748b}.mhbm-combination-legs b{padding:4px 8px;border-radius:999px;background:#e2e8f0;color:#475569;font-size:11px;text-transform:uppercase}.mhbm-combination-legs .is-active{background:#dcfce7;color:#166534}.mhbm-combination-legs .is-won{background:#dbeafe;color:#1d4ed8}.mhbm-combination-legs .is-lost,.mhbm-combination-legs .is-not_activated{background:#fee2e2;color:#991b1b}.mhbm-combination-legs .is-waiting{background:#fef3c7;color:#92400e}.mhbm-dashboard-risk .mhbm-race{overflow:auto}.mhbm-dashboard-risk .mhbm-race table{min-width:720px}.mhbm-dashboard-risk .mhbm-race td:nth-child(n+3),.mhbm-dashboard-risk .mhbm-race th:nth-child(n+3){text-align:right}.mhbm-dashboard-risk .mhbm-race td:nth-child(6) strong{display:inline-block;min-width:48px;padding:4px 7px;background:#0f2747;color:#facc15;border-radius:6px;text-align:center}@media(max-width:750px){.mhbm-combination-legs>div{grid-template-columns:1fr}.mhbm-combination-legs b{justify-self:start}}
.mhbm-races.mhbm-dashboard-risk{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.mhbm-dashboard-odd .mhbm-board-odds-form{justify-content:flex-end}.mhbm-dashboard-odd .mhbm-click-odds{background:#0f2747!important;border-color:#315272!important}.mhbm-dashboard-odd .mhbm-click-odds:hover,.mhbm-dashboard-odd .mhbm-click-odds:focus{background:#17365c!important}@media(max-width:1100px){.mhbm-races.mhbm-dashboard-risk{grid-template-columns:1fr}}
.mhbm-result{display:inline-block;padding:4px 7px;border-radius:6px;font-weight:900;white-space:nowrap}.mhbm-result.is-win{background:#dcfce7;color:#166534}.mhbm-result.is-loss{background:#fee2e2;color:#b91c1c}.mhbm-result.is-even{background:#e2e8f0;color:#475569}.mhbm-board .mhbm-result{text-align:right;font-size:11px}.mhbm-board .mhbm-result.is-win{background:rgba(34,197,94,.16);color:#86efac}.mhbm-board .mhbm-result.is-loss{background:rgba(239,68,68,.16);color:#fca5a5}.mhbm-board .mhbm-result.is-even{background:rgba(148,163,184,.14);color:#cbd5e1}.mhbm-dashboard-risk .mhbm-race table{min-width:880px}

/* Equal-height, space-efficient race-card grids. */
.mhbm-board-grid.mhbm-grid-4x4{align-items:stretch;grid-auto-rows:auto}.mhbm-grid-4x4>.mhbm-odds-card{display:flex;height:100%;flex-direction:column}.mhbm-odds-card .mhbm-odds-table{flex:1}.mhbm-odds-card table{width:100%;table-layout:fixed}.mhbm-odds-card th,.mhbm-odds-card td{padding:5px 4px!important;font-size:10px!important}.mhbm-odds-card th:nth-child(1){width:7%}.mhbm-odds-card th:nth-child(2){width:27%}.mhbm-odds-card th:nth-child(3){width:15%}.mhbm-odds-card th:nth-child(4){width:12%}.mhbm-odds-card th:nth-child(5){width:18%}.mhbm-odds-card th:nth-child(6){width:21%}.mhbm-odds-card .horse,.mhbm-odds-card .odd,.mhbm-odds-card .avg{min-width:0}.mhbm-odds-card .horse strong{max-width:100%;font-size:11px}.mhbm-odds-card .num span{width:22px;height:22px}.mhbm-odds-card .mhbm-click-odds{min-width:42px!important;padding:2px 4px!important;font-size:15px!important}.mhbm-odds-card .mhbm-result{max-width:100%;padding:3px 4px;font-size:9px!important;overflow:hidden;text-overflow:ellipsis}
.mhbm-races.mhbm-dashboard-risk{align-items:stretch}.mhbm-dashboard-risk .mhbm-race{display:flex;height:100%;flex-direction:column}.mhbm-dashboard-risk .mhbm-table-scroll{flex:1}.mhbm-dashboard-risk .mhbm-race table{width:100%;min-width:0;table-layout:fixed}.mhbm-dashboard-risk .mhbm-race th,.mhbm-dashboard-risk .mhbm-race td{padding:7px 5px;font-size:11px}.mhbm-dashboard-risk .mhbm-race th:nth-child(1){width:5%}.mhbm-dashboard-risk .mhbm-race th:nth-child(2){width:20%}.mhbm-dashboard-risk .mhbm-race th:nth-child(3){width:11%}.mhbm-dashboard-risk .mhbm-race th:nth-child(4){width:14%}.mhbm-dashboard-risk .mhbm-race th:nth-child(5){width:9%}.mhbm-dashboard-risk .mhbm-race th:nth-child(6){width:12%}.mhbm-dashboard-risk .mhbm-race th:nth-child(7){width:15%}.mhbm-dashboard-risk .mhbm-race th:nth-child(8){width:14%}.mhbm-dashboard-risk .mhbm-result{max-width:100%;padding:3px 5px;overflow:hidden;text-overflow:ellipsis}.mhbm-dashboard-risk .mhbm-click-odds{min-width:44px!important;padding:2px 4px!important;font-size:15px!important}
.mhbm-risk-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.mhbm-risk-card{display:flex;height:100%;flex-direction:column}.mhbm-risk-card-body{flex:1}.mhbm-risk-card-head,.mhbm-risk-horse{grid-template-columns:minmax(120px,1.6fr) repeat(4,minmax(62px,1fr));gap:5px}.mhbm-risk-card-head span:not(:first-child),.mhbm-risk-horse>b,.mhbm-risk-horse>strong{text-align:center}.mhbm-risk-horse>strong{justify-self:center}.mhbm-risk-result{padding:4px 5px;border-radius:6px;font-size:11px!important;white-space:nowrap}.mhbm-risk-result.is-win{background:#dcfce7;color:#166534!important}.mhbm-risk-result.is-loss{background:#fee2e2;color:#b91c1c!important}.mhbm-risk-result.is-even{background:#e2e8f0;color:#475569!important}@media(max-width:900px){.mhbm-risk-card-grid{grid-template-columns:1fr}.mhbm-dashboard-risk .mhbm-race table{min-width:760px}.mhbm-odds-card table{min-width:500px}}@media(max-width:600px){.mhbm-risk-card-head,.mhbm-risk-horse{grid-template-columns:minmax(105px,1.4fr) repeat(4,minmax(55px,1fr));font-size:10px}}
.mhbm-board th:last-child,.mhbm-board td:last-child{text-align:center!important}.mhbm-board td:last-child .mhbm-result{display:block;text-align:center!important}
