/* ================================================================
   BetPilot24 Odds – Premium Frontend Styles v2.0.0
   ================================================================ */

/* ── Custom properties (light theme) ── */
:root {
    --bpo-bg:           #ffffff;
    --bpo-bg-2:         #f8fafc;
    --bpo-bg-3:         #f1f5f9;
    --bpo-border:       #e2e8f0;
    --bpo-border-2:     #cbd5e1;
    --bpo-text:         #0f172a;
    --bpo-text-2:       #475569;
    --bpo-text-3:       #94a3b8;
    --bpo-green:        #10b981;
    --bpo-green-dim:    rgba(16,185,129,.12);
    --bpo-gold:         #f59e0b;
    --bpo-gold-dim:     rgba(245,158,11,.15);
    --bpo-red:          #ef4444;
    --bpo-red-dim:      rgba(239,68,68,.12);
    --bpo-blue:         #3b82f6;
    --bpo-radius:       16px;
    --bpo-radius-sm:    10px;
    --bpo-radius-xs:    6px;
    --bpo-shadow:       0 1px 3px rgba(0,0,0,.06), 0 6px 24px rgba(0,0,0,.07);
    --bpo-shadow-sm:    0 1px 3px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
    --bpo-ease:         cubic-bezier(.4,0,.2,1);
    --bpo-dur:          180ms;
}

/* ── Dark mode overrides ── */
@media (prefers-color-scheme: dark) {
    :root {
        --bpo-bg:        #0f172a;
        --bpo-bg-2:      #1e293b;
        --bpo-bg-3:      #263347;
        --bpo-border:    #334155;
        --bpo-border-2:  #475569;
        --bpo-text:      #f1f5f9;
        --bpo-text-2:    #94a3b8;
        --bpo-text-3:    #64748b;
        --bpo-green-dim: rgba(16,185,129,.18);
        --bpo-gold-dim:  rgba(245,158,11,.18);
        --bpo-red-dim:   rgba(239,68,68,.18);
        --bpo-shadow:    0 1px 4px rgba(0,0,0,.4), 0 6px 24px rgba(0,0,0,.4);
        --bpo-shadow-sm: 0 1px 4px rgba(0,0,0,.3);
    }
}

/* ── Box-sizing reset for plugin elements ── */
.bpo-wrap *, .bpo-wrap *::before, .bpo-wrap *::after,
.bpo-widget *, .bpo-widget *::before, .bpo-widget *::after,
.bpo-picks-wrap *, .bpo-picks-wrap *::before, .bpo-picks-wrap *::after,
.bpo-ticker *, .bpo-ticker *::before, .bpo-ticker *::after,
.bpo-allsports-wrap *, .bpo-allsports-wrap *::before, .bpo-allsports-wrap *::after,
.bpo-homepage-section *, .bpo-homepage-section *::before, .bpo-homepage-section *::after {
    box-sizing: border-box;
}

/* ================================================================
   MAIN WRAPPER
   ================================================================ */

.bpo-wrap {
    font-family: var(--bpo-font);
    background: var(--bpo-bg);
    border: 1px solid var(--bpo-border);
    border-radius: var(--bpo-radius);
    overflow: hidden;
    box-shadow: var(--bpo-shadow);
    margin: 28px 0;
    color: var(--bpo-text);
    line-height: 1.5;
    position: relative;
}

/* ================================================================
   TOP BAR
   ================================================================ */

.bpo-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 20px;
    color: #fff;
    min-height: 66px;
}

.bpo-topbar-left,
.bpo-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Sport icon */
.bpo-sport-icon {
    font-size: 30px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
    flex-shrink: 0;
}

.bpo-sport-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bpo-sport-name {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.02em;
    text-shadow: 0 1px 4px rgba(0,0,0,.2);
    line-height: 1.2;
}

.bpo-market-name {
    font-size: 10px;
    font-weight: 600;
    opacity: .75;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* Live badge */
.bpo-live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 100px;
    padding: 4px 10px;
}

.bpo-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74,222,128,.6);
    animation: bpo-pulse 2.4s ease-in-out infinite;
    flex-shrink: 0;
}

.bpo-live-dot--sm {
    width: 6px;
    height: 6px;
}

@keyframes bpo-pulse {
    0%, 100% { box-shadow: 0 0 0 0   rgba(74,222,128,.6); }
    50%       { box-shadow: 0 0 0 5px rgba(74,222,128,0);  }
}

.bpo-live-text {
    font-size: 11px;
    font-weight: 600;
    opacity: .9;
    white-space: nowrap;
    transition: opacity var(--bpo-dur) var(--bpo-ease);
}

/* Search input */
.bpo-search-wrap {
    position: relative;
}

