:root {
  --annex-ink: #fff1d0;
  --annex-gold: #d2a755;
  --annex-bg: #17110b;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--annex-bg); }
body.eftsona-annex-page { overflow: hidden; color: var(--annex-ink); font-family: Inter, Arial, sans-serif; }

.annex-app { position: relative; min-height: 100vh; background: var(--annex-bg); }
.annex-viewport { width: 100vw; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.annex-scene {
  position: relative;
  width: min(100vw, 177.78vh);
  aspect-ratio: 1672 / 941;
  flex: 0 0 auto;
  overflow: hidden;
  background: #21170f;
  isolation: isolate;
}
.annex-background {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  user-select: none;
}

.annex-hotspots { position: absolute; inset: 0; z-index: 10; }
.annex-hotspot { position: absolute; border-radius: 8px; outline: none; }
.annex-hotspot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 3px solid transparent;
  border-radius: 10px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.annex-hotspot:hover::after,
.annex-hotspot:focus-visible::after {
  border-color: rgba(255, 226, 157, .90);
  background: rgba(255, 218, 132, .055);
  box-shadow: 0 0 34px rgba(255, 196, 83, .34);
}
.annex-hotspot--proofhouse { left: 10.7%; top: 8.2%; width: 20.0%; height: 84.0%; }
.annex-hotspot--bureau { left: 71.8%; top: 8.2%; width: 18.4%; height: 84.0%; }

.annex-toolbar {
  position: fixed;
  z-index: 100;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  display: flex;
  gap: 8px;
}
.annex-control {
  border: 1px solid rgba(238, 213, 164, .55);
  border-radius: 999px;
  background: rgba(28, 20, 13, .82);
  color: #fff5de;
  padding: 10px 14px;
  font: 700 14px/1 Inter, Arial, sans-serif;
  text-decoration: none;
  backdrop-filter: blur(8px);
}
.annex-control:hover,
.annex-control:focus-visible {
  background: rgba(73, 48, 25, .94);
  outline: 2px solid #e6c979;
  outline-offset: 2px;
}
.is-visitor .annex-control--member { display: none; }

.annex-noscript {
  position: fixed;
  z-index: 200;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 16px;
  border: 1px solid rgba(210, 167, 85, .55);
  background: #24170d;
  color: white;
}
.annex-noscript a { color: #f1ca78; }

@media (max-width: 800px) {
  .annex-viewport { overflow-x: auto; overflow-y: hidden; display: block; scroll-snap-type: x proximity; }
  .annex-scene { width: max(1280px, 177.78vh); height: 100vh; aspect-ratio: 1672 / 941; scroll-snap-align: center; }
  .annex-toolbar { left: 8px; right: 8px; justify-content: center; }
  .annex-control { padding: 9px 12px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .annex-hotspot::after { transition: none; }
}
