/* Odds Hub V2.1 — isolated CSS; no V1 selectors or global theme overrides. */
.ohv2, .ohv2 *, .ohv2-portal, .ohv2-portal * { box-sizing:border-box; }
.ohv2 {
 --ohv2-green:#10823c; --ohv2-dark:#08662e; --ohv2-ink:#17282a;
 --ohv2-muted:#64756e; --ohv2-line:#e0e8e2; --ohv2-soft:#f2f9f4;
 --ohv2-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 container:odds-hub-v2 / inline-size; width:100%; max-width:1200px;
 margin:0 auto; padding:4px 0 16px; color:var(--ohv2-ink);
 font-family:var(--ohv2-font); line-height:1.45; font-size:14px;
}
.ohv2 [hidden], .ohv2-portal[hidden], .ohv2-portal [hidden] { display:none!important; }
.ohv2 button, .ohv2 input, .ohv2 select, .ohv2-portal button { font-family:inherit; }
.ohv2 button, .ohv2-portal button { cursor:pointer; }
.ohv2 :is(button,input,select,a):focus-visible, .ohv2-portal :is(button,a):focus-visible { outline:3px solid #55a979!important; outline-offset:2px; }
.ohv2 .screen-reader-text { position:absolute!important; width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/* Compact search and filters */
.ohv2-filters { background:#fff; padding:16px 17px; border:1px solid var(--ohv2-line);border-radius:18px;box-shadow:0 5px 24px rgba(20,53,34,.045);margin-bottom:16px; }
.ohv2-filter-top { display:flex; align-items:center; gap:12px; }
.ohv2-search { display:flex; align-items:center; gap:11px; flex:1; min-width:0; height:48px;padding:0 15px; border-radius:13px;border:1px solid #dde7df;background:#fbfdfb;color:#678076;transition:border-color .16s,box-shadow .16s; }
.ohv2-search:focus-within { border-color:#80bd97;background:#fff;box-shadow:0 0 0 3px rgba(16,130,60,.09); }
.ohv2-search svg { flex:none; }
.ohv2 input.ohv2-search-input { background:transparent!important;border:0!important;box-shadow:none!important;outline:none!important;width:100%;height:100%;padding:0!important;margin:0!important;color:var(--ohv2-ink)!important;min-width:0;border-radius:0!important;font-size:14px!important;font-weight:450; }
.ohv2-search-input::placeholder { color:#92a09a!important;opacity:1; }
.ohv2-league-select-wrap { flex:0 1 245px; min-width:140px; position:relative; }
.ohv2 select.ohv2-league-select { appearance:none;-webkit-appearance:none;display:block;margin:0;width:100%;min-width:0;height:48px;padding:0 38px 0 15px;border:1px solid var(--ohv2-line);border-radius:13px;color:var(--ohv2-ink);background:#fff;box-shadow:none;font-size:13px;font-weight:650; }
.ohv2-league-select-wrap::after { content:"";position:absolute;right:17px;top:18px;width:8px;height:8px;border-right:1.8px solid #526a5f;border-bottom:1.8px solid #526a5f;transform:rotate(45deg);pointer-events:none; }
.ohv2-filter-bottom { display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px; }
.ohv2-dates { display:flex;align-items:center;gap:8px;min-width:0;overflow-x:auto;scrollbar-width:thin;padding:2px 1px 5px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch; }
.ohv2 button.ohv2-date-chip { flex:none;scroll-snap-align:start;min-height:37px;padding:7px 13px;border-radius:999px;border:1px solid #dce6de;background:#fff;color:#3f5a4b;box-shadow:none;font-size:12px;font-weight:650;margin:0;transition:background .16s,border-color .16s,transform .16s;white-space:nowrap; }
.ohv2 button.ohv2-date-chip:hover { background:#f2faf4;border-color:#8cbaa0; }
.ohv2 button.ohv2-date-chip.is-active { background:var(--ohv2-green);border-color:var(--ohv2-green);color:#fff; }
.ohv2 button.ohv2-reset { border:0;background:transparent;color:var(--ohv2-green);padding:8px 4px;margin:0;font-weight:750;font-size:12px;white-space:nowrap;box-shadow:none; }
.ohv2-list-head { display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 4px 12px;color:var(--ohv2-muted);font-size:12px; }
.ohv2-count { color:#3e5549;font-weight:700; }
.ohv2-sort-hint { white-space:nowrap; }

/* Layout: never more than two cards. Container-aware for Elementor. */
.ohv2-list { display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:18px; }
@container odds-hub-v2 (min-width:740px) { .ohv2-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.ohv2-card { display:flex;flex-direction:column;min-width:0;gap:15px;margin:0!important;padding:19px;background:#fff;border:1px solid #e0e8e2;border-radius:17px;box-shadow:0 6px 22px rgba(21,58,37,.065);overflow:hidden;transition:box-shadow .18s,transform .18s,border-color .18s; }
@media(hover:hover) { .ohv2-card:hover { transform:translateY(-2px);box-shadow:0 12px 30px rgba(21,58,37,.105);border-color:#b9d9c4; } }
.ohv2-card-head { display:grid;gap:6px;min-width:0; }
.ohv2-card-meta { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;color:#55665d;font-size:12px;font-weight:650; }
.ohv2-date { display:inline-flex;align-items:center;gap:4px;min-width:0; }
.ohv2-calendar-icon { display:block;flex:none;color:#50765a; }
.ohv2-mid-dot { padding:0 2px;color:#adb9af; }
.ohv2-countdown { display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 10px;border-radius:100px;color:#117239;background:#e9f7ea;font-size:11px;font-weight:750;white-space:nowrap; }
.ohv2-countdown::before { content:"";width:7px;height:7px;display:inline-block;border:1.5px solid currentColor;border-radius:50%;box-shadow:0 0 0 2px rgba(16,130,60,.06);flex:none; }
.ohv2-tournament { color:var(--ohv2-muted);font-size:13px;line-height:1.3;overflow-wrap:anywhere; }
.ohv2 h3.ohv2-title { margin:0!important;padding:0!important;color:var(--ohv2-ink)!important;font-size:19px!important;font-weight:800!important;line-height:1.28!important;letter-spacing:-.3px;overflow-wrap:anywhere; }

/* One unified odds panel with no nested boxes. */
.ohv2-odds { background:linear-gradient(115deg,#f5fbf6 0%,#edf8f0 100%);border:1px solid #deeee3;border-radius:14px;padding:12px 13px 11px; }
.ohv2-odds-heading { display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;font-size:11px;font-weight:750;color:#6c8173; }
.ohv2-odds-heading span:first-child { color:#0c7b35;font-size:12px;letter-spacing:.1px; }
.ohv2-odds-heading span:last-child { font-weight:550;font-size:11px;white-space:nowrap; }
.ohv2-odds-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0; }
.ohv2-odd-tile { min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;justify-content:center;padding:3px 4px 4px;background:transparent;border:0;border-radius:0; }
.ohv2-odd-tile + .ohv2-odd-tile { border-left:1px solid #d2e4d6; }
.ohv2-odd-label { color:#65786b;font-size:12px;font-weight:750; }
.ohv2-odd-value { display:block;color:#0c7634;font-size:27px;font-weight:850;line-height:1.16;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:-.5px; }

/* Shared logo frame: never display:none a pending image. */
.ohv2-source, .ohv2-modal-source { min-width:0;max-width:100%;display:inline-flex;align-items:center;justify-content:center;color:#345442!important;text-decoration:none!important; }
.ohv2 .ohv2-source:hover, .ohv2-portal .ohv2-modal-source:hover { opacity:.82; }
.ohv2-logo-frame { position:relative;display:inline-flex;justify-content:center;align-items:center;width:86px;max-width:100%;height:28px;min-width:0;overflow:hidden;isolation:isolate; }
.ohv2-logo-fallback { display:block;max-width:100%;padding:4px 7px;border:1px solid #dae6df;border-radius:6px;background:rgba(255,255,255,.83);color:#42584a;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:750;line-height:17px; }
.ohv2-logo-image { display:block;position:absolute;inset:0;margin:auto!important;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;border-radius:5px;opacity:0;transition:opacity .1s;pointer-events:none; }
.ohv2-logo-frame.is-loaded .ohv2-logo-image { opacity:1; }
.ohv2-logo-frame.is-loaded .ohv2-logo-fallback { visibility:hidden; }
.ohv2-logo-frame.is-broken .ohv2-logo-image { opacity:0; }
.ohv2-source-empty { min-height:28px;color:#93a098; }

.ohv2 button.ohv2-compare { display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:47px;padding:10px 17px;margin-top:auto!important;margin-bottom:0!important;border:1px solid var(--ohv2-green);border-radius:11px;color:#fff;background:linear-gradient(100deg,#118642,#0b7934);box-shadow:0 3px 9px rgba(16,130,60,.12);font-size:14px;font-weight:750;line-height:1.3;transition:background .16s,box-shadow .16s; }
.ohv2 button.ohv2-compare span { font-size:19px;line-height:1; }
.ohv2 button.ohv2-compare:hover { background:var(--ohv2-dark);color:#fff;box-shadow:0 5px 13px rgba(16,130,60,.18); }
.ohv2-event-data { display:none!important; }
.ohv2-load-wrap { display:flex;justify-content:center;margin:22px 0 6px; }
.ohv2 button.ohv2-load-more { display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;margin:0;padding:10px 22px;border:1px solid #b8d8c2;border-radius:11px;color:#0c7333;background:#eff8f2;font-size:13px;font-weight:750;box-shadow:none; }
.ohv2 button.ohv2-load-more:disabled { opacity:.65;cursor:wait; }
.ohv2-empty { border:1px dashed #cbd9d0;background:#f9fcfa;padding:24px;text-align:center;border-radius:13px;font-size:13px;color:#64746b; }
.ohv2-notice { border:1px solid #f0d4a2;background:#fffaf0;color:#79510b;padding:12px;border-radius:10px;margin-bottom:12px;font-size:13px; }
.ohv2 .ohv2-retry { background:#fff;color:#71500c;border:1px solid #e4c18a;border-radius:7px;padding:6px 10px;margin-left:10px;font-size:12px;font-weight:650; }
.ohv2.is-loading .ohv2-list { opacity:.70;transition:opacity .15s; }

/* Dedicated body-level comparison portal. */
.ohv2-portal { --ohv2-green:#10823c;--ohv2-dark:#08662e;--ohv2-ink:#17282a;--ohv2-muted:#64756e;--ohv2-line:#e0e8e2;--ohv2-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;position:fixed;inset:0;z-index:2147483000;font-family:var(--ohv2-font);font-size:14px;line-height:1.45;color:var(--ohv2-ink); }
.ohv2-backdrop { position:absolute;inset:0;background:rgba(11,27,18,.60); }
.ohv2-dialog { position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(820px,calc(100vw - 38px));max-height:min(90vh,900px);max-height:min(90dvh,900px);display:flex;flex-direction:column;overflow:hidden;border-radius:19px;background:#fff;box-shadow:0 27px 85px rgba(0,0,0,.28); }
.ohv2-sheet-handle { display:none; }
.ohv2-dialog-header { flex:none;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 23px 17px;background:linear-gradient(120deg,#0d813c,#096c30);color:#fff; }
.ohv2-dialog-heading-wrap { min-width:0;display:grid;gap:4px; }
.ohv2-dialog-meta, .ohv2-dialog-league { display:block;font-size:12px;color:#e0f7e8; }
.ohv2-dialog h2.ohv2-dialog-title { font-size:21px!important;font-weight:800!important;line-height:1.24!important;color:#fff!important;margin:4px 0 0!important;letter-spacing:-.3px;overflow-wrap:anywhere; }
.ohv2-portal button.ohv2-close { flex:none;display:grid;place-items:center;width:40px;height:40px;min-height:40px;margin:0;padding:0;border-radius:100px;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.14);color:#fff;font-size:26px;box-shadow:none;line-height:1; }
.ohv2-portal button.ohv2-close:hover { background:rgba(255,255,255,.27);color:#fff; }
.ohv2-dialog-scroll { position:relative;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:21px 23px 25px;scrollbar-width:thin; }
.ohv2-dialog-summary { margin:0 0 20px;padding:13px 15px 14px;background:linear-gradient(135deg,#f4fbf5,#edf8f1);border:1px solid #dceee0;border-radius:14px; }
.ohv2-dialog-best-label { color:#16803a;font-size:11px;font-weight:800;letter-spacing:.2px;margin-bottom:7px; }
.ohv2-dialog-best-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr)); }
.ohv2-dialog-best-item { min-width:0;display:flex;align-items:center;flex-direction:column;gap:4px;padding:4px; }
.ohv2-dialog-best-item + .ohv2-dialog-best-item { border-left:1px solid #d3e8d9; }
.ohv2-dialog-best-name { color:#5f7867;font-size:12px;font-weight:750; }
.ohv2-dialog-best-value { color:#0a7a33;font-size:25px;font-weight:850;line-height:1.2;letter-spacing:-.3px;font-variant-numeric:tabular-nums; }
.ohv2-modal-source { min-width:0;max-width:100%; }
.ohv2-mobile-comparison { display:none; }
.ohv2-desktop-comparison { display:block; }
.ohv2-matrix-heading { margin:1px 0 12px!important;font-size:16px!important;color:var(--ohv2-ink)!important;font-weight:800!important; }
.ohv2-matrix-scroll { border:1px solid var(--ohv2-line);border-radius:12px;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch; }
.ohv2-matrix { width:100%;margin:0!important;border-spacing:0;border-collapse:separate;background:#fff;font-size:13px; }
.ohv2-matrix th, .ohv2-matrix td { border:0!important;border-bottom:1px solid #e5ede7!important;padding:12px 8px!important;text-align:center;vertical-align:middle; }
.ohv2-matrix tr:last-child td { border-bottom:0!important; }
.ohv2-matrix th { position:sticky;top:0;background:#f5faf6;color:#54685b;font-size:11px;font-weight:800;z-index:2; }
.ohv2-matrix th:first-child, .ohv2-matrix td:first-child { width:28%;text-align:left;padding-left:14px!important; }
.ohv2-matrix tbody tr:hover td { background-color:#f9fcfa; }
.ohv2-matrix-name .ohv2-modal-source { justify-content:flex-start; }
.ohv2-matrix-odd { font-weight:750;font-variant-numeric:tabular-nums; }
.ohv2-matrix td.ohv2-matrix-odd.is-best, .ohv2-matrix tbody tr:hover td.ohv2-matrix-odd.is-best { background:#e0f5e5;color:#087332; }
.ohv2-odd-link { text-decoration:none!important;color:inherit!important;font-weight:800; }
.ohv2-odd-link:hover { text-decoration:underline!important; }
.ohv2-portal .ohv2-visit { display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border-radius:9px;border:1px solid #cce9d5;background:#eafaee;color:#0a7c36!important;font-size:12px;font-weight:800;text-decoration:none!important;white-space:nowrap; }
.ohv2-portal .ohv2-visit:hover { background:#d9f4df;color:#075f29!important; }
.ohv2-no-link { color:#98a59b;font-size:11px; }
.ohv2-empty-bookmakers { margin:0;padding:15px;color:#718077;font-size:13px; }

/* Desktop comparison: right drawer; the match grid behind never reflows. */
@media(min-width:1024px) {
 .ohv2-dialog { top:0;right:0;left:auto;bottom:0;transform:none;width:min(560px,calc(100vw - 24px));max-height:none;height:100vh;height:100dvh;border-radius:19px 0 0 19px; }
 .ohv2-dialog-scroll { padding:23px 22px 26px; }
 .ohv2-matrix th, .ohv2-matrix td { padding:13px 6px!important; }
 .ohv2-matrix th:first-child, .ohv2-matrix td:first-child { padding-left:10px!important; }
}
/* Mobile: premium bottom sheet and outcome-first bookmaker rows. */
@media(max-width:700px) {
 .ohv2-dialog { top:auto;bottom:0;left:0;right:0;transform:none;width:100%;max-height:93vh;max-height:93dvh;border-radius:21px 21px 0 0;padding-bottom:env(safe-area-inset-bottom,0px); }
 .ohv2-sheet-handle { display:block;flex:none;width:43px;height:5px;margin:10px auto 2px;border-radius:99px;background:#b8c3bd; }
 .ohv2-dialog-header { max-height:32dvh;overflow-y:auto;padding:10px 16px 13px;background:#fff;color:var(--ohv2-ink);border-bottom:1px solid #edf2ed; }
 .ohv2-dialog-meta, .ohv2-dialog-league { color:#697b6f;font-size:12px; }
 .ohv2-dialog h2.ohv2-dialog-title { font-size:19px!important;color:var(--ohv2-ink)!important; }
 .ohv2-portal button.ohv2-close { width:40px;height:40px;min-height:40px;border:1px solid #e3eae4;background:#f6f9f6;color:#44584b; }
 .ohv2-portal button.ohv2-close:hover { background:#eaf3eb;color:#253d2d; }
 .ohv2-dialog-scroll { padding:15px 16px 20px; }
 .ohv2-dialog-summary { margin-bottom:16px; }
 .ohv2-dialog-best-value { font-size:24px; }
 .ohv2-mobile-comparison { display:block; }
 .ohv2-desktop-comparison { display:none; }
 .ohv2-outcome-tabs { position:sticky;top:0;z-index:4;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;border-radius:12px;border:1px solid #e7eee9;background:#f5f8f6;box-shadow:0 2px 8px rgba(25,65,38,.055); }
 .ohv2-portal button.ohv2-outcome-tab { min-height:44px;padding:7px;margin:0;border:1px solid transparent;border-radius:9px;background:transparent;color:#62756c;box-shadow:none;font-size:14px;font-weight:800; }
 .ohv2-portal button.ohv2-outcome-tab.is-active { color:#fff;border-color:#10823c;background:linear-gradient(110deg,#168c43,#0b7c38); }
 .ohv2-mobile-list-heading { display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:3px 9px;margin:16px 0 10px; }
 .ohv2-mobile-list-heading strong { font-size:13px; }
 .ohv2-mobile-list-heading span { font-size:11px;color:#728176; }
 .ohv2-bookmaker-list { display:grid;gap:7px; }
 .ohv2-bookmaker-row { display:grid;grid-template-columns:minmax(0,1fr) minmax(61px,.57fr) minmax(72px,.62fr);align-items:center;gap:7px;min-height:62px;padding:7px 9px;border:1px solid #e1eae3;border-radius:12px;background:#fff; }
 .ohv2-bookmaker-row > .ohv2-modal-source { justify-content:flex-start; }
 .ohv2-bookmaker-price { display:block;padding:8px 2px;border-radius:8px;text-align:center;font-size:18px;font-weight:850;line-height:1.4;letter-spacing:-.2px;font-variant-numeric:tabular-nums; }
 .ohv2-bookmaker-price.is-best { background:#e1f7e5;color:#087231; }
 .ohv2-portal .ohv2-bookmaker-row .ohv2-visit { min-width:0;min-height:44px;padding:7px 5px; }
}
@media(max-width:620px) {
 .ohv2-filters { padding:12px;border-radius:15px;margin-bottom:13px; }
 .ohv2-filter-top { flex-wrap:wrap;gap:9px; }
 .ohv2-search, .ohv2-league-select-wrap { flex:1 1 100%; }
 .ohv2-search, .ohv2 select.ohv2-league-select { height:44px; }
 .ohv2-filter-bottom { margin-top:9px; }
 .ohv2 button.ohv2-date-chip { min-height:37px;padding:7px 12px; }
 .ohv2-card { padding:15px;border-radius:15px;gap:13px; }
 .ohv2 h3.ohv2-title { font-size:17px!important; }
 .ohv2-odds { padding:11px 9px; }
 .ohv2-odd-value { font-size:24px; }
 .ohv2-odds-heading span:last-child { font-size:10px; }
 .ohv2 button.ohv2-compare { min-height:46px; }
}
@media(max-width:350px) {
 .ohv2-card { padding:12px; }
 .ohv2-card-meta { font-size:10.5px; }
 .ohv2-countdown { padding:4px 6px;font-size:10px; }
 .ohv2-odd-value { font-size:21px; }
 .ohv2-odds-heading span:last-child { font-size:9px; }
 .ohv2-logo-frame { width:73px;height:26px; }
 .ohv2-logo-fallback { font-size:9.5px;padding:4px 5px; }
 .ohv2-dialog-scroll { padding:12px 10px 16px; }
 .ohv2-bookmaker-row { padding:7px 5px;gap:4px;grid-template-columns:minmax(0,1fr) 60px 69px; }
 .ohv2-bookmaker-price { font-size:16px; }
 .ohv2-dialog-best-value { font-size:21px; }
}
@media(prefers-reduced-motion:reduce) { .ohv2 *, .ohv2-portal * { scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important; } }