.bpo-search-wrap::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 13px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Ccircle cx='6.5' cy='6.5' r='4.5' stroke='rgba(255,255,255,.6)' stroke-width='1.5'/%3E%3Cpath d='M10 10l3 3' stroke='rgba(255,255,255,.6)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.bpo-topbar .bpo-search-wrap input.bpo-search,
.bpo-topbar .bpo-search-wrap input[type="search"].bpo-search,
input.bpo-search {
    background: rgba(0,0,0,.25) !important;
    border: 1px solid rgba(255,255,255,.25) !important;
    border-radius: 100px !important;
    padding: 6px 14px 6px 32px !important;
    color: #fff !important;
    font-size: 12px !important;
    font-family: var(--bpo-font) !important;
    width: 155px !important;
    height: auto !important;
    line-height: normal !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: width var(--bpo-dur) var(--bpo-ease),
                background var(--bpo-dur) var(--bpo-ease),
                border-color var(--bpo-dur) var(--bpo-ease);
    outline: none !important;
    margin: 0 !important;
}

.bpo-topbar .bpo-search-wrap input.bpo-search::placeholder,
.bpo-topbar .bpo-search-wrap input[type="search"].bpo-search::placeholder,
input.bpo-search::placeholder {
    color: rgba(255,255,255,.55) !important;
    opacity: 1 !important;
}

/* WebKit clears button — hide it */
input.bpo-search::-webkit-search-cancel-button,
input.bpo-search::-webkit-search-decoration {
    -webkit-appearance: none !important;
    display: none !important;
}

.bpo-topbar .bpo-search-wrap input.bpo-search:focus,
input.bpo-search:focus {
    background: rgba(0,0,0,.35) !important;
    border-color: rgba(255,255,255,.45) !important;
    width: 185px !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Market tabs */
.bpo-tabs {
    display: flex;
    background: rgba(0,0,0,.25);
    border-radius: 100px;
    padding: 3px;
    gap: 2px;
}

.bpo-tab {
    border: none;
    background: transparent;
    color: rgba(255,255,255,.65);
    font-size: 11px;
    font-weight: 700;
    font-family: var(--bpo-font);
    padding: 5px 13px;
    border-radius: 100px;
    cursor: pointer;
    transition: background var(--bpo-dur) var(--bpo-ease),
                color var(--bpo-dur) var(--bpo-ease);
    white-space: nowrap;
    letter-spacing: .02em;
    line-height: 1;
}

.bpo-tab:hover           { background: rgba(255,255,255,.15); color: #fff; }
.bpo-tab--active         { background: #fff !important; color: #0f172a !important; }
.bpo-tab--active:hover   { background: #fff !important; }

/* ================================================================
   EVENTS AREA
   ================================================================ */

.bpo-events-area {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: opacity var(--bpo-dur) var(--bpo-ease);
}

/* Hidden market panels — must override the display:flex rule above */
.bpo-events-area[hidden] { display: none !important; }

/* Loading overlay */
.bpo-events-area.bpo-loading {
    opacity: .5;
    pointer-events: none;
}

.bpo-events-area.bpo-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bpo-bg);
    opacity: .4;
    border-radius: var(--bpo-radius-sm);
}

/* Empty state */
.bpo-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 20px;
    gap: 10px;
    color: var(--bpo-text-3);
}

.bpo-empty-icon { font-size: 40px; }
.bpo-empty p    { font-size: 14px; margin: 0; text-align: center; }

/* ── Match card header (centered VS layout) ── */
.bpo-match-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.bpo-match-team {
    display: flex;
    align-items: center;
}

.bpo-match-team--home {
    justify-content: flex-end;
    text-align: right;
}

.bpo-match-team--away {
    justify-content: flex-start;
    text-align: left;
}

.bpo-match-team .bpo-team {
    font-size: 15px;
    font-weight: 800;
    color: var(--bpo-text);
    line-height: 1.3;
    word-break: break-word;
}

.bpo-match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 90px;
    flex-shrink: 0;
}

/* Bookmaker column header */
.bpo-book-th {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* Bookmaker logo in table header */
.bpo-book-logo {
    display: block;
    max-height: 28px;
    max-width: 72px;
    width: auto;
    object-fit: contain;
    border-radius: 3px;
}

/* Name label always shown (below logo when logo present) */
.bpo-book-name {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--bpo-text-2);
    line-height: 1.2;
}

.bpo-book-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: opacity var(--bpo-dur) var(--bpo-ease);
}

.bpo-book-link:hover { opacity: .8; }
.bpo-book-link:hover .bpo-book-name {
    color: var(--bpo-blue);
    text-decoration: underline;
}
.bpo-book-link--plain {
    cursor: default;
    pointer-events: none;
}
.bpo-book-link--plain:hover { opacity: 1; }
.bpo-book-link--plain:hover .bpo-book-name {
    color: var(--bpo-text-2);
    text-decoration: none;
}

/* Odds cell: price + trophy + Bet Now button stacked */
.bpo-odds-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/* Bet Now button */
.bpo-bet-btn {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff !important;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background var(--bpo-dur) var(--bpo-ease),
                transform var(--bpo-dur) var(--bpo-ease),
                box-shadow var(--bpo-dur) var(--bpo-ease);
    line-height: 1.6;
}

.bpo-bet-btn:hover {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(34,197,94,.35);
    color: #fff !important;
    text-decoration: none !important;
}

