/*
 * Category page shell and legacy component styles.
 * Extracted from public/category.html so page styling is auditable and cacheable.
 * Space Watch command-console refinements live in spacewatch.css and load after this file.
 */

:root {
    --primary: #0066cc;
    --primary-hover: #0052a3;
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    padding-top: 12px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-title-skeleton {
    display: inline-block;
    width: 9rem;
    height: 1em;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.14), rgba(148, 163, 184, 0.32), rgba(148, 163, 184, 0.14));
    background-size: 220% 100%;
    animation: category-skeleton-shimmer 1.2s ease-in-out infinite;
    vertical-align: -0.08em;
}

.page-title-skeleton-small {
    width: 5rem;
    height: 0.75em;
}

@keyframes category-skeleton-shimmer {
    to { background-position: -220% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .page-title-skeleton { animation: none; }
}

body.spacewatch-page {
    --spacewatch-page-gutter: 20px;
    background-color: #0a0a1a;
    background-image: url('/assets/images/72hour.jpg');
    background-position: left top;
    background-repeat: repeat;
    background-size: auto;
    background-attachment: fixed;
}

body.spacewatch-page .container {
    max-width: 1400px;
    padding: var(--spacewatch-page-gutter);
}

.spacewatch-page-header {
    margin-bottom: 10px;
    padding: 5px 0;
    display: block;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
}

.spacewatch-page-header .brand-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.spacewatch-page-header .main-title-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 0;
}

.spacewatch-page-header .main-title {
    width: auto;
    white-space: nowrap;
    word-break: keep-all;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #fff;
    line-height: 1.15;
}

.spacewatch-page-header .spacewatch-title-tabs {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    flex: 0 1 auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    scrollbar-width: none;
}

.spacewatch-page-header .spacewatch-title-tabs::-webkit-scrollbar {
    display: none;
}

.spacewatch-page-header .title-27 {
    color: #ef4444;
    font-size: 33px;
    font-weight: 900;
    font-family: "IBM Plex Mono", "Space Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    line-height: 1;
    flex: 0 0 auto;
}

.spacewatch-page-header .title-spacewatch {
    color: #ef4444;
    font-size: 33px;
    font-weight: 900;
    line-height: 1;
    flex: 0 0 auto;
}

.spacewatch-page-header .header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-top: 0;
    padding-bottom: 0;
}

.spacewatch-page-header .meta-info,
.spacewatch-page-header .update-info,
.spacewatch-page-header .timezone-selector-container {
    display: flex;
    align-items: center;
}

