.pp-ad-device-all,
.pp-ad-device-desktop {
    display: block;
}

.pp-ad-device-mobile {
    display: none;
}

@media (max-width: 768px) {
    .pp-ad-device-desktop {
        display: none !important;
    }

    .pp-ad-device-mobile,
    .pp-ad-device-all {
        display: block !important;
    }
}

/* =========================================================
   HOME MATCH PREDICTION CARD - FINAL
   Работи со:
   <div class="pp-insights pp-prediction-area">
========================================================= */

/* Desktop row layout */
.pp-home .pp-match-row {
    grid-template-columns: 72px minmax(0, 1fr) 42px 190px 24px !important;
    gap: 14px !important;
    align-items: center !important;
}

/* Prediction column */
.pp-home .pp-match-row .pp-prediction-area {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
}

/* Card wrapper */
.pp-home .pp-match-row .pp-pick-card {
    width: 100% !important;
    min-height: 52px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;

    background: linear-gradient(180deg, rgba(19, 33, 69, 0.96), rgba(13, 25, 55, 0.96)) !important;
    border: 1px solid rgba(120, 155, 220, 0.28) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04) !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 6px !important;
}

/* Small label */
.pp-home .pp-match-row .pp-pick-label {
    display: block !important;
    color: #8fa3c8 !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
    line-height: 1 !important;
}

/* Tip + odds row */
.pp-home .pp-match-row .pp-pick-row {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Green prediction */
.pp-home .pp-match-row .pp-pick-tip {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 24px !important;
    padding: 0 10px !important;
    border-radius: 7px !important;

    background: linear-gradient(180deg, #94e99c 0%, #187345 100%) !important;
    color: #062817 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 11px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Blue odds */
.pp-home .pp-match-row .pp-pick-odd {
    flex: 0 0 58px !important;
    width: 58px !important;
    height: 24px !important;
    padding: 0 8px !important;
    border-radius: 7px !important;

    background: linear-gradient(180deg, #315fd4 0%, #254ba9 100%) !important;
    color: #ffffff !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 11px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* No prediction */
.pp-home .pp-match-row .pp-pick-tip.muted {
    background: rgba(255,255,255,0.08) !important;
    color: #aab7cc !important;
}

/* Arrow */
.pp-home .pp-match-row .pp-arrow {
    color: #9cc4ff !important;
    font-size: 24px !important;
    opacity: .9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

.tp-header-email {
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.tp-header-email:hover {
    color: #facc15;
}


.pp-poll-mobile-under-fixtures {
    display: none;
}

@media (max-width: 768px) {
    .pp-poll-mobile-under-fixtures {
        display: block !important;
        margin: 14px 0 18px;
    }
}

.pp-poll-desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .pp-poll-desktop-only {
        display: none !important;
    }
}

/* =========================
   HEADER ACTIONS BAR
========================= */

.tp-header-actions-bar {
    background: #070d1b;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tp-header-actions-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.tp-header-small-action {
    height: 25px;
    padding: 0 9px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.045);
    color: rgba(255,255,255,0.78);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    text-decoration: none;
}

.tp-header-small-action:hover {
    background: rgba(255,255,255,0.075);
    color: #ffffff;
}

.tp-header-actions-bar .tp-search-open {
    height: 25px;
    padding: 0 9px;
    font-size: 11px;
    border-radius: 8px;
    box-shadow: none;
}

.tp-header-actions-bar .tp-search-icon {
    font-size: 11px;
}

.tp-register-small {
    background: rgba(79, 140, 255, 0.18);
    border-color: rgba(79, 140, 255, 0.35);
    color: #dbeafe;
}

.tp-register-small:hover {
    background: rgba(79, 140, 255, 0.28);
    color: #ffffff;
}

.tp-login-small {
    background: transparent;
}

.tp-header-user-menu .pp-user-trigger {
    height: 25px;
    padding: 0 9px;
    font-size: 11px;
    border-radius: 8px;
}

/* Main header a little cleaner after moving actions above */
.fs-header-inner {
    min-height: 62px;
}

/* Remove old right-action sizing if it affects moved buttons */
.fs-topnav .tp-search-open,
.fs-topnav a[href*="login"],
.fs-topnav .pp-register {
    height: auto;
}

/* =========================
   THEME
========================= */

:root {
    --bg: #0b1020;
    --bg-soft: #12192b;
    --panel: #151d31;
    --panel-2: #1a233a;
    --border: rgba(255, 255, 255, 0.08);
    --text: #e8edf7;
    --text-soft: #97a3bd;
--accent: #6c5ce7;
--accent-2: #00c853;
--accent-gradient: linear-gradient(135deg, #6c5ce7, #4facfe);
    --danger: #ef4444;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    --radius: 18px;
}

/* =========================
   BASE
========================= */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

/* =========================
   LAYOUT
========================= */

.admin-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px 1fr;
}

.admin-sidebar {
    background: linear-gradient(180deg, #0d1325 0%, #0a1020 100%);
    border-right: 1px solid var(--border);
    padding: 20px;
}

.admin-main-wrap {
    min-width: 0;
}

.admin-main {
    padding: 24px;
}

/* =========================
   SIDEBAR
========================= */

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.admin-brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), #7f9cff);
    font-size: 20px;
}

.admin-brand-title {
    font-weight: 800;
}

.admin-brand-sub {
    color: var(--text-soft);
    font-size: 13px;
}

.admin-nav {
    display: grid;
    gap: 8px;
}

.admin-nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--text-soft);
    transition: 0.2s ease;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

/* =========================
   TOPBAR
========================= */

.admin-topbar {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    background: rgba(11, 16, 32, 0.92);
}

.admin-page-title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
}

.admin-page-subtitle {
    margin: 6px 0 0;
    color: var(--text-soft);
    font-size: 14px;
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-user-pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

/* =========================
   PANELS & CARDS
========================= */

.panel,
.stat-card {
    background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.panel {
    padding: 18px;
}

.stat-card {
    padding: 18px;
}

.stat-label {
    color: var(--text-soft);
    font-size: 13px;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

/* =========================
   PANEL HEADER
========================= */

.panel-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.panel-title {
    font-size: 18px;
    font-weight: 800;
}

.panel-subtitle {
    color: var(--text-soft);
    font-size: 14px;
}

.panel-actions {
    display: flex;
    gap: 10px;
}

/* =========================
   BUTTONS
========================= */

.btn {
    border-radius: 12px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.btn-ghost {
    background: rgba(255,255,255,0.06);
}

.btn-sm {
    padding: 8px 12px;
    font-size: 12px;
}


/* DATE SWITCHER */
.pp-date-switcher {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pp-date-arrow {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ececec;
    color: #111;
    font-weight: 900;
}

.pp-date-current {
    min-width: 120px;
    height: 36px;
    border-radius: 10px;
    border: 0;
    background: #ececec;
    font-weight: 800;
    cursor: pointer;
    font-size: 12px;
}

.pp-date-dropdown {
    position: absolute;
    top: 46px;
    right: 0;
    width: 200px;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 999;
}

.pp-date-dropdown.active {
    display: flex;
}

.pp-date-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 700;
    color: #111;
}

.pp-date-item:hover {
    background: #f3f4f6;
}

.pp-date-item.active {
    background: #4f8cff;
    color: #fff;
}

.pp-date-today {
    margin-top: 6px;
    padding: 8px;
    text-align: center;
    font-weight: 900;
    color: #4f8cff;
}

/* =========================
   SYNC GRID FIX (ВАЖНО)
========================= */

.sync-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 18px;
}

.sync-grid-2 {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.sync-card {
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, var(--panel), var(--panel-2));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    min-height: 160px;
}

.sync-card-title {
    font-weight: 800;
    font-size: 16px;
}

.sync-card-text {
    color: var(--text-soft);
    font-size: 13px;
}

/* =========================
   TABLE
========================= */

.table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    color: var(--text-soft);
}

/* =========================
   STATUS
========================= */

.status-badge {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.status-success {
    background: rgba(34,197,94,0.15);
    color: #86efac;
}

.status-muted {
    background: rgba(255,255,255,0.08);
    color: #9ca3af;
}

/* =========================
   ACTIONS
========================= */

.row-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sync-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .fs-header-inner {
        position: relative;
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 0;
        gap: 0;
        flex-wrap: nowrap;
    }

    .pp-menu-btn {
        display: block;
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
        flex: 0 0 auto;
    }

    .pp-brand {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 190px;
    }

    .pp-brand-logo {
        width: auto !important;
        height: 26px !important;
        max-width: 175px !important;
        object-fit: contain;
        margin: 0 !important;
        display: block;
    }

    .pp-brand-text {
        display: none !important;
    }

    .fs-topnav {
        display: none;
    }

    .fs-sidebar {
        grid-template-columns: 1fr;
    }

    .fs-match-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .fs-col-status {
        text-align: left;
    }

    .fs-team-name {
        white-space: normal;
    }
}

.filters-bar {
    display: block;
}

.filters-grid {
    display: grid;
    gap: 14px;
    align-items: end;
}

.filters-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-soft);
}

.filter-control {
    width: 100%;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: #7e7e7e;
    padding: 0 14px;
    outline: none;
}

.filter-control::placeholder {
    color: var(--text-soft);
}

.filter-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.league-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.league-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px;
}

.league-name {
    font-weight: 700;
}

.status-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #fcd34d;
}