/* Best-price cell — gold Bet Now button */
.bpo-price--best .bpo-bet-btn,
.bpo-bet-btn--best {
    background: linear-gradient(135deg, var(--bpo-gold), #d97706);
}

.bpo-price--best .bpo-bet-btn:hover,
.bpo-bet-btn--best:hover {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    box-shadow: 0 3px 10px rgba(245,158,11,.35);
}

/* ── Event Card ── */
.bpo-event {
    border: 1px solid var(--bpo-border);
    border-radius: var(--bpo-radius-sm);
    overflow: hidden;
    background: var(--bpo-bg);
    transition: box-shadow var(--bpo-dur) var(--bpo-ease),
                border-color var(--bpo-dur) var(--bpo-ease);
}

.bpo-event:hover {
    box-shadow: var(--bpo-shadow);
    border-color: var(--bpo-border-2);
}

.bpo-event--hidden { display: none !important; }

/* Event header */
.bpo-event-head {
    padding: 14px 18px;
    background: var(--bpo-bg-2);
    border-bottom: 1px solid var(--bpo-border);
}

.bpo-event-teams {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bpo-team {
    font-size: 14px;
    font-weight: 700;
    color: var(--bpo-text);
}

.bpo-vs {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--bpo-text-3);
    background: var(--bpo-bg-3);
    border: 1px solid var(--bpo-border);
    border-radius: var(--bpo-radius-xs);
    padding: 2px 7px;
    flex-shrink: 0;
}

.bpo-event-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bpo-countdown {
    font-size: 11px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--bpo-gold), #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    min-width: 60px;
}

.bpo-countdown.bpo-countdown--soon {
    background: linear-gradient(90deg, var(--bpo-red), #f87171);
    -webkit-background-clip: text;
    background-clip: text;
}

.bpo-countdown.bpo-countdown--live {
    background: linear-gradient(90deg, var(--bpo-green), #34d399);
    -webkit-background-clip: text;
    background-clip: text;
}

.bpo-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--bpo-text-3);
    white-space: nowrap;
}

/* Best odds summary bar */
.bpo-best-row {
    display: flex;
    border-bottom: 1px solid var(--bpo-border);
    background: var(--bpo-bg);
}

.bpo-best-card {
    flex: 1;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 10px 10px;
    gap: 3px;
    border-right: 1px solid var(--bpo-border);
    cursor: default;
    position: relative;
    transition: background var(--bpo-dur) var(--bpo-ease);
    overflow: hidden;
}

.bpo-best-card:last-child { border-right: none; }

.bpo-best-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--bpo-green), #34d399);
    opacity: 0;
    transition: opacity var(--bpo-dur) var(--bpo-ease);
}

.bpo-best-card:hover::after { opacity: 1; }
.bpo-best-card:hover         { background: var(--bpo-bg-2); }

.bpo-best-outcome {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--bpo-text-3);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.bpo-best-price {
    font-size: 22px;
    font-weight: 900;
    color: var(--bpo-green);
    letter-spacing: -.04em;
    line-height: 1.1;
    transition: color var(--bpo-dur) var(--bpo-ease);
}

.bpo-best-book {
    font-size: 10px;
    color: var(--bpo-text-3);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

/* ── Comparison Table ── */
.bpo-table-outer {
    position: relative;
}

.bpo-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--bpo-border) transparent;
}

.bpo-table-scroll::-webkit-scrollbar        { height: 3px; }
.bpo-table-scroll::-webkit-scrollbar-track  { background: transparent; }
.bpo-table-scroll::-webkit-scrollbar-thumb  { background: var(--bpo-border); border-radius: 2px; }

/* Scroll fade edges */
.bpo-scroll-fade {
    position: absolute;
    top: 0; bottom: 0;
    width: 36px;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity var(--bpo-dur) var(--bpo-ease);
}

.bpo-scroll-fade--left  { left:  0; background: linear-gradient(to right, var(--bpo-bg), transparent); }
.bpo-scroll-fade--right { right: 0; background: linear-gradient(to left,  var(--bpo-bg), transparent); }
.bpo-scroll-fade--visible { opacity: 1; }

.bpo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    font-family: var(--bpo-font);
}

.bpo-table thead th {
    padding: 9px 14px;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--bpo-text-2);
    background: var(--bpo-bg-2);
    border-bottom: 2px solid var(--bpo-border);
    white-space: nowrap;
}

.bpo-table thead th.bpo-th-outcome {
    text-align: left;
    min-width: 130px;
}

.bpo-table tbody td {
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid var(--bpo-border);
    color: var(--bpo-text);
    vertical-align: middle;
    transition: background var(--bpo-dur) var(--bpo-ease);
}

.bpo-table tbody tr:last-child td      { border-bottom: none; }
.bpo-table tbody tr:hover td           { background: var(--bpo-bg-2); }
.bpo-table tbody tr:hover .bpo-td-price.bpo-price--best { background: var(--bpo-green-dim) !important; }

.bpo-td-outcome {
    text-align: left !important;
    font-weight: 600;
    font-size: 13px;
    color: var(--bpo-text) !important;
    white-space: nowrap;
}

.bpo-td-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--bpo-text-2) !important;
    position: relative;
}

