:root { --c-accent: #9fd0ff; --c-on-accent: #06080d; }
html, body { margin: 0; height: 100%; background: #000; color: #e9eef7; overflow: hidden;
  font: 15px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
#view { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.hidden { display: none !important; }
#nose { position: fixed; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; pointer-events: none;
  opacity: 0.75;
  background:
    linear-gradient(#cfe6ff, #cfe6ff) 0 50% / 8px 2px no-repeat,
    linear-gradient(#cfe6ff, #cfe6ff) 100% 50% / 8px 2px no-repeat,
    linear-gradient(#cfe6ff, #cfe6ff) 50% 0 / 2px 8px no-repeat,
    linear-gradient(#cfe6ff, #cfe6ff) 50% 100% / 2px 8px no-repeat; }
#marks { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
#marks div { position: absolute; left: 0; top: 0; padding-left: 16px; white-space: nowrap;
  font-size: 13px; line-height: 14px; color: #cfe0f5; text-shadow: 0 1px 4px #000, 0 0 2px #000; }
#marks div::before { content: ""; position: absolute; left: -7px; top: 0; width: 12px; height: 12px;
  border: 1.5px solid rgba(159, 208, 255, 0.8); border-radius: 50%; }
#marks b { font-weight: 650; }
#marks span { opacity: 0.8; font-variant-numeric: tabular-nums; }
#dash { position: fixed; left: calc(16px + env(safe-area-inset-left)); top: calc(var(--band-h, 56px) + 10px);
  pointer-events: none; text-shadow: 0 1px 6px #000, 0 0 2px #000; }
#speed { font-size: 26px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
#alt, #lap { font-size: 14px; opacity: 0.85; font-variant-numeric: tabular-nums; }
#caption { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 24px; pointer-events: none;
  text-shadow: 0 2px 14px #000; animation: rise 0.5s ease-out both; }
#capBig { font-size: clamp(30px, 6.5vw, 64px); font-weight: 700; letter-spacing: 0.01em; }
#capSmall { margin-top: 10px; font-size: clamp(15px, 2.4vw, 22px); opacity: 0.85; font-variant-numeric: tabular-nums; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
#fail { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 32px; text-align: center; font-size: 17px; background: #000; }
@media (max-width: 560px), (max-height: 420px) {
  #speed { font-size: 20px; }
  #alt, #lap { font-size: 12px; }
  #marks div { font-size: 12px; }
}
.c-page { --c-page-bg: rgba(0, 0, 0, 0.42); }
body.home #dash, body.home #marks, body.home #nose, body.home #c-corner { display: none; }
body.shot #c-corner, body.shot #c-stick { display: none; }