.spacewatch-page-header .meta-info {
    gap: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.spacewatch-page-header .update-info,
.spacewatch-page-header .timezone-selector-container {
    gap: 8px;
}

.spacewatch-page-header .timezone-selector-container {
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 8px;
}

.spacewatch-page-header .sub-nav-select {
    padding: 0 5px 1px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    max-width: min(260px, 54vw);
    text-align: center;
    text-align-last: center;
    white-space: nowrap;
}

.spacewatch-page-header .sub-nav-select:focus {
    outline: none;
    border-bottom-color: #fff;
}

.spacewatch-page-header .sub-nav-select option {
    background: #111;
    color: #fff;
    text-align: center;
}

.spacewatch-heading-reader {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.page-header h1 {
    color: #fff;
    font-size: 1.6rem;
    margin: 10px 0 0 0;
    font-weight: 700;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: block;
    text-align: left;
    margin: 0;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #fff;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.spacewatch-modules {
    max-width: 1400px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.spacewatch-modules.spacewatch-tabbed {
    display: block;
}

.spacewatch-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 12px;
    padding: 8px;
    border: 1px solid rgba(35, 225, 232, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(35, 225, 232, 0.08), rgba(255, 255, 255, 0.02) 36%, rgba(141, 220, 75, 0.06)),
        rgba(5, 12, 22, 0.64);
}

.spacewatch-tab-button,
.spacewatch-mode-button,
.spacewatch-play-button {
    border: 1px solid rgba(35, 225, 232, 0.24);
    border-radius: 4px;
    background:
        linear-gradient(180deg, rgba(35, 225, 232, 0.10), rgba(35, 225, 232, 0.035)),
        rgba(4, 13, 23, 0.82);
    color: rgba(246, 248, 250, 0.82);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 8px 12px;
    text-transform: uppercase;
}

.spacewatch-tab-button.is-active,
.spacewatch-mode-button.is-active,
.spacewatch-play-button.is-active {
    border-color: rgba(141, 220, 75, 0.62);
    background: rgba(141, 220, 75, 0.13);
    color: #f6f8fa;
    box-shadow: 0 0 18px rgba(141, 220, 75, 0.12);
}

.spacewatch-tab-panel[hidden] {
    display: none;
}

.spacewatch-tab-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.spacewatch-recent-layout,
.spacewatch-coronal-layout {
    display: grid;
    grid-template-columns: minmax(330px, 0.92fr) minmax(0, 1.08fr);
    gap: 14px;
    align-items: start;
}

.spacewatch-recent-layout {
    grid-template-areas:
        "sun controls"
        "timeline timeline";
}

.spacewatch-coronal-layout {
    grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
    grid-template-areas:
        "coronal controls"
        "timeline timeline";
}

.spacewatch-recent-timeline {
    grid-area: timeline;
    position: relative;
    padding: 12px 12px 10px;
    border: 1px solid rgba(35, 225, 232, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(24, 208, 214, 0.08), transparent 22%, transparent 78%, rgba(255, 77, 109, 0.05)),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 9.8%),
        rgba(1, 7, 14, 0.58);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
}

.spacewatch-recent-timeline::before,
.spacewatch-solar-console::before,
.spacewatch-hud-panel::before {
    content: "";
    position: absolute;
    inset: 7px;
    pointer-events: none;
    border: 1px solid rgba(141, 220, 75, 0.08);
    clip-path: polygon(0 0, 72px 0, 72px 1px, 100% 1px, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.spacewatch-recent-timeline-head,
.spacewatch-time-dock-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
    margin: 0 0 8px;
    color: rgba(246, 248, 250, 0.62);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.spacewatch-recent-timeline-head strong,
.spacewatch-time-dock-head strong {
    color: #f6f8fa;
    font-size: 0.86rem;
}

.spacewatch-solar-console {
    grid-area: sun;
    position: relative;
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(35, 225, 232, 0.17);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 44%, rgba(255, 175, 67, 0.12), transparent 44%),
        linear-gradient(180deg, rgba(7, 18, 31, 0.76), rgba(1, 6, 13, 0.72));
    overflow: hidden;
}

.spacewatch-coronal-console {
    grid-area: coronal;
    position: relative;
    display: grid;
    place-items: center;
    min-height: 540px;
    padding: 18px;
    border: 1px solid rgba(35, 225, 232, 0.17);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 44%, rgba(24, 208, 214, 0.13), transparent 42%),
        linear-gradient(180deg, rgba(7, 18, 31, 0.76), rgba(1, 6, 13, 0.74));
    overflow: hidden;
}

.spacewatch-coronal-console::before {
    content: "";
    position: absolute;
    inset: 10px;
    pointer-events: none;
    border: 1px solid rgba(35, 225, 232, 0.14);
    clip-path: polygon(0 0, 90px 0, 90px 1px, 100% 1px, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.spacewatch-coronal-console::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(0deg, transparent 0 9px, rgba(103,232,249,0.035) 9px 10px),
        repeating-linear-gradient(90deg, transparent 0 31px, rgba(103,232,249,0.045) 31px 32px);
    opacity: 0.42;
}

.spacewatch-coronal-reticle {
    position: absolute;
    inset: 50%;
    width: min(92%, 570px);
    aspect-ratio: 1;
    translate: -50% -50%;
    pointer-events: none;
    border-radius: 50%;
    background:
        repeating-conic-gradient(from -90deg, rgba(103, 232, 249, 0.45) 0 1deg, transparent 1deg 8deg),
        radial-gradient(circle, transparent 64%, rgba(32, 247, 196, 0.18) 65%, transparent 66%),
        radial-gradient(circle, transparent 78%, rgba(255,255,255,0.16) 79%, transparent 80%);
    opacity: 0.24;
    mask-image: radial-gradient(circle, transparent 0 57%, #000 58% 100%);
}

.spacewatch-coronal-caption {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    color: rgba(246, 248, 250, 0.52);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.spacewatch-solar-canvas-wrap {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 390px;
}

.spacewatch-solar-canvas {
    width: min(100%, 440px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #05070c;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35), 0 0 34px rgba(255, 178, 72, 0.14);
}

.spacewatch-solar-reticle {
    position: absolute;
    inset: 50%;
    width: min(100%, 486px);
    aspect-ratio: 1;
    translate: -50% -50%;
    pointer-events: none;
    border-radius: 50%;
    background:
        repeating-conic-gradient(from -90deg, rgba(141, 220, 75, 0.54) 0 1deg, transparent 1deg 7.5deg),
        radial-gradient(circle, transparent 66%, rgba(35, 225, 232, 0.22) 67%, transparent 68%),
        radial-gradient(circle, transparent 80%, rgba(255,255,255,0.20) 81%, transparent 82%);
    opacity: 0.22;
    mask-image: radial-gradient(circle, transparent 0 54%, #000 55% 100%);
}

.spacewatch-time-dock {
    position: relative;
    display: grid;
    gap: 7px;
    padding: 11px 12px;
    border: 1px solid rgba(35, 225, 232, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(35,225,232,0.10), rgba(255,255,255,0.02)),
        rgba(0, 7, 15, 0.74);
}

.spacewatch-time-ticks {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    color: rgba(246, 248, 250, 0.46);
    font-size: 0.66rem;
    font-weight: 700;
}

.spacewatch-coronal-time-ticks {
    color: rgba(210, 235, 255, 0.5);
    font-size: clamp(0.56rem, 1vw, 0.66rem);
    line-height: 1.25;
    margin-top: 4px;
}

.spacewatch-time-ticks span {
    text-align: center;
}

.spacewatch-time-ticks span:first-child {
    text-align: left;
}

.spacewatch-time-ticks span:last-child {
    text-align: right;
}

.spacewatch-recent-controls,
.spacewatch-coronal-controls {
    display: grid;
    gap: 10px;
}

.spacewatch-recent-controls {
    grid-area: controls;
}

.spacewatch-coronal-controls {
    grid-area: controls;
}

.spacewatch-mode-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.spacewatch-date-rail {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 7px;
}

.spacewatch-date-cell {
    min-width: 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 4px;
    background:
        linear-gradient(180deg, rgba(35, 225, 232, 0.08), rgba(255,255,255,0.025)),
        rgba(255, 255, 255, 0.025);
    color: rgba(246, 248, 250, 0.78);
    cursor: pointer;
    font-size: 0.68rem;
    padding: 9px 6px 8px;
    text-align: center;
    overflow: hidden;
}

.spacewatch-date-cell::before {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    top: 5px;
    height: 2px;
    background: var(--date-accent, rgba(35, 225, 232, 0.42));
    opacity: 0.7;
}

.spacewatch-date-cell[disabled],
.spacewatch-date-cell.is-disabled {
    cursor: not-allowed;
    opacity: 0.34;
}

.spacewatch-date-cell.is-active {
    border-color: rgba(141, 220, 75, 0.62);
    background:
        linear-gradient(180deg, rgba(141, 220, 75, 0.14), rgba(35, 225, 232, 0.05)),
        rgba(141, 220, 75, 0.07);
    color: #fff;
    box-shadow: 0 0 18px rgba(141, 220, 75, 0.10);
}

.spacewatch-date-cell strong,
.spacewatch-date-cell span,
.spacewatch-date-cell em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spacewatch-date-cell strong {
    margin-top: 4px;
    font-size: 0.78rem;
}

.spacewatch-date-cell em {
    color: rgba(246, 248, 250, 0.42);
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 800;
}

.spacewatch-date-cell span {
    color: rgba(246, 248, 250, 0.58);
    font-size: 0.64rem;
    margin-top: 3px;
}

.spacewatch-time-slider,
.spacewatch-date-slider,
.spacewatch-coronal-slider {
    width: 100%;
    accent-color: #8ddc4b;
}

.spacewatch-date-slider {
    margin-top: 9px;
}

.spacewatch-time-slider,
.spacewatch-date-slider,
.spacewatch-coronal-slider {
    height: 22px;
    background: transparent;
}

.spacewatch-time-slider::-webkit-slider-runnable-track,
.spacewatch-date-slider::-webkit-slider-runnable-track,
.spacewatch-coronal-slider::-webkit-slider-runnable-track {
    height: 8px;
    border: 1px solid rgba(35, 225, 232, 0.22);
    border-radius: 999px;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.22) 0 1px, transparent 1px 10%),
        linear-gradient(90deg, rgba(35,225,232,0.22), rgba(141,220,75,0.28));
}

.spacewatch-time-slider::-webkit-slider-thumb,
.spacewatch-date-slider::-webkit-slider-thumb,
.spacewatch-coronal-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -6px;
    border: 2px solid #f6f8fa;
    border-radius: 50%;
    background: var(--date-accent, #8ddc4b);
    box-shadow: 0 0 16px var(--date-accent, rgba(141,220,75,0.36));
}

.spacewatch-time-slider::-moz-range-track,
.spacewatch-date-slider::-moz-range-track,
.spacewatch-coronal-slider::-moz-range-track {
    height: 8px;
    border: 1px solid rgba(35, 225, 232, 0.22);
    border-radius: 999px;
    background: rgba(35,225,232,0.22);
}

.spacewatch-time-slider::-moz-range-thumb,
.spacewatch-date-slider::-moz-range-thumb,
.spacewatch-coronal-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 2px solid #f6f8fa;
    border-radius: 50%;
    background: var(--date-accent, #8ddc4b);
}

.spacewatch-hud-panel {
    position: relative;
    padding: 12px;
    border: 1px solid rgba(35, 225, 232, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(35,225,232,0.08), transparent 38%),
        rgba(2, 8, 17, 0.68);
}

.spacewatch-recent-legend {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.spacewatch-legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: rgba(246, 248, 250, 0.72);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.spacewatch-legend-swatch {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--legend-color, #18d0d6);
    box-shadow: 0 0 12px var(--legend-glow, rgba(24, 208, 214, 0.36));
}

.spacewatch-insight-panel {
    display: grid;
    gap: 10px;
}

.spacewatch-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.spacewatch-stat {
    padding: 9px;
    border: 1px solid rgba(35, 225, 232, 0.15);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
}

.spacewatch-stat b {
    display: block;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.7rem;
}

.spacewatch-stat span {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 1.12rem;
    font-weight: 800;
}

.spacewatch-event-list {
    display: grid;
    gap: 8px;
}

.spacewatch-event-row {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(246, 248, 250, 0.82);
    cursor: pointer;
    display: grid;
    gap: 4px;
    padding: 9px;
    text-align: left;
    overflow: hidden;
}

.spacewatch-event-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--row-accent, rgba(35,225,232,0.45));
    opacity: 0.86;
}

.spacewatch-event-row.is-active {
    border-color: rgba(141, 220, 75, 0.62);
    box-shadow: inset 0 0 0 1px rgba(141, 220, 75, 0.12);
}

.spacewatch-cme-chart {
    width: 100%;
    min-height: 220px;
    border: 1px solid rgba(35, 225, 232, 0.16);
    border-radius: 4px;
    background: rgba(1, 5, 12, 0.64);
}

.spacewatch-coronal-sun {
    width: min(100%, 520px);
    aspect-ratio: 1;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 20px rgba(6, 182, 212, 0.28));
}

.spacewatch-coronal-slider {
    --date-accent: #18d0d6;
}

@media (max-width: 920px) {
    .spacewatch-recent-layout {
        grid-template-areas:
            "sun"
            "timeline"
            "controls";
    }

    .spacewatch-coronal-layout {
        grid-template-areas:
            "coronal"
            "controls"
            "timeline";
    }

    .spacewatch-recent-layout,
    .spacewatch-coronal-layout {
        grid-template-columns: 1fr;
    }

    .spacewatch-date-rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .spacewatch-recent-legend {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.spacewatch-card {
    position: relative;
    padding: 14px;
    border: 1px solid rgba(35, 225, 232, 0.22);
    border-radius: 12px;
    background: rgba(5, 12, 22, 0.58);
    text-align: left;
}

.spacewatch-label {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
}

.spacewatch-value {
    margin: 0;
    color: #f6f8fa;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.15;
}

.spacewatch-note {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.78rem;
    line-height: 1.45;
}

.spacewatch-solar-map-card,
.spacewatch-metric-row-card {
    grid-column: 1 / -1;
}

.spacewatch-solar-map-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.spacewatch-sun-figure {
    margin: 0;
}

.spacewatch-sun-svg {
    display: block;
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #05070c;
}

.spacewatch-sun-label {
    fill: #3bff68;
    stroke: rgba(0, 0, 0, 0.88);
    stroke-width: 3px;
    paint-order: stroke;
    font-size: 15px;
    font-weight: 900;
}

.spacewatch-sun-axis {
    fill: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 800;
}

.spacewatch-sun-region-list {
    display: grid;
    gap: 8px;
}

.spacewatch-sun-region-row {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 8px;
    align-items: center;
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(246, 248, 250, 0.84);
    font-size: 0.78rem;
}

.spacewatch-sun-region-row b {
    color: #f6f8fa;
    font-variant-numeric: tabular-nums;
}

.spacewatch-sun-region-row span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spacewatch-sun-region-row em {
    color: rgba(255, 255, 255, 0.58);
    font-style: normal;
    font-variant-numeric: tabular-nums;
}

.spacewatch-sun-region-row.is-complex-moderate span {
    color: #ffd75a;
}

.spacewatch-sun-region-row.is-complex-high span {
    color: #ff5f6d;
}

.spacewatch-metric-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 10px;
}

.spacewatch-metric-cell {
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(35, 225, 232, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
}

.spacewatch-metric-cell b {
    display: block;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    line-height: 1.2;
    white-space: nowrap;
}

.spacewatch-metric-cell span {
    display: block;
    margin-top: 5px;
    color: #f6f8fa;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.18;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.spacewatch-metric-cell em {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.72rem;
    font-style: normal;
    line-height: 1.25;
}

.spacewatch-flare-summary {
    grid-column: 1 / -1;
}

.flare-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 10px 0;
}

.flare-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(35, 225, 232, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
}

.flare-item.flare-class-c {
    border-color: rgba(255, 255, 255, 0.24);
}

.flare-item.flare-class-m {
    border-color: rgba(255, 213, 79, 0.42);
    background: rgba(255, 213, 79, 0.055);
}

.flare-item.flare-class-x {
    border-color: rgba(255, 152, 0, 0.48);
    background: rgba(255, 152, 0, 0.07);
}

.flare-level {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.56);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.flare-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #f6f8fa;
    margin: 4px 0;
}

.flare-class-c .flare-value,
.spacewatch-flare-event.flare-class-c .spacewatch-flare-event-time strong {
    color: #f6f8fa;
}

.flare-class-m .flare-value,
.spacewatch-flare-event.flare-class-m .spacewatch-flare-event-time strong {
    color: #ffd54f;
}

.flare-class-x .flare-value,
.spacewatch-flare-event.flare-class-x .spacewatch-flare-event-time strong {
    color: #ff9800;
}

.flare-unit {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.48);
}

.spacewatch-flare-event-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.spacewatch-flare-event {
    padding: 12px;
    border: 1px solid rgba(35, 225, 232, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
}

.spacewatch-flare-event.has-earth-component {
    border-color: rgba(255, 48, 64, 0.58);
    background: linear-gradient(180deg, rgba(255, 48, 64, 0.14), rgba(255, 255, 255, 0.025));
    box-shadow: inset 0 0 0 1px rgba(255, 48, 64, 0.12), 0 0 18px rgba(255, 48, 64, 0.12);
}

.spacewatch-flare-event.spacewatch-cme-event {
    background: rgba(255, 255, 255, 0.025);
}

.spacewatch-flare-event.spacewatch-cme-event.cme-kp-green {
    border-color: rgba(47, 210, 119, 0.62);
    box-shadow: inset 0 0 0 1px rgba(47, 210, 119, 0.12);
}

.spacewatch-flare-event.spacewatch-cme-event.cme-kp-yellow {
    border-color: rgba(255, 213, 79, 0.68);
    box-shadow: inset 0 0 0 1px rgba(255, 213, 79, 0.16);
}

.spacewatch-flare-event.spacewatch-cme-event.cme-kp-red {
    border-color: rgba(255, 48, 64, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 48, 64, 0.16), 0 0 18px rgba(255, 48, 64, 0.10);
}

.spacewatch-flare-event.flare-class-m {
    border-color: rgba(255, 213, 79, 0.32);
}

.spacewatch-flare-event.flare-class-x {
    border-color: rgba(255, 152, 0, 0.38);
}

.spacewatch-flare-event-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.spacewatch-flare-event-time {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spacewatch-flare-event-time strong {
    color: #f6f8fa;
    font-size: 0.98rem;
    line-height: 1.2;
}

.spacewatch-flare-event-time em {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    font-style: normal;
    line-height: 1.2;
}

.spacewatch-flare-event-duration {
    color: #8ddc4b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.spacewatch-flare-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.82rem;
}

.spacewatch-flare-event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.spacewatch-flare-event-meta b {
    color: rgba(255, 255, 255, 0.52);
    font-weight: 700;
}

.spacewatch-cme-earth-alert {
    color: #fff4f4;
    border: 1px solid rgba(255, 48, 64, 0.58);
    border-radius: 999px;
    padding: 4px 8px;
    background: rgba(255, 48, 64, 0.18);
    font-weight: 800;
}

.spacewatch-cme-earth-alert b {
    color: #ff9ba6;
}

.spacewatch-cme-note-toggle {
    border: 1px solid rgba(35, 225, 232, 0.26);
    border-radius: 999px;
    background: rgba(35, 225, 232, 0.08);
    color: #dffbff;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-top: 10px;
    padding: 6px 10px;
}

.spacewatch-cme-note-toggle:hover,
.spacewatch-cme-note-toggle:focus-visible {
    border-color: rgba(35, 225, 232, 0.54);
    outline: none;
}

.spacewatch-cme-note-body {
    display: none;
    margin-top: 8px;
}

.spacewatch-cme-note-body.is-open {
    display: block;
}

.spacewatch-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(35, 225, 232, 0.22);
    border-radius: 8px;
    background:
        radial-gradient(520px 240px at 10% 0%, rgba(35, 225, 232, 0.14), transparent 58%),
        radial-gradient(460px 220px at 92% 8%, rgba(141, 220, 75, 0.10), transparent 62%),
        linear-gradient(180deg, rgba(8, 19, 34, 0.92), rgba(4, 9, 18, 0.82));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
}

.spacewatch-panel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #18d0d6, #8ddc4b, #7c69ff);
    opacity: 0.85;
    box-shadow: 0 0 18px rgba(35, 225, 232, 0.28);
    z-index: 2;
}

.spacewatch-scanlines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.10;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.05) 1px,
        transparent 1px,
        transparent 4px
    );
}