/* Best price */
.bpo-td-price.bpo-price--best {
    background: var(--bpo-green-dim) !important;
    color: var(--bpo-green) !important;
}

.bpo-td-price.bpo-price--best .bpo-price-val {
    font-weight: 800;
}

/* Trophy star */
.bpo-trophy {
    display: inline-block;
    font-size: 11px;
    color: var(--bpo-gold);
    margin-left: 2px;
    vertical-align: middle;
    animation: bpo-glow 3s ease-in-out infinite;
    line-height: 1;
}

@keyframes bpo-glow {
    0%, 100% { filter: drop-shadow(0 0 2px rgba(245,158,11,.4)); }
    50%       { filter: drop-shadow(0 0 6px rgba(245,158,11,.9)); }
}

/* N/A cell */
.bpo-na {
    color: var(--bpo-text-3);
    font-size: 11px;
    font-weight: 400;
}

/* Price change flash */
@keyframes bpo-flash-up   { 0% { background-color: rgba(16,185,129,.35); } 100% { background-color: transparent; } }
@keyframes bpo-flash-down { 0% { background-color: rgba(239,68,68,.35);  } 100% { background-color: transparent; } }

.bpo-price-up   { animation: bpo-flash-up   .7s var(--bpo-ease); }
.bpo-price-down { animation: bpo-flash-down .7s var(--bpo-ease); }

/* Margin row (tfoot) */
.bpo-margin-row td {
    padding: 7px 14px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-top: 2px dashed var(--bpo-border) !important;
    border-bottom: none !important;
    background: var(--bpo-bg-2) !important;
    color: var(--bpo-text-3) !important;
    text-align: center;
}

.bpo-margin-label {
    text-align: left !important;
    color: var(--bpo-text-2) !important;
}

.bpo-margin--good { color: var(--bpo-green) !important; }
.bpo-margin--ok   { color: var(--bpo-gold)  !important; }
.bpo-margin--bad  { color: var(--bpo-red)   !important; }

/* ── Footer ── */
.bpo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 20px;
    border-top: 1px solid var(--bpo-border);
    background: var(--bpo-bg-2);
    flex-wrap: wrap;
    gap: 6px;
}

.bpo-footer-refresh,
.bpo-footer-disclaimer {
    font-size: 11px;
    color: var(--bpo-text-3);
    display: flex;
    align-items: center;
    gap: 5px;
}

.bpo-spinner-icon {
    display: inline-block;
    animation: bpo-spin 2.5s linear infinite;
}

@keyframes bpo-spin { to { transform: rotate(360deg); } }

/* ================================================================
   WIDGET
   ================================================================ */

.bpo-widget {
    font-family: var(--bpo-font);
    border: 1px solid var(--bpo-border);
    border-radius: var(--bpo-radius);
    overflow: hidden;
    box-shadow: var(--bpo-shadow);
    max-width: 320px;
    color: var(--bpo-text);
}

/* Widget header */
.bpo-widget-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #fff;
    position: relative;
    min-height: 58px;
}

.bpo-widget-icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,.25));
    flex-shrink: 0;
}

.bpo-widget-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.bpo-widget-sport {
    font-size: 14px;
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(0,0,0,.2);
    line-height: 1.2;
}

.bpo-widget-subtitle {
    font-size: 9px;
    opacity: .7;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}

