:root {
  --ink: #0b0616;
  --panel: #130b25;
  --panel-2: #1b1030;
  --line: #3d245e;
  --text: #f4f0fa;
  --muted: #afa1c6;
  --pink: #ee3e9d;
  --violet: #9c43f4;
  --cyan: #3be1bf;
  --gold: #f5c559;
}

* { box-sizing: border-box; }
html { background: var(--ink); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 75% -15%, #271344 0, transparent 36rem), var(--ink); }
a { color: inherit; }
button, select, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.site-header { border-bottom: 1px solid rgba(191, 135, 245, .22); background: rgba(11, 6, 22, .9); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); }
.header-inner { width: min(1420px, calc(100% - 48px)); margin: auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #e93d9a, #783be4); box-shadow: 0 0 22px rgba(224, 53, 171, .55); }
.brand-dot { width: 10px; height: 10px; background: #0b0616; border-radius: 50%; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 14px; letter-spacing: -.01em; }
.brand-copy small { color: var(--muted); font-size: 10px; }
.site-nav { display: flex; align-items: center; gap: 26px; color: #b6aaca; font-size: 13px; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav .active { color: #fff; }
.site-nav .nav-accent { border: 1px solid rgba(238, 62, 157, .7); padding: 10px 16px; border-radius: 999px; color: #ffd0e8; }
.sat-hero, .sat-layout, .catalog-section, .notes-section { width: min(1420px, calc(100% - 48px)); margin-inline: auto; }
.sat-hero { padding: 76px 0 46px; display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.eyebrow { color: var(--pink); font: 700 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin: 13px 0 18px; font-size: clamp(42px, 6vw, 76px); line-height: .97; letter-spacing: -.065em; }
h1 span { color: #ff75bd; }
.hero-copy p { max-width: 620px; color: #c7bad7; font-size: 16px; line-height: 1.65; margin-bottom: 0; }
.hero-meta { width: 260px; display: grid; gap: 11px; padding-bottom: 8px; color: #d7cce4; }
.hero-meta b { font-size: 13px; letter-spacing: .08em; }
.hero-meta small { color: var(--muted); line-height: 1.45; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 6px 10px; border: 1px solid rgba(59, 225, 191, .35); border-radius: 999px; color: #9cf4dc; font: 700 10px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; }
.live-pill i, .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 11px var(--cyan); display: inline-block; }
.sat-layout { display: grid; grid-template-columns: 315px minmax(0, 1fr); gap: 18px; align-items: stretch; }
.control-panel { border: 1px solid var(--line); background: linear-gradient(150deg, rgba(29, 15, 51, .98), rgba(14, 8, 26, .98)); padding: 22px; border-radius: 16px; min-height: 690px; }
.panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid rgba(177, 125, 225, .18); margin-bottom: 20px; }
.panel-heading h2 { font-size: 25px; margin: 7px 0 0; letter-spacing: -.04em; }
.source-badge { color: #f8d381; background: rgba(245, 197, 89, .1); border: 1px solid rgba(245, 197, 89, .2); border-radius: 999px; padding: 5px 7px; font: 700 9px ui-monospace, monospace; }
.source-badge.noaa { color: #8be8ff; background: rgba(59, 190, 225, .1); border-color: rgba(89, 213, 245, .28); }
.field-label { display: block; color: #c4b5d4; font-size: 11px; font-weight: 700; margin-bottom: 8px; }
.product-select { width: 100%; border: 1px solid #49336a; background: #1a2130; color: var(--text); padding: 11px 12px; border-radius: 8px; outline: none; }
.product-select:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(238, 62, 157, .13); }
.product-description { color: #a99bb9; font-size: 11px; line-height: 1.5; min-height: 34px; margin: 11px 0 20px; }
.resolution-card { margin: -8px 0 20px; padding: 12px; border: 1px solid rgba(59, 225, 191, .28); border-radius: 10px; background: rgba(59, 225, 191, .06); }
.resolution-card > div:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.resolution-card span { color: #8ee9d2; font: 700 9px ui-monospace, monospace; letter-spacing: .1em; }
.resolution-card strong { color: #effffb; font: 700 11px ui-monospace, monospace; text-align: right; }
.resolution-card p { margin: 7px 0 10px; color: #b5a9c4; font-size: 10px; line-height: 1.45; }
.resolution-card.coarse { border-color: rgba(245, 197, 89, .42); background: rgba(245, 197, 89, .07); }
.resolution-card.coarse span { color: #f5cf79; }
.resolution-card.mixed { border-color: rgba(126, 200, 255, .38); background: rgba(126, 200, 255, .06); }
.resolution-card.mixed span { color: #9ed8ff; }
.detail-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.detail-shortcuts button { cursor: pointer; padding: 7px 6px; border: 1px solid #4a2a67; border-radius: 7px; background: #1b1030; color: #dbcfea; font-size: 9px; }
.detail-shortcuts button:hover { border-color: var(--pink); color: #fff; }
.control-block { border-top: 1px solid rgba(177, 125, 225, .16); padding-top: 17px; margin-top: 17px; }
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.zone-grid button, .button, .zoom-controls button { cursor: pointer; border: 1px solid #4a2a67; background: #1b1030; color: #dbcfea; border-radius: 7px; padding: 8px 6px; font-size: 10px; transition: .18s ease; }
.zone-grid button:hover, .zone-grid button.active { border-color: var(--pink); color: #fff; background: rgba(238, 62, 157, .13); }
.range-line { display: flex; align-items: center; justify-content: space-between; }
.range-line .field-label { margin-bottom: 4px; }
output { color: #ff97ca; font: 700 10px ui-monospace, monospace; }
input[type="range"] { display: block; width: 100%; accent-color: var(--pink); margin: 3px 0 14px; }
.toggle-row { display: flex; align-items: center; gap: 10px; padding: 13px 0; cursor: pointer; }
.toggle-row input { position: absolute; opacity: 0; }
.toggle-ui { width: 32px; height: 18px; background: #342448; border: 1px solid #62447e; border-radius: 999px; position: relative; flex: 0 0 auto; }
.toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; border-radius: 50%; background: #9583a9; transition: .18s ease; }
.toggle-row input:checked + .toggle-ui { background: rgba(238, 62, 157, .75); border-color: #ff75bd; }
.toggle-row input:checked + .toggle-ui::after { left: 17px; background: #fff; }
.toggle-row b, .toggle-row small { display: block; }
.toggle-row b { font-size: 11px; }
.toggle-row small { color: #a99bb9; font-size: 10px; margin-top: 3px; }
.action-row { display: flex; gap: 8px; border-top: 1px solid rgba(177, 125, 225, .16); padding-top: 18px; }
.button { font-weight: 700; padding: 10px 11px; }
.button-primary { border-color: transparent; background: linear-gradient(100deg, #8e3fe7, #ef3c9e); color: white; flex: 1; }
.button-primary:hover { filter: brightness(1.15); }
.button-ghost { flex: 1; }
.product-key { border-top: 1px solid rgba(177, 125, 225, .16); margin-top: 20px; padding-top: 17px; color: #aca0bc; font-size: 10px; }
.key-title { display: block; color: #e5d9ee; font-weight: 700; margin-bottom: 9px; }
.product-key p { margin: 7px 0; display: flex; align-items: center; gap: 8px; }
.key-swatch { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.key-swatch.visible { background: #f7cf6b; }.key-swatch.cold { background: #7ec8ff; }.key-swatch.lightning { background: #fdfdfd; box-shadow: 0 0 8px white; }
.viewer-column { min-width: 0; }
.viewer-toolbar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; background: #120a21; }
.viewer-toolbar span { display: block; color: #fff; font-size: 14px; font-weight: 700; }.viewer-toolbar small { display: block; color: #aa9aba; font-size: 10px; margin-top: 4px; }
.zoom-controls { display: flex; align-items: center; gap: 7px; }.zoom-controls button { width: 30px; height: 30px; padding: 0; font-size: 20px; line-height: 1; }.zoom-controls button:hover { border-color: var(--pink); color: #fff; }.zoom-controls output { min-width: 43px; text-align: center; color: #c8b9d9; }.zoom-controls .native-zoom { width: auto; min-width: 38px; padding: 0 7px; font: 700 10px ui-monospace, monospace; color: #9cf4dc; border-color: rgba(59, 225, 191, .35); }
.sat-viewer { min-height: 720px; position: relative; overflow: hidden; background: #34363a; border: 1px solid var(--line); cursor: grab; outline: none; }
.sat-viewer:active { cursor: grabbing; }
.scene { position: absolute; inset: 0; transform-origin: center center; will-change: transform; user-select: none; }
.tile-stage { position: absolute; left: 50%; top: 50%; transform-origin: center center; pointer-events: none; will-change: transform; }
.tile-stage[hidden] { display: none; }
.sat-tile { position: absolute; width: 678px; height: 678px; max-width: none; object-fit: fill; pointer-events: none; user-select: none; z-index: 1; }
.overview-tile { z-index: 0; }
.detail-tile { opacity: 1; }
.overlay-stage { z-index: 2; mix-blend-mode: screen; }
.tile-stage:not(.overlay-stage) { z-index: 1; }
.tile-stage.map-stage { z-index: 3; opacity: 1; mix-blend-mode: normal; }
.tile-stage.map-stage .border-tile { z-index: 3; opacity: .2; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .85)); }
.tile-stage.map-stage.fallback-border-stage .border-tile { opacity: .78; }
.administrative-stage { z-index: 4 !important; overflow: visible; }
.administrative-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.administrative-boundaries { fill: none; stroke: rgba(255, 255, 255, .78); stroke-width: .82; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .9)); }
.capital-marker { fill: #c72cff; stroke: rgba(255, 255, 255, .96); stroke-width: .7; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 2px rgba(118, 0, 174, .95)); }
.capital-markers.is-hidden { display: none; }
.capital-toggle { border-top: 1px solid rgba(177, 125, 225, .16); }
.night-lift { display: none !important; }
.trp-watermark { position: absolute; inset: -12% -10%; display: flex; flex-direction: column; justify-content: space-around; transform: rotate(-22deg); pointer-events: none; color: rgba(255, 255, 255, .11); font: 800 clamp(26px, 4vw, 58px)/1 ui-monospace, monospace; letter-spacing: .3em; white-space: nowrap; }
.trp-watermark span:nth-child(2) { margin-left: 10%; color: rgba(238, 62, 157, .12); }
.viewer-loading, .viewer-message { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; background: rgba(3, 2, 7, .86); color: #e4d9ef; font-size: 12px; z-index: 4; }
.viewer-message { color: #ffc5df; padding: 30px; text-align: center; line-height: 1.55; }
.viewer-message[hidden] { display: none; }
.spinner { width: 23px; height: 23px; border: 2px solid #63477d; border-top-color: var(--pink); border-radius: 50%; animation: spin .8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.viewer-credit { position: absolute; left: 12px; bottom: 11px; z-index: 3; color: rgba(255, 255, 255, .7); font: 9px ui-monospace, monospace; text-shadow: 0 1px 3px #000; pointer-events: none; }
.drag-hint { position: absolute; right: 12px; bottom: 11px; z-index: 3; color: rgba(255, 255, 255, .55); font-size: 9px; pointer-events: none; }
.viewer-footer { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 13px; color: #9f91b1; font: 10px ui-monospace, monospace; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px; background: #120a21; }
.viewer-footer > span:first-child { display: flex; align-items: center; gap: 7px; }.viewer-footer a { color: #ff80bd; text-decoration: none; }.viewer-footer a:hover { text-decoration: underline; }
.sat-colorbar { margin-top: 10px; padding: 11px 14px 13px; border: 1px solid var(--line); border-radius: 12px; background: #120a21; }
.sat-colorbar[hidden] { display: none; }
.sat-colorbar > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.sat-colorbar strong { font-size: 11px; color: #f4f0fa; }
.sat-colorbar span { font: 9px ui-monospace, monospace; color: #a99bb9; }
.sat-colorbar img { display: block; width: 100%; min-height: 12px; object-fit: fill; image-rendering: auto; }
.timeline-panel { margin-top: 10px; padding: 14px 16px 11px; border: 1px solid var(--line); border-radius: 12px; background: #120a21; }
.timeline-head { display: flex; align-items: center; gap: 12px; }
.timeline-head > div { min-width: 0; flex: 1; }
.timeline-title { display: block; color: #f4f0fa; font-size: 12px; font-weight: 700; }
.timeline-head small { display: block; color: #aa9aba; font-size: 10px; margin-top: 3px; }
.timeline-play { flex: 0 0 auto; padding: 8px 12px; }
.timeline-head output { min-width: 52px; text-align: right; }
#frameSlider { margin: 12px 0 4px; }
.timeline-times { display: flex; justify-content: space-between; gap: 8px; color: #a99bb9; font: 9px ui-monospace, monospace; }
.timeline-times span:nth-child(2) { color: #ff97ca; text-align: center; }
.catalog-section { padding: 92px 0 72px; }.section-title { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 27px; }.section-title h2, .notes-section h2 { font-size: clamp(26px, 4vw, 42px); letter-spacing: -.05em; margin: 10px 0 0; }.section-title p { max-width: 470px; color: #b8aac6; line-height: 1.6; font-size: 13px; margin: 0; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.catalog-card { min-height: 130px; padding: 17px; border: 1px solid #3a2356; border-radius: 12px; background: rgba(21, 11, 37, .8); }.catalog-card.ready { border-color: rgba(59, 225, 191, .26); }.catalog-card.pending { border-color: rgba(245, 197, 89, .25); }.catalog-card h3 { margin: 12px 0 7px; font-size: 13px; }.catalog-card p { color: #a99bb9; font-size: 11px; line-height: 1.5; margin: 0; }.card-state { display: inline-flex; gap: 6px; align-items: center; color: #99ead4; font: 700 9px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; }.pending .card-state { color: #f3cf82; }.card-state i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.notes-section { border-top: 1px solid #3a2356; padding: 45px 0 90px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }.notes-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; color: #b9abc8; font-size: 12px; line-height: 1.65; }.notes-copy p { margin: 0; }.site-footer { border-top: 1px solid #3a2356; width: min(1420px, calc(100% - 48px)); margin: auto; padding: 22px 0 32px; display: flex; justify-content: space-between; gap: 15px; color: #9688a9; font-size: 10px; }.site-footer a { color: #f08bbe; text-decoration: none; }
@media (max-width: 980px) { .sat-layout { grid-template-columns: 1fr; }.control-panel { min-height: 0; }.product-key { display: none; }.sat-viewer { min-height: 72vw; }.catalog-grid { grid-template-columns: 1fr 1fr; }.notes-section { grid-template-columns: 1fr; gap: 22px; }.notes-copy { grid-template-columns: 1fr 1fr; } }
@media (max-width: 650px) { .header-inner, .sat-hero, .sat-layout, .catalog-section, .notes-section, .site-footer { width: min(100% - 26px, 1420px); }.site-header { position: static; }.site-nav { gap: 10px; font-size: 11px; }.site-nav a:not(.nav-accent) { display: none; }.sat-hero { padding: 45px 0 30px; display: block; }.hero-meta { width: auto; margin-top: 27px; }.viewer-toolbar { min-height: 63px; }.sat-viewer { min-height: 105vw; }.viewer-footer { flex-wrap: wrap; padding: 10px 12px; }.sat-colorbar > div { display: grid; }.drag-hint { display: none; }.catalog-grid, .notes-copy { grid-template-columns: 1fr; }.section-title { display: block; }.section-title p { margin-top: 16px; }.site-footer { flex-wrap: wrap; } }