.spacewatch-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.16);
}

.spacewatch-head > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
}

.spacewatch-head h2 {
    margin: 0;
    color: #f6f8fa;
    font-size: 1.02rem;
    line-height: 1.2;
    white-space: nowrap;
}

.spacewatch-head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.76rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spacewatch-badge {
    flex: 0 0 auto;
    border: 1px solid rgba(35, 225, 232, 0.32);
    border-radius: 999px;
    padding: 4px 9px;
    color: rgba(246, 248, 250, 0.86);
    background: rgba(35, 225, 232, 0.08);
    font-size: 0.72rem;
    white-space: nowrap;
}

.spacewatch-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.72rem;
}

.spacewatch-status.spacewatch-status-inline {
    margin: 14px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spacewatch-pill,
.spacewatch-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 25px;
    padding: 4px 9px;
    border: 1px solid rgba(35, 225, 232, 0.32);
    border-radius: 999px;
    color: rgba(246, 248, 250, 0.88);
    background: rgba(35, 225, 232, 0.08);
    white-space: nowrap;
}

.spacewatch-pill.good {
    border-color: rgba(141, 220, 75, 0.42);
    background: rgba(141, 220, 75, 0.10);
    box-shadow: 0 0 18px rgba(141, 220, 75, 0.10);
}