@media (max-width: 1300px) {
    .filters-grid-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .filters-grid-5 {
        grid-template-columns: 1fr;
    }
}

/* =========================
   PUBLIC LAYOUT
========================= */

.site-body {
    background: var(--bg);
    color: var(--text);
}

.site-container {
    width: min(1400px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--border);
    background: rgba(11, 16, 32, 0.92);
    backdrop-filter: blur(10px);
}

.site-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    color: var(--text);
}

.site-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), #7f9cff);
}

.site-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.site-nav-link {
    color: var(--text-soft);
    font-weight: 600;
}

.site-nav-link:hover {
    color: var(--text);
}

.site-main {
    padding: 28px 0 40px;
}

/* =========================
   HERO
========================= */

.hero-block {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.hero-copy,
.hero-stat-card,
.league-block,
.empty-block .panel {
    background: linear-gradient(180deg, var(--panel), var(--panel-2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 24px;
}

.hero-title {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.1;
}

.hero-subtitle {
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hero-stat-card {
    padding: 20px;
}

.hero-stat-label {
    color: var(--text-soft);
    font-size: 13px;
    margin-bottom: 10px;
}

.hero-stat-value {
    font-size: 30px;
    font-weight: 800;
}

/* =========================
   LEAGUE BLOCKS
========================= */

.league-block {
    padding: 18px;
    margin-bottom: 22px;
}

.league-block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.league-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.league-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    padding: 4px;
}

.league-title {
    margin: 0;
    font-size: 20px;
}

.league-subtitle {
    color: var(--text-soft);
    font-size: 13px;
    margin-top: 4px;
}

.matches-list {
    display: grid;
    gap: 12px;
}

.match-card {
    display: block;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    transition: 0.2s ease;
}

.match-card:hover {
    background: rgba(108, 92, 231, 0.08);
    border-color: rgba(108, 92, 231, 0.25);
}

.match-main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.match-teams {
    display: grid;
    gap: 10px;
}

.team-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
}

.team-name {
    font-weight: 700;
}

.match-score-box {
    text-align: right;
}

.match-score {
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

.match-meta {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--text-soft);
    font-size: 13px;
}

.public-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.14);
    color: #bdd2ff;
    font-size: 12px;
    font-weight: 700;
}

.empty-block {
    margin-top: 20px;
}

.empty-block .panel {
    padding: 24px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
    .hero-block {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 0;
    }

    .site-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .match-main {
        grid-template-columns: 1fr;
    }

    .match-score-box {
        text-align: left;
    }

    .match-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}



* {
    box-sizing: border-box;
}


a {
    text-decoration: none;
    color: inherit;
}

.fs-container {
    width: min(1400px, calc(100% - 24px));
    margin: 0 auto;
}

.fs-header {
    background: var(--dark);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.fs-header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fs-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.fs-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #4f8cff, #7f9cff);
}

.fs-topnav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.fs-topnav-link {
    color: rgba(255,255,255,.76);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
}

.fs-topnav-link.active,
.fs-topnav-link:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.fs-page {
    padding: 18px 0 28px;
}

.fs-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 16px;
    align-items: start;
}

.fs-sidebar {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 16px;
}

.fs-sidecard {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px;
}

.fs-sidecard-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 12px;
}

.fs-league-list {
    display: grid;
    gap: 6px;
}

.fs-league-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    color: var(--text);
}

.fs-league-link:hover {
    background: var(--panel-soft);
}

.fs-league-link-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.fs-mini-stats {
    display: grid;
    gap: 10px;
}

.fs-mini-stat {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.fs-mini-stat:last-child {
    border-bottom: 0;
}

.fs-mini-stat span {
    color: var(--text-soft);
}

.fs-main {
    display: grid;
    gap: 16px;
}

.fs-filterbar {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.fs-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.fs-tab {
    padding: 10px 14px;
    border-radius: 10px;
    background: #efefef;
    color: #555;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .04em;
}

.fs-tab.active {
    background: var(--accent-gradient);
    color: #fff;
}

.fs-datebox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fs-date-input {
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 12px;
    background: #fff;
}

.fs-date-btn {
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: #eceff3;
    padding: 0 14px;
    font-weight: 700;
    cursor: pointer;
}

.fs-league-block {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.fs-league-head {
    background: #edf3f8;
    border-bottom: 1px solid var(--border);
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.fs-league-head-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.fs-league-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.fs-league-name {
    font-size: 14px;
    font-weight: 800;
    color: #4b5563;
    text-transform: uppercase;
}

.fs-league-head-link {
    color: #6b7280;
    font-size: 13px;
    text-decoration: underline;
}

.fs-match-table {
    display: grid;
}

.fs-match-row {
    display: grid;
    grid-template-columns: 120px 1fr 90px;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #edf0f3;
    align-items: center;
    transition: background .15s ease;
}

.fs-match-row:last-child {
    border-bottom: 0;
}

.fs-match-row:hover {
    background: #fafbfc;
}

.fs-col-time {
    color: var(--text-soft);
    font-size: 13px;
}

.fs-live {
    color: var(--live);
    font-weight: 800;
}

.fs-col-teams {
    display: grid;
    gap: 8px;
}

.fs-team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.fs-team-name-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.fs-team-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.fs-team-name {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fs-team-score {
    min-width: 16px;
    text-align: right;
    font-size: 16px;
    font-weight: 800;
}

.fs-col-status {
    text-align: right;
}

.fs-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2f7;
    color: #4b5563;
    font-size: 12px;
    font-weight: 800;
}

.fs-empty {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    text-align: center;
}

.fs-empty-small {
    color: var(--text-soft);
    font-size: 13px;
}

@media (max-width: 1100px) {
    .fs-layout {
        grid-template-columns: 1fr;
    }

    .fs-sidebar {
        position: static;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .fs-header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 14px 0;
        gap: 40px;
        flex-wrap: nowrap;
    }

    .pp-menu-btn {
        flex: 0 0 auto;
    }

    .fs-logo {
        flex: 0 0 auto;
    }


    .fs-sidebar {
        grid-template-columns: 1fr;
    }

    .fs-match-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .fs-col-status {
        text-align: left;
    }

    .fs-team-name {
        white-space: normal;
    }
}


trix-editor .trix-attachment__caption,
trix-editor figcaption {
    display: none !important;
}


.pp-post-content figure figcaption {
    display: none !important;
}

.pp-post-content img,
trix-editor img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.pp-post-content figure,
trix-editor figure {
    margin: 18px 0;
}

.pp-post-content img.img-small,
trix-editor img.img-small {
    width: 180px;
}

.pp-post-content img.img-medium,
trix-editor img.img-medium {
    width: 320px;
}

.pp-post-content img.img-large,
trix-editor img.img-large {
    width: 520px;
}

.pp-post-content img.img-full,
trix-editor img.img-full {
    width: 100%;
}

.pp-user-menu {
    position: relative;
}

.pp-user-trigger {
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    cursor: pointer;
    font-weight: 700;
}

.pp-user-dropdown {
    position: absolute;
    top: 48px;
    right: 0;
    width: 200px;
    background: #0f172a;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    display: none;
    flex-direction: column;
    z-index: 100;
}

.pp-user-dropdown a,
.pp-user-dropdown button {
    padding: 10px 12px;
    color: #fff;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
}

.pp-user-dropdown a:hover,
.pp-user-dropdown button:hover {
    background: rgba(255,255,255,.08);
}

.pp-user-dropdown.active {
    display: flex;
}

.pp-register {
    background: #4f8cff;
    color: #fff !important;
}

.pp-post-content{
    color:#e5edf7;
    font-size:16px;
    line-height:1.8;
}

.pp-post-content h2,
.pp-post-content h3,
.pp-post-content h4{
    color:#fff;
    margin:26px 0 12px;
    line-height:1.25;
}

.pp-post-content p{
    margin:0 0 16px;
}

.pp-post-content ul,
.pp-post-content ol{
    margin:0 0 16px 22px;
}

.pp-post-content li{
    margin-bottom:8px;
}

.pp-post-content a{
    color:#93c5fd;
    text-decoration:underline;
}

.pp-post-content img{
    max-width:100%;
    height:auto;
    border-radius:14px;
    margin:18px 0;
    display:block;
}

.pp-post-content blockquote{
    margin:20px 0;
    padding:14px 18px;
    border-left:4px solid #4f8cff;
    background:rgba(255,255,255,0.04);
    border-radius:12px;
    color:#dbe4f0;
}

.pp-status-live {
    color: #ff3b3b;
    font-weight: bold;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0.4; }
}

/* HERO NEW */

.pp-hero-new {
    padding: 28px;
    border-radius: 22px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 60%, #9333ea 100%);

    position: relative;
    overflow: hidden;
}

.pp-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* LEFT */

.pp-hero-left {
    max-width: 520px;
    color: #fff;
}

.pp-hero-league {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 6px;
}

.pp-hero-title {
    margin: 0;
    font-size: clamp(1.8rem, 2.8vw, 1.8rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.pp-hero-time {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.85;
}

.pp-hero-desc {
    font-size: 14px;
    opacity: 0.75;
    margin-bottom: 18px;
}

.pp-hero-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #fff;
    color: #111;
    font-weight: 800;
    border-radius: 12px;
    text-decoration: none;
    transition: .2s;
}

.pp-hero-btn:hover {
    transform: translateY(-2px);
}

/* RIGHT */

.pp-hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.pp-hero-teams {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pp-hero-team img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.pp-hero-vs {
    font-weight: 900;
    color: #fff;
    opacity: 0.8;
}

/* MOBILE */

@media (max-width: 900px) {
    .pp-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .pp-hero-left {
        max-width: 100%;
    }
}

.fs-nav-dropdown{
    position: relative;
}

.fs-dropdown-toggle{
    background: none;
    border: none;
    cursor: pointer;
}

.fs-dropdown-menu{
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #122041;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
    padding: 8px;
    display: none;
    z-index: 9999;
}

.fs-dropdown-menu.active{
    display: block;
}

.fs-dropdown-item{
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.fs-dropdown-item:hover{
    background: rgba(255,255,255,.06);
}

/* =========================
   HOME HERO - CINEMATIC LIKE IMAGE
========================= */

.pp-hero-new.pp-hero-cinema {
    position: relative !important;
    overflow: hidden !important;
    min-height: 255px !important;
    padding: 0 !important;
    border-radius: 18px !important;
    border: 1px solid rgba(96,165,250,.25) !important;
    background:
        linear-gradient(90deg, rgba(4,10,24,.94), rgba(8,16,33,.72), rgba(4,10,24,.94)),
        radial-gradient(circle at 17% 62%, rgba(245,158,11,.42), transparent 18%),
        radial-gradient(circle at 83% 62%, rgba(245,158,11,.38), transparent 18%),
        radial-gradient(circle at 50% -30%, rgba(96,165,250,.32), transparent 36%),
        linear-gradient(135deg, #071124, #050b18) !important;
    box-shadow:
        0 24px 55px rgba(0,0,0,.42),
        inset 0 0 70px rgba(59,130,246,.12) !important;
}

/* stadium background */
.pp-hero-cinema-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 18% 0%, rgba(255,255,255,.22), transparent 28%),
        radial-gradient(ellipse at 82% 0%, rgba(255,255,255,.20), transparent 28%),
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px),
        linear-gradient(115deg, transparent 0 48%, rgba(255,255,255,.08) 49%, transparent 51%),
        linear-gradient(65deg, transparent 0 48%, rgba(255,255,255,.06) 49%, transparent 51%);
    background-size:
        100% 100%,
        100% 100%,
        42px 42px,
        42px 42px,
        100% 100%,
        100% 100%;
    opacity: .40;
    pointer-events: none;
}

.pp-hero-new.pp-hero-cinema::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(245,158,11,.12), transparent 38%),
        linear-gradient(180deg, transparent 48%, rgba(0,0,0,.42));
    pointer-events: none;
}

.pp-hero-new.pp-hero-cinema::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(245,158,11,.10), transparent 38%),
        linear-gradient(180deg, transparent 48%, rgba(0,0,0,.36));
    pointer-events: none;
}

