.service-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08)
}

.quick-link:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08)
}

.benefit-card::after {
  content: none;
}

.benefits .benefit-card {
  position: relative;
  border-radius: 16px;
  padding: 13px;
  color: #000;
  overflow: hidden;
}

:root {
  --card-w: min(92vw, 420px);
}

.card,
#cardDetail {
  width: var(--card-w);
  margin: 12px auto;
  border-radius: 14px;
  overflow: hidden;
}

.profile img,
#cardPhoto,
#cardPhotoDetail {
  object-fit: cover;
  border-radius: 1px;
  display: block;
}

.top-row .who .name,
#dNameVis {
  font-size: clamp(18px, 5.2vw, 22px);
  line-height: 1.2;
  font-weight: 700;
}

.top-row .who .region,
#dRegionVis {
  margin-top: 4px;
  font-size: clamp(13px, 3.8vw, 15px);
  opacity: .85;
}

.name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.name-row .switch {
  transform: scale(.94);
  transform-origin: right center;
}

.rrn-row .rrn {
  margin-top: 10px;
  font-size: clamp(18px, 5vw, 20px);
  letter-spacing: 0.8px;
}

#addr {
  margin-top: 8px;
  font-size: clamp(14px, 4vw, 16px);
  line-height: 1.35;
}

.foot-info {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  font-size: clamp(12px, 3.5vw, 14px);
}

.card .detail,
#cardDetail .detail {
  padding: clamp(12px, 4.5vw, 16px);
}

@media (max-width: 360px) {
  .name-row .switch {
    transform: scale(.9);
  }
}


.loading-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(2px);
  z-index: 3000;
}

.loading-overlay[aria-busy="true"] {
  display: flex;
}

.loading-overlay .loading-text {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid #dbe5ff;
  border-top-color: var(--primary, #2563eb);
  border-right-color: var(--primary, #2563eb);
  animation: spin .8s linear infinite;
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation-duration: 2s;
  }
}

.ico-back {
  width: 20px;
  height: 20px;
  position: relative;
  bottom: 7px
}

.ico-back-1 {
  width: 27px;
  height: 27px;
  position: relative;
  bottom: 0px
}
