#tab-highlights {
    overflow-y: auto;
    padding: 20px 22px 28px;
}

.highlights-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100%;
}

.highlights-header,
.highlights-hero,
.highlights-panel {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(19, 31, 50, 0.96), rgba(12, 21, 36, 0.98));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    overflow: hidden;
}

.highlights-header::after,
.highlights-hero::after,
.highlights-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.02), transparent 40%);
}

.highlights-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    border-left: 3px solid rgba(249,115,22,0.9);
}

.highlights-header-copy,
.highlights-panel,
.highlights-hero {
    z-index: 1;
}

.highlights-header-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 700px;
}

.highlights-eyebrow {
    color: #f97316;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
}

.highlights-header h2 {
    font-size: 1.58rem;
    line-height: 1.1;
}

.highlights-header p {
    color: #8ea1bb;
    font-size: 0.92rem;
    line-height: 1.55;
}

.highlights-header-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 360px;
    align-items: flex-end;
}

.highlights-week-summary {
    color: #f2f7ff;
    font-size: 0.9rem;
    font-weight: 700;
}

.highlights-history-strip {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.highlights-week-chip {
    min-width: 132px;
    padding: 11px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #dbe5f3;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.highlights-week-chip:hover,
.highlights-week-chip.active {
    border-color: rgba(249,115,22,0.3);
    background: rgba(249,115,22,0.12);
    box-shadow: 0 10px 22px rgba(249,115,22,0.12);
    transform: translateY(-1px);
}

.highlights-week-chip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.highlights-week-chip-label,
.highlights-week-chip-meta {
    display: block;
}

.highlights-week-chip-label {
    color: #f6f8ff;
    font-size: 0.82rem;
    font-weight: 700;
}

.highlights-week-chip-meta {
    margin-top: 5px;
    color: #8ea1bb;
    font-size: 0.74rem;
    line-height: 1.35;
}

.highlights-week-chip-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.55);
    box-shadow: 0 0 0 5px rgba(148, 163, 184, 0.08);
}

.highlights-state {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
    color: #93a6c0;
    font-size: 0.88rem;
}

.highlights-state.hidden {
    display: none;
}

.highlights-hero {
    padding: 22px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
    gap: 18px;
}

.highlights-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlights-hero-lead {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.highlights-hero-sigil {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.highlights-hero-sigil-ring,
.highlights-hero-sigil-core {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.highlights-hero-sigil-ring::before {
    content: "";
    width: 72px;
    height: 72px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.14), rgba(255,255,255,0.02));
}

.highlights-hero-sigil-core svg {
    width: 34px;
    height: 34px;
    stroke: currentColor;
    stroke-width: 1.9;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.highlights-hero-copy-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.highlights-hero-kicker {
    color: #f5b27a;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.highlights-hero h3 {
    font-size: 1.64rem;
    color: #f6f8ff;
}

.highlights-hero p {
    color: #8ea1bb;
    line-height: 1.6;
    font-size: 0.92rem;
}

.highlights-hero-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlights-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #dce8f7;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.highlights-hero-facts {
    margin-top: 0;
}

.highlights-hero-comparison {
    margin-top: 4px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.035);
}

.highlights-hero-comparison-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.highlights-hero-comparison-head span {
    color: #8ea1bb;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.highlights-hero-comparison-head strong {
    color: #f7f9ff;
    font-size: 0.98rem;
}

.highlights-compare-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.highlights-compare-row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.highlights-compare-row span,
.highlights-compare-row strong {
    font-size: 0.79rem;
}

.highlights-compare-row span {
    color: #9ab0ca;
}

.highlights-compare-row strong {
    color: #eef5ff;
}

.highlights-compare-track,
.highlights-meter {
    position: relative;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
}

.highlights-compare-fill,
.highlights-meter-fill {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
}

.highlights-compare-fill.current {
    background: linear-gradient(90deg, rgba(249,115,22,0.75), rgba(251,191,36,0.95));
}

.highlights-compare-fill.previous {
    background: linear-gradient(90deg, rgba(96,165,250,0.5), rgba(167,139,250,0.75));
}

.highlights-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.highlights-hero-metric,
.highlights-mini-stat,
.highlights-card,
.highlights-person-card,
.highlights-badge-card,
.highlights-watch-card {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
}