.pp-hero-cinema-top {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px 0;
}

.pp-hero-cinema-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pp-hero-cinema-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(15,23,42,.62);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.pp-hero-cinema-live {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(34,197,94,.10);
    border: 1px solid rgba(34,197,94,.20);
    color: #22c55e;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
}

.pp-hero-cinema-body {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr) 135px;
    align-items: center;
    gap: 14px;
    min-height: 185px;
    padding: 0 28px 20px;
}

.pp-hero-cinema-side {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-hero-cinema-logo-stage {
    position: relative;
    width: 105px;
    height: 105px;
    display: grid;
    place-items: center;
}

.pp-hero-cinema-logo-stage::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 22px;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,.70), rgba(245,158,11,.08) 64%, transparent);
    filter: blur(2px);
}

.pp-hero-cinema-logo-stage::after {
    content: "";
    position: absolute;
    width: 86px;
    height: 12px;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 1px solid rgba(245,158,11,.30);
    background: rgba(245,158,11,.08);
}

.pp-hero-cinema-logo-stage img {
    position: relative;
    z-index: 2;
    width: 72px !important;
    height: 72px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 12px 12px rgba(0,0,0,.50));
}

.pp-hero-cinema-center {
    position: relative;
    z-index: 4;
    text-align: center;
    min-width: 0;
}

.pp-hero-cinema-title {
    margin: 15px auto 7px !important;
    color: #fff !important;
    font-size: clamp(23px, 2.35vw, 20px) !important;
    line-height: 1.05 !important;
    font-weight: 950 !important;
    letter-spacing: -0.8px !important;
    text-shadow: 0 10px 24px rgba(0,0,0,.48);
    max-width: 520px;
}

.pp-hero-cinema-title span {
    color: #facc15;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(250,204,21,.70);
    font-size: .85em;
}

.pp-hero-cinema-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 9px;
    color: #f8fafc;
    font-size: 12px;
    font-weight: 950;
}

.pp-hero-cinema-desc {
    max-width: 390px;
    margin: 0 auto 12px !important;
    color: rgba(255,255,255,.80) !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
}

.pp-hero-cinema-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 145px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(37,99,235,.32);
}

.pp-hero-cinema-btn:hover {
    transform: translateY(-2px);
}

/* kill old hero influence */
.pp-hero-cinema .pp-hero-content,
.pp-hero-cinema .pp-hero-left,
.pp-hero-cinema .pp-hero-right,
.pp-hero-cinema .pp-hero-teams,
.pp-hero-cinema .pp-hero-team,
.pp-hero-cinema .pp-hero-vs,
.pp-hero-cinema .pp-hero-title,
.pp-hero-cinema .pp-hero-btn,
.pp-hero-cinema .pp-hero-desc {
    all: unset;
}

/* more like screenshot spacing */
.pp-filterbar {
    margin-top: 0 !important;
}

@media (max-width: 900px) {
    .pp-hero-new.pp-hero-cinema {
        min-height: 220px !important;
        border-radius: 14px !important;
    }

    .pp-hero-cinema-top {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 12px 0 !important;
        gap: 8px !important;
    }

    .pp-hero-cinema-badges {
        gap: 5px !important;
        flex-wrap: wrap !important;
    }

    .pp-hero-cinema-badge,
    .pp-hero-cinema-live {
        min-height: 20px !important;
        padding: 0 7px !important;
        font-size: 8px !important;
    }

    .pp-hero-cinema-body {
        grid-template-columns: 68px minmax(0, 1fr) 68px !important;
        gap: 8px !important;
        min-height: 185px !important;
        padding: 4px 10px 16px !important;
        align-items: center !important;
    }

    .pp-hero-cinema-center,
    .pp-hero-cinema-home,
    .pp-hero-cinema-away {
        order: initial !important;
    }

    .pp-hero-cinema-logo-stage {
        width: 66px !important;
        height: 66px !important;
    }

    .pp-hero-cinema-logo-stage::before {
        width: 58px !important;
        height: 14px !important;
        bottom: 0 !important;
    }

    .pp-hero-cinema-logo-stage::after {
        width: 48px !important;
        height: 8px !important;
        bottom: 7px !important;
    }

    .pp-hero-cinema-logo-stage img {
        width: 44px !important;
        height: 44px !important;
    }

    .pp-hero-cinema-title {
        margin: 0 auto 5px !important;
        font-size: clamp(17px, 5vw, 14px) !important;
        line-height: 1.05 !important;
        letter-spacing: -0.5px !important;
        max-width: 230px !important;
    }

    .pp-hero-cinema-title span {
        font-size: .82em !important;
    }

    .pp-hero-cinema-time {
        font-size: 10px !important;
        margin-bottom: 6px !important;
    }

    .pp-hero-cinema-desc {
        max-width: 210px !important;
        font-size: 8px !important;
        line-height: 1.35 !important;
        margin-bottom: 8px !important;
    }

    .pp-hero-cinema-btn {
        min-width: 118px !important;
        height: 30px !important;
        border-radius: 9px !important;
        font-size: 10px !important;
        gap: 6px !important;
    }
}

.home-mag-section{
    margin-top: 28px;
    background: #0e1a44;
    border: 1px solid rgba(84,129,255,0.18);
    border-radius: 22px;
    padding: 18px;
}

.home-mag-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-bottom:18px;
}

.home-mag-head h2{
    margin:0;
    font-size:18px;
    font-weight:800;
    color:#fff;
}

.home-mag-viewall{
    color:#dbe8ff;
    font-size:14px;
    font-weight:700;
    text-decoration:none;
}

