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

:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a2235;
    --bg-card-hover: #1f2a40;
    --border: #2a3550;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --green: #22c55e;
    --green-bg: rgba(34, 197, 94, 0.1);
    --red: #ef4444;
    --red-bg: rgba(239, 68, 68, 0.1);
    --yellow: #eab308;
    --yellow-bg: rgba(234, 179, 8, 0.1);
    --blue: #3b82f6;
    --blue-bg: rgba(59, 130, 246, 0.1);
    --purple: #a855f7;
    --accent: #6366f1;
    --accent-hover: #818cf8;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
.header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.status-text {
    font-size: 13px;
    color: var(--text-secondary);
}

.btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
}

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Main Layout */
.main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 32px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: var(--bg-secondary);
    padding: 4px;
    border-radius: 12px;
    width: fit-content;
}

.tab {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

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

.tab.active {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.tab[data-tab="alerts"].active {
    color: #ef4444;
    border-bottom: 2px solid #ef4444;
}
.tab[data-tab="news"].active {
    color: #3b82f6;
    border-bottom: 2px solid #3b82f6;
}
.tab[data-tab="penny"].active {
    color: #eab308;
    border-bottom: 2px solid #eab308;
}
.tab[data-tab="lowfloat"].active {
    color: #a855f7;
    border-bottom: 2px solid #a855f7;
}
.tab[data-tab="search"].active {
    color: #22c55e;
    border-bottom: 2px solid #22c55e;
}
.tab[data-tab="halts"].active {
    color: #ef4444;
    border-bottom: 2px solid #ef4444;
}

.tab-badge {
    background: var(--red);
    color: white;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 6px;
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
}

.stat-value.green { color: var(--green); }
.stat-value.red { color: var(--red); }
.stat-value.yellow { color: var(--yellow); }
.stat-value.blue { color: var(--blue); }

/* Tab Panels */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* News Cards */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.15s;
    cursor: default;
}

.news-card:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.news-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.news-ticker {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    background: var(--blue-bg);
    padding: 2px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.news-title {
    font-size: 15px;
    font-weight: 600;
    flex: 1;
    line-height: 1.4;
}

.news-title a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.news-keywords {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.keyword-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.news-stock-info {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.stock-info-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stock-info-item .label {
    color: var(--text-muted);
}

/* Pump Score */
.pump-score {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.pump-score.high {
    background: var(--green-bg);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.pump-score.medium {
    background: var(--yellow-bg);
    color: var(--yellow);
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.pump-score.low {
    background: var(--red-bg);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Date Navigation */
.date-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    user-select: none;
}

.date-display {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 180px;
    text-align: center;
}

.date-arrow {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.date-arrow:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
}

/* Expand Arrow */
.expand-arrow {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.2s;
    user-select: none;
}

/* Ticker Group */
.ticker-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ticker-exchange {
    font-size: 10px;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 4px;
    padding: 2px 6px;
    font-weight: 700;
}

.ticker-copy {
    font-size: 10px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2px 6px;
    cursor: pointer;
    font-family: inherit;
}

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

/* Stock Info Badges */
.stock-badges {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.stock-badge {
    font-size: 13px;
    border-radius: 8px;
    padding: 6px 12px;
    font-weight: 500;
}

.stock-badge strong {
    font-weight: 700;
}

.badge-price {
    background: var(--blue-bg);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--text-secondary);
}
.badge-price strong {
    color: var(--blue);
}

.badge-float {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: var(--text-secondary);
}
.badge-float strong {
    color: var(--purple);
}

.badge-mcap {
    background: var(--green-bg);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--text-secondary);
}
.badge-mcap strong {
    color: var(--green);
}

.badge-penny {
    background: var(--yellow-bg);
    border: 1px solid rgba(234, 179, 8, 0.3);
}
.badge-penny strong {
    color: var(--yellow);
}

.badge-lowfloat {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
}
.badge-lowfloat strong {
    color: #c084fc;
}

/* China Warning */
.china-warning {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

/* News Detail */
.news-detail {
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 12px;
}

/* Analysis Section */
.analysis-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.analysis-summary {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.analysis-factors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.factor-group h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.factor-group.bullish h4 { color: var(--green); }
.factor-group.bearish h4 { color: var(--red); }

.factor-group ul {
    list-style: none;
    padding: 0;
}

.factor-group li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 2px 0;
    padding-left: 16px;
    position: relative;
}

.factor-group.bullish li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.factor-group.bearish li::before {
    content: "-";
    position: absolute;
    left: 2px;
    color: var(--red);
    font-weight: 700;
}

/* Dilution Warning */
.dilution-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 10px;
}

.dilution-warning.danger {
    background: var(--red-bg);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.dilution-warning.safe {
    background: var(--green-bg);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.rehash-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--yellow-bg);
    color: var(--yellow);
    border: 1px solid rgba(234, 179, 8, 0.3);
    font-weight: 600;
}

/* Action Badge */
.action-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-badge.ALERT {
    background: var(--green-bg);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.action-badge.WATCH {
    background: var(--yellow-bg);
    color: var(--yellow);
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.action-badge.SKIP {
    background: rgba(100, 116, 139, 0.1);
    color: var(--text-muted);
    border: 1px solid rgba(100, 116, 139, 0.2);
}

/* Manual Input */
.manual-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.manual-section h3 {
    font-size: 16px;
    margin-bottom: 16px;
}

.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Result Card */
.result-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
    display: none;
}

.result-card.visible {
    display: block;
}

/* Loading */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 14px;
    gap: 8px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.empty-state p {
    font-size: 14px;
}

/* Halt Sidebar */
.halt-sidebar {
    position: fixed;
    top: 0;
    right: -360px;
    width: 350px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
}

.halt-sidebar.open {
    right: 0;
}

.halt-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.halt-sidebar-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
}

.halt-sidebar-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.halt-sidebar-close:hover {
    color: var(--text-primary);
}

.halt-code-guide {
    padding: 10px 20px;
    font-size: 11px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    line-height: 1.8;
}

.halt-list-sidebar {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.halt-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 8px;
    transition: border-color 0.15s;
}

.halt-card:hover {
    border-color: var(--accent);
}

.halt-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.halt-symbol {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent);
}

.halt-market {
    font-size: 10px;
    color: var(--text-muted);
    margin-left: 6px;
}

.halt-reason {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
}

.halt-name {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.halt-time {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.halt-news-expand {
    border-top: 1px solid var(--border);
    margin-top: 10px;
    padding-top: 8px;
}

.halt-news-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(42, 53, 80, 0.4);
}

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

.halt-toggle-btn {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 150;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
    font-family: inherit;
}

.halt-toggle-btn:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .main {
        padding: 16px;
    }

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

    .analysis-factors {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }

    .news-card-header {
        flex-direction: column;
    }

    .halt-sidebar {
        width: 100%;
        right: -100%;
    }
}

.header-left { display:flex; align-items:center; gap:18px; min-width:0; }
.guide-menu { display:flex; gap:2px; }
.guide-menu a { padding:6px 11px; border-radius:8px; font-size:13px; color:var(--text-muted); font-weight:500; white-space:nowrap; text-decoration:none; transition:all .15s; }
.guide-menu a:hover { color:var(--text-primary); background:rgba(255,255,255,0.05); }
@media (max-width:1100px) { .guide-menu { display:none; } }

/* PumpScanner mobile app polish: prevent Korean labels from collapsing vertically. */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        padding-bottom: 74px;
        word-break: keep-all;
    }

    .header {
        position: sticky;
        top: 0;
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 10px;
        padding: 12px 14px;
    }

    .header-left,
    .header-right {
        width: 100%;
        min-width: 0;
    }

    .header-left {
        justify-content: space-between;
        gap: 10px;
    }

    .header-left svg {
        width: 148px;
        height: auto;
        display: block;
    }

    .header-right {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        gap: 8px;
        align-items: center;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .header-right::-webkit-scrollbar,
    .tabs::-webkit-scrollbar {
        display: none;
    }

    .header-right .btn,
    .header-right a.btn,
    #btn-subscribe,
    #btn-profile,
    #btn-logout,
    #btn-login,
    #notice-btn {
        min-width: max-content;
        justify-content: center;
        white-space: nowrap;
        word-break: keep-all;
        writing-mode: horizontal-tb;
        padding: 7px 12px !important;
        line-height: 1.2;
    }

    .header-right > span,
    #user-name {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        word-break: keep-all;
        writing-mode: horizontal-tb;
    }

    #plan-badge {
        min-width: max-content;
        white-space: nowrap;
    }

    .main {
        width: 100%;
        padding: 14px 12px 92px;
    }

    .tabs {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(5, max-content);
        gap: 6px;
        overflow-x: auto;
        padding: 6px;
        margin-bottom: 18px;
        border-radius: 14px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .tab {
        min-width: max-content;
        padding: 10px 14px;
        font-size: 13px;
        white-space: nowrap;
        word-break: keep-all;
        writing-mode: horizontal-tb;
        scroll-snap-align: start;
    }

    .tab-badge {
        margin-left: 4px;
    }

    .date-nav {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        gap: 10px;
        align-items: center;
        margin: 14px 0 18px;
    }

    .date-display {
        min-width: 0;
        text-align: center;
        font-size: 22px;
        line-height: 1.25;
        font-weight: 850;
        white-space: normal;
        word-break: keep-all;
    }

    .date-arrow {
        width: 48px;
        height: 48px;
        display: inline-grid;
        place-items: center;
        flex: none;
    }

    .news-list {
        gap: 12px;
    }

    .news-card {
        padding: 16px;
        border-radius: 18px;
    }

    .news-card-header {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ticker-group,
    .stock-badges,
    .news-meta,
    .analysis-factors {
        min-width: 0;
    }

    .news-title,
    .news-title span {
        min-width: 0;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: anywhere;
        line-height: 1.45;
    }

    .stock-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .stock-badge {
        flex: 0 1 auto;
        max-width: 100%;
        white-space: nowrap;
    }

    .halt-toggle-btn {
        right: 12px;
        bottom: 82px;
        padding: 9px 13px;
    }

    .gchat-fab {
        right: 12px;
        bottom: 132px;
    }
}

@media (max-width: 380px) {
    .header-left svg { width: 132px; }
    .header-right { grid-template-columns: auto minmax(120px, 1fr) auto; }
    .tab { padding: 9px 12px; }
    .date-display { font-size: 20px; }
    .news-card { padding: 14px; }
}

/* Live shadow comparison */
.live-compare-panel{
    margin:0 0 18px;
    padding:18px;
    border:1px solid rgba(99,102,241,.35);
    background:linear-gradient(135deg,rgba(99,102,241,.12),rgba(34,197,94,.07)),var(--bg-secondary);
    border-radius:18px;
    box-shadow:0 12px 30px rgba(0,0,0,.18);
}
.live-compare-loading,.live-compare-error{color:var(--text-secondary);font-size:14px;display:flex;gap:10px;align-items:center;}
.live-compare-error{color:#fca5a5;}
.live-compare-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:14px;}
.live-compare-head h2{font-size:20px;line-height:1.25;margin:6px 0;color:var(--text-primary);}
.live-compare-head p{font-size:13px;color:var(--text-secondary);}
.live-pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;letter-spacing:.08em;font-weight:900;color:#34d399;background:rgba(52,211,153,.12);border:1px solid rgba(52,211,153,.28);border-radius:999px;padding:4px 9px;}
.live-pill:before{content:'';width:7px;height:7px;border-radius:999px;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12);}
.live-verdict{min-width:112px;text-align:center;border-radius:14px;padding:10px 12px;border:1px solid rgba(239,68,68,.35);background:rgba(239,68,68,.08);}
.live-verdict.go{border-color:rgba(34,197,94,.35);background:rgba(34,197,94,.08);}
.live-verdict span{display:block;color:var(--text-muted);font-size:11px;}
.live-verdict b{display:block;color:#f87171;font-size:18px;}
.live-verdict.go b{color:#34d399;}
.live-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:12px;}
.live-metrics>div,.live-card{background:rgba(10,14,23,.38);border:1px solid rgba(148,163,184,.14);border-radius:14px;padding:12px;}
.live-metrics span{display:block;color:var(--text-muted);font-size:11px;margin-bottom:2px;}
.live-metrics b{font-size:20px;color:var(--text-primary);}
.live-compare-subgrid{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:10px;}
.live-card h3,.live-samples h3{font-size:13px;color:var(--text-secondary);margin-bottom:6px;}
.live-card p{font-size:13px;color:var(--text-primary);}
.live-card .muted,.live-provider-chip.muted{color:var(--text-muted);}
.live-provider-row,.live-blockers{display:flex;flex-wrap:wrap;gap:6px;}
.live-provider-chip,.live-blocker{font-size:11px;border-radius:999px;padding:4px 8px;background:rgba(99,102,241,.12);border:1px solid rgba(99,102,241,.24);color:#c4b5fd;}
.live-blocker{background:rgba(245,158,11,.12);border-color:rgba(245,158,11,.24);color:#fbbf24;}
.live-samples{margin-top:10px;background:rgba(10,14,23,.28);border:1px solid rgba(148,163,184,.12);border-radius:14px;padding:12px;}
.live-samples ul{margin:0;padding-left:18px;color:var(--text-secondary);font-size:12px;}
.live-samples li{margin:4px 0;}
.live-samples b{color:var(--text-primary);}
.live-samples span{color:var(--text-muted);margin-left:5px;}
@media (max-width: 768px){
  .live-compare-panel{padding:14px;margin-bottom:14px;border-radius:14px;}
  .live-compare-head{display:block;}
  .live-verdict{margin-top:10px;text-align:left;display:inline-block;}
  .live-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .live-compare-subgrid{grid-template-columns:1fr;}
  .live-compare-head h2{font-size:17px;}
  .live-metrics b{font-size:18px;}
}

.news-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px 12px;
    align-items:center;
}
.news-meta span{
    display:inline-flex;
    align-items:center;
    gap:4px;
}
.meta-live-caught{
    color:#22c55e;
    font-weight:800;
}
.meta-live-caught b{
    color:#bbf7d0;
}
