:root {
  color: #111;
  background: #fff;
  font-family: XXXLutzSans, -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Helvetica, Cantarell, Ubuntu, Roboto, Noto, Arial, sans-serif;
  font-size: 16px;
}

@font-face {
  font-display: swap;
  font-family: XXXLutzSans;
  font-weight: 1 999;
  src: url("./assets/font/Sans-Variable.d010b7ff4568cd804ae3.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #fff;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1000;
  content: "";
  background: #ddd;
  pointer-events: none;
  transform: translateX(-105%);
  will-change: transform;
}

body.is-view-transitioning::before {
  animation: view-mode-swipe 620ms cubic-bezier(0.76, 0, 0.24, 1) both;
}

body.is-view-transitioning.is-view-transitioning-reverse::before {
  animation-name: view-mode-swipe-reverse;
}

@keyframes view-mode-swipe {
  0% {
    transform: translateX(-105%);
  }

  42% {
    transform: translateX(0);
  }

  58% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(105%);
  }
}

@keyframes view-mode-swipe-reverse {
  0% {
    transform: translateX(105%);
  }

  42% {
    transform: translateX(0);
  }

  58% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-105%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-view-transitioning::before {
    animation-duration: 1ms;
  }
}

button,
a {
  font: inherit;
}

.page-shell {
  width: 100%;
  padding: 60px 68px 64px;
}

.outdoor-section {
  width: min(100%, 1882px);
  margin: 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 28px;
}

.outdoor-section h2 {
  flex: 1 1 auto;
  margin: 0;
  color: #0f0f0f;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.view-switch {
  display: inline-flex;
  flex: 0 0 auto;
  border: 1px solid #0f0f0f;
  background: #fff;
}

.view-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 44px;
  padding: 0 16px;
  color: #0f0f0f;
  background: #fff;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.view-switch button + button {
  border-left: 1px solid #0f0f0f;
}

.view-switch button.is-active {
  color: #fff;
  background: #0f0f0f;
}

.view-switch button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #0f0f0f;
  outline-offset: 2px;
}

.outdoor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.outdoor-layout > * {
  min-width: 0;
}

.hotspot-card,
.category-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #fff;
}

.hotspot-card {
  line-height: 0;
}

.category-media {
  position: relative;
  overflow: hidden;
}

.hotspot-image {
  display: block;
  width: 100%;
  height: auto;
}

.splat-preview-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: none;
}

.hotspot-card > .splat-preview-image {
  object-fit: cover;
}

body.is-3d-mode .splat-target.has-splat-preview .splat-preview-image {
  opacity: 1;
}

body.is-3d-mode .splat-target.has-splat-preview > .hotspot-image,
body.is-3d-mode .splat-target.has-splat-preview .category-media > img:not(.splat-preview-image) {
  opacity: 0;
}

