/* ==============================================
   PREDICTIONS PAGE — predictions.css (pd- prefix)
   ============================================== */

/* ── Global overflow fix (mobile) ───────────── */
body { overflow-x: hidden; }

/* ── Layout ─────────────────────────────────── */
.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    margin: 16px 0 20px;
}
.pd-breadcrumb a { color: #9ca3af; text-decoration: none; }
.pd-breadcrumb a:hover { color: #f1f5f9; }

.pd-page-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 16px;
    line-height: 1.2;
}

.pd-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    align-items: start;
}

/* ── Sidebar ─────────────────────────────────── */
.pd-sidebar {
    align-self: start;
}

.pd-filter-panel {
    background: #1a1d2e;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    overflow: hidden;
}

.pd-filter-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.pd-filter-panel__title {
    font-size: 14px;
    font-weight: 700;
    color: #f1f5f9;
}

.pd-filter-clear {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color .15s;
}
.pd-filter-clear:hover { color: #f1f5f9; }
.pd-filter-clear::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3C/svg%3E") center/contain no-repeat;
}

.pd-filter-section {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.pd-filter-section:last-child { border-bottom: none; }

.pd-filter-section__label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 10px;
}

.pd-filter-select-wrap {
    position: relative;
}
.pd-filter-select-wrap::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;
    pointer-events: none;
}
.pd-filter-select {
    width: 100%;
    background: #12151f;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 7px;
    color: #f1f5f9;
    font-size: 13px;
    font-family: inherit;
    padding: 9px 32px 9px 12px;
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color .15s;
}
.pd-filter-select:focus { border-color: #e8192c; }

.pd-market-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pd-market-btn {
    background: #12151f;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    color: #9ca3af;
    font-size: 12px;
    font-family: inherit;
    padding: 5px 12px;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}
.pd-market-btn:hover { border-color: rgba(255,255,255,.2); color: #f1f5f9; }
.pd-market-btn--active {
    background: rgba(232,25,44,.12);
    border-color: #e8192c;
    color: #e8192c;
    font-weight: 600;
}

.pd-line-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pd-line-btn {
    background: #12151f;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    color: #9ca3af;
    font-size: 12px;
    font-family: inherit;
    padding: 5px 12px;
    cursor: pointer;
    transition: all .15s;
}
.pd-line-btn:hover { border-color: rgba(255,255,255,.2); color: #f1f5f9; }
.pd-line-btn--active {
    background: #1e1216;
    border-color: #e8192c;
    color: #e8192c;
    font-weight: 600;
}

.pd-model-info {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 12px 16px;
    background: rgba(232,25,44,.10);
    border-top: 1px solid rgba(232,25,44,.10);
    font-size: 11px;
    color: #6b7280;
    line-height: 1.5;
}
.pd-model-info svg { flex-shrink: 0; margin-top: 1px; color: #e8192c; }
.pd-accuracy-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: none;
    border-top: 1px solid rgba(255,255,255,.05);
    transition: color .15s;
}
.pd-accuracy-link:hover { color: #e8192c; }
.pd-accuracy-link svg { color: #e8192c; flex-shrink: 0; }

/* ── Main content ────────────────────────────── */
.pd-hero {
    margin-bottom: 20px;
}
.pd-hero__title {
    font-size: 22px;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 6px;
    line-height: 1.2;
}
.pd-hero__sub {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* ── Date navigation ─────────────────────────── */
.pd-date-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pd-date-nav__cal {
    background: #1a1d2e;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    color: #9ca3af;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all .15s;
    position: relative;
}
.pd-date-nav__cal:hover { border-color: rgba(255,255,255,.2); color: #f1f5f9; }
.pd-date-nav__cal input[type="date"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
}

.pd-date-pill {
    background: #1a1d2e;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    color: #9ca3af;
    font-size: 13px;
    font-family: inherit;
    padding: 6px 16px;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}
.pd-date-pill:hover { border-color: rgba(255,255,255,.2); color: #f1f5f9; }
.pd-date-pill--active {
    background: #1a1f2e;
    border-color: #f1f5f9;
    color: #f1f5f9;
    font-weight: 600;
}

/* ── Competition group ───────────────────────── */
.pd-competition {
    margin-bottom: 16px;
    background: #1a1d2e;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    overflow: hidden;
}

.pd-competition__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255,255,255,.03);
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.pd-competition__logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}
.pd-competition__name {
    font-size: 14px;
    font-weight: 700;
    color: #f1f5f9;
    flex: 1;
}
.pd-competition__count {
    font-size: 12px;
    color: #4b5563;
}

/* ── Match column headers ────────────────────── */
.pd-match-header {
    display: grid;
    grid-template-columns: 90px 1fr repeat(4, 80px) 120px;
    gap: 0;
    padding: 6px 16px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.pd-match-header__cell {
    font-size: 11px;
    font-weight: 600;
    color: #4b5563;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.pd-match-header__cell:nth-child(2) { text-align: left; }

/* ── Match row ───────────────────────────────── */
.pd-match {
    display: grid;
    grid-template-columns: 90px 1fr repeat(4, 80px) 120px;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
    text-decoration: none;
    color: inherit;
    transition: background .12s;
    cursor: pointer;
}
.pd-match:last-child { border-bottom: none; }
.pd-match:hover { background: rgba(255,255,255,.03); }

.pd-match__time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 8px;
    font-size: 13px;
    font-weight: 600;
    color: #9ca3af;
    border-right: 1px solid rgba(255,255,255,.04);
}
.pd-match__date-label {
    font-size: 10px;
    font-weight: 400;
    color: #6b7280;
    margin-top: 2px;
}
.pd-match__time-status {
    font-size: 10px;
    font-weight: 500;
    color: #4b5563;
    margin-top: 2px;
}
.pd-match__time-status--live { color: #e05454; }
.pd-match__time-status--fin  { color: #e8192c; }

.pd-match__teams {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 10px 16px;
    min-width: 0;
}
.pd-match__team {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pd-match__crest {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}
.pd-match__team-name {
    font-size: 13px;
    font-weight: 500;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Probability cell ────────────────────────── */
.pd-match__prob {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    border-right: 1px solid rgba(255,255,255,.04);
}
.pd-prob-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255,255,255,.06);
    color: #9ca3af;
}
.pd-prob-chip--high   { background: rgba(232,25,44,.15);  color: #e8192c; }
.pd-prob-chip--medium { background: rgba(148,163,184,.12);  color: #9ca3af; }
.pd-prob-chip--low    { background: rgba(224,84,84,.12);  color: #e05454; }

/* ── Prediction cell ─────────────────────────── */
.pd-match__pred {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
}
.pd-pred-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #0d0f1a;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 7px;
    padding: 6px 12px;
    text-align: center;
    min-width: 80px;
}
.pd-pred-badge__label {
    font-size: 11px;
    font-weight: 700;
    color: #f1f5f9;
    white-space: nowrap;
}
.pd-pred-badge__odds {
    font-size: 14px;
    font-weight: 800;
    color: #e8192c;
    margin-top: 1px;
}
.pd-pred-badge__bm {
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
    margin-top: 2px;
    white-space: nowrap;
    letter-spacing: .01em;
}

/* 1X2 layout variant */
.pd-match--1x2 {
    grid-template-columns: 90px 1fr repeat(3, 70px) 120px;
}
.pd-match-header--1x2 {
    grid-template-columns: 90px 1fr repeat(3, 70px) 120px;
}

/* BTTS variant */
.pd-match--btts {
    grid-template-columns: 90px 1fr 100px 100px 120px;
}
.pd-match-header--btts {
    grid-template-columns: 90px 1fr 100px 100px 120px;
}

/* ── Empty / loader / error ──────────────────── */
.pd-loader {
    display: flex;
    justify-content: center;
    padding: 60px 0;
}
.pd-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255,255,255,.08);
    border-top-color: #e8192c;
    border-radius: 50%;
    animation: pdSpin .7s linear infinite;
}
@keyframes pdSpin { to { transform: rotate(360deg); } }

.pd-empty {
    text-align: center;
    padding: 60px 20px;
    color: #4b5563;
    font-size: 14px;
}
.pd-empty__icon {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: .4;
}

.pd-error {
    background: rgba(224,84,84,.1);
    border: 1px solid rgba(224,84,84,.2);
    border-radius: 8px;
    padding: 16px 20px;
    color: #e05454;
    font-size: 13px;
    margin-bottom: 16px;
}

/* ── Value Bets market button ────────────────── */
.pd-market-btn--value {
    background: rgba(234,179,8,.08);
    border-color: rgba(234,179,8,.3);
    color: #facc15;
}
.pd-market-btn--value:hover {
    border-color: #facc15;
    color: #fde047;
}
.pd-market-btn--value.pd-market-btn--active {
    background: rgba(234,179,8,.15);
    border-color: #facc15;
    color: #facc15;
}

/* ── Best Bet Featured ──────────────────────── */
.pd-best-bet {
    background: linear-gradient(135deg, #1a0a0a 0%, #111827 60%, #0d1117 100%);
    border: 1px solid rgba(232,25,44,.3);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}
.pd-bb-badge {
    display: inline-block;
    background: #e8192c;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 4px 12px;
    margin: 14px 14px 0;
    border-radius: 4px;
}
.pd-bb-inner { padding: 12px 16px 16px; }
.pd-bb-league {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 12px;
}
.pd-bb-league img { width: 16px; height: 16px; object-fit: contain; }
.pd-bb-league span { font-weight: 600; color: #9ca3af; }
.pd-bb-time { margin-left: auto; font-size: 11px; color: #4b5563; }
.pd-bb-match {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.pd-bb-team {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: #f3f4f6;
}
.pd-bb-team img { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.pd-bb-team:last-child { justify-content: flex-end; }
.pd-bb-vs { font-size: 12px; color: #4b5563; flex-shrink: 0; }
.pd-bb-tip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(232,25,44,.08);
    border: 1px solid rgba(232,25,44,.2);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 12px;
}
.pd-bb-outcome {
    font-size: 16px;
    font-weight: 800;
    color: #f9fafb;
}
.pd-bb-conf {
    font-size: 12px;
    color: #9ca3af;
    text-align: right;
}
.pd-bb-pct {
    font-size: 18px;
    font-weight: 800;
    color: #e8192c;
}
.pd-bb-btn {
    display: block;
    text-align: center;
    background: #e8192c;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s;
}
.pd-bb-btn:hover { background: #c0111f; }

/* ── Value Bets grid layout ──────────────────── */
.pd-vb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
}

/* Card wrapper — allows absolutely-positioned panel without layout shift */
.pd-vb-card-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
}
.pd-vb-card-wrap .pd-vb-card {
    flex: 1;
}
.pd-vb-card-wrap--hidden {
    display: none;
}

/* Section divider between upcoming and played */
.pd-vb-section-sep {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
}
.pd-vb-section-sep__line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.07);
}
.pd-vb-section-sep__label {
    font-size: 11px;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* Show more button */
.pd-show-more-wrap {
    grid-column: 1 / -1;
    text-align: center;
    padding: 6px 0;
}
.pd-show-more-btn {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    padding: 10px 28px;
    cursor: pointer;
    transition: all .15s;
}
.pd-show-more-btn:hover {
    border-color: rgba(255,255,255,.2);
    color: #f1f5f9;
    background: rgba(255,255,255,.07);
}

/* ── Value Bet card ──────────────────────────── */
.pd-vb-card {
    background: #1a1d2e;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
    display: flex;
    flex-direction: column;
}
.pd-vb-card:hover {
    border-color: rgba(234,179,8,.35);
    box-shadow: 0 4px 20px rgba(234,179,8,.06);
}

.pd-vb-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(255,255,255,.03);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.pd-vb-card__league {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #6b7280;
}
.pd-vb-card__league img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    background: rgba(255,255,255,.92);
    border-radius: 5px;
    padding: 3px;
    box-sizing: content-box;
    flex-shrink: 0;
}
.pd-vb-card__time {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
}

.pd-vb-card__match {
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.pd-vb-card__teams {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    flex: 1;
}
.pd-vb-card__team {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pd-vb-card__team img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}
.pd-vb-card__vs {
    font-size: 11px;
    color: #374151;
    text-align: center;
    font-weight: 700;
    flex-shrink: 0;
}

.pd-vb-card__pick {
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    flex: 1;
}
.pd-vb-card__pick-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.pd-vb-card__outcome {
    font-size: 13px;
    font-weight: 600;
    color: #f1f5f9;
}
.pd-vb-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.pd-vb-tag--high   { background: rgba(34,197,94,.12);  color: #22c55e; }
.pd-vb-tag--medium { background: rgba(234,179,8,.12);  color: #facc15; }

.pd-vb-card__stats {
    display: flex;
    align-items: center;
    gap: 20px;
}
.pd-vb-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pd-vb-stat__label {
    font-size: 10px;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.pd-vb-stat__val {
    font-size: 18px;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
}
.pd-vb-stat__val--odds {
    color: #facc15;
}
.pd-vb-bar {
    flex: 1;
}
.pd-vb-bar__track {
    height: 5px;
    background: rgba(255,255,255,.08);
    border-radius: 3px;
    overflow: hidden;
}
.pd-vb-bar__fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #e8192c, #facc15);
    transition: width .4s ease;
}
.pd-vb-bar__pct {
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
}

.pd-vb-card__cta {
    padding: 12px 14px;
    display: flex;
    gap: 8px;
}
.pd-vb-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    padding: 9px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s, transform .1s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pd-vb-btn:hover { transform: translateY(-1px); }
.pd-vb-btn--primary {
    background: #e8192c;
    color: #fff;
}
.pd-vb-btn--primary:hover { background: #c0111f; }
.pd-vb-btn--secondary {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    color: #9ca3af;
}
.pd-vb-btn--secondary:hover { border-color: rgba(255,255,255,.2); color: #f1f5f9; }
.pd-vb-btn--bet {
    background: linear-gradient(135deg, #1a7f37, #22a347);
    color: #fff;
    font-weight: 800;
    letter-spacing: .3px;
}
.pd-vb-btn--bet:hover { background: linear-gradient(135deg, #145f28, #1a7f37); }
.pd-vb-card__disclaimer {
    padding: 0 14px 10px;
    font-size: 9px;
    color: #64748b;
    text-align: center;
}
.pd-vb-card__disclaimer a { color: #64748b; }

.pd-vb-empty {
    text-align: center;
    padding: 48px 20px;
    color: #4b5563;
    font-size: 14px;
}
.pd-vb-empty__icon { font-size: 36px; margin-bottom: 12px; opacity: .4; }

/* ── Bookmakers sidebar panel ────────────────── */
.pd-bk-panel {
    background: #1a1d2e;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 12px;
}
.pd-bk-panel__head {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
}
.pd-bk-panel__head svg { color: #facc15; flex-shrink: 0; }
.pd-bk-list { padding: 6px 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.pd-bk-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    background: #12151f;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 9px;
    transition: border-color .15s, box-shadow .15s;
    position: relative;
    overflow: hidden;
}
.pd-bk-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(232,25,44,.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity .2s;
}
.pd-bk-item:hover {
    border-color: rgba(232,25,44,.35);
    box-shadow: 0 2px 12px rgba(232,25,44,.1);
}
.pd-bk-item:hover::before { opacity: 1; }
.pd-bk-item__logo {
    width: 36px;
    height: 36px;
    background: #1a1d2e;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #e8192c;
    flex-shrink: 0;
    letter-spacing: .02em;
}
.pd-bk-item__info { flex: 1; min-width: 0; }
.pd-bk-item__name {
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.2;
}
.pd-bk-item__offer {
    font-size: 11px;
    color: #22c55e;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}
.pd-bk-item__cta {
    background: #e8192c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    flex-shrink: 0;
    transition: background .15s;
    position: relative;
    z-index: 1;
}
.pd-bk-item:hover .pd-bk-item__cta { background: #c0111f; }
.pd-bk-panel__more {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    padding: 9px;
    border-top: 1px solid rgba(255,255,255,.07);
    text-decoration: none;
    transition: color .15s;
}
.pd-bk-panel__more:hover { color: #e8192c; }

/* ── League navigation hub ───────────────────── */
.pd-league-hub {
    margin-bottom: 18px;
}
.pd-league-nav {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
.pd-league-nav::-webkit-scrollbar { display: none; }
.pd-league-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #1a1d2e;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: none;
    transition: all .15s;
    white-space: nowrap;
}
.pd-league-pill:hover {
    border-color: rgba(232,25,44,.4);
    color: #f1f5f9;
    background: rgba(232,25,44,.06);
}
.pd-league-pill--active {
    border-color: #e8192c;
    color: #e8192c;
    background: rgba(232,25,44,.1);
    font-weight: 600;
}
.pd-league-pill__flag {
    font-size: 14px;
    line-height: 1;
}
.pd-league-pill--back {
    color: #6b7280;
    gap: 4px;
}
.pd-league-pill--back:hover {
    color: #f1f5f9;
}
.pd-league-pill--best {
    border-color: rgba(251,191,36,.35);
    color: #fbbf24;
    background: rgba(251,191,36,.07);
}
.pd-league-pill--best:hover {
    border-color: #fbbf24;
    background: rgba(251,191,36,.14);
    color: #fde68a;
}

/* ── Odds Calculator widget ──────────────────── */
.pd-calc-panel {
    background: #1a1d2e;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 12px;
}
.pd-calc-panel__head {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
}
.pd-calc-panel__head svg { color: #e8192c; flex-shrink: 0; }
.pd-calc-panel__body {
    padding: 14px 16px;
}
.pd-calc-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 6px;
}
.pd-calc-input-wrap {
    display: flex;
    align-items: center;
    background: #12151f;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 7px;
    overflow: hidden;
    transition: border-color .15s;
}
.pd-calc-input-wrap:focus-within { border-color: #e8192c; }
.pd-calc-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #f1f5f9;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    padding: 9px 12px;
    width: 0;
    min-width: 0;
    -moz-appearance: textfield;
}
.pd-calc-input::-webkit-outer-spin-button,
.pd-calc-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.pd-calc-spin {
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
}
.pd-calc-spin__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    color: #4b5563;
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
    transition: color .12s, background .12s;
    user-select: none;
    flex-shrink: 0;
}
.pd-calc-spin__btn:hover { color: #f1f5f9; background: rgba(255,255,255,.06); }
.pd-calc-spin__btn:first-child { border-bottom: 1px solid rgba(255,255,255,.07); }
.pd-calc-unit {
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    padding: 0 10px 0 4px;
}
.pd-calc-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    margin: 8px 0;
}
.pd-calc-sep {
    height: 1px;
    background: rgba(255,255,255,.06);
    margin: 12px 0;
}
.pd-calc-field { margin-bottom: 10px; }
.pd-calc-field:last-of-type { margin-bottom: 0; }
.pd-calc-result {
    background: rgba(232,25,44,.06);
    border: 1px solid rgba(232,25,44,.15);
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 12px;
}
.pd-calc-result__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #9ca3af;
    padding: 3px 0;
}
.pd-calc-result__row strong { font-size: 14px; font-weight: 800; color: #f1f5f9; }
.pd-calc-result__row--profit strong { color: #22c55e; }

/* ── Finished value card — same look as upcoming ── */
.pd-vb-card--finished {
    border-color: rgba(255,255,255,.07);
}

/* Finished card footer */
.pd-vb-card__finished-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-top: 1px solid rgba(255,255,255,.05);
    background: rgba(0,0,0,.1);
}
.pd-vb-card__finished-label {
    font-size: 11px;
    color: #4b5563;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.pd-vb-card__finished-analysis {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    transition: color .15s;
}
.pd-vb-card__finished-analysis:hover { color: #9ca3af; }

/* Finished card match section */
.pd-vb-card__match--finished {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px 10px;
    gap: 0;
}

/* Teams row — horizontal, score below */
.pd-vb-card__teams--row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}
.pd-vb-card__teams--row .pd-vb-card__team {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
/* Text span — truncates properly inside flex */
.pd-vb-card__teams--row .pd-vb-card__team span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* Away: name then crest so ellipsis cuts from the right */
.pd-vb-card__team--away {
    justify-content: flex-end;
    text-align: right;
}
.pd-vb-card__team--away img {
    flex-shrink: 0;
}

/* Score + label below teams, centered column */
.pd-vb-ft-score-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.06);
    gap: 2px;
}
.pd-vb-ft-score {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 22px;
    font-weight: 900;
    color: #f1f5f9;
    letter-spacing: .02em;
}
.pd-vb-ft-score span {
    color: #4b5563;
    font-weight: 400;
    font-size: 18px;
}
.pd-vb-ft-score-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #4b5563;
}

/* "FT" badge in header */
.pd-vb-ft-badge {
    display: inline-block;
    background: rgba(232,25,44,.15);
    color: #e8192c;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-right: 4px;
}

/* ✓ Correct / ✗ Wrong badge */
.pd-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .04em;
    flex-shrink: 0;
}
.pd-result-badge--ok  { background: rgba(34,197,94,.12);  color: #22c55e; }
.pd-result-badge--bad { background: rgba(224,84,84,.12);  color: #e05454; }

/* Finished CTA row */
.pd-vb-card__cta--finished {
    align-items: center;
}

/* Expand toggle button */
.pd-expand-btn {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    padding: 9px 12px;
    cursor: pointer;
    transition: all .15s;
}
.pd-expand-btn svg { transition: transform .2s; flex-shrink: 0; }
.pd-expand-btn:hover { border-color: rgba(255,255,255,.2); color: #f1f5f9; }
.pd-expand-btn--open { border-color: rgba(234,179,8,.3); color: #facc15; }
.pd-expand-btn--open svg { transform: rotate(180deg); }

/* Ghost button (Analysis link) */
.pd-vb-btn--ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,.1);
    color: #9ca3af;
    flex: 1;
}
.pd-vb-btn--ghost:hover { border-color: rgba(255,255,255,.2); color: #f1f5f9; }

.pd-vb-btn--analysis {
    background: rgba(232,25,44,.1);
    border: 1px solid rgba(232,25,44,.3);
    color: #e8192c;
    flex: 1;
}
.pd-vb-btn--analysis:hover {
    background: rgba(232,25,44,.18);
    border-color: #e8192c;
    color: #ff3347;
}

/* ── Expandable breakdown panel (absolutely positioned) ── */
.pd-result-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    background: #1a1d2e;
    border: 1px solid rgba(255,255,255,.1);
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 10px 14px 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.pd-rp-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.pd-rp-row:last-child { border-bottom: none; }
.pd-rp-label {
    font-size: 10px;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: .05em;
    min-width: 40px;
}
.pd-rp-items {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    flex: 1;
}
.pd-rp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,.05);
    border-radius: 6px;
    padding: 5px 10px;
    min-width: 48px;
}
.pd-rp-item__l { font-size: 10px; color: #4b5563; margin-bottom: 1px; }
.pd-rp-item__v { font-size: 13px; font-weight: 700; color: #f1f5f9; }

/* ── Table row – finished score ──────────────── */
.pd-match__score {
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    text-align: center;
    background: rgba(255,255,255,.07);
    border-radius: 4px;
    padding: 2px 7px;
    align-self: center;
    margin: 0 2px;
    white-space: nowrap;
    line-height: 1.6;
}

/* ✓/✗ in prediction badge (table view) */
.pd-pred-result {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-top: 2px;
    line-height: 1;
}
.pd-pred-result--ok  { color: #22c55e; }
.pd-pred-result--bad { color: #e05454; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
    .pd-layout {
        grid-template-columns: 240px 1fr;
    }
    .pd-match {
        grid-template-columns: 70px 1fr repeat(4, 64px) 100px;
    }
    .pd-match-header {
        grid-template-columns: 70px 1fr repeat(4, 64px) 100px;
    }
}

@media (max-width: 768px) {
    .pd-layout {
        grid-template-columns: 1fr;
    }
    .pd-sidebar {
        position: static;
    }
    .pd-filter-panel { margin-bottom: 16px; }

    /* Compact match on mobile — hide 2 prob cols */
    .pd-match {
        grid-template-columns: 60px 1fr 70px 70px 90px;
    }
    .pd-match-header {
        grid-template-columns: 60px 1fr 70px 70px 90px;
    }
    .pd-match__prob:nth-child(3),
    .pd-match__prob:nth-child(4),
    .pd-match-header__cell:nth-child(3),
    .pd-match-header__cell:nth-child(4) {
        display: none;
    }
    .pd-prob-chip { min-width: 44px; font-size: 12px; }
    .pd-pred-badge { min-width: 64px; padding: 5px 8px; }
    .pd-match__team-name { font-size: 12px; }
}

/* ── Mobile < 480px ── */
@media (max-width: 480px) {
    .pd-vb-grid { grid-template-columns: 1fr; gap: 8px; }
    .pd-vb-card__head { padding: 10px 12px 8px; }
    .pd-vb-card__match { padding: 0 12px 10px; }
    .pd-vb-card__pick { padding: 10px 12px; }
    .pd-vb-card__cta { padding: 10px 12px; }

    .pd-bb-match { gap: 8px; }
    .pd-bb-team span { font-size: 12px; }
    .pd-bb-conf { font-size: 11px; }

    .pd-match { grid-template-columns: 50px 1fr 60px 60px 80px; }
    .pd-match-header { grid-template-columns: 50px 1fr 60px 60px 80px; }
    .pd-match__team-name { font-size: 11px; }
    .pd-prob-chip { min-width: 40px; font-size: 11px; padding: 4px 5px; }
}

/* ── Mobile filter toggle ─────────────────────── */
.pd-mobile-bar {
    display: none;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.pd-mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #1a1d2e;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    padding: 9px 16px;
    cursor: pointer;
    transition: all .15s;
}
.pd-mobile-filter-btn:hover { border-color: rgba(255,255,255,.25); color: #f1f5f9; }
.pd-mobile-filter-btn--active { border-color: #e8192c; color: #e8192c; background: rgba(232,25,44,.08); }

@media (max-width: 768px) {
    .pd-mobile-bar { display: flex; }
    .pd-sidebar { display: none; }
    .pd-sidebar--mobile-open { display: block; }
    .pd-date-nav { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
    .pd-date-nav::-webkit-scrollbar { height: 3px; }
    .pd-date-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }
    .pd-league-hub { overflow-x: auto; }
    .pd-league-nav { flex-wrap: nowrap; }
}

/* ── Form dots (team streak) ─────────────────── */
.pd-vb-team__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.pd-vb-team__info span {
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pd-form-dots {
    display: flex;
    gap: 3px;
    align-items: center;
}
.pd-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.pd-dot--w { background: #22c55e; }
.pd-dot--d { background: #6b7280; }
.pd-dot--l { background: #e8192c; }

/* ── Best page hero (reuse) ──────────────────── */
.pd-best-hero {
    background: linear-gradient(135deg, #0d1117 0%, #1a1d2e 100%);
    border: 1px solid rgba(232,25,44,.2);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 20px;
}
.pd-best-hero__title {
    font-size: 22px;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 6px;
}
.pd-best-hero__sub {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}
.pd-best-hero__badge {
    display: inline-block;
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.3);
    color: #22c55e;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ── Yesterday's Results sidebar widget ────── */
.pd-recap-panel {
    background: #1a1d2e;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 12px;
}
.pd-recap-panel__head {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.pd-recap-panel__score {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    background: rgba(34,197,94,.15);
    color: #22c55e;
    border: 1px solid rgba(34,197,94,.25);
    border-radius: 20px;
    padding: 2px 9px;
}
.pd-recap-list { padding: 6px 0; }
.pd-recap-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
}
.pd-recap-row:hover { background: rgba(255,255,255,.03); }
.pd-recap-badge {
    flex-shrink: 0;
    width: 18px; height: 18px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.pd-recap-badge--ok  { background: rgba(34,197,94,.2);  color: #22c55e; }
.pd-recap-badge--bad { background: rgba(239,68,68,.2);  color: #ef4444; }
.pd-recap-row__match { flex: 1; min-width: 0; }
.pd-recap-row__teams {
    display: block;
    font-size: 11px;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pd-recap-row__pick {
    display: block;
    font-size: 10px;
    color: #6b7280;
    margin-top: 1px;
}
.pd-recap-panel__more {
    display: block;
    text-align: center;
    padding: 8px;
    font-size: 11px;
    color: #6b7280;
    border-top: 1px solid rgba(255,255,255,.05);
    text-decoration: none;
}
.pd-recap-panel__more:hover { color: #f1f5f9; }

/* ── Value Edge bar ─────────────────────────── */
.pd-vb-edge {
    padding: 8px 14px 10px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.pd-vb-edge__label {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 6px;
}
.pd-vb-edge__label strong {
    color: #22c55e;
    font-weight: 700;
}
.pd-vb-edge__bar {
    position: relative;
    height: 6px;
    background: rgba(255,255,255,.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}
.pd-vb-edge__market {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    background: rgba(156,163,175,.4);
    border-radius: 3px;
    transition: width .4s ease;
}
.pd-vb-edge__model {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    background: linear-gradient(90deg, #16a34a, #22c55e);
    border-radius: 3px;
    transition: width .4s ease;
}
.pd-vb-edge__meta {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #6b7280;
}

/* ── Urgency banner ─────────────────────────── */
.pd-vb-card--urgent {
    border-color: rgba(239,68,68,.4) !important;
    box-shadow: 0 0 0 1px rgba(239,68,68,.2);
}
.pd-vb-urgent {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(90deg, rgba(239,68,68,.15), rgba(239,68,68,.05));
    border-bottom: 1px solid rgba(239,68,68,.2);
    font-size: 11px;
    font-weight: 700;
    color: #f87171;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.pd-vb-urgent__timer {
    font-variant-numeric: tabular-nums;
    color: #fca5a5;
    font-size: 12px;
    min-width: 52px;
}

/* ── Extra mobile: ≤420px ── */
@media (max-width: 420px) {
    .pd-best-hero { padding: 16px 14px; }
    .pd-best-hero__title { font-size: 18px; }
    .pd-best-hero__sub { font-size: 12px; }
    .pd-vb-card__head { padding: 8px 10px 6px; }
    .pd-vb-card__match { padding: 0 10px 8px; }
    .pd-vb-card__pick { padding: 8px 10px; }
    .pd-vb-card__cta { padding: 8px 10px; }
    .pd-league-pill { font-size: 11px; padding: 5px 10px; }
    .pd-mobile-filter-btn { font-size: 12px; padding: 7px 12px; }
    .pd-date-btn { font-size: 11px; min-width: 56px; padding: 6px 8px; }
    .pd-vb-card__cta-btn { font-size: 12px; padding: 8px 12px; }
}

/* ── Acca button ─────────────────────────────── */
.pd-acca-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid rgba(22,163,74,0.5);
    background: transparent;
    color: #16a34a;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    white-space: nowrap;
}
.pd-acca-btn:hover:not(:disabled) {
    background: rgba(22,163,74,0.12);
}
.pd-acca-btn--added {
    background: rgba(22,163,74,0.15);
    border-color: #16a34a;
    color: #22c55e;
    cursor: default;
}
.pd-acca-btn--full {
    border-color: rgba(107,114,128,0.4);
    color: #6b7280;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ── Acca floating bar ───────────────────────── */
#pdAccaFloatBar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 600px;
    z-index: 9000;
}
.pd-acca-bar__inner {
    background: #1a1d2e;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.5);
    overflow: hidden;
    padding: 12px 14px 10px;
}
.pd-acca-bar__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.pd-acca-bar__count {
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background: #e53935;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.pd-acca-bar__title {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: #f1f5f9;
}
.pd-acca-bar__clear {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 11px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.pd-acca-bar__picks {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
    max-height: 140px;
    overflow-y: auto;
}
.pd-acca-bar__pick {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pd-acca-bar__pick-teams {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    color: #f1f5f9;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pd-acca-bar__pick-tip {
    font-size: 11px;
    font-weight: 700;
    color: #e53935;
    flex-shrink: 0;
}
.pd-acca-bar__pick-odds {
    font-size: 12px;
    font-weight: 700;
    color: #f1f5f9;
    flex-shrink: 0;
}
.pd-acca-bar__remove {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0 2px;
    line-height: 1;
}
.pd-acca-bar__odds {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 2px;
}
.pd-acca-bar__odds strong { color: #f1f5f9; }
.pd-acca-bar__return {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 8px;
}
.pd-acca-bar__return strong { color: #f1f5f9; }
.pd-acca-bar__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(90deg, #16a34a, #15803d);
    color: #fff;
    border-radius: 12px;
    padding: 11px 0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    transition: opacity 0.18s;
}
.pd-acca-bar__cta:hover { opacity: 0.9; }
.pd-acca-bar__cta-18 {
    background: rgba(0,0,0,0.25);
    border-radius: 6px;
    padding: 1px 5px;
    font-size: 10px;
    font-weight: 800;
}
.pd-acca-bar__legal {
    font-size: 9px;
    color: #6b7280;
    text-align: center;
    line-height: 1.4;
}
.pd-acca-bar__legal a {
    color: #6b7280;
    text-decoration: underline;
}

/* ── SEO text blocks ── */
.pd-intro { color: var(--color-text-muted, #9ca3af); font-size: .92rem; margin: -4px 0 16px; line-height: 1.6; }
.pd-seo-section { margin: 40px 0 24px; padding: 28px; background: var(--color-bg-card, #1e2533); border-radius: 12px; }
.pd-seo-section h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; color: var(--color-text, #f1f5f9); }
.pd-seo-section h2:not(:first-child) { margin-top: 22px; }
.pd-seo-section p { font-size: .9rem; color: var(--color-text-muted, #9ca3af); line-height: 1.65; margin: 0; }
.pd-seo-section a { color: var(--color-accent, #3b82f6); text-decoration: none; }
.pd-league-intro { color: var(--color-text-muted, #9ca3af); font-size: .9rem; margin: 4px 0 20px; }

/* ── GSC-FIX-2 AC-1: Predictions hubs (crawl-budget pump) ── */
.pred-hubs {
    margin: 32px 0 24px;
    padding: 24px;
    background: var(--color-bg-card, #1e2533);
    border-radius: 12px;
    border: 1px solid var(--color-border, rgba(255,255,255,.06));
}
.pred-hubs__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--color-text, #f1f5f9);
}
.pred-hubs__title:not(:first-child) { margin-top: 24px; }
.pred-hubs__intro {
    font-size: .88rem;
    color: var(--color-text-muted, #9ca3af);
    margin: -8px 0 14px;
}
.pred-hubs__grid,
.pred-hubs__teams {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}
.pred-hubs__grid a,
.pred-hubs__teams a {
    display: block;
    padding: 10px 12px;
    background: var(--color-bg-elevated, rgba(255,255,255,.04));
    border: 1px solid var(--color-border, rgba(255,255,255,.06));
    border-radius: 8px;
    color: var(--color-text, #e2e8f0);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    text-align: center;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pred-hubs__grid a:hover,
.pred-hubs__grid a:focus-visible,
.pred-hubs__teams a:hover,
.pred-hubs__teams a:focus-visible {
    background: rgba(232, 25, 44, .08);
    border-color: #e8192c;
    color: #e8192c;
    outline: none;
}
@media (max-width: 480px) {
    .pred-hubs { padding: 16px; }
    .pred-hubs__grid, .pred-hubs__teams { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; }
    .pred-hubs__grid a, .pred-hubs__teams a { padding: 9px 10px; font-size: .8rem; }
}