.spacewatch-pill.warn {
    border-color: rgba(255, 189, 61, 0.48);
    background: rgba(255, 189, 61, 0.10);
}

.spacewatch-pill.bad {
    border-color: rgba(255, 77, 109, 0.50);
    background: rgba(255, 77, 109, 0.10);
}

.spacewatch-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #18d0d6;
    box-shadow: 0 0 12px rgba(35, 225, 232, 0.48);
}

.spacewatch-dot::after {
    content: '';
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(35, 225, 232, 0.22);
    border-radius: inherit;
    animation: spacewatchPulse 1.8s ease-out infinite;
}

@keyframes spacewatchPulse {
    0% { transform: scale(0.65); opacity: 0.48; }
    70% { transform: scale(1.15); opacity: 0.12; }
    100% { transform: scale(1.24); opacity: 0; }
}

.spacewatch-body {
    padding: 14px;
    position: relative;
    z-index: 1;
}

.spacewatch-kp {
    display: grid;
    grid-template-columns: minmax(190px, 0.74fr) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.spacewatch-compass {
    position: relative;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(35, 225, 232, 0.20), transparent 26%),
        repeating-conic-gradient(from -90deg, rgba(255,255,255,0.22) 0deg 1deg, transparent 1deg 10deg),
        conic-gradient(from -90deg, #18d0d6 0deg 150deg, #8ddc4b 150deg 220deg, #ffbd3d 220deg 285deg, #ff4d6d 285deg 360deg);
    box-shadow:
        0 0 36px rgba(35, 225, 232, 0.16),
        inset 0 0 0 16px rgba(5, 12, 22, 0.88),
        inset 0 0 0 17px rgba(255, 255, 255, 0.10);
}

.spacewatch-compass::after {
    content: '';
    position: absolute;
    inset: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(5, 12, 22, 0.78);
}

.spacewatch-needle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44%;
    height: 3px;
    transform-origin: 0 50%;
    transform: rotate(-90deg);
    background: linear-gradient(90deg, #f6f8fa, rgba(35, 225, 232, 0.72));
    border-radius: 999px;
    z-index: 2;
    transition: transform 0.7s ease;
    box-shadow: 0 0 12px rgba(35, 225, 232, 0.32);
}

.spacewatch-kp-value {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #f6f8fa;
    font-size: 2.2rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 18px rgba(35, 225, 232, 0.28);
}

.spacewatch-kp-value::after {
    content: '';
    display: none;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: none;
}

.spacewatch-kp-meta {
    display: grid;
    gap: 8px;
}

.spacewatch-kp-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.spacewatch-kp-state {
    border: 1px solid rgba(35, 225, 232, 0.30);
    border-radius: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.035);
}