.highlights-hero-metric,
.highlights-mini-stat {
    padding: 14px 16px;
}

.highlights-hero-metric-top,
.highlights-mini-stat-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlights-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    color: #dbe6f6;
    flex: 0 0 36px;
    line-height: 0;
}

.highlights-stat-icon svg,
.highlights-card-icon svg,
.highlights-person-avatar svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.9;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.highlights-stat-label {
    display: block;
    color: #8ea1bb;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.highlights-hero-metric strong,
.highlights-mini-stat strong {
    display: block;
    margin-top: 10px;
    margin-bottom: 12px;
    color: #f5f8ff;
    font-size: 1.1rem;
}

.highlights-top-grid,
.highlights-main-grid {
    display: grid;
    gap: 18px;
}

.highlights-top-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.highlights-main-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.highlights-panel {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.highlights-panel-head h3 {
    font-size: 1rem;
}

.highlights-panel-sub {
    display: block;
    margin-top: 4px;
    color: #7b8da8;
    font-size: 0.82rem;
    line-height: 1.45;
}

.highlights-card-stack,
.highlights-spotlight-list,
.highlights-badge-list,
.highlights-watch-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlights-card,
.highlights-person-card,
.highlights-badge-card,
.highlights-watch-card {
    padding: 16px;
    animation: highlightsRise 0.28s ease both;
}

.highlights-card-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}

.highlights-card-icon,
.highlights-person-avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    color: #f2f7ff;
    flex-shrink: 0;
}

.highlights-card-head-copy {
    min-width: 0;
}

.highlights-card-top,
.highlights-person-top,
.highlights-watch-top,
.highlights-badge-top,
.highlights-badge-heading,
.highlights-person-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.highlights-person-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.highlights-card-type,
.highlights-person-kicker,
.highlights-person-meta,
.highlights-badge-meta {
    color: #8ea1bb;
    font-size: 0.76rem;
}

.highlights-card-type,
.highlights-person-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.highlights-card h4,
.highlights-person-card h4,
.highlights-badge-card h4,
.highlights-watch-card h4 {
    margin-top: 8px;
    color: #f6f8ff;
    font-size: 1rem;
}

.highlights-person-top h4,
.highlights-watch-top h4,
.highlights-badge-top h4 {
    margin-top: 6px;
}

.highlights-card p,
.highlights-person-card p,
.highlights-badge-card p,
.highlights-watch-card p {
    margin-top: 10px;
    color: #8ea1bb;
    line-height: 1.55;
    font-size: 0.86rem;
}

.highlights-fact-row,
.highlights-holder-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.highlights-fact-pill,
.highlights-holder-pill {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    color: #dbe5f4;
    font-size: 0.76rem;
}

.highlights-card-meter-wrap {
    align-self: center;
}

.highlights-priority-glyph {
    min-width: 78px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.035);
    white-space: nowrap;
}

.highlights-priority-glyph span {
    color: #8ea1bb;
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.highlights-priority-glyph strong {
    color: #f9fbff;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.highlights-mini-trail {
    display: inline-flex;
    align-items: flex-end;
    gap: 5px;
    height: 18px;
}

.highlights-mini-trail i {
    display: block;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.2));
    opacity: 0.9;
}

.highlights-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.highlights-badge-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.06);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.highlights-badge-icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 6px 10px rgba(249,115,22,0.22));
}

.highlights-badge-copy {
    min-width: 0;
    flex: 1;
}

.highlights-badge-count {
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(249,115,22,0.12);
    border: 1px solid rgba(249,115,22,0.18);
    color: #ffd2ac;
    font-weight: 700;
    font-size: 0.82rem;
}

.highlights-empty {
    padding: 16px;
    border-radius: 16px;
    border: 1px dashed rgba(255,255,255,0.08);
    color: #8ea1bb;
    font-size: 0.86rem;
}

.tone-neutral .highlights-meter-fill,
.tone-neutral.highlights-week-chip-dot,
.tone-neutral .highlights-mini-trail i,
.tone-neutral.highlights-mini-stat .highlights-meter-fill {
    background: linear-gradient(90deg, rgba(148,163,184,0.75), rgba(203,213,225,0.9));
}

