@charset "utf-8";

.hm-pub-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px 48px;
}
.hm-pub-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 28px 24px 24px;
  margin-bottom: 20px;
  background:
    radial-gradient(1200px 280px at 10% -20%, rgba(61, 214, 140, 0.22), transparent 55%),
    radial-gradient(800px 240px at 100% 0%, rgba(212, 175, 55, 0.18), transparent 50%),
    linear-gradient(160deg, #14221c 0%, #0c1210 60%, #1a140c 100%);
  border: 1px solid #2a4036;
}
.hm-pub-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.04em;
}
.hm-pub-hero .hm-lead { margin: 0 0 12px; max-width: 42em; }
.hm-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-felt-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #f3e6b8;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  padding: 6px 10px;
}

.hm-pub-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 16px;
}
.hm-sort-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: #121a17;
  border: 1px solid #2c3d36;
}
.hm-sort-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #9bb0a6;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
}
.hm-sort-toggle button.is-on {
  background: #3dd68c;
  color: #062016;
}
.hm-geo-status {
  margin: 0;
  font-size: 13px;
  color: #9bb0a6;
  flex: 1 1 180px;
}
.hm-geo-status.is-err { color: #ff9b9b; }
.hm-region-chips, .hm-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}
.hm-region-chips button,
.hm-feature-chips button {
  appearance: none;
  border: 1px solid #2c3d36;
  background: #1a2320;
  color: #e8f0ec;
  border-radius: 999px;
  padding: 8px 12px;
  min-height: 40px;
  cursor: pointer;
  font-size: 13px;
}
.hm-region-chips button.is-on,
.hm-feature-chips button.is-on {
  border-color: #3dd68c;
  color: #3dd68c;
  box-shadow: 0 0 0 1px rgba(61, 214, 140, 0.25);
}
.hm-badge[data-feature-chip] { cursor: pointer; }
.hm-sort-toggle button.is-busy { opacity: 0.65; }

.hm-pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.hm-pub-card {
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.hm-pub-card.is-enter {
  animation: hmCardIn 0.28s ease;
}
@keyframes hmCardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.hm-pub-card.is-filtered-out {
  display: none;
}
.hm-pub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 18px 18px 16px;
  border-radius: 22px 22px 18px 18px;
  background:
    linear-gradient(180deg, rgba(61, 214, 140, 0.08), transparent 42%),
    linear-gradient(145deg, #1c2924 0%, #141c19 100%);
  border: 1px solid #31463d;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.hm-pub-card::before {
  content: "";
  position: absolute;
  inset: 10px auto auto 10px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe38a, #c9a227 55%, #7a5b12 100%);
  opacity: 0.22;
  pointer-events: none;
}
.hm-pub-card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 8px;
}
.hm-pub-region {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #3dd68c;
}
.hm-pub-dist {
  font-size: 12px;
  font-weight: 700;
  color: #f3e6b8;
  white-space: nowrap;
}
.hm-pub-card h2,
.hm-pub-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.hm-pub-card h2 a,
.hm-pub-card h3 a { color: #fff; }
.hm-pub-meta {
  margin: 0 0 8px;
  color: #c5d5cc;
  font-size: 13px;
  line-height: 1.45;
}
.hm-pub-meta strong { color: #fff; font-weight: 650; }
.hm-pub-blurb {
  margin: 0 0 12px;
  color: #9bb0a6;
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
}
.hm-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}
.hm-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 8px;
  border-radius: 8px;
  background: #0f1412;
  border: 1px solid #2c3d36;
  color: #d7e6de;
}
.hm-badge-chip {
  color: #1a1408;
  background: radial-gradient(circle at 30% 30%, #ffe38a, #d4af37);
  border-color: #8a6a18;
}
.hm-badge-live {
  background: #3a1c1c;
  border-color: #7a3030;
  color: #ffb4b4;
  animation: hmPulse 1.8s ease-in-out infinite;
}
.hm-badge-park { color: #b7e0ff; border-color: #2a4a63; }
.hm-badge-cash { color: #ffe38a; border-color: #5c4a1c; }
.hm-badge-tour { color: #b6f5d2; border-color: #2a5c44; }
@keyframes hmPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.35); }
  50% { box-shadow: 0 0 0 4px rgba(255, 107, 107, 0); }
}

.hm-pub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hm-pub-actions a,
.hm-pub-actions .hm-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  padding: 8px 10px;
}
.hm-map-naver { background: #03c75a; color: #062016 !important; }
.hm-map-google { background: #1a73e8; color: #fff !important; }
.hm-map-tel {
  grid-column: 1 / -1;
  background: transparent;
  border: 1px solid #2c3d36;
  color: #e8f0ec !important;
}
.hm-pub-empty {
  grid-column: 1 / -1;
  padding: 40px 16px;
  text-align: center;
  color: #9bb0a6;
}
.hm-pub-note {
  margin-top: 20px;
  font-size: 12px;
  color: #7e9288;
}
.hm-pub-admin {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

@media (max-width: 640px) {
  .hm-pub-page { padding: 4px 12px 40px; }
  .hm-pub-grid { grid-template-columns: 1fr; gap: 12px; }
  .hm-pub-card { min-height: 0; }
  .hm-sort-toggle { width: 100%; }
  .hm-sort-toggle button { flex: 1; }
}
