/* ── CSS VARIABLES ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&family=Montserrat:wght@700;800&family=Hind:wght@400;600&display=swap');


:root {
    --bg:      #0F0F12;
    --surface: #17171f;
    --surface2:#1e1e28;
    --border:  #2a2a38;
    --text:    #d8d8e8;
    --muted:   #5a5a72;
    --radius:  6px;
}

#players-table a { color: #fff; }

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Hind', "Segoe UI", system-ui, sans-serif;
    font-size: 13px;
}

/* ── TOP BAR ─────────────────────────────────────────────────── */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    min-height: 40px;

}
.top-bar-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
}
.top-bar-brand:hover { color: #fff; text-decoration: none; }
.top-bar-announce {
    flex: 1;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-align: center;
    letter-spacing: .5px;
}
.top-bar-form {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}
.top-bar-input {
    background: var(--bg);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    color: var(--text);
    font-size: 11px;
    padding: 5px 10px;
    width: 210px;
    outline: none;
    font-family: inherit;
}
.top-bar-input::placeholder { color: var(--muted); }
.top-bar-input:focus { border-color: #2ecc71; }
.top-bar-submit {
    background: #2ecc71;
    border: 1px solid #2ecc71;
    border-radius: 0 var(--radius) var(--radius) 0;
    color: #000;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 14px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: .4px;
    white-space: nowrap;
    transition: opacity .12s;
}
.top-bar-submit:hover { opacity: .85; }
@media (max-width: 768px) {
    .top-bar-announce { display: none; }
    .top-bar-input { width: 140px; }
}
@media (max-width: 480px) {
    .top-bar { flex-wrap: wrap; padding: 8px 12px; gap: 8px; }
    .top-bar-form { width: 100%; }
    .top-bar-input { flex: 1; width: auto; }
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 20px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    min-height: 52px;
}
.site-header-left {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex-shrink: 0;
    padding: 10px 0;
}
.site-header h1 {
    font-size: clamp(10px, 2.5vw, 14px);
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    letter-spacing: 1px;
    white-space: nowrap;
}
.site-header .date    { font-size: 10px; color: var(--muted); }
.last-updated {
    display: inline;
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    opacity: 0.7;
    letter-spacing: 0.5px;
    margin-right: 8px;
}


/* ── ICONS ────────────────────────────────────────────────────── */
.material-symbols-rounded {
    font-size: 16px;
    vertical-align: text-top;
    line-height: 1;
}

.material-symbols-rounded {
    font-size: 16px;
    vertical-align: text-top;
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
}

/* ── NAV ────────────────────────────────────────────────────── */

.site-header { align-items: center; }



.site-nav {
    display: flex;
    gap: 2px;
    padding: 20px;
    background: transparent;
    overflow: visible;
    flex-wrap: nowrap;
    align-items: center;
    position: relative;
    z-index: 50;
    flex: 1;
    justify-content: flex-end;

}
.nav-btn {
    padding: 5px 10px;

    border: none;
    background: none;

    color: var(--muted);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    text-decoration: none;
    transition: color .12s;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-btn:hover  { color: #fff; }
.nav-btn.active { color: #fff; }

/* ── NAV DROPDOWN ───────────────────────────────────────────── */
.nav-dropdown {
    position: relative;
    flex-shrink: 0;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 6px;
    z-index: 200;
}
.nav-dropdown-menu-inner {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 200px;
    padding: 4px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
/* dropdown open state handled by JS */
.nav-dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .1s;
}
.nav-dropdown-menu a:hover { background: var(--surface); color: #fff; }

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
    display: none;
    background: #2ecc71;
    border: none;
    border-radius: var(--radius);
    color: #000;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .3px;
    white-space: nowrap;

}

/* ── GAME HEADER BLOCKS ─────────────────────────────────────── */
.game-header  { display: flex; align-items: stretch; }
.team-side {
    flex: 1;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.team-side.away { text-align: right; }
.team-side.home { text-align: left; }
.team-code { font-size: 22px; font-weight: 900; letter-spacing: 2px; }
.at-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background: #0a0a0e;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ── TIP WIN ROW ────────────────────────────────────────────── */
.tip-row  { display: flex; }
.tip-cell {
    flex: 1;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
}
.tip-cell.away { text-align: right; }
.tip-cell.home { text-align: left; }
.tip-sep {
    padding: 7px 10px;
    background: #0a0a0e;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

/* ── DATA TABLES ────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.data-table thead th {
    background: var(--surface2);
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 6px 10px;
    font-weight: 700;
    border-top: 1px solid var(--border);
    white-space: nowrap;
}
.data-table thead th.r { text-align: right; }
.data-table thead th.l { text-align: left; }
.data-table thead th.c { text-align: center; }
.data-table tbody tr   { border-top: 1px solid var(--border); }
.data-table tbody tr:hover td { background: rgba(255,255,255,.02); }
.data-table td {
    padding: 8px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.data-table td.r { text-align: right; }
.data-table td.l { text-align: left; }
.data-table td.c { text-align: center; }

/* ── PILLS & BADGES ─────────────────────────────────────────── */
.team-pill {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;
    vertical-align: middle;
    margin-right: 6px;
}
.pos-badge {
    display: inline-block;
    background: #2a2a45;
    color: #c8c8e0;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 3px;
    vertical-align: middle;
    letter-spacing: .4px;
    border: 1px solid #444466;
}
.player-name { font-weight: 600; color: #fff; font-size: 13px; }
.rank-num    { color: var(--muted); font-size: 11px; font-weight: 700; }
.odds-val    { color: #5aaa6a; font-weight: 700; }

/* ── GAME BLOCKS ────────────────────────────────────────────── */
.game-block {
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.game-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── CONTAINER — FULL WIDTH ─────────────────────────────────── */
.container { padding: 16px 20px 60px; width: 100%; }

/* ── MODAL ──────────────────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    z-index: 100;
    align-items: center;
    justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px 28px;
    max-width: 520px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}
.modal h2        { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.modal .close-btn { float: right; background: none; border: none; color: var(--muted); font-size: 18px; cursor: pointer; }
.modal .close-btn:hover { color: #fff; }

/* ── LINEUPS PAGE ───────────────────────────────────────────── */
#view-matchup, #view-flat { display: none; padding: 16px 20px 40px; }
#view-matchup.visible, #view-flat.visible { display: block; }

.key-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.key-item    { display: flex; gap: 8px; }
.key-abbr    { font-weight: 800; color: #fff; font-size: 11px; min-width: 60px; }
.key-desc    { color: #aaa; font-size: 11px; line-height: 1.4; }
.key-section {
    grid-column: 1 / -1;
    margin-top: 10px;
    font-size: 10px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .8px;
    border-top: 1px solid var(--border);
    padding-top: 10px;
}
.color-scale        { grid-column: 1 / -1; display: flex; height: 18px; border-radius: 4px; overflow: hidden; margin-top: 4px; }
.color-scale-labels { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin-top: 3px; }

.matchup-block  { margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.matchup-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matchup-table  { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 900px; }
.matchup-table col.stat     { width: 52px; }
.matchup-table col.cnt      { width: 32px; }
.matchup-table col.name-col { width: 120px; }
.matchup-table col.gs-col   { width: 34px; }
.matchup-table col.pos-col  { width: 34px; }
.matchup-table tr.team-header-row td { padding: 10px 12px; font-size: 18px; font-weight: 900; letter-spacing: 2px; border: none; }
.matchup-table tr.team-header-row td.away-hd { text-align: right; }
.matchup-table tr.team-header-row td.at-hd   { text-align: center; background: #0a0a0e; font-size: 10px; color: var(--muted); font-weight: 700; vertical-align: middle; }
.matchup-table tr.team-header-row td.home-hd { text-align: left; }
.matchup-table th  { background: var(--surface2); color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .4px; padding: 5px 4px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.matchup-table th.r { text-align: right; } .matchup-table th.l { text-align: left; } .matchup-table th.c { text-align: center; }
.matchup-table td  { padding: 6px 4px; border-top: 1px solid var(--border); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.matchup-table td.r { text-align: center; } .matchup-table td.l { text-align: center; } .matchup-table td.c { text-align: center; }
.matchup-table tr:hover td { background: rgba(255,255,255,.02); }
.pos-cell { background: var(--surface2) !important; color: var(--muted); font-weight: 800; font-size: 10px; text-align: center; }
.num { font-variant-numeric: tabular-nums; }

.flat-controls { margin-bottom: 12px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.flat-controls input,
.flat-controls select  { background: var(--surface); border: 1px solid var(--border); color: var(--text); border-radius: 6px; padding: 6px 10px; font-size: 11px; }
.flat-controls input   { width: 200px; }
.flat-controls input::placeholder { color: var(--muted); }
.flat-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table.flat { width: 100%; border-collapse: collapse; min-width: 860px; }
table.flat th { background: var(--surface2); color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .4px; padding: 7px 8px; font-weight: 700; cursor: pointer; user-select: none; white-space: nowrap; text-align: left; }
table.flat th:hover  { color: #fff; }
table.flat th.sorted { color: #fff; }
table.flat td  { padding: 6px 8px; border-top: 1px solid var(--border); white-space: nowrap; font-variant-numeric: tabular-nums; text-align: left; }
table.flat tr:hover td { background: rgba(255,255,255,.02); }
.f-pill { display: inline-block; padding: 2px 6px; border-radius: 3px; font-size: 10px; font-weight: 800; letter-spacing: .4px; }

/* ── PICKS PAGE ─────────────────────────────────────────────── */
table.picks-table { width: 100%; border-collapse: collapse; }
table.picks-table th {
    background: var(--surface2);
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 6px 10px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}
table.picks-table th.r { text-align: right; }
table.picks-table th.c { text-align: center; }
table.picks-table td   { padding: 7px 10px; border-top: 1px solid var(--border); font-size: 13px; white-space: nowrap; }
table.picks-table td.r { text-align: right; }
table.picks-table td.c { text-align: center; }
table.picks-table tr:hover td { background: rgba(255,255,255,.02); }
.picks-table-wrap { overflow-x: auto; }
.picks-mobile { display: none; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: var(--muted);
    background: var(--bg);
}
.site-footer a           { color: var(--muted); text-decoration: none; }
.site-footer a:hover     { color: #fff; }
.footer-links            { display: flex; gap: 16px; }


/* ── Memberstack auth buttons ── */
.top-bar-auth {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.top-bar-ms-account {
    display: flex;
    gap: 6px;
}
.top-bar-ms-btn {
    padding: 4px 12px;
    border-radius: var(--radius);
    font-size: 11px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: .4px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity .12s;
}
.top-bar-ms-btn:hover { opacity: .75; text-decoration: none; }
.top-bar-ms-login {
    background: transparent;
    border: 1px solid rgba(255,255,255,.6);
    color: #fff;
}
.top-bar-ms-signup {
    background: transparent;
    border: 1px solid #E85D04;
    color: #E85D04;
}

/* Light mode */
[data-theme="light"] .top-bar-ms-login {
    border-color: rgba(0,0,0,.4);
    color: #12121e;
}
[data-theme="light"] .top-bar-ms-signup {
    border-color: #E85D04;
    color: #E85D04;
}



/* ── RESPONSIVE ─────────────────────────────────────────────── */
.player-cards { display: none; }

@media (max-width: 768px) {
    /* Nav collapse */
    .nav-toggle { display: block; }
    .site-header {
        flex-wrap: wrap;
        padding: 8px 12px;
        gap: 6px;
    }
    .site-header-left {
        flex: 1;
        min-width: 0;
        padding: 0;
    }
    .site-nav {
        background: var(--bg);
        display: none;
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        padding: 8px 12;
        border-top: 1px solid var(--border);
        gap: 0;
        position: sticky;
        top: 52px;
    }

    .site-nav.open {
        display: flex;
    }
    .nav-btn { width: 100%; text-align: left; padding: 8px 0; }
    .nav-dropdown { width: 100%; }
    .nav-dropdown-menu {
        position: static;
        padding-top: 0;
        display: none;
    }
    .nav-dropdown-menu.mobile-open {
        display: block;
    }
    .nav-dropdown-menu-inner {
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 0 12px;
        background: transparent;
    }
    .nav-dropdown-menu a { padding: 6px 8px; font-size: 11px; border-radius: 0; }
}

    /* Lineups */
 .matchup-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .player-cards   { display: block; }
    .matchup-block  { border: none; background: none; margin-bottom: 0; }
    .card-game-header { display: flex; margin: 16px 0 8px; }
    .card-team-badge  { flex: 1; padding: 8px 12px; font-size: 20px; font-weight: 900; letter-spacing: 2px; }
    .card-team-badge.away { text-align: right; border-radius: 6px 0 0 6px; }
    .card-team-badge.home { text-align: left;  border-radius: 0 6px 6px 0; }
    .card-at { padding: 8px 10px; background: #111; color: var(--muted); font-size: 11px; font-weight: 700; display: flex; align-items: center; }
    .player-card  { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; margin-bottom: 8px; padding: 12px; }
    .card-header  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
    .card-player-name { font-size: 15px; font-weight: 700; color: #fff; }
    .card-meta    { display: flex; gap: 6px; align-items: center; }
    .card-pos     { background: var(--surface2); color: var(--muted); font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 3px; }
    .card-team-pill { font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 3px; letter-spacing: .5px; }
    .card-stats   { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; }
    .card-stat    { border-radius: 3px; padding: 5px 4px; text-align: center; }
    .card-stat-label { font-size: 8px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 2px; color: #000; }
    .card-stat-val   { font-size: 13px; font-weight: 800; }
    .card-stat-plain { background: var(--surface2); border-radius: 3px; padding: 5px 4px; text-align: center; }
    .card-stat-plain .card-stat-label { color: #888; }
    .card-stat-plain .card-stat-val   { font-size: 13px; font-weight: 700; color: var(--text); }
    #view-matchup, #view-flat { padding: 12px 12px 40px; }

    /* Picks mobile */
    .picks-table-wrap { display: none; }
    .picks-mobile     { display: block; }
    .picks-col-headers { display: flex; align-items: center; padding: 5px 10px; background: var(--surface2); border-top: 1px solid var(--border); gap: 6px; }
    .picks-col-headers span { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
    .ch-rank { min-width: 18px; }
    .ch-team { min-width: 38px; }
    .ch-name { flex: 1; }
    .ch-pos  { min-width: 26px; }
    .ch-prob { min-width: 62px; text-align: center; }
    .ch-odds { min-width: 52px; text-align: right; }
    .pick-row { display: flex; align-items: center; padding: 8px 10px; border-top: 1px solid var(--border); gap: 6px; }
    .pr-rank  { font-size: 11px; color: var(--muted); font-weight: 700; min-width: 18px; }
    .pr-team  { min-width: 38px; }
    .pr-name  { flex: 1; font-size: 13px; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; }
    .pr-pos   { font-size: 10px; color: var(--muted); font-weight: 700; min-width: 26px; }
    .pr-prob  { min-width: 62px; text-align: center; font-size: 12px; font-weight: 700; padding: 3px 6px; border-radius: 4px; font-variant-numeric: tabular-nums; }
    .pr-odds  { min-width: 52px; text-align: right; font-size: 12px; font-weight: 700; color: #4aba7a; font-variant-numeric: tabular-nums; }

    .team-side { font-size: 20px; padding: 10px 12px; }
}

@media (max-width: 640px) {
    .container  { padding: 12px 12px 60px; }
    .site-header, .site-footer { padding-left: 12px; padding-right: 12px; }
}
/* ── INDEX PAGE ─────────────────────────────────────────────── */
.t-pill {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
}
.idx-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.idx-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
    font-size: 12px;
}
.idx-table thead th {
    background: var(--surface2);
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 7px 10px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.idx-table thead th.c { text-align: center; }
.idx-table tbody tr   { border-top: 1px solid var(--border); }
.idx-table tbody tr:hover td { background: rgba(255,255,255,.02); }
.idx-table td { padding: 8px 10px; color: var(--text); }
.idx-table td.c { text-align: center; }
.idx-table-player { color: #fff; font-weight: 600; }
.idx-table-muted  { color: var(--muted); }
.idx-lbl {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--muted);
    margin-bottom: 3px;
}
.idx-sub {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 14px;
}
.idx-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 36px 20px 32px;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.idx-hero-left h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 800;
    color: #fff;
    letter-spacing: .5px;
    line-height: 1.2;
    margin-bottom: 10px;
}
.idx-hero-left > p {
    font-size: 12px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 14px;
}
.idx-hero-left ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.idx-hero-left ul li { font-size: 12px; color: var(--text); line-height: 1.6; }
.idx-hero-left ul li::before { content: '→ '; color: #2ecc71; font-weight: 700; }
.idx-hero-left ul li a { color: #666; text-decoration: underline; text-underline-offset: 3px; }
.idx-no-results { color: var(--muted); font-size: 12px; }
.idx-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-bottom: 1px solid var(--border);
}
.idx-card {
    background: var(--surface);
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.idx-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
}
.idx-card p { font-size: 12px; color: var(--text); line-height: 1.6; flex: 1; margin: 0; }
.idx-card a.idx-more {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    transition: color .12s;
}
.idx-card a.idx-more:hover { color: #2ECC71; }
.idx-section { padding: 28px 20px; border-bottom: 1px solid var(--border); }
.idx-access-tag {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 14px;
}
.idx-access-h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}
.idx-access-lead { font-size: 13px; color: var(--text); line-height: 1.7; max-width: 560px; margin-bottom: 20px; }
.idx-stats-tag {
    display: inline-block;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 16px;
}
.idx-feature-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 40px;
    max-width: 620px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.idx-feature-cols li { font-size: 12px; color: var(--text); line-height: 1.6; }
.idx-feature-cols li::before { content: '✓ '; color: #2ecc71; font-weight: 700; }
.idx-feature-cols-full { max-width: none; }
.idx-access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.idx-img-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.idx-img {
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    width: 100%;
}
.idx-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.idx-plan {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
}
.idx-plan-body {
    padding: 20px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}
.idx-plan-icon  { font-size: 26px; }
.idx-plan-name  { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 800; color: #fff; }
.idx-plan-price { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 800; color: #2ecc71; }
.idx-plan-desc  { font-size: 12px; color: var(--text); line-height: 1.6; margin: 0; }
.idx-plan-footer { padding: 10px 14px; border-top: 1px solid var(--border); }
.idx-plan-btn {
    display: block;
    width: 100%;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    padding: 8px 10px;
    transition: background .12s, color .12s, border-color .12s;
}
.idx-plan-btn:hover { background: #2ecc71; color: #000; border-color: #2ecc71; }
.idx-ballers { text-align: right; padding-top: 12px; font-size: 11px; }
.idx-ballers a { color: var(--muted); text-decoration: none; font-weight: 700; letter-spacing: .5px; }
.idx-ballers a:hover { color: #fff; }
.idx-section-no-border { border-bottom: none; }

@media (max-width: 900px) {
    .idx-hero  { grid-template-columns: 1fr; }
    .idx-plans { grid-template-columns: repeat(2, 1fr); }
    .idx-img-strip { grid-template-columns: repeat(3, 1fr); }
    .idx-access-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 700px) {
    .idx-cards { grid-template-columns: repeat(2, 1fr); }
    .idx-feature-cols { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .idx-cards { grid-template-columns: 1fr; }
    .idx-plans { grid-template-columns: 1fr; }
    .idx-img-strip { grid-template-columns: repeat(2, 1fr); }
    .idx-hero, .idx-section { padding-left: 12px; padding-right: 12px; }
}
