/* Special thanks: 사진이 놓일 공간. 사이트 공통 색과 타이포그래피를 그대로 쓴다. */
main.page.thanks-page {
  max-width: none;
  padding: 78px 32px 40px;
}

.thanks-viewport {
  position: relative;
  width: min(100%, 1100px);
  height: max(560px, calc(100svh - 175px));
  margin: 0 auto;
  /* 좌우 탐색 폭은 유지하고 사진이 위아래 경계에서 잘리지 않게 한다. */
  overflow: visible;
  clip-path: inset(-100vmax 0);
  border: 0;
  background: transparent;
  cursor: default;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.thanks-world {
  position: absolute;
  inset: 0;
}
.thanks-slot {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w);
  height: var(--h);
  padding: 0;
  border: 1px solid #bfc2c4;
  border-radius: 1px;
  background: #fff;
  box-shadow: 0 4px 20px rgb(21 24 29 / 4%);
  cursor: pointer;
  transform-origin: 0 0;
  will-change: transform;
  backface-visibility: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.thanks-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}
.thanks-slot:hover,
.thanks-slot.is-selected {
  border-color: var(--accent);
  box-shadow: 0 7px 26px rgb(21 24 29 / 9%);
}
.thanks-slot:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
@media (max-width: 700px) {
  main.page.thanks-page { padding: 74px 14px 24px; }
  .thanks-viewport { height: max(510px, calc(100svh - 155px)); }
}

.thanks-person {
  position: absolute; left: 0; top: 0; z-index: 12000;
  pointer-events: none;
  text-align: left;
  color: var(--ink);
}
.thanks-person h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700; line-height: 1.12;
  white-space: nowrap;
}
.thanks-person p {
  margin: 0; font-size: 15px; line-height: 1.5;
  color: var(--ink-2);
}
.thanks-person p + p { margin-top: 5px; }
