.ourland-reconstruction {
  --reconstruction-gold: #c9a568;
  --reconstruction-ink: #05070a;
  min-height: 100vh;
  color: #f1f4f8;
  background: var(--reconstruction-ink);
}

.ourland-reconstruction__stage {
  position: relative;
  padding: clamp(14px, 2vw, 28px);
  overflow: hidden;
}

.ourland-reconstruction__stage::before {
  position: absolute;
  inset: -15%;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(154, 119, 70, 0.13), transparent 28%),
    radial-gradient(circle at 82% 68%, rgba(75, 109, 128, 0.12), transparent 30%);
  filter: blur(50px);
}

.ourland-reconstruction__intro {
  position: absolute;
  z-index: 4;
  top: clamp(30px, 5vw, 68px);
  left: clamp(28px, 5vw, 78px);
  max-width: 520px;
  pointer-events: none;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.ourland-reconstruction__eyebrow {
  margin: 0 0 6px;
  color: var(--reconstruction-gold);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.ourland-reconstruction__intro h1 {
  margin: 0;
  color: #f1f4f8;
  font-size: clamp(34px, 5vw, 76px);
  font-weight: 350;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.ourland-reconstruction__intro > p:last-child {
  margin: 12px 0 0;
  color: rgba(236, 240, 246, 0.68);
  font-size: clamp(13px, 1.25vw, 18px);
}

.ourland-reconstruction__viewer {
  position: relative;
  height: min(78vh, 920px);
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(213, 222, 231, 0.12);
  border-radius: clamp(18px, 2vw, 30px);
  background:
    radial-gradient(circle at 50% 46%, #172027 0, #090d12 45%, #030507 100%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.ourland-reconstruction__viewer canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: 0;
  touch-action: none;
  cursor: grab;
}

.ourland-reconstruction__viewer canvas:active {
  cursor: grabbing;
}

.ourland-reconstruction__viewer:fullscreen,
.ourland-reconstruction__viewer.is-full-window {
  position: fixed;
  z-index: 10000;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  min-height: 0;
  border: 0;
  border-radius: 0;
}

.ourland-reconstruction__loading,
.ourland-reconstruction__error {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  padding: 30px;
  color: rgba(240, 244, 248, 0.72);
  text-align: center;
  background: rgba(2, 4, 6, 0.58);
  backdrop-filter: blur(14px);
  transition: opacity 800ms ease, visibility 800ms ease;
}

.ourland-reconstruction__error[hidden] {
  display: none;
}

.ourland-reconstruction__loading.is-finished {
  opacity: 0;
  visibility: hidden;
}

.ourland-reconstruction__loading strong,
.ourland-reconstruction__error strong {
  color: #fff;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
}

.ourland-reconstruction__pulse {
  width: 10px;
  height: 10px;
  margin-bottom: 9px;
  border-radius: 50%;
  background: var(--reconstruction-gold);
  box-shadow: 0 0 0 0 rgba(201, 165, 104, 0.6);
  animation: reconstruction-pulse 1.8s ease-out infinite;
}

@keyframes reconstruction-pulse {
  70% { box-shadow: 0 0 0 22px rgba(201, 165, 104, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 165, 104, 0); }
}

.ourland-reconstruction__hint {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 28px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: rgba(238, 243, 248, 0.62);
  font-size: 12px;
  background: rgba(5, 8, 11, 0.5);
  backdrop-filter: blur(12px);
  transition: opacity 500ms ease;
}

.ourland-reconstruction__viewer.is-interacted .ourland-reconstruction__hint {
  opacity: 0;
  pointer-events: none;
}

.ourland-reconstruction__tools {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.ourland-reconstruction__mode {
  display: flex;
  height: 42px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(11, 15, 20, 0.68);
  backdrop-filter: blur(14px);
}

.ourland-reconstruction__mode button {
  min-width: 0;
  height: 34px;
  padding: 0 13px;
  border: 0;
  color: rgba(243, 246, 250, 0.5);
  font-size: 11px;
  border-radius: 999px;
  background: transparent;
}

.ourland-reconstruction__mode button.is-active {
  color: #fff;
  background: rgba(201, 165, 104, 0.2);
  box-shadow: inset 0 0 0 1px rgba(201, 165, 104, 0.28);
}

.ourland-reconstruction__tools button,
.ourland-reconstruction__tools label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(243, 246, 250, 0.68);
  background: rgba(11, 15, 20, 0.68);
  backdrop-filter: blur(14px);
}

.ourland-reconstruction__tools button {
  padding: 0;
  font-size: 19px;
  cursor: pointer;
}

.ourland-reconstruction__tools button:hover {
  color: #fff;
  border-color: rgba(201, 165, 104, 0.45);
  background: rgba(201, 165, 104, 0.12);
}

.ourland-reconstruction__tools .ourland-reconstruction__mode button {
  min-width: 0;
  height: 34px;
  padding: 0 13px;
  border: 0;
  color: rgba(243, 246, 250, 0.5);
  font-size: 11px;
  background: transparent;
}

.ourland-reconstruction__tools .ourland-reconstruction__mode button.is-active {
  color: #fff;
  background: rgba(201, 165, 104, 0.2);
  box-shadow: inset 0 0 0 1px rgba(201, 165, 104, 0.28);
}

.ourland-reconstruction__tools label {
  gap: 7px;
  width: 154px;
  padding: 0 13px;
  font-size: 10px;
}

.ourland-reconstruction__tools input {
  width: 104px;
  accent-color: var(--reconstruction-gold);
}

.ourland-reconstruction__tools [hidden] {
  display: none;
}

.ourland-reconstruction__status {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 30px;
  padding: 14px 5px 0;
  color: rgba(233, 238, 244, 0.48);
  font-size: 11px;
  letter-spacing: 0.035em;
}

.ourland-reconstruction__status strong {
  margin-right: 4px;
  color: rgba(233, 238, 244, 0.78);
  font-weight: 600;
}

@media (max-width: 700px) {
  .ourland-reconstruction__stage {
    padding: 8px;
  }

  .ourland-reconstruction__viewer {
    height: calc(100dvh - 160px);
    min-height: 520px;
    border-radius: 18px;
  }

  .ourland-reconstruction__intro {
    top: 30px;
    left: 25px;
    max-width: calc(100% - 50px);
  }

  .ourland-reconstruction__intro > p:last-child {
    max-width: 270px;
  }

  .ourland-reconstruction__hint {
    display: none;
  }

  .ourland-reconstruction__tools {
    right: 13px;
    bottom: 13px;
    max-width: calc(100% - 26px);
  }

  .ourland-reconstruction__mode button {
    padding: 0 9px;
    font-size: 10px;
  }

  .ourland-reconstruction__tools label {
    width: 126px;
  }

  .ourland-reconstruction__tools input {
    width: 76px;
  }

  .ourland-reconstruction__status {
    display: none;
  }
}