.spacewatch-kp-state b {
    display: block;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.72rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.spacewatch-kp-state span {
    display: block;
    margin-top: 3px;
    color: #f6f8fa;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.15;
}

.spacewatch-meter {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.spacewatch-meter span {
    display: block;
    height: 100%;
    width: var(--value, 0%);
    background: linear-gradient(90deg, #18d0d6, #8ddc4b, #ffbd3d, #ff4d6d);
    transition: opacity 180ms ease, filter 180ms ease;
}

.spacewatch-kp-scale {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 3px;
    align-items: end;
}

.spacewatch-kp-seg {
    height: 14px;
    border-radius: 3px;
    opacity: 0.28;
    background: #18d0d6;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.spacewatch-kp-seg.on {
    opacity: 0.95;
    box-shadow: 0 0 12px rgba(35, 225, 232, 0.16);
}

.spacewatch-kp-console {
    position: relative;
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid rgba(35, 225, 232, 0.20);
    border-radius: 12px;
    background:
        radial-gradient(560px 360px at 74% 18%, rgba(141, 220, 75, 0.10), transparent 58%),
        radial-gradient(420px 260px at 22% 24%, rgba(35, 225, 232, 0.08), transparent 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.spacewatch-kp-console-head {
    position: relative;
    z-index: 2;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 64px 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.14);
}

.spacewatch-kp-console-title h3 {
    margin: 0;
    color: #eaf0ff;
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.spacewatch-kp-console-title p {
    max-width: 330px;
    margin: 14px 0 0;
    color: rgba(234, 240, 255, 0.70);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: clamp(0.86rem, 1.4vw, 1.08rem);
    font-weight: 700;
    line-height: 1.2;
}

.spacewatch-info-button {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(35, 225, 232, 0.38);
    border-radius: 50%;
    background: rgba(35, 225, 232, 0.10);
    color: rgba(234, 240, 255, 0.95);
    box-shadow: 0 0 14px rgba(35, 225, 232, 0.14);
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.spacewatch-info-button:hover,
.spacewatch-chart-button:hover {
    border-color: rgba(141, 220, 75, 0.50);
    background: rgba(141, 220, 75, 0.12);
}

.spacewatch-kp-console-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}

.spacewatch-kp-console-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(35, 225, 232, 0.42);
    border-radius: 999px;
    background: rgba(35, 225, 232, 0.08);
    color: rgba(234, 240, 255, 0.92);
    box-shadow: 0 0 22px rgba(35, 225, 232, 0.14);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: clamp(0.95rem, 1.8vw, 1.22rem);
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.spacewatch-kp-console-body {
    position: relative;
    z-index: 1;
    padding: 20px clamp(14px, 2vw, 24px) 18px;
}

.spacewatch-kp-console .spacewatch-compass {
    width: min(430px, 92%);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.90)),
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.06), transparent 40%),
        radial-gradient(circle at 50% 70%, rgba(35, 225, 232, 0.08), transparent 52%);
    box-shadow: 0 18px 58px rgba(0, 0, 0, 0.56);
}

.spacewatch-kp-console .spacewatch-compass::before {
    content: '';
    position: absolute;
    inset: 8%;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 0 0 1px rgba(35, 225, 232, 0.04);
}

.spacewatch-kp-console .spacewatch-compass::after {
    content: '';
    position: absolute;
    inset: -12%;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 50%, rgba(35, 225, 232, 0.12), transparent 38%),
        radial-gradient(circle at 50% 50%, rgba(124, 105, 255, 0.08), transparent 58%),
        conic-gradient(from 180deg, rgba(35, 225, 232, 0), rgba(35, 225, 232, 0.08), rgba(141, 220, 75, 0.06), rgba(255, 77, 109, 0.07), rgba(35, 225, 232, 0));
    opacity: 0.88;
    filter: blur(8px);
    animation: spacewatchSlowSpin 14s linear infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}

@keyframes spacewatchSlowSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spacewatch-kp-ring,
.spacewatch-kp-ticks,
.spacewatch-kp-outer-segs,
.spacewatch-kp-active-segment,
.spacewatch-kp-ring-svg,
.spacewatch-kp-center {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    pointer-events: none;
}

.spacewatch-kp-ring {
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03), transparent 62%),
        radial-gradient(circle at 50% 50%, transparent 63%, rgba(35, 225, 232, 0.10) 64%, transparent 66%),
        radial-gradient(circle at 50% 50%, transparent 72%, rgba(255, 255, 255, 0.12) 73%, transparent 74%);
}

.spacewatch-kp-ticks {
    background:
        radial-gradient(circle at 50% 50%, transparent 60%, rgba(255, 255, 255, 0.12) 60.5%, transparent 61%),
        repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.18) 0deg 0.95deg, transparent 0.95deg 40deg);
    opacity: 0.72;
}

.spacewatch-kp-outer-segs,
.spacewatch-kp-active-segment {
    inset: 4%;
    mask: radial-gradient(circle at 50% 50%, transparent 58%, black 59%, black 82%, transparent 83%);
}

