/* public/css/analyzer.css */

/* --- VARIABLES --- */
:root {
    --apple-blue: #007AFF;
    --apple-green: #34C759;
    --light-gray: #F2F2F7;
    --medium-gray: #E5E5EA;
    --pure-black: #000000;
    --pure-white: #FFFFFF;
    --text-main: #111827;
    --text-sub: #6B7280;
}

/* --- RESET --- */
html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--light-gray);
    color: var(--pure-black);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: hidden;
}

.custom-scroll::-webkit-scrollbar {
    width: 5px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 3px;
}

/* --- SIDEBAR --- */
.sidebar {
    background-color: var(--pure-white);
    border-right: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 20;
}

/* Mode Switcher */
.mode-control {
    display: flex;
    background: #F3F4F6;
    padding: 3px;
    border-radius: 10px;
    /* Smooth, rounded look */
}

.mode-btn {
    flex: 1;
    padding: 6px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    border-radius: 8px;
    color: #9CA3AF;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.mode-btn:hover {
    color: #4B5563;
}

.mode-btn.active {
    background: white;
    color: #111827;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
}

/* Feed List & Items */
.feed-item {
    padding: 12px 14px;
    margin-bottom: 2px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.feed-item:hover {
    background-color: #F9FAFB;
}

.feed-item.active {
    background-color: #F3F4F6;
    border-color: #E5E7EB;
    /* Optional: Add a subtle shadow to active item */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.feed-item.active .text-gray-900 {
    color: #000;
}

/* Badges */
.badge {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 6px;
}

.badge-capper {
    background: #ECFDF5;
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.1);
}

.badge-market {
    background: #EFF6FF;
    color: #2563EB;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.badge-matchup {
    background: #F5F3FF;
    color: #7C3AED;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

/* --- STAGE --- */
.stage {
    background-color: #F5F5F7;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.graphic-wrapper {
    transform-origin: center center;
    transition: transform 0.2s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    /* Remove extra spacing - let content determine size */
    margin: 0;
    border-radius: 24px;
    /* Remove minimum dimensions that add extra space */
    min-width: unset;
    min-height: unset;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    /* Add small padding to prevent edge touching */
    padding: 8px;
}

/* --- CONTROLS --- */
.controls-bar {
    position: absolute;
    bottom: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 6px;
    border-radius: 14px;
    display: flex;
    gap: 6px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.control-btn {
    background: transparent;
    color: #555;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.1s;
}

.control-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: black;
}

/* --- IMPORT MODAL --- */
dialog.import-modal {
    border: none;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: transparent;
}

dialog.import-modal::backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

/* =========================================
   GRAPHIC TEMPLATES (TIGHTER SPACING)
   ========================================= */
.graphic-card {
    width: 800px;
    background-color: #ffffff;
    color: #111;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    border-radius: 24px;
    /* Scalable padding for better proportions when scaled */
    padding: clamp(20px, 5vw, 48px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    user-select: none;
    box-sizing: border-box;
}

/* HEADER */
.sla-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* Reduced margins for better proportions when scaled */
    margin-bottom: clamp(16px, 4vw, 32px);
    padding-bottom: clamp(8px, 2vw, 20px);
    border-bottom: 3px solid #F3F4F6;
    gap: clamp(12px, 2.5vw, 20px);
    /* Allow wrapping on smaller screens */
    flex-wrap: wrap;
    /* Ensure minimum width for date */
    min-width: 100%;
}

.sla-title {
    /* Responsive font sizing that scales better */
    font-size: clamp(1.25rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #111;
    /* Allow wrapping on smaller screens instead of going off-screen */
    white-space: normal;
    /* Ensure it can shrink if needed */
    flex: 1;
    min-width: 0;
}

.sla-date {
    /* Responsive font sizing that scales better */
    font-size: clamp(0.7rem, 1.8vw, 1.2rem);
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: right;
    white-space: nowrap;
    margin-bottom: clamp(2px, 1vw, 6px);
    /* Prevent shrinking too much */
    flex-shrink: 0;
    /* Ensure it has minimum width */
    min-width: max-content;
}

/* SECTIONS */
.sla-section {
    /* More responsive section spacing */
    margin-bottom: clamp(16px, 4vw, 32px);
}

.sla-col-title {
    /* Responsive column title sizing */
    font-size: clamp(0.7rem, 1.8vw, 0.9rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #9CA3AF;
    margin-bottom: clamp(8px, 2vw, 16px);
    padding-left: clamp(8px, 1.5vw, 12px);
    border-left: 4px solid #E5E5EA;
}

/* --- RECORD ROWS (TIGHTER) --- */
.rec-picks {
    display: flex;
    flex-direction: column;
    /* Responsive gap sizing */
    gap: clamp(8px, 2vw, 16px);
}

.rec-pick-row {
    display: grid;
    /* Main Layout for the Row */
    grid-template-columns: auto 1fr;
    align-items: center;
    /* Responsive gap */
    gap: clamp(8px, 1.5vw, 12px);

    /* Responsive padding */
    padding: clamp(12px, 3vw, 16px) clamp(16px, 4vw, 24px);
    background: #F9FAFB;
    border: 1px solid #F3F4F6;
    border-radius: 14px;
    transition: all 0.2s ease;
    /* Responsive minimum height */
    min-height: clamp(48px, 8vw, 64px);
}

.rec-pick-row:hover {
    border-color: #cbd5e1;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.rec-pick-unit {
    color: var(--apple-blue);
    font-weight: 700;
    /* Responsive font sizing */
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    letter-spacing: -0.03em;
    line-height: 1.5;
    white-space: nowrap;

    /* Responsive padding */
    padding-right: clamp(6px, 1.5vw, 10px);
    border-right: 2px solid #E5E5EA;

    /* Responsive min-width */
    min-width: clamp(32px, 6vw, 40px);
    text-align: center;
}

.rec-pick-val {
    /* Responsive font sizing */
    font-size: clamp(0.9rem, 2.2vw, 1.25rem);
    font-weight: 700;
    color: #111;
    line-height: 1.5;
    letter-spacing: -0.02em;
    /* Responsive padding */
    padding: clamp(2px, 0.8vw, 4px) 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- WIDE MODE --- */
.graphic-card.wide {
    width: 1200px;
}

.graphic-card.wide .rec-picks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* --- INSIGHTS / STATS --- */
.rec-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.rec-stat-box {
    background: #F9FAFB;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #111;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

/* FOOTER */
.footer-brand {
    /* Reduced margin for better proportions when scaled */
    margin-top: clamp(16px, 4vw, 40px);
    text-align: center;
    /* Responsive font sizing */
    font-size: clamp(0.6rem, 1.5vw, 0.75rem);
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #D1D5DB;
    text-transform: uppercase;
}

/* --- DARK MODE OVERRIDES --- */
.graphic-card.dark-mode {
    background-color: #09090b;
    color: #ffffff;
}

.graphic-card.dark-mode .sla-title,
.graphic-card.dark-mode .rec-pick-val,
.graphic-card.dark-mode .rec-stat-box {
    color: #ffffff;
}

.graphic-card.dark-mode .rec-pick-row,
.graphic-card.dark-mode .rec-stat-box {
    background-color: #18181b;
    border-color: #27272a;
}

.graphic-card.dark-mode .rec-pick-unit {
    border-right-color: #27272a;
}

.graphic-card.dark-mode .sla-header {
    border-bottom-color: #27272a;
}

.graphic-card.dark-mode .sla-col-title {
    border-left-color: #27272a;
}

/* Chart Container Styling */
.rec-chart-container {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

/* Chart Container Dark Mode */
.graphic-card.dark-mode .rec-chart-container {
    background-color: #18181b;
    border-color: #27272a;
}

.graphic-card.dark-mode .rec-chart-container canvas {
    background-color: transparent;
}

/* Ensure chart canvas is transparent */
.rec-chart-container canvas {
    background-color: transparent !important;
}

/* =========================================
   SLATE GRAPHIC STYLES
   ========================================= */

/* Chart Container for Slate */
.slate-chart-container {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: clamp(16px, 4vw, 24px);
    position: relative;
    min-height: clamp(280px, 40vw, 400px);
    display: flex;
    flex-direction: column;
}

/* Bar Chart Styles */
.slate-bars-container {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 2vw, 16px);
    margin-bottom: clamp(16px, 4vw, 24px);
    flex-shrink: 0;
}

.slate-bar-item {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 16px);
}

.slate-bar-label {
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 700;
    color: #111827;
    min-width: clamp(60px, 15vw, 120px);
    text-align: right;
    flex-shrink: 0;
}

.slate-bar-track {
    flex: 1;
    background-color: #E5E7EB;
    border-radius: 8px;
    height: clamp(24px, 4vw, 32px);
    position: relative;
    overflow: hidden;
}

.slate-bar-fill {
    background: linear-gradient(90deg, var(--bar-color, #007AFF) 0%, var(--bar-color, #007AFF) 80%, var(--bar-color, #007AFF)CC 100%);
    height: 100%;
    border-radius: 8px;
    transition: width 0.8s ease-out;
}

.slate-bar-value {
    position: absolute;
    right: clamp(8px, 2vw, 12px);
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(0.7rem, 1.8vw, 0.9rem);
    font-weight: 700;
    color: #374151;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Chart Canvas Container */
.slate-chart-container canvas {
    flex: 1;
    max-height: clamp(200px, 30vw, 300px);
    align-self: center;
}

/* Hot Cappers Grid */
.slate-cappers-grid {
    display: grid;
    gap: clamp(12px, 3vw, 20px);
    margin-top: clamp(8px, 2vw, 16px);
}

.slate-cappers-grid.even-count {
    grid-template-columns: 1fr 1fr;
}

.slate-cappers-grid.odd-count {
    grid-template-columns: 1fr;
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.slate-capper-card {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: clamp(16px, 4vw, 24px);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.slate-capper-card:hover {
    border-color: #D1D5DB;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.slate-capper-card.one-row {
    /* Single row layout for odd count */
    max-width: 100%;
}

.slate-capper-card.two-row {
    /* Two row layout for even count */
    aspect-ratio: 1;
}

/* Capper Header */
.slate-capper-header {
    margin-bottom: clamp(8px, 2vw, 16px);
}

.slate-capper-name {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 800;
    color: #111827;
    margin-bottom: clamp(2px, 0.5vw, 4px);
    line-height: 1.2;
}

.slate-capper-stat {
    font-size: clamp(0.7rem, 1.8vw, 0.85rem);
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Capper Picks */
.slate-capper-picks {
    margin-bottom: clamp(8px, 2vw, 16px);
}

.slate-pick-item {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    font-weight: 600;
    color: #374151;
    padding: clamp(4px, 1vw, 8px) 0;
    border-bottom: 1px solid #E5E7EB;
}

.slate-pick-item:last-child {
    border-bottom: none;
}

/* Performance Score */
.slate-capper-score {
    position: absolute;
    top: clamp(8px, 2vw, 12px);
    right: clamp(8px, 2vw, 12px);
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    font-weight: 700;
    padding: clamp(4px, 1vw, 6px) clamp(8px, 2vw, 10px);
    border-radius: 20px;
    min-width: clamp(40px, 10vw, 60px);
    text-align: center;
}

/* Dark Mode Slate Styles */
.graphic-card.dark-mode .slate-chart-container {
    background-color: #18181b;
    border-color: #27272a;
}

.graphic-card.dark-mode .slate-bar-label {
    color: #F9FAFB;
}

.graphic-card.dark-mode .slate-bar-track {
    background-color: #27272a;
}

.graphic-card.dark-mode .slate-bar-value {
    color: #D1D5DB;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.graphic-card.dark-mode .slate-capper-card {
    background-color: #18181b;
    border-color: #27272a;
}

.graphic-card.dark-mode .slate-capper-card:hover {
    background-color: #1f1f23;
    border-color: #404040;
}

.graphic-card.dark-mode .slate-capper-name {
    color: #F9FAFB;
}

.graphic-card.dark-mode .slate-capper-stat {
    color: #9CA3AF;
}

.graphic-card.dark-mode .slate-pick-item {
    color: #D1D5DB;
    border-bottom-color: #27272a;
}

/* Chart Fallback */
.chart-fallback {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: inherit;
    border-radius: inherit;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .slate-bars-container {
        gap: clamp(6px, 1.5vw, 12px);
    }

    .slate-bar-label {
        font-size: clamp(0.7rem, 1.8vw, 0.9rem);
        min-width: clamp(50px, 12vw, 80px);
    }

    .slate-cappers-grid.even-count {
        grid-template-columns: 1fr;
        gap: clamp(10px, 2.5vw, 16px);
    }

    .slate-cappers-grid.odd-count {
        max-width: 100%;
    }
}

/* Animation for bars */
@keyframes barGrow {
    from {
        width: 0%;
    }

    to {
        width: var(--bar-width, 0%);
    }
}

.slate-bar-fill {
    animation: barGrow 1s ease-out;
}

/* --- TODAY'S SLATE CARD STYLES --- */

/* Slate Card */
.slate-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 24px;
    width: 100%;
    aspect-ratio: 1/1;
    min-height: 600px;
}

.dark-mode .slate-card {
    background: #1a1a1a;
}

/* Capper Grid */
.cappers-grid {
    display: grid;
    gap: 16px;
}

.grid-even {
    grid-template-columns: repeat(2, 1fr);
}

.grid-odd {
    grid-template-columns: 1fr;
}

.capper-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
}

.dark-mode .capper-card {
    background: #2d2d2d;
}

/* Fix for controls bar interactivity */
.controls-bar {
    z-index: 1000 !important;
    pointer-events: auto !important;
}

/* --- NEW SLATE DESIGN (BET SLIP CARDS) --- */

.slate-angle-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    /* Clean shadow for card depth */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    /* Fixed width for alignment */
    width: 380px;
}

.slate-angle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    border-color: #D1D5DB;
}

/* Rank Indicators (Left Border Strip) */
.slate-angle-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #E5E7EB;
    /* Default */
}

.slate-angle-card.rank-1::before {
    background: #E31837;
}

/* Red/Hot */
.slate-angle-card.rank-2::before {
    background: #F59E0B;
}

/* Gold/Amber */
.slate-angle-card.rank-3::before {
    background: #10B981;
}

/* =========================================
   MATCHUP CARD STYLES
   ========================================= */

.matchup-card {
    /* Standard dimensions */
    width: 700px;
    min-height: 800px;
    display: flex;
    flex-direction: column;
}

.dark-mode.matchup-card {
    background-color: #09090b;
    color: white;
}

.matchup-donut {
    /* Conic gradient applied inline */
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.matchup-capper-row {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
}

.dark-mode .matchup-capper-row {
    background: #18181b;
    border-color: #27272a;
}

.mc-flame {
    font-size: 1.2rem;
    line-height: 1;
}

.mc-name {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    margin-bottom: 2px;
}

.mc-stats {
    font-size: 0.70rem;
    color: #6B7280;
    font-weight: 500;
    text-transform: uppercase;
}

.dark-mode .mc-stats {
    color: #9CA3AF;
}

.dark-mode .matchup-side-col h3 {
    border-color: #27272a;
    color: #a1a1aa;
}

.matchup-donut-center {
    background-color: white;
}

.dark-mode .matchup-donut-center {
    background-color: #09090b;
}

.matchup-pick-count {
    color: #111;
}

.dark-mode .matchup-pick-count {
    color: #fff;
}

/* Green */
.slate-angle-card.rank-4::before {
    background: #3B82F6;
}

/* Blue */

.slate-angle-rank {
    font-size: 0.9rem;
    font-weight: 800;
    color: #9CA3AF;
    min-width: 24px;
    text-align: center;
}

.slate-angle-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.slate-angle-term {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.01em;
}

.slate-angle-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #F3F4F6;
    border-radius: 10px;
    padding: 6px 12px;
    min-width: 60px;
}

.slate-angle-metric .count {
    font-size: 1.25rem;
    font-weight: 900;
    color: #111827;
    line-height: 1;
}

.slate-angle-metric .label {
    font-size: 0.6rem;
    font-weight: 700;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}


/* --- DARK MODE OVERRIDES FOR CARDS --- */
.graphic-card.dark-mode .slate-angle-card {
    background-color: #18181b;
    border-color: #27272a;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.graphic-card.dark-mode .slate-angle-card:hover {
    background-color: #1f1f23;
    border-color: #404040;
}

.graphic-card.dark-mode .slate-angle-term {
    color: #ffffff;
}

.graphic-card.dark-mode .slate-angle-metric {
    background: #27272a;
}

.graphic-card.dark-mode .slate-angle-metric .count {
    color: #ffffff;
}

.graphic-card.dark-mode .slate-angle-metric .label {
    color: #9CA3AF;
}

.slate-capper-row {
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
    background: #F9FAFB;
    border: 1px solid #F3F4F6;
    border-radius: 14px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.slate-capper-row:hover {
    border-color: #cbd5e1;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.slate-capper-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.slate-capper-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.slate-capper-name {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

.slate-capper-roi {
    font-size: 0.9rem;
    font-weight: 700;
}

.slate-capper-roi.positive {
    color: #34C759;
}

.slate-capper-roi.negative {
    color: #FF3B30;
}

.slate-capper-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.slate-pick-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    background: #E5E7EB;
    color: #374151;
    border-radius: 6px;
}

/* DARK MODE OVERRIDES FOR NEW SLATES */
.graphic-card.dark-mode .slate-angle-row,
.graphic-card.dark-mode .slate-capper-row {
    background-color: #18181b;
    border-color: #27272a;
}

.graphic-card.dark-mode .slate-angle-row:hover,
.graphic-card.dark-mode .slate-capper-row:hover {
    background-color: #27272a;
    border-color: #404040;
}

.graphic-card.dark-mode .slate-angle-name,
.graphic-card.dark-mode .slate-capper-name {
    color: #fff;
}

.graphic-card.dark-mode .slate-pick-tag {
    background: #27272a;
    color: #D1D5DB;
    border: 1px solid #404040;
}