.bpo-widget-head .bpo-live-dot {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

/* Widget events */
.bpo-widget-events {
    background: var(--bpo-bg);
}

.bpo-widget-event {
    padding: 12px 14px;
    border-bottom: 1px solid var(--bpo-border);
    transition: background var(--bpo-dur) var(--bpo-ease);
}

.bpo-widget-event:last-child { border-bottom: none; }
.bpo-widget-event:hover       { background: var(--bpo-bg-2); }

.bpo-widget-event-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 600;
    color: var(--bpo-text-3);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.bpo-widget-match {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bpo-widget-team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.bpo-widget-team {
    font-size: 12px;
    font-weight: 600;
    color: var(--bpo-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65%;
    line-height: 1.3;
}

.bpo-widget-price {
    font-size: 16px;
    font-weight: 900;
    color: var(--bpo-green);
    letter-spacing: -.03em;
    flex-shrink: 0;
}

.bpo-widget-event-footer {
    margin-top: 6px;
}

.bpo-widget-countdown {
    font-size: 10px;
    font-weight: 700;
    color: var(--bpo-gold);
}

.bpo-widget-empty {
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--bpo-text-3);
    background: var(--bpo-bg);
}

.bpo-widget-footer {
    font-size: 10px;
    color: var(--bpo-text-3);
    text-align: center;
    padding: 7px;
    background: var(--bpo-bg-2);
    border-top: 1px solid var(--bpo-border);
}

/* ── Explicit dark theme (overrides system preference) ── */
.bpo-theme--dark {
    --bpo-bg:        #0f172a;
    --bpo-bg-2:      #1e293b;
    --bpo-bg-3:      #263347;
    --bpo-border:    #334155;
    --bpo-border-2:  #475569;
    --bpo-text:      #f1f5f9;
    --bpo-text-2:    #94a3b8;
    --bpo-text-3:    #64748b;
    --bpo-green-dim: rgba(16,185,129,.18);
    --bpo-gold-dim:  rgba(245,158,11,.18);
    --bpo-red-dim:   rgba(239,68,68,.18);
    --bpo-shadow:    0 1px 4px rgba(0,0,0,.4), 0 6px 24px rgba(0,0,0,.4);
    --bpo-shadow-sm: 0 1px 4px rgba(0,0,0,.3);
}

/* ── Explicit light theme (overrides system preference) ── */
.bpo-theme--light {
    --bpo-bg:        #ffffff;
    --bpo-bg-2:      #f8fafc;
    --bpo-bg-3:      #f1f5f9;
    --bpo-border:    #e2e8f0;
    --bpo-border-2:  #cbd5e1;
    --bpo-text:      #0f172a;
    --bpo-text-2:    #475569;
    --bpo-text-3:    #94a3b8;
    --bpo-green-dim: rgba(16,185,129,.12);
    --bpo-gold-dim:  rgba(245,158,11,.15);
    --bpo-red-dim:   rgba(239,68,68,.12);
    --bpo-shadow:    0 1px 3px rgba(0,0,0,.06), 0 6px 24px rgba(0,0,0,.07);
    --bpo-shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
}

/* ================================================================
   BEST PICKS
   ================================================================ */

.bpo-picks-wrap {
    font-family: var(--bpo-font);
    border: 1px solid var(--bpo-border);
    border-radius: var(--bpo-radius);
    overflow: hidden;
    box-shadow: var(--bpo-shadow);
    margin: 24px 0;
    background: var(--bpo-bg);
    color: var(--bpo-text);
}

.bpo-picks-header {
    padding: 12px 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bpo-picks-event {
    padding: 16px 18px;
    border-bottom: 1px solid var(--bpo-border);
}

.bpo-picks-event:last-of-type { border-bottom: none; }

.bpo-picks-event-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.bpo-picks-event-head strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--bpo-text);
}

.bpo-picks-date {
    font-size: 11px;
    color: var(--bpo-text-3);
}

.bpo-picks-cards {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bpo-pick-card {
    flex: 1;
    min-width: 100px;
    background: var(--bpo-bg-2);
    border: 1px solid var(--bpo-border);
    border-radius: var(--bpo-radius-sm);
    padding: 14px 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: border-color var(--bpo-dur) var(--bpo-ease),
                transform var(--bpo-dur) var(--bpo-ease),
                box-shadow var(--bpo-dur) var(--bpo-ease);
    cursor: default;
}

.bpo-pick-card:hover {
    border-color: var(--bpo-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16,185,129,.12);
}

.bpo-pick-trophy {
    font-size: 14px;
    color: var(--bpo-gold);
    filter: drop-shadow(0 1px 4px rgba(245,158,11,.6));
    line-height: 1;
}

.bpo-pick-outcome {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 700;
    color: var(--bpo-text-2);
    text-align: center;
}

.bpo-pick-price {
    font-size: 26px;
    font-weight: 900;
    color: var(--bpo-green);
    letter-spacing: -.05em;
    line-height: 1.1;
}

.bpo-pick-book {
    font-size: 10px;
    color: var(--bpo-text-3);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.bpo-picks-footer {
    font-size: 10px;
    color: var(--bpo-text-3);
    text-align: center;
    padding: 8px;
    background: var(--bpo-bg-2);
    border-top: 1px solid var(--bpo-border);
}

.bpo-empty-msg {
    color: var(--bpo-text-3);
    font-style: italic;
    font-family: var(--bpo-font);
}

/* ================================================================
   TICKER
   ================================================================ */

.bpo-ticker {
    font-family: var(--bpo-font);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--bpo-border);
    border-radius: var(--bpo-radius-sm);
    background: var(--bpo-bg);
    margin: 20px 0;
    height: 40px;
    box-shadow: var(--bpo-shadow-sm);
}

.bpo-ticker-label {
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
}

.bpo-ticker-track {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
}

.bpo-ticker-inner {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: bpo-scroll 50s linear infinite;
    will-change: transform;
}

.bpo-ticker-inner:hover { animation-play-state: paused; }

@keyframes bpo-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.bpo-tick-item {
    font-size: 12px;
    color: var(--bpo-text-2);
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bpo-tick-item strong { color: var(--bpo-text); }

.bpo-tick-price {
    font-weight: 800;
    color: var(--bpo-green);
}

.bpo-tick-sep {
    color: var(--bpo-border-2);
    padding: 0 6px;
    font-size: 18px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 768px) {
    /* ── Top bar: stack into two rows on tablet/mobile ── */
    .bpo-topbar {
        padding: 10px 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        min-height: unset;
    }
    .bpo-topbar-left         { flex-wrap: nowrap; }
    .bpo-sport-icon          { font-size: 22px; }
    .bpo-sport-name          { font-size: 13px; }
    .bpo-market-name         { font-size: 9px; }

    /* Right row: search + tabs side-by-side, scrollable if overflow */
    .bpo-topbar-right {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
    }
    .bpo-topbar-right::-webkit-scrollbar { display: none; }

    /* Search shrinks to make room for tabs */
    .bpo-topbar .bpo-search-wrap input.bpo-search,
    .bpo-topbar .bpo-search-wrap input[type="search"].bpo-search,
    input.bpo-search {
        width: 110px !important;
    }
    .bpo-topbar .bpo-search-wrap input.bpo-search:focus,
    input.bpo-search:focus {
        width: 130px !important;
    }

    /* Tabs: no wrap, allow horizontal scroll via parent */
    .bpo-tabs                { flex-shrink: 0; flex-wrap: nowrap; }
    .bpo-tab                 { padding: 4px 10px; font-size: 10px; white-space: nowrap; }

    .bpo-events-area         { padding: 12px; gap: 12px; }
    .bpo-event-head          { padding: 10px 12px; }
    .bpo-match-card          { gap: 8px; }
    .bpo-match-team .bpo-team { font-size: 13px; }
    .bpo-match-center        { min-width: 72px; }
    .bpo-best-price          { font-size: 18px; }
    .bpo-best-card           { padding: 10px 8px; }
    .bpo-table thead th,
    .bpo-table tbody td      { padding: 7px 9px; font-size: 12px; }
    .bpo-bet-btn             { font-size: 8px; padding: 2px 7px; }
    .bpo-footer              { padding: 8px 14px; flex-direction: column; text-align: center; }
    .bpo-picks-cards         { gap: 8px; }
    .bpo-pick-price          { font-size: 22px; }
}

@media (max-width: 480px) {
    /* Topbar tighter on small phones */
    .bpo-topbar              { padding: 10px 12px; gap: 6px; }
    .bpo-topbar-left         { gap: 8px; }
    .bpo-sport-icon          { font-size: 20px; }
    .bpo-sport-name          { font-size: 12px; }
    .bpo-live-badge          { display: none; }

    /* Search input even shorter */
    .bpo-topbar .bpo-search-wrap input.bpo-search,
    .bpo-topbar .bpo-search-wrap input[type="search"].bpo-search,
    input.bpo-search         { width: 90px !important; }
    .bpo-topbar .bpo-search-wrap input.bpo-search:focus,
    input.bpo-search:focus   { width: 110px !important; }

    .bpo-match-card          { gap: 6px; }
    .bpo-match-team .bpo-team { font-size: 11px; }
    .bpo-match-center        { min-width: 58px; }
    .bpo-best-card           { min-width: calc(50% - 1px); flex: 1 0 calc(50% - 1px); }
    .bpo-best-price          { font-size: 16px; }
    .bpo-picks-cards         { flex-direction: column; }
    .bpo-pick-card           { flex-direction: row; align-items: center; padding: 10px 14px; gap: 10px; }
    .bpo-pick-price          { font-size: 20px; }
    .bpo-widget              { max-width: 100%; }
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
    .bpo-live-dot,
    .bpo-trophy,
    .bpo-spinner-icon,
    .bpo-ticker-inner,
    .bpo-price-up,
    .bpo-price-down { animation: none !important; }

    .bpo-countdown,
    .bpo-countdown.bpo-countdown--soon,
    .bpo-countdown.bpo-countdown--live {
        -webkit-text-fill-color: var(--bpo-gold);
    }
}

/* ================================================================
   HOMEPAGE ODDS SECTION  [betpilot_homepage_odds]
   ================================================================ */

.bpo-homepage-section {
    font-family: var(--bpo-font);
    color: var(--bpo-text);
    margin: 0 0 2rem;
}

/* Header */
.bpo-hp-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.bpo-hp-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--bpo-text);
    line-height: 1.2;
}
.bpo-hp-subtitle {
    font-size: 0.78rem;
    color: var(--bpo-text-3);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* List track — height/scroll controlled by shortcode scrollable attribute */
.bpo-hp-scroll-wrap {
    overflow-x: hidden;
}
.bpo-hp-scroll-wrap--scroll {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--bpo-border-2) transparent;
    padding-right: 4px;
}
.bpo-hp-scroll-wrap--scroll::-webkit-scrollbar       { width: 4px; }
.bpo-hp-scroll-wrap--scroll::-webkit-scrollbar-track { background: transparent; }
.bpo-hp-scroll-wrap--scroll::-webkit-scrollbar-thumb { background: var(--bpo-border-2); border-radius: 4px; }

.bpo-hp-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 2px 0;
}