.spacewatch-kp-outer-segs {
    background: conic-gradient(
        #28f0ff 0deg 40deg,
        #00e0c0 40deg 80deg,
        #00ff80 80deg 120deg,
        #80ff40 120deg 160deg,
        #ffea00 160deg 200deg,
        #ff9f00 200deg 240deg,
        #ff4d4d 240deg 280deg,
        #c80064 280deg 320deg,
        #9f004d 320deg 360deg
    );
    opacity: 0.30;
}

.spacewatch-kp-active-segment {
    z-index: 2;
    opacity: 0.96;
    mix-blend-mode: screen;
    transition: background 0.55s ease, filter 0.55s ease;
}

.spacewatch-kp-ring-svg {
    z-index: 3;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.spacewatch-kp-ring-svg text {
    font-size: 1.9px;
    font-weight: 900;
    letter-spacing: 0.08px;
    fill: rgba(234, 240, 255, 0.82);
    paint-order: stroke;
    stroke: rgba(0, 0, 0, 0.58);
    stroke-width: 0.32px;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.74));
    text-transform: uppercase;
}

.spacewatch-kp-center {
    inset: 15%;
    z-index: 4;
    background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.65));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
    overflow: hidden;
}

.spacewatch-kp-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 50% 50%, rgba(35, 225, 232, 0.14), rgba(124, 105, 255, 0.10) 40%, rgba(255, 77, 109, 0.06) 65%, transparent 75%);
    filter: blur(6px);
    opacity: 0.92;
    mix-blend-mode: screen;
    animation: spacewatchHalo 3.6s ease-in-out infinite alternate;
}

@keyframes spacewatchHalo {
    0% { transform: translateY(6px) scale(1); }
    100% { transform: translateY(-8px) scale(1.06); }
}

.spacewatch-kp-rose {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, transparent 49.5%, rgba(255,255,255,0.10) 50%, transparent 50.5%),
        linear-gradient(to bottom, transparent 49.5%, rgba(255,255,255,0.10) 50%, transparent 50.5%),
        radial-gradient(circle at 50% 50%, transparent 0 47%, rgba(35, 225, 232, 0.06) 48%, transparent 49%);
    opacity: 0.65;
}

.spacewatch-needle-wrap {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 8;
}

.spacewatch-kp-console .spacewatch-needle {
    position: relative;
    left: auto;
    top: auto;
    width: 92%;
    height: 2px;
    transform-origin: 50% 50%;
    transition: transform 0.8s ease;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 0 12px rgba(35, 225, 232, 0.35));
}

.spacewatch-kp-console .spacewatch-needle::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 52%;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, #28f0ff, #b4ff39);
    box-shadow: 0 0 14px rgba(40, 240, 255, 0.34);
    border-radius: 999px;
}

.spacewatch-kp-console .spacewatch-needle::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 12px;
    background: #b4ff39;
    clip-path: polygon(0 0, 100% 50%, 0 100%, 32% 50%);
    filter: drop-shadow(0 0 10px rgba(180,255,57,0.4));
}

.spacewatch-needle-core {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.9), rgba(35,225,232,0.75) 30%, rgba(0,0,0,0) 75%), rgba(10,12,18,0.95);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 0 16px rgba(35,225,232,0.34);
    z-index: 9;
}

.spacewatch-needle-shadow {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 92%;
    height: 1px;
    transform-origin: 0% 50%;
    background: linear-gradient(90deg, rgba(35,225,232,0), rgba(35,225,232,0.22), transparent);
    filter: blur(1px);
    opacity: 0.75;
    z-index: 5;
}

.spacewatch-kp-center-meta {
    position: absolute;
    inset: 0;
    transform: none;
    text-align: center;
    z-index: 10;
    padding: 0 12px;
    pointer-events: none;
}

.spacewatch-kp-console .spacewatch-kp-value {
    position: absolute;
    left: 50%;
    top: calc(47% - 15px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
    align-items: center;
    width: min(58%, 154px);
    transform: translate(-50%, -50%);
    color: var(--kp-color, #28f0ff);
    font-size: clamp(2.65rem, 12vw, 4.7rem);
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: 0;
    text-shadow:
        0 1px 0 rgba(255,255,255,0.24),
        0 2px 0 rgba(255,255,255,0.10),
        0 7px 14px rgba(0,0,0,0.58),
        0 0 18px rgba(40,240,255,0.38),
        0 0 30px rgba(40,240,255,0.22);
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.35));
}

.spacewatch-kp-value span {
    display: block;
    min-width: 0;
}

.spacewatch-kp-value-whole {
    grid-column: 1;
    text-align: right;
}

.spacewatch-kp-value-fraction {
    grid-column: 3;
    text-align: left;
}

.spacewatch-kp-console .spacewatch-kp-value::after {
    display: none;
}

.spacewatch-kp-label {
    position: absolute;
    left: 50%;
    top: 57%;
    width: 100%;
    margin-top: 0;
    transform: translateX(-50%);
    color: rgba(234, 240, 255, 0.88);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.2;
}

.spacewatch-kp-level {
    --state-color: #28f0ff;
    --state-glow: rgba(40,240,255,0.16);
    position: absolute;
    left: 50%;
    top: 67%;
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 25px;
    margin-top: 0;
    padding: 4px 12px;
    transform: translateX(-50%);
    overflow: hidden;
    border-left: 1px solid color-mix(in srgb, var(--state-color) 55%, transparent);
    border-right: 1px solid color-mix(in srgb, var(--state-color) 35%, transparent);
    border-radius: 6px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--state-color) 8%, transparent), transparent), rgba(0,0,0,0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 14px var(--state-glow);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.spacewatch-kp-level::before {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--state-color), transparent);
    opacity: 0.55;
}

.spacewatch-kp-level::after {
    content: '';
    display: none;
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--state-color) 16%, transparent), transparent);
    transform: translateX(-135%);
    animation: spacewatchSlotSweep 3.2s linear infinite;
    opacity: 0.65;
}

@keyframes spacewatchSlotSweep {
    from { transform: translateX(-135%); }
    to { transform: translateX(135%); }
}

.spacewatch-kp-level-label,
.spacewatch-kp-level-state {
    position: relative;
    z-index: 1;
}

.spacewatch-kp-level-label {
    color: rgba(234, 240, 255, 0.48);
}

.spacewatch-kp-level-state {
    color: var(--state-color);
    font-weight: 900;
    text-shadow: 0 0 12px var(--state-glow);
}