.home-mag-layout {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.home-mag-feature {
    grid-column: span 2;
}

.home-mag-grid {
    grid-column: span 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.home-mag-feature-link,
.home-mag-card-link {
    height: 100%;
}

.home-mag-feature-image {
    height: 180px;
}

.home-mag-card-image {
    height: 120px;
}

.home-mag-feature-body h3 {
    font-size: 20px;
}

.home-mag-feature-body p {
    display: none;
}

.home-mag-readmore {
    margin-top: 14px;
}

.home-mag-feature{
    min-height: 100%;
}

.home-mag-feature-link{
    display:flex;
    flex-direction:column;
    height:100%;
    background: linear-gradient(180deg, rgba(18,31,78,0.96), rgba(14,24,60,0.96));
    border:1px solid rgba(255,255,255,0.08);
    border-radius:18px;
    overflow:hidden;
    text-decoration:none;
}

.home-mag-feature-image{
    height: 235px; /* namalena od sega */
    overflow:hidden;
    flex-shrink:0;
}

.home-mag-feature-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.home-mag-feature-body{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:14px;
    flex:1;
    padding:18px;
}

.home-mag-tag{
    display:inline-block;
    font-size:11px;
    font-weight:800;
    letter-spacing:.6px;
    color:#7eb3ff;
    text-transform:uppercase;
    margin-bottom:10px;
}

.home-mag-feature-body h3{
    margin:0 0 12px;
    color:#fff;
    font-size:22px;
    line-height:1.2;
    font-weight:800;
}

.home-mag-feature-body p{
    margin:0;
    color:#b8c7e6;
    font-size:15px;
    line-height:1.65;
}

.home-mag-readmore{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#fff;
    font-size:14px;
    font-weight:800;
    margin-top:8px;
}

.home-mag-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:14px;
}

.home-mag-card{
    height:100%;
}

.home-mag-card-link{
    display:flex;
    flex-direction:column;
    height:100%;
    background: linear-gradient(180deg, rgba(18,31,78,0.96), rgba(14,24,60,0.96));
    border:1px solid rgba(255,255,255,0.08);
    border-radius:18px;
    overflow:hidden;
    text-decoration:none;
}

.home-mag-card-image{
    height:120px;
    overflow:hidden;
    flex-shrink:0;
}

.home-mag-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.home-mag-card-body{
    padding:14px;
    display:flex;
    flex-direction:column;
    gap:8px;
    flex:1;
}

.home-mag-card-body h4{
    margin:0;
    color:#fff;
    font-size:16px;
    line-height:1.3;
    font-weight:800;
}

.home-mag-card-body p{
    margin:0;
    color:#aebddb;
    font-size:13px;
    line-height:1.55;
}

.home-mag-placeholder{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#152557;
    color:#fff;
    font-size:42px;
    font-weight:800;
}

@media (max-width: 991px){
    .home-mag-layout{
        grid-template-columns:1fr;
    }

    .home-mag-feature-image{
        height:220px;
    }
}

@media (max-width: 640px){
    .home-mag-grid{
        grid-template-columns:1fr;
    }

    .home-mag-feature-body h3{
        font-size:20px;
    }
}

.home-mag-feature-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-mag-feature-image {
    height: 235px;
    overflow: hidden;
    flex-shrink: 0;
}

.home-mag-feature-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    flex: 1;
    padding: 18px;
}

.home-mag-feature-body p {
    margin: 0;
    color: #b8c7e6;
    font-size: 15px;
    line-height: 1.65;
}

.home-mag-readmore {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    margin-top: 8px;
}

.sidebar-ads-home_between_blog_sections {
    margin: 28px 0;
}

.sidebar-ads-home_between_blog_sections .sidebar-ad-card {
    background: linear-gradient(180deg, rgba(18,31,78,0.96), rgba(10,18,44,0.96));
    border: 1px solid rgba(94, 139, 255, 0.25);
    border-radius: 22px;
    padding: 26px;
    overflow: hidden;
}

.ad-html-content {
    color: #dbe8ff;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 500;
}

.ad-html-content h1,
.ad-html-content h2,
.ad-html-content h3 {
    color: #fff;
    line-height: 1.2;
    margin: 0 0 14px;
    font-weight: 900;
    text-align: left;
}

.ad-html-content h1 {
    font-size: 28px;
}

.ad-html-content h2 {
    font-size: 24px;
}

.ad-html-content h3 {
    font-size: 20px;
}

.ad-html-content p {
    margin: 0 0 14px;
    color: #bcd0f2;
    font-size: 15px;
    line-height: 1.75;
    text-align: left;
}

.ad-html-content ul,
.ad-html-content ol {
    margin: 14px 0 0;
    padding-left: 22px;
    display: grid;
    gap: 10px;
}

.ad-html-content li {
    color: #dbe8ff;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;
    text-align: left;
}

.ad-html-content a {
    color: #8db7ff;
    font-weight: 800;
    text-decoration: none;
}

.ad-html-content a:hover {
    color: #fff;
    text-decoration: underline;
}

/* =========================
   AUTH PAGES
========================= */


.auth-card {
    width: 100%;
    max-width: 460px;
    background: linear-gradient(180deg, #111c3a 0%, #0d162f 100%);
    border: 1px solid rgba(120, 160, 255, 0.22);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.auth-head {
    margin-bottom: 24px;
    text-align: center;
}

.auth-head h1 {
    margin: 0;
    color: #fff;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 900;
}

.auth-head p {
    margin: 10px 0 0;
    color: #9fb0d0;
    font-size: 14px;
    line-height: 1.6;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-field {
    display: grid;
    gap: 7px;
}

.auth-field label {
    color: #dbe8ff;
    font-size: 13px;
    font-weight: 900;
}

.auth-field input {
    width: 100%;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #fff;
    padding: 0 14px;
    outline: none;
    font-size: 14px;
    font-weight: 700;
    box-sizing: border-box;
}

.auth-field input:focus {
    border-color: rgba(79, 140, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.16);
}

.auth-error,
.auth-error li,
.auth-field .text-sm {
    color: #fecaca !important;
    font-size: 12px;
    font-weight: 700;
    margin: 4px 0 0;
}

.auth-btn {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, #5b8cff 0%, #3e78f0 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    margin-top: 4px;
    box-shadow: 0 12px 28px rgba(79, 140, 255, 0.26);
}

.auth-btn:hover {
    background: linear-gradient(180deg, #6b99ff 0%, #4f8cff 100%);
}

.auth-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #9fb0d0;
    font-size: 13px;
    font-weight: 700;
    margin-top: 6px;
}

.auth-bottom a {
    color: #8db7ff;
    font-weight: 900;
    text-decoration: none;
}

.auth-bottom a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 520px) {
    .auth-page {
        padding: 36px 14px;
        align-items: flex-start;
    }

    .auth-card {
        padding: 22px;
        border-radius: 20px;
    }

    .auth-head h1 {
        font-size: 26px;
    }
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9fb0d0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.auth-check input {
    width: 15px;
    height: 15px;
    accent-color: #4f8cff;
}

.auth-link {
    color: #8db7ff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.auth-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.auth-status {
    margin-bottom: 16px;
    color: #b8ffd0;
    background: rgba(22, 163, 74, 0.14);
    border: 1px solid rgba(22, 163, 74, 0.25);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
}

.admin-form {
    display: grid;
    gap: 16px;
    max-width: 720px;
}

.admin-field {
    display: grid;
    gap: 7px;
}

.admin-field label {
    color: #dbe8ff;
    font-size: 13px;
    font-weight: 900;
}

.admin-field input,
.admin-field select {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: #111a2f;
    color: #fff;
    padding: 0 12px;
    outline: none;
}

.admin-field input:focus,
.admin-field select:focus {
    border-color: #4f8cff;
    box-shadow: 0 0 0 4px rgba(79,140,255,.16);
}

.admin-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.admin-checks label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
}

.admin-error {
    color: #fecaca;
    font-size: 12px;
    font-weight: 700;
}

/* =========================
   LINKS PAGE
========================= */

.links-page {
    min-height: calc(100vh - 90px);
    padding: 42px 18px 70px;
    background:
        radial-gradient(circle at top left, rgba(79, 140, 255, 0.14), transparent 28%),
        radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.08), transparent 30%),
        #070d1e;
}

.links-hero {
    max-width: 1180px;
    margin: 0 auto 24px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(18,31,78,0.96), rgba(12,22,48,0.96));
    border: 1px solid rgba(120,160,255,0.22);
    box-shadow: 0 22px 60px rgba(0,0,0,0.28);
    overflow: hidden;
}

.links-hero-inner {
    padding: 34px;
}

.links-kicker {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(79,140,255,0.16);
    color: #8db7ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 14px;
}

.links-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 950;
}

.links-hero p {
    max-width: 720px;
    margin: 12px 0 0;
    color: #b7c7e6;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 600;
}

.links-main {
    max-width: 1180px;
    margin: 0 auto;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.links-card {
    position: relative;
    min-height: 122px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(20,32,68,0.98), rgba(13,24,52,0.98));
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.links-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(79,140,255,0.18), transparent 35%);
    opacity: 0;
    transition: opacity .18s ease;
}

