/* Hide default header on home page */
body:has(.home-layout) .header {
  display: none;
}

/* Remove max-width constraint for home layout */
body:has(.home-layout) {
  max-width: none;
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

html:has(.home-layout) {
  overflow: hidden;
  height: 100%;
}

.home-layout {
  display: flex;
}

/* Left Sidebar */
.home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 200px;
  z-index: 1;
  position: relative;
  font-weight: 900;
}

.home-logo a {
  text-decoration: none;
  color: var(--color-text);
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
}

.home-menu {
  display: flex;
  flex-direction: column;
  /* gap: 1rem; */
}

.home-menu .menu-item {
  display: block;
  transition: all 0.3s;
  border-bottom: 1px solid transparent;
}

/* 기본 상태: 회색, 클릭 불가 */
.home-menu .menu-item:not(.unlocked) {
  cursor: not-allowed;
  pointer-events: none;
}

/* 해제된 상태: 검정색, 클릭 가능 */
.home-menu .menu-item.unlocked {
  cursor: pointer;
  pointer-events: auto;
}

/* 기본 상태: 모든 메뉴 아이템은 회색 (최우선) */
.home-menu .menu-item .menu-title {
  color: #c2c2c2 !important;
  transition: color 0.3s;
  font-weight: 600;
  font-size: 16pt;
}

/* unlocked가 없는 경우 확실히 회색 */
.home-menu .menu-item:not(.unlocked) .menu-title {
  color: #c2c2c2 !important;
}

/* 초기 로드 시 확실히 회색 */
.home-menu .menu-item:not(.unlocked):not(.nearest) .menu-title {
  color: #c2c2c2 !important;
}

/* unlocked 클래스가 없으면 무조건 회색 */
.home-menu .menu-item:not(.unlocked) .menu-title {
  color: #c2c2c2 !important;
}

.home-menu .menu-item:hover:not(.unlocked) .menu-title {
  color: var(--color-text-grey);
  border-bottom-color: var(--color-text-grey);
}

/* 해제된 메뉴 아이템은 항상 검정색 */
.home-menu .menu-item.unlocked .menu-title {
  color: #000000 !important;
  border-bottom-color: var(--color-text);
}

.home-menu .menu-item.unlocked:hover .menu-title {
  color: var(--color-text) !important;
  border-bottom-color: var(--color-text);
}

/* nearest 클래스는 시각적 강조용 (unlocked가 있어야 검정색) */
.home-menu .menu-item.nearest.unlocked .menu-title {
  color: var(--color-text) !important;
  border-bottom-color: var(--color-text);
}

/* Center: Full Screen Map */
.home-center {
  flex: 1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

.full-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  user-select: none;
  cursor: grab;
}

/* Center Circle Overlay (중앙 점선 원 오버레이) */
.center-circle-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}


.center-circle-overlay svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.center-circle-overlay svg circle {
  stroke: var(--border-color);
  stroke-width: var(--border-width);
  stroke-dasharray: 2 2;
  fill: none;
  transition: stroke-dasharray 0.3s ease;
}

.center-circle-overlay svg circle.solid {
  stroke-dasharray: none !important;
}

/* 모든 SVG stroke-width 통일 */
svg {
  stroke-width: var(--border-width) !important;
}

svg * {
  stroke-width: var(--border-width) !important;
}

/* Center Arrow (중앙 화살표) */
.center-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10.45px;
  height: 15.78px;
  color: var(--color-text);
  pointer-events: none;
  z-index: 11;
  transition: transform 0.1s ease-out;
  transform-origin: center center;
}

.center-arrow svg {
  width: 100%;
  height: 100%;
}

.center-arrow svg path {
  fill: var(--color-text);
}

/* Seoul Map Background (전체 화면 배경 지도) */
.seoul-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

/* Map Background */
.map-background {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: transparent;
  background-image:
    radial-gradient(circle at 22% 28%, rgba(0, 0, 0, 0.05) 2px, transparent 2px),
    radial-gradient(circle at 48% 22%, rgba(0, 0, 0, 0.05) 2px, transparent 2px),
    radial-gradient(circle at 62% 52%, rgba(0, 0, 0, 0.05) 2px, transparent 2px),
    radial-gradient(circle at 42% 52%, rgba(0, 0, 0, 0.05) 2px, transparent 2px),
    radial-gradient(circle at 72% 48%, rgba(0, 0, 0, 0.05) 2px, transparent 2px);
  background-size: 100% 100%;
  opacity: 0.6;
  transition: transform 0.1s ease-out;
}