.spacewatch-kp-bar {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
}

.spacewatch-kp-bar h3 {
    margin: 0 0 12px;
    color: #eaf0ff;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 900;
    line-height: 1;
}

.spacewatch-kp-track {
    position: relative;
    height: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 0;
    background: rgba(0, 0, 0, 0.36);
}

.spacewatch-kp-console .spacewatch-kp-scale {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 2px;
    padding: 2px;
}

.spacewatch-kp-console .spacewatch-kp-seg {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    opacity: 1;
    transition: opacity 0.35s ease, filter 0.35s ease;
    filter: saturate(1.12);
}

.spacewatch-kp-console .spacewatch-kp-seg.on {
    opacity: 1;
    filter: saturate(1.25);
    box-shadow: 0 0 18px rgba(35,225,232,0.10);
}

.spacewatch-kp-pointer {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 0%;
    width: 2px;
    height: 30px;
    transform: translate(-50%, -50%);
    border-radius: 0;
    background: rgba(234, 240, 255, 0.78);
    box-shadow: 0 0 18px rgba(234, 240, 255, 0.22);
    transition: left 0.65s ease;
}

.spacewatch-kp-pointer-readout {
    position: relative;
    height: 54px;
    margin-top: 5px;
    color: rgba(234, 240, 255, 0.72);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.68rem;
}

.spacewatch-kp-pointer-label {
    position: absolute;
    left: 0%;
    top: 0;
    display: grid;
    gap: 4px;
    min-width: 116px;
    transform: translateX(-50%);
    text-align: center;
    transition: left 0.65s ease;
}

.spacewatch-kp-pointer-value {
    color: #f6f8fa;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
}

.spacewatch-kp-pointer-time,
.spacewatch-kp-pointer-note {
    color: rgba(234, 240, 255, 0.56);
    line-height: 1.25;
}

[data-spacewatch="kpTime"] {
    display: none;
}

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

.spacewatch-table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.spacewatch-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 0;
    table-layout: fixed;
    color: rgba(246, 248, 250, 0.88);
    font-size: 0.82rem;
    background: rgba(5, 12, 22, 0.78) !important;
}

.spacewatch-table th,
.spacewatch-table td {
    padding: 11px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    vertical-align: middle;
    background-color: transparent !important;
    color: rgba(246, 248, 250, 0.88) !important;
}

.spacewatch-table tr {
    background-color: rgba(5, 12, 22, 0.58) !important;
}

.spacewatch-table th {
    color: rgba(246, 248, 250, 0.78);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: left;
    background: rgba(0, 0, 0, 0.14);
}

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

.spacewatch-table .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.spacewatch-table th:first-child,
.spacewatch-table td:first-child {
    width: 32%;
}

.spacewatch-table th:last-child,
.spacewatch-table td:last-child {
    width: 132px;
    text-align: center;
}

.spacewatch-metric-label-cell {
    position: relative;
    padding-right: 34px !important;
}

.spacewatch-metric-name {
    display: block;
    color: #f6f8fa;
    font-weight: 800;
    line-height: 1.15;
}

.spacewatch-metric-unit {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.72rem;
}

.spacewatch-now {
    color: #6ee6ff;
    font-weight: 800;
    text-shadow: 0 0 14px rgba(35, 225, 232, 0.22);
}

.spacewatch-now.is-status-safe { color: #2fd277; text-shadow: 0 0 14px rgba(47, 210, 119, 0.24); }
.spacewatch-now.is-status-watch { color: #f1c40f; text-shadow: 0 0 14px rgba(241, 196, 15, 0.24); }
.spacewatch-now.is-status-caution { color: #e67e22; text-shadow: 0 0 14px rgba(230, 126, 34, 0.24); }
.spacewatch-now.is-status-alert { color: #ff3040; text-shadow: 0 0 14px rgba(255, 48, 64, 0.24); }

.spacewatch-table .pd-status-light {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 7px;
    vertical-align: -1px;
}

.spacewatch-spark-cell {
    position: relative;
    min-width: 118px;
}

.spacewatch-card.is-wide {
    grid-column: 1 / -1;
}

.spacewatch-spark {
    width: 100%;
    height: 42px;
    margin-top: 10px;
    display: block;
}

.spacewatch-chart-button {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid rgba(35, 225, 232, 0.30);
    border-radius: 8px;
    background: rgba(35, 225, 232, 0.08);
    color: #6ee6ff;
    cursor: pointer;
}

.spacewatch-mini-chart-button {
    width: 100%;
    min-width: 112px;
    height: 34px;
    padding: 2px 4px;
}

.spacewatch-chart-button svg {
    width: 18px;
    height: 18px;
}

.spacewatch-mini-chart-button svg {
    width: 100%;
    height: 30px;
}

.spacewatch-info-dialog {
    position: fixed;
    inset: 0;
    z-index: 10010;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.62);
}

.spacewatch-info-dialog.is-open {
    display: flex;
}

.spacewatch-dialog-card {
    width: min(720px, 96vw);
    max-height: 86vh;
    overflow: auto;
    border: 1px solid rgba(35, 225, 232, 0.26);
    border-radius: 10px;
    background: rgba(6, 14, 26, 0.96);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.42);
    color: rgba(246, 248, 250, 0.88);
}

.spacewatch-dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.spacewatch-dialog-title {
    margin: 0;
    color: #f6f8fa;
    font-size: 1.08rem;
    line-height: 1.25;
}

.spacewatch-dialog-value {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
}

.spacewatch-dialog-close {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
}

.spacewatch-dialog-body {
    padding: 18px;
}

.spacewatch-dialog-body p {
    margin: 0;
    line-height: 1.65;
}

.spacewatch-full-chart {
    display: block;
    width: 100%;
    min-height: 260px;
}

.spacewatch-full-chart .axis {
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 1;
}

.spacewatch-full-chart .line {
    fill: none;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.spacewatch-full-chart .dot {
    fill: currentColor;
}

.spacewatch-full-chart text {
    fill: rgba(246, 248, 250, 0.58);
    font-size: 11px;
}

.spacewatch-clips {
    display: grid;
    gap: 10px;
}

.spacewatch-clip {
    display: block;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    color: #f6f8fa;
    text-decoration: none;
}

.spacewatch-clip strong {
    display: block;
    color: #f6f8fa;
    line-height: 1.25;
}

.spacewatch-clip span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    line-height: 1.4;
}

.spacewatch-muted {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.78rem;
    line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
    .spacewatch-needle,
    .spacewatch-meter span,
    .spacewatch-dot::after,
    .spacewatch-spark-cell::after {
        animation: none !important;
        transition: none !important;
    }
}

.timeline {
    position: relative;
    max-width: 980px;
    margin: 0 auto 40px auto;
    padding-left: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 170px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(35, 225, 232, 0.9), rgba(35, 225, 232, 0.25));
    box-shadow: 0 0 16px rgba(35, 225, 232, 0.2);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 140px 60px 1fr;
    align-items: flex-start;
    min-height: 108px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 0 14px 0 !important;
    padding: 16px 0 !important;
}

.timeline-date {
    grid-column: 1;
    display: block;
    text-align: right;
    padding: 4px 14px 0 0;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 1px;
    white-space: nowrap;
}

.timeline-date strong {
    display: block;
    font-size: clamp(1.3rem, 2vw, 1.3rem);
    line-height: 1;
    color: #f2f5f8;
    font-weight: 800;
    letter-spacing: 2px;
    white-space: nowrap;
}

.timeline-time {
    display: inline-block;
    margin-top: 8px;
    color: #20d7dd;
    font-size: 1rem;
    font-weight: 500;
}

.timeline-dot {
    position: relative;
    grid-column: 2;
    top: 13px;
    justify-self: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #05070f;
    border: 2px solid #18d0d6;
    box-shadow: 0 0 0 5px rgba(24, 208, 214, 0.2);
    z-index: 2;
}

.timeline-card {
    grid-column: 3;
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0 0 3rem 4rem;
    transition: background 0.18s ease;
    background: transparent;
    text-align: left;
}

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

.timeline-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.timeline-item.is-announcement .timeline-card {
    background: rgba(24, 208, 214, 0.08);
}

.timeline-title {
    margin: 0 0 8px 0;
    font-size: clamp(1.5rem, 2.3vw, 1.5rem);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: none;
    line-height: 1.08;
    text-align: left;
}

.timeline-title a,
.timeline-title span {
    color: #f6f8fa;
    text-decoration: none;
}

.timeline-title a:hover {
    color: #6ee6ff;
}

.timeline-meta {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    text-transform: uppercase;
    display: none;
}

.timeline-excerpt {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.45;
    max-width: 700px;
    font-size: 0.92rem;
    text-align: left;
}

.article-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.2s, background 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}