.links-card:hover {
    transform: translateY(-3px);
    border-color: rgba(79,140,255,0.38);
    background: linear-gradient(180deg, rgba(24,40,86,0.98), rgba(14,26,58,0.98));
}

.links-card:hover::before {
    opacity: 1;
}

.links-card-icon {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(79,140,255,0.18);
}

.links-card-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

.links-card-icon span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #5b8cff, #3e78f0);
    color: #ffffff;
    font-size: 17px;
    font-weight: 950;
}

.links-card-body {
    position: relative;
    z-index: 1;
    min-width: 0;
    flex: 1;
}

.links-card-body h2 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 950;
}

.links-card-body span {
    display: block;
    color: #91a7cf;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
    word-break: break-word;
}

.links-card-arrow {
    position: relative;
    z-index: 1;
    color: #8db7ff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.links-empty {
    padding: 24px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #9fb0d0;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .links-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .links-page {
        padding: 26px 14px 50px;
    }

    .links-hero-inner {
        padding: 24px;
    }

    .links-hero h1 {
        font-size: 28px;
    }

    .links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .links-card {
        min-height: 112px;
        padding: 14px;
        border-radius: 18px;
    }

    .links-card-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 12px;
        font-size: 15px;
    }

    .links-card-body h2 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .links-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   ACCOUNT PAGES
========================= */

.account-page {
    min-height: calc(100vh - 90px);
    padding: 54px 18px 80px;
    background:
        radial-gradient(circle at top left, rgba(79, 140, 255, 0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.10), transparent 30%),
        #070d1e;
}

.account-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.account-hero-card {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 30px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(79,140,255,.20), transparent 34%),
        linear-gradient(135deg, rgba(18,31,78,0.98), rgba(12,22,48,0.98));
    border: 1px solid rgba(120,160,255,0.24);
    box-shadow: 0 24px 70px rgba(0,0,0,0.32);
    margin-bottom: 18px;
}

.account-avatar {
    width: 86px;
    height: 86px;
    min-width: 86px;
    border-radius: 26px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #5b8cff, #3e78f0);
    color: #fff;
    font-size: 30px;
    font-weight: 950;
    box-shadow: 0 18px 40px rgba(79,140,255,.28);
}

.account-hero-info {
    min-width: 0;
}

.account-kicker {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(79,140,255,0.16);
    color: #8db7ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.account-hero-info h1,
.account-head h2 {
    margin: 0;
    color: #ffffff;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 950;
}

.account-hero-info p,
.account-head p {
    margin: 10px 0 0;
    color: #b7c7e6;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 600;
}

.account-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.account-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    color: #dbe8ff;
    font-size: 12px;
    font-weight: 900;
}

.account-badge.is-admin {
    background: rgba(236,72,153,.16);
    border-color: rgba(236,72,153,.28);
    color: #ffc7e7;
}

.account-badge.is-active {
    background: rgba(22,163,74,.14);
    border-color: rgba(22,163,74,.25);
    color: #b8ffd0;
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.account-card,
.account-side-card,
.account-mini-card {
    background: linear-gradient(135deg, rgba(18,31,78,0.96), rgba(12,22,48,0.96));
    border: 1px solid rgba(120,160,255,0.22);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 46px rgba(0,0,0,0.22);
}

.account-head {
    margin-bottom: 20px;
}

.account-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.account-info-box {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.account-info-box span,
.account-mini-card span {
    display: block;
    color: #91a7cf;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.account-info-box strong,
.account-mini-card strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: 950;
    word-break: break-word;
}

.account-side-card h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}

.account-actions {
    display: grid;
    gap: 10px;
}

.account-actions a,
.account-actions button {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.08);
    color: #dbe8ff;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
}

.account-actions a:hover,
.account-actions button:hover {
    background: rgba(79,140,255,0.16);
    border-color: rgba(79,140,255,0.32);
    color: #fff;
}

.account-actions span {
    color: #8db7ff;
    font-size: 22px;
    line-height: 1;
}

.account-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 18px 0;
}

.account-mini-card small {
    display: block;
    margin-top: 6px;
    color: #8da1c3;
    font-size: 12px;
    font-weight: 700;
}

.account-security-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.account-security-box strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    margin-bottom: 5px;
}

.account-security-box span {
    display: block;
    color: #9fb0d0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.account-security-box a {
    min-width: max-content;
    padding: 11px 14px;
    border-radius: 12px;
    background: #4f8cff;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
}

.account-security-box a:hover {
    background: #6b99ff;
}

.account-empty {
    padding: 22px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #9fb0d0;
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-mini-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .account-page {
        padding: 28px 14px 55px;
    }

    .account-hero-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        border-radius: 24px;
    }

    .account-avatar {
        width: 70px;
        height: 70px;
        min-width: 70px;
        border-radius: 22px;
        font-size: 24px;
    }

    .account-hero-info h1,
    .account-head h2 {
        font-size: 27px;
    }

    .account-card,
    .account-side-card,
    .account-mini-card {
        padding: 20px;
        border-radius: 22px;
    }

    .account-info-grid {
        grid-template-columns: 1fr;
    }

    .account-security-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================
   MY VOTES PAGE
========================= */

.votes-hero {
    position: relative;
    overflow: hidden;
}

.votes-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,140,255,.22), transparent 68%);
    pointer-events: none;
}

.votes-avatar {
    background: linear-gradient(180deg, #5b8cff, #2563eb);
}

.votes-card {
    position: relative;
    overflow: hidden;
}

.votes-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.votes-timeline {
    display: grid;
    gap: 22px;
}

.votes-day-group {
    position: relative;
    padding-left: 22px;
}

.votes-day-group::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 52px;
    bottom: 4px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(79,140,255,.65), rgba(79,140,255,0));
}

.votes-day-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(79,140,255,.10);
    border: 1px solid rgba(79,140,255,.18);
}

.votes-day-head h3 {
    margin: 0;
    color: #ffffff;
    font-size: 19px;
    font-weight: 950;
}

.votes-day-head span {
    display: block;
    margin-top: 4px;
    color: #9fb0d0;
    font-size: 12px;
    font-weight: 800;
}

.votes-day-head strong {
    min-width: max-content;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #dbe8ff;
    font-size: 12px;
    font-weight: 950;
}

.votes-list {
    display: grid;
    gap: 12px;
}

.vote-history-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(79,140,255,.12), transparent 35%),
        rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.vote-history-card:hover {
    transform: translateY(-2px);
    border-color: rgba(79,140,255,.30);
    background:
        radial-gradient(circle at top right, rgba(79,140,255,.17), transparent 35%),
        rgba(255,255,255,.06);
}

.vote-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(0,0,0,.18);
}

.vote-icon.is-up {
    background: rgba(22,163,74,.18);
    border: 1px solid rgba(22,163,74,.28);
}

.vote-icon.is-down {
    background: rgba(239,68,68,.16);
    border: 1px solid rgba(239,68,68,.28);
}

.vote-history-main {
    min-width: 0;
}

.vote-topline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 9px;
}

.vote-market {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(79,140,255,.16);
    color: #8db7ff;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.vote-league {
    color: #91a7cf;
    font-size: 12px;
    font-weight: 800;
}

.vote-history-main h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 950;
}

.vote-history-main h3 span {
    color: #8db7ff;
    font-size: .86em;
    text-transform: uppercase;
}

.vote-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.vote-tip {
    min-width: 0;
    padding: 10px;
    border-radius: 13px;
    background: rgba(5,11,22,.36);
    border: 1px solid rgba(255,255,255,.06);
}

.vote-tip span {
    display: block;
    margin-bottom: 5px;
    color: #91a7cf;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.vote-tip strong {
    display: block;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 950;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vote-history-side {
    display: grid;
    justify-items: end;
    gap: 10px;
    min-width: 104px;
}

.vote-choice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
}

.vote-choice.is-up {
    background: rgba(22,163,74,.16);
    border: 1px solid rgba(22,163,74,.28);
    color: #bbf7d0;
}

.vote-choice.is-down {
    background: rgba(239,68,68,.16);
    border: 1px solid rgba(239,68,68,.28);
    color: #fecaca;
}

.vote-history-side a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 11px;
    background: #4f8cff;
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
}

.vote-history-side a:hover {
    background: #6b99ff;
}

.votes-pagination {
    margin-top: 22px;
}