/* Individual sport card — full width */
.bpo-hp-card {
    background: var(--bpo-bg);
    border: 1px solid var(--bpo-border);
    border-radius: var(--bpo-radius);
    box-shadow: var(--bpo-shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: box-shadow var(--bpo-dur) var(--bpo-ease),
                transform var(--bpo-dur) var(--bpo-ease);
}
.bpo-hp-card:hover {
    box-shadow: var(--bpo-shadow);
    transform: translateY(-2px);
}

/* Card coloured sport header */
.bpo-hp-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: #fff;
}
.bpo-hp-sport-icon { font-size: 18px; line-height: 1; flex-shrink: 0; }
.bpo-hp-sport-name {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card body */
.bpo-hp-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

/* Teams + VS block */
.bpo-hp-teams {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    text-align: center;
}
.bpo-hp-team {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--bpo-text);
    line-height: 1.3;
    word-break: break-word;
}
.bpo-hp-vs-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 2px 0;
}
.bpo-hp-vs {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--bpo-text-3);
    letter-spacing: .1em;
}
.bpo-hp-countdown {
    font-size: 0.7rem;
    color: var(--bpo-gold);
    font-weight: 600;
}

/* Bookmaker table — bookmakers as columns, teams as rows */
.bpo-hp-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--bpo-border);
    border-radius: var(--bpo-radius-sm);
}
.bpo-hp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
    white-space: nowrap;
}
.bpo-hp-table thead tr {
    background: var(--bpo-bg-3);
}
.bpo-hp-table th {
    padding: 7px 12px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--bpo-text-2);
    border-bottom: 1px solid var(--bpo-border);
    text-align: center;
}
.bpo-hp-th-outcome { text-align: left; }
.bpo-hp-th-book {
    min-width: 110px;
    text-align: center;
    vertical-align: middle;
}
/* hp table header uses the same .bpo-book-th / .bpo-book-logo / .bpo-book-name / .bpo-book-link
   classes — no extra rules needed */

