/* The LUSTRA compass: warm metal, plum glass, fine hairlines. */
.lustra-compass {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 5px;
  border: 1px solid #e1bdad57;
  border-radius: 40px;
  background: linear-gradient(135deg, #342936eb, #111925ed);
  box-shadow: 0 8px 30px #08091224, inset 0 1px #f3d8c916;
  backdrop-filter: blur(22px) saturate(115%);
  -webkit-backdrop-filter: blur(22px) saturate(115%);
  opacity: .24;
  transition: opacity .65s ease, transform .4s ease, visibility .4s;
  font: 400 13px/1.2 Northstar, Inter, system-ui, sans-serif;
  isolation: isolate;
}
.lustra-compass[data-awake="true"], .lustra-compass:hover, .lustra-compass:focus-within { opacity: 1; }
.lustra-compass button, .lustra-compass a {
  appearance: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 78px;
  height: 46px;
  margin: 0;
  padding: 0 13px;
  border: 0;
  border-radius: 30px;
  background: transparent;
  color: #f4e8df;
  font: inherit;
  text-decoration: none;
  letter-spacing: 0;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .2s ease, color .2s ease;
}
.lustra-compass .lustra-compass-home { min-width: 98px; background: #f3d1be0b; }
.lustra-compass button:not(:disabled):hover, .lustra-compass a:hover { background: #e1bdad19; color: #fff8ed; }
.lustra-compass button:focus-visible, .lustra-compass a:focus-visible { outline: 2px solid #e1bdad; outline-offset: 2px; }
.lustra-compass button:disabled { opacity: .34; cursor: default; }
.lustra-compass button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.lustra-compass img { display: block; width: 26px; height: 29px; object-fit: contain; }
.lustra-compass-progress { position: absolute; left: 24px; right: 24px; bottom: 0; height: 1px; overflow: hidden; pointer-events: none; }
.lustra-compass-progress::before { content: ''; display: block; width: var(--compass-progress, 0%); height: 1px; background: #d5ba7f; }
.lustra-compass[data-obscured="true"] { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 10px); }
html.lustra-wayfinding footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
@media (hover: none) { .lustra-compass { opacity: .68; } }
@media (max-width: 360px) {
  .lustra-compass button, .lustra-compass a { min-width: 70px; padding-inline: 10px; }
  .lustra-compass .lustra-compass-home { min-width: 90px; }
}
@media (prefers-reduced-motion: reduce) { .lustra-compass, .lustra-compass * { transition: none; } }
@media (forced-colors: active) {
  .lustra-compass { opacity: 1; background: Canvas; border-color: ButtonText; box-shadow: none; }
  .lustra-compass button, .lustra-compass a { color: ButtonText; }
  .lustra-compass button:disabled { opacity: 1; color: GrayText; }
  .lustra-compass button:focus-visible, .lustra-compass a:focus-visible { outline-color: Highlight; }
  .lustra-compass[data-obscured="true"] { opacity: 0; }
}
@media print { .lustra-compass { display: none; } }