/* Mobile */
@media (max-width: 820px) {
    .vote-history-card {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .vote-history-side {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        justify-items: stretch;
        min-width: 0;
        padding-top: 8px;
        border-top: 1px solid rgba(255,255,255,.07);
    }

    .vote-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .votes-day-group {
        padding-left: 0;
    }

    .votes-day-group::before {
        display: none;
    }

    .votes-day-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .vote-history-card {
        padding: 13px;
        border-radius: 18px;
        gap: 11px;
    }

    .vote-icon {
        width: 36px;
        height: 36px;
        border-radius: 13px;
        font-size: 16px;
    }

    .vote-history-main h3 {
        font-size: 15px;
    }

    .vote-meta-grid {
        grid-template-columns: 1fr;
    }

    .vote-history-side {
        flex-direction: column;
        align-items: stretch;
    }

    .vote-history-side a,
    .vote-choice {
        width: 100%;
    }
    
    .vote-history-card {
    grid-template-columns: 1fr !important;
}

.vote-history-left {
    display: none !important;
}

.vote-history-main {
    width: 100%;
    min-width: 0;
}

.vote-meta-grid {
    grid-template-columns: 1fr !important;
}

.vote-history-side {
    grid-column: auto !important;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.vote-history-side a,
.vote-choice {
    width: 100%;
}
}

/* =========================
   SAVE PICK BUTTON
========================= */

.pred-actions-row {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.save-pick-btn,
.save-pick-login {
    width: 100%;
    min-height: 36px;
    border: 0;
    border-radius: 12px;
    background: rgba(79,140,255,0.14);
    border: 1px solid rgba(79,140,255,0.28);
    color: #bcd5ff;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.save-pick-btn:hover,
.save-pick-login:hover {
    background: rgba(79,140,255,0.22);
    color: #ffffff;
}

.save-pick-btn.saved {
    background: rgba(245,158,11,0.18);
    border-color: rgba(245,158,11,0.35);
    color: #fde68a;
}

/* =========================
   PREDICTION CREDITS
========================= */

.credits-rules-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.credits-rule-card {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.credits-rule-card strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(79,140,255,0.18);
    color: #bcd5ff;
    font-size: 14px;
    font-weight: 950;
    margin-bottom: 12px;
}

.credits-rule-card span {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    margin-bottom: 8px;
}

.credits-rule-card p {
    margin: 0;
    color: #9fb0d0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
}

.credits-history-list {
    display: grid;
    gap: 10px;
}

.credits-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.credits-history-item strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 950;
    margin-bottom: 4px;
}

.credits-history-item span {
    display: block;
    color: #91a7cf;
    font-size: 12px;
    font-weight: 700;
}

.credits-history-item b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 34px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 950;
}

.credits-history-item b.is-plus {
    background: rgba(22,163,74,.16);
    border: 1px solid rgba(22,163,74,.28);
    color: #b8ffd0;
}

.credits-history-item b.is-minus {
    background: rgba(239,68,68,.16);
    border: 1px solid rgba(239,68,68,.28);
    color: #fecaca;
}

@media (max-width: 760px) {
    .credits-rules-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   TOAST NOTIFICATION
========================= */

.pp-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    min-width: 240px;
    max-width: 360px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #111c3a, #0d162f);
    border: 1px solid rgba(120,160,255,0.28);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.pp-toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .pp-toast {
        left: 14px;
        right: 14px;
        bottom: 16px;
        max-width: none;
        text-align: center;
    }
}

/* =========================
   SAVED PICKS PAGE
========================= */

.saved-hero {
    position: relative;
    overflow: hidden;
}

.saved-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(250,204,21,.20), transparent 68%);
    pointer-events: none;
}

.saved-avatar {
    background: linear-gradient(180deg, #5b8cff, #3e78f0);
}

.saved-card {
    position: relative;
    overflow: hidden;
}

.saved-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.saved-timeline {
    display: grid;
    gap: 22px;
}

.saved-day-group {
    position: relative;
    padding-left: 22px;
}

.saved-day-group::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 52px;
    bottom: 4px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(250,204,21,.60), rgba(250,204,21,0));
}

.saved-day-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(250,204,21,.08);
    border: 1px solid rgba(250,204,21,.18);
}

.saved-day-head h3 {
    margin: 0;
    color: #ffffff;
    font-size: 19px;
    font-weight: 950;
}

.saved-day-head span {
    display: block;
    margin-top: 4px;
    color: #9fb0d0;
    font-size: 12px;
    font-weight: 800;
}

.saved-day-head strong {
    min-width: max-content;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #dbe8ff;
    font-size: 12px;
    font-weight: 950;
}

.saved-list {
    display: grid;
    gap: 12px;
}

.saved-history-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(250,204,21,.10), transparent 35%),
        rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.saved-history-card:hover {
    transform: translateY(-2px);
    border-color: rgba(250,204,21,.28);
    background:
        radial-gradient(circle at top right, rgba(250,204,21,.15), transparent 35%),
        rgba(255,255,255,.06);
}

.saved-history-main {
    min-width: 0;
}

.saved-topline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 9px;
}

.saved-market {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(79,140,255,.16);
    color: #8db7ff;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.saved-league {
    color: #91a7cf;
    font-size: 12px;
    font-weight: 800;
}

.saved-history-main h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 950;
}

.saved-history-main h3 span {
    color: #facc15;
    font-size: .86em;
    text-transform: uppercase;
}

.saved-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.saved-tip {
    min-width: 0;
    padding: 10px;
    border-radius: 13px;
    background: rgba(5,11,22,.36);
    border: 1px solid rgba(255,255,255,.06);
}

.saved-tip span {
    display: block;
    margin-bottom: 5px;
    color: #91a7cf;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.saved-tip strong {
    display: block;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 950;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.saved-history-side {
    display: grid;
    justify-items: end;
    gap: 10px;
    min-width: 104px;
}

.saved-choice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    background: rgba(22,163,74,.16);
    border: 1px solid rgba(22,163,74,.28);
    color: #bbf7d0;
}

.saved-history-side a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 11px;
    background: #4f8cff;
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
}

.saved-history-side a:hover {
    background: #6b99ff;
}

.saved-pagination {
    margin-top: 22px;
}

/* Mobile */
@media (max-width: 820px) {
    .saved-history-card {
        grid-template-columns: 1fr;
    }

    .saved-history-side {
        display: flex;
        justify-content: space-between;
        align-items: center;
        justify-items: stretch;
        min-width: 0;
        padding-top: 8px;
        border-top: 1px solid rgba(255,255,255,.07);
    }

    .saved-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .saved-day-group {
        padding-left: 0;
    }

    .saved-day-group::before {
        display: none;
    }

    .saved-day-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .saved-history-card {
        padding: 13px;
        border-radius: 18px;
        gap: 11px;
    }

    .saved-history-main h3 {
        font-size: 15px;
    }

    .saved-meta-grid {
        grid-template-columns: 1fr;
    }

    .saved-tip strong {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .saved-history-side {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        width: 100%;
    }

    .saved-history-side a,
    .saved-choice {
        width: 100%;
    }
}

/* =========================
   Legal / Static Pages
========================= */
.legal-page-wrap {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 16px;
}

.legal-card {
    background: #101a2d;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 28px;
}

.legal-card h1 {
    color: #fff;
    font-size: 34px;
    margin: 0 0 8px;
}

.legal-subtitle {
    color: #9fb0c7;
    margin-bottom: 24px;
}

.legal-content {
    color: #dbeafe;
    line-height: 1.75;
    font-size: 15px;
}

.legal-content h2 {
    color: #fff;
    margin-top: 26px;
    margin-bottom: 8px;
    font-size: 21px;
    font-weight: 900;
}

.legal-content p {
    margin: 0 0 14px;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 18px;
    }

    .legal-card h1 {
        font-size: 27px;
    }

    .legal-content {
        font-size: 14px;
    }

    .legal-content h2 {
        font-size: 18px;
    }
}

/* =========================
   google auth /
========================= */

.google-login-btn {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
    transition: all .18s ease;
}

.google-login-btn:hover {
    background: #eaf2ff;
    color: #1d4ed8;
    transform: translateY(-1px);
}

.google-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: red;
    font-weight: 900;
    font-size: 16px;
    border: 1px solid rgba(0, 0, 0, .08);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: #8fa3c7;
    font-size: 12px;
    font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .10);
}

.auth-divider span {
    white-space: nowrap;
}

/* =========================
   DAILY PREDICTIONS PAGE
========================= */

.dp-page {
    align-items: start;
}

.dp-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(80, 140, 255, 0.22);
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 213, 0, 0.16), transparent 28%),
        linear-gradient(135deg, rgba(14, 25, 48, 0.98), rgba(8, 14, 28, 0.98));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

.dp-hero-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.dp-hero-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(47, 111, 255, 0.25), rgba(47, 111, 255, 0.08));
    border: 1px solid rgba(82, 139, 255, 0.3);
    font-size: 28px;
}

.dp-hero h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 900;
    color: #ffffff;
}

.dp-hero p {
    margin: 8px 0 0;
    color: rgba(232, 237, 247, 0.78);
    font-size: 14px;
    line-height: 1.5;
    max-width: 620px;
}

.dp-hero-ball {
    width: 110px;
    height: 80px;
    display: grid;
    place-items: center;
    font-size: 54px;
    border-radius: 22px;
    background: radial-gradient(circle, rgba(255, 224, 72, 0.25), transparent 68%);
    filter: drop-shadow(0 0 22px rgba(255, 213, 0, 0.25));
}

.dp-filterbar {
    margin-bottom: 18px;
}

