:root {
  --obsidian: #0d0e0f;
  --charcoal: #121414;
  --amber: #ffbf00;
  --soft-amber: #ffe2ab;
  --muted: #d4c5ab;
  --text: #e3e2e2;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--obsidian);
  color: var(--text);
  font-family: Manrope, Arial, sans-serif;
}

.world-shell {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: var(--charcoal);
}

#panorama {
  position: absolute;
  inset: 0;
}

#panorama .pnlm-container {
  background: var(--obsidian);
}

.world-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 14, 15, .58), transparent 32%, rgba(13, 14, 15, .66)),
    radial-gradient(circle at 50% 52%, transparent 42%, rgba(13, 14, 15, .42) 100%);
}

.signature {
  position: absolute;
  top: max(22px, env(safe-area-inset-top));
  left: 50%;
  z-index: 7;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}

.signature strong {
  display: block;
  color: var(--soft-amber);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.signature span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 226, 171, .62);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hint {
  position: absolute;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 7;
  transform: translateX(-50%);
  color: rgba(212, 197, 171, .52);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.panel {
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  bottom: clamp(24px, 7vh, 72px);
  z-index: 10;
  width: min(88vw, 380px);
  padding: 28px;
  border: 1px solid rgba(255, 226, 171, .28);
  background: rgba(13, 14, 15, .66);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 42px rgba(255, 191, 0, .08);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}

.panel.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.panel h2 {
  margin: 0;
  color: var(--soft-amber);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
}

.panel p,
.panel li {
  color: rgba(227, 226, 226, .76);
  font-size: 14px;
  line-height: 1.7;
}

.panel ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.panel a,
.panel button {
  border: 1px solid rgba(255, 226, 171, .32);
  background: transparent;
  color: var(--soft-amber);
  min-height: 42px;
  padding: 0 14px;
  font: 800 11px/1 Manrope, Arial, sans-serif;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.panel a:hover,
.panel button:hover {
  border-color: var(--amber);
}

.close-panel {
  position: absolute;
  top: 12px;
  right: 12px;
}

.koptem-hotspot {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
}

.koptem-hotspot button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid rgba(255, 226, 171, .36);
  background: rgba(7, 8, 7, .62);
  color: rgba(255, 226, 171, .94);
  padding: 0 14px;
  font: 800 11px/1 Manrope, Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  cursor: pointer;
  box-shadow: 0 0 24px rgba(255, 191, 0, .08);
}

.koptem-hotspot button:hover,
.koptem-hotspot button:focus-visible {
  border-color: var(--amber);
  outline: none;
}

.koptem-hotspot .icon {
  color: var(--amber);
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 720px) {
  .signature {
    width: min(86vw, 360px);
  }

  .signature strong {
    font-size: clamp(18px, 6vw, 28px);
  }

  .panel {
    left: 16px;
    right: 16px;
    bottom: 18px;
    width: auto;
    padding: 24px;
  }

  .hint {
    width: min(84vw, 360px);
  }
}