/* Map Points */
.map-point {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: transform 0.1s ease-out, scale 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

.map-point.near {
  transform: translate(-50%, -50%) scale(1.1);
}

.point-marker {
  width: 32px;
  height: 56px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.point-marker svg,
.point-marker img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: contain;
}

.point-marker svg path,
.point-marker .marker-default svg path,
.point-marker .marker-near svg path {
  fill: var(--marker-color) !important;
}

.point-marker .marker-default {
  opacity: 1;
  transition: opacity 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.point-marker .marker-default svg {
  width: 100%;
  height: 100%;
  display: block;
}

.point-marker .marker-near {
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.point-marker .marker-near img,
.point-marker .marker-near svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.point-marker .point-number-text {
  position: relative;
  z-index: 2;
  color: #231815;
  font-family: "Nanum Square", sans-serif;
  font-size: 0.5rem;
  top: -0.2rem;
}

.map-point.near .point-marker {
  width: 40px;
  height: 70px;
}

.map-point.near .point-marker .marker-default {
  opacity: 0;
}

.map-point.near .point-marker .marker-near {
  opacity: 1;
}



/* Point Info Tooltip (포인트 근처 정보 툴팁) */
.point-info-tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 20;
  text-align: center;
  white-space: nowrap;
}

.point-info-tooltip.active {
  opacity: 1;
  pointer-events: auto;
}


.tooltip-link {
  text-decoration: none;
  color: var(--color-text);
  display: block;
  text-align: center;
  cursor: pointer;
  font-size: 0.75rem;
}

.tooltip-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}


.tooltip-artist {
  font-size: 0.75rem;
}

.tooltip-title {
  font-size: 0.75rem;
  color: var(--color-text-grey);
}

/* Popup Modal (팝업 모달) */
.popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

.popup-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-overlay {
  background-color: var(--color-overlay);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.popup-content {
  position: relative;
  background: #f5f5f0;
  width: calc(60% + 0.5vw);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  margin: 0 auto;
  border: 1px solid;
}

/* 모바일 반응형: 768px 이하 */
@media (max-width: 768px) {
  .home-sidebar {
    font-size: 14pt;
  }
  
  .popup-modal {
    padding: 1rem 0;
  }
  
  .popup-content {
    width: 95%;
  }
  
  /* 모든 2단 그리드를 1단으로 변경 */
  .popup-grid {
    grid-template-columns: 1fr !important;
  }
  
  .type-content-grid {
    grid-template-columns: 1fr !important;
  }
  
  .download-links {
    grid-template-columns: 1fr !important;
  }
  
  .popup-footer-info {
    grid-template-columns: 1fr !important;
  }
  
  .credits-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* comments-form 모바일 스타일 */
  .comments-form {
    gap: 0.75rem;
  }
  
  .comment-name-input {
    width: 100%;
    height: 2.5rem;
    font-size: 14pt;
  }
  
  .comment-input {
    width: 100%;
    min-height: 100px;
    font-size: 14pt;
  }
  
  .comment-submit {
    width: 100%;
    padding: 0.75rem;
    font-size: 14pt;
  }
}

.popup-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  font-size: 1.5rem;
}

.popup-close:hover {
  opacity: 0.7;
}

/* 팝업 헤더 */
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  border-top: var(--border);
  border-bottom: var(--border);
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-weight: bold;
}

.popup-header-left {
  flex: 1;
}

.popup-header-right {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}

.popup-point-number {
  color: var(--color-text);
  text-transform: uppercase;
}

.popup-location,
.popup-hours {
  color: var(--color-text);
}

/* 팝업 그리드 */
.popup-grid {
  gap: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* gap: 0; */
  flex: 1;
  border-bottom: var(--border);
  padding: 1rem 0;
  padding-bottom: 9rem;
  /* min-height: 400px; */
}

.popup-left {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  padding: 0;
}

.popup-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.popup-title {
  color: var(--color-text);
  margin: 0;
  font-weight: bold;
}

.popup-artist {
  color: var(--color-text);
  margin: 0;
  font-weight: bold;
}

.popup-text-content {
  color: var(--color-text);
  white-space: normal;
}

.popup-text-content p {
  margin-bottom: 1rem;
}

.popup-text-content p:last-of-type {
  margin-bottom: 0;
}

/* 정다슬 작가 페이지: 이채은 작가 페이지와 동일한 간격을 위해 본문 p 태그의 margin-bottom 제거 */
[data-point4-content] > p:first-of-type {
  margin-bottom: 0;
}

/* 이민진 작가 페이지: 본문 텍스트와 하단 방명록 간 간격을 '다르게 하기' 섹션에 맞춤 */
[data-point5-content] p:last-of-type {
  margin-bottom: 0;
}

/* 이민진 작가 페이지: popup-text-content와 popup-comments 간 간격 조정 */
.popup-footer {
  margin-top: 1rem;
}

.popup-text-content .notes {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 1rem;
}

