.sig-wrap {
    max-width: 1360px;
    margin: 1.5rem auto 3rem auto;
    padding: 0 1.25rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.sig-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.4rem 1.75rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #064e3b 0%, #0f172a 60%, #1e1b4b 100%);
    color: #f8fafc;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
    margin-bottom: 1.25rem;
    border: 1px solid rgba(16, 185, 129, 0.28);
}
[data-theme="light"] .sig-hero {
    background: linear-gradient(135deg, #ecfdf5 0%, #f8fafc 60%, #eff6ff 100%);
    color: #0f172a;
    border-color: #a7f3d0;
}
.sig-hero-title {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.sig-hero-title h1 {
    margin: 0;
    font-size: 1.42rem;
    font-weight: 800;
    color: inherit;
    letter-spacing: -0.02em;
}
.sig-hero-title p {
    margin: 0.28rem 0 0 0;
    font-size: 0.85rem;
    color: #94a3b8;
}
[data-theme="light"] .sig-hero-title p {
    color: #475569;
}

/* 5 KPI Cards */
.sig-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}
.sig-kpi-card {
    background: var(--card-bg, #1e293b);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.2));
    border-left: 4px solid #10b981;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .sig-kpi-card {
    background: #ffffff;
    border-color: #cbd5e1;
}
.sig-kpi-lbl {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary, #94a3b8);
}
.sig-kpi-val {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--text-main, #f8fafc);
    margin-top: 0.25rem;
}
[data-theme="light"] .sig-kpi-val {
    color: #0f172a;
}

/* Controls & Strategy Mode Bar */
.sig-controls-card {
    background: var(--card-bg, #1e293b);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.2));
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.25rem;
}
[data-theme="light"] .sig-controls-card {
    background: #ffffff;
    border-color: #cbd5e1;
}
.sig-toolbar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-color, rgba(148, 163, 184, 0.16));
}
.sig-mode-pills {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}
.sig-mode-btn {
    height: 36px;
    padding: 0 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.35);
    color: var(--text-main, #e2e8f0);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    transition: all 0.16s ease;
}
[data-theme="light"] .sig-mode-btn {
    background: #f8fafc;
    color: #1e293b;
    border-color: #cbd5e1;
}
.sig-mode-btn:hover {
    border-color: #10b981;
}
.sig-mode-btn.active {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
}
.sig-toolbar-bottom {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.85rem;
}
.sig-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.sig-field.grow {
    flex: 1;
    min-width: 220px;
}
.sig-field label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary, #94a3b8);
}
.sig-input {
    height: 38px;
    padding: 0 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.3));
    background: var(--bg-color, #0f172a);
    color: var(--text-main, #f8fafc);
    font-size: 0.85rem;
    outline: none;
}
[data-theme="light"] .sig-input {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}
.sig-itv-group {
    display: inline-flex;
    background: var(--bg-color, #0f172a);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.28));
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
    height: 38px;
    align-items: center;
}
[data-theme="light"] .sig-itv-group {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.sig-itv-btn {
    border: none;
    background: transparent;
    color: var(--text-secondary, #94a3b8);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.32rem 0.7rem;
    border-radius: 6px;
    cursor: pointer;
}
.sig-itv-btn.active {
    background: #2563eb;
    color: #ffffff;
}
.sig-action-btn {
    height: 38px;
    padding: 0 1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: #2563eb;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.sig-action-btn:hover {
    background: #1d4ed8;
}

/* Top 3 Spotlight Cards */
.sig-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.sig-spot-card {
    background: var(--card-bg, #1e293b);
    border: 1px solid rgba(16, 185, 129, 0.32);
    border-radius: 14px;
    padding: 1.05rem 1.15rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
}
[data-theme="light"] .sig-spot-card {
    background: #ffffff;
    border-color: #6ee7b7;
}
.sig-spot-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.sig-spot-coin {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.sig-spot-coin img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.sig-score-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
}
.sig-score-num {
    font-size: 1.15rem;
    font-weight: 900;
    color: #10b981;
}
.sig-tier-pill {
    display: inline-block;
    padding: 0.16rem 0.5rem;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.sig-tier-pill.strong {
    background: rgba(16, 185, 129, 0.16);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.38);
}
.sig-tier-pill.mod {
    background: rgba(14, 165, 233, 0.16);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.35);
}
.sig-tier-pill.watch {
    background: rgba(148, 163, 184, 0.16);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}
.sig-pillars-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    font-size: 0.7rem;
}
.sig-pillar-box {
    background: rgba(15, 23, 42, 0.45);
    border-radius: 7px;
    padding: 0.38rem 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
}
[data-theme="light"] .sig-pillar-box {
    background: #f8fafc;
    border-color: #e2e8f0;
}
.sig-levels-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.06);
    border: 1px dashed rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
    font-size: 0.74rem;
}
.sig-reason-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.sig-reason-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.18rem 0.48rem;
    border-radius: 5px;
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.22);
}
[data-theme="light"] .sig-reason-tag {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

/* Table */
.sig-table-card {
    background: var(--card-bg, #1e293b);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.2));
    border-radius: 14px;
    padding: 1rem 1.15rem;
}
[data-theme="light"] .sig-table-card {
    background: #ffffff;
    border-color: #cbd5e1;
}
.sig-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}
.sig-table th {
    text-align: left;
    padding: 0.72rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary, #94a3b8);
    border-bottom: 2px solid var(--border-color, rgba(148, 163, 184, 0.22));
    white-space: nowrap;
}
.sig-table td {
    padding: 0.68rem 0.6rem;
    border-bottom: 1px solid var(--border-color, rgba(148, 163, 184, 0.12));
    color: var(--text-main, #f1f5f9);
    vertical-align: middle;
    white-space: nowrap;
}
[data-theme="light"] .sig-table td {
    color: #0f172a;
    border-bottom-color: #e2e8f0;
}
.sig-table tr:hover td {
    background: rgba(16, 185, 129, 0.05);
}
.watch-star-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #64748b;
    padding: 0.1rem 0.25rem;
}
.watch-star-btn.starred {
    color: #f59e0b;
}
.tbl-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    padding: 0.24rem 0.52rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
}
.tbl-btn:hover {
    background: #2563eb;
    color: #ffffff;
}

@media (max-width: 1024px) {
    .sig-spotlight-grid {
        grid-template-columns: 1fr;
    }
    .sig-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .col-mobile-hide {
        display: none !important;
    }
}