.dp-card {
    border-radius: 18px;
    border: 1px solid rgba(80, 140, 255, 0.22);
    background: linear-gradient(180deg, rgba(18, 31, 58, 0.98), rgba(9, 17, 34, 0.98));
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.dp-card-head {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dp-card-head h2 {
    margin: 0;
    color: #ffffff;
    font-size: 19px;
    font-weight: 900;
}

.dp-card-head p {
    margin: 5px 0 0;
    color: rgba(232, 237, 247, 0.62);
    font-size: 13px;
}

.dp-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.dp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1120px;
}

.dp-table th {
    padding: 13px 10px;
    color: rgba(232, 237, 247, 0.66);
    background: rgba(7, 14, 30, 0.52);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
}

.dp-table th:nth-child(1),
.dp-table th:nth-child(2) {
    text-align: left;
}

.dp-subhead th {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 10px;
    background: rgba(7, 14, 30, 0.35);
}

.dp-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
    text-align: center;
    vertical-align: middle;
}

.dp-row:hover {
    background: rgba(47, 111, 255, 0.06);
}

.dp-time {
    width: 92px;
    text-align: left !important;
    color: rgba(232, 237, 247, 0.9);
    font-weight: 800;
    font-size: 13px;
}

.dp-live,
.dp-finished {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
}

.dp-live {
    background: rgba(34, 197, 94, 0.18);
    color: #6dff9d;
}

.dp-finished {
    background: rgba(255, 255, 255, 0.09);
    color: rgba(232, 237, 247, 0.7);
}

.dp-match {
    width: 270px;
    text-align: left !important;
}

.dp-match a {
    display: grid;
    gap: 5px;
}

.dp-team {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-weight: 850;
    font-size: 13px;
}

.dp-team img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.06);
}

.dp-vs {
    padding-left: 33px;
    color: rgba(232, 237, 247, 0.48);
    font-size: 10px;
    line-height: 1;
}

.dp-prob {
    min-width: 50px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.035);
    color: rgba(232, 237, 247, 0.92);
    font-weight: 900;
    font-size: 12px;
}

.dp-prob.active {
    border-color: rgba(47, 255, 123, 0.35);
    background: rgba(34, 197, 94, 0.15);
    color: #75ff9e;
}

.dp-score-pill {
    min-width: 76px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #ffffff;
    font-weight: 900;
    font-size: 15px;
}

.dp-tip-pill {
    min-width: 125px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.24), rgba(34, 197, 94, 0.10));
    border: 1px solid rgba(34, 197, 94, 0.28);
    color: #caffd6;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .dp-hero {
        align-items: flex-start;
    }

    .dp-hero-ball {
        display: none;
    }

    .dp-hero h1 {
        font-size: 27px;
    }

    .dp-hero-left {
        align-items: flex-start;
    }

    .dp-hero-icon {
        width: 52px;
        height: 52px;
        font-size: 23px;
    }

    .dp-table {
        min-width: 1050px;
    }
}

/* =========================
   DAILY PREDICTIONS - HOME STYLE
========================= */

.pp-home.dp-page-no-right {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 18px !important;
    width: 100% !important;
    align-items: start !important;
}

.pp-home.dp-page-no-right .pp-main,
.pp-home.dp-page-no-right .dp-main-wide {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.pp-home.dp-page-no-right .dp-hero,
.pp-home.dp-page-no-right .dp-filterbar,
.pp-home.dp-page-no-right .dp-home-league,
.pp-home.dp-page-no-right .dp-empty-card {
    width: 100% !important;
    max-width: none !important;
}

.dp-home-hero {
    margin-bottom: 18px;
}

.dp-filterbar {
    margin-bottom: 18px;
}

.dp-empty-card {
    border-radius: 18px;
    border: 1px solid rgba(80, 140, 255, 0.22);
    background: linear-gradient(180deg, rgba(18, 31, 58, 0.98), rgba(9, 17, 34, 0.98));
    padding: 24px;
}

.dp-empty-card h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 20px;
}

.dp-empty-card p {
    margin: 0;
    color: rgba(232, 237, 247, 0.68);
}