.article-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.article-title a {
    color: #fff;
    text-decoration: none;
}

.article-title a:hover {
    color: var(--primary);
}

.article-meta {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.article-excerpt {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 200, 100, 0.2);
    color: #00ff7f;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.empty-state h3 {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 40px 0;
}

.pagination button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination button:hover:not(:disabled) {
    background: var(--primary);
}

.pagination button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-info {
    color: rgba(255, 255, 255, 0.7);
}

.loading {
    text-align: center;
    padding: 25px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    body.spacewatch-page {
        --spacewatch-page-gutter: 6px;
    }

    body.spacewatch-page .container {
        width: 100%;
        max-width: none;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .spacewatch-page-header .brand-section {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
    }

    .spacewatch-page-header .header-right {
        align-items: center;
        gap: 4px;
    }

    .spacewatch-page-header .meta-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .spacewatch-page-header .timezone-selector-container {
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .spacewatch-page-header .title-27,
    .spacewatch-page-header .title-spacewatch {
        font-size: 32px;
    }

    .spacewatch-page-header .main-title-container {
        justify-content: center;
        width: 100%;
        overflow: visible;
        flex-wrap: wrap;
    }

    body.spacewatch-page .spacewatch-page-header .spacewatch-title-tabs {
        width: 100%;
        justify-content: center;
        overflow-x: auto;
    }

    body.spacewatch-page .spacewatch-page-header .spacewatch-title-tabs .spacewatch-tab-button {
        min-height: 34px;
        padding: 0 10px 1px;
        font-size: 13px;
        margin-left: -8px;
    }

    body.spacewatch-page .spacewatch-page-header .spacewatch-title-tabs .spacewatch-tab-button:first-child {
        margin-left: 0;
    }

    .spacewatch-modules {
        grid-template-columns: 1fr;
        gap: var(--spacewatch-page-gutter);
    }

    .spacewatch-head,
    .spacewatch-body,
    .spacewatch-kp-console-body {
        padding-right: var(--spacewatch-page-gutter);
        padding-left: var(--spacewatch-page-gutter);
    }

    .spacewatch-kp-console-head {
        padding-left: var(--spacewatch-page-gutter);
        padding-right: calc(var(--spacewatch-page-gutter) + 42px);
    }

    .spacewatch-kp {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .spacewatch-kp-console .spacewatch-compass {
        width: min(390px, 100%);
    }

    .spacewatch-kp-console .spacewatch-kp-value {
        font-size: clamp(2.35rem, 14vw, 4.1rem);
    }

    .spacewatch-grid {
        grid-template-columns: 1fr;
    }

    .spacewatch-solar-map-layout {
        grid-template-columns: 1fr;
    }

    .spacewatch-table {
        min-width: 620px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .timeline {
        max-width: 100%;
        padding-left: 12px;
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-item {
        display: block;
        min-height: 124px;
        margin-bottom: 18px !important;
    }

    .timeline-date {
        display: flex;
        align-items: baseline;
        gap: 12px;
        text-align: left;
        padding: 0 0 8px 14px;
    }

    .timeline-date strong {
        display: inline-block;
        font-size: clamp(1.3rem, 2vw, 1.3rem);
    }

    .timeline-dot {
        position: absolute;
        left: 8px;
        top: 29px;
        transform: translateX(-50%);
    }

    .timeline-card {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        padding: 0 0 22px 14px;
    }

    .timeline-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    body.spacewatch-page {
        --spacewatch-page-gutter: 12px;
    }

    .spacewatch-modules {
        grid-template-columns: 1fr;
    }

    .spacewatch-kp-console .spacewatch-compass {
        width: min(280px, 100%);
    }

    .spacewatch-needle {
        width: 38%;
    }

    .spacewatch-kp-console .spacewatch-needle {
        width: 80%;
    }

    .timeline::before {
        left: -7px;
    }

    .timeline {
        padding-left: 10px;
    }

    .timeline-dot {
        left: -17px;
    }

    .timeline-date strong {
        font-size: 1.3rem;
    }

    .timeline-time {
        font-size: 0.95rem;
    }

    .timeline-title {
        font-size: 1.5rem;
    }
}
