* { box-sizing: border-box; } html, body { margin: 0; height: 100%; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; } .map-wrap { position: relative; width: 100%; height: 100%; } /* Higher specificity than maplibre-gl.css's .maplibregl-map{position:relative}, which MapLibre adds to the same element and would otherwise win on sheet order. */ .map-wrap .map-container { position: absolute; inset: 0; } .app-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: baseline; gap: 12px; padding: 8px 14px; background: rgba(15, 23, 42, 0.75); color: #f8fafc; backdrop-filter: blur(4px); } .app-header h1 { margin: 0; font-size: 16px; font-weight: 600; } .app-header small { font-size: 11px; color: #94a3b8; } /* Style switcher — kept subtle, like the version tag. */ .style-switch { font-size: 12px; padding: 2px 6px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.4); background: rgba(30, 41, 59, 0.9); color: #e2e8f0; } .style-switch option { background: #1e293b; color: #e2e8f0; } [data-testid='airport-count'] { font-size: 12px; color: #cbd5e1; } /* ISS-010 (v0.18.0) — Relocate row inside the airport popup (plain HTML, not React). */ .popup-relocate { margin-top: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .popup-relocate select { font-size: 12px; padding: 3px 6px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.4); } .popup-relocate button { font-size: 12px; padding: 3px 10px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.4); cursor: pointer; } .popup-relocate button:disabled { opacity: 0.5; cursor: default; } [data-testid='airport-popup-relocate-status'] { font-size: 11px; color: #334155; } /* v0.9.0 — single-screen 3-pane shell: left Assets / center map / right Jobs & Market. ISS-021 (v0.20.0): left widened to 360px (it now carries the On board section), right narrowed to 280px — total fixed width stays 640px, so the map column is unchanged. */ .app-shell { display: grid; grid-template-columns: 360px minmax(0, 1fr) 280px; height: 100%; } .pane { background: #0f172a; color: #e2e8f0; padding: 14px; font-size: 13px; overflow-y: auto; } .left-pane { border-right: 1px solid rgba(148, 163, 184, 0.25); } .right-pane { border-left: 1px solid rgba(148, 163, 184, 0.25); } .pane-title { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #f8fafc; } .pane-heading { margin: 0 0 8px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #94a3b8; } .pane-section { margin-bottom: 16px; } .pane-muted { color: #94a3b8; font-size: 12px; } .pane-error { color: #fca5a5; font-size: 12px; } .stat-row { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 0; } .stat-row span { color: #94a3b8; font-size: 12px; } .stat-row strong { font-size: 13px; color: #f8fafc; } .fleet-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .plane-row { background: rgba(30, 41, 59, 0.6); border-radius: 6px; padding: 8px; } .plane-main { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } .plane-model { font-weight: 600; color: #f1f5f9; } .plane-status { font-size: 11px; padding: 1px 6px; border-radius: 4px; background: rgba(148, 163, 184, 0.2); color: #cbd5e1; } .status-flying { background: rgba(59, 130, 246, 0.25); color: #bfdbfe; } .fuel-bar { height: 4px; border-radius: 2px; background: rgba(148, 163, 184, 0.25); margin: 6px 0 4px; overflow: hidden; } .fuel-bar > div { height: 100%; border-radius: 2px; background: #34d399; } .plane-sub { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: #cbd5e1; } .plane-loc { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sim-clock { margin: 0 0 8px; font-size: 12px; color: #cbd5e1; font-variant-numeric: tabular-nums; } .time-controls { display: flex; gap: 8px; } .time-controls button { font-size: 12px; padding: 4px 10px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.4); background: rgba(30, 41, 59, 0.9); color: #e2e8f0; cursor: pointer; } .time-controls input[type='range'] { flex: 1; accent-color: #38bdf8; } .time-scale-value { font-size: 12px; color: #e2e8f0; min-width: 34px; text-align: right; font-variant-numeric: tabular-nums; } /* v0.10.0 — right Jobs & Market pane (contracts + market) */ .contract-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .contract-row { background: rgba(30, 41, 59, 0.6); border-radius: 6px; padding: 8px; } .contract-main { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .contract-route { min-width: 0; font-weight: 600; color: #f1f5f9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .contract-sub { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 11px; color: #cbd5e1; font-variant-numeric: tabular-nums; } .pane-btn { flex-shrink: 0; white-space: nowrap; font-size: 12px; padding: 3px 10px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.4); background: rgba(30, 41, 59, 0.9); color: #e2e8f0; cursor: pointer; } .pane-btn:disabled { opacity: 0.5; cursor: default; } .dispatch-controls select, .market-row select { font-size: 12px; padding: 3px 6px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.4); background: #1e293b; color: #e2e8f0; max-width: 100%; } .dispatch-controls { display: flex; align-items: center; gap: 6px; margin-top: 6px; } .market-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 0; } /* ISS-010 (v0.18.0) — the Relocate row carries TWO selects, so let it wrap instead of squeezing both below their readable width in the 360 px left pane (moved there in ISS-023 v0.21.0). */ .market-row-relocate { flex-wrap: wrap; } .market-preview { font-size: 12px; color: #f8fafc; white-space: nowrap; font-variant-numeric: tabular-nums; } /* v0.12.0 — on-board blocks (per plane); moved to the left pane in ISS-021 (v0.20.0) */ .onboard-block { background: rgba(30, 41, 59, 0.6); border-radius: 6px; padding: 8px; margin-bottom: 8px; } /* ISS-028 (v0.20.0 part 2) — on-board cargo rows are two lines: a full-width fly-to button, then refuel + abandon side by side below it; long destination names truncate with an ellipsis. */ .onboard-block .contract-row { background: transparent; padding: 6px 0 0; border-top: 1px solid rgba(148, 163, 184, 0.2); display: flex; flex-direction: column; gap: 5px; } .onboard-block .contract-row .contract-sub { margin-top: 0; /* row spacing comes from the container's gap */ } .onboard-fly-btn { width: 100%; } .onboard-fly-label { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .onboard-actions { display: flex; gap: 6px; } /* v0.17.0 — ISS-008: bottom-right toast stack (action errors + game events) */ .toasts { position: fixed; bottom: 12px; right: 12px; z-index: 50; /* above map popups/controls and the app header */ display: flex; flex-direction: column; gap: 8px; max-width: 340px; } .toast { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 6px; font-size: 13px; background: rgba(15, 23, 42, 0.95); color: #e2e8f0; border: 1px solid rgba(148, 163, 184, 0.4); } .toast-error { border-color: rgba(239, 68, 68, 0.7); color: #fecaca; } .toast-info { border-color: rgba(148, 163, 184, 0.5); } .toast-close { flex-shrink: 0; font-size: 14px; line-height: 1; padding: 2px 6px; border-radius: 4px; border: none; background: transparent; color: #94a3b8; cursor: pointer; } .toast-close:hover { color: #e2e8f0; } /* ISS-008 — the Time section's notifications opt-in button (same look as .time-controls buttons) */ .notif-toggle { margin-top: 8px; font-size: 12px; padding: 4px 10px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.4); background: rgba(30, 41, 59, 0.9); color: #e2e8f0; cursor: pointer; } .notif-toggle:disabled { opacity: 0.5; cursor: default; }