/*
 * Venus 3D Map - HUD, stage and article. ASCII only.
 * Palette and type are fixed by CONTRACT.md (muted v1.1 palette). Text always
 * sits on a solid container; white text on red is never used below 24px (red
 * carries black text); everything is uppercase except the article body, the
 * tooltips and the control hints. Accent fills are reserved for active or
 * primary states; headers are dark bars with an accent rule.
 * Venus palette: sulfur yellow, cream and burnt orange on warm charcoal.
 * Animations are slow, low-contrast transform/opacity only (plus the one-off
 * boot reveal and the info-panel wipe). prefers-reduced-motion switches every
 * decorative animation off at the bottom of this file.
 */
:root {
	--v3d-black: #000; --v3d-ink: #161310; --v3d-panel: #1f1b16; --v3d-line: #342d24;
	--v3d-white: #f1e8d2; --v3d-red: #e8643c; --v3d-orange: #d9742a; --v3d-yellow: #e8c547;
	--v3d-display: "Chakra Petch", "Arial Narrow", sans-serif;
	--v3d-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
	--v3d-dim: #bdb29b;
	--v3d-chip: #0f0d0a;
	--v3d-edge: #6b5230;
	--v3d-hover: #292219;
	--v3d-yellow-hi: #f2d466;
	--v3d-bar-h: 150px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--v3d-black); scroll-behavior: auto; }
body.v3d-body {
	margin: 0; background: var(--v3d-ink); color: var(--v3d-white);
	font-family: var(--v3d-mono); -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--v3d-yellow); outline-offset: 2px; }
.v3d-ic { flex: none; display: block; }

/* ------------------------------------------------------------------ stage */
.v3d-stage {
	position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden;
	background: var(--v3d-black); isolation: isolate;
}
.v3d-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.v3d-canvas {
	position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1;
	opacity: 0; touch-action: none; cursor: grab;
}
.v3d-canvas:active { cursor: grabbing; }
.v3d-canvas:focus-visible { outline-offset: -5px; }
.v3d-stage.is-ready .v3d-canvas { opacity: 1; animation: v3d-reveal 1.3s cubic-bezier(.65, 0, .25, 1) both; }
.v3d-canvas--2d { opacity: 1 !important; animation: none !important; background: transparent; }
.v3d-fallback {
	position: absolute; left: 0; top: 0; width: 2048px; height: 1024px; max-width: none; z-index: 1;
	transform-origin: 0 0; will-change: transform; pointer-events: none;
}
.v3d-stage.is-nogl-img .v3d-poster { display: none; }
.v3d-stage::after {
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: radial-gradient(ellipse at 50% 46%, transparent 62%, rgba(0, 0, 0, .4) 100%);
}
.v3d-noscript {
	position: absolute; left: 16px; right: 16px; bottom: 16px; margin: 0; padding: 14px 16px; z-index: 7;
	background: var(--v3d-chip); color: var(--v3d-white); border-left: 4px solid var(--v3d-red);
	font: 700 13px/1.6 var(--v3d-mono); text-transform: uppercase; letter-spacing: .04em;
}

/* ------------------------------------------------------------------ brand (server rendered) */
.v3d-brand {
	position: absolute; z-index: 4; left: 16px; top: 16px; width: 344px;
	padding: 10px 14px 12px; background: var(--v3d-chip); border-left: 4px solid var(--v3d-red);
	box-shadow: 0 0 0 1px var(--v3d-line);
}
.v3d-home {
	display: inline-block; color: var(--v3d-orange); font: 700 12px/1.4 var(--v3d-mono); letter-spacing: .08em;
	text-transform: uppercase; text-decoration: none; padding-bottom: 2px;
}
.v3d-home:hover { color: var(--v3d-yellow); }
.v3d-title {
	margin: 2px 0 4px; font: 700 34px/1.05 var(--v3d-display); letter-spacing: .03em; text-transform: uppercase;
	color: var(--v3d-white);
}
.v3d-sub {
	margin: 0; font: 400 12px/1.5 var(--v3d-mono); letter-spacing: .03em; text-transform: uppercase;
	color: var(--v3d-dim); max-width: 310px;
}

/* ------------------------------------------------------------------ hud shell */
.v3d-hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; visibility: hidden; }
.v3d-stage.is-ready .v3d-hud { visibility: visible; }
.v3d-panel, .v3d-search, .v3d-tabs { pointer-events: auto; }
/* panels sit above the selection reticle and markers (z-index 2-3 inside the labels layer) */
.v3d-layers, .v3d-info, .v3d-descent, .v3d-missions, .v3d-bar, .v3d-profile { z-index: 4; }

.v3d-panel {
	position: absolute; background-color: var(--v3d-ink); color: var(--v3d-white);
	background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px);
	border: 1px solid var(--v3d-line);
}
.v3d-panel::before {
	content: ""; position: absolute; inset: -4px; pointer-events: none; z-index: 2;
	background:
		linear-gradient(var(--v3d-yellow), var(--v3d-yellow)) 0 0 / 14px 2px no-repeat,
		linear-gradient(var(--v3d-yellow), var(--v3d-yellow)) 0 0 / 2px 14px no-repeat,
		linear-gradient(var(--v3d-edge), var(--v3d-edge)) 100% 100% / 14px 2px no-repeat,
		linear-gradient(var(--v3d-edge), var(--v3d-edge)) 100% 100% / 2px 14px no-repeat;
}

.v3d-stage.is-ready .v3d-layers { animation: v3d-in-l .7s .3s ease-out both; }
.v3d-stage.is-ready .v3d-bar { animation: v3d-in-b .7s .4s ease-out both; }
.v3d-stage.is-ready .v3d-search { animation: v3d-in-s .6s .5s ease-out both; }

/* ------------------------------------------------------------------ reticle */
.v3d-reticle {
	position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px;
	pointer-events: none; opacity: .42;
}
.v3d-reticle svg { display: block; overflow: visible; }
.v3d-ret-a { stroke: var(--v3d-yellow); animation: v3d-spin 140s linear infinite; }
.v3d-ret-b { stroke: var(--v3d-orange); animation: v3d-spin 90s linear infinite reverse; }
.v3d-ret-c { stroke: var(--v3d-white); }
.v3d-hud.is-modelonly .v3d-reticle { display: none; }

/* ------------------------------------------------------------------ shared bits */
.v3d-k { font: 700 11px/1.3 var(--v3d-mono); letter-spacing: .06em; color: var(--v3d-orange); text-transform: uppercase; }
.v3d-v { font: 700 16px/1.3 var(--v3d-mono); color: var(--v3d-white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.v3d-k__s { display: none; }
.v3d-hl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.v3d-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; overflow: hidden;
	height: 38px; padding: 0 14px; margin: 0; cursor: pointer; text-decoration: none; text-transform: uppercase;
	font: 700 13px/1 var(--v3d-display); letter-spacing: .06em;
	color: var(--v3d-white); background: var(--v3d-chip); border: 1px solid #8a7d69; border-radius: 0;
	transition: background-color .15s, border-color .15s;
}
.v3d-btn::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--v3d-yellow);
	transform: scaleX(0); transform-origin: left center; transition: transform .25s ease-out;
}
.v3d-btn:hover:not(:disabled) { background: var(--v3d-hover); border-color: var(--v3d-yellow); }
.v3d-btn:hover::after { transform: scaleX(1); }
.v3d-btn:active { transform: translateY(1px); }
.v3d-btn[aria-pressed="true"] { color: var(--v3d-black); background: var(--v3d-yellow); border-color: var(--v3d-yellow); }
.v3d-btn[aria-pressed="true"]:hover { background: var(--v3d-yellow-hi); }
.v3d-btn--s { height: 34px; padding: 0 10px; gap: 5px; }
.v3d-btn--go { color: var(--v3d-black); background: var(--v3d-yellow); border-color: var(--v3d-yellow); }
.v3d-btn--go:hover:not(:disabled) { background: var(--v3d-yellow-hi); border-color: var(--v3d-yellow-hi); }
.v3d-btn--x:hover:not(:disabled) { border-color: var(--v3d-red); }
.v3d-btn:disabled { color: var(--v3d-white); background: var(--v3d-line); border-color: var(--v3d-line); cursor: not-allowed; }

