.hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 18px;
}

.panel,
.stat-card,
.table-card {
    background: var(--panel, rgba(255,255,255,.085));
    border: 1px solid var(--panel-border, rgba(255,255,255,.12));
    border-radius: var(--radius, 24px);
    box-shadow: 0 24px 80px rgba(0,0,0,.16);
}

.panel {
    padding: 24px;
}

.page-kicker {
    color: #facc15;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}

h1 {
    margin: 0 0 12px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: .95;
    letter-spacing: -.06em;
}

.lead {
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.5;
    max-width: 640px;
}

.latest-box {
    display: grid;
    gap: 14px;
}

.latest-title {
    color: #aeb4bc;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.latest-value {
    font-size: clamp(42px, 6vw, 72px);
    line-height: .9;
    letter-spacing: -.05em;
    font-weight: 300;
}

.latest-detail {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

.bolt-visual {
    width: 76px;
    height: 96px;
    background: #facc15;
    clip-path: polygon(48% 0, 100% 0, 64% 40%, 100% 40%, 30% 100%, 48% 53%, 10% 53%);
    filter: drop-shadow(0 0 24px rgba(250,204,21,.75));
    margin-left: auto;
}

.notice-panel {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 15px 17px;
    border-radius: 22px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
}

.notice-panel strong {
    display: block;
    color: #f8fafc;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 3px;
}

.notice-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 10px;
    background: rgba(250,204,21,.14);
    color: #fde68a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 950;
}

.filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    padding: 14px;
}

.filter-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-link {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #e5e7eb;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.filter-link.is-active {
    background: #f8fafc;
    color: #07111f;
}

.table-card {
    overflow: hidden;
}

.table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.table-title {
    font-size: 18px;
    font-weight: 900;
}

.table-sub {
    color: #aeb4bc;
    font-size: 13px;
    font-weight: 700;
}

.event-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.16);
}

.event-lightning {
    color: #fef3c7;
    background: rgba(250,204,21,.18);
    border-color: rgba(250,204,21,.28);
}

.event-disturber {
    color: #fed7aa;
    background: rgba(251,146,60,.16);
    border-color: rgba(251,146,60,.28);
}

.event-noise {
    color: #fecaca;
    background: rgba(248,113,113,.15);
    border-color: rgba(248,113,113,.26);
}

.event-unknown {
    color: #cbd5e1;
    background: rgba(148,163,184,.12);
    border-color: rgba(203,213,225,.16);
}

.empty {
    padding: 34px 20px;
    color: #aeb4bc;
    font-weight: 800;
    text-align: center;
}

.mobile-list {
    display: none;
}

.event-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    padding: 14px;
}

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

.event-time {
    color: #f8fafc;
    font-size: 15px;
    font-weight: 900;
}

.event-ago {
    color: #aeb4bc;
    font-size: 12px;
    font-weight: 700;
    margin-top: 3px;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.event-mini {
    background: rgba(15,23,42,.22);
    border-radius: 14px;
    padding: 10px;
}

.event-mini-label {
    color: #aeb4bc;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 5px;
}

.event-mini-value {
    color: #f8fafc;
    font-size: 15px;
    font-weight: 900;
}

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

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

@media (max-width: 760px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .desktop-table {
        display: none;
    }

    .mobile-list {
        display: grid;
        gap: 12px;
        padding: 14px;
    }
}

@media (max-width: 430px) {
    .hero,
    .stats-grid,
    .filters,
    .table-card {
        margin-left: 18px;
        margin-right: 18px;
    }

    .panel,
    .stat-card,
    .table-card {
        box-shadow: none;
    }

    .panel {
        padding: 18px;
    }

    .filters {
        display: grid;
    }

    .filter-link {
        flex: 1 1 auto;
    }

    .table-card {
        margin-bottom: 28px;
    }
}