:root {
      --bg-0: #05070b;
      --bg-1: #0a0e14;
      --bg-2: #0f141c;
      --bg-3: #151c26;
      --line: #1e2733;
      --line-bright: #2a3646;
      --text: #e6e8ec;
      --text-dim: #8b95a3;
      --text-faint: #4a5361;
      --phos: #9dd6b4;
      --phos-bright: #c8efd8;
      --amber: #f4b860;
      --amber-bright: #ffd38a;
      --coral: #e85d75;
      --blue: #6fa8dc;
      --violet: #a78bfa;

      --glow-phos: rgba(157, 214, 180, 0.35);
      --glow-amber: rgba(244, 184, 96, 0.3);
      --glow-coral: rgba(232, 93, 117, 0.3);
      --glow-blue: rgba(111, 168, 220, 0.3);
      --radius: 4px;
      --ease: cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html,
    body {
      height: 100%;
      overflow: hidden;
    }

    body {
      background: var(--bg-0);
      color: var(--text);
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 400;
      letter-spacing: 0.01em;
      user-select: none;
    }

    .app {
      display: grid;
      grid-template-rows: 44px 1fr;
      height: 100vh;
      width: 100vw;
    }

    header {
      display: flex;
      align-items: center;
      padding: 0 18px;
      background: var(--bg-1);
      border-bottom: 1px solid var(--line);
      gap: 24px;
    }

    header .brand {
      font-family: 'Fraunces', serif;
      font-weight: 600;
      font-size: 18px;
      letter-spacing: -0.02em;
      color: var(--text);
    }

    header .brand em {
      font-style: italic;
      color: var(--phos);
      font-weight: 400;
    }

    header .tag {
      font-size: 9px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--text-faint);
      padding: 3px 8px;
      border: 1px solid var(--line-bright);
      border-radius: 2px;
    }

    header .clock {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 18px;
      font-size: 11px;
      color: var(--text-dim);
    }

    header .clock b {
      color: var(--phos);
      font-weight: 500;
    }

    header .status {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 9px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
    }

    header .status .dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--phos);
      box-shadow: 0 0 8px var(--phos);
      animation: pulse 1.8s infinite;
    }

    header .status.pre .dot {
      background: var(--amber);
      box-shadow: 0 0 8px var(--amber);
    }

    header .status.flight .dot {
      background: var(--phos);
      box-shadow: 0 0 8px var(--phos);
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.4;
      }
    }

    .layout {
      display: grid;
      height: calc(100vh - 44px);
      gap: 0;
    }

    .layout[data-view="split"] {
      grid-template-columns: 310px 1fr 310px;
      grid-template-rows: 1fr 220px;
    }

    .layout[data-view="split"] aside.left {
      grid-row: 1 / 3;
    }

    .layout[data-view="split"] .panel-orbit {
      grid-column: 2;
      grid-row: 1;
    }

    .layout[data-view="split"] .panel-attitude {
      grid-column: 3;
      grid-row: 1;
      display: flex;
    }

    .layout[data-view="split"] .panel-ground {
      grid-column: 2 / 4;
      grid-row: 2;
      display: flex;
    }

    .layout[data-view="split"] .panel-power {
      display: none;
    }

    .layout[data-view="mission"] {
      grid-template-columns: 310px 1fr;
      grid-template-rows: 1fr 280px;
    }

    .layout[data-view="mission"] aside.left {
      grid-row: 1 / 3;
    }

    .layout[data-view="mission"] .panel-orbit {
      grid-column: 2;
      grid-row: 1;
    }

    .layout[data-view="mission"] .panel-attitude {
      display: none;
    }

    .layout[data-view="mission"] .panel-ground {
      grid-column: 2;
      grid-row: 2;
      display: flex;
    }

    .layout[data-view="mission"] .panel-power {
      display: none;
    }

    .layout[data-view="attitude"] {
      grid-template-columns: 310px 1fr;
      grid-template-rows: 1fr;
    }

    .layout[data-view="attitude"] aside.left {
      grid-row: 1;
    }

    .layout[data-view="attitude"] .panel-orbit {
      display: none;
    }

    .layout[data-view="attitude"] .panel-ground {
      display: none;
    }

    .layout[data-view="attitude"] .panel-attitude {
      grid-column: 2;
      grid-row: 1;
      display: flex;
    }

    .layout[data-view="attitude"] .panel-power {
      display: none;
    }

    .layout[data-view="power"] {
      grid-template-columns: 310px 1fr;
      grid-template-rows: 1fr;
    }

    .layout[data-view="power"] aside.left {
      grid-row: 1;
    }

    .layout[data-view="power"] .panel-orbit {
      display: none;
    }

    .layout[data-view="power"] .panel-ground {
      display: none;
    }

    .layout[data-view="power"] .panel-attitude {
      display: none;
    }

    .layout[data-view="power"] .panel-power {
      grid-column: 2;
      grid-row: 1;
      display: flex;
    }

    .view-mode {
      display: flex;
      gap: 2px;
      margin-left: 18px;
    }

    .view-mode .vm {
      background: var(--bg-2);
      border: 1px solid var(--line-bright);
      color: var(--text-dim);
      padding: 5px 12px;
      font-size: 12px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      cursor: pointer;
      font-family: 'JetBrains Mono', monospace;
      border-radius: 2px;
      font-weight: 500;
      transition: all 0.15s;
    }

    .view-mode .vm:hover {
      color: var(--phos);
      border-color: var(--phos);
    }

    .view-mode .vm.active {
      background: var(--phos);
      color: var(--bg-0);
      border-color: var(--phos);
    }

    aside.left {
      background: var(--bg-1);
      border-right: 1px solid var(--line);
      overflow-y: auto;
      overflow-x: hidden;
    }

    .panel-orbit {
      position: relative;
      background: var(--bg-0);
    }

    .panel-attitude {
      background: var(--bg-1);
      border-left: 1px solid var(--line);
      flex-direction: column;
    }

    .panel-ground {
      background: var(--bg-1);
      border-top: 1px solid var(--line);
      flex-direction: column;
    }

    .panel-power {
      background: var(--bg-1);
      flex-direction: column;
      overflow: hidden;
    }

    .power-body {
      flex: 1;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 0;
      overflow: hidden;
    }

    .pw-col {
      display: flex;
      flex-direction: column;
      padding: 14px 16px;
      border-right: 1px solid var(--line);
      overflow: hidden;
    }

    .pw-col:last-child {
      border-right: none;
    }

    .pw-lbl {
      font-size: 9px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--text-faint);
      margin-bottom: 10px;
    }

    .pw-canvas {
      flex: 1;
      width: 100%;
      min-height: 180px;
      background: var(--bg-0);
      border: 1px solid var(--line);
      border-radius: 2px;
    }

    .pw-readout {
      margin-top: 10px;
      font-size: 10px;
    }

    .pr-row {
      display: flex;
      justify-content: space-between;
      padding: 3px 0;
      border-bottom: 1px dashed var(--line);
    }

    .pr-row:last-child {
      border-bottom: none;
    }

    .pr-row span {
      color: var(--text-dim);
    }

    .pr-row b {
      color: var(--phos);
      font-weight: 500;
    }

    .pw-stats {
      display: flex;
      flex-direction: column;
      gap: 4px;
      font-size: 10px;
      flex: 1;
      justify-content: center;
    }

    .ps {
      display: flex;
      justify-content: space-between;
      padding: 5px 0;
      border-bottom: 1px dashed var(--line);
    }

    .ps span {
      color: var(--text-dim);
    }

    .ps b {
      color: var(--amber);
      font-weight: 500;
    }

    .section {
      border-bottom: 1px solid var(--line);
      padding: 14px 16px;
    }

    .section h3 {
      font-family: 'JetBrains Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      font-weight: 500;
      margin-bottom: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .section h3 .num {
      color: var(--phos);
      font-family: 'Fraunces', serif;
      font-size: 14px;
      letter-spacing: 0;
      text-transform: none;
    }

    .section h2 {
      font-family: 'Fraunces', serif;
      font-size: 15px;
      font-weight: 400;
      color: var(--text);
      margin-bottom: 2px;
      letter-spacing: -0.01em;
    }

    .section h2 em {
      color: var(--phos);
      font-style: italic;
    }

    .section .desc {
      font-size: 12px;
      color: var(--text-faint);
      letter-spacing: 0.05em;
      line-height: 1.4;
      margin-bottom: 12px;
    }

    label.field {
      display: block;
      margin-bottom: 10px;
    }

    label.field span {
      display: flex;
      justify-content: space-between;
      font-size: 9px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-dim);
      margin-bottom: 3px;
    }

    label.field span em {
      color: var(--phos);
      font-style: normal;
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0;
    }

    label.field input[type="number"],
    label.field input[type="text"],
    label.field select {
      width: 100%;
      background: var(--bg-2);
      border: 1px solid var(--line);
      color: var(--text);
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      padding: 5px 7px;
      border-radius: 2px;
      outline: none;
    }

    label.field input:focus,
    label.field select:focus {
      border-color: var(--phos);
    }

    label.field input[type="range"] {
      width: 100%;
      accent-color: var(--phos);
    }

    .row-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .row-3 {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 6px;
    }

    button.btn {
      background: var(--bg-2);
      border: 1px solid var(--line-bright);
      color: var(--text);
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 7px 10px;
      border-radius: 2px;
      cursor: pointer;
      transition: all 0.15s;
    }

    button.btn:hover {
      border-color: var(--phos);
      color: var(--phos);
    }

    button.btn.primary {
      background: var(--phos);
      color: var(--bg-0);
      border-color: var(--phos);
      font-weight: 600;
    }

    button.btn.primary:hover {
      background: var(--phos-bright);
      color: var(--bg-0);
    }

    button.btn.danger {
      border-color: var(--coral);
      color: var(--coral);
    }

    button.btn.danger:hover {
      background: var(--coral);
      color: var(--bg-0);
    }

    .btn-row {
      display: flex;
      gap: 6px;
    }

    .btn-row button {
      flex: 1;
    }

    .elements-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1px;
      background: var(--line);
      border: 1px solid var(--line);
    }

    .el {
      background: var(--bg-2);
      padding: 7px 9px;
    }

    .el .k {
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 2px;
    }

    .el .k em {
      color: var(--amber);
      font-style: italic;
      font-family: 'Fraunces', serif;
      font-size: 11px;
      text-transform: none;
      letter-spacing: 0;
      margin-right: 3px;
    }

    .el .v {
      font-size: 12px;
      color: var(--phos);
      font-weight: 500;
      font-variant-numeric: tabular-nums;
    }

    .el .u {
      font-size: 9px;
      color: var(--text-dim);
      margin-left: 4px;
    }

    canvas.full {
      display: block;
      width: 100%;
      height: 100%;
    }

    .overlay {
      position: absolute;
      font-size: 9px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-faint);
      pointer-events: none;
    }

    .overlay.tl {
      top: 14px;
      left: 18px;
    }

    .overlay.tr {
      top: 14px;
      right: 18px;
      text-align: right;
    }

    .overlay.bl {
      bottom: 14px;
      left: 18px;
    }

    .overlay.br {
      bottom: 14px;
      right: 18px;
      text-align: right;
    }

    .overlay b {
      color: var(--phos);
      font-weight: 500;
      letter-spacing: 0;
      font-size: 10px;
      font-family: 'JetBrains Mono', monospace;
      text-transform: none;
    }

    .overlay .big {
      font-family: 'Fraunces', serif;
      font-style: italic;
      font-size: 22px;
      color: var(--text);
      letter-spacing: -0.01em;
      text-transform: none;
      margin-bottom: 2px;
      font-weight: 300;
    }

    .corners::before,
    .corners::after,
    .corners>.c1::before,
    .corners>.c1::after {
      content: '';
      position: absolute;
      width: 10px;
      height: 10px;
      border-color: var(--line-bright);
      border-style: solid;
    }

    .corners::before {
      top: 8px;
      left: 8px;
      border-width: 1px 0 0 1px;
    }

    .corners::after {
      top: 8px;
      right: 8px;
      border-width: 1px 1px 0 0;
    }

    .corners>.c1::before {
      bottom: 8px;
      left: 8px;
      border-width: 0 0 1px 1px;
    }

    .corners>.c1::after {
      bottom: 8px;
      right: 8px;
      border-width: 0 1px 1px 0;
    }

    .panel-header {
      padding: 10px 14px;
      border-bottom: 1px solid var(--line);
      display: flex;
      justify-content: space-between;
      align-items: baseline;
    }

    .panel-header h4 {
      font-family: 'Fraunces', serif;
      font-size: 13px;
      font-weight: 400;
      color: var(--text);
      letter-spacing: -0.01em;
    }

    .panel-header h4 em {
      color: var(--phos);
      font-style: italic;
    }

    .panel-header .meta {
      font-size: 9px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--text-faint);
    }

    .att-body {
      flex: 1;
      position: relative;
      background: var(--bg-0);
      min-height: 0;
    }

    .att-readout {
      padding: 10px 14px;
      border-top: 1px solid var(--line);
      background: var(--bg-1);
    }

    .att-row {
      display: flex;
      justify-content: space-between;
      font-size: 10px;
      padding: 2px 0;
    }

    .att-row .k {
      color: var(--text-dim);
    }

    .att-row .v {
      color: var(--phos);
      font-variant-numeric: tabular-nums;
    }

    .ground-body {
      flex: 1;
      position: relative;
      min-height: 0;
    }

    .preset-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4px;
      margin-top: 6px;
    }

    .preset {
      background: var(--bg-2);
      border: 1px solid var(--line);
      padding: 6px 8px;
      font-size: 9px;
      letter-spacing: 0.05em;
      cursor: pointer;
      color: var(--text-dim);
      transition: all 0.15s;
      border-radius: 2px;
    }

    .preset:hover {
      border-color: var(--phos);
      color: var(--phos);
    }

    .preset.active {
      border-color: var(--phos);
      color: var(--phos);
      background: rgba(157, 214, 180, 0.06);
    }

    .preset .site {
      font-weight: 600;
      color: var(--text);
    }

    .preset:hover .site,
    .preset.active .site {
      color: var(--phos-bright);
    }

    .preset .coord {
      font-size: 8px;
      margin-top: 2px;
    }

    .toggle-row {
      display: flex;
      gap: 4px;
      margin-bottom: 8px;
    }

    .toggle-row .tg {
      flex: 1;
      background: var(--bg-2);
      border: 1px solid var(--line);
      padding: 5px;
      font-size: 9px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      text-align: center;
      cursor: pointer;
      color: var(--text-dim);
      border-radius: 2px;
    }

    .toggle-row .tg.active {
      border-color: var(--phos);
      color: var(--phos);
      background: rgba(157, 214, 180, 0.08);
    }

    .badge {
      display: inline-block;
      font-size: 8px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 2px 6px;
      border-radius: 2px;
      border: 1px solid var(--line-bright);
      color: var(--text-dim);
    }

    .badge.ok {
      border-color: var(--phos);
      color: var(--phos);
    }

    .badge.warn {
      border-color: var(--amber);
      color: var(--amber);
    }

    ::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }

    ::-webkit-scrollbar-track {
      background: var(--bg-1);
    }

    ::-webkit-scrollbar-thumb {
      background: var(--line-bright);
      border-radius: 0;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: var(--text-faint);
    }

    .gg-legend {
      position: absolute;
      bottom: 10px;
      left: 14px;
      font-size: 9px;
      color: var(--text-faint);
      letter-spacing: 0.05em;
    }

    .gg-legend div {
      margin: 2px 0;
    }

    .gg-legend .sw {
      display: inline-block;
      width: 10px;
      height: 2px;
      margin-right: 6px;
      vertical-align: middle;
    }

    .boom-control {
      margin-top: 8px;
      padding: 10px;
      background: var(--bg-2);
      border: 1px solid var(--line);
      border-radius: 2px;
    }

    .boom-control .title {
      display: flex;
      justify-content: space-between;
      font-size: 9px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-dim);
      margin-bottom: 6px;
    }

    .boom-control .title b {
      color: var(--phos);
      font-weight: 500;
      letter-spacing: 0;
      text-transform: none;
      font-size: 10px;
    }

    html {
      color-scheme: dark;
    }

    input,
    select,
    textarea {
      user-select: text;
    }

    body {
      background:
        radial-gradient(1100px 700px at 85% -10%, rgba(111, 168, 220, 0.07), transparent 60%),
        radial-gradient(900px 600px at 8% 115%, rgba(157, 214, 180, 0.05), transparent 60%),
        var(--bg-0);
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    .el .v,
    .att-row .v,
    .pr-row b,
    .ps b,
    header .clock b,
    .overlay b,
    .pw-readout b {
      font-variant-numeric: tabular-nums;
      font-weight: 500;
    }

    header {
      position: relative;
    }

    header::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent 5%, var(--glow-phos) 30%, rgba(111, 168, 220, 0.35) 70%, transparent 95%);
      opacity: 0.7;
    }

    header .brand em {
      text-shadow: 0 0 14px var(--glow-phos);
    }

    header .clock b {
      text-shadow: 0 0 8px var(--glow-phos);
    }

    header .status .dot {
      box-shadow: 0 0 10px var(--glow-phos);
    }

    .view-mode .vm {
      border-radius: var(--radius);
    }

    .view-mode .vm:hover {
      box-shadow: inset 0 0 0 1px var(--glow-phos);
    }

    .view-mode .vm.active {
      box-shadow: 0 0 10px var(--glow-phos);
    }

    aside.left {
      background:
        linear-gradient(180deg, rgba(157, 214, 180, 0.025), transparent 220px),
        var(--bg-1);
    }

    .section h3::before {
      content: '';
      width: 2px;
      height: 9px;
      margin-right: 7px;
      border-radius: 1px;
      background: linear-gradient(180deg, var(--phos), rgba(157, 214, 180, 0.15));
      box-shadow: 0 0 6px var(--glow-phos);
    }

    .section h2 em {
      text-shadow: 0 0 10px var(--glow-phos);
    }

    .section .desc {
      color: rgba(255, 255, 255, 1);
    }

    label.field input,
    label.field select {
      transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease);
    }

    label.field input:focus,
    label.field select:focus {
      border-color: var(--phos);
      box-shadow: 0 0 0 3px rgba(157, 214, 180, 0.12);
    }

    label.field span em {
      text-shadow: 0 0 8px rgba(157, 214, 180, 0.35);
    }

    input[type="number"]::-webkit-inner-spin-button {
      opacity: 0.4;
      transition: opacity 0.15s;
    }

    input[type="number"]:hover::-webkit-inner-spin-button {
      opacity: 0.95;
    }

    input[type="range"] {
      -webkit-appearance: none;
      appearance: none;
      height: 18px;
      background: transparent;
      cursor: pointer;
    }

    input[type="range"]::-webkit-slider-runnable-track {
      height: 3px;
      border-radius: 2px;
      background: linear-gradient(90deg, var(--line-bright), var(--line));
    }

    input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 11px;
      height: 11px;
      margin-top: -4px;
      border-radius: 50%;
      background: var(--bg-0);
      border: 2px solid var(--phos);
      box-shadow: 0 0 8px var(--glow-phos);
      transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
    }

    input[type="range"]:hover::-webkit-slider-thumb {
      transform: scale(1.2);
      box-shadow: 0 0 12px var(--glow-phos);
    }

    input[type="range"]::-moz-range-track {
      height: 3px;
      border-radius: 2px;
      background: linear-gradient(90deg, var(--line-bright), var(--line));
    }

    input[type="range"]::-moz-range-thumb {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--bg-0);
      border: 2px solid var(--phos);
      box-shadow: 0 0 8px var(--glow-phos);
    }

    #mag-mmax::-webkit-slider-thumb,
    #mag-k::-webkit-slider-thumb {
      border-color: var(--amber);
      box-shadow: 0 0 8px var(--glow-amber);
    }

    #mag-mmax::-moz-range-thumb,
    #mag-k::-moz-range-thumb {
      border-color: var(--amber);
      box-shadow: 0 0 8px var(--glow-amber);
    }

    button.btn {
      border-radius: var(--radius);
      transition: all 0.15s var(--ease);
    }

    button.btn:hover {
      transform: translateY(-1px);
    }

    button.btn:active {
      transform: translateY(0);
    }

    button.btn:focus-visible,
    .view-mode .vm:focus-visible,
    .toggle-row .tg:focus-visible,
    .preset:focus-visible {
      outline: 2px solid var(--phos);
      outline-offset: 2px;
    }

    button.btn.primary {
      box-shadow: 0 0 12px var(--glow-phos);
    }

    button.btn.primary:hover {
      box-shadow: 0 0 18px var(--glow-phos);
    }

    .el {
      transition: background 0.2s var(--ease);
    }

    .el:hover {
      background: var(--bg-3);
    }

    .el .v {
      text-shadow: 0 0 10px rgba(157, 214, 180, 0.3);
    }

    .preset {
      border-radius: var(--radius);
      transition: all 0.15s var(--ease);
    }

    .preset:hover {
      transform: translateX(2px);
    }

    .preset.active {
      box-shadow: 0 0 8px rgba(157, 214, 180, 0.12);
    }

    .toggle-row .tg {
      border-radius: var(--radius);
      transition: all 0.15s var(--ease);
    }

    .toggle-row .tg.active {
      box-shadow: inset 0 0 12px rgba(157, 214, 180, 0.1);
    }

    .badge {
      border-radius: var(--radius);
      transition: all 0.2s var(--ease);
    }

    .badge.ok {
      box-shadow: 0 0 8px rgba(157, 214, 180, 0.22);
    }

    .badge.warn {
      box-shadow: 0 0 8px rgba(244, 184, 96, 0.22);
    }

    .panel-header {
      background: linear-gradient(180deg, rgba(157, 214, 180, 0.05), transparent);
    }

    .panel-header h4::before {
      content: '';
      display: inline-block;
      width: 5px;
      height: 5px;
      margin-right: 8px;
      transform: rotate(45deg);
      background: var(--phos);
      box-shadow: 0 0 8px var(--glow-phos);
      vertical-align: middle;
    }

    .corners::before,
    .corners::after,
    .corners>.c1::before,
    .corners>.c1::after {
      border-color: rgba(157, 214, 180, 0.28);
    }

    .overlay .big {
      text-shadow: 0 0 18px rgba(157, 214, 180, 0.28);
    }

    .overlay b {
      text-shadow: 0 0 8px var(--glow-phos);
    }

    .gg-legend {
      background: rgba(10, 14, 20, 0.65);
      padding: 6px 9px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      backdrop-filter: blur(4px);
    }

    .pw-canvas,
    .boom-control {
      border-radius: var(--radius);
    }

    .boom-control {
      transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
    }

    .boom-control:hover {
      border-color: var(--line-bright);
      background: rgba(157, 214, 180, 0.03);
    }

    .ps b {
      text-shadow: 0 0 8px var(--glow-amber);
    }

    body {
      font-size: 12px;
    }

    header .tag {
      font-size: 12px;
    }

    header .clock {
      font-size: 12px;
    }

    header .status {
      font-size: 10px;
    }

    .view-mode .vm {
      font-size: 12px;
    }

    .section h2 {
      font-size: 16px;
    }

    .section h3 {
      font-size: 14px;
    }

    .section h3 .num {
      font-size: 15px;
    }

    .section .desc {
      font-size: 12px;
    }

    label.field span {
      font-size: 12px;
    }

    label.field input[type="number"],
    label.field input[type="text"],
    label.field select {
      font-size: 12px;
    }

    button.btn {
      font-size: 11px;
    }

    .el .k {
      font-size: 12px;
    }

    .el .k em {
      font-size: 12px;
    }

    .el .v {
      font-size: 13px;
    }

    .el .u {
      font-size: 10px;
    }

    .overlay {
      font-size: 10px;
    }

    .overlay .big {
      font-size: 24px;
    }

    .overlay b {
      font-size: 11px;
    }

    .panel-header h4 {
      font-size: 14px;
    }

    .panel-header .meta {
      font-size: 10px;
    }

    .att-row {
      font-size: 11px;
    }

    .preset {
      font-size: 11px;
    }

    .preset .coord {
      font-size: 10px;
    }

    .toggle-row .tg {
      font-size: 10px;
    }

    .badge {
      font-size: 10px;
    }

    .gg-legend {
      font-size: 10px;
    }

    .pw-lbl {
      font-size: 10px;
    }

    .pw-readout,
    .pw-stats {
      font-size: 11px;
    }

    .boom-control .title {
      font-size: 10px;
    }

    .boom-control .title b {
      font-size: 11px;
    }

    #launch-epoch {
      font-size: 12px !important;
    }

    #btn-epoch-now,
    #btn-epoch-sols-jun,
    #btn-epoch-sols-dez,
    #btn-clear-track {
      font-size: 10px !important;
    }

    .panel-ground .tg,
    .panel-power .tg {
      font-size: 10px !important;
    }

    .overlay.br {
      font-size: 10px !important;
    }

    .el .v#el-latlon,
    #el-latlon {
      font-size: 11px !important;
    }

    ::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }

    ::-webkit-scrollbar-track {
      background: transparent;
    }

    ::-webkit-scrollbar-thumb {
      background: var(--line-bright);
      border-radius: 4px;
      border: 2px solid var(--bg-1);
    }

    ::-webkit-scrollbar-thumb:hover {
      background: var(--text-faint);
    }

    @media (prefers-reduced-motion: reduce) {

      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    @media (max-width: 1440px) {
      .layout[data-view="split"] {
        grid-template-columns: 280px 1fr 280px;
      }
    }

    @media (max-width: 1100px) {
      .layout[data-view="split"] {
        grid-template-columns: 250px 1fr 250px;
      }

      .layout[data-view="mission"],
      .layout[data-view="attitude"],
      .layout[data-view="power"] {
        grid-template-columns: 250px 1fr;
      }

      header .tag {
        display: none;
      }
    }

    @media (max-width: 900px) {
      .layout[data-view="split"] {
        grid-template-rows: 1fr 180px;
      }

      header {
        gap: 12px;
        padding: 0 10px;
      }

      .view-mode {
        margin-left: 8px;
      }
    }

    @media (max-width: 700px) {
      .layout[data-view="split"] {
        grid-template-columns: 200px 1fr 200px;
      }

      header .clock {
        gap: 8px;
        font-size: 10px;
      }
    }