/* League box */
.dp-home-league {
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(80, 140, 255, 0.22);
    background: linear-gradient(180deg, rgba(18, 31, 58, 0.98), rgba(9, 17, 34, 0.98));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.dp-home-league-head {
    min-height: 48px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #f3f6fb;
    color: #13223b;
    font-weight: 900;
}

.dp-home-league-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.dp-league-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.dp-league-sub {
    color: rgba(19, 34, 59, 0.72);
    font-size: 12px;
    text-decoration: underline;
}

.dp-home-header,
.dp-home-row {
    display: grid;
    grid-template-columns:
        70px
        minmax(210px, 1.35fr)
        180px
        135px
        135px
        100px
        130px
        24px;
    gap: 12px;
    align-items: center;
}

.dp-home-header {
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
    background: rgba(7, 14, 30, 0.52);
    color: rgba(232, 237, 247, 0.72);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dp-home-row {
    min-height: 78px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
    color: #ffffff;
    transition: 0.18s ease;
}

.dp-home-row:hover {
    background: rgba(47, 111, 255, 0.07);
}

.dp-home-time {
    display: grid !important;
    gap: 5px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}
/* Match */
.dp-home-match {
    display: grid;
    gap: 4px;
}

.dp-home-team {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.dp-home-team img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
}

.dp-home-vs {
    padding-left: 33px;
    font-size: 10px;
    line-height: 1;
    color: rgba(232, 237, 247, 0.46);
}

.dp-live,
.dp-finished {
    width: max-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
}

.dp-live {
    background: rgba(34, 197, 94, 0.18);
    color: #6dff9d;
}

.dp-finished {
    background: rgba(255, 255, 255, 0.09);
    color: rgba(232, 237, 247, 0.74);
}

/* Prediction groups */
.dp-mini-market {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

.dp-mini-market-two {
    justify-content: flex-start;
}

/* All prediction pills same size */
.dp-mini-pill {
    width: 58px !important;
    min-width: 58px !important;
    height: 44px !important;
    padding: 4px 5px !important;

    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;

    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(232, 237, 247, 0.92);

    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.dp-pill-main {
    display: block !important;
    line-height: 1 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

.dp-pill-odd {
    display: block !important;
    line-height: 1 !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    color: #bcd7ff !important;
    opacity: 0.9;
}

.dp-mini-pill.active {
    border-color: rgba(47, 255, 123, 0.35);
    background: rgba(34, 197, 94, 0.16);
    color: #75ff9e;
}

/* Correct score same height as stats */
.dp-score-pill {
    width: 72px !important;
    min-width: 72px !important;
    height: 44px !important;
    padding: 4px 6px !important;

    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;

    border-radius: 9px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.dp-score-pill small {
    display: block !important;
    font-size: 9px !important;
    line-height: 1 !important;
    color: #bcd7ff !important;
    font-weight: 800 !important;
}

/* Best Pick same height, not too big */
.dp-tip-pill {
    width: 120px !important;
    min-width: 120px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 8px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.24), rgba(34, 197, 94, 0.10));
    border: 1px solid rgba(34, 197, 94, 0.28);
    color: #caffd6;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.dp-row-arrow {
    color: #9cc4ff;
    font-size: 24px;
    font-weight: 500;
    text-align: right;
}

/* Tablet */
@media (max-width: 1200px) {
    .pp-home.dp-page-no-right {
        grid-template-columns: 1fr !important;
    }

    .dp-home-league {
        overflow-x: auto;
    }

    .dp-home-header,
    .dp-home-row {
        min-width: 980px;
    }
}

/* =========================
   LIVE SCORE RED - HOME + DAILY
========================= */

/* HOME PAGE - ако натпреварот е live, резултатот да биде црвен */
.pp-match-row:has(.pp-status-live) .pp-score {
    color: #ff4b4b !important;
    font-weight: 900 !important;
}

/* DAILY PREDICTIONS - ако натпреварот е live, score меѓу тимовите да биде црвен */
.dp-home-row:has(.pp-status-live) .dp-home-score.has-score {
    color: #ff4b4b !important;
}

/* Кога е finished, нека биде нормално бело */
.pp-match-row:not(:has(.pp-status-live)) .pp-score {
    color: #ffffff;
}

.dp-home-row:not(:has(.pp-status-live)) .dp-home-score.has-score {
    color: #ffffff;
}

/* Desktop: show O / U only */
.dp-ou-desktop {
    display: inline;
}

.dp-ou-mobile {
    display: none;
}

/* =========================
   DAILY PREDICTIONS - MOBILE CLEAN COMPACT V2
   centered teams/vs + more space between matches
========================= */

@media (max-width: 768px) {

    .pp-home.dp-page-no-right {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .dp-main-wide {
        min-width: 0 !important;
        width: 100% !important;
    }

    .dp-hero {
        display: none !important;
    }

    .dp-filterbar {
        margin: 8px 0 12px !important;
        padding: 8px !important;
        border-radius: 12px !important;
        gap: 8px !important;
    }

    .pp-filter-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }

    .pp-filter-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .pp-tab {
        height: 30px !important;
        padding: 0 11px !important;
        font-size: 10px !important;
        border-radius: 9px !important;
        white-space: nowrap !important;
    }

    .pp-date-switcher {
        gap: 5px !important;
    }

    .pp-date-arrow {
        width: 30px !important;
        height: 30px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
    }

    .pp-date-current {
        height: 30px !important;
        padding: 0 12px !important;
        font-size: 10px !important;
        border-radius: 8px !important;
    }

    .dp-home-league {
        margin-bottom: 14px !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    .dp-home-league-head {
        min-height: 36px !important;
        padding: 8px 10px !important;
        gap: 7px !important;
    }

    .dp-home-league-title {
        min-width: 0 !important;
        max-width: none !important;
        gap: 6px !important;
    }

    .dp-home-league-title span {
        font-size: 10px !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .dp-league-logo {
        width: 15px !important;
        height: 15px !important;
    }

    .dp-league-sub {
        font-size: 9px !important;
        white-space: nowrap !important;
    }

    .dp-home-header {
        display: none !important;
    }

    .dp-home-rows {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important; /* prostor megju utakmici */
        padding: 8px 7px 10px !important;
    }

    .dp-home-row {
        display: grid !important;
        grid-template-columns: 34px minmax(0, 1fr) 16px !important;
        grid-template-areas:
            "time match arrow"
            "m1 m1 m1"
            "m2 m2 m2"
            "m3 m3 m3"
            "bottom bottom bottom" !important;
        gap: 6px !important;
        padding: 9px 8px !important;
        min-width: 0 !important;
        min-height: auto !important;
        align-items: center !important;
        border: 1px solid rgba(255,255,255,0.07) !important;
        border-radius: 12px !important;
        background: rgba(255,255,255,0.02) !important;
        margin: 0 !important;
    }

    .dp-home-time {
        grid-area: time !important;
        width: 30px !important;
        min-width: 30px !important;
        height: 20px !important;
        padding: 0 !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 999px !important;
        background: rgba(255,255,255,0.08) !important;
        color: #ffffff !important;
        font-size: 9px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
    }

    .dp-home-time.pp-status-live {
        background: rgba(255,75,75,0.12) !important;
        color: #ff4b4b !important;
        border: 1px solid rgba(255,75,75,0.28) !important;
    }

    .dp-home-match {
        grid-area: match !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
        align-items: center !important;
        justify-items: center !important;
        gap: 8px !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .dp-home-team {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        min-width: 0 !important;
        height: 18px !important;
        font-size: 10px !important;
        line-height: 1 !important;
    }

    .dp-home-team:first-child {
        justify-self: end !important;
        text-align: right !important;
    }

    .dp-home-team:last-child {
        justify-self: start !important;
        text-align: left !important;
    }

    .dp-home-team img {
        width: 13px !important;
        height: 13px !important;
        min-width: 13px !important;
        object-fit: contain !important;
    }

    .dp-home-team:first-child img {
        order: 0 !important;
    }

    .dp-home-team:last-child img {
        order: 0 !important;
    }

    .dp-home-team span {
        display: block !important;
        max-width: 84px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 10px !important;
        line-height: 1 !important;
    }

    .dp-home-vs,
    .dp-home-score,
    .dp-home-score.has-score {
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        padding: 0 !important;
        margin: 0 auto !important;
        text-align: center !important;
        justify-self: center !important;
        align-self: center !important;
        font-size: 10px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        color: #ffffff !important;
        background: transparent !important;
    }

    .dp-home-row:has(.pp-status-live) .dp-home-score.has-score {
        color: #ff4b4b !important;
    }

    .dp-row-arrow {
        grid-area: arrow !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: 16px !important;
        font-size: 15px !important;
        color: #9cc4ff !important;
        opacity: 0.85 !important;
    }

    .dp-home-row > .dp-mini-market:nth-of-type(3) {
        grid-area: m1 !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 4px !important;
        width: 100% !important;
        margin: 2px 0 0 !important;
    }

    .dp-home-row > .dp-mini-market:nth-of-type(4) {
        grid-area: m2 !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 4px !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .dp-home-row > .dp-mini-market:nth-of-type(5) {
        grid-area: m3 !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 4px !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .dp-mini-pill {
        width: auto !important;
        min-width: 0 !important;
        height: 26px !important;
        min-height: 26px !important;
        padding: 3px 4px !important;
        border-radius: 7px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1px !important;
        line-height: 1 !important;
    }

    .dp-pill-main {
        font-size: 9px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
    }

    .dp-pill-odd {
        font-size: 7px !important;
        line-height: 1 !important;
        margin-top: 1px !important;
        opacity: 0.9 !important;
    }

    .dp-score-pill,
    .dp-score-stack {
        grid-area: bottom !important;
        justify-self: start !important;
        width: 64px !important;
        min-width: 64px !important;
        height: 26px !important;
        min-height: 26px !important;
        padding: 3px 5px !important;
        margin: 0 !important;
        border-radius: 7px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }

    .dp-score-pill span,
    .dp-score-stack span {
        font-size: 9px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
    }

    .dp-score-pill small,
    .dp-score-stack small {
        font-size: 7px !important;
        line-height: 1 !important;
        margin-top: 1px !important;
    }

    .dp-tip-stack {
        grid-area: bottom !important;
        justify-self: stretch !important;
        margin: 0 0 0 72px !important;
        height: 26px !important;
        min-height: 26px !important;
        display: flex !important;
        align-items: center !important;
    }

    .dp-tip-pill {
        width: 100% !important;
        min-width: 0 !important;
        height: 26px !important;
        min-height: 26px !important;
        padding: 0 7px !important;
        border-radius: 7px !important;
        font-size: 8px !important;
        line-height: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .dp-ou-desktop {
        display: none !important;
    }

    .dp-ou-mobile {
        display: inline !important;
    }


.fs-topnav .tp-search-open {
    height: 32px;
    padding: 0 11px;
    font-size: 13px;
    border-radius: 9px;
}

.fs-topnav .tp-search-icon {
    font-size: 12px;
}

.fs-topnav a[href*="login"],
.fs-topnav .pp-register {
    height: 32px;
    padding: 0 11px;
    font-size: 13px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
}

.fs-topnav .pp-register {
    padding: 0 13px;
}

@media (max-width: 768px) {
    .tp-header-actions-bar {
        display: none !important;
    }

    .fs-header-inner {
        min-height: 58px !important;
    }
}

@media (max-width: 768px) {

    .pp-home .pp-match-row {
        grid-template-columns: 34px minmax(0, 1fr) 18px 72px 10px !important;
        gap: 5px !important;
        align-items: center !important;
        padding: 9px 6px !important;
    }

    .pp-home .pp-match-row .pp-time {
        font-size: 9px !important;
        font-weight: 900 !important;
        color: #e6f0ff !important;
        width: 34px !important;
        min-width: 34px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    .pp-home .pp-match-row .pp-row-teams {
        gap: 5px !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .pp-home .pp-match-row .pp-row-team {
        gap: 4px !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .pp-home .pp-match-row .pp-team-logo {
        width: 10px !important;
        height: 10px !important;
        flex: 0 0 10px !important;
        object-fit: contain !important;
    }

    .pp-home .pp-match-row .pp-row-team span {
        display: block !important;
        min-width: 0 !important;
        max-width: 100% !important;
        font-size: 8.5px !important;
        font-weight: 850 !important;
        line-height: 1.15 !important;
        color: #ffffff !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .pp-home .pp-match-row .pp-scorebox {
        gap: 5px !important;
        width: 18px !important;
        min-width: 18px !important;
        align-items: center !important;
    }

    .pp-home .pp-match-row .pp-score {
        font-size: 9px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
    }

    .pp-home .pp-match-row .pp-prediction-area {
        width: 72px !important;
        min-width: 72px !important;
        max-width: 72px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .pp-home .pp-match-row .pp-pick-card {
        width: 72px !important;
        min-width: 72px !important;
        max-width: 72px !important;
        min-height: auto !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;
    }

    .pp-home .pp-match-row .pp-pick-label {
        display: none !important;
    }

    .pp-home .pp-match-row .pp-pick-row {
        width: 72px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2px !important;
    }

    .pp-home .pp-match-row .pp-pick-tip {
        width: 72px !important;
        max-width: 72px !important;
        height: 17px !important;
        min-height: 17px !important;
        padding: 0 4px !important;
        border-radius: 5px !important;
        font-size: 6.5px !important;
        font-weight: 950 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .pp-home .pp-match-row .pp-pick-odd {
            flex: 0 0 0 !important;
        width: auto !important;
        min-width: 28px !important;
        max-width: 34px !important;
        height: 13px !important;
        min-height: 13px !important;
        padding: 0 4px !important;
        border-radius: 999px !important;
        font-size: 6.5px !important;
        font-weight: 950 !important;
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: center !important;
    }

    .pp-home .pp-match-row .pp-arrow {
        width: 10px !important;
        min-width: 10px !important;
        font-size: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        opacity: .8 !important;
    }
}