.hotspot-list {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.hotspot-card.is-hidden .hotspot-list {
  visibility: hidden;
  opacity: 0;
}

.hotspot-list li {
  position: absolute;
  transform: translate(-50%, -50%);
}

.hotspot-list button {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: rgba(15, 15, 15, 0.58);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  cursor: pointer;
}

.hotspot-list button::before {
  width: 18px;
  height: 18px;
  content: "";
  background: currentColor;
  mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M.7 6V3.1C.7 1.6 1.7.6 3.2.6h5.9q1.65 0 3 1.2c3.5 3.5 7 7 10.5 10.6 1.2 1.2 1.2 2.8 0 4-2 2.1-4.1 4.1-6.1 6.2-1.2 1.2-2.8 1.1-4 0L2 12.1c-.8-.8-1.2-1.9-1.2-3C.7 8 .7 7 .7 6m2.8-.2c0 1.3 1.1 2.4 2.4 2.4s2.3-1 2.4-2.3c0-1.3-1-2.4-2.3-2.4-1.4-.1-2.5 1-2.5 2.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hotspot-list button:hover,
.hotspot-list button:focus-visible {
  color: #fff;
  background: rgba(15, 15, 15, 0.82);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

body.has-hotspot-editor:not(.is-3d-mode) .hotspot-list button {
  cursor: grab;
  touch-action: none;
}

body.is-dragging-hotspot {
  user-select: none;
}

.hotspot-list li.is-dragging-hotspot {
  z-index: 4;
}

.hotspot-list li.is-dragging-hotspot button {
  cursor: grabbing;
  color: #fff;
  background: rgba(15, 15, 15, 0.86);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hotspot-editor-save {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 9;
  min-height: 36px;
  padding: 0 14px;
  color: #fff;
  background: #0f0f0f;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.hotspot-editor-save:hover,
.hotspot-editor-save:focus-visible {
  background: #2c2c2c;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hotspot-editor-save[hidden],
body.is-3d-mode .hotspot-editor-save {
  display: none;
}

.toggle-hotspots {
  position: absolute;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #0f0f0f;
  border: 0;
  box-shadow: none;
  cursor: pointer;
}

.toggle-hotspots::after {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  content: "";
  background: currentColor;
  mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M5.709 7.545C7.479 6.255 9.636 5.15 12 5.15c.895 0 1.741.134 2.541.37a.75.75 0 1 1-.424 1.44A7.4 7.4 0 0 0 12 6.65c-1.903 0-3.746.896-5.409 2.106-1.393 1.015-2.595 2.202-3.547 3.158q.193.213.394.438l.22.245c.407.452.839.922 1.3 1.36a.75.75 0 1 1-1.032 1.088c-.507-.48-.972-.988-1.383-1.445l-.236-.262c-.317-.355-.591-.662-.837-.908a.75.75 0 0 1 0-1.06l.33-.333c.973-.977 2.324-2.337 3.91-3.492Zm12.598.987a.75.75 0 0 1 1.054-.114c1.165.937 1.857 1.633 2.734 2.516l.435.437a.75.75 0 0 1 0 1.06l-.33.333c-.972.979-2.323 2.339-3.909 3.493-1.77 1.29-3.927 2.394-6.291 2.394-1.275 0-2.489-.322-3.608-.816a.75.75 0 0 1 .606-1.372c.975.43 1.981.688 3.002.688 1.903 0 3.746-.896 5.409-2.106 1.387-1.01 2.584-2.19 3.533-3.144-.831-.835-1.46-1.461-2.521-2.314a.75.75 0 0 1-.114-1.055m2.275-4.104a.75.75 0 0 1-.109 1.055l-16 13a.75.75 0 1 1-.946-1.164l16-13a.75.75 0 0 1 1.055.11Z' clip-rule='evenodd'/%3E%3Cpath fill-rule='evenodd' d='M12.187 9.659a2.25 2.25 0 1 0 .63 4.338l.273.7-.272-.7a2.25 2.25 0 0 0 1.432-2.096.75.75 0 0 1 1.5 0 3.75 3.75 0 1 1-3.438-3.737.75.75 0 0 1-.125 1.495' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
}

.toggle-hotspots-icon {
  display: none;
}

.toggle-hotspots-label {
  right: 36px;
  bottom: 36px;
  min-height: 50px;
  gap: 8px;
  padding: 0 20px;
  border-radius: 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
}

.toggle-hotspots:hover,
.toggle-hotspots:focus-visible {
  color: #fff;
  background: #2c2c2c;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  container-type: inline-size;
}

.category-card {
  border: 1px solid #ddd;
}

.category-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  transition: transform 250ms ease;
}

.category-card a {
  display: block;
  color: #fff;
  text-decoration: none;
}

.category-card span {
  display: flex;
  align-items: center;
  min-height: max(58px, calc(100cqw * 0.11993));
  padding: 0 30px;
  color: #0f0f0f;
  background: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}

.category-card:hover img,
.category-card:focus-within img {
  transform: scale(1.035);
}

body.is-3d-mode .category-card:hover img,
body.is-3d-mode .category-card:focus-within img {
  transform: none;
}

.splat-frame {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, visibility 0s linear 140ms;
}

.category-media .splat-frame {
  z-index: 3;
}

body.is-3d-mode .splat-target.is-showing-3d .splat-frame[data-ready="true"] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

body.is-3d-mode .hotspot-card.is-showing-3d .hotspot-list {
  opacity: 0;
  pointer-events: none;
}

body.is-3d-mode .hotspot-list button {
  width: 34px;
  height: 34px;
}

body.is-3d-mode .hotspot-list button::before {
  width: 16px;
  height: 16px;
}

body.is-3d-mode .hotspot-card.is-showing-3d .toggle-hotspots {
  opacity: 1;
  pointer-events: auto;
}

.camera-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  width: 230px;
  gap: 10px;
  padding: 14px;
  color: #0f0f0f;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #0f0f0f;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  font-size: 13px;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.camera-panel[hidden] {
  display: none;
}

body.is-3d-mode .camera-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.camera-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 2px;
}

.camera-panel__head strong {
  font-size: 14px;
  font-weight: 700;
}

.camera-panel__head span {
  max-width: 120px;
  color: #555;
  font-size: 12px;
  font-weight: 400;
  text-align: right;
}

.camera-panel label {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.camera-panel input {
  width: 100%;
  height: 34px;
  padding: 0 9px;
  color: #0f0f0f;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 0;
  font: inherit;
  font-weight: 400;
}

.camera-panel__check {
  grid-template-columns: 18px 1fr;
  gap: 8px;
  padding-top: 2px;
  color: #333;
  font-size: 12px;
  font-weight: 400;
}

.camera-panel__check input {
  width: 16px;
  height: 16px;
  padding: 0;
  accent-color: #0f0f0f;
}

.camera-panel input:focus {
  border-color: #0f0f0f;
  outline: 2px solid #0f0f0f;
  outline-offset: 1px;
}

@media (max-width: 1600px) {
  .page-shell {
    padding: 50px 56px 58px;
  }

  .outdoor-section h2 {
    font-size: 38px;
  }

  .outdoor-layout,
  .category-grid {
    gap: 40px;
  }

  .category-card span {
    padding-inline: 26px;
    font-size: 22px;
  }

  .toggle-hotspots-label {
    right: 30px;
    bottom: 30px;
    min-height: 46px;
    padding-inline: 18px;
    font-size: 17px;
  }
}

@media (max-width: 1280px) {
  .page-shell {
    padding: 42px 42px 50px;
  }

  .section-header {
    gap: 18px;
    margin-bottom: 22px;
  }

  .outdoor-section h2 {
    font-size: 32px;
  }

  .view-switch button {
    min-width: 50px;
    min-height: 38px;
    padding-inline: 13px;
    font-size: 15px;
  }

  .outdoor-layout,
  .category-grid {
    gap: 32px;
  }

  .category-card span {
    padding-inline: 22px;
    font-size: 19px;
  }

  .hotspot-list button {
    width: 34px;
    height: 34px;
  }

  .hotspot-list button::before,
  .toggle-hotspots::after {
    width: 16px;
    height: 16px;
  }

  .toggle-hotspots-label {
    right: 24px;
    bottom: 24px;
    min-height: 42px;
    padding-inline: 16px;
    font-size: 16px;
  }

  .hotspot-editor-save {
    top: 12px;
    right: 12px;
    min-height: 32px;
    padding-inline: 12px;
    font-size: 12px;
  }
}

@media (max-width: 1040px) {
  .page-shell {
    padding: 34px 28px 42px;
  }

  .section-header {
    align-items: flex-start;
    gap: 14px;
  }

  .outdoor-section h2 {
    font-size: 27px;
    line-height: 1.12;
  }

  .view-switch button {
    min-width: 44px;
    min-height: 34px;
    padding-inline: 10px;
    font-size: 14px;
  }

  .outdoor-layout,
  .category-grid {
    gap: 24px;
  }

  .category-card span {
    padding-inline: 18px;
    font-size: 16px;
  }

  .toggle-hotspots-label {
    right: 18px;
    bottom: 18px;
    min-height: 38px;
    padding-inline: 14px;
    font-size: 15px;
  }
}

@media (max-width: 899px) {
  .page-shell {
    padding: 20px 0 36px;
  }

  .section-header {
    gap: 12px;
    margin-bottom: 14px;
    padding-inline: 12px;
  }

  .outdoor-section h2 {
    font-size: 25px;
  }

  .view-switch button {
    min-width: 42px;
    min-height: 34px;
    padding: 0 10px;
    font-size: 14px;
  }

  .outdoor-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .category-card {
    border-left: 0;
    border-right: 0;
  }

  .category-card span {
    min-height: 72px;
    padding: 0 16px;
    font-size: 20px;
  }

  .hotspot-list button {
    width: 32px;
    height: 32px;
  }

  .toggle-hotspots-label {
    right: 10px;
    bottom: 10px;
    min-height: 48px;
    gap: 10px;
    padding: 0 16px;
    font-size: 16px;
  }

  .camera-panel {
    right: 10px;
    bottom: 10px;
    width: min(230px, calc(100vw - 20px));
  }
}

@media (max-width: 559px) {
  .outdoor-section h2 {
    font-size: 22px;
  }

  .section-header {
    align-items: flex-start;
  }

  .hotspot-list button {
    width: 30px;
    height: 30px;
  }

  .category-card span {
    min-height: 62px;
    font-size: 18px;
  }

  .toggle-hotspots-label {
    min-height: 42px;
    font-size: 15px;
  }
}
