        :root {
            --sham-green: #16a34a;
            --sham-green-hover: #15803d;
            --sham-gold: #d6b25e;
            --sham-red: #dc2626;
            --sham-muted: #6b7280;
            --sham-dark: #1f2937;
            --sham-text: #374151;
            --sham-bg: #f9fafb;
            --sham-card: #ffffff;
            --sham-line: #e5e7eb;
            --radius: 8px;
            --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        /* Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: var(--sham-text);
            background: var(--sham-bg);
        }

        /* Over/Under Color Coding */
        .ou-over {
            color: var(--sham-green) !important;
            font-weight: 600;
        }

        .ou-under {
            color: var(--sham-red) !important;
            font-weight: 600;
        }

        .shamlock-mobile-value.ou-over {
            color: var(--sham-green) !important;
        }

        .shamlock-mobile-value.ou-under {
            color: var(--sham-red) !important;
        }

        .shamlock-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }

        /* Header */
        .shamlock-header {
            background: var(--sham-card);
            border-top: 3px solid var(--sham-green);
            padding: 30px;
            margin-bottom: 30px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            text-align: center;
        }

        .shamlock-header h1 {
            color: var(--sham-dark);
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .shamlock-header h1 .accent {
            color: var(--sham-green);
        }

        .picks-subtitle {
            font-size: 1rem;
            font-weight: 400;
            color: #6b7280;
            margin: 0 0 10px;
        }

        .shamlock-meta {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            color: var(--sham-muted);
            font-size: 0.95rem;
            justify-content: center;
        }

        /* Filters Bar */
        .shamlock-filters {
            background: var(--sham-card);
            padding: 20px;
            margin-bottom: 30px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
        }

        .shamlock-filter-control {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 8px;
        }

        .shamlock-filter-control label {
            font-size: 0.85rem;
            color: var(--sham-muted);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            white-space: nowrap;
        }

        .shamlock-filter-control select,
        .shamlock-filter-control input {
            padding: 8px 12px;
            border: 1px solid var(--sham-line);
            border-radius: 4px;
            font-size: 0.95rem;
            background: white;
        }

        .shamlock-filter-control input {
            width: 200px;
        }

        .shamlock-filter-control select:focus,
        .shamlock-filter-control input:focus {
            outline: none;
            border-color: var(--sham-green);
            box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
        }

        /* Compact Filters Bar (Search + Confidence filters) */
        .shamlock-filters-compact {
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            justify-content: center;
            flex-wrap: nowrap;
        }

        .shamlock-filters-compact .shamlock-filter-control {
            flex: 0 0 auto;
        }

        .shamlock-filters-compact .shamlock-filter-control input {
            width: 140px;
        }

        .shamlock-filters-compact .shamlock-filter-control select {
            min-width: 80px;
        }

        /* Section Titles */
        .section-title {
            font-size: 1.5rem;
            color: var(--sham-dark);
            margin-bottom: 20px;
            font-weight: 700;
            text-align: center;
        }

        .section-title .accent {
            color: var(--sham-green);
        }

        .section-subtitle {
            color: var(--sham-muted);
            font-size: 0.95rem;
            margin-top: -15px;
            margin-bottom: 20px;
            text-align: center;
        }

        /* POTW Section */
        .shamlock-potw {
            background: var(--sham-card);
            padding: 30px;
            margin-bottom: 30px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            position: relative;
        }

        .shamlock-potw-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--sham-green);
            color: white;
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .shamlock-potw-brand {
            position: absolute;
            top: 20px;
            left: 20px;
            width: 40px;
            height: 40px;
        }

        .shamlock-potw-content {
            padding-top: 50px;
        }

        .shamlock-potw-matchup {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 40px;
            margin-bottom: 30px;
            padding: 0 40px;
        }

        .shamlock-potw-team {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
        }

        .shamlock-potw-logo {
            width: 80px;
            height: 80px;
            object-fit: contain;
        }

        .shamlock-potw-city {
            font-size: 0.9rem;
            color: var(--sham-muted);
            text-align: center;
        }

        .shamlock-potw-predicted-score {
            font-size: 2rem;
            font-weight: 700;
            color: var(--sham-green);
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .shamlock-potw-score-away {
            margin-left: 20px;
        }

        .shamlock-potw-score-home {
            margin-right: 20px;
        }

        .shamlock-potw-info {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 30px;
        }

        .shamlock-potw-tile {
            background: var(--sham-bg);
            padding: 15px;
            border-radius: 6px;
            text-align: center;
        }

        .shamlock-potw-tile-label {
            font-size: 0.75rem;
            color: var(--sham-muted);
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .shamlock-potw-tile-value {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--sham-dark);
        }

        /* Table Styles */
        .shamlock-picks-table-container {
            background: var(--sham-card);
            padding: 20px;
            margin-bottom: 30px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow-x: auto;
        }

        /* NCAAM/NBA: Tighter table to avoid unnecessary scroll */
        .sport-ncaam .shamlock-picks-table-container,
        .sport-nba .shamlock-picks-table-container {
            padding: 8px;
            overflow-x: hidden; /* Hide scrollbar - table should fit */
        }

        .sport-ncaam .shamlock-picks-table th,
        .sport-ncaam .shamlock-picks-table td,
        .sport-nba .shamlock-picks-table th,
        .sport-nba .shamlock-picks-table td {
            padding: 8px 4px !important;
            white-space: nowrap;
        }

        /* Tighten specific columns for NCAAM/NBA */
        .sport-ncaam .shamlock-picks-table .col-time,
        .sport-nba .shamlock-picks-table .col-time {
            width: 70px;
        }

        .sport-ncaam .shamlock-picks-table .col-at,
        .sport-nba .shamlock-picks-table .col-at {
            width: 20px;
            padding: 0 2px !important;
        }

        .sport-ncaam .shamlock-picks-table .col-edge,
        .sport-nba .shamlock-picks-table .col-edge {
            width: 50px;
        }

        .sport-ncaam .shamlock-picks-table .col-ml,
        .sport-nba .shamlock-picks-table .col-ml {
            width: 55px;
        }

        .shamlock-picks-table {
            width: 100%;
            border-collapse: collapse;
        }

        .shamlock-picks-table thead {
            background: var(--sham-bg);
        }

        .shamlock-picks-table th {
            padding: 12px;
            text-align: left;
            font-weight: 600;
            color: var(--sham-dark);
            border-bottom: 2px solid var(--sham-line);
        }

        .shamlock-picks-table td {
            padding: 12px;
            border-bottom: 1px solid var(--sham-line);
        }

        .shamlock-picks-table tbody tr {
            cursor: pointer;
            transition: background 0.2s;
        }

        .shamlock-picks-table tbody tr:hover {
            background: var(--sham-bg);
        }

        /* Mobile Cards */
        .shamlock-mobile-cards {
            display: none;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-bottom: 30px;
        }

        .shamlock-mobile-week-banner {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-top: 4px solid var(--sham-green);
            border-radius: 8px;
            padding: 12px 20px;
            margin-bottom: 20px;
            text-align: center;
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--sham-green);
            box-shadow: var(--shadow);
        }

        .shamlock-mobile-day-banner {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border: 1px solid #dee2e6;
            border-left: 4px solid var(--sham-green);
            border-radius: 6px;
            padding: 10px 16px;
            margin: 16px 0 12px 0;
            font-size: 0.95rem;
            font-weight: 600;
            color: #495057;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .shamlock-mobile-day-banner:first-of-type {
            margin-top: 0;
        }

        .shamlock-mobile-card {
            background: var(--sham-card);
            border-radius: var(--radius);
            border-top: 2px solid #d1d5db;
            padding: 20px;
            box-shadow: var(--shadow);
            position: relative;
        }

        /* POTW Mobile Card */
        .shamlock-mobile-card.potw-card {
            border-left: 4px solid var(--sham-green, #16a34a);
            border-top-color: var(--sham-green, #16a34a);
        }

        .shamlock-mobile-card.potw-card::before {
            content: "☘️";
            position: absolute;
            top: 8px;
            right: 12px;
            font-size: 1.4em;
            z-index: 10;
        }

        /* Leprechaun's Gold Mobile Card */
        .shamlock-mobile-card.leprechauns-gold-card {
            border-left: 4px solid #D4AF37;
            border-top-color: #D4AF37;
        }

        .shamlock-mobile-card.leprechauns-gold-card::before {
            content: "";
            position: absolute;
            top: 8px;
            right: 12px;
            width: 22px;
            height: 22px;
            background-image: url('/wp-content/uploads/icons/pot_o_gold.png');
            background-size: contain;
            background-repeat: no-repeat;
            z-index: 10;
        }

        /* Fade Mobile Card */
        .shamlock-mobile-card.fade-card {
            border-left: 4px solid #dc2626;
            border-top-color: #dc2626;
        }

        .shamlock-mobile-card.fade-card::before {
            content: "";
            position: absolute;
            top: 6px;
            right: 8px;
            width: 28px;
            height: 28px;
            background-image: url('/wp-content/uploads/icons/spilled_pot_o_gold.png');
            background-size: contain;
            background-repeat: no-repeat;
            z-index: 10;
        }

        .shamlock-mobile-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--sham-line);
            position: relative;
        }

        .shamlock-mobile-card-body {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .shamlock-mobile-card-stat {
            text-align: center;
        }

        .shamlock-mobile-card-label {
            font-size: 0.8rem;
            color: var(--sham-muted);
            margin-bottom: 4px;
            text-transform: uppercase;
        }

        .shamlock-mobile-card-value {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--sham-dark);
        }

        /* Mobile Card Header and Logos */
        .shamlock-mobile-matchup {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
        }

        .shamlock-mobile-team {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            max-width: 120px;
            text-align: center;
        }

        .shamlock-mobile-team img {
            width: 40px;
            height: 40px;
            object-fit: contain;
        }

        .shamlock-mobile-team span {
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--sham-dark);
            line-height: 1.2;
            word-break: break-word;
        }

        .shamlock-at {
            color: var(--sham-muted);
            font-size: 0.9rem;
            font-weight: 600;
        }

        .shamlock-mobile-time {
            text-align: center;
            font-size: 0.8rem;
            color: var(--sham-muted);
        }

        /* Mobile Card Body - 2 Column Stacked Layout */
        .shamlock-mobile-row {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .shamlock-mobile-row:nth-child(even) {
            text-align: right;
        }

        .shamlock-mobile-label {
            font-size: 0.7rem;
            color: var(--sham-muted);
            text-transform: uppercase;
            font-weight: 500;
        }

        .shamlock-mobile-value {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--sham-dark);
        }

        /* Mobile Game Details Modal */
        .shamlock-mobile-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.75);
            z-index: 9999;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .shamlock-mobile-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .shamlock-mobile-modal-content {
            background: var(--sham-card);
            border-radius: var(--radius);
            padding: 24px;
            max-width: 500px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
        }

        .shamlock-mobile-modal-close {
            position: absolute;
            top: 12px;
            right: 12px;
            background: none;
            border: none;
            font-size: 1.8rem;
            color: var(--sham-muted);
            cursor: pointer;
            padding: 4px 8px;
            line-height: 1;
            z-index: 100;
        }

        .shamlock-mobile-modal-close:hover {
            color: var(--sham-dark);
        }

        /* Mobile Modal Indicator Banners */
        .shamlock-mobile-modal-indicator {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 14px;
            border-radius: 6px;
            margin-bottom: 12px;
            font-size: 0.9rem;
            font-weight: 600;
        }

        .shamlock-mobile-modal-indicator .indicator-icon {
            font-size: 1.3em;
        }

        .shamlock-mobile-modal-indicator .indicator-icon-img {
            width: 24px;
            height: 24px;
        }

        .shamlock-mobile-modal-indicator .indicator-text {
            flex: 1;
        }

        .shamlock-mobile-modal-indicator.potw-indicator {
            background: #ecfdf5;
            border-left: 4px solid var(--sham-green, #16a34a);
            color: #065f46;
            position: relative !important;
            top: auto !important;
            left: auto !important;
        }

        .shamlock-mobile-modal-indicator.gold-indicator {
            background: #fef9e7;
            border-left: 4px solid #D4AF37;
            color: #7c6a1a;
        }

        .shamlock-mobile-modal-indicator.fade-indicator {
            background: #fef2f2;
            border-left: 4px solid #dc2626;
            color: #991b1b;
        }

        .shamlock-mobile-modal-header {
            margin-bottom: 4px;
            padding-bottom: 4px;
            border-bottom: none;
        }

        .shamlock-mobile-modal-matchup {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            margin-bottom: 10px;
        }

        .shamlock-mobile-modal-team {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
        }

        .shamlock-mobile-modal-team img {
            width: 48px;
            height: 48px;
            object-fit: contain;
        }

        .shamlock-mobile-modal-team span {
            font-weight: 700;
            font-size: 1rem;
        }

        .shamlock-mobile-modal-vs {
            color: var(--sham-muted);
            font-size: 0.9rem;
            font-weight: 600;
        }

        .shamlock-mobile-modal-time {
            text-align: center;
            font-size: 0.85rem;
            color: var(--sham-muted);
        }

        .shamlock-mobile-modal-body {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
        }

        .shamlock-mobile-modal-section {
            background: var(--sham-bg);
            padding: 12px;
            border-radius: 8px;
        }

        .shamlock-mobile-modal-section-title {
            font-size: 0.75rem;
            color: var(--sham-muted);
            text-transform: uppercase;
            font-weight: 600;
            margin-bottom: 8px;
            letter-spacing: 0.5px;
        }

        .shamlock-mobile-modal-section-value {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--sham-dark);
        }

        /* Mobile Modal Dividers */
        .shamlock-mobile-modal-divider {
            margin: 24px 0 16px 0;
            padding-top: 20px;
            border-top: 1px solid var(--sham-line);
        }

        .shamlock-mobile-modal-divider:first-of-type {
            border-top: none !important;
            padding-top: 0 !important;
            margin-top: 8px !important;
        }

        .shamlock-mobile-modal-divider h3 {
            color: var(--sham-green);
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 12px;
        }

        .shamlock-mobile-modal-analysis {
            font-size: 0.95rem;
            line-height: 1.6;
            color: var(--sham-dark);
            margin: 0;
        }

        .shamlock-mobile-modal-placeholder {
            font-size: 0.9rem;
            color: var(--sham-muted);
            font-style: italic;
            margin: 0;
        }

        .shamlock-mobile-modal-injuries {
            font-size: 0.9rem;
            line-height: 1.5;
            color: var(--sham-dark);
        }

        /* Stars */
        .shamlock-confidence-stars {
            display: inline-flex;
            gap: 2px;
            font-size: 1rem;
        }

        .shamlock-confidence-stars .star.filled {
            color: #FFA500;
            font-weight: bold;
        }

        .shamlock-star {
            color: var(--sham-gold);
        }

        /* Empty stars no longer rendered - styling kept for reference
        .shamlock-confidence-stars .star {
            color: #e5e7eb;
        }
        .shamlock-star.empty {
            color: var(--sham-line);
        }
        */

        /* Weather */
        .shamlock-weather-chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 10px;
            background: var(--sham-bg);
            border-radius: 12px;
            font-size: 0.85rem;
        }

        .shamlock-weather-chip.dome {
            background: var(--sham-green);
            color: white;
        }

        .shamlock-text-green {
            color: var(--sham-green);
        }

        .shamlock-text-red {
            color: var(--sham-red);
        }

        /* EPR Rankings Grid */
        .shamlock-epr-container {
            background: var(--sham-card);
            padding: 30px;
            margin-bottom: 40px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }

        .shamlock-epr-grid {
            display: flex !important;
            flex-wrap: wrap !important;
            justify-content: center !important;
            row-gap: 50px !important;
            column-gap: 20px !important;
        }

        .shamlock-epr-team {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            gap: 24px !important;
            padding: 32px 16px !important;
            background: var(--sham-bg) !important;
            border-radius: 6px !important;
            width: 80px !important;
            transition: all 0.2s ease !important;
        }

        .shamlock-epr-team:hover {
            background: #e5e7eb !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
        }

        .shamlock-epr-logo {
            width: 40px;
            height: 40px;
            object-fit: contain;
        }

        .shamlock-epr-rank {
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--sham-dark);
        }

        .shamlock-epr-value {
            font-size: 0.7rem;
            color: var(--sham-muted);
        }

        .shamlock-epr-delta {
            font-size: 0.65rem;
            display: flex;
            align-items: center;
            gap: 2px;
            justify-content: center;
            min-height: 1em;
        }

        .shamlock-arrow {
            width: 0.8em;
            height: 0.8em;
            display: inline-block;
        }

        .shamlock-arrow-up {
            color: var(--sham-green);
        }

        .shamlock-arrow-up::before {
            content: '▲';
        }

        .shamlock-arrow-down {
            color: var(--sham-red);
        }

        .shamlock-arrow-down::before {
            content: '▼';
        }

        .shamlock-arrow-same {
            color: var(--sham-muted);
            font-weight: 900;
        }

        .shamlock-arrow-same::before {
            content: '—';
        }

        /* SBR/EPR Gating Styles */
        .sbr-locked-tile .shamlock-epr-rank,
        .sbr-locked-tile .shamlock-epr-value {
            filter: blur(0);
            font-size: 1rem;
        }

        .sbr-gating-cta {
            grid-column: 1 / -1;
            text-align: center;
            padding: 20px;
            background: var(--sham-card);
            border-radius: var(--radius);
            margin-top: 15px;
        }

        .sbr-gating-cta p {
            color: var(--sham-dark);
            margin: 0 0 15px 0;
            font-size: 1rem;
        }

        .sbr-sample-tile {
            position: relative;
        }

        .sbr-sample-tile::after {
            content: 'Sample';
            position: absolute;
            top: 4px;
            right: 4px;
            background: var(--sham-gold);
            color: #000;
            font-size: 0.55rem;
            padding: 2px 4px;
            border-radius: 3px;
            font-weight: 600;
        }

        /* KPI Cards */
        .shamlock-kpis {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 20px;
            margin-bottom: 40px;
        }

        .shamlock-kpi-card {
            background: var(--sham-card);
            padding: 25px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            border-top: 3px solid var(--sham-green);
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 140px;
            text-align: center;
            position: relative;
        }

        .shamlock-kpi-title {
            font-size: 0.9rem;
            color: var(--sham-muted);
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* KPI Title - Show full on desktop, abbreviated on mobile */
        .shamlock-kpi-title .kpi-title-abbr {
            display: none;
        }

        @media (max-width: 768px) {
            .shamlock-kpi-title .kpi-title-full {
                display: none;
            }
            .shamlock-kpi-title .kpi-title-abbr {
                display: inline;
            }
        }

        .shamlock-kpi-value {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--sham-green);
            margin-bottom: 5px;
        }
        /* Red color for percentages under 50% (2025-11-06) */
        .shamlock-kpi-value.kpi-under-50 {
            color: #dc3545;
        }

        .shamlock-kpi-sublabel {
            font-size: 0.65rem;
            color: var(--sham-muted);
            margin-top: -6px;
            cursor: help;
        }

        .shamlock-kpi-sublabel[title] {
            border-bottom: 1px dotted var(--sham-muted);
        }

        .shamlock-kpi-record {
            font-size: 1rem;
            color: var(--sham-text);
            margin-top: auto;
        }

        /* History Section */
        .shamlock-history-container {
            background: var(--sham-card);
            padding: 30px;
            margin-bottom: 40px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }

        .shamlock-history-toggle {
            background: var(--sham-green);
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 6px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            margin: 0 auto 20px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: block;
        }

        .shamlock-history-toggle:hover {
            background: var(--sham-green-hover);
        }

        .shamlock-history-panel {
            display: none;
        }

        .shamlock-history-panel.active {
            display: block;
        }

        .shamlock-history-filters {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .shamlock-history-search {
            flex: 1;
            min-width: 200px;
            padding: 8px 12px;
            border: 1px solid var(--sham-line);
            border-radius: 4px;
        }

        .shamlock-history-table {
            width: 100%;
            border-collapse: collapse;
        }

        .shamlock-history-table thead {
            background: var(--sham-bg);
        }

        .shamlock-history-table th {
            padding: 12px;
            text-align: left;
            font-weight: 600;
            color: var(--sham-dark);
            border-bottom: 2px solid var(--sham-line);
        }

        .shamlock-history-table td {
            padding: 12px;
            border-bottom: 1px solid var(--sham-line);
        }

        .shamlock-history-table tr {
            cursor: pointer;
        }

        .shamlock-history-table tr:hover {
            background: var(--sham-bg);
        }

        /* Modal */
        .shamlock-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

        .shamlock-modal.active {
            display: flex;
        }

        .shamlock-modal-content {
            background: var(--sham-card);
            padding: 30px;
            border-radius: var(--radius);
            max-width: 600px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
        }

        .shamlock-modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            cursor: pointer;
            background: none;
            border: none;
            color: var(--sham-muted);
        }

        .shamlock-modal-close:hover {
            color: var(--sham-dark);
        }

        /* Locked Pick Modal (Premium CTA) */
        .shamlock-locked-modal {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 40px 20px;
        }

        .shamlock-locked-modal .locked-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }

        .shamlock-locked-modal h2 {
            color: var(--sham-gold);
            margin: 0 0 15px 0;
            font-size: 1.5rem;
        }

        .shamlock-locked-modal .locked-message {
            font-size: 1.1rem;
            color: var(--sham-dark);
            margin: 0 0 10px 0;
        }

        .shamlock-locked-modal .locked-submessage {
            color: var(--sham-muted);
            margin: 0 0 25px 0;
            font-size: 0.95rem;
        }

        .shamlock-upgrade-btn {
            display: inline-block;
            background: var(--sham-gold);
            color: #000;
            font-weight: 600;
            padding: 12px 30px;
            border-radius: 6px;
            text-decoration: none;
            transition: all 0.2s;
        }

        .shamlock-upgrade-btn:hover {
            background: var(--sham-gold-muted, #bfa76a);
            transform: translateY(-2px);
        }

        .locked-free-option {
            margin-top: 16px;
            font-size: 0.875rem;
            color: #6b7280;
        }

        .locked-free-option a {
            color: #16a34a;
            font-weight: 600;
            text-decoration: none;
        }

        .locked-free-option a:hover {
            text-decoration: underline;
        }

        .nba-modal-signup-cta {
            text-align: center;
            padding: 10px 16px;
            margin: 0 0 12px 0;
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            border-radius: 8px;
            font-size: 0.875rem;
            color: #374151;
        }

        .nba-modal-signup-cta a {
            color: #16a34a;
            font-weight: 600;
            text-decoration: none;
        }

        .nba-modal-signup-cta a:hover {
            text-decoration: underline;
        }

        /* Loading States */
        .shamlock-loading {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 60px 20px;
        }

        .shamlock-spinner {
            width: 40px;
            height: 40px;
            border: 4px solid var(--sham-line);
            border-top-color: var(--sham-green);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Member Gate */
        .shamlock-member-gate {
            background: var(--sham-card);
            padding: 60px 30px;
            text-align: center;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            margin: 40px auto;
            max-width: 600px;
        }

        .shamlock-member-gate h3 {
            color: var(--sham-dark);
            margin-bottom: 20px;
        }

        .shamlock-member-gate p {
            color: var(--sham-text);
            margin-bottom: 30px;
        }

        .shamlock-btn-primary {
            background: var(--sham-green);
            color: white;
            padding: 12px 30px;
            border: none;
            border-radius: 6px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .shamlock-btn-primary:hover {
            background: var(--sham-green-hover);
        }

        /* Empty State */
        .shamlock-empty-state {
            text-align: center;
            padding: 60px 20px;
            color: var(--sham-muted);
        }

        .shamlock-empty-icon {
            font-size: 3rem;
            margin-bottom: 20px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .shamlock-container {
                padding: 10px;
            }

            .shamlock-header h1 {
                font-size: 1.5rem;
            }

            .shamlock-filters {
                flex-direction: column;
                align-items: stretch;
            }

            .shamlock-filter-control input {
                width: 100%;
            }

            .shamlock-potw-badge {
                position: static;
                display: block;
                margin: 0 auto 20px;
                width: fit-content;
            }

            .shamlock-potw-brand {
                display: none;
            }

            .shamlock-potw-content {
                padding-top: 0;
            }

            .shamlock-potw-matchup {
                gap: 20px;
                padding: 0;
            }

            .shamlock-potw-predicted-score {
                font-size: 1.4rem;
                flex-direction: row;
                gap: 12px;
                justify-content: center;
            }

            .shamlock-potw-score-away,
            .shamlock-potw-score-home {
                margin: 0;
            }

            .shamlock-potw-info {
                grid-template-columns: 1fr 1fr;
            }

            .shamlock-picks-table-container {
                display: none;
            }

            .shamlock-mobile-cards {
                display: block;
            }

            .shamlock-kpis {
                grid-template-columns: repeat(3, 1fr);
            }

            .shamlock-epr-grid {
                grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
            }
        }

        /* Print Styles */
        @media print {
            .shamlock-filters,
            .shamlock-history-toggle,
            .shamlock-modal,
            .shamlock-mobile-cards {
                display: none !important;
            }

            body {
                background: white;
            }

            .shamlock-container {
                max-width: 100%;
            }

            .shamlock-picks-table-container {
                display: block !important;
            }
        }

        /* Accessibility */
        .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        :focus-visible {
            outline: 2px solid var(--sham-green);
            outline-offset: 2px;
        }

        /* Historical Records Expansion */
        .shamlock-history-detail {
            background-color: var(--sham-bg);
        }

        .shamlock-history-detail-content {
            padding: 20px;
        }

        .shamlock-season-detail-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 12px;
        }

        .shamlock-detail-pick {
            padding: 12px;
            border-radius: var(--radius);
            background: white;
            border-left: 4px solid var(--sham-muted);
            font-size: 14px;
        }

        .shamlock-detail-pick.win {
            border-left-color: var(--sham-green);
        }

        .shamlock-detail-pick.loss {
            border-left-color: var(--sham-red);
        }

        .shamlock-detail-pick.push {
            border-left-color: var(--sham-gold);
        }

        .shamlock-detail-matchup {
            font-weight: 600;
            margin-bottom: 6px;
            color: var(--sham-dark);
        }

        .shamlock-detail-pick-text {
            margin-bottom: 6px;
            color: var(--sham-text);
        }

        .shamlock-detail-confidence {
            margin-bottom: 6px;
        }

        .shamlock-detail-result {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 6px;
        }

        .shamlock-detail-pick.win .shamlock-detail-result {
            background-color: rgba(22, 163, 74, 0.1);
            color: var(--sham-green);
        }

        .shamlock-detail-pick.loss .shamlock-detail-result {
            background-color: rgba(220, 38, 38, 0.1);
            color: var(--sham-red);
        }

        .shamlock-detail-pick.push .shamlock-detail-result {
            background-color: rgba(214, 178, 94, 0.1);
            color: var(--sham-gold);
        }

        .shamlock-detail-score {
            font-size: 12px;
            color: var(--sham-muted);
        }

        .shamlock-expand-btn {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 16px;
            padding: 4px 8px;
            transition: transform 0.2s;
            color: var(--sham-text);
        }

        .shamlock-expand-btn:hover {
            transform: scale(1.2);
            color: var(--sham-green);
        }

        @media (max-width: 768px) {
            .shamlock-season-detail-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Table Width and Column Sizing */
        .shamlock-picks-table {
            width: 100% !important;
            table-layout: auto !important;
        }

        .shamlock-picks-table th,
        .shamlock-picks-table td {
            padding: 12px 16px !important;
        }

        /* Time Column */
        .shamlock-picks-table .col-time {
            width: 100px !important;
            white-space: nowrap !important;
        }

        /* Game Column - Teams in horizontal line with stacked logos */
        .shamlock-picks-table .col-game {
            min-width: 180px !important;
        }

        .shamlock-picks-table .shamlock-game-matchup {
            display: flex !important;
            align-items: center !important;
            gap: 8px !important;
            flex-wrap: nowrap !important;
        }

        .shamlock-picks-table .shamlock-team {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            gap: 4px !important;
        }

        .shamlock-picks-table .shamlock-team-logo {
            width: calc(26.4px * 1.35) !important;
            height: calc(26.4px * 1.35) !important;
            object-fit: contain !important;
        }

        .shamlock-picks-table .shamlock-team-code {
            font-size: calc(0.875rem * 0.9) !important;
        }

        .shamlock-picks-table .shamlock-at {
            color: #6b7280 !important;
            font-size: 0.875rem !important;
        }

        /* Spread Confidence Column Header Styling */
        .shamlock-picks-table th.col-confidence-header {
            position: relative;
            padding-top: 22px !important; /* Extra space for stacked "Spread" label */
        }

        .shamlock-picks-table th.col-confidence-header .ats-label {
            position: absolute;
            top: 3px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.7rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #ffffff;
            opacity: 1;
            line-height: 1;
            text-shadow: 0 1px 1px rgba(0,0,0,0.2);
        }

        /* Force all headers to align vertically centered */
        .shamlock-picks-table thead th {
            vertical-align: middle !important;
        }

        /* Tighten Time column */
        .shamlock-picks-table .col-time {
            width: 70px !important;
            min-width: 70px !important;
            white-space: nowrap !important;
        }

        /* Column Headers - Different color from day banners */
        .shamlock-picks-table thead th {
            background-color: var(--sham-green, #16a34a) !important;
            color: white !important;
            font-weight: 700 !important;
            padding: 14px 16px !important;
            text-align: center !important;
            border-bottom: 2px solid #047857 !important;
        }

        /* Bold text in rows except Time and Weather */
        .shamlock-picks-table tbody td {
            font-weight: 700 !important;
        }

        .shamlock-picks-table tbody .col-time,
        .shamlock-picks-table tbody .col-weather {
            font-weight: 400 !important;
        }

        /* O/U Color - Green for Over, Red for Under */
        .shamlock-picks-table .ou-over {
            color: var(--sham-green, #16a34a) !important;
            font-weight: 700 !important;
        }

        .shamlock-picks-table .ou-under {
            color: #dc2626 !important;
            font-weight: 700 !important;
        }

        /* Center text with logos vertically */
        .shamlock-picks-table tbody td {
            vertical-align: middle !important;
        }

        .shamlock-picks-table img {
            vertical-align: middle !important;
        }

        /* Make Table Rows Clickable (NFL only - basketball has no modal) */
        .shamlock-picks-table tbody tr {
            cursor: pointer !important;
            transition: background-color 0.15s ease !important;
        }

        /* Basketball sports: disable clickable cursor (no modal) */
        .sport-ncaam .shamlock-picks-table tbody tr,
        .sport-nba .shamlock-picks-table tbody tr {
            cursor: default !important;
        }

        .shamlock-picks-table tbody tr:hover {
            background-color: #f3f4f6 !important;
        }

        /* Day Header Rows */
        .shamlock-picks-table tr.day-header-row {
            background: transparent !important;
        }

        .shamlock-picks-table tr.day-header-row td.day-header {
            padding: 16px 20px !important;
            font-weight: 700 !important;
            font-size: 0.95rem !important;
            text-align: left !important;
            color: #374151 !important;
            background: #f9fafb !important;
            border-top: 2px solid #16a34a !important;
            border-bottom: 1px solid #e5e7eb !important;
            letter-spacing: 0.05em !important;
        }

        .shamlock-picks-table tr.day-header-row:first-child td.day-header {
            border-top: none !important;
        }

        /* Gray Dividers Between Game Rows */
        .shamlock-picks-table {
            border-spacing: 0 !important;
            border-collapse: separate !important;
            background-color: #e5e7eb !important;
        }

        .shamlock-picks-table tbody tr {
            background-color: #ffffff !important;
        }

        .shamlock-picks-table tbody tr.game-row + tr.game-row td {
            border-top: 7.5px solid #e5e7eb !important;
        }

        /* POTW Row Styling */
        .shamlock-picks-table tbody tr.potw-row {
            background: #ffffff !important;
            border-left: 6px solid var(--sham-green, #16a34a) !important;
        }

        .shamlock-picks-table tbody tr.potw-row:hover {
            background: #f0fdf4 !important;
        }

        .shamlock-picks-table tbody tr.potw-row td:first-child {
            position: relative !important;
        }

        .shamlock-picks-table tbody tr.potw-row td:first-child::before {
            content: "☘️";
            font-size: 1.2em;
            position: absolute !important;
            top: 2px !important;
            left: 8px !important;
            z-index: 10 !important;
            filter: grayscale(0%) !important;
        }

        .shamlock-picks-table tbody tr.potw-row:hover td:first-child::before {
            filter: brightness(1.2) saturate(1.5) !important;
        }

        /* POTW Row Tooltip */
        .shamlock-picks-table tbody tr.potw-row td:first-child::after {
            content: "Shamlock's Pick of the Week";
            position: absolute;
            left: 20px;
            top: -5px;
            background: #1f2937;
            color: #fff;
            padding: 6px 10px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 500;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s, visibility 0.2s;
            z-index: 100;
            pointer-events: none;
        }

        .shamlock-picks-table tbody tr.potw-row td:first-child:hover::after {
            opacity: 1;
            visibility: visible;
        }

        /* Leprechaun's Gold Row Styling (5-star ATS picks) */
        /* Only show gold background on hover */
        .shamlock-picks-table tbody tr.leprechauns-gold-row {
            background: #ffffff !important;
        }

        .shamlock-picks-table tbody tr.leprechauns-gold-row:hover {
            background: #FFF8DC !important;
        }

        .shamlock-picks-table tbody tr.leprechauns-gold-row td:first-child {
            position: relative !important;
        }

        /* Gold icon only shows if NOT a POTW row (POTW takes priority) */
        .shamlock-picks-table tbody tr.leprechauns-gold-row:not(.potw-row) td:first-child::before {
            content: "";
            background-image: url('/wp-content/uploads/icons/pot_o_gold.png');
            background-size: contain;
            background-repeat: no-repeat;
            width: 20px;
            height: 20px;
            position: absolute !important;
            top: 2px !important;
            left: 8px !important;
            z-index: 10 !important;
        }

        .shamlock-picks-table tbody tr.leprechauns-gold-row:not(.potw-row):hover td:first-child::before {
            filter: brightness(1.1) saturate(1.2) !important;
        }

        /* Leprechaun's Gold Row Tooltip */
        .shamlock-picks-table tbody tr.leprechauns-gold-row:not(.potw-row) td:first-child::after {
            content: "Leprechaun's Gold - High Percentage ATS Win Rate";
            position: absolute;
            left: 20px;
            top: -5px;
            background: #1f2937;
            color: #fff;
            padding: 6px 10px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 500;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s, visibility 0.2s;
            z-index: 100;
            pointer-events: none;
        }

        .shamlock-picks-table tbody tr.leprechauns-gold-row:not(.potw-row) td:first-child:hover::after {
            opacity: 1;
            visibility: visible;
        }

        /* Fade Row Styling (1-star ATS picks - consider betting opposite) */
        /* Only show red background on hover */
        .shamlock-picks-table tbody tr.fade-row {
            background: #ffffff !important;
        }

        .shamlock-picks-table tbody tr.fade-row:hover {
            background: #fef2f2 !important;
        }

        .shamlock-picks-table tbody tr.fade-row td:first-child {
            position: relative !important;
        }

        /* Spilled pot icon only shows if NOT a POTW row and NOT a Gold row */
        .shamlock-picks-table tbody tr.fade-row:not(.potw-row):not(.leprechauns-gold-row) td:first-child::before {
            content: "";
            background-image: url('/wp-content/uploads/icons/spilled_pot_o_gold.png');
            background-size: contain;
            background-repeat: no-repeat;
            width: 32px;
            height: 32px;
            position: absolute !important;
            top: 0px !important;
            left: 4px !important;
            z-index: 10 !important;
        }

        .shamlock-picks-table tbody tr.fade-row:not(.potw-row):not(.leprechauns-gold-row):hover td:first-child::before {
            filter: brightness(1.1) !important;
        }

        /* Fade Row Tooltip */
        .shamlock-picks-table tbody tr.fade-row:not(.potw-row):not(.leprechauns-gold-row) td:first-child::after {
            content: "Fade Zone - Consider Betting The Opposite ATS";
            position: absolute;
            left: 20px;
            top: -5px;
            background: #1f2937;
            color: #fff;
            padding: 6px 10px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 500;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s, visibility 0.2s;
            z-index: 100;
            pointer-events: none;
        }

        .shamlock-picks-table tbody tr.fade-row:not(.potw-row):not(.leprechauns-gold-row) td:first-child:hover::after {
            opacity: 1;
            visibility: visible;
        }

        /* =============================================
           NCAABB Badge Alerts - Gambler's Christmas, Home Brew
           ============================================= */

        /* Gambler's Christmas Row - Light green shading */
        .shamlock-picks-table tbody tr.gamblers-christmas-row {
            background: #ecfdf5 !important; /* Light green */
            border-left: 6px solid var(--sham-green, #16a34a) !important;
        }

        .shamlock-picks-table tbody tr.gamblers-christmas-row:hover {
            background: #d1fae5 !important; /* Darker green on hover */
        }

        .shamlock-picks-table tbody tr.gamblers-christmas-row td:first-child {
            position: relative !important;
        }

        .shamlock-picks-table tbody tr.gamblers-christmas-row:not(.potw-row):not(.leprechauns-gold-row):not(.fade-row) td:first-child::before {
            content: "🎄";
            font-size: 1.2em;
            position: absolute !important;
            top: 2px !important;
            left: 8px !important;
            z-index: 10 !important;
        }

        .shamlock-picks-table tbody tr.gamblers-christmas-row:not(.potw-row):not(.leprechauns-gold-row):not(.fade-row) td:first-child::after {
            content: "Gambler's Christmas";
            position: absolute;
            left: 20px;
            top: -5px;
            background: #1f2937;
            color: #fff;
            padding: 6px 10px;
            border-radius: 4px;
            font-size: 0.75rem;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s, visibility 0.2s;
            z-index: 100;
            pointer-events: none;
        }

        .shamlock-picks-table tbody tr.gamblers-christmas-row:not(.potw-row):not(.leprechauns-gold-row):not(.fade-row) td:first-child:hover::after {
            opacity: 1;
            visibility: visible;
        }

        /* Home Brew Row */
        .shamlock-picks-table tbody tr.homebrew-row {
            background: #ffffff !important;
            border-left: 6px solid #d4a574 !important;
        }

        .shamlock-picks-table tbody tr.homebrew-row:hover {
            background: #fef7e7 !important;
        }

        .shamlock-picks-table tbody tr.homebrew-row td:first-child {
            position: relative !important;
        }

        .shamlock-picks-table tbody tr.homebrew-row:not(.potw-row):not(.leprechauns-gold-row):not(.fade-row):not(.gamblers-christmas-row) td:first-child::before {
            content: "🍺";
            font-size: 1.2em;
            position: absolute !important;
            top: 2px !important;
            left: 8px !important;
            z-index: 10 !important;
        }

        .shamlock-picks-table tbody tr.homebrew-row:not(.potw-row):not(.leprechauns-gold-row):not(.fade-row):not(.gamblers-christmas-row) td:first-child::after {
            content: "Home Brew";
            position: absolute;
            left: 20px;
            top: -5px;
            background: #1f2937;
            color: #fff;
            padding: 6px 10px;
            border-radius: 4px;
            font-size: 0.75rem;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s, visibility 0.2s;
            z-index: 100;
            pointer-events: none;
        }

        .shamlock-picks-table tbody tr.homebrew-row:not(.potw-row):not(.leprechauns-gold-row):not(.fade-row):not(.gamblers-christmas-row) td:first-child:hover::after {
            opacity: 1;
            visibility: visible;
        }

        /* =============================================
           Split Game Columns (Away | @ | Home)
           Logo stacked above team name, centered
           ============================================= */

        /* Away column - centered, stacked layout */
        .shamlock-picks-table .col-away {
            text-align: center !important;
            vertical-align: middle !important;
        }

        .shamlock-picks-table .col-away .team-cell-stacked {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            gap: 2px !important;
        }

        .shamlock-picks-table .col-away .team-cell-stacked .shamlock-team-code {
            font-size: 0.75rem !important;
            white-space: nowrap !important;
        }

        /* @ column - centered, minimal */
        .shamlock-picks-table .col-at {
            text-align: center !important;
            width: 16px !important;
            min-width: 16px !important;
            max-width: 16px !important;
            padding: 0 !important;
            color: #6b7280 !important;
            vertical-align: middle !important;
            font-size: 0.75rem !important;
        }

        /* Reduce table padding to prevent scrollbar */
        .shamlock-picks-table td {
            padding: 8px 6px !important;
        }

        .shamlock-picks-table th {
            padding: 10px 6px !important;
        }

        /* Home column - centered, stacked layout */
        .shamlock-picks-table .col-home {
            text-align: center !important;
            vertical-align: middle !important;
        }

        .shamlock-picks-table .col-home .team-cell-stacked {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            gap: 2px !important;
        }

        .shamlock-picks-table .col-home .team-cell-stacked .shamlock-team-code {
            font-size: 0.75rem !important;
            white-space: nowrap !important;
        }

        /* Game header spanning 3 columns */
        .shamlock-picks-table th.col-game-header {
            text-align: center !important;
        }

        /* =============================================
           Column Spacing - Balanced layout
           ============================================= */

        /* Predicted column */
        .shamlock-picks-table td.col-predicted,
        .shamlock-picks-table th.col-predicted {
            text-align: center !important;
            padding-right: 12px !important;
        }

        /* Margin column - needs space on both sides */
        .shamlock-picks-table td.col-margin,
        .shamlock-picks-table th.col-margin {
            text-align: center !important;
            padding-left: 8px !important;
            padding-right: 8px !important;
        }

        /* Pick column */
        .shamlock-picks-table td.col-pick,
        .shamlock-picks-table th.col-pick {
            text-align: center !important;
            padding-left: 8px !important;
        }

        /* Edge column */
        .shamlock-picks-table td.col-edge,
        .shamlock-picks-table th.col-edge {
            text-align: center !important;
            padding-left: 6px !important;
        }

        /* =============================================
           All Data Columns - No Wrap
           ============================================= */

        .shamlock-picks-table td {
            white-space: nowrap !important;
        }

        /* =============================================
           Moneyline Column (with badge positioning)
           ============================================= */

        .shamlock-picks-table .col-ml {
            text-align: center !important;
            min-width: 50px !important;
            font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace !important;
            position: relative !important;
        }

        .shamlock-picks-table td.col-ml .ml-cell {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            gap: 2px !important;
        }

        /* =============================================
           Total Column - Center aligned between headers
           ============================================= */

        .shamlock-picks-table td.col-total,
        .shamlock-picks-table th.col-total-header {
            text-align: center !important;
        }

        /* For NCAAM/NBA: Adjust Total column to visually center between Confidence and O/U */
        .sport-ncaam .shamlock-picks-table td.col-total,
        .sport-nba .shamlock-picks-table td.col-total,
        .sport-ncaam .shamlock-picks-table th.col-total-header,
        .sport-nba .shamlock-picks-table th.col-total-header {
            text-align: center !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

        /* =============================================
           O/U Column - Over above value, Under below value
           ============================================= */

        .shamlock-picks-table td.col-ou {
            position: relative !important;
            text-align: center !important;
        }

        .shamlock-picks-table td.col-ou .ou-cell {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            gap: 0 !important;
        }

        /* O/U Label (Over/Under text) - match other column fonts */
        .shamlock-picks-table td.col-ou .ou-label {
            font-size: 0.95rem !important;
            font-weight: 700 !important;
        }

        /* O/U Value (numeric) - match other column fonts */
        .shamlock-picks-table td.col-ou .ou-value {
            font-size: 0.95rem !important;
            font-weight: 700 !important;
        }

        .shamlock-picks-table td.col-ou .ou-cell.ou-over .ou-label {
            color: var(--sham-green, #16a34a) !important;
        }

        .shamlock-picks-table td.col-ou .ou-cell.ou-under .ou-label {
            color: #ef4444 !important;
        }

        /* Weather column - nudge right to center under header */
        .shamlock-picks-table td.col-weather {
            padding-left: 32px !important;
        }

        /* =============================================
           Confidence Columns - Left Aligned
           ============================================= */

        .shamlock-picks-table td.col-confidence {
            text-align: left !important;
            padding-left: 38px !important; /* Push stars right to center under "Spread/Confidence" header */
        }

        /* NCAAM/NBA: Confidence column - push stars further right */
        .sport-ncaam .shamlock-picks-table td.col-confidence,
        .sport-nba .shamlock-picks-table td.col-confidence {
            text-align: left !important;
            padding-left: 38px !important; /* Match NFL padding for centered stars */
        }

        .shamlock-picks-table td.col-ou-conf {
            text-align: left !important;
            padding-left: 16px !important; /* Push stars right to center under header */
        }

        /* NCAAM/NBA: O/U Confidence column - push stars further right */
        .sport-ncaam .shamlock-picks-table td.col-ou-conf,
        .sport-nba .shamlock-picks-table td.col-ou-conf {
            text-align: left !important;
            padding-left: 38px !important; /* Match ATS confidence padding */
        }

        /* =============================================
           Badge Icons (Leprechaun's Dog, Over The Limit)
           Positioned ABOVE the value like pot of gold
           ============================================= */

        .badge-leprechaun,
        .badge-overlimit {
            display: block !important;
            font-size: 1em;
            cursor: help;
            position: relative;
            line-height: 1;
        }

        /* Tooltip for Leprechaun's Dog (NFL) */
        .badge-leprechaun::after {
            content: "Leprechaun's Dog - High Moneyline Win Rate";
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 100%;
            margin-bottom: 4px;
            background: #1f2937;
            color: #fff;
            padding: 6px 10px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 500;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s, visibility 0.2s;
            z-index: 100;
            pointer-events: none;
        }

        .badge-leprechaun:hover::after {
            opacity: 1;
            visibility: visible;
        }

        /* Tooltip for Over The Limit */
        .badge-overlimit::after {
            content: "Over The Limit - High Over Total Win Rate";
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 100%;
            margin-bottom: 4px;
            background: #1f2937;
            color: #fff;
            padding: 6px 10px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 500;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s, visibility 0.2s;
            z-index: 100;
            pointer-events: none;
        }

        .badge-overlimit:hover::after {
            opacity: 1;
            visibility: visible;
        }

        /* =============================================
           Badge Row Shading
           Leprechaun's Dog (NFL), Shamlock's Dogs (NCAAM), Over The Limit: Gold shading
           Gambler's Christmas: Light green shading
           ============================================= */

        /* Leprechaun's Dog row (NFL) - gold shading on HOVER only */
        .shamlock-picks-table tbody tr.leprechaun-dog-row:hover {
            background: #fffbeb !important; /* Light gold on hover */
        }

        /* Shamlock's Dogs row (NCAAM) - gold shading on HOVER only */
        .shamlock-picks-table tbody tr.shamlocks-dogs-row:hover {
            background: #fffbeb !important; /* Light gold on hover */
        }

        /* Over The Limit row - gold shading on HOVER only */
        .shamlock-picks-table tbody tr.over-limit-row:hover {
            background: #fffbeb !important; /* Light gold on hover */
        }

        /* Home Brew row - gold shading on HOVER only */
        .shamlock-picks-table tbody tr.homebrew-row:hover {
            background: #fffbeb !important; /* Light gold on hover */
        }

        /* =============================================
           Mobile Card Badge Classes
           ============================================= */

        .shamlock-mobile-card.gamblers-christmas-card {
            border-left: 4px solid #c41e3a;
            border-top-color: #c41e3a;
        }

        .shamlock-mobile-card.gamblers-christmas-card::before {
            content: "🎄";
            position: absolute;
            top: 8px;
            right: 12px;
            font-size: 1.4em;
            z-index: 10;
        }

        .shamlock-mobile-card.homebrew-card {
            border-left: 4px solid #d4a574;
            border-top-color: #d4a574;
        }

        .shamlock-mobile-card.homebrew-card::before {
            content: "🍺";
            position: absolute;
            top: 8px;
            right: 12px;
            font-size: 1.4em;
            z-index: 10;
        }

        /* Final Game Rows */
        .shamlock-picks-table tr.game-row-final {
            opacity: 0.65;
        }

        /* Gray Background Spacing Between Sections */
        .shamlock-filters {
            background: #e5e7eb !important;
            padding: 20px !important;
            margin-bottom: 30px !important;
            border-radius: 8px !important;
        }

        .shamlock-picks-table-container {
            background: #ffffff !important;
            padding: 30px !important;
            margin-bottom: 10px !important;
            border-radius: 8px !important;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
            border-top: 3px solid var(--sham-green) !important;
        }

        .shamlock-epr-container {
            background: #ffffff !important;
            padding: 30px !important;
            margin-top: 30px !important;
            margin-bottom: 10px !important;
            border-radius: 8px !important;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
            border-top: 3px solid var(--sham-green) !important;
        }

/* ========================================
   v1.4.12: UI/LAYOUT FIXES - 2025-10-31
   ======================================== */

/* Fix #1: Reduce table header and row heights to match mockup */
html body .shamlock-picks-table-pro th {
    padding: 12px 0.75rem !important; /* Match mockup: 12px vertical */
    line-height: 1.2 !important;
}

html body .shamlock-picks-table-pro tbody td {
    padding: 12px 0.75rem !important; /* Match mockup: 12px all around */
    line-height: 1.2 !important;
}

/* Fix #2: Center all column headers and data */
html body .shamlock-picks-table-pro th,
html body .shamlock-picks-table-pro td {
    text-align: center !important;
}

/* Fix #3: EPR grid boxes - reduce height to make more square (match mockup) */
html body .shamlock-epr-team {
    padding: 10px !important; /* Match mockup: 10px instead of 32px 16px */
    gap: 8px !important; /* Reduce gap from 24px to 8px for tighter layout */
}

html body .shamlock-epr-grid {
    row-gap: 20px !important; /* Reduce from 50px to 20px */
}

/* Fix #4: Modal card layout - match mockup design (clean and simple) */
/* Modal header - center teams, remove heavy backgrounds */
html body .modal-matchup-header {
    display: block !important; /* Stack vertically like mockup */
    text-align: center !important;
    padding: 0 !important;
    background: transparent !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding-bottom: 20px !important;
    margin-bottom: 20px !important;
}

html body .modal-teams-left {
    display: flex !important;
    justify-content: center !important;
    gap: 40px !important; /* Match mockup spacing */
    margin-bottom: 20px !important;
}

html body .modal-team-block {
    gap: 12px !important; /* Match mockup */
}

html body .modal-weather-tile {
    margin: 0 !important;
    justify-content: center !important;
    max-width: fit-content !important;
    padding: 10px 20px !important;
    background: #f9fafb !important;
    border-radius: 12px !important;
}

/* Modal info grid - cleaner backgrounds */
html body .modal-info-grid {
    gap: 20px !important;
}

html body .modal-info-section {
    background: transparent !important; /* Remove gray background for cleaner look */
    padding: 0 !important;
}

html body .modal-info-section h3 {
    color: #16a34a !important;
    margin-bottom: 10px !important;
    margin-top: 0 !important;
    font-size: 1rem !important;
}

html body .modal-info-section p {
    margin: 8px 0 !important;
    line-height: 1.6 !important;
    color: #374151 !important;
}

html body .modal-divider {
    margin: 20px 0 !important;
    padding-top: 20px !important;
}

html body .modal-divider h3 {
    color: #16a34a !important;
    margin-bottom: 10px !important;
}

/* ========================================
   v1.3.1: ADDITIONAL UI FIXES - 2025-10-31
   ======================================== */

/* Fix: Center table headers (they were left-aligned) */
html body table thead th {
    text-align: center !important;
}

/* Fix: Increase logo size in Margin and Pick columns by 5% */
html body .margin-logo,
html body .pick-logo {
    width: 21px !important; /* Was 20px, now 5% larger */
    height: 21px !important;
    object-fit: contain !important;
}

/* Fix: Remove gray from filter selector - should be white */
html body .shamlock-snapshot-selector-pro {
    background: transparent !important;
    margin-bottom: 0 !important;
}

/* Fix: Add gray spacer container AFTER filter selector (before predictions grid) */
html body .shamlock-snapshot-selector-pro::after {
    content: '';
    display: block;
    background: #f3f4f6;
    height: 60px;
    width: 100%;
    margin-top: 20px;
}

/* Fix: Predictions table - no gray background */
html body .shamlock-picks-table-wrapper-pro {
    background: transparent !important;
    margin-bottom: 0 !important;
}

/* Fix: Add gray spacer container AFTER predictions table (before EPR grid) */
html body .shamlock-picks-table-wrapper-pro::after {
    content: '';
    display: block;
    background: #f3f4f6;
    height: 60px;
    width: 100%;
    margin-top: 40px;
}

/* Fix: EPR container - no gray background */
html body .shamlock-epr-container {
    background: transparent !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}


/* Gray spacer removed - EPR grid fixes below */


/* Fix: Enlarge non-Game column content by 8% (font + logos) */
html body .shamlock-picks-table tbody td:not(.col-game) {
    font-size: 1.08em !important;
}

html body .shamlock-picks-table tbody td:not(.col-game) img {
    width: calc(26.4px * 1.08) !important;
    height: calc(26.4px * 1.08) !important;
}

/* Fix: Center Game column content and reduce gap between teams */
html body .shamlock-picks-table .shamlock-game-matchup {
    justify-content: center !important;
    gap: 4px !important;
}

html body .shamlock-picks-table .col-game {
    text-align: center !important;
}

/* Fix: Center retractable roof icon inline with weather emoji */
html body .shamlock-picks-table .col-weather {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    vertical-align: middle !important;
}

html body .shamlock-picks-table .col-weather > div {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

html body .shamlock-picks-table .col-weather img {
    vertical-align: middle !important;
}

/* Fix: Center weather cells vertically */
html body .shamlock-picks-table tbody tr td.col-weather {
    vertical-align: middle !important;
}

/* Fix: Center Margin column logo and text vertically (using class instead of nth-child) */
html body .shamlock-picks-table tbody td.col-margin {
    vertical-align: middle !important;
}

html body .shamlock-picks-table tbody td.col-margin > div {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
}

/* Fix: Modal - stack logo ABOVE team name (currently side-by-side) */
html body .modal-team-block {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
}

html body .modal-team-block img {
    width: 64px !important;
    height: 64px !important;
}

html body .modal-team-block .team-abbr {
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* Fix: Widen modal for 2-column layout */
html body .shamlock-modal-content,
html body #shamlock-game-modal .shamlock-modal-content {
    max-width: 900px !important;
    width: 90% !important;
}

/* Fix: Make modal info grid actually horizontal (2 columns) */
html body .modal-info-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
}

/* Fix: Modal bold text to green */
html body .modal-info-section strong,
html body #shamlock-modal-body strong,
html body .shamlock-mobile-modal-content strong {
    color: #16a34a !important;
    font-weight: 700 !important;
}

/* Fix: Bold predicted scores in modal (keep black) */
html body .predicted-score-value {
    font-weight: 700 !important;
    color: #111827 !important;
}

/* Fix: POTW shamrock above time (top left corner) */
html body .potw-indicator {
    position: absolute !important;
    top: -8px !important;
    left: -8px !important;
    font-size: 20px !important;
}

/* ========================================
   v1.3.2: MAJOR UI FIXES - 2025-10-31
   ======================================== */

/* Fix: Center table data cells to match headers */
html body table tbody td {
    text-align: center !important;
}

/* Fix: Game column - reduce width and center content */
html body .shamlock-picks-table-pro .col-game {
    min-width: 120px !important;
    max-width: 150px !important;
}

/* Fix: Game team containers - better alignment */
html body .shamlock-team {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

/* Fix: Increase font sizes in table */
html body .shamlock-picks-table-pro tbody td {
    font-size: 15px !important;
}

/* Fix: Increase logo sizes in table rows */
html body .shamlock-picks-table-pro .shamlock-team-logo {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
}

/* Fix: POTW clover - stack vertically above time on left edge */
html body .potw-card-time {
    position: relative !important;
    padding-left: 0 !important;
}

html body .potw-card-time .potw-indicator {
    position: static !important;
    display: block !important;
    font-size: 24px !important;
    margin-bottom: 4px !important;
    text-align: left !important;
}

/* Fix: Modal - Reduce width (was 900px) */
html body .shamlock-modal-content,
html body #shamlock-game-modal .shamlock-modal-content {
    max-width: 700px !important;
    width: 85% !important;
}

/* Fix: Modal header - Teams left, Weather right (NFL modal only, not NBA .nba-modal) */
html body #shamlock-modal-body > div:first-child:not(.nba-modal) {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 16px !important;
    padding: 8px 0 !important;
    margin-right: -30px !important;
    padding-right: 30px !important;
}

html body .modal-matchup-header {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
}

/* Fix: Center @ symbol vertically in modal game header */
html body .modal-game-header .shamlock-at {
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
}

html body .modal-weather-tile {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    min-width: 180px !important;
}

/* Fix: Modal weather - center icon and temp */
html body .modal-weather-tile .weather-icon-large {
    font-size: 36px !important;
    text-align: center !important;
    margin-bottom: 8px !important;
    line-height: 1 !important;
}

html body .modal-weather-tile .weather-icon-large img[src*="stadium_dome"],
html body .modal-weather-tile .weather-icon-large img[src*="stadium_retrac"] {
    width: 64px !important;
    height: 64px !important;
    display: block !important;
    margin: 0 !important;
}

/* Center dome text */
html body .modal-weather-tile:has(img[src*="stadium_dome"]) .weather-line {
    text-align: center !important;
    justify-content: center !important;
}

html body .modal-weather-tile .weather-temp {
    font-size: 24px !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 8px !important;
}

html body .modal-weather-tile .weather-line {
    font-size: 14px !important;
    text-align: center !important;
    color: #6b7280 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Make first weather-line (Retractable Roof / Indoor Game) bold */
html body .modal-weather-tile .weather-line:first-of-type {
    font-weight: 700 !important;
}

/* Fix: Modal prediction scores inline and centered */
html body .predicted-score-display {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    margin-bottom: 16px !important;
}

html body .predicted-team-score {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
}

html body .predicted-score-display img,
html body .predicted-team-logo {
    display: block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

html body .predicted-score-value {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

html body .predicted-score-separator {
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

/* Fix: EPR Grid - Increase text size */
html body .shamlock-epr-grid .epr-card-rank {
    font-size: 16px !important;
}

html body .shamlock-epr-grid .epr-card-score {
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Fix: EPR Grid - Center delta arrow with number */
html body .shamlock-epr-grid .epr-card-delta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
}

/* POTW Card Fixes */
/* Fix: Add top green border to POTW card */
html body .shamlock-potw {
    border-top: 4px solid var(--sham-green) !important;
}

/* Fix: Bold team abbreviations in POTW card */
html body .shamlock-potw-city {
    font-weight: 700 !important;
}

/* Fix: Bold the tile labels */
html body .shamlock-potw-tile-label {
    font-weight: 700 !important;
}

/* Fix: Make tile values green */
html body .shamlock-potw-tile-value {
    color: var(--sham-green) !important;
}

/* Fix: Make confidence stars orange/gold */
html body .shamlock-confidence-stars .star.filled {
    color: #FF8C00 !important;
    font-weight: bold;
}

html body .shamlock-confidence-stars .star {
    color: #e5e7eb !important;
}

/* Table Weather Column Fix - Force vertical centering */
html body .shamlock-picks-table tbody tr td:nth-child(8) {
    vertical-align: middle !important;
}

html body .shamlock-picks-table tbody tr td:nth-child(8) > div {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
}

/* Table: Reduce spacing between logo and team abbreviation */
html body .shamlock-picks-table .shamlock-team {
    gap: 2px !important;
}

/* Remove borders from all game row cells (not day headers) */
html body .shamlock-picks-table tbody tr[data-game-id] td {
    border-bottom: none !important;
}

/* Weather column content vertical centering - calculated padding for perfect center */
html body .shamlock-picks-table tbody tr td.col-weather {
    vertical-align: middle !important;
    padding-top: 27px !important;
    padding-bottom: 16px !important;
    padding-left: 32px !important; /* Nudge right to center under header */
}

html body .shamlock-picks-table tbody tr td.col-weather .weather-chip,
html body .shamlock-picks-table tbody tr td.col-weather > * {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    vertical-align: middle !important;
}

/* Modal @ Symbol - CORRECTED selector */
html body .modal-at {
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 8px !important;
}

html body .modal-teams-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Modal: Weather line base styles */
html body .modal-weather-tile .weather-line {
    font-size: 0.9rem !important;
    color: #6b7280 !important;
}

/* Modal: Bold Retractable Roof text (3rd child after weather-icon-large and weather-temp) */
html body .modal-weather-tile .weather-line:nth-child(3) {
    font-weight: 700 !important;
}

/* ==================================================
   EPR GRID REDESIGN - 8 tiles per row, larger, square
   ================================================== */

/* EPR Grid: 8 tiles per row with proper spacing */
html body .shamlock-epr-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    justify-items: center !important;
}

/* EPR Tiles: Widen to make more square, enlarge fonts */
html body .shamlock-epr-team {
    width: auto !important;
    aspect-ratio: 1 / 1 !important;
    max-height: 200px !important;
    padding: 12px !important;
    gap: 12px !important;
}

/* EPR Rank: Enlarge font */
html body .shamlock-epr-rank {
    font-size: 1rem !important;
    font-weight: 700 !important;
}

/* EPR Value: Enlarge font */
html body .shamlock-epr-value {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
}

/* EPR Delta: Center arrows with text inline, enlarge font */
html body .shamlock-epr-delta {
    font-size: 0.85rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    line-height: 1 !important;
}

/* EPR Arrow: Ensure perfect vertical alignment */
html body .shamlock-arrow {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

/* Season Performance: Add top margin for spacing */
html body .shamlock-season-performance {
    margin-top: 60px !important;
}

/* Responsive: Adjust grid columns for smaller screens */
@media (max-width: 1200px) {
    html body .shamlock-epr-grid {
        grid-template-columns: repeat(6, 1fr) !important;
    }
}

@media (max-width: 900px) {
    html body .shamlock-epr-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 600px) {
    html body .shamlock-epr-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Season Performance: Streak styling */
html body .shamlock-kpi-streak {
    font-size: 0.85rem !important;
    color: var(--sham-muted) !important;
    margin-top: 8px !important;
}



/* EPR Value: Add EPR: prefix label */
html body .shamlock-epr-value::before {
    content: 'EPR: ' !important;
    font-weight: 400 !important;
}

/* Picks Table: Reduce bottom margin for spacing before EPR */
html body .shamlock-picks-table {
    margin-bottom: 10px !important;
}

/* Picks Table Container: Reduce bottom padding and margin to match EPR spacing */
html body .shamlock-picks-table-container {
    padding-bottom: 0px !important;
    margin-bottom: 10px !important;
}

/* EPR Container: Add top margin for spacing from predictions table */
html body .shamlock-epr-container {
    margin-top: 60px !important;
}

/* EPR Section Title: Increase top padding (heading too tight to container border) */
html body .shamlock-epr-container .section-title {
    padding-top: 10px !important;
}

/* EPR Tiles: Increase logo size to fill tiles better */
html body .shamlock-epr-logo {
    width: 60px !important;
    height: 60px !important;
}

/* EPR Tiles: Increase rank text size */
html body .shamlock-epr-rank {
    font-size: 1.2rem !important;
}

/* EPR Tiles: Increase value text size */
html body .shamlock-epr-value {
    font-size: 1.1rem !important;
}

/* Historical Records Section */
html body .shamlock-history-container {
    background: var(--sham-card);
    padding: 30px;
    margin-bottom: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

html body .shamlock-history-toggle {
    background: var(--sham-green);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin: 0 auto 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    transition: background 0.2s;
}

html body .shamlock-history-toggle:hover {
    background: var(--sham-green-hover);
}

html body .shamlock-history-panel {
    display: none;
}

html body .shamlock-history-panel.active {
    display: block;
}

html body .shamlock-history-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

html body .shamlock-history-search {
    flex: 1;
    min-width: 200px;
    padding: 8px 12px;
    border: 1px solid var(--sham-line);
    border-radius: 4px;
    font-size: 0.95rem;
}

html body #seasonSelect,
html body #historyWeekSelect {
    display: none; /* Hidden for football - useful for basketball seasons */
    padding: 8px 12px;
    border: 1px solid var(--sham-line);
    border-radius: 4px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
}

html body .shamlock-history-table {
    width: 100%;
    border-collapse: collapse;
}

html body .shamlock-history-table thead {
    background: var(--sham-bg);
}

html body .shamlock-history-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: var(--sham-dark);
    border-bottom: 2px solid var(--sham-line);
}

html body .shamlock-history-table td {
    padding: 12px;
    border-bottom: 1px solid var(--sham-line);
}

html body .shamlock-history-table tr {
    cursor: pointer;
    transition: background 0.2s;
}

html body .shamlock-history-table tr:hover {
    background: var(--sham-bg);
}

/* History week detail back button */
html body .shamlock-history-back {
    background: var(--sham-green);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 0.9rem;
    transition: background 0.2s;
}

html body .shamlock-history-back:hover {
    background: var(--sham-green-hover);
}

/* ========================================
   MOBILE RESPONSIVE FIXES
   ======================================== */

@media (max-width: 768px) {
    /* 1. Main Picks Table - Reduce Logo Size */
    html body .shamlock-picks-table .shamlock-team-logo {
        width: 32px !important;
        height: 32px !important;
        object-fit: contain !important;
    }

    /* POTW Logo Size */
    html body .shamlock-potw-logo {
        width: 48px !important;
        height: 48px !important;
    }

    /* 2. Season Performance Cards - Stack Vertically (2 columns) */
    html body .shamlock-kpis {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    /* 3. EPR Rankings - Reduce columns for better mobile fit */
    html body .shamlock-epr-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* 4. Historical Records - Season Summary Table - Horizontal scroll */
    html body .shamlock-history-table-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    html body .shamlock-history-table {
        font-size: 0.75rem !important;
        min-width: 500px !important;
    }

    html body .shamlock-history-table th,
    html body .shamlock-history-table td {
        padding: 8px 6px !important;
        white-space: nowrap !important;
    }

    /* 5. Historical Records - Detail Table - Horizontal scroll (no sticky columns) */
    html body .shamlock-history-detail-content {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    html body .shamlock-history-detail-content table {
        font-size: 0.75rem !important;
        min-width: 600px !important;
    }

    html body .shamlock-history-detail-content table th,
    html body .shamlock-history-detail-content table td {
        padding: 8px 6px !important;
        white-space: nowrap !important;
    }

    /* Detail table team logos - fixed size */
    html body .shamlock-history-detail-content .shamlock-team-logo,
    html body .shamlock-history-detail-content img[src*="team-logos"],
    html body .shamlock-history-detail-content table td img {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        flex-shrink: 0 !important;
    }

    /* 6. Historical Records - Controls - Stack vertically */
    html body .shamlock-history-controls {
        flex-direction: column !important;
        gap: 10px !important;
    }

    html body .shamlock-history-controls input,
    html body .shamlock-history-controls select {
        width: 100% !important;
    }

    /* 7. Fix History Toggle Button Width */
    html body .shamlock-history-toggle {
        width: 100% !important;
        padding: 15px !important;
        font-size: 1rem !important;
    }
}

/* ============================================
   INJURY REPORT STYLES (Modal)
   ============================================ */

.injury-team-section {
    margin-bottom: 16px;
}

.injury-team-section:last-child {
    margin-bottom: 0;
}

.injury-team-header {
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.injury-status-group {
    margin-bottom: 12px;
}

.injury-status-group:last-child {
    margin-bottom: 0;
}

.injury-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    padding: 4px 0;
}

.injury-status-badge.out {
    color: #ef4444;
}

.injury-status-badge.doubtful {
    color: #f59e0b;
}

.injury-status-badge.questionable {
    color: #eab308;
}

.injury-player-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0 20px;
}

.injury-player-item {
    padding: 6px 0;
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
}

.injury-player-item .player-name {
    font-weight: 500;
    color: #111827;
}

.injury-player-item .body-part {
    color: #9ca3af;
    font-size: 13px;
}

.no-injuries {
    color: #6b7280;
    font-style: italic;
    font-size: 14px;
    padding: 8px 0;
}

.injury-divider {
    height: 1px;
    background: #374151;
    margin: 12px 0;
}

/* ===========================================
   MEMBERSHIP GATING - LOCKED FIELD STYLING
   =========================================== */

/* Locked field container */
.locked-field {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Shamrock lock icon - grayscale to indicate locked state */
.locked-field-icon {
    width: 16px;
    height: 16px;
    filter: grayscale(100%) opacity(0.5);
    vertical-align: middle;
}

/* Hover effect to hint at premium content */
.locked-field:hover .locked-field-icon {
    filter: grayscale(50%) opacity(0.7);
    cursor: pointer;
}

/* Optional: blur effect for premium content preview */
.locked-field-blur {
    filter: blur(4px);
    user-select: none;
}

/* Inline upgrade CTA (for future use) */
.upgrade-cta-inline {
    color: var(--sham-green, #16a34a);
    font-size: 0.75rem;
    cursor: pointer;
}
.upgrade-cta-inline:hover {
    text-decoration: underline;
}

/* Upgrade modal prompt styling */
.upgrade-prompt {
    text-align: center;
    padding: 2rem;
}

.upgrade-prompt-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    filter: grayscale(100%) opacity(0.6);
}

.upgrade-prompt h2 {
    margin-bottom: 0.5rem;
    color: #f3f4f6;
}

.upgrade-prompt p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.upgrade-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--sham-green, #16a34a);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
}

.upgrade-button:hover {
    background: var(--sham-green-hover, #15803d);
    color: white;
    text-decoration: none;
}

/* Table cell locked styling */
.shamlock-picks-table td .locked-field {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 24px;
}

/* Mobile card locked field styling */
.shamlock-mobile-card .locked-field {
    display: inline-flex;
}

.shamlock-mobile-card .locked-field-icon {
    width: 20px;
    height: 20px;
}

/* ============================================
   SCHEDULE HEADER ROW WITH HISTORY LINK
   ============================================ */

.schedule-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 0;
}

.schedule-header-row .page-title {
    margin-bottom: 0;
}

.history-page-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--sham-green) 0%, #1a6b3a 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.history-page-link:hover {
    background: linear-gradient(135deg, #1a6b3a 0%, var(--sham-green) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    color: white;
    text-decoration: none;
}

.history-page-link .link-arrow {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.history-page-link:hover .link-arrow {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .schedule-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .history-page-link {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}

/* ===========================================
   PICKER'S EDGE WIDGET
   =========================================== */

.pickers-edge-widget {
    margin: 16px 0;
    background: var(--sham-card, #ffffff);
    border-radius: var(--radius, 8px);
    border: 1px solid var(--sham-line, #e5e7eb);
    box-shadow: var(--shadow, 0 1px 3px rgba(0,0,0,0.1));
    overflow: hidden;
}

.pickers-edge-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pickers-edge-header:hover {
    background: rgba(0, 0, 0, 0.02);
}

.pickers-edge-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--sham-dark, #1f2937);
}

.pickers-edge-title .accent {
    color: var(--sham-green, #16a34a);
}

.pickers-edge-toggle-icon {
    font-size: 16px;
    font-weight: 400;
    color: var(--sham-muted, #6b7280);
    margin-left: 10px;
}

.pickers-edge-content {
    padding: 16px;
}

.pickers-edge-season {
    font-size: 11px;
    color: var(--sham-muted, #6b7280);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pickers-edge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.pickers-edge-column {
    background: var(--sham-bg, #f9fafb);
    border-radius: 6px;
    padding: 10px;
    border: 1px solid var(--sham-line, #e5e7eb);
}

.pickers-edge-column-header {
    font-size: 11px;
    font-weight: 700;
    color: var(--sham-green, #16a34a);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--sham-line, #e5e7eb);
}

.pickers-edge-column-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pickers-edge-team {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 4px 0;
}

.pickers-edge-team-name {
    flex: 1;
    color: var(--sham-dark, #1f2937);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pickers-edge-record {
    color: var(--sham-muted, #6b7280);
    font-size: 11px;
    min-width: 36px;
    text-align: center;
}

.pickers-edge-pct {
    font-weight: 600;
    min-width: 32px;
    text-align: right;
    color: var(--sham-text, #374151);
}

.pickers-edge-pct.pct-good {
    color: var(--sham-green, #16a34a);
}

.pickers-edge-pct.pct-ok {
    color: #ca8a04;
}

.pickers-edge-pct.pct-bad {
    color: var(--sham-red, #dc2626);
}

.pickers-edge-pct.pct-warning {
    color: #ea580c;
}

/* Tier 2 teams (smaller sample) - muted styling */
.pickers-edge-team.pickers-edge-tier2 {
    opacity: 0.65;
    font-size: 11px;
}

.pickers-edge-team.pickers-edge-tier2 .pickers-edge-team-name {
    font-style: italic;
}

.pickers-edge-empty-category {
    color: var(--sham-muted, #6b7280);
    font-size: 12px;
    text-align: center;
    padding: 8px 0;
}

.pickers-edge-empty,
.pickers-edge-error {
    color: var(--sham-muted, #6b7280);
    font-size: 13px;
    text-align: center;
    padding: 20px;
}

.pickers-edge-loading {
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* Mobile: Stack columns 2x2 */
@media (max-width: 768px) {
    .pickers-edge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .pickers-edge-column {
        padding: 8px;
    }

    .pickers-edge-team {
        font-size: 11px;
    }

    .pickers-edge-record {
        font-size: 10px;
        min-width: 30px;
    }

    .pickers-edge-pct {
        min-width: 28px;
        font-size: 11px;
    }
}

/* Very small screens: Single column */
@media (max-width: 480px) {
    .pickers-edge-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   NBA SBR Logo Grid (on picks page)
   ============================================ */
.nba-logo-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 12px 14px 12px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    position: relative;
    min-height: 132px;
}

.logo-grid-item .sbr-rank {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    background: var(--sham-green, #16a34a);
    padding: 3px 6px;
    border-radius: 4px;
    line-height: 1;
}

.logo-grid-item .sbr-rank.sbr-locked {
    background: transparent;
    padding: 2px;
}

a.logo-grid-link { text-decoration: none; color: inherit; }

.logo-grid-item:hover {
    background: #f0fdf4;
    border-color: var(--sham-green, #16a34a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

.logo-grid-item img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    margin-bottom: 10px;
}

.logo-grid-item .team-abbr {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    text-align: center;
    margin-bottom: 4px;
}

.logo-grid-item .sbr-value {
    font-size: 11px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    text-align: center;
}

.logo-grid-item .sbr-value.sbr-positive {
    color: var(--sham-green, #16a34a);
}

.logo-grid-item .sbr-value.sbr-negative {
    color: var(--sham-red, #dc2626);
}

/* SBR Delta row (NFL arrow style) */
.logo-grid-item .sbr-delta-row {
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-top: 2px;
    min-height: 14px;
}

.logo-grid-item .shamlock-arrow {
    display: inline-block;
}

.logo-grid-item .shamlock-arrow-up {
    color: var(--sham-green, #16a34a);
}

.logo-grid-item .shamlock-arrow-up::before {
    content: '▲';
}

.logo-grid-item .shamlock-arrow-down {
    color: var(--sham-red, #dc2626);
}

.logo-grid-item .shamlock-arrow-down::before {
    content: '▼';
}

.logo-grid-item .shamlock-arrow-same {
    color: var(--sham-muted, #6b7280);
}

.logo-grid-item .shamlock-arrow-same::before {
    content: '—';
}

/* Responsive for NBA grid on picks page */
@media (max-width: 1024px) {
    .nba-logo-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 10px;
    }
    .logo-grid-item {
        padding: 16px 10px 12px 10px;
        min-height: 110px;
    }
    .logo-grid-item img {
        width: 55px;
        height: 55px;
    }
    .logo-grid-item .team-abbr { font-size: 11px; }
    .logo-grid-item .sbr-value { font-size: 10px; }
}

@media (max-width: 768px) {
    .nba-logo-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }
    .logo-grid-item {
        padding: 14px 8px 10px 8px;
        min-height: 100px;
    }
    .logo-grid-item img {
        width: 48px;
        height: 48px;
    }
    .logo-grid-item .team-abbr { font-size: 10px; }
    .logo-grid-item .sbr-value { font-size: 9px; }
    .logo-grid-item .sbr-rank {
        font-size: 10px;
        padding: 2px 5px;
    }
}

@media (max-width: 480px) {
    .nba-logo-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
    }
    .logo-grid-item {
        padding: 12px 6px 8px 6px;
        min-height: 88px;
    }
    .logo-grid-item img {
        width: 40px;
        height: 40px;
        margin-bottom: 6px;
    }
    .logo-grid-item .team-abbr { font-size: 9px; }
    .logo-grid-item .sbr-value { font-size: 8px; }
    .logo-grid-item .sbr-rank {
        font-size: 9px;
        padding: 2px 4px;
        top: 4px;
        left: 4px;
    }
}

/* ==========================================================================
   PREMIUM FILTER GATING
   Blur and CTA overlay when non-member filters for 4-5 star picks
   Per gating spec v2
   ========================================================================== */

/* Blur effect on table and mobile cards */
.premium-blur {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

/* Overlay container */
.premium-filter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    z-index: 100;
    border-radius: var(--radius);
}

/* CTA card */
.premium-filter-cta {
    background: var(--sham-card);
    padding: 40px 50px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 400px;
    margin: 20px;
}

.premium-filter-cta .cta-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
}

.premium-filter-cta h3 {
    color: var(--sham-dark);
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.premium-filter-cta p {
    color: var(--sham-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.premium-filter-cta .cta-button {
    display: inline-block;
    background: var(--sham-green);
    color: #fff;
    padding: 12px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.premium-filter-cta .cta-button:hover {
    background: var(--sham-green-hover);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .premium-filter-cta {
        padding: 30px 24px;
        margin: 16px;
    }

    .premium-filter-cta .cta-logo {
        width: 48px;
        height: 48px;
    }

    .premium-filter-cta h3 {
        font-size: 1.1rem;
    }

    .premium-filter-cta p {
        font-size: 0.9rem;
    }

    .premium-filter-cta .cta-button {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   SBR/EPR RANKINGS SAMPLE TILES
   Highlight sample tiles that show full data for non-members
   Per gating spec v2: "Randomize 3-4 teams to show full tile with real data"
   ========================================================================== */

/* Sample tiles for non-members - subtle highlight to show what premium looks like */
.logo-grid-item.sbr-sample-tile {
    border: 2px solid var(--sham-green);
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.08) 0%, rgba(22, 163, 74, 0.02) 100%);
    position: relative;
}

.logo-grid-item.sbr-sample-tile::after {
    content: 'Sample';
    position: absolute;
    bottom: 4px;
    right: 4px;
    font-size: 8px;
    color: var(--sham-green);
    background: rgba(255, 255, 255, 0.9);
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ============================================
   NBA Game Modal Styles
   ============================================ */

.nba-modal {
    padding: 0;
}

/* Header: Away @ Home with logos */
.nba-modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.nba-modal-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.nba-modal-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.nba-modal-team-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    max-width: 140px;
    line-height: 1.3;
}
.nba-modal-mascot {
    font-weight: 700;
    font-size: 0.875rem;
}

.nba-modal-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.nba-modal-at {
    font-size: 1rem;
    font-weight: 700;
    color: #9ca3af;
}

.nba-modal-tipoff {
    font-size: 0.6875rem;
    color: #6b7280;
    white-space: nowrap;
}

/* Sections */
.nba-modal-section {
    margin-bottom: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f3f4f6;
}

.nba-modal-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.nba-modal-section h3 {
    color: #16a34a;
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* SBR Analysis Grid */
.nba-modal-sbr-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nba-modal-sbr-item,
.nba-modal-sbr-edge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nba-modal-sbr-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.nba-modal-sbr-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
}

.nba-modal-sbr-value {
    font-size: 1rem;
    font-weight: 700;
    color: #374151;
}

.nba-modal-sbr-value.accent {
    color: #16a34a;
}

/* Prediction Grid */
.nba-modal-prediction-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nba-modal-pred-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0;
}

.nba-modal-pred-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
}

.nba-modal-pred-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.nba-modal-inline-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Projections Table */
.nba-modal-projections-container {
    position: relative;
}

/* Team tabs for projections */
.props-team-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 0;
}
.props-team-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    transition: color 0.15s, border-color 0.15s;
}
.props-team-tab:hover {
    color: #111827;
}
.props-team-tab.active {
    color: #111827;
    border-bottom-color: #d4a843;
}
.props-tab-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.nba-modal-props-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.nba-modal-props-table th {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0.625rem;
    text-align: center;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.nba-modal-props-table th:first-child {
    text-align: left;
}

.nba-modal-props-table td {
    padding: 0.5rem 0.625rem;
    text-align: center;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.nba-modal-player-cell {
    text-align: left !important;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #6b7280;
}

.nba-modal-cell-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.nba-modal-player-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
}

.nba-modal-player-link:hover {
    text-decoration: underline;
    color: #374151;
}

.nba-modal-pra {
    font-weight: 700;
    color: #374151;
}

.nba-modal-locked-row td {
    color: #d1d5db;
}

/* Locked overlay (non-members) */
.nba-modal-locked-overlay {
    position: relative;
    text-align: center;
    padding: 1rem 0 0.5rem;
    margin-top: -1rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 40%);
}

.nba-modal-unlock-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: #16a34a;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s;
}

.nba-modal-unlock-btn:hover {
    background: #15803d;
    color: #fff;
}

/* Prop selection: scrollable table wrapper for 7 columns on mobile */
.nba-modal-props-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Prop cell with projection + line + O/U buttons */
.prop-pick-cell {
    padding: 0.375rem 0.25rem !important;
    min-width: 54px;
}

.prop-proj-value {
    position: relative;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.2;
}
.prop-tier-dot {
    position: absolute;
    left: -9px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.prop-dot-gold { background: #d4a937; }
.prop-dot-silver { background: #8a939e; }
.prop-dot-bronze { background: #b5722a; }

.prop-call-label {
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    margin-top: 2px;
}
.prop-call-over { color: #16a34a; }
.prop-call-under { color: #dc2626; }

/* Two-row layout: projection row has no bottom border when followed by line row */
.prop-proj-row.prop-has-line-row td {
    border-bottom: none;
    padding-bottom: 0.125rem;
}

.prop-line-row td {
    padding: 0 0.625rem 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.prop-line-label-cell {
    text-align: right !important;
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding-right: 0.5rem !important;
}

.prop-line-cell {
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 500;
    color: #6b7280;
    line-height: 1;
}


/* Mobile: reduce prop cell padding, allow horizontal scroll */
@media (max-width: 640px) {
    .prop-pick-cell {
        padding: 0.25rem 0.125rem !important;
        min-width: 46px;
    }

    .prop-proj-value {
        font-size: 0.75rem;
    }

    .prop-line-cell {
        font-size: 0.5625rem;
    }
}

/* Injuries */
.nba-modal-injury-team {
    margin-bottom: 0.75rem;
}

.nba-modal-injury-team:last-child {
    margin-bottom: 0;
}

.nba-modal-injury-team-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
}

.nba-modal-injury-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* CTA row */
.nba-modal-cta-row {
    text-align: center;
    padding-top: 1.25rem;
    border-top: 1px solid #f3f4f6;
}

.nba-modal-cta-btn {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: #16a34a;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s;
}

.nba-modal-cta-btn:hover {
    background: #15803d;
    color: #fff;
}

/* Placeholder text */
.nba-modal-placeholder {
    color: #9ca3af;
    font-size: 0.8125rem;
    font-style: italic;
    text-align: center;
    padding: 0.75rem 0;
    margin: 0;
}

/* ---- NBA Modal Mobile ---- */
@media (max-width: 768px) {
    .nba-modal-header {
        gap: 1rem;
    }

    .nba-modal-logo {
        width: 44px;
        height: 44px;
    }

    .nba-modal-team-name {
        font-size: 0.75rem;
        max-width: 90px;
    }

    .nba-modal-sbr-grid {
        gap: 1rem;
    }

    .nba-modal-props-table {
        font-size: 0.75rem;
    }

    .nba-modal-props-table th,
    .nba-modal-props-table td {
        padding: 0.375rem 0.5rem;
    }
}

/* ============================================================
   MLB-specific: pitcher names, scratch alert, lineup pending
   ============================================================ */
.pitcher-name {
    font-size: 0.65rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
    margin-top: 1px;
}

.pitcher-name.pitcher-scratched {
    color: #dc2626;
    text-decoration: line-through;
}

.lineup-pending-chip {
    font-size: 8px;
    font-weight: 600;
    color: #d97706;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 3px;
    padding: 1px 4px;
    white-space: nowrap;
    margin-top: 2px;
    text-align: center;
}

/* MLB Lineup Status Banner */
.lineup-status-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.4;
}

.lineup-status-banner strong {
    display: block;
    font-size: 13px;
    margin-bottom: 1px;
}

.lineup-status-banner span {
    color: #999;
    font-size: 12px;
}

.lineup-status-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.lineup-projected {
    background: rgba(196, 149, 58, 0.1);
    border: 1px solid rgba(196, 149, 58, 0.25);
    color: #c4953a;
}

.lineup-confirmed {
    background: rgba(74, 140, 74, 0.1);
    border: 1px solid rgba(74, 140, 74, 0.25);
    color: #4a8c4a;
}

.lineup-mixed {
    background: rgba(100, 181, 246, 0.08);
    border: 1px solid rgba(100, 181, 246, 0.2);
    color: #64b5f6;
}

/* Per-row lineup badge */
.lineup-badge {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 3px;
    padding: 1px 5px;
    margin-top: 3px;
    text-align: center;
    line-height: 1.4;
}

.lineup-projected {
    color: #c4953a;
}

.lineup-badge.lineup-projected {
    background: rgba(196, 149, 58, 0.15);
    border: 1px solid rgba(196, 149, 58, 0.3);
}

.lineup-confirmed {
    color: #4a8c4a;
}

.lineup-badge.lineup-confirmed {
    background: rgba(74, 140, 74, 0.15);
    border: 1px solid rgba(74, 140, 74, 0.3);
}
