.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.4); 
  z-index: 5; 
  pointer-events: none; 
}
#map-container {
  position: relative;
  width: 10000px;
  height: 18000px;
  margin: 0 auto;
  background-color: #90daee;
  user-select: none;
}
.tile {
  position: absolute;
  width: 1000px;
  height: 1000px;
  overflow: hidden;
}
.tile img {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.tile.sea {
  background-color: #90daee;
}
.marker {
  position: absolute;
  object-fit: contain;
  cursor: pointer;
  z-index: 10;
}
.info-card {
  position: absolute;
  background: #fff;
  border: 2px solid #333;
  padding: 12px;
  width: 280px;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-radius: 10px;
  font-family: 'Noto Sans TC', sans-serif;
}
@media (max-width: 768px) {
  .modal-dialog {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh;
    margin: 0 !important;
  }
  .modal-content {
    width: 90%;
    border-radius: 1rem;
  }
}
.info-card .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.info-card .btn-group a {
  flex: 1 1 45%;
  text-align: center;
  padding: 8px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}
.type {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.btn-group a.btn-latest { background: #FCD4DB; color: #F97D86; }
.btn-group a.btn-notice { background: #FFF3CD; color: #ECBD17; }
.btn-group a.btn-map    { background: #D6EAFF; color: #55A4F8; }
.btn-group a.btn-info   { background: #c3fcbf; color: #32db25; }
.btn-group a.btn-latest:hover { background: #fbbdc7; transform: scale(1.03); }
.btn-group a.btn-notice:hover { background: #ffe89a; transform: scale(1.03); }
.btn-group a.btn-map:hover    { background: #b8dcff; transform: scale(1.03); }
.btn-group a.btn-info:hover   { background: #8dfb7e; transform: scale(1.03); }
nav.navbar {
  position: relative;
  z-index: 2000;
}
.modal {
  z-index: 3000;
}