/* Site-wide styles. Moved out of base.html so browsers cache them once
   instead of re-downloading 60 KB inside every page. */
/* ============================================
   🎨 ЦВЕТОВАЯ СХЕМА - МЕНЯЙТЕ ЗДЕСЬ!
   ============================================ */
:root {
    /* === ОСНОВНЫЕ ЦВЕТА === */
    --color-primary: #1e3a5f;
    /* Тёмно-синий (Navy) */
    --color-primary-dark: #152a45;
    /* Ещё темнее */
    --color-primary-light: #2d5a8a;
    /* Светлее */

    --color-accent: #d4af37;
    /* Золотой */
    --color-accent-dark: #b8960c;
    /* Тёмное золото */
    --color-accent-light: #f0d77a;
    /* Светлое золото */

    --color-success: #22c55e;
    /* Зелёный (прибыль) */
    --color-danger: #ef4444;
    /* Красный (убыток) */
    --color-warning: #f59e0b;
    /* Оранжевый */
    --color-info: #0ea5e9;
    /* Голубой */

    /* === ФОНЫ === */
    --bg-body: #f5f7fa;
    /* Основной фон страницы */
    --bg-card: #ffffff;
    /* Фон карточек */
    --bg-dark: #0f1419;
    /* Тёмный фон (header/footer) */
    --bg-dark-secondary: #1a2332;
    /* Вторичный тёмный */

    /* === ТЕКСТ === */
    --text-primary: #1a1a2e;
    /* Основной текст */
    --text-secondary: #64748b;
    /* Вторичный текст */
    --text-muted: #94a3b8;
    /* Приглушённый */
    --text-light: #ffffff;
    /* Светлый (на тёмном фоне) */

    /* === ГРАНИЦЫ === */
    --border-color: #e2e8f0;
    --border-color-dark: #334155;

    /* === ТЕНИ === */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 8px rgba(30, 58, 95, 0.08);

    /* === СКРУГЛЕНИЯ === */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ============================================
   💡 TOOLTIP STYLES
   ============================================ */
.info-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    color: var(--text-muted);
    cursor: help;
    font-size: 0.8em;
    transition: color 0.2s;
    vertical-align: middle;
}

.info-tooltip:hover {
    color: var(--color-info);
}

[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: rgba(15, 23, 42, 0.95);
    color: white;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
    border-radius: 8px;
    white-space: normal;
    width: 200px;
    text-align: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(15, 23, 42, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 9999;
    pointer-events: none;
}

[data-tooltip]:hover::after,
[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Toggle Switch Styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-accent);
    transition: .3s;
    border-radius: 18px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

.toggle-switch input:checked+.toggle-slider {
    background-color: var(--color-success);
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(14px);
}

/* ============================================
   БАЗОВЫЕ СТИЛИ
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Keep layout width stable when page scrollbar appears/disappears */
html {
    scrollbar-gutter: stable;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-accent);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-custom {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-dark);
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border-color-dark);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
}

.navbar-brand-custom:hover .brand-logo-icon {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.brand-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FAE89C 0%, #D4AF37 50%, #B8960C 100%);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: #0F1419;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-name-premium {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.brand-name-premium .brand-highlight {
    background: linear-gradient(to right, #F0D77A, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-name-premium .brand-suffix {
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #e2e8f0;
    margin-left: 1px;
}

.nav-search {
    position: relative;
    flex: 1;
    max-width: 420px;
    margin: 0 1rem;
}

.nav-search input {
    width: 100%;
    padding: 0.625rem 2.8rem 0.625rem 2.75rem;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color-dark);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.nav-search input::placeholder {
    color: var(--text-muted);
}

.nav-search input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--bg-dark);
}

.nav-search .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.nav-search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.6rem;
    height: 1.6rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(248, 250, 252, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s ease;
    z-index: 2;
}

.nav-search.has-value .nav-search-clear {
    display: inline-flex;
}

.nav-search-clear:hover {
    background: rgba(239, 68, 68, 0.14);
    color: #fda4af;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    color: var(--text-light);
    background: var(--bg-dark-secondary);
}

/* Dropdown Styles */
.nav-item-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color-dark);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    display: none;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
}

.nav-item-dropdown:hover .dropdown-menu-custom {
    display: block;
}

.dropdown-menu-custom li {
    width: 100%;
}

.dropdown-menu-custom a {
    padding: 0.75rem 1.25rem;
    width: 100%;
    border-radius: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

/* Heatmap Mini Icon */
.heatmap-icon-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    width: 14px;
    height: 14px;
    margin-right: 10px;
}

.heatmap-icon-mini span {
    width: 6px;
    height: 6px;
    border-radius: 1px;
}

.h-green {
    background: #22c55e;
}

.h-red {
    background: #ef4444;
}