.v3d-ph {
	display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px 0 12px;
	background: var(--v3d-panel); color: var(--v3d-yellow); border-bottom: 1px solid var(--v3d-yellow);
}
.v3d-ph__t { margin: 0; font: 700 14px/1 var(--v3d-display); letter-spacing: .1em; text-transform: uppercase; }
.v3d-ph__n { margin-left: auto; font: 700 12px/1 var(--v3d-mono); letter-spacing: .04em; color: var(--v3d-white); }
.v3d-ph .v3d-btn { margin-left: 4px; height: 28px; padding: 0 9px; }

.v3d-chip {
	display: inline-block; padding: 5px 8px; font: 700 11px/1.2 var(--v3d-mono); letter-spacing: .06em; text-transform: uppercase;
	color: var(--v3d-white); background: var(--v3d-chip); border: 1px solid #8a7d69;
}
.v3d-chip--type { color: var(--v3d-orange); border-color: var(--v3d-orange); }
.v3d-chip--cat { color: var(--v3d-yellow); border-color: var(--v3d-yellow); }
.v3d-chip--active { color: var(--v3d-black); background: var(--v3d-yellow); border-color: var(--v3d-yellow); }
.v3d-chip--ended { color: var(--v3d-white); background: var(--v3d-chip); border-color: var(--v3d-white); }
.v3d-chip--planned { color: var(--v3d-yellow); border-color: var(--v3d-yellow); border-style: dashed; }
.v3d-chip--failed { color: var(--v3d-black); background: var(--v3d-red); border-color: var(--v3d-red); }

/* ------------------------------------------------------------------ layers panel */
.v3d-layers {
	left: 16px; top: 172px; width: 272px; max-height: calc(100% - 172px - var(--v3d-bar-h) - 30px);
	display: flex; flex-direction: column;
}
.v3d-all {
	display: grid; grid-template-columns: 20px 1fr auto auto; align-items: center; gap: 9px; width: 100%; height: 44px; margin: 0;
	padding: 0 8px 0 12px; border: 0; border-bottom: 1px solid var(--v3d-line); border-radius: 0; background: var(--v3d-chip);
	color: var(--v3d-white); text-align: left; cursor: pointer; font: 700 13px/1 var(--v3d-display); letter-spacing: .06em; text-transform: uppercase;
}
.v3d-all:hover { background: var(--v3d-hover); }
.v3d-all:focus-visible { outline-offset: -3px; }
.v3d-all__c { font: 700 12px/1 var(--v3d-mono); color: var(--v3d-orange); font-variant-numeric: tabular-nums; }
.v3d-all__s { display: grid; place-items: center; min-width: 52px; height: 24px; padding: 0 6px; font: 700 11px/1 var(--v3d-mono); letter-spacing: .04em; background: var(--v3d-line); color: var(--v3d-white); }
.v3d-all[aria-pressed="true"] .v3d-all__s { background: var(--v3d-yellow); color: var(--v3d-black); }
.v3d-all[aria-pressed="mixed"] .v3d-all__s { background: var(--v3d-chip); color: var(--v3d-yellow); box-shadow: inset 0 0 0 1px var(--v3d-yellow); }
.v3d-lpanels { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 10px; background: var(--v3d-chip); border-bottom: 1px solid var(--v3d-line); }
.v3d-lpanels .v3d-btn { height: 34px; padding: 0 8px; }
.v3d-lyr-sub { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "l v" "r r"; gap: 2px 10px; align-items: center; padding: 6px 12px 4px; background: var(--v3d-chip); border-bottom: 1px solid var(--v3d-line); border-left: 3px solid var(--v3d-yellow); }
.v3d-lyr-sub label { grid-area: l; }
.v3d-lyr-sub .v3d-v { grid-area: v; font-size: 13px; }
.v3d-lyr-sub .v3d-range { grid-area: r; width: 100%; height: 24px; }
.v3d-lyr-list { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--v3d-edge) var(--v3d-black); }
.v3d-gh {
	margin: 0; padding: 0; font: 700 11px/1 var(--v3d-mono); letter-spacing: .08em; text-transform: uppercase;
	background: var(--v3d-chip); color: var(--v3d-orange); border-bottom: 1px solid var(--v3d-edge); border-top: 1px solid var(--v3d-line);
}
.v3d-gh span { display: block; padding: 7px 12px 6px; }
.v3d-lyr {
	position: relative; display: grid; grid-template-columns: 22px 1fr auto 42px; align-items: center; gap: 9px;
	width: 100%; height: 30px; margin: 0; padding: 0 8px 0 12px; border: 0; border-bottom: 1px solid var(--v3d-line);
	background: var(--v3d-ink); color: var(--v3d-white); text-align: left; cursor: pointer; border-radius: 0;
	font: 700 13px/1 var(--v3d-display); letter-spacing: .06em; text-transform: uppercase;
}
.v3d-lyr::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--v3d-yellow);
	transform: scaleY(0); transition: transform .2s ease-out;
}
.v3d-lyr:hover:not(:disabled) { background: var(--v3d-hover); }
.v3d-lyr[aria-pressed="true"]::before { transform: scaleY(1); }
.v3d-lyr:focus-visible { outline-offset: -3px; }
.v3d-lyr__n { overflow: hidden; text-overflow: clip; white-space: nowrap; }
.v3d-lyr__c { font: 700 12px/1 var(--v3d-mono); letter-spacing: .02em; color: var(--v3d-orange); font-variant-numeric: tabular-nums; text-align: right; min-width: 38px; }
.v3d-lyr__s {
	display: grid; place-items: center; height: 22px; font: 700 11px/1 var(--v3d-mono); letter-spacing: .04em;
	background: var(--v3d-line); color: var(--v3d-white);
}
.v3d-lyr[aria-pressed="true"] .v3d-lyr__s { background: var(--v3d-yellow); color: var(--v3d-black); }
.v3d-lyr[aria-pressed="false"] { color: var(--v3d-dim); }
.v3d-lyr[aria-pressed="false"] .v3d-sw { opacity: .4; }
.v3d-lyr:disabled { color: var(--v3d-dim); cursor: not-allowed; }
.v3d-lyr:disabled .v3d-lyr__s { background: var(--v3d-line); color: var(--v3d-white); }

.v3d-sw { position: relative; width: 18px; height: 18px; display: block; }
.v3d-sw::before, .v3d-sw::after { content: ""; position: absolute; }
.v3d-sw--region::before { left: 0; right: 0; top: 7px; height: 4px; background: repeating-linear-gradient(90deg, var(--v3d-white) 0 4px, transparent 4px 6px); }
.v3d-sw--landmark::before { left: 4px; top: 4px; width: 10px; height: 10px; background: var(--v3d-yellow); transform: rotate(45deg); }
.v3d-sw--feature::before { left: 8px; top: 2px; width: 2px; height: 14px; background: var(--v3d-white); }
.v3d-sw--lander::before { inset: 3px; background: var(--v3d-red); }
.v3d-sw--balloon::before { left: 3px; top: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--v3d-white); }
.v3d-sw--balloon::after { left: 8px; top: 12px; width: 2px; height: 5px; background: var(--v3d-white); }
.v3d-sw--orbit::before { inset: 3px 0; border: 2px solid var(--v3d-yellow); border-radius: 50%; transform: rotate(-20deg); }
.v3d-sw--orbit::after { left: 12px; top: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--v3d-white); }
.v3d-sw--cloud::before { left: 1px; top: 7px; width: 16px; height: 8px; border-radius: 5px; background: var(--v3d-white); }
.v3d-sw--cloud::after { left: 5px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--v3d-white); }
.v3d-sw--grid::before { inset: 1px; border: 2px solid var(--v3d-white); background: linear-gradient(var(--v3d-white), var(--v3d-white)) 50% 0 / 2px 100% no-repeat, linear-gradient(var(--v3d-white), var(--v3d-white)) 0 50% / 100% 2px no-repeat; }
.v3d-sw--dn::before { inset: 1px; border-radius: 50%; border: 2px solid var(--v3d-white); background: linear-gradient(90deg, var(--v3d-white) 50%, var(--v3d-black) 50%); }
.v3d-sw--text::before { left: 1px; top: 1px; width: 16px; height: 16px; background: var(--v3d-white); }
.v3d-sw--text::after { left: 3px; top: 4px; width: 12px; height: 3px; background: var(--v3d-black); box-shadow: 0 5px 0 var(--v3d-black), 0 10px 0 -1px var(--v3d-black); }