.bpo-hp-td-outcome {
    padding: 8px 12px;
    font-weight: 600;
    color: var(--bpo-text);
    border-right: 1px solid var(--bpo-border);
    min-width: 110px;
}
.bpo-hp-table tbody tr { border-bottom: 1px solid var(--bpo-border); }
.bpo-hp-table tbody tr:last-child { border-bottom: none; }

.bpo-hp-bet-btn {
    font-size: 0.6rem !important;
    padding: 3px 8px !important;
    margin-top: 2px;
}

/* Disclaimer */
.bpo-hp-disclaimer {
    margin: 10px 0 0;
    font-size: 0.68rem;
    color: var(--bpo-text-3);
    text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
    .bpo-hp-track { gap: 12px; }
}

/* ================================================================
   PRINT
   ================================================================ */

@media print {
    .bpo-ticker, .bpo-tabs, .bpo-search-wrap,
    .bpo-footer-refresh, .bpo-live-badge { display: none !important; }
    .bpo-wrap { box-shadow: none; border: 1px solid #ccc; }
}

/* ================================================================
   ALL-SPORTS WRAPPER  (.bpo-allsports-wrap)
   Used when [betpilot_odds sport="all"] is rendered.
   ================================================================ */

.bpo-allsports-wrap {
    font-family: var(--bpo-font);
    color: var(--bpo-text);
}

/* Filter bar: column layout — pills row on top, market tabs row below */
.bpo-allsports-filterbar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 0 10px;
}

/* ── Sport pills wrapper with scroll arrows ── */
.bpo-sport-pills-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0; /* allow flex child to shrink */
}

.bpo-pills-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--bpo-border);
    background: var(--bpo-bg);
    color: var(--bpo-text-2);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: opacity var(--bpo-dur) var(--bpo-ease),
                background var(--bpo-dur) var(--bpo-ease);
}
.bpo-pills-arrow:hover {
    background: var(--bpo-bg-3);
    color: var(--bpo-text);
}
.bpo-pills-arrow--hidden {
    opacity: 0;
    pointer-events: none;
}

/* ── Sport pills (shared by all-sports wrapper & homepage section) ──
   Single scrollable row — no wrapping regardless of how many sports. */
.bpo-sport-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px; /* breathing room for focus rings */
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE/Edge */
}
.bpo-sport-pills::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.bpo-sport-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--bpo-border-2);
    background: var(--bpo-bg);
    color: var(--bpo-text-2);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--bpo-font);
    padding: 6px 13px;
    border-radius: 100px;
    cursor: pointer;
    transition: background var(--bpo-dur) var(--bpo-ease),
                color     var(--bpo-dur) var(--bpo-ease),
                border-color var(--bpo-dur) var(--bpo-ease),
                box-shadow   var(--bpo-dur) var(--bpo-ease);
    white-space: nowrap;
    line-height: 1;
}

.bpo-sport-pill:hover {
    background: var(--bpo-bg-3);
    color: var(--bpo-text);
    border-color: var(--bpo-blue);
}

.bpo-sport-pill--active {
    background: var(--bpo-blue);
    color: #fff;
    border-color: var(--bpo-blue);
    box-shadow: 0 2px 8px rgba(59,130,246,.35);
}

.bpo-sport-pill--active:hover {
    background: var(--bpo-blue);
    color: #fff;
}

/* ── Global market tabs (all-sports wrapper) ── */
.bpo-global-mkt-tabs {
    display: flex;
    background: var(--bpo-bg-3);
    border: 1px solid var(--bpo-border);
    border-radius: 100px;
    padding: 3px;
    gap: 2px;
    max-width: fit-content;
}