.tone-warning,
.tone-critical {
    border-color: rgba(239, 68, 68, 0.24);
}

.tone-warning .highlights-meter-fill,
.tone-critical .highlights-meter-fill,
.tone-warning.highlights-week-chip-dot,
.tone-critical.highlights-week-chip-dot,
.tone-warning .highlights-mini-trail i,
.tone-critical .highlights-mini-trail i,
.tone-warning .highlights-hero-sigil-ring::before,
.tone-critical .highlights-hero-sigil-ring::before {
    background: linear-gradient(90deg, rgba(244,63,94,0.85), rgba(251,113,133,0.95));
}

.tone-surge {
    border-color: rgba(249, 115, 22, 0.22);
}

.tone-surge .highlights-meter-fill,
.tone-surge.highlights-week-chip-dot,
.tone-surge .highlights-mini-trail i,
.tone-surge .highlights-hero-sigil-ring::before {
    background: linear-gradient(90deg, rgba(249,115,22,0.82), rgba(251,191,36,0.95));
}

.tone-reward {
    border-color: rgba(250, 204, 21, 0.2);
}

.tone-reward .highlights-meter-fill,
.tone-reward.highlights-week-chip-dot,
.tone-reward .highlights-mini-trail i,
.tone-reward .highlights-hero-sigil-ring::before {
    background: linear-gradient(90deg, rgba(250,204,21,0.82), rgba(249,115,22,0.9));
}

.tone-cooldown,
.tone-steady {
    border-color: rgba(96, 165, 250, 0.2);
}

.tone-cooldown .highlights-meter-fill,
.tone-steady .highlights-meter-fill,
.tone-cooldown.highlights-week-chip-dot,
.tone-steady.highlights-week-chip-dot,
.tone-cooldown .highlights-mini-trail i,
.tone-steady .highlights-mini-trail i,
.tone-cooldown .highlights-hero-sigil-ring::before,
.tone-steady .highlights-hero-sigil-ring::before {
    background: linear-gradient(90deg, rgba(96,165,250,0.85), rgba(167,139,250,0.9));
}

.tone-warning .highlights-card-icon,
.tone-critical .highlights-card-icon,
.tone-warning .highlights-person-avatar,
.tone-critical .highlights-person-avatar,
.tone-warning .highlights-priority-glyph,
.tone-critical .highlights-priority-glyph,
.tone-warning.highlights-hero-sigil,
.tone-critical.highlights-hero-sigil {
    box-shadow: 0 12px 26px rgba(239, 68, 68, 0.14);
}

.tone-surge .highlights-card-icon,
.tone-surge .highlights-person-avatar,
.tone-surge .highlights-priority-glyph,
.tone-surge.highlights-hero-sigil {
    box-shadow: 0 12px 26px rgba(249, 115, 22, 0.14);
}

.tone-reward .highlights-card-icon,
.tone-reward .highlights-person-avatar,
.tone-reward .highlights-priority-glyph,
.tone-reward.highlights-hero-sigil {
    box-shadow: 0 12px 26px rgba(250, 204, 21, 0.14);
}

.tone-cooldown .highlights-card-icon,
.tone-cooldown .highlights-person-avatar,
.tone-cooldown .highlights-priority-glyph,
.tone-cooldown.highlights-hero-sigil,
.tone-steady .highlights-card-icon,
.tone-steady .highlights-person-avatar,
.tone-steady .highlights-priority-glyph,
.tone-steady.highlights-hero-sigil {
    box-shadow: 0 12px 26px rgba(96, 165, 250, 0.12);
}

@keyframes highlightsRise {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1320px) {
    .highlights-top-grid,
    .highlights-main-grid,
    .highlights-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .highlights-header {
        flex-direction: column;
    }

    .highlights-header-actions {
        min-width: 0;
        align-items: stretch;
    }

    .highlights-history-strip {
        justify-content: flex-start;
    }
}

@media (max-width: 820px) {
    .highlights-hero-lead {
        grid-template-columns: 1fr;
    }

    .highlights-hero-sigil {
        width: 82px;
        height: 82px;
    }

    .highlights-card-head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .highlights-card-meter-wrap {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .highlights-metric-grid,
    .highlights-hero-metrics {
        grid-template-columns: 1fr;
    }
}