.h-orange {
    background: #f59e0b;
}

.h-blue {
    background: #0ea5e9;
}

.nav-btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--bg-dark) !important;
    font-weight: 600;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.25rem 0.75rem;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color-dark);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-profile:hover {
    border-color: var(--color-accent);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-accent);
}

.user-name {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
}

.logout-link {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: 10px;
    transition: color 0.2s;
}

.logout-link:hover {
    color: var(--color-danger);
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 0.9rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: #3c4043;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-login:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.google-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* --- New Login Components --- */
.login-container {
    max-width: 400px;
    margin: 4rem auto;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.btn-login-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid #dadce0;
    color: #3c4043;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s;
}

.btn-login-google:hover {
    background: #f8f9fa;
    border-color: #d2d2d2;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.login-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.login-separator::before,
.login-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.login-separator span {
    padding: 0 1rem;
}

.btn-login-submit {
    width: 100%;
    padding: 0.75rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-top: 1rem;
    transition: opacity 0.2s;
}

.btn-login-submit:hover {
    opacity: 0.9;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-top: 0.25rem;
    background: var(--bg-body);
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.nav-btn-primary:hover {
    opacity: 0.9;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 991px) {
    .nav-search {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    /* background: linear-gradient(180deg, var(--bg-dark) 0%, var(--color-primary-dark) 100%); */
    /* New Gradient from Rankings Page */
    background: radial-gradient(circle at 70% 20%, #2d5a8a 0%, #0f1419 70%);
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* Декоративная сетка на фоне */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.fund-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-accent);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

.fund-name {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

@media (min-width: 768px) {
    .fund-name {
        font-size: 2.75rem;
    }
}

.fund-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.fund-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.fund-meta-item i {
    color: var(--color-accent);
    font-size: 1rem;
}

.fund-meta-item a {
    color: var(--text-muted);
}

.fund-meta-item a:hover {
    color: var(--color-accent);
}

.fund-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.fund-tag {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-hero-gold {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--bg-dark);
}

.btn-hero-gold:hover {
    opacity: 0.9;
}

.btn-hero-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   KPI STRIP
   ============================================ */
.kpi-strip {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
}

.kpi-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2rem;
}

@media (max-width: 767px) {
    .kpi-container {
        gap: 1rem;
    }
}

.kpi-item {
    text-align: center;
    min-width: 100px;
}

.kpi-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.kpi-value.positive {
    color: var(--color-success);
}

.kpi-value.negative {
    color: var(--color-danger);
}

.kpi-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-wrapper {
    padding: 2rem 0;
}

/* ============================================
   TABS NAVIGATION
   ============================================ */
.tabs-nav {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-card);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    margin-bottom: 2rem;
    overflow-x: auto;
}

.tab-item {
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.tab-item:hover {
    color: var(--text-primary);
    background: var(--bg-body);
}

.tab-item.active {
    background: var(--color-primary);
    color: var(--text-light);
}

/* ============================================
   CARDS
   ============================================ */
.card-custom {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.2s ease;
}

.card-custom:hover {
    box-shadow: var(--shadow-md);
}

.card-header-custom {
    padding: 1.125rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.card-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-icon-box {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.card-icon-box.green {
    background: rgba(34, 197, 94, 0.1);
    color: var(--color-success);
}

.card-icon-box.red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-danger);
}

.card-icon-box.gold {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-accent);
}

.card-icon-box.blue {
    background: rgba(30, 58, 95, 0.1);
    color: var(--color-primary);
}

.card-icon-box.cyan {
    background: rgba(14, 165, 233, 0.1);
    color: var(--color-info);
}

.card-title-custom {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.card-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-body);
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
}

.card-body-custom {
    padding: 0;
}

/* ============================================
   TABLES
   ============================================ */
.table-custom {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.table-custom thead th {
    padding: 0.75rem 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-body);
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.table-custom thead th:last-child {
    text-align: right;
}

.table-custom tbody td {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.table-custom tbody td:last-child {
    text-align: right;
}

.table-custom tbody tr:last-child td {
    border-bottom: none;
}

.table-custom tbody tr:hover {
    background: rgba(30, 58, 95, 0.02);
}

.ticker-symbol {
    font-family: 'Space Grotesk', monospace;
    font-weight: 700;
    color: var(--text-primary);
    margin-right: 0.5rem;
}

.ticker-name {
    color: var(--color-primary);
    font-weight: 500;
}

.ticker-name:hover {
    color: var(--color-accent);
}

.value-positive {
    color: var(--color-success);
    font-weight: 600;
}

.value-negative {
    color: var(--color-danger);
    font-weight: 600;
}

.value-neutral {
    font-weight: 600;
    color: var(--text-primary);
}

.btn-card-action {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--color-primary);
    color: var(--text-light);
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-card-action:hover {
    background: var(--color-primary-dark);
}

/* ============================================
   INFO SECTION
   ============================================ */
.info-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-section:hover {
    box-shadow: var(--shadow-md);
}

.info-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.info-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.info-block {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(245, 247, 250, 0.4);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.info-block:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--border-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.info-block-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-block-title i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: var(--color-accent);
    border-radius: 10px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(30, 58, 95, 0.2);
}

.info-block-content {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.info-block-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-block-content li {
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-block-content li:last-child {
    border-bottom: none;
}

.info-block-content li i {
    color: var(--color-accent);
    margin-top: 4px;
}

/* ============================================
   ACTIVITY LIST
   ============================================ */
.activity-list {
    padding: 0;
}

.activity-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.activity-row:last-child {
    border-bottom: none;
}

.activity-row:nth-child(odd) {
    background: rgba(245, 247, 250, 0.5);
}

.activity-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.activity-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* ============================================
   CHART SECTION
   ============================================ */
.chart-wrapper {
    padding: 1.5rem;
}

.chart-placeholder {
    background: linear-gradient(180deg, var(--bg-body) 0%, #eef2f7 100%);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
    padding: 2rem;
}

.chart-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.chart-placeholder p {
    margin: 0;
    font-size: 0.9rem;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* ============================================
   ANALYSIS SECTION
   ============================================ */
.analysis-card {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.analysis-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color-dark);
}

.analysis-header i {
    color: var(--color-accent);
    font-size: 1.25rem;
}

.analysis-header h3 {
    color: var(--text-light);
    font-size: 1.25rem;
    margin: 0;
}

.analysis-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color-dark);
}

.analysis-tab {
    padding: 0.6rem 1.25rem;
    background: transparent;
    border: 1px solid var(--border-color-dark);
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.analysis-tab.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--bg-dark);
}

.analysis-tab:hover:not(.active) {
    border-color: var(--text-muted);
    color: var(--text-light);
}

.analysis-body {
    padding: 2rem;
}

.metrics-bars {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    min-height: 180px;
    padding: 1rem;
}

.metric-bar {
    width: 45px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border-radius: 6px 6px 0 0;
    position: relative;
}

.metrics-label {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   PERFORMANCE SECTION
   ============================================ */
.performance-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
}

.performance-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.performance-header h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.performance-header i {
    color: var(--color-accent);
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border-color);
}

@media (min-width: 768px) {
    .performance-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.perf-item {
    background: var(--bg-card);
    padding: 1.25rem;
    text-align: center;
}

.perf-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.perf-value.positive {
    color: var(--color-success);
}

.perf-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.perf-locked {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.perf-locked i {
    font-size: 0.75rem;
}

/* ============================================
   BACKTESTER
   ============================================ */
.backtester-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
}

.backtester-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.backtester-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.backtester-title i {
    color: var(--color-accent);
}

.backtester-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-backtest {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-backtest-primary {
    background: var(--color-primary);
    color: var(--text-light);
}

.btn-backtest-primary:hover {
    background: var(--color-primary-dark);
}

.btn-backtest-secondary {
    background: var(--bg-body);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-backtest-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-backtest-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-danger);
}

.btn-backtest-danger:hover {
    background: rgba(239, 68, 68, 0.2);
}

.backtester-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.925rem;
}

.backtester-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.backtester-tab {
    padding: 0.875rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.backtester-tab:hover {
    color: var(--text-primary);
}

.backtester-tab.active {
    color: var(--color-primary);
}

.backtester-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
}

.backtester-form {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .backtester-form {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-control-custom {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-primary);
    background: var(--bg-card);
    transition: all 0.2s ease;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--color-primary);
}

.radio-group-custom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-option:hover {
    border-color: var(--text-muted);
}

.radio-option.selected {
    border-color: var(--color-primary);
    background: rgba(30, 58, 95, 0.03);
}

.radio-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.radio-option span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.radio-option.selected span {
    color: var(--text-primary);
    font-weight: 500;
}

.backtest-results {
    margin-top: 2rem;
    padding: 2.5rem;
    background: var(--bg-body);
    border-radius: var(--radius-md);
    text-align: center;
}

.backtest-results i {
    font-size: 2.5rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.backtest-results p {
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-custom {
    background: var(--bg-dark);
    padding: 4rem 0 2rem;
    margin-top: 3rem;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

/* Reusing .brand-logo-icon and .brand-name-premium from navbar */

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-dark-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: var(--color-accent);
    color: var(--bg-dark);
}

.footer-nav-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 0.75rem;
}

.footer-nav-list a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-nav-list a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color-dark);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-legal a:hover {
    color: var(--text-light);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--bg-dark);
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.back-to-top .btn-label {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: uppercase;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-accent {
    color: var(--color-accent) !important;
}

.bg-accent {
    background-color: var(--color-accent) !important;
}

/* Search Dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 600px;
    /* Widened search dropdown approx 2x */
    max-width: 90vw;
    /* Prevent overflow on mobile */
    min-width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border-color-dark);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-results.active {
    display: block;
}

@keyframes search-spin {
    to { transform: rotate(360deg); }
}
.search-icon.is-spinning {
    animation: search-spin 0.7s linear infinite;
}

.search-item {
    padding: 12px 16px;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

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

.search-item:hover {
    background: var(--bg-dark-secondary);
}

.search-item:hover .search-item-name,
.search-item:hover .search-item-meta {
    color: #ffffff;
}

.search-item-name {
    font-weight: 600;
    color: var(--text-primary);
}

.search-item-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.search-icon-wrapper {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    margin-right: 12px;
}

/* ============================================
   LEGACY COMPATIBILITY (Index/Login)
   ============================================ */
.section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    overflow: hidden;
}

.section-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--text-light);
}

.section-header-light {
    background: var(--bg-body);
    color: var(--text-primary);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

.section-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    background: rgba(212, 175, 55, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.section-body {
    padding: 1.5rem;
}

.cards-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-bottom: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.02);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-gold {
    background: var(--color-accent);
}

.dot-blue {
    background: var(--color-primary);
}

.dot-green {
    background: var(--color-success);
}

/* Fund List (Home) */
.fund-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fund-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.2s;
    text-decoration: none;
    color: var(--text-primary);
}

.fund-item:hover {
    border-color: var(--color-accent);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.fund-item-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-primary);
}

.fund-item-cik {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.fund-item-aum {
    font-weight: 700;
    color: var(--color-success);
    font-size: 1.1rem;
}

.article-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Mobile Side Menu */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--bg-dark);
    z-index: 1101;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.mobile-side-menu.active {
    right: 0;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color-dark);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-body {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 0.5rem;
}

.mobile-nav-list a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.mobile-nav-list a:hover {
    background: var(--bg-dark-secondary);
    color: var(--text-light);
    padding-left: 1.5rem;
}

/* Mobile search widget */
.mobile-nav-search {
    position: relative;
    margin-bottom: 1.25rem;
}

.mobile-nav-search input {
    width: 100%;
    padding: 0.625rem 2.8rem 0.625rem 2.75rem;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color-dark);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.mobile-nav-search input::placeholder {
    color: var(--text-muted);
}

.mobile-nav-search input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.mobile-nav-search .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.mobile-nav-search .nav-search-clear {
    position: absolute;
    right: 0.75rem;
    top: 1rem;
    transform: translateY(-50%);
    width: 1.6rem;
    height: 1.6rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(248, 250, 252, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s ease;
}

.mobile-nav-search.has-value .nav-search-clear {
    display: inline-flex;
}

.mobile-nav-search .search-results {
    position: static;
    width: 100%;
    max-width: 100%;
    min-width: unset;
    margin-top: 6px;
    max-height: 300px;
}
/* ---- Live analyst-feed banner (tracker / ratings pages only) ---- */
.live-feed-bar{max-width:1120px;margin:1.1rem auto 0;padding:0 1rem;}
.live-feed-bar a{display:flex;align-items:center;gap:.85rem;text-decoration:none;
    background:linear-gradient(120deg,#1e3a5f 0%,#2c5282 100%);color:#fff;
    border-radius:14px;padding:.8rem 1.15rem;box-shadow:0 4px 14px rgba(30,58,95,.18);
    transition:transform .12s,box-shadow .12s;}
.live-feed-bar a:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(30,58,95,.28);}
.live-feed-pulse{position:relative;flex:0 0 auto;width:11px;height:11px;border-radius:50%;
    background:#ff4d4f;box-shadow:0 0 0 0 rgba(255,77,79,.7);animation:lfPulse 1.8s infinite;}
@keyframes lfPulse{0%{box-shadow:0 0 0 0 rgba(255,77,79,.7);}
    70%{box-shadow:0 0 0 9px rgba(255,77,79,0);}100%{box-shadow:0 0 0 0 rgba(255,77,79,0);}}
.live-feed-txt{flex:1 1 auto;min-width:0;}
.live-feed-txt b{font-weight:800;font-size:.95rem;letter-spacing:-.01em;}
.live-feed-txt span{display:block;font-size:.8rem;opacity:.85;margin-top:.1rem;}
.live-feed-cta{flex:0 0 auto;background:linear-gradient(135deg,#d4af37,#b8941f);color:#3a2e05;
    font-weight:800;font-size:.82rem;padding:.45rem 1rem;border-radius:999px;white-space:nowrap;}
@media(max-width:560px){.live-feed-cta{display:none;}}