.bpo-global-mkt-tab {
    border: none;
    background: transparent;
    color: var(--bpo-text-2);
    font-size: 11px;
    font-weight: 700;
    font-family: var(--bpo-font);
    padding: 6px 14px;
    border-radius: 100px;
    cursor: pointer;
    transition: background var(--bpo-dur) var(--bpo-ease),
                color     var(--bpo-dur) var(--bpo-ease);
    white-space: nowrap;
    letter-spacing: .02em;
    line-height: 1;
}

.bpo-global-mkt-tab:hover         { background: var(--bpo-bg-2); color: var(--bpo-text); }
.bpo-global-mkt-tab--active       { background: var(--bpo-blue) !important; color: #fff !important; box-shadow: 0 2px 8px rgba(59,130,246,.3); }
.bpo-global-mkt-tab--active:hover { background: var(--bpo-blue) !important; }

/* Hidden sport section */
.bpo-sport-section--hidden { display: none; }

/* ── All-sports scrollable content area ── */
.bpo-allsports-content--scroll {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--bpo-border);
    border-radius: var(--bpo-radius-sm);
    padding: 4px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--bpo-border-2) transparent;
}
.bpo-allsports-content--scroll::-webkit-scrollbar       { width: 5px; }
.bpo-allsports-content--scroll::-webkit-scrollbar-track { background: transparent; }
.bpo-allsports-content--scroll::-webkit-scrollbar-thumb { background: var(--bpo-border-2); border-radius: 4px; }

/* ================================================================
   HOMEPAGE FILTER BAR  (.bpo-hp-filterbar)
   ================================================================ */

.bpo-hp-filterbar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

/* ── Homepage market tabs ── */
.bpo-hp-mkt-tabs {
    display: flex;
    background: var(--bpo-bg-3);
    border: 1px solid var(--bpo-border);
    border-radius: 100px;
    padding: 3px;
    gap: 2px;
}

.bpo-hp-mkt-tab {
    border: none;
    background: transparent;
    color: var(--bpo-text-2);
    font-size: 11px;
    font-weight: 700;
    font-family: var(--bpo-font);
    padding: 6px 14px;
    border-radius: 100px;
    cursor: pointer;
    transition: background var(--bpo-dur) var(--bpo-ease),
                color     var(--bpo-dur) var(--bpo-ease);
    white-space: nowrap;
    letter-spacing: .02em;
    line-height: 1;
}

.bpo-hp-mkt-tab:hover         { background: var(--bpo-bg-2); color: var(--bpo-text); }
.bpo-hp-mkt-tab--active       { background: var(--bpo-blue) !important; color: #fff !important; box-shadow: 0 2px 8px rgba(59,130,246,.3); }
.bpo-hp-mkt-tab--active:hover { background: var(--bpo-blue) !important; }

/* Hidden homepage card */
.bpo-hp-card--hidden { display: none; }

/* Market panel inside a homepage card (no extra padding — table provides its own) */
.bpo-hp-mkt-panel { display: block; }
.bpo-hp-mkt-panel[hidden] { display: none; }

/* Dark-theme overrides for sport pills in homepage section */
.bpo-homepage-section.bpo-theme--dark .bpo-sport-pill,
.bpo-allsports-wrap.bpo-theme--dark   .bpo-sport-pill {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.18);
    color: rgba(255,255,255,.75);
}
.bpo-homepage-section.bpo-theme--dark .bpo-sport-pill:hover,
.bpo-allsports-wrap.bpo-theme--dark   .bpo-sport-pill:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
}
.bpo-homepage-section.bpo-theme--dark .bpo-sport-pill--active,
.bpo-allsports-wrap.bpo-theme--dark   .bpo-sport-pill--active {
    background: var(--bpo-blue);
    border-color: var(--bpo-blue);
    color: #fff;
}
.bpo-homepage-section.bpo-theme--dark .bpo-pills-arrow,
.bpo-allsports-wrap.bpo-theme--dark   .bpo-pills-arrow {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.18);
    color: rgba(255,255,255,.75);
}
.bpo-homepage-section.bpo-theme--dark .bpo-pills-arrow:hover,
.bpo-allsports-wrap.bpo-theme--dark   .bpo-pills-arrow:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
}

.bpo-homepage-section.bpo-theme--dark .bpo-hp-filterbar,
.bpo-homepage-section.bpo-theme--dark .bpo-hp-mkt-tabs,
.bpo-homepage-section.bpo-theme--dark .bpo-global-mkt-tabs,
.bpo-allsports-wrap.bpo-theme--dark   .bpo-allsports-filterbar,
.bpo-allsports-wrap.bpo-theme--dark   .bpo-global-mkt-tabs {
    background: transparent;
    border-color: rgba(255,255,255,.12);
}

.bpo-homepage-section.bpo-theme--dark .bpo-hp-mkt-tab,
.bpo-allsports-wrap.bpo-theme--dark   .bpo-global-mkt-tab {
    color: rgba(255,255,255,.65);
}
.bpo-homepage-section.bpo-theme--dark .bpo-hp-mkt-tab:hover,
.bpo-allsports-wrap.bpo-theme--dark   .bpo-global-mkt-tab:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}

/* Responsive */
@media (max-width: 600px) {
    .bpo-sport-pill { font-size: 11px; padding: 5px 10px; }
}