.popup-text-content .notes li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}

.popup-text-content .notes li::before {
  content: "*";
  position: absolute;
  left: 0;
  font-family: "Nanum Square", sans-serif;
}

.popup-text-content .notes li:last-child {
  margin-bottom: 0;
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.popup-images {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.popup-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.popup-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 0;
}

.popup-illustration svg,
.popup-illustration img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.popup-illustration-text {
  color: var(--color-text);
  white-space: normal;
}

.popup-illustration-text p {
  margin-bottom: 1rem;
}

.popup-illustration-text p:last-of-type {
  margin-bottom: 0;
}

/* 이민진 TYPE 섹션 댓글 스타일 - 기본 댓글 디자인 참고 */
.minjin-comment-section {
  margin-top: 1rem;
}

.minjin-comment-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}

.minjin-comment-input {
  flex: 1;
  width: 100%;
  background: none;
  border: var(--border);
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  padding: 0.25rem 0 0 0.5rem;
  margin: 0;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.minjin-comment-input:focus {
  outline: none;
  border: var(--border);
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.minjin-comment-form-bottom {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
  margin-top: 0.5rem;
}

.minjin-comment-submit {
  color: #000000;
  cursor: pointer;
  border: 1px solid;
  padding: 0 1rem;
  transition: opacity 0.3s ease;
  margin-left: auto;
}

.minjin-comment-submit:hover:not(:disabled) {
  opacity: 0.8;
}

.minjin-comment-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.minjin-comment-submit.uploading {
  position: relative;
  color: transparent;
  min-width: 120px;
  padding: 0 1.5rem;
}

.minjin-comment-submit.uploading::after {
  content: '업로드 중...';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #000000;
  white-space: nowrap;
}

.minjin-comments-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: none;
  padding-top: 1rem;
}

.minjin-comment-item {
  background: none;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.minjin-comment-text {
  line-height: 1rem;
  grid-column: 1 / -1;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

.minjin-comment-meta {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.875rem;
  color: var(--color-text);
  opacity: 0.7;
  text-align: right;
}

.popup-password-info {
  margin: 0;
  padding: 0;
  color: var(--color-text);
}

.popup-password-info p {
  margin: 0;
}

/* TYPE 섹션 */
.popup-types {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 9rem;
}

.popup-type-item {
  padding: 1rem 0;
  border-bottom: var(--border);
  /* text-align: center; */
}

.type-label {
  color: var(--color-text);
  cursor: pointer;
  font-weight: bold;
}

.type-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--color-text);
}

.type-content.active {
  max-height: 100%;
}

.type-content.active .type-content-grid {
  padding-bottom: 7rem;
  border-top: 1px solid;
  margin-top: 1rem;
}

.type-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 1rem;
}

/* 이민진 작가 본문만 1단으로 */
[data-point5-content] .type-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.type-content-image {
  /* 이미지 영역 - 필요시 스타일 추가 */
  min-height: 0;
  width: 100%;
}

.type-content-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.type-content-image iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}

.type-content-image audio {
  width: 100%;
  display: block;
}

.type-content-text {
  /* 텍스트 영역 - 필요시 스타일 추가 */
  min-height: 0;
}

.type-content-text p {
  margin: 0;
}

.type-content-text p:last-of-type {
  margin: 0;
}

.my-performance-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.my-performance-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.my-performance-label {
  font-weight: bold;
  color: var(--color-text);
}

.my-performance-content {
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--color-text);
  min-height: 2rem;
  padding: 0.5rem;
  border: 1px solid transparent;
  opacity: 0.8;
}

.my-performance-register-wrapper {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.my-performance-register-button {
  color: #000000;
  cursor: pointer;
  border: 1px solid;
  padding: 0 1rem;
  transition: opacity 0.3s ease;
  margin-left: auto;
}

.my-performance-register-button:hover:not(:disabled) {
  opacity: 0.8;
}

.my-performance-register-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.my-performance-register-button.uploading {
  position: relative;
  color: transparent;
  min-width: 120px;
  padding: 0 1.5rem;
}

.my-performance-register-button.uploading::after {
  content: '업로드 중...';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #000000;
  white-space: nowrap;
}

.anonymous-performance-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: none;
  padding-top: 1rem;
}

.download-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.download-links-col-1,
.download-links-col-2 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-links-title {
  font-weight: bold;
  color: var(--color-menu);
}

.download-link {
  display: inline;
  text-decoration: underline;
  color: var(--color-menu);
  transition: opacity 0.2s;
}

.download-link:hover {
  opacity: 0.7;
}

.download-link-inline {
  color: var(--color-menu);
  text-decoration: underline;
  transition: opacity 0.2s;
}

.download-link-inline:hover {
  opacity: 0.7;
}