/* ------------------------------------------------------------------ search */
.v3d-search {
	position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
	width: clamp(300px, calc(100vw - 880px), 480px);
}
.v3d-search__icon { display: none; }
.v3d-search__box { position: relative; display: flex; align-items: stretch; height: 44px; background: var(--v3d-chip); border: 1px solid var(--v3d-yellow); }
.v3d-search__lab {
	display: grid; place-items: center; padding: 0 12px; background: var(--v3d-panel); color: var(--v3d-yellow); border-right: 1px solid var(--v3d-yellow);
	font: 700 12px/1 var(--v3d-display); letter-spacing: .08em;
}
.v3d-search__in {
	flex: 1; min-width: 0; margin: 0; padding: 0 12px; border: 0; border-radius: 0; background: var(--v3d-chip); color: var(--v3d-white);
	font: 700 14px/1 var(--v3d-mono); letter-spacing: .04em; text-transform: uppercase;
}
.v3d-search__in::placeholder { color: var(--v3d-dim); opacity: 1; }
.v3d-search__in:focus-visible { outline: 2px solid var(--v3d-yellow); outline-offset: -5px; }
.v3d-search__key { align-self: center; margin-right: 10px; padding: 3px 7px; font: 700 12px/1 var(--v3d-mono); background: var(--v3d-line); color: var(--v3d-white); }
.v3d-search__list {
	position: absolute; left: -1px; right: -1px; top: 100%; margin: 6px 0 0; padding: 0; list-style: none;
	background: var(--v3d-chip); border: 1px solid var(--v3d-yellow); max-height: 360px; overflow-y: auto; z-index: 5;
}
.v3d-search__res, .v3d-search__none {
	display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n t" "c c"; column-gap: 10px; row-gap: 3px;
	min-height: 46px; padding: 7px 12px; cursor: pointer; border-bottom: 1px solid var(--v3d-line);
	color: var(--v3d-white); background: var(--v3d-chip);
}
.v3d-search__none { grid-template-columns: 1fr; font: 700 12px/1.5 var(--v3d-mono); cursor: default; }
.v3d-search__n { grid-area: n; font: 700 15px/1.25 var(--v3d-display); letter-spacing: .04em; }
.v3d-search__t { grid-area: t; align-self: center; font: 700 11px/1 var(--v3d-mono); letter-spacing: .06em; padding: 4px 6px; border: 1px solid var(--v3d-orange); color: var(--v3d-orange); }
.v3d-search__c { grid-area: c; font: 400 12px/1.3 var(--v3d-mono); letter-spacing: .03em; color: var(--v3d-dim); }
.v3d-search__res:hover { background: var(--v3d-hover); }
.v3d-search__res.is-active { background: var(--v3d-yellow); color: var(--v3d-black); }
.v3d-search__res.is-active .v3d-search__c { color: var(--v3d-black); }
.v3d-search__res.is-active .v3d-search__t { border-color: var(--v3d-black); color: var(--v3d-black); }

