/* hud.css - HUD surfaces and shared overlays */ .hud-panel { --panel-glow-x: 18%; --panel-glow-y: 0%; --panel-glow-opacity: 0.1; --panel-tilt-x: 0deg; --panel-tilt-y: 0deg; position: absolute; overflow: hidden; isolation: isolate; background: radial-gradient(circle at var(--panel-glow-x) var(--panel-glow-y), rgba(255, 255, 255, calc(0.08 + var(--panel-glow-opacity))), transparent 30%), radial-gradient(circle at 86% 115%, rgba(145, 186, 255, 0.08), transparent 36%), linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 26%), linear-gradient(180deg, var(--hud-surface-top), var(--hud-surface-bottom)); border: 1px solid var(--hud-border); box-shadow: inset 0 1px 0 var(--hud-highlight), inset 0 -1px 0 rgba(255, 255, 255, 0.03), var(--hud-shadow), 0 0 0 1px rgba(255, 255, 255, 0.02), 0 0 20px rgba(123, 176, 236, calc(0.04 + var(--panel-glow-opacity) * 0.32)); backdrop-filter: blur(18px) saturate(125%); -webkit-backdrop-filter: blur(18px) saturate(125%); transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease; } .hud-panel::before { content: ''; position: absolute; inset: 1px 1px 52% 1px; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 58%, transparent 100%); opacity: 0.52; pointer-events: none; transform: perspective(240px) rotateX(calc(var(--panel-tilt-x) * 0.36)) rotateY(calc(var(--panel-tilt-y) * 0.36)); transition: opacity 0.18s ease, transform 0.18s ease; } .hud-panel::after { content: ''; position: absolute; inset: -1px; padding: 1px; border-radius: inherit; background: linear-gradient(135deg, rgba(244, 249, 255, 0.22), rgba(164, 194, 226, 0.08) 36%, rgba(90, 123, 161, 0.04) 70%, rgba(255, 255, 255, 0.16)); opacity: 0.72; pointer-events: none; filter: url(#liquid-glass-distortion) blur(0.22px); transform: perspective(240px) rotateX(calc(var(--panel-tilt-x) * 0.24)) rotateY(calc(var(--panel-tilt-y) * 0.24)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; transition: opacity 0.18s ease, transform 0.18s ease; } .hud-panel:hover:not(.is-dragging) { --panel-glow-opacity: 0.16; border-color: var(--hud-border-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 20px 48px rgba(1, 7, 16, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 28px rgba(123, 176, 236, 0.1); } .hud-panel:hover:not(.is-dragging)::before { opacity: 0.6; } .hud-panel:hover:not(.is-dragging)::after { opacity: 0.84; } .hud-panel.is-pressed:not(.is-dragging) { --panel-glow-opacity: 0.13; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 14px 34px rgba(1, 7, 16, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.02), 0 0 22px rgba(123, 176, 236, 0.08); } .hud-panel > * { position: relative; z-index: 1; } .hud-panel-title { color: var(--hud-title); margin: 0 0 var(--hud-gap-sm); font-size: var(--hud-title-size); font-weight: 600; letter-spacing: 0.01em; line-height: 1.2; } .hud-panel-drag-handle { cursor: grab; user-select: none; touch-action: none; } .hud-panel-drag-handle:active { cursor: grabbing; } .hud-panel__header, .hud-panel-header { --hud-header-padding: 0 0 var(--hud-gap-sm); --hud-header-gap: var(--hud-gap-sm); --hud-header-border-color: var(--hud-line); display: flex; align-items: center; justify-content: space-between; gap: var(--hud-header-gap); margin-bottom: var(--hud-gap-sm); padding: var(--hud-header-padding); border-bottom: 1px solid var(--hud-header-border-color); } .hud-panel__title-group { display: flex; align-items: center; gap: var(--hud-gap-xs); min-width: 0; flex: 1 1 auto; } .hud-panel__title, .hud-panel__header .hud-panel-title, .hud-panel-header .hud-panel-title { margin: 0; color: var(--hud-text-soft); font-size: var(--hud-panel-header-title-size); font-weight: 600; letter-spacing: 0.01em; line-height: 1.2; } .hud-panel__subtitle { color: var(--hud-text-soft); font-size: calc(0.7rem * var(--hud-scale)); line-height: 1.4; } .hud-panel__chip { flex: 0 0 auto; } .hud-panel__actions { display: inline-flex; align-items: center; gap: var(--hud-gap-xs); flex-shrink: 0; } .hud-panel__action, .hud-panel-close { --hud-action-padding: calc(7px * var(--hud-scale)); --hud-action-icon-size: calc(16px * var(--hud-scale)); border: 1px solid transparent; border-radius: calc(4px * var(--hud-scale)); background: transparent; color: var(--hud-text-muted); padding: var(--hud-action-padding); width: auto; height: auto; min-width: 0; display: inline-flex; align-items: center; justify-content: center; align-self: auto; cursor: pointer; transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, opacity 0.18s ease; } .hud-panel__action .material-symbols-rounded, .hud-panel-close .material-symbols-rounded { font-size: var(--hud-action-icon-size); line-height: 1; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20; pointer-events: none; } .hud-panel__action:hover:not(:disabled), .hud-panel-close:hover:not(:disabled) { background: rgba(255, 255, 255, 0.08); border-color: rgba(225, 239, 255, 0.14); color: var(--hud-accent-strong); } .hud-panel__action:disabled, .hud-panel-close:disabled { opacity: 0.45; cursor: not-allowed; } .hud-panel__body { position: relative; z-index: 1; } .hud-panel__body--collapsible { --hud-body-collapse-gap: var(--hud-gap-sm); --hud-body-max-height: 1000px; overflow: hidden; opacity: 1; max-height: var(--hud-body-max-height); transition: max-height 0.26s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, margin 0.22s ease; } .hud-panel--collapsed .hud-panel__body--collapsible { max-height: 0; opacity: 0; pointer-events: none; margin-top: calc(-1 * var(--hud-body-collapse-gap)); } .hud-panel.is-dragging { transition: none !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 24px 52px rgba(0, 0, 0, 0.28), 0 0 36px rgba(120, 200, 255, 0.16); } .hud-panel.is-layout-animating { transition: none !important; } .hud-panel-hidden { display: none !important; } /* ── Mobile popup card ───────────────────────────────────────── */ .earth-mobile-popup { display: none; } .layout-mode-mobile .earth-mobile-popup { display: flex; position: fixed; z-index: 260; overflow: visible; align-items: center; gap: 10px; padding: 10px 12px 10px 12px; max-width: 220px; min-width: 120px; background: linear-gradient(145deg, rgba(14, 25, 42, 0.97), rgba(7, 15, 28, 0.97)); border: 1px solid rgba(200, 224, 255, 0.13); border-radius: 20px; box-shadow: 0 10px 36px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(140, 190, 255, 0.05); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); pointer-events: auto; opacity: 0; transform: scale(0.86) translateY(4px); transition: opacity 0.17s ease, transform 0.17s cubic-bezier(0.22, 1, 0.36, 1); cursor: grab; user-select: none; touch-action: none; } .layout-mode-mobile .earth-mobile-popup:active { cursor: grabbing; } .layout-mode-mobile .earth-mobile-popup[hidden] { display: none; } .layout-mode-mobile .earth-mobile-popup.is-visible { opacity: 1; transform: scale(1) translateY(0); } .layout-mode-mobile .earth-mobile-popup.earth-mobile-popup--anchor-stable { transform: none; transition: opacity 0.17s ease; } .layout-mode-mobile .earth-mobile-popup.earth-mobile-popup--anchor-stable.is-visible { transform: none; } .earth-mobile-popup-icon { font-size: 1.25rem; flex-shrink: 0; line-height: 1; } .earth-mobile-popup-body { flex: 1; min-width: 0; } .earth-mobile-popup-title { color: var(--hud-text); font-size: 0.84rem; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.01em; } .earth-mobile-popup-sub { color: var(--hud-text-muted); font-size: 0.70rem; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.03em; } .earth-mobile-popup-chevron { color: rgba(160, 200, 255, 0.5); font-size: 1rem; flex-shrink: 0; } .earth-mobile-popup-dock { --earth-mobile-popup-dock-size: 14px; --earth-mobile-popup-dock-offset: calc(var(--earth-mobile-popup-dock-size) * -0.5); position: absolute; top: 32%; width: var(--earth-mobile-popup-dock-size); height: var(--earth-mobile-popup-dock-size); border-radius: 999px; background: transparent; border: 0; box-shadow: none; transform: translateY(-50%); pointer-events: none; } .earth-mobile-popup[data-dock-side="left"] .earth-mobile-popup-dock { left: var(--earth-mobile-popup-dock-offset); } .earth-mobile-popup[data-dock-side="right"] .earth-mobile-popup-dock { right: var(--earth-mobile-popup-dock-offset); } .earth-mobile-popup[data-dock-side="top"] .earth-mobile-popup-dock { top: var(--earth-mobile-popup-dock-offset); left: 50%; transform: translateX(-50%); } .earth-mobile-popup[data-dock-side="bottom"] .earth-mobile-popup-dock { top: auto; bottom: var(--earth-mobile-popup-dock-offset); left: 50%; transform: translateX(-50%); } /* ── Mobile drawer ───────────────────────────────────────────── */ .earth-mobile-drawer-overlay, .earth-mobile-drawer-shell { display: none; } .layout-mode-mobile .earth-mobile-drawer-overlay, .layout-mode-mobile .earth-mobile-drawer-shell { display: block; } .earth-mobile-drawer-overlay { position: fixed; inset: 0; background: linear-gradient(180deg, rgba(3, 8, 16, 0.06), rgba(3, 8, 16, 0.54)); opacity: 0; pointer-events: none; transition: opacity 0.22s ease; z-index: 245; } .earth-mobile-drawer-shell { position: fixed; left: 0; right: 0; bottom: 0; z-index: 250; pointer-events: none; } .earth-mobile-drawer-sheet { position: relative; display: flex; flex-direction: column; min-height: calc(240px + var(--safe-bottom)); height: min(78vh, calc(100vh - 72px - var(--safe-top))); padding: 10px 14px calc(14px + var(--safe-bottom)) 14px; border-top-left-radius: 28px; border-top-right-radius: 28px; background: linear-gradient(180deg, rgba(15, 27, 43, 0.98), rgba(7, 14, 24, 0.98)), rgba(5, 10, 19, 0.92); border-top: 1px solid rgba(220, 238, 255, 0.1); box-shadow: 0 -26px 60px rgba(0, 0, 0, 0.38); transform: translateY(calc(100% - 36px - var(--safe-bottom))); transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1); pointer-events: none; touch-action: none; } .earth-mobile-drawer-header { order: 1; flex: 0 0 auto; padding: 10px 4px 8px; cursor: ns-resize; user-select: none; pointer-events: auto; } .earth-mobile-drawer-grabber { width: 54px; height: 5px; margin: 0 auto; border-radius: 999px; background: rgba(225, 239, 255, 0.18); } .earth-mobile-drawer-nav { order: 3; flex: 0 0 auto; display: grid; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(214, 231, 247, 0.08); } .earth-mobile-drawer-nav-copy { display: none; } .earth-mobile-drawer-nav-kicker { color: rgba(167, 194, 223, 0.58); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; } .earth-mobile-drawer-nav-title { color: var(--hud-title); font-size: 0.92rem; font-weight: 700; letter-spacing: 0.01em; } .earth-mobile-drawer-tabs-shell { position: relative; padding: 8px 8px 2px; border: 1px solid rgba(207, 226, 245, 0.06); border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)), rgba(6, 16, 31, 0.32); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 22px rgba(2, 8, 18, 0.12); overflow: hidden; } .earth-mobile-drawer-tabs { display: flex; align-items: stretch; gap: 10px; padding: 2px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; } .earth-mobile-drawer-tabs-fade { position: absolute; top: 8px; bottom: 8px; width: 22px; z-index: 2; pointer-events: none; } .earth-mobile-drawer-tabs-fade--left { left: 0; background: linear-gradient(90deg, rgba(6, 16, 31, 0.92), rgba(6, 16, 31, 0)); } .earth-mobile-drawer-tabs-fade--right { right: 0; background: linear-gradient(270deg, rgba(6, 16, 31, 0.92), rgba(6, 16, 31, 0)); } .earth-mobile-drawer-tab { flex: 0 0 auto; min-width: 68px; min-height: 58px; padding: 8px 11px 9px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(201, 225, 247, 0.06); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)), rgba(7, 18, 34, 0.38); color: var(--hud-text-muted); cursor: pointer; scroll-snap-align: start; position: relative; z-index: 1; transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease; } .earth-mobile-drawer-tab.is-active { color: var(--hud-title); background: linear-gradient(180deg, rgba(111, 174, 255, 0.18), rgba(74, 126, 210, 0.08)), rgba(10, 26, 52, 0.58); border-color: rgba(122, 180, 255, 0.22); box-shadow: 0 8px 18px rgba(11, 22, 40, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.1); transform: translateY(-1px); } .earth-mobile-drawer-tab:hover { color: var(--hud-text); border-color: rgba(201, 225, 247, 0.14); } .earth-mobile-drawer-tabs::-webkit-scrollbar { display: none; } .earth-mobile-drawer-tab-icon { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 17px; color: rgba(221, 235, 248, 0.88); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); } .earth-mobile-drawer-tab.is-active .earth-mobile-drawer-tab-icon { color: #f6fbff; background: linear-gradient(180deg, rgba(161, 207, 255, 0.26), rgba(95, 154, 237, 0.18)), rgba(255, 255, 255, 0.08); } .earth-mobile-drawer-tab-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; } .earth-mobile-drawer-content { order: 2; flex: 1 1 auto; position: relative; min-height: 0; max-height: none; overflow: hidden; } .earth-mobile-drawer-slot { display: none; min-height: 0; height: 100%; max-height: none; overflow: auto; overscroll-behavior: contain; padding-bottom: 6px; } .earth-mobile-drawer-slot.is-active { display: block; } .earth-mobile-drawer-slot--situation { display: none; gap: 12px; } .earth-mobile-drawer-slot--situation, .earth-mobile-page, .earth-mobile-stats-grid, .earth-mobile-situation-card, .earth-mobile-situation-legend-list { width: 100%; min-width: 0; } .earth-mobile-drawer-slot--situation.is-active { display: grid; } @keyframes earth-drawer-hint { 0% { transform: translateY(calc(100% - 36px - var(--safe-bottom))); } 14% { transform: translateY(calc(100% - 36px - var(--safe-bottom) - 22px)); } 26% { transform: translateY(calc(100% - 36px - var(--safe-bottom) - 4px)); } 38% { transform: translateY(calc(100% - 36px - var(--safe-bottom) - 14px)); } 50% { transform: translateY(calc(100% - 36px - var(--safe-bottom) - 1px)); } 62% { transform: translateY(calc(100% - 36px - var(--safe-bottom) - 7px)); } 76% { transform: translateY(calc(100% - 36px - var(--safe-bottom))); } 100% { transform: translateY(calc(100% - 36px - var(--safe-bottom))); } } .layout-mode-mobile .earth-mobile-drawer-sheet.is-hinting { animation: earth-drawer-hint 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards; } .layout-mode-mobile.earth-mobile-drawer-open .earth-mobile-drawer-overlay { opacity: 1; pointer-events: auto; } .layout-mode-mobile.earth-mobile-drawer-open .earth-mobile-drawer-sheet { transform: translateY(0); pointer-events: auto; } .layout-mode-mobile .earth-left-column { pointer-events: none; } .layout-mode-mobile #brand-panel { pointer-events: auto; } .layout-mode-mobile #search-modal, .layout-mode-mobile #settings-modal { display: block; position: static; inset: auto; pointer-events: none; } .layout-mode-mobile #search-backdrop, .layout-mode-mobile #settings-backdrop { display: none; } .layout-mode-mobile .earth-mobile-drawer-slot > .hud-panel, .layout-mode-mobile .earth-mobile-drawer-slot > .earth-search-sheet, .layout-mode-mobile .earth-mobile-drawer-slot > .earth-settings-sheet { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; width: 100% !important; max-width: none !important; min-width: 0 !important; max-height: none !important; height: auto !important; margin: 0; pointer-events: auto; opacity: 1 !important; filter: none !important; visibility: visible !important; } .layout-mode-mobile .earth-mobile-drawer-slot > .hud-panel { box-shadow: none; } .layout-mode-mobile .earth-mobile-drawer-slot > .earth-search-sheet { display: flex !important; } .layout-mode-mobile .earth-mobile-drawer-slot > .earth-settings-sheet { display: flex !important; } .layout-mode-mobile .earth-mobile-drawer-slot .hud-panel-drag-handle { cursor: default; } .layout-mode-mobile .earth-mobile-drawer-slot .tv-panel-edge { display: none; } .layout-mode-mobile .earth-mobile-drawer-slot .tv-panel-player { min-height: 220px; } .layout-mode-mobile #layer-toggles, .layout-mode-mobile #legend, .layout-mode-mobile #earth-stats, .layout-mode-mobile #media-panel, .layout-mode-mobile #search-modal, .layout-mode-mobile #settings-modal, .layout-mode-mobile #info-panel { display: none !important; } .earth-mobile-page { display: flex; flex-direction: column; gap: 14px; min-height: 0; } .earth-mobile-page--tv { gap: 8px; } .earth-mobile-page--tv .earth-mobile-page-intro { gap: 2px; } .earth-mobile-page-intro { display: flex; flex-direction: column; gap: 4px; } .earth-mobile-page-kicker { color: var(--hud-text-muted); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; } .earth-mobile-page-summary { color: var(--hud-text-soft); font-size: 0.84rem; line-height: 1.4; } .earth-mobile-page--tv .earth-mobile-page-summary { font-size: 0.72rem; line-height: 1.3; } .earth-mobile-layer-list, .earth-mobile-news-board-list, .earth-mobile-search-results { display: flex; flex-direction: column; gap: 10px; } .earth-mobile-layer-card, .earth-mobile-action-btn, .earth-mobile-settings-pill, .earth-mobile-search-clear { appearance: none; -webkit-appearance: none; } .earth-mobile-layer-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; border: 1px solid rgba(212, 227, 244, 0.08); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent), rgba(255, 255, 255, 0.03); color: var(--hud-text); padding: 14px 16px; text-align: left; } .earth-mobile-layer-card.is-active { border-color: rgba(122, 180, 255, 0.24); background: linear-gradient(180deg, rgba(122, 180, 255, 0.12), transparent), rgba(255, 255, 255, 0.04); } .earth-mobile-layer-card.is-disabled, .earth-mobile-layer-card:disabled { cursor: not-allowed; opacity: 0.46; } .earth-mobile-layer-card-icon { font-size: 22px; color: var(--hud-accent-strong); } .earth-mobile-layer-card-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .earth-mobile-layer-card-title, .earth-mobile-detail-title, .earth-mobile-tv-title, .earth-mobile-news-focus-label, .earth-mobile-settings-label { color: var(--hud-title); font-weight: 600; } .earth-mobile-layer-card-subtitle, .earth-mobile-detail-type, .earth-mobile-tv-subtitle, .earth-mobile-settings-subtitle, .earth-mobile-news-focus-coords, .earth-mobile-tv-notes, .earth-mobile-tv-catalog, .earth-mobile-news-board-status, .earth-mobile-search-meta, .earth-mobile-search-empty { color: var(--hud-text-soft); font-size: 0.76rem; line-height: 1.45; } .earth-mobile-layer-card-status { color: var(--hud-text-muted); font-size: 0.72rem; letter-spacing: 0.08em; } .earth-mobile-search-shell { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: 16px; border: 1px solid rgba(214, 230, 247, 0.12); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent), rgba(255, 255, 255, 0.03); } .earth-mobile-search-input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; color: var(--hud-title); font: inherit; outline: 0; } .earth-mobile-search-input::placeholder { color: rgba(190, 208, 227, 0.46); } .earth-mobile-search-icon { color: var(--hud-text-muted); } .earth-mobile-search-clear { border: 0; background: transparent; color: var(--hud-text-muted); display: inline-flex; align-items: center; justify-content: center; } .earth-mobile-search-clear[hidden] { display: none; } .earth-mobile-stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .earth-mobile-page--situation .earth-mobile-stats-grid > * { min-width: 0; } .earth-mobile-stat-card, .earth-mobile-situation-card, .earth-mobile-news-focus, .earth-mobile-settings-card, .earth-mobile-detail-card, .earth-mobile-tv-meta { border-radius: 18px; border: 1px solid rgba(212, 227, 244, 0.08); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent), rgba(255, 255, 255, 0.03); padding: 14px 16px; } .earth-mobile-stat-card { display: flex; flex-direction: column; gap: 6px; } .earth-mobile-page--situation .earth-mobile-stat-card { min-width: 0; padding: 12px 12px; gap: 4px; } .earth-mobile-stat-num { color: var(--hud-title); font-size: 1.26rem; font-weight: 700; } .earth-mobile-page--situation .earth-mobile-stat-num { font-size: 1.08rem; line-height: 1.1; } .earth-mobile-stat-label, .earth-mobile-situation-card-subtitle, .earth-mobile-news-focus-kicker, .earth-mobile-settings-title, .earth-mobile-tv-status { color: var(--hud-text-muted); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; } .earth-mobile-page--situation .earth-mobile-stat-label { font-size: 0.64rem; letter-spacing: 0.04em; line-height: 1.25; white-space: normal; word-break: break-word; } @media (orientation: landscape) and (max-height: 540px) { .earth-mobile-page--situation { gap: 8px; } .earth-mobile-page--situation .earth-mobile-page-intro { gap: 1px; } .earth-mobile-page--situation .earth-mobile-page-kicker { font-size: 0.6rem; } .earth-mobile-page--situation .earth-mobile-page-summary { font-size: 0.68rem; line-height: 1.2; } .earth-mobile-page--situation .earth-mobile-stats-grid { gap: 8px; } .earth-mobile-page--situation .earth-mobile-stat-card { padding: 10px 10px; gap: 3px; border-radius: 15px; } .earth-mobile-page--situation .earth-mobile-stat-num { font-size: 0.98rem; } .earth-mobile-page--situation .earth-mobile-stat-label { font-size: 0.6rem; line-height: 1.15; } } .earth-mobile-situation-card { display: flex; flex-direction: column; gap: 10px; } .earth-mobile-situation-card-title { color: var(--hud-title); font-size: 0.92rem; font-weight: 600; } .earth-mobile-situation-legend-list { display: flex; flex-direction: column; gap: 8px; overflow-x: hidden; } .earth-mobile-situation-status { color: var(--hud-text); line-height: 1.5; min-width: 0; overflow-wrap: anywhere; word-break: break-word; } .earth-mobile-situation-legend-list .legend-item, .earth-mobile-situation-legend-list .legend-label { min-width: 0; } .earth-mobile-situation-legend-list .legend-label { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; word-break: break-word; } .earth-mobile-news-focus, .earth-mobile-tv-actions, .earth-mobile-news-actions, .earth-mobile-settings-actions { display: flex; gap: 10px; } .earth-mobile-news-focus { justify-content: space-between; align-items: flex-start; } .earth-mobile-news-source-count { color: var(--hud-accent-strong); font-size: 0.74rem; font-weight: 600; } .earth-mobile-news-board-list .news-story-card { margin: 0; } .earth-mobile-news-board-empty[hidden] { display: none; } .earth-mobile-tv-select, .earth-mobile-settings-slider { width: 100%; } .earth-mobile-tv-overview { border-radius: 14px; border: 1px solid rgba(212, 227, 244, 0.08); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent), rgba(255, 255, 255, 0.03); padding: 8px 10px; } .earth-mobile-tv-overview-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; } .earth-mobile-tv-overview-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .earth-mobile-tv-overview-kicker { color: var(--hud-text-muted); font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; } .earth-mobile-tv-overview-headline { color: var(--hud-title); font-size: 0.84rem; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .earth-mobile-tv-overview-summary { color: var(--hud-text-soft); font-size: 0.66rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .earth-mobile-tv-overview-tags { display: flex; flex-wrap: nowrap; gap: 4px; margin-top: 1px; overflow: hidden; } .earth-mobile-tv-overview-tag { display: inline-flex; align-items: center; min-height: 20px; padding: 0 6px; border-radius: 999px; border: 1px solid rgba(212, 227, 244, 0.12); background: rgba(255, 255, 255, 0.06); color: var(--hud-text); font-size: 0.62rem; line-height: 1; white-space: nowrap; } .earth-mobile-tv-overview-tag--status { color: var(--hud-accent-strong); border-color: rgba(122, 180, 255, 0.2); background: rgba(122, 180, 255, 0.12); } .earth-mobile-tv-overview-actions { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; } .earth-mobile-tv-overview-bar:focus-visible { outline: 2px solid rgba(122, 180, 255, 0.5); outline-offset: 4px; border-radius: 12px; } .earth-mobile-tv-meta-wrap { overflow: hidden; max-height: 240px; opacity: 1; margin-top: 10px; transition: max-height 0.22s ease, opacity 0.18s ease, margin 0.22s ease; } .earth-mobile-tv-meta-wrap.is-collapsed { max-height: 0; opacity: 0; pointer-events: none; margin-top: 0; } .earth-mobile-tv-select { border: 1px solid rgba(201, 225, 247, 0.14); border-radius: 12px; background: rgba(255, 255, 255, 0.04); color: var(--hud-text); padding: 10px 12px; } .earth-mobile-tv-player { position: relative; aspect-ratio: 16 / 9; min-height: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(201, 225, 247, 0.1); background: linear-gradient(180deg, rgba(9, 18, 32, 0.94), rgba(5, 11, 22, 0.94)); } .earth-mobile-tv-empty, .earth-mobile-tv-iframe, .earth-mobile-tv-video { position: absolute; inset: 0; width: 100%; height: 100%; } .earth-mobile-tv-empty { display: grid; place-items: center; padding: 16px; text-align: center; color: var(--hud-text-muted); } .earth-mobile-tv-iframe, .earth-mobile-tv-video { border: 0; background: #050a14; } .earth-mobile-action-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(122, 180, 255, 0.22); background: rgba(122, 180, 255, 0.12); color: var(--hud-title); text-decoration: none; font-size: 0.82rem; font-weight: 600; } .earth-mobile-action-btn:disabled { opacity: 0.42; cursor: default; } .earth-mobile-action-btn--compact { min-width: 32px; min-height: 32px; padding: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border-color: rgba(212, 227, 244, 0.14); color: var(--hud-text); flex: 0 0 auto; } .earth-mobile-action-btn--compact .material-symbols-rounded { font-size: 0.92rem; } .earth-mobile-action-btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: rgba(212, 227, 244, 0.1); } .earth-mobile-settings-group { display: flex; flex-direction: column; gap: 10px; } .earth-mobile-settings-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .earth-mobile-settings-card--stacked { flex-direction: column; align-items: stretch; } .earth-mobile-settings-copy { display: flex; flex-direction: column; gap: 4px; } .earth-mobile-settings-segmented { display: inline-flex; flex-wrap: wrap; gap: 8px; } .earth-mobile-settings-pill { border: 1px solid rgba(212, 227, 244, 0.1); border-radius: 999px; background: rgba(255, 255, 255, 0.04); color: var(--hud-text-soft); padding: 10px 14px; } .earth-mobile-settings-pill.is-active { color: var(--hud-title); border-color: rgba(122, 180, 255, 0.24); background: rgba(122, 180, 255, 0.14); } .earth-mobile-settings-chip-group { display: inline-flex; flex-wrap: wrap; gap: 8px; } .earth-mobile-settings-chip { border: 1px solid rgba(212, 227, 244, 0.12); border-radius: 999px; background: rgba(255, 255, 255, 0.04); color: var(--hud-text-soft); padding: 9px 14px; font: inherit; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; cursor: pointer; transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease; } .earth-mobile-settings-chip:hover { color: var(--hud-text); transform: translateY(-1px); } .earth-mobile-settings-chip.is-active { color: var(--hud-title); border-color: rgba(122, 180, 255, 0.24); background: radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.18), transparent 58%), linear-gradient(180deg, rgba(122, 180, 255, 0.16), rgba(82, 123, 186, 0.22)); } .earth-mobile-settings-switch { position: relative; display: inline-flex; width: 44px; height: 28px; flex-shrink: 0; } .earth-mobile-settings-switch input { position: absolute; inset: 0; opacity: 0; } .earth-mobile-settings-switch-track { width: 100%; height: 100%; border-radius: 999px; background: rgba(255, 255, 255, 0.1); position: relative; } .earth-mobile-settings-switch-track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.18s ease; } .earth-mobile-settings-switch input:checked + .earth-mobile-settings-switch-track { background: rgba(122, 180, 255, 0.34); } .earth-mobile-settings-switch input:checked + .earth-mobile-settings-switch-track::after { transform: translateX(16px); } label.is-disabled.earth-mobile-settings-card { opacity: 0.38; cursor: not-allowed; pointer-events: none; } .earth-mobile-settings-slider-row { display: flex; align-items: center; gap: 12px; } .earth-mobile-settings-slider-value { color: var(--hud-title); font-weight: 600; } .earth-mobile-detail-card { display: flex; flex-direction: column; gap: 14px; } .earth-mobile-detail-header { display: flex; gap: 12px; align-items: center; } .earth-mobile-detail-icon { font-size: 1.5rem; } .earth-mobile-detail-heading { display: flex; flex-direction: column; gap: 4px; } .earth-mobile-detail-content { display: flex; flex-direction: column; gap: 10px; } .earth-mobile-news-detail { display: grid; gap: 12px; } .earth-mobile-news-detail-kicker { color: rgba(255, 215, 122, 0.82); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; } .earth-mobile-news-detail-title { color: var(--hud-title); font-size: 1rem; line-height: 1.5; font-weight: 700; } .earth-mobile-news-detail-summary-shell { position: relative; padding: 12px 13px; border: 1px solid rgba(255, 215, 122, 0.12); background: linear-gradient(180deg, rgba(255, 215, 122, 0.05), rgba(255, 255, 255, 0.02)), radial-gradient(circle at top left, rgba(120, 180, 255, 0.08), transparent 56%), rgba(7, 15, 29, 0.42); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 28px rgba(0, 0, 0, 0.16); overflow: hidden; } .earth-mobile-news-detail-summary-shell::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(122, 180, 255, 0.12) 50%, transparent 100%); opacity: 0.42; transform: translateX(-100%); animation: infoCardNewsScan 3.2s linear infinite; pointer-events: none; } .earth-mobile-news-detail-summary-label { color: rgba(188, 212, 238, 0.72); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 7px; } .earth-mobile-news-detail-summary { color: #d7e6f7; font-size: 0.9rem; line-height: 1.72; min-height: 5.2em; white-space: pre-wrap; word-break: break-word; } .earth-mobile-news-detail-summary.is-typing::after { content: ""; display: inline-block; width: 0.58em; height: 1.05em; margin-left: 0.16em; vertical-align: -0.14em; background: linear-gradient(180deg, rgba(255, 215, 122, 0.96), rgba(122, 180, 255, 0.78)); box-shadow: 0 0 10px rgba(255, 215, 122, 0.28); animation: infoCardNewsCaret 0.9s steps(1, end) infinite; } .earth-mobile-detail-row { display: flex; flex-direction: column; gap: 4px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); } .earth-mobile-detail-row-label { color: var(--hud-text-muted); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; } .earth-mobile-detail-row-value, .earth-mobile-detail-empty { color: var(--hud-text); line-height: 1.5; } .layout-mode-mobile .earth-status-message, .layout-mode-mobile .earth-error-message { position: fixed; top: calc(var(--safe-top) + 10px); left: auto; right: calc(10px + var(--safe-right)); transform: translate(12px, 0); min-width: 0; max-width: min(220px, 46vw); border-radius: 16px; font-size: 0.74rem; line-height: 1.28; padding: 7px 12px 7px 10px; gap: 8px; border-color: rgba(214, 230, 247, 0.1); border-left-color: transparent; background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 52%), linear-gradient(180deg, rgba(17, 29, 46, 0.92), rgba(7, 14, 24, 0.9)); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.03); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } .layout-mode-mobile .earth-status-message.visible, .layout-mode-mobile .earth-error-message.visible { transform: translate(0, 0); } .layout-mode-mobile .earth-error-message { top: calc(var(--safe-top) + 60px); } .layout-mode-mobile .earth-status-indicator { gap: 4px; } .layout-mode-mobile .earth-status-dot { width: 6px; height: 6px; box-shadow: 0 0 6px rgba(145, 186, 255, 0.48), 0 0 14px rgba(145, 186, 255, 0.16); } .layout-mode-mobile .earth-status-text { font-weight: 600; } .layout-mode-mobile .earth-status-message.loading { max-width: min(240px, 52vw); } .layout-mode-mobile .earth-status-message.loading .earth-status-text { color: rgba(232, 242, 252, 0.92); } .hud-panel-row { display: flex; justify-content: space-between; gap: var(--hud-gap-sm); align-items: baseline; } .hud-panel-label { color: var(--hud-text-soft); font-size: var(--hud-font-size-sm); letter-spacing: 0.08em; text-transform: uppercase; } .hud-panel-value { color: var(--hud-text); font-weight: 600; } .earth-status-message, .earth-error-message { position: absolute; top: calc(20px * var(--hud-scale)); left: 50%; transform: translate(-50%, -18px); display: none; align-items: center; gap: calc(10px * var(--hud-scale)); background: linear-gradient(90deg, rgba(145, 186, 255, 0.07) 0%, transparent 44%), linear-gradient(180deg, rgba(22, 36, 58, 0.95), rgba(8, 18, 32, 0.93)); border-radius: 999px; border: 1px solid var(--hud-border); border-left-color: rgba(145, 186, 255, 0.32); padding: calc(8px * var(--hud-scale)) calc(20px * var(--hud-scale)) calc(8px * var(--hud-scale)) calc(16px * var(--hud-scale)); z-index: 210; box-shadow: var(--hud-shadow-soft), 0 0 18px rgba(145, 186, 255, 0.06); font-size: calc(0.84rem * var(--hud-scale)); font-weight: 500; line-height: 1.2; letter-spacing: 0.01em; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); text-align: left; min-width: min(calc(160px * var(--hud-scale)), 58vw); max-width: min(calc(440px * var(--hud-scale)), 74vw); color: var(--hud-text); opacity: 0; transition: transform 0.28s ease, opacity 0.28s ease; } .earth-status-message.visible, .earth-error-message.visible { transform: translate(-50%, 0); opacity: 1; } .earth-status-message.gesture { min-width: 0; padding-right: calc(16px * var(--hud-scale)); color: #dcecff; } .earth-error-message { top: calc(62px * var(--hud-scale)); z-index: 211; min-width: min(calc(220px * var(--hud-scale)), 58vw); } /* ── Indicator: single dot (transient) or three dots (loading) ── */ .earth-status-indicator { display: inline-flex; align-items: center; justify-content: center; gap: calc(5px * var(--hud-scale)); flex: 0 0 auto; align-self: center; } .earth-status-dot { width: calc(7px * var(--hud-scale)); height: calc(7px * var(--hud-scale)); border-radius: 50%; background: rgba(145, 186, 255, 0.95); box-shadow: 0 0 8px rgba(145, 186, 255, 0.7), 0 0 20px rgba(145, 186, 255, 0.28); animation: statusDotPulse 2.4s ease-in-out infinite; } .earth-status-text { display: inline-flex; align-items: center; flex: 1 1 auto; min-width: 0; } /* Loading: three-dot sequential pulse */ .earth-status-message.loading .earth-status-dot { animation: earthLoadingPulse 1.2s ease-in-out infinite; } .earth-status-message.loading .earth-status-dot:nth-child(2) { animation-delay: 0.16s; } .earth-status-message.loading .earth-status-dot:nth-child(3) { animation-delay: 0.32s; } /* ── Status color variants ───────────────────────────────────── */ .earth-status-message.success { color: #dff8e7; background: linear-gradient(90deg, rgba(102, 209, 143, 0.08) 0%, transparent 44%), linear-gradient(180deg, rgba(22, 36, 58, 0.95), rgba(8, 18, 32, 0.93)); border-left-color: rgba(102, 209, 143, 0.38); box-shadow: var(--hud-shadow-soft), 0 0 18px rgba(102, 209, 143, 0.06); } .earth-status-message.success .earth-status-dot { background: #66d18f; box-shadow: 0 0 8px rgba(102, 209, 143, 0.8), 0 0 20px rgba(102, 209, 143, 0.3); } .earth-status-message.warning { color: #fff2c3; background: linear-gradient(90deg, rgba(228, 196, 100, 0.08) 0%, transparent 44%), linear-gradient(180deg, rgba(22, 36, 58, 0.95), rgba(8, 18, 32, 0.93)); border-left-color: rgba(228, 196, 100, 0.38); box-shadow: var(--hud-shadow-soft), 0 0 18px rgba(228, 196, 100, 0.06); } .earth-status-message.warning .earth-status-dot { background: #e4c464; box-shadow: 0 0 8px rgba(228, 196, 100, 0.8), 0 0 20px rgba(228, 196, 100, 0.3); } .earth-status-message.error { color: #ffd4d7; background: linear-gradient(90deg, rgba(255, 123, 134, 0.08) 0%, transparent 44%), linear-gradient(180deg, rgba(22, 36, 58, 0.95), rgba(8, 18, 32, 0.93)); border-left-color: rgba(255, 123, 134, 0.38); box-shadow: var(--hud-shadow-soft), 0 0 18px rgba(255, 123, 134, 0.06); } .earth-status-message.error .earth-status-dot { background: #ff7b86; box-shadow: 0 0 8px rgba(255, 123, 134, 0.8), 0 0 20px rgba(255, 123, 134, 0.34); } @keyframes statusDotPulse { 0%, 100% { opacity: 0.82; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1); } } .earth-tooltip { position: absolute; background: linear-gradient(180deg, rgba(21, 37, 61, 0.96), rgba(8, 18, 31, 0.95)); border: 1px solid rgba(214, 230, 247, 0.14); border-radius: 10px; padding: 8px 12px; font-size: 0.78rem; color: var(--hud-text); pointer-events: none; z-index: 100; box-shadow: var(--hud-shadow-soft); display: none; user-select: none; } .earth-search-modal { position: fixed; inset: 0; z-index: 255; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 0.2s ease, visibility 0.2s ease; } .earth-search-modal.is-open { visibility: visible; opacity: 1; pointer-events: auto; } .earth-search-backdrop { position: fixed; inset: 0; background: rgba(2, 8, 20, 0.38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.2s ease; } .earth-search-modal.is-open .earth-search-backdrop { opacity: 1; } .earth-search-sheet { position: fixed; top: max(calc(28px * var(--hud-scale)), 8vh); left: 50%; width: min(calc(680px * var(--hud-scale)), calc(100vw - (32px * var(--hud-scale)))); max-height: min(calc(720px * var(--hud-scale)), calc(100vh - (56px * var(--hud-scale)))); transform: translateX(-50%) scale(0.98); transform-origin: top center; padding: calc(var(--hud-panel-padding) * var(--hud-scale)); display: flex; flex-direction: column; gap: calc(var(--hud-gap-md) * var(--hud-scale)); overflow: hidden; opacity: 0; filter: blur(10px); transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.22s ease, filter 0.22s ease; } .earth-search-modal.is-open .earth-search-sheet { transform: translateX(-50%) scale(1); opacity: 1; filter: blur(0); } .earth-search-header, .earth-search-content { position: relative; z-index: 1; } .earth-search-kicker { color: var(--hud-text-soft); font-size: calc(0.72rem * var(--hud-scale)); letter-spacing: 0.16em; text-transform: uppercase; } .earth-search-content { display: flex; flex-direction: column; gap: calc(var(--hud-gap-sm) * var(--hud-scale)); min-height: 0; } .earth-search-input-shell { display: flex; align-items: center; gap: calc(8px * var(--hud-scale)); min-height: calc(48px * var(--hud-scale)); padding: calc(8px * var(--hud-scale)) calc(12px * var(--hud-scale)); border: 1px solid rgba(214, 230, 247, 0.12); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent), rgba(255, 255, 255, 0.03); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); } .earth-search-input-shell:focus-within { border-color: rgba(215, 230, 249, 0.22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(126, 174, 236, 0.1); } .earth-search-input-icon { color: var(--hud-text-muted); font-size: calc(20px * var(--hud-scale)); } .earth-search-input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--hud-title); font: inherit; font-size: calc(0.9rem * var(--hud-scale)); letter-spacing: 0.01em; } .earth-search-input::placeholder { color: rgba(190, 208, 227, 0.46); } .earth-search-clear[hidden] { display: none; } .earth-search-meta { min-height: calc(18px * var(--hud-scale)); color: var(--hud-text-muted); font-size: calc(0.7rem * var(--hud-scale)); letter-spacing: 0.02em; } .earth-search-results { display: flex; flex-direction: column; gap: calc(8px * var(--hud-scale)); min-height: 0; overflow-y: auto; padding-right: calc(4px * var(--hud-scale)); scrollbar-width: thin; scrollbar-color: rgba(160, 186, 216, 0.34) transparent; } .earth-search-results::-webkit-scrollbar { width: 6px; } .earth-search-results::-webkit-scrollbar-track { background: transparent; } .earth-search-results::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(210, 225, 242, 0.2), rgba(126, 154, 185, 0.28)); border-radius: 999px; } .earth-search-empty { color: var(--hud-text-muted); font-size: calc(0.76rem * var(--hud-scale)); line-height: 1.55; padding: calc(8px * var(--hud-scale)) calc(2px * var(--hud-scale)); } .earth-search-result { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: calc(12px * var(--hud-scale)); width: 100%; padding: calc(12px * var(--hud-scale)) calc(14px * var(--hud-scale)); border: 1px solid rgba(212, 227, 244, 0.09); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent), rgba(255, 255, 255, 0.025); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); color: inherit; text-align: left; cursor: pointer; transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease; } .earth-search-result:hover, .earth-search-result.is-active { border-color: rgba(224, 236, 249, 0.16); background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent), rgba(255, 255, 255, 0.04); transform: translateY(-1px); } .earth-search-result-icon { display: inline-flex; align-items: center; justify-content: center; width: calc(32px * var(--hud-scale)); height: calc(32px * var(--hud-scale)); border-radius: calc(10px * var(--hud-scale)); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(214, 230, 247, 0.1); color: var(--hud-accent-strong); } .earth-search-result-icon .material-symbols-rounded { font-size: calc(18px * var(--hud-scale)); } .earth-search-result-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; } .earth-search-result-title { color: var(--hud-title); font-size: calc(0.86rem * var(--hud-scale)); font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .earth-search-result-subtitle { color: var(--hud-text-soft); font-size: calc(0.72rem * var(--hud-scale)); line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .earth-search-result-type { color: var(--hud-text-muted); font-size: calc(0.68rem * var(--hud-scale)); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; } .earth-settings-modal { position: fixed; inset: 0; z-index: 260; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 0.24s ease, visibility 0.24s ease; } .earth-settings-modal.is-opening, .earth-settings-modal.is-open, .earth-settings-modal.is-closing { visibility: visible; } .earth-settings-modal.is-open { opacity: 1; pointer-events: auto; } .earth-settings-backdrop { position: fixed; inset: 0; background: rgba(2, 8, 20, 0.46); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity 0.26s ease; } .earth-settings-modal.is-open .earth-settings-backdrop { opacity: 1; } .earth-settings-sheet { --settings-scale: clamp(0.72, calc(var(--hud-scale) * 0.96), 1); position: fixed; top: max(calc(32px * var(--settings-scale)), 9vh); right: calc(16px * var(--settings-scale)); left: calc(16px * var(--settings-scale)); width: min(calc(560px * var(--settings-scale)), calc(100vw - (32px * var(--settings-scale)))); max-width: calc(560px * var(--settings-scale)); max-height: calc(100vh - max(calc(64px * var(--settings-scale)), 18vh)); margin-inline: auto; transform: none; border-radius: 0; padding: calc(var(--hud-panel-padding) * var(--settings-scale)); display: flex; flex-direction: column; gap: calc(var(--hud-gap-md) * var(--settings-scale)); overflow: hidden; transform: translateZ(0); opacity: 1; filter: none; border-radius: 0; will-change: transform, opacity, filter, border-radius; } .earth-settings-sheet.hud-panel { --panel-glow-x: 18%; --panel-glow-y: 0%; --panel-glow-opacity: 0.1; box-shadow: inset 0 1px 0 var(--hud-highlight), inset 0 -1px 0 rgba(255, 255, 255, 0.03), var(--hud-shadow), 0 0 0 1px rgba(255, 255, 255, 0.02); } .earth-settings-header, .earth-settings-content { position: relative; z-index: 1; } .earth-settings-header { --hud-header-padding: 0 0 var(--hud-gap-sm); --hud-header-gap: var(--hud-gap-md); align-items: center; gap: var(--hud-gap-md); } .earth-settings-kicker { color: var(--hud-text-soft); font-size: calc(0.72rem * var(--hud-scale)); letter-spacing: 0.16em; text-transform: uppercase; } .earth-settings-close { margin-top: 0; flex-shrink: 0; } .earth-settings-reset { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding-inline: calc(10px * var(--hud-scale)); color: var(--hud-text-soft); font-size: calc(0.68rem * var(--hud-scale)); letter-spacing: 0.06em; text-transform: uppercase; } .earth-settings-reset .material-symbols-rounded { font-size: calc(0.86rem * var(--hud-scale)); } .earth-settings-content { overflow-y: auto; padding-inline: 8px; padding-right: 10px; scrollbar-width: thin; scrollbar-color: rgba(160, 186, 216, 0.34) transparent; } .earth-settings-content::-webkit-scrollbar { width: 6px; } .earth-settings-content::-webkit-scrollbar-track { background: transparent; } .earth-settings-content::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(210, 225, 242, 0.2), rgba(126, 154, 185, 0.28)); border-radius: 999px; } .earth-settings-section { padding: 6px 0 10px; } .earth-settings-section-title { margin-bottom: 10px; color: var(--hud-text-soft); font-size: calc(0.62rem * var(--hud-scale)); letter-spacing: 0.16em; text-transform: uppercase; } .earth-settings-list { display: flex; flex-direction: column; gap: 8px; } .earth-settings-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent), rgba(255, 255, 255, 0.025); border: 1px solid rgba(212, 227, 244, 0.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); cursor: pointer; transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease; } .earth-settings-item:hover { background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent), rgba(255, 255, 255, 0.04); border-color: rgba(224, 236, 249, 0.14); transform: translateY(-1px); } .earth-settings-item--stacked { align-items: stretch; flex-direction: column; gap: 10px; cursor: default; } .earth-settings-item--stacked:hover { transform: none; } .earth-settings-link { text-decoration: none; } .earth-settings-slider-row { display: flex; align-items: center; gap: 12px; } .earth-settings-segmented { display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent), rgba(255, 255, 255, 0.03); border: 1px solid rgba(212, 227, 244, 0.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); gap: 4px; } .earth-settings-segmented-btn { border: 0; background: transparent; color: var(--hud-text-soft); padding: calc(5px * var(--hud-scale)) calc(10px * var(--hud-scale)); border-radius: 999px; font: inherit; font-size: calc(0.7rem * var(--hud-scale)); font-weight: 600; letter-spacing: 0.02em; cursor: pointer; transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease; } .earth-settings-segmented-btn:hover { color: var(--hud-text); transform: translateY(-1px); } .earth-settings-segmented-btn.is-active { color: var(--hud-title); background: radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.22), transparent 58%), linear-gradient(180deg, rgba(121, 159, 207, 0.2), rgba(72, 101, 139, 0.26)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px rgba(0, 0, 0, 0.2); } .earth-settings-chip-group { display: inline-flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; } .earth-settings-chip { border: 1px solid rgba(212, 227, 244, 0.1); border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent), rgba(255, 255, 255, 0.025); color: var(--hud-text-soft); padding: calc(6px * var(--hud-scale)) calc(12px * var(--hud-scale)); font: inherit; font-size: calc(0.7rem * var(--hud-scale)); font-weight: 600; letter-spacing: 0.02em; cursor: pointer; transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease; } .earth-settings-chip:hover { color: var(--hud-text); transform: translateY(-1px); } .earth-settings-chip.is-active { color: var(--hud-title); border-color: rgba(122, 180, 255, 0.24); background: radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.22), transparent 58%), linear-gradient(180deg, rgba(121, 159, 207, 0.2), rgba(72, 101, 139, 0.26)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px rgba(0, 0, 0, 0.16); } .earth-settings-slider { flex: 1 1 auto; width: 100%; height: calc(4px * var(--hud-scale)); appearance: none; background: linear-gradient(90deg, rgba(132, 164, 204, 0.32), rgba(94, 130, 172, 0.5)); border-radius: 999px; outline: none; cursor: pointer; transition: background 0.18s ease; } .earth-settings-slider:hover { background: linear-gradient(90deg, rgba(152, 184, 224, 0.44), rgba(114, 155, 202, 0.64)); } .earth-settings-slider::-webkit-slider-thumb { appearance: none; width: calc(14px * var(--hud-scale)); height: calc(14px * var(--hud-scale)); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.22) 55%, transparent 70%), linear-gradient(180deg, rgba(164, 196, 236, 0.95), rgba(85, 127, 181, 0.92)); border: 1px solid rgba(222, 236, 252, 0.4); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 4px 10px rgba(0, 0, 0, 0.24); transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; } .earth-settings-slider:hover::-webkit-slider-thumb { transform: scale(1.22); background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.32) 55%, transparent 70%), linear-gradient(180deg, rgba(188, 216, 252, 1), rgba(108, 155, 210, 0.98)); border-color: rgba(232, 244, 255, 0.72); box-shadow: 0 0 0 3px rgba(145, 186, 255, 0.22), 0 6px 14px rgba(0, 0, 0, 0.3); } .earth-settings-slider:active::-webkit-slider-thumb { transform: scale(1.08); box-shadow: 0 0 0 4px rgba(145, 186, 255, 0.32), 0 4px 10px rgba(0, 0, 0, 0.28); } .earth-settings-slider::-moz-range-thumb { width: calc(14px * var(--hud-scale)); height: calc(14px * var(--hud-scale)); border-radius: 50%; background: linear-gradient(180deg, rgba(164, 196, 236, 0.95), rgba(85, 127, 181, 0.92)); border: 1px solid rgba(222, 236, 252, 0.4); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 4px 10px rgba(0, 0, 0, 0.24); transition: transform 0.18s ease, box-shadow 0.18s ease; } .earth-settings-slider:hover::-moz-range-thumb { transform: scale(1.22); background: linear-gradient(180deg, rgba(188, 216, 252, 1), rgba(108, 155, 210, 0.98)); border-color: rgba(232, 244, 255, 0.72); box-shadow: 0 0 0 3px rgba(145, 186, 255, 0.22), 0 6px 14px rgba(0, 0, 0, 0.3); } .earth-settings-slider:active::-moz-range-thumb { transform: scale(1.08); box-shadow: 0 0 0 4px rgba(145, 186, 255, 0.32), 0 4px 10px rgba(0, 0, 0, 0.28); } .earth-settings-slider-value { flex: 0 0 auto; min-width: calc(34px * var(--hud-scale)); text-align: right; color: var(--hud-text-soft); font-size: calc(0.66rem * var(--hud-scale)); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; } .earth-settings-copy { display: flex; flex-direction: column; gap: 3px; } .earth-settings-item-title { color: var(--hud-text); font-size: calc(0.76rem * var(--hud-scale)); font-weight: 600; } .earth-settings-item-subtitle { color: var(--hud-text-muted); font-size: calc(0.67rem * var(--hud-scale)); line-height: 1.4; } .earth-settings-link-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--hud-text-soft); flex-shrink: 0; } .earth-settings-link-meta .material-symbols-rounded:first-child { font-size: calc(0.9rem * var(--hud-scale)); } .earth-settings-link-meta .material-symbols-rounded:last-child { font-size: calc(0.82rem * var(--hud-scale)); } .earth-settings-switch { position: relative; display: inline-flex; align-items: center; } .earth-settings-switch input { position: absolute; opacity: 0; pointer-events: none; } .earth-settings-switch-track { width: calc(38px * var(--hud-scale)); height: calc(22px * var(--hud-scale)); border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(215, 229, 242, 0.12); position: relative; transition: background 0.18s ease, border-color 0.18s ease; } .earth-settings-switch-track::after { content: ""; position: absolute; top: calc(3px * var(--hud-scale)); left: calc(3px * var(--hud-scale)); width: calc(16px * var(--hud-scale)); height: calc(16px * var(--hud-scale)); border-radius: 50%; background: #edf4fc; box-shadow: 0 6px 14px rgba(1, 8, 18, 0.26); transition: transform 0.18s ease; } .earth-settings-switch input:checked + .earth-settings-switch-track { background: linear-gradient(180deg, rgba(143, 185, 255, 0.72), rgba(104, 147, 221, 0.78)); border-color: rgba(223, 236, 252, 0.28); } .earth-settings-switch input:checked + .earth-settings-switch-track::after { transform: translateX(calc(16px * var(--hud-scale))); } .earth-settings-item.is-disabled { opacity: 0.38; cursor: not-allowed; pointer-events: none; } @media (max-width: 960px) { .earth-settings-sheet { top: 24px; right: 12px; left: 12px; width: auto; max-width: none; max-height: calc(100vh - 48px); } } .layout-mode-mobile .earth-search-sheet { top: calc(8px + var(--safe-top)); left: 8px; right: 8px; width: auto; max-height: calc(100vh - var(--safe-top) - var(--safe-bottom) - 16px); transform: translateX(0) translateY(8px) scale(1); } .layout-mode-mobile .earth-search-modal.is-open .earth-search-sheet { transform: translateX(0) translateY(0) scale(1); } .layout-mode-mobile .earth-settings-sheet { top: auto; left: 8px; right: 8px; bottom: calc(8px + var(--safe-bottom)); width: auto; max-width: none; max-height: min(78vh, 720px); border-radius: 24px 24px 18px 18px; } /* .earth-left-column layout-expanded rule lives in info-panel.css */ /* .hud-panel-legend layout-expanded rule lives in legend.css */ /* .hud-panel-stats layout-expanded rule lives in earth-stats.css */ /* .hud-panel-layers layout-expanded rule lives in layer-panel.css */ /* .hud-panel-media layout-expanded rule lives in tv-panel.css */