.download-notice {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  color: var(--color-menu);
  line-height: 1.4;
}

.usage-content {
  color: var(--color-text);
}

.usage-content .type-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  justify-items: center;
}

.usage-content .type-content-image {
  width: 100%;
  max-width: 400px;
}

/* 팝업 푸터 정보 */
.popup-footer-info {
  line-height: 1.3;
  padding-top: 1rem;
  color: var(--color-text);
  border-top: var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.popup-footer-info-left li {
  padding-bottom: 0.25rem;
}

.popup-footer-info-left {
  font-size: 0.5rem;
}

.popup-footer-info-right {
  font-size: 0.5rem;
}

/* 유지영 페이지(point 1)에서 본문을 footer 왼쪽으로 이동 */
.popup-footer-info-left .popup-text-content {
  font-size: inherit;
  margin: 0;
}

.popup-footer-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.popup-footer-info li {
  margin: 0;
}

.popup-footer-info li::before {
  content: "•";
  margin: 0;
  padding: 0;
}

/* 팝업 푸터 */
.popup-footer {
  padding: 0;
}

/* 댓글/방명록 */
.popup-comments {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1rem 0;
  padding-bottom: 9rem;
}

.comments-header {
  color: var(--color-text);
  padding-bottom: 1rem;
  font-weight: bold;
}

.comments-form {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-direction: column;
}

.comment-name-input {
  width: 10rem;
  height: 2rem;
  background: none;
  border: var(--border);
  font-family: inherit;
  padding: 0.25rem 0 0 0.5rem;
  margin: 0;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.comment-name-input:focus {
  outline: none;
  border: var(--border);
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.comment-input {
  flex: 1;
  width: 100%;
  background: none;
  border: var(--border);
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  padding: 0.25rem 0 0 0.5rem;
  margin: 0;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.comment-input:focus {
  outline: none;
  border: var(--border);
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.comment-form-bottom {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
}

.comment-char-count {
  color: var(--color-text);
  margin-left: auto;
  margin-right: 1rem;
}

.comment-submit {
  color: #000000;
  cursor: pointer;
  border: 1px solid;
  padding: 0 1rem;
  transition: opacity 0.3s ease;
}

.comment-submit:hover:not(:disabled) {
  opacity: 0.8;
}

.comment-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.comment-submit.uploading {
  position: relative;
  color: transparent;
  min-width: 120px;
  padding: 0 1.5rem;
}

.comment-submit.uploading::after {
  content: '업로드 중...';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #000000;
  white-space: nowrap;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: none;
  padding-top: 1rem;
}

.comments-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 1rem;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.loading-spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--color-text-grey);
  border-top-color: var(--color-text);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

.comments-loading.hidden {
  display: none !important;
}

.comments-loading p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--color-text-grey);
  text-align: center;
}

.loading-spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--color-text-grey);
  border-top-color: var(--color-text);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.comment-item {
  background: none;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.comment-item:last-child {
  margin-bottom: 0;
}

.comment-name {
  color: var(--color-text);
  grid-column: 1;
  grid-row: 1;
}

.comment-date {
  color: var(--color-text-grey);
  grid-column: 2;
  grid-row: 1;
}

.comment-text {
  color: var(--color-text);
  grid-column: 1 / -1;
  grid-row: 2;
}

/* Mini Map */
.mini-map {
  position: fixed;
  top: 0;
  right: 0;
  width: calc(250px + 2rem);
  height: calc(250px + 2rem);
  padding: 1rem;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mini-map.visible {
  opacity: 1;
  pointer-events: auto;
}

.mini-map-container {
  position: relative;
  width: 250px;
  height: 250px;
  background: transparent;
}

.mini-map-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mini-map-background img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mini-map-points {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mini-point {
  position: absolute;
  width: 16px;
  height: 20px;
  transform: translate(-50%, -50%);
}

.mini-point svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mini-point svg path {
  fill: var(--marker-color) !important;
  stroke-width: 2px !important;
}

.mini-map-viewport {
  position: absolute;
  border: var(--border-width) solid #000000;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
  left: var(--viewport-left, 0);
  top: var(--viewport-top, 0);
  width: var(--viewport-width, 1rem);
  height: var(--viewport-height, 0.5rem);
  z-index: 10;
}

/* Site Footer */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background: var(--color-bg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 6fr 3fr;
  gap: 2rem;
  color: var(--color-menu);
  line-height: 1.5;
  font-size: 0.5rem;
  padding: var(--padding);
  font-weight: 600;
}

.footer-col-1,
.footer-col-2,
.footer-col-3 {
  font-size: 0.45rem;
}

.footer-col-3 {
  word-break: break-word;
}

.footer-col-3 span {
  padding-right: 0.5rem;
}