/* ------------------------------------------------------------------ info panel */
.v3d-info {
	right: 16px; top: 16px; width: 372px; display: flex; flex-direction: column;
	max-height: calc(100% - 16px - var(--v3d-bar-h) - 34px);
	clip-path: inset(0 0 0 100%); visibility: hidden; border-color: var(--v3d-edge);
	transition: clip-path .45s cubic-bezier(.7, 0, .2, 1), visibility 0s .45s;
}
.v3d-info.is-open { clip-path: inset(-8px); visibility: visible; transition: clip-path .45s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.v3d-info:focus-visible { outline: none; }
.v3d-info__scan { display: none; }
.v3d-info__body { padding: 14px 16px 6px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--v3d-edge) var(--v3d-black); }
.v3d-info__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.v3d-info__title {
	margin: 12px 0 10px; font: 700 31px/1.08 var(--v3d-display); letter-spacing: .02em; text-transform: uppercase;
	color: var(--v3d-white); overflow-wrap: anywhere; border-left: 4px solid var(--v3d-red); padding-left: 10px;
}
.v3d-info__grid { margin: 0 0 10px; padding: 0; }
.v3d-row { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--v3d-line); }
.v3d-row dt { font: 700 11px/1.5 var(--v3d-mono); letter-spacing: .06em; color: var(--v3d-orange); text-transform: uppercase; }
.v3d-row dd { margin: 0; font: 700 13px/1.5 var(--v3d-mono); letter-spacing: .02em; color: var(--v3d-white); font-variant-numeric: tabular-nums; text-transform: uppercase; overflow-wrap: anywhere; }
.v3d-sub { font-weight: 400; color: var(--v3d-dim); font-size: 12px; }
.v3d-row.is-wide { grid-template-columns: 1fr; gap: 3px; }
.v3d-row.is-key dd { color: var(--v3d-yellow); font-size: 15px; }
.v3d-row.is-key dd .v3d-sub { color: var(--v3d-white); font-size: 12px; }
.v3d-sub.is-hl { color: var(--v3d-yellow); font-weight: 700; }
.v3d-info__desc { margin: 0 0 10px; font: 400 12px/1.7 var(--v3d-mono); letter-spacing: .02em; color: var(--v3d-white); text-transform: uppercase; }
.v3d-info__src { margin: 0 0 8px; font: 700 12px/1.4 var(--v3d-mono); letter-spacing: .04em; }
.v3d-info__src a, .v3d-foot a { color: var(--v3d-yellow); }
.v3d-info__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 16px 14px; border-top: 1px solid var(--v3d-line); }
/* the right-hand dock: info, descent and missions never show together */
.v3d-descent, .v3d-missions {
	right: 16px; top: 16px; width: 424px; display: flex; flex-direction: column;
	max-height: calc(100% - 16px - var(--v3d-bar-h) - 34px);
	clip-path: inset(0 0 0 100%); visibility: hidden; border-color: var(--v3d-edge);
	transition: clip-path .45s cubic-bezier(.7, 0, .2, 1), visibility 0s .45s;
}
.v3d-missions { width: 408px; }
.v3d-descent.is-open, .v3d-missions.is-open { clip-path: inset(-8px); visibility: visible; transition: clip-path .45s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.v3d-descent:focus-visible, .v3d-missions:focus-visible { outline: none; }
.v3d-info__empty { display: none; margin: 0; padding: 18px 16px; font: 700 12px/1.6 var(--v3d-mono); letter-spacing: .04em; text-transform: uppercase; }

/* ------------------------------------------------------------------ telemetry bar */
.v3d-bar { left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; padding: 10px 14px; border-color: var(--v3d-edge); }
.v3d-bar__row { display: flex; align-items: stretch; gap: 14px; flex-wrap: wrap; }
.v3d-bar__tele { justify-content: flex-start; }
.v3d-bar__ctl { align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 8px; border-top: 1px solid var(--v3d-line); }
.v3d-grp { display: flex; align-items: stretch; background: var(--v3d-chip); border: 1px solid var(--v3d-line); flex: 1 1 auto; }
.v3d-grp--venus { flex: 2 1 auto; }
.v3d-grp__t {
	display: grid; place-items: center; padding: 6px 3px; background: var(--v3d-panel); color: var(--v3d-orange); border-right: 1px solid var(--v3d-edge);
	font: 700 10px/1 var(--v3d-mono); letter-spacing: .06em; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; min-width: 18px;
}
.v3d-cell { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 6px 12px; border-left: 1px solid var(--v3d-line); flex: 1 1 auto; }
.v3d-grp__t + .v3d-cell { border-left: 0; }
.v3d-cell--lat { min-width: 98px; } .v3d-cell--lon { min-width: 108px; } .v3d-cell--elev { min-width: 124px; }
.v3d-cell--alt { min-width: 150px; } .v3d-cell--lst { min-width: 150px; } .v3d-cell--sday { min-width: 190px; }
.v3d-cell--sun { min-width: 120px; }

.v3d-ctl { position: relative; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.v3d-ctl__t { font: 700 11px/1.3 var(--v3d-mono); letter-spacing: .06em; color: var(--v3d-orange); text-transform: uppercase; }
.v3d-ctl__b { display: flex; align-items: center; gap: 8px; min-height: 38px; }
.v3d-ctl--time { flex: 1 1 300px; max-width: 520px; }
.v3d-ctl--time .v3d-range { flex: 1 1 100px; min-width: 80px; }
.v3d-ctl--speed { flex: none; }
.v3d-btn--speed { padding: 0 9px; min-width: 56px; }
.v3d-ctl--exag { flex: 0 1 200px; }
.v3d-ctl--exag .v3d-range { width: 112px; }
.v3d-ctl--view, .v3d-ctl--measure, .v3d-ctl--share { flex: none; }
.v3d-bar__ctl > .v3d-btn--guide { flex: none; margin-bottom: 0; }
.v3d-tlabel { display: flex; flex-direction: column; gap: 1px; min-width: 96px; font-size: 16px; line-height: 1.15; color: var(--v3d-yellow); }
.v3d-tlabel i { font: 400 11px/1.2 var(--v3d-mono); font-style: normal; color: var(--v3d-dim); letter-spacing: .02em; }
.v3d-btn--mode { padding: 0; }
.v3d-seg { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 12px; background: var(--v3d-chip); color: var(--v3d-white); }
.v3d-seg.is-on { background: var(--v3d-yellow); color: var(--v3d-black); }
.v3d-btn--mode[aria-pressed="true"], .v3d-btn--mode:hover:not(:disabled) { background: var(--v3d-chip); color: var(--v3d-white); border-color: var(--v3d-yellow); }
.v3d-btn--mode[aria-pressed="true"] .v3d-seg.is-on { color: var(--v3d-black); }
.v3d-btn--mode:hover .v3d-seg:not(.is-on) { background: var(--v3d-hover); }

.v3d-range { -webkit-appearance: none; appearance: none; height: 26px; margin: 0; padding: 0; background: transparent; cursor: pointer; }
.v3d-range::-webkit-slider-runnable-track { height: 8px; background: repeating-linear-gradient(90deg, #6f6555 0 2px, #1a1612 2px 8px); border: 1px solid #6f6555; }
.v3d-range::-moz-range-track { height: 8px; background: repeating-linear-gradient(90deg, #6f6555 0 2px, #1a1612 2px 8px); border: 1px solid #6f6555; }
.v3d-range::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 22px; margin-top: -8px; background: var(--v3d-yellow); border: 2px solid var(--v3d-black); border-radius: 0; }
.v3d-range::-moz-range-thumb { width: 8px; height: 18px; background: var(--v3d-yellow); border: 2px solid var(--v3d-black); border-radius: 0; }
.v3d-range:focus-visible { outline: 2px solid var(--v3d-yellow); outline-offset: 2px; }
.v3d-range:hover::-webkit-slider-thumb { background: var(--v3d-yellow-hi); }

.v3d-compact, .v3d-tabs { display: none; }

.v3d-tip {
	position: absolute; left: 0; top: 0; z-index: 6; max-width: 300px; padding: 9px 12px; pointer-events: none;
	background: var(--v3d-hover); color: var(--v3d-white); border: 1px solid var(--v3d-yellow);
	font: 400 13px/1.45 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: 0;
	opacity: 0; transition: opacity .15s;
}
.v3d-tip.is-on { opacity: 1; }

/* ------------------------------------------------------------------ profile strip */
.v3d-profile {
	left: 308px; bottom: calc(16px + var(--v3d-bar-h) + 22px); width: clamp(360px, calc(100vw - 308px - 408px), 660px);
	visibility: hidden; opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .3s, transform .3s, visibility 0s .3s;
	border-color: var(--v3d-edge);
}
.v3d-profile.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .3s, visibility 0s; }
.v3d-prof__stats { display: flex; flex-wrap: wrap; gap: 0; background: var(--v3d-chip); border-bottom: 1px solid var(--v3d-line); }
.v3d-stat { display: flex; flex-direction: column; gap: 4px; padding: 8px 14px; border-right: 1px solid var(--v3d-line); }
.v3d-stat b { font: 700 16px/1.2 var(--v3d-mono); color: var(--v3d-white); font-variant-numeric: tabular-nums; }
.v3d-stat--max b { color: var(--v3d-yellow); } .v3d-stat--min b { color: var(--v3d-orange); }
.v3d-prof__chart { padding: 8px 10px 6px; background: var(--v3d-chip); min-height: 40px; }
.v3d-prof__svg { display: block; width: 100%; height: auto; }
.v3d-prof__grid { stroke: #463d30; stroke-width: 1; stroke-dasharray: 2 3; }
.v3d-prof__axis { stroke: var(--v3d-white); stroke-width: 1.2; }
.v3d-prof__area { fill: var(--v3d-orange); fill-opacity: .28; }
.v3d-prof__line { fill: none; stroke: var(--v3d-yellow); stroke-width: 1.8; stroke-linejoin: round; }
.v3d-prof__tx { fill: var(--v3d-white); font: 400 10px var(--v3d-mono); }
.v3d-prof__ax { fill: var(--v3d-orange); font: 700 10px var(--v3d-mono); letter-spacing: .06em; }
.v3d-prof__max { fill: var(--v3d-yellow); stroke: var(--v3d-black); stroke-width: 2; }
.v3d-prof__min { fill: var(--v3d-orange); stroke: var(--v3d-black); stroke-width: 2; }
.v3d-prof__none { margin: 0; padding: 12px 4px; font: 700 12px/1.5 var(--v3d-mono); letter-spacing: .04em; }

.v3d-hint {
	position: absolute; left: 50%; top: 74px; transform: translate3d(-50%, -8px, 0);
	padding: 9px 16px; background: var(--v3d-chip); color: var(--v3d-orange); border: 1px solid var(--v3d-orange);
	font: 700 12px/1.3 var(--v3d-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.v3d-hint.is-on { opacity: 1; transform: translate3d(-50%, 0, 0); }
.v3d-toast {
	position: absolute; left: 50%; bottom: calc(16px + var(--v3d-bar-h) + 18px); transform: translate3d(-50%, 10px, 0);
	padding: 11px 18px; background: var(--v3d-hover); color: var(--v3d-white); border: 1px solid var(--v3d-yellow);
	font: 700 12px/1.3 var(--v3d-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
	opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 6;
}
.v3d-toast.is-on { opacity: 1; transform: translate3d(-50%, 0, 0); }
.v3d-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v3d-nogl {
	position: absolute; left: 50%; top: 74px; transform: translateX(-50%); padding: 9px 16px;
	background: var(--v3d-chip); color: var(--v3d-white); border: 1px solid var(--v3d-red); border-left-width: 4px;
	font: 700 12px/1.3 var(--v3d-mono); letter-spacing: .06em; white-space: nowrap;
}

/* ------------------------------------------------------------------ markers */
.v3d-labels { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.v3d-mk, .v3d-sel, .v3d-pin, .v3d-orb { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; will-change: transform; }
.v3d-mk.is-off, .v3d-sel.is-off, .v3d-pin.is-off, .v3d-orb.is-off { visibility: hidden; }
.v3d-mk { --c: var(--v3d-white); }
.v3d-mk__g { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; }
.v3d-mk__g::before, .v3d-mk__g::after { content: ""; position: absolute; }
.v3d-mk__t {
	position: absolute; left: 14px; top: -9px; height: 18px; padding: 0 7px 0 6px; white-space: nowrap;
	font: 700 11px/18px var(--v3d-mono); letter-spacing: .04em; background: var(--v3d-chip); color: var(--v3d-white);
	border-left: 3px solid var(--c); box-shadow: 0 0 0 1px #463d30;
}
.is-nolabels .v3d-mk__t, .v3d-mk.is-bare .v3d-mk__t { display: none; }

.v3d-mk--region .v3d-mk__g { display: none; }
.v3d-mk--region .v3d-mk__t {
	left: 0; top: 0; height: auto; padding: 4px 4px 4px 12px; transform: translate(-50%, -50%);
	font: 700 15px/1.25 var(--v3d-display); letter-spacing: .2em; border-left: 0; border-bottom: 2px solid var(--v3d-orange);
}
.is-nolabels .v3d-mk--region { display: none; }

.v3d-mk--landmark { --c: var(--v3d-yellow); }
.v3d-mk--landmark .v3d-mk__g::before { left: 3px; top: 3px; width: 12px; height: 12px; background: var(--v3d-yellow); border: 2px solid var(--v3d-black); transform: rotate(45deg); box-shadow: 0 0 0 1px var(--v3d-yellow); }
.v3d-mk--feature { --c: var(--v3d-white); }
.v3d-mk--feature .v3d-mk__g::before { left: 8px; top: 3px; width: 3px; height: 12px; background: var(--v3d-white); box-shadow: 0 0 0 1px var(--v3d-black); }
.v3d-mk--feature .v3d-mk__t { height: 17px; line-height: 17px; top: -8px; left: 12px; }

.v3d-mk--lander { --c: var(--v3d-red); }
.v3d-mk--probe { --c: var(--v3d-orange); }
.v3d-mk--balloon { --c: var(--v3d-white); }
.v3d-mk--lander .v3d-mk__g::before { inset: 0; background: var(--v3d-black); }
.v3d-mk--lander .v3d-mk__g::after { inset: 3px; background: var(--v3d-red); }
.v3d-mk--lander[data-status="failed"] .v3d-mk__g::before { inset: 7px -2px; height: 4px; background: var(--v3d-red); transform: rotate(45deg); box-shadow: 0 0 0 1px var(--v3d-black); }
.v3d-mk--lander[data-status="failed"] .v3d-mk__g::after { inset: 7px -2px; height: 4px; background: var(--v3d-red); transform: rotate(-45deg); box-shadow: 0 0 0 1px var(--v3d-black); }
.v3d-mk--probe .v3d-mk__g::before { inset: -2px; background: var(--v3d-black); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.v3d-mk--probe .v3d-mk__g::after { inset: 2px 2px 3px; background: var(--v3d-orange); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.v3d-mk--balloon .v3d-mk__g::before { left: 2px; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--v3d-white); border: 2px solid var(--v3d-black); box-shadow: 0 0 0 1px var(--v3d-white); }
.v3d-mk--balloon .v3d-mk__g::after { left: 8px; top: 13px; width: 2px; height: 6px; background: var(--v3d-white); box-shadow: 0 0 0 1px var(--v3d-black); }
.v3d-mk--lander .v3d-mk__t, .v3d-mk--probe .v3d-mk__t, .v3d-mk--balloon .v3d-mk__t { color: var(--v3d-white); }

/* clouds above half opacity hide the surface: dim the markers so the cloud deck reads first */
.v3d-labels.is-clouded .v3d-mk, .v3d-labels.is-clouded .v3d-orb { opacity: .62; }
.v3d-labels.is-clouded .v3d-mk.is-sel, .v3d-labels.is-clouded .v3d-mk.is-hot { opacity: 1; }
.v3d-mk.is-sel .v3d-mk__t { background: var(--v3d-yellow); color: var(--v3d-black); border-left-color: var(--v3d-black); }
.v3d-mk.is-hot .v3d-mk__t { background: var(--v3d-white); color: var(--v3d-black); }
.v3d-mk.is-hot, .v3d-mk.is-sel { z-index: 2; }

.v3d-sel i { position: absolute; width: 11px; height: 11px; border: 0 solid var(--v3d-yellow); animation: v3d-lock 3s ease-in-out infinite; }
.v3d-sel i:nth-child(1) { left: -22px; top: -22px; border-width: 2px 0 0 2px; --lx: 2px; --ly: 2px; }
.v3d-sel i:nth-child(2) { left: 11px; top: -22px; border-width: 2px 2px 0 0; --lx: -2px; --ly: 2px; }
.v3d-sel i:nth-child(3) { left: 11px; top: 11px; border-width: 0 2px 2px 0; --lx: -2px; --ly: -2px; }
.v3d-sel i:nth-child(4) { left: -22px; top: 11px; border-width: 0 0 2px 2px; --lx: 2px; --ly: -2px; }
.v3d-sel { z-index: 3; }
.v3d-pin b {
	position: absolute; left: -11px; top: -34px; width: 22px; height: 22px; display: grid; place-items: center;
	background: var(--v3d-orange); color: var(--v3d-black); font: 700 13px/1 var(--v3d-mono); border: 2px solid var(--v3d-black); box-shadow: 0 0 0 1px var(--v3d-orange);
}
.v3d-pin::after { content: ""; position: absolute; left: -1px; top: -12px; width: 2px; height: 12px; background: var(--v3d-orange); }
.v3d-orb { --oc: var(--v3d-yellow); }
.v3d-orb i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--oc); border: 2px solid var(--v3d-black); box-shadow: 0 0 0 1px var(--oc); }
.v3d-orb b { position: absolute; left: 12px; top: -9px; height: 18px; padding: 0 6px; font: 700 11px/18px var(--v3d-mono); letter-spacing: .04em; background: var(--v3d-chip); color: var(--v3d-yellow); border-left: 3px solid var(--oc); box-shadow: 0 0 0 1px #463d30; white-space: nowrap; }
.v3d-orb.is-hl i { background: var(--v3d-white); box-shadow: 0 0 0 2px var(--v3d-yellow); }
.v3d-orb.is-hl b { background: var(--v3d-yellow); color: var(--v3d-black); border-left-color: var(--v3d-black); }
.v3d-orb.is-bare b, .is-nolabels .v3d-orb b { display: none; }

/* ------------------------------------------------------------------ boot */
.v3d-boot {
	position: absolute; z-index: 6; left: 16px; bottom: 16px; width: min(560px, calc(100% - 32px)); background-color: var(--v3d-chip);
	background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px);
	border: 1px solid var(--v3d-yellow); font-family: var(--v3d-mono); transition: opacity .5s ease-out;
}
.v3d-boot.is-done { opacity: 0; }
.v3d-boot__h { display: flex; justify-content: space-between; padding: 8px 12px; background: var(--v3d-panel); color: var(--v3d-yellow); border-bottom: 1px solid var(--v3d-yellow); font: 700 12px/1.3 var(--v3d-mono); letter-spacing: .08em; }
.v3d-boot__log { padding: 12px 12px 6px; height: 196px; overflow: hidden; }
.v3d-boot__l { display: flex; align-items: baseline; gap: 8px; font: 700 12px/1.75 var(--v3d-mono); letter-spacing: .04em; color: var(--v3d-white); white-space: nowrap; }
.v3d-boot__p { color: var(--v3d-yellow); }
.v3d-boot__t { overflow: hidden; text-overflow: clip; }
.v3d-boot__s { margin-left: auto; padding: 0 6px; font-size: 11px; line-height: 17px; color: var(--v3d-orange); }
.v3d-boot__s.is-ok { background: var(--v3d-yellow); color: var(--v3d-black); }
.v3d-boot__bar { position: relative; height: 12px; margin: 6px 12px 8px; border: 1px solid var(--v3d-dim); background: var(--v3d-black); overflow: hidden; }
.v3d-boot__bar i { position: absolute; inset: 0; transform-origin: left center; transform: scaleX(0); transition: transform .4s ease-out; background: repeating-linear-gradient(90deg, var(--v3d-yellow) 0 8px, var(--v3d-black) 8px 11px); }
.v3d-boot__f { display: flex; justify-content: space-between; padding: 0 12px 10px; font: 700 11px/1.3 var(--v3d-mono); letter-spacing: .06em; color: var(--v3d-orange); }
.v3d-sweep { position: absolute; inset: 0; z-index: 5; pointer-events: none; visibility: hidden; }
.v3d-sweep::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--v3d-yellow); opacity: .8; }
.v3d-sweep::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 70px; background: linear-gradient(to top, rgba(232, 197, 71, .16), rgba(232, 197, 71, 0)); }
.v3d-stage.is-ready .v3d-sweep { visibility: visible; animation: v3d-sweep 1.3s cubic-bezier(.65, 0, .25, 1) both; }
.v3d-stage.is-failed .v3d-boot { border-color: var(--v3d-red); }

/* ------------------------------------------------------------------ article and footer */
.v3d-article { background: var(--v3d-ink); color: var(--v3d-white); padding: 56px 20px 40px; font: 400 18px/1.65 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.v3d-article > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.v3d-article p, .v3d-article li, .v3d-article dd { font-size: 18px; line-height: 1.65; }
.v3d-article p { margin-top: 0; margin-bottom: 1.1em; }
.v3d-article h2 { margin-top: 2.4em; margin-bottom: .6em; padding-left: 14px; border-left: 4px solid var(--v3d-orange); font: 700 28px/1.2 var(--v3d-display); letter-spacing: .02em; text-transform: uppercase; color: var(--v3d-white); }
.v3d-article > h2:first-child { margin-top: 0; }
.v3d-article h3 { margin-top: 1.8em; margin-bottom: .4em; font: 700 20px/1.3 var(--v3d-display); letter-spacing: .03em; text-transform: uppercase; color: var(--v3d-yellow); }
.v3d-article a { color: var(--v3d-yellow); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.v3d-article a:hover { color: var(--v3d-orange); }
.v3d-article ul, .v3d-article ol { padding-left: 1.4em; margin-bottom: 1.1em; }
.v3d-article li { margin-bottom: .4em; }
.v3d-article strong { color: var(--v3d-white); font-weight: 700; }
.v3d-article blockquote { margin: 1.4em auto; padding: .6em 1.2em; border-left: 4px solid var(--v3d-red); background: var(--v3d-panel); }
.v3d-article table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; width: 100%; font-size: 16px; margin-bottom: 1.4em; }
.v3d-article th { text-align: left; background: var(--v3d-chip); color: var(--v3d-yellow); border-bottom: 1px solid var(--v3d-yellow); padding: 8px 10px; font: 700 13px/1.3 var(--v3d-mono); letter-spacing: .06em; text-transform: uppercase; }
.v3d-article td { padding: 8px 10px; border-bottom: 1px solid var(--v3d-line); background: var(--v3d-panel); vertical-align: top; }
.v3d-article img, .v3d-article figure { max-width: 100%; height: auto; }
.v3d-article figcaption { font-size: 15px; color: var(--v3d-dim); }
.v3d-article details { border: 1px solid var(--v3d-line); padding: 10px 14px; margin-bottom: 10px; background: var(--v3d-panel); }
.v3d-article summary { cursor: pointer; font-weight: 700; }
.v3d-article code { font: 400 .9em var(--v3d-mono); background: var(--v3d-panel); padding: 1px 5px; }
.v3d-shop { margin-top: 2.4em; margin-bottom: 1.4em; padding: 18px 20px 6px; background: var(--v3d-panel); border: 1px solid var(--v3d-edge); border-left: 4px solid var(--v3d-yellow); }
.v3d-article .v3d-shop h3 { margin-top: 0; }
.v3d-shop ul { margin-bottom: .8em; }
.v3d-shop-note { font-size: 14px !important; line-height: 1.5 !important; color: var(--v3d-dim); margin-bottom: 12px !important; }
.v3d-foot { background: var(--v3d-black); border-top: 2px solid var(--v3d-red); padding: 34px 20px 48px; color: var(--v3d-white); font: 400 12px/1.8 var(--v3d-mono); letter-spacing: .06em; text-transform: uppercase; }
.v3d-foot-nav, .v3d-credits { max-width: 980px; margin: 0 auto; }
.v3d-foot-row { margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.v3d-foot-label { color: var(--v3d-orange); font-weight: 700; flex: 0 0 100px; }
.v3d-foot a { text-decoration: none; border-bottom: 1px solid var(--v3d-yellow); }
.v3d-foot a:hover { color: var(--v3d-orange); border-color: var(--v3d-orange); }
.v3d-credits { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--v3d-line); color: var(--v3d-dim); text-transform: none; letter-spacing: .02em; font-size: 12px; }

/* ------------------------------------------------------------------ keyframes */
@keyframes v3d-reveal { from { clip-path: inset(0 0 100% 0); opacity: 1; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes v3d-sweep { 0% { transform: translate3d(0, -100%, 0); opacity: 1; } 88% { opacity: 1; } 100% { transform: translate3d(0, 0, 0); opacity: 0; } }
@keyframes v3d-in-l { from { opacity: 0; transform: translate3d(-18px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes v3d-in-b { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: none; } }
@keyframes v3d-in-s { from { opacity: 0; transform: translate3d(-50%, -10px, 0); } to { opacity: 1; transform: translate3d(-50%, 0, 0); } }
@keyframes v3d-in-t { from { opacity: 0; transform: translate3d(0, -10px, 0); } to { opacity: 1; transform: none; } }
@keyframes v3d-spin { to { transform: rotate(360deg); } }
@keyframes v3d-ring { 0% { transform: scale(.5); opacity: .55; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes v3d-rotor { to { transform: rotate(360deg); } }
@keyframes v3d-lock { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(var(--lx, 2px), var(--ly, 2px), 0); } }


/* ------------------------------------------------------------------ descent panel */
.v3d-desc__body { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--v3d-edge) var(--v3d-black); padding-bottom: 10px; }
.v3d-desc__lander { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--v3d-chip); border-bottom: 1px solid var(--v3d-line); }
.v3d-desc__lander b { flex: 1; font: 700 15px/1.2 var(--v3d-display); letter-spacing: .04em; color: var(--v3d-white); text-transform: uppercase; }
.v3d-desc__alt { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px 4px; }
.v3d-desc__alt .v3d-range { width: 100%; }
.v3d-desc__alt .v3d-v { min-width: 70px; text-align: right; color: var(--v3d-yellow); font-size: 17px; }
.v3d-desc__presets { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 12px 8px; }
.v3d-desc__chart { padding: 4px 8px 2px; background: var(--v3d-chip); border-top: 1px solid var(--v3d-line); border-bottom: 1px solid var(--v3d-line); min-height: 60px; }
.v3d-desc__svg { display: block; width: 100%; height: auto; touch-action: none; }
.v3d-dz-band { fill: var(--v3d-white); fill-opacity: .2; }
.v3d-dz-band.is-haze { fill-opacity: .08; }
.v3d-dz-earth { fill: var(--v3d-yellow); fill-opacity: .16; stroke: var(--v3d-yellow); stroke-width: 1.2; stroke-dasharray: 4 3; }
.v3d-dz-grid { stroke: #463d30; stroke-width: 1; stroke-dasharray: 2 3; }
.v3d-dz-axis { stroke: var(--v3d-white); stroke-width: 1.2; }
.v3d-dz-tx { fill: var(--v3d-white); font: 400 10px var(--v3d-mono); }
.v3d-dz-ax { fill: var(--v3d-orange); font: 700 10px var(--v3d-mono); letter-spacing: .06em; }
.v3d-dz-ttl { fill: var(--v3d-white); font: 700 10px var(--v3d-mono); letter-spacing: .05em; }
.v3d-dz-line { fill: none; stroke-width: 2; stroke-linejoin: round; }
.v3d-dz-line.is-t { stroke: var(--v3d-orange); }
.v3d-dz-line.is-p { stroke: var(--v3d-yellow); }
.v3d-dz-lab { fill: var(--v3d-white); font: 700 9.5px var(--v3d-mono); letter-spacing: .02em; }
.v3d-dz-lead { fill: none; stroke: var(--v3d-dim); stroke-width: 1; }
.v3d-dz-chip { fill: var(--v3d-chip); stroke: var(--v3d-yellow); stroke-width: 1; }
.v3d-dz-earthtx { fill: var(--v3d-yellow); font: 700 9.5px var(--v3d-mono); letter-spacing: .04em; }
.v3d-dz-cur { stroke: var(--v3d-white); stroke-width: 1.5; }
.v3d-dz-dot { stroke: var(--v3d-black); stroke-width: 2; }
.v3d-dz-dot.is-t { fill: var(--v3d-orange); }
.v3d-dz-dot.is-p { fill: var(--v3d-yellow); }
.v3d-dz-meas rect { fill: var(--v3d-chip); stroke: var(--v3d-white); stroke-width: 2; }
.v3d-dz-hit { fill: transparent; cursor: ns-resize; }
.v3d-desc__read { margin: 0; padding: 2px 14px 0; }
.v3d-desc__read .v3d-row { padding: 5px 0; }
.v3d-desc__cmp { margin: 0 12px 8px; padding: 8px 10px; background: var(--v3d-chip); border: 1px solid var(--v3d-yellow); }
.v3d-desc__cmpt { width: 100%; border-collapse: collapse; font: 700 12px/1.4 var(--v3d-mono); letter-spacing: .02em; color: var(--v3d-white); }
.v3d-desc__cmpt caption { text-align: left; padding-bottom: 6px; }
.v3d-desc__cmpt th, .v3d-desc__cmpt td { text-align: left; padding: 4px 6px 4px 0; border-top: 1px solid var(--v3d-line); vertical-align: top; }
.v3d-desc__cmpt thead th { color: var(--v3d-orange); font-size: 11px; border-top: 0; }
.v3d-desc__cmpt tbody th { color: var(--v3d-orange); font-size: 11px; }
.v3d-desc__cmpt td:nth-child(2) { color: var(--v3d-yellow); }
.v3d-desc__note { margin: 8px 14px 0; padding: 8px 10px; font: 400 12px/1.6 var(--v3d-mono); letter-spacing: .02em; color: var(--v3d-white); background: var(--v3d-chip); border-left: 3px solid var(--v3d-yellow); }
.v3d-desc__table { margin: 8px 14px 0; border: 1px solid var(--v3d-line); background: var(--v3d-chip); }
.v3d-desc__table summary { padding: 8px 10px; cursor: pointer; font: 700 11px/1.3 var(--v3d-mono); letter-spacing: .06em; color: var(--v3d-orange); }
.v3d-desc__tbl { width: 100%; border-collapse: collapse; font: 400 12px/1.4 var(--v3d-mono); color: var(--v3d-white); font-variant-numeric: tabular-nums; }
.v3d-desc__tbl th, .v3d-desc__tbl td { padding: 3px 8px; text-align: right; border-top: 1px solid var(--v3d-line); }
.v3d-desc__tbl thead th { color: var(--v3d-orange); font-size: 11px; }
.v3d-desc__body .v3d-info__src { margin: 8px 14px 0; }
.v3d-desc__body .v3d-info__src a { color: var(--v3d-yellow); }

/* ------------------------------------------------------------------ missions panel */
.v3d-mfilter { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px 10px; background: var(--v3d-chip); border-bottom: 1px solid var(--v3d-line); }
.v3d-fchip {
	height: 28px; margin: 0; padding: 0 9px; cursor: pointer; border-radius: 0; text-transform: uppercase;
	font: 700 11px/1 var(--v3d-mono); letter-spacing: .05em; color: var(--v3d-white); background: var(--v3d-chip); border: 1px solid #8a7d69;
}
.v3d-fchip:hover { border-color: var(--v3d-yellow); background: var(--v3d-hover); }
.v3d-fchip[aria-pressed="true"] { background: var(--v3d-yellow); color: var(--v3d-black); border-color: var(--v3d-yellow); }
.v3d-mlist { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--v3d-edge) var(--v3d-black); }
.v3d-mul { margin: 0; padding: 0; list-style: none; }
.v3d-m { border-bottom: 1px solid var(--v3d-line); background: var(--v3d-ink); }
.v3d-m.is-focus { box-shadow: inset 3px 0 0 var(--v3d-yellow); }
.v3d-m.is-orbit .v3d-m__name { color: var(--v3d-yellow); }
.v3d-mrow {
	position: relative; display: grid; grid-template-columns: 82px 1fr auto; grid-template-areas: "d n c" "d l l"; column-gap: 10px; row-gap: 4px; align-items: start;
	width: 100%; margin: 0; padding: 9px 12px; border: 0; border-radius: 0; background: transparent; color: var(--v3d-white); text-align: left; cursor: pointer;
}
.v3d-mrow:hover { background: var(--v3d-hover); }
.v3d-mrow:focus-visible { outline-offset: -3px; }
.v3d-m__date { grid-area: d; font: 700 11px/1.5 var(--v3d-mono); letter-spacing: .02em; color: var(--v3d-orange); font-variant-numeric: tabular-nums; }
.v3d-m__name { grid-area: n; font: 700 15px/1.25 var(--v3d-display); letter-spacing: .04em; text-transform: uppercase; overflow-wrap: anywhere; }
.v3d-m__chips { grid-area: c; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.v3d-m__chips .v3d-chip { padding: 3px 6px; font-size: 10px; }
.v3d-m__line { grid-area: l; font: 400 11px/1.5 var(--v3d-mono); letter-spacing: .02em; color: var(--v3d-dim); text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v3d-m.is-open .v3d-m__line { -webkit-line-clamp: unset; display: block; }
.v3d-m__pin { position: absolute; right: 12px; bottom: 8px; display: none; }
.v3d-m__detail { padding: 2px 14px 12px 104px; }
.v3d-m__desc { margin: 0 0 8px; font: 400 12px/1.65 var(--v3d-mono); letter-spacing: .02em; color: var(--v3d-white); }
.v3d-m__facts { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 0 0 8px; font: 700 11px/1.5 var(--v3d-mono); letter-spacing: .03em; color: var(--v3d-yellow); }
.v3d-m__src { margin: 0; font: 700 12px/1.4 var(--v3d-mono); letter-spacing: .04em; }
.v3d-m__src a { color: var(--v3d-yellow); }
.v3d-missions .v3d-gh { position: sticky; top: 0; z-index: 1; }
.v3d-missions .v3d-gh span { padding: 7px 12px 6px; }

/* ------------------------------------------------------------------ medium widths */
@media (max-width: 1279px) and (min-width: 700px) {
	.v3d-info, .v3d-descent, .v3d-missions { top: 76px; max-height: calc(100% - 76px - var(--v3d-bar-h) - 34px); }
	.v3d-search { left: 392px; transform: none; width: min(420px, calc(100vw - 392px - 16px)); }
	.v3d-stage.is-ready .v3d-search { animation-name: v3d-in-t; }
	.v3d-hint { left: 392px; transform: translate3d(0, -8px, 0); }
	.v3d-hint.is-on { transform: none; }
	.v3d-k__f { display: none; }
	.v3d-k__s { display: inline; }
	.v3d-cell { padding: 6px 9px; }
	.v3d-cell--lat, .v3d-cell--lon, .v3d-cell--elev, .v3d-cell--alt, .v3d-cell--lst, .v3d-cell--sday, .v3d-cell--sun { min-width: 0; }
	.v3d-bar__row { gap: 10px; }
	.v3d-ctl--time { flex: 1 1 260px; }
	.v3d-btn--guide { display: none; }
	.v3d-btn { padding: 0 10px; }
	.v3d-profile { left: 308px; width: min(560px, calc(100vw - 324px)); }
}
@media (max-width: 1099px) and (min-width: 700px) {
	.v3d-v { font-size: 15px; }
	.v3d-ctl--exag { flex: 0 1 190px; }
	.v3d-ctl--exag .v3d-range { width: 84px; }
}
@media (max-height: 820px) and (min-width: 700px) {
	.v3d-lyr { height: 28px; }
	.v3d-layers { top: 168px; max-height: calc(100% - 168px - var(--v3d-bar-h) - 30px); }
}
@media (min-width: 1280px) {
	.v3d-bar__tele { flex-wrap: nowrap; }
}

/* ------------------------------------------------------------------ mobile: bottom sheet */
@media (max-width: 699px) {
	:root { --v3d-sheet-base: calc(48px + 28px + env(safe-area-inset-bottom, 0px)); }
	.v3d-brand { left: 8px; top: 8px; width: calc(100% - 68px); padding: 7px 10px 8px; border-left-width: 4px; }
	.v3d-home { font-size: 11px; }
	.v3d-title { font-size: 26px; margin: 0 0 3px; }
	.v3d-sub { font-size: 10px; line-height: 1.4; max-width: none; }

	.v3d-search { left: auto; right: 8px; top: 8px; transform: none; width: auto; }
	.v3d-stage.is-ready .v3d-search { animation: none; }
	.v3d-search__icon { display: inline-flex; width: 48px; height: 48px; padding: 0; }
	.v3d-search__box { display: none; position: fixed; left: 8px; right: 8px; top: 8px; height: 48px; z-index: 8; }
	.v3d-search.is-open .v3d-search__box { display: flex; }
	.v3d-search.is-open .v3d-search__icon { visibility: hidden; }
	.v3d-stage.is-searching .v3d-brand { visibility: hidden; }
	.v3d-search__key { display: none; }
	.v3d-search__in { font-size: 16px; }
	.v3d-search__res { min-height: 52px; }

	.v3d-reticle { transform: scale(.8); margin-top: -90px; }
	.v3d-mk--region .v3d-mk__t { font-size: 12px; letter-spacing: .14em; padding: 3px 3px 3px 8px; }
	.v3d-panel::before { display: none; }

	.v3d-tabs {
		display: grid; grid-template-columns: repeat(5, 1fr); position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
		padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--v3d-chip); border-top: 1px solid var(--v3d-yellow);
	}
	.v3d-tab {
		height: 48px; margin: 0; border: 0; border-right: 1px solid var(--v3d-line); border-radius: 0; background: var(--v3d-chip); color: var(--v3d-white);
		font: 700 11px/1 var(--v3d-display); letter-spacing: .03em; cursor: pointer; text-transform: uppercase; padding: 0 2px;
	}
	.v3d-tab:last-child { border-right: 0; }
	.v3d-tab[aria-pressed="true"] { background: var(--v3d-yellow); color: var(--v3d-black); }
	.v3d-tab:focus-visible { outline-offset: -4px; }
	.v3d-compact {
		display: flex; align-items: center; position: absolute; left: 0; right: 0; bottom: calc(48px + 1px + env(safe-area-inset-bottom, 0px)); height: 28px; padding: 0 10px;
		background: var(--v3d-ink); border-top: 1px solid var(--v3d-line); color: var(--v3d-white); font: 700 11px/1 var(--v3d-mono); letter-spacing: .02em; white-space: nowrap; overflow: hidden; pointer-events: none;
	}
	.v3d-layers, .v3d-info, .v3d-bar, .v3d-descent, .v3d-missions {
		display: none; left: 0; right: 0; bottom: var(--v3d-sheet-base); width: auto; max-height: min(58%, 480px); top: auto; overflow-y: auto; border-width: 1px 0 0 0;
		border-color: var(--v3d-yellow); animation: none !important;
	}
	.v3d-hud[data-tab="layers"] .v3d-layers { display: flex; }
	.v3d-hud[data-tab="tools"] .v3d-bar { display: flex; }
	.v3d-hud[data-tab="descent"] .v3d-descent, .v3d-hud[data-tab="missions"] .v3d-missions { display: flex; clip-path: none; visibility: visible; transition: none; max-height: min(72%, 600px); }
	.v3d-lpanels { display: none; }
	.v3d-desc__chart { padding: 6px 6px 2px; }
	.v3d-hud[data-tab="info"] .v3d-info { display: flex; clip-path: none; visibility: visible; max-height: min(58%, 480px); }
	.v3d-info { transition: none; }
	.v3d-info.is-open { clip-path: none; }
	.v3d-info:not(.is-open) .v3d-info__body, .v3d-info:not(.is-open) .v3d-info__actions { display: none; }
	.v3d-info:not(.is-open) .v3d-info__empty { display: block; }
	.v3d-info__title { font-size: 26px; }
	.v3d-mrow { min-height: 64px; grid-template-columns: 70px 1fr auto; }
	.v3d-m__detail { padding-left: 12px; }
	.v3d-fchip { min-height: 44px; min-width: 44px; }
	.v3d-lyr-sub .v3d-range { height: 44px; }
	.v3d-lyr-sub { padding: 8px 12px; }
	.v3d-desc__alt .v3d-range { height: 44px; }
	.v3d-mfilter { gap: 6px; }
	.v3d-info__actions .v3d-btn { height: 44px; }
	.v3d-all { height: 52px; }
	.v3d-all__s { height: 28px; }
	.v3d-hl--all { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; padding: 8px 12px; font: 400 13px/1.45 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--v3d-dim); background: var(--v3d-chip); border-bottom: 1px solid var(--v3d-line); display: block; }
	.v3d-lyr-list { display: grid; grid-template-columns: 1fr 1fr; overflow-y: auto; }
	.v3d-gh { grid-column: 1 / -1; }
	.v3d-gh span { padding: 9px 12px; }
	.v3d-lyr { height: 48px; grid-template-columns: 20px 1fr 40px; border-right: 1px solid var(--v3d-line); padding: 0 6px 0 10px; gap: 6px; font-size: 12px; letter-spacing: .04em; }
	.v3d-lyr__c { display: none; }
	.v3d-lyr__s { height: 26px; }
	.v3d-ph { min-height: 52px; }
	.v3d-bar { padding: 10px 10px 14px; gap: 12px; }
	.v3d-bar__row { gap: 8px; }
	.v3d-bar__tele { display: grid; grid-template-columns: 1fr 1fr; }
	.v3d-bar__tele .v3d-grp:first-child { grid-column: 1 / -1; }
	.v3d-bar__tele .v3d-grp--venus { grid-column: 1 / -1; }
	.v3d-grp--venus { display: grid; grid-template-columns: 22px repeat(2, 1fr); }
	.v3d-grp--venus .v3d-grp__t { grid-row: 1 / span 3; }
	.v3d-cell { min-width: 0 !important; padding: 7px 8px; }
	.v3d-bar__ctl { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
	.v3d-ctl { gap: 5px; }
	.v3d-ctl--time, .v3d-ctl--exag, .v3d-ctl--speed { max-width: none; flex: none; }
	.v3d-ctl--speed .v3d-ctl__b { display: grid; grid-template-columns: repeat(3, 1fr); }
	.v3d-ctl__b { flex-wrap: wrap; }
	.v3d-ctl--time .v3d-range { flex: 1 0 100%; order: 5; }
	.v3d-lyr-sub { grid-column: 1 / -1; }
	.v3d-ctl--exag .v3d-range { flex: 1; width: auto; }
	.v3d-ctl--view .v3d-ctl__b, .v3d-ctl--measure .v3d-ctl__b, .v3d-ctl--share .v3d-ctl__b { display: grid; grid-template-columns: 1fr; }
	.v3d-hl { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; font: 400 13px/1.45 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--v3d-dim); }
	.v3d-btn { min-height: 44px; }
	.v3d-btn--s { min-height: 44px; height: 44px; min-width: 44px; }
	.v3d-btn--guide { display: inline-flex; }
	.v3d-range { height: 44px; }
	.v3d-seg { padding: 0 8px; flex: 1; justify-content: center; }
	.v3d-tlabel { min-width: 0; flex: 1; text-align: right; align-items: flex-end; }
	.v3d-profile { left: 8px; right: 8px; width: auto; top: 108px; bottom: auto; }
	.v3d-prof__stats { display: grid; grid-template-columns: repeat(4, 1fr); }
	.v3d-stat { padding: 6px 7px; min-width: 0; } .v3d-stat b { font-size: 12px; }
	.v3d-hint { left: 8px; right: 8px; transform: translate3d(0, -8px, 0); top: 78px; white-space: normal; text-align: center; font-size: 12px; }
	.v3d-hint.is-on { transform: none; }
	.v3d-toast { bottom: calc(var(--v3d-sheet-base) + 14px); max-width: calc(100% - 24px); white-space: normal; text-align: center; }
	.v3d-nogl { left: 8px; right: 8px; transform: none; white-space: normal; text-align: center; top: 120px; }
	.v3d-boot { left: 8px; right: 8px; bottom: 8px; width: auto; }
	.v3d-boot__l { font-size: 11px; letter-spacing: .02em; }
	.v3d-article { padding: 40px 16px 32px; }
	.v3d-article h2 { font-size: 24px; }
	.v3d-foot-label { flex-basis: 100%; }
}

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.v3d-stage.is-ready .v3d-canvas { opacity: 1; }
	.v3d-mk[data-status="active"]::before { opacity: .45; transform: scale(.75); }
	.v3d-sweep { display: none; }
}
.v3d-stage.is-reduced .v3d-sweep { display: none; }
