/* EGA-DB V2 — 地図ゼロ・超高速データベース */
:root {
  --bg:      #000000;
  --bg2:     #0a0a0a;
  --bg3:     #111111;
  --card:    #141414;
  --border:  #222222;
  --yellow:  #FFD700;
  --yellow2: #FFA500;
  --red:     #FF3333;
  --red2:    #CC0000;
  --text:    #FFFFFF;
  --text2:   #AAAAAA;
  --text3:   #555555;
  --radius:  12px;
  --radius-card: 14px;
  --shadow:  0 8px 32px rgba(0,0,0,.9);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0; padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════
   HEADER
═══════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 52px;
}

.brand { display: flex; align-items: baseline; gap: 4px; }
.brand-ega {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--yellow);
  text-shadow: 0 0 20px rgba(255,215,0,.4);
}
.brand-db {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text2);
}
.brand-badge {
  font-size: 9px;
  font-weight: 700;
  background: var(--red);
  color: #fff;
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: 2px;
}

.header-stats { display: flex; align-items: center; gap: 6px; }
.stat-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
}
.stat-sep { color: var(--text3); font-size: 12px; }
.stat-visit {
  font-size: 12px;
  color: var(--text2);
  background: var(--bg3);
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.stat-visit.complete { color: #000; background: var(--yellow); border-color: var(--yellow); }

/* ═══════════════════════════════
   SEARCH HERO
═══════════════════════════════ */
.search-hero {
  padding: 16px 14px 10px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 12px;
  font-size: 16px;
  pointer-events: none;
  z-index: 1;
}
.search-input {
  width: 100%;
  height: 48px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-size: 16px;
  padding: 0 42px 0 40px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
}
.search-input::placeholder { color: var(--text3); }
.search-input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,215,0,.12);
}
.search-input::-webkit-search-cancel-button { display: none; }

.search-clear {
  position: absolute;
  right: 10px;
  width: 28px; height: 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text2);
  font-size: 12px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.search-clear:active { background: var(--bg3); transform: scale(.9); }

.search-hint {
  margin-top: 7px;
  font-size: 11px;
  color: var(--text3);
  text-align: center;
  letter-spacing: .3px;
}
.search-hint.active { color: var(--yellow); }

/* ═══════════════════════════════
   FILTER CHIPS
═══════════════════════════════ */
.filter-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  overflow-x: auto;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  position: sticky;
  top: 52px;
  z-index: 190;
}
.filter-bar::-webkit-scrollbar { display: none; }

.chip {
  flex-shrink: 0;
  height: 32px;
  padding: 0 13px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--text2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.chip:active { transform: scale(.95); }
.chip.active {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
  box-shadow: 0 2px 12px rgba(255,215,0,.3);
}

/* ═══════════════════════════════
   CARD GRID
═══════════════════════════════ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 12px 10px 80px;
}

@media (min-width: 480px)  { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px)  { .card-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px)  { .card-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1200px) { .card-grid { grid-template-columns: repeat(6, 1fr); } }

/* ═══════════════════════════════
   CARD
═══════════════════════════════ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 14px 10px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .15s, border-color .15s, box-shadow .15s;
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 0 180px;
}
.card:active { transform: scale(.97); }
.card:hover { border-color: rgba(255,215,0,.35); box-shadow: 0 4px 20px rgba(0,0,0,.6); }
.card.visited { opacity: .55; }
.card.visited::after {
  content: '✓';
  position: absolute;
  top: 8px; right: 8px;
  width: 20px; height: 20px;
  background: var(--yellow);
  color: #000;
  font-size: 11px;
  font-weight: 900;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 20px;
  text-align: center;
}

.card-emoji {
  font-size: 32px;
  text-align: center;
  line-height: 1;
  margin-bottom: 2px;
}
.card.visited .card-emoji { filter: grayscale(1); }

.card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
.card-category {
  font-size: 10px;
  color: var(--red);
  font-weight: 600;
  background: rgba(255,51,51,.1);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255,51,51,.2);
}
.card-sub {
  font-size: 10px;
  color: var(--text3);
  padding: 2px 6px;
  background: var(--bg3);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.card-video {
  font-size: 10px;
  color: var(--text2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  padding: 4px 0 2px;
  border-top: 1px solid var(--border);
  margin-top: 2px;
}

.card-aff-count {
  font-size: 9px;
  color: var(--yellow2);
  font-weight: 600;
  text-align: center;
}

/* ═══════════════════════════════
   EMPTY STATE
═══════════════════════════════ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 60px 20px;
  text-align: center;
}
.empty-state.hidden { display: none; }
.empty-icon { font-size: 48px; }
.empty-title { font-size: 18px; font-weight: 700; color: var(--text); }
.empty-sub { font-size: 13px; color: var(--text3); }
.empty-reset {
  margin-top: 8px;
  padding: 10px 24px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text2);
  font-size: 14px;
  cursor: pointer;
  transition: all .15s;
}
.empty-reset:active { transform: scale(.97); }

/* ═══════════════════════════════
   MODAL
═══════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
}
.modal.hidden { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-sheet {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  max-height: 88dvh;
  background: var(--bg2);
  border-radius: 22px 22px 0 0;
  border-top: 1px solid var(--border);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  animation: sheetUp .28s cubic-bezier(.4,0,.2,1);
}
@keyframes sheetUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-bar {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 10px auto 0;
}

/* ── YouTubeサムネイル ── */
.modal-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg3);
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

/* スケルトンアニメ（画像ロード前） */
.modal-thumb-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg3) 25%, var(--bg2) 50%, var(--bg3) 75%);
  background-size: 200% 100%;
  animation: thumbSkeleton 1.4s ease infinite;
  z-index: 0;
}
.modal-thumb-wrap.loaded::before,
.modal-thumb-wrap.no-thumb::before { display: none; }

@keyframes thumbSkeleton {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.modal-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity .35s ease;
}
.modal-thumb-wrap.loaded .modal-thumb { opacity: 1; }
.modal-thumb-wrap.no-thumb .modal-thumb { display: none; }

/* no-thumb フォールバック */
.modal-thumb-wrap.no-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}

/* グラデーションオーバーレイ + テキスト */
.modal-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,.88) 0%,
    rgba(0,0,0,.35) 55%,
    transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 16px;
  z-index: 2;
  pointer-events: none;
}
.modal-thumb-emoji {
  font-size: 20px;
  line-height: 1;
  margin-bottom: 4px;
}
.modal-thumb-name {
  font-size: 19px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
  line-height: 1.2;
}
.modal-thumb-sub {
  font-size: 11px;
  color: rgba(255,255,255,.65);
  margin-top: 2px;
  font-weight: 600;
}

/* YouTube ボタン (右上) */
.modal-thumb-yt {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background .15s;
  pointer-events: all;
  backdrop-filter: blur(4px);
}
.modal-thumb-yt:hover  { background: rgba(255,0,0,.75); border-color: transparent; }
.modal-thumb-yt:active { transform: scale(.95); }

.modal-close {
  position: absolute;
  top: 10px; right: 14px;
  width: 30px; height: 30px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text2);
  font-size: 13px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}

.modal-body { padding: 0 0 env(safe-area-inset-bottom, 16px); }

.modal-hero { padding: 16px 20px 0; text-align: center; }
.modal-emoji-lg { font-size: 52px; line-height: 1; }
.modal-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--yellow);
  margin-top: 6px;
  line-height: 1.2;
}
.modal-subtitle {
  font-size: 12px;
  color: var(--text3);
  margin-top: 4px;
}

.modal-section {
  padding: 14px 18px 0;
}
.modal-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.modal-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.65;
}

.video-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 13px;
  text-decoration: none;
  color: var(--text);
  transition: all .15s;
  margin-bottom: 6px;
}
.video-link:active { transform: scale(.98); border-color: var(--red); }
.video-link .vl-icon { font-size: 20px; flex-shrink: 0; }
.video-link .vl-title { font-size: 13px; font-weight: 600; flex: 1; }
.video-link .vl-arrow { color: var(--text3); flex-shrink: 0; }

/* ── アクションボタン (マップ / 食べログ / 楽天トラベル) ── */
.modal-actions {
  display: flex;
  gap: 8px;
  padding: 0 18px 16px;
}
.action-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px 6px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--bg3);
  transition: transform .15s, border-color .15s, background .15s;
  cursor: pointer;
  min-width: 0;
}
.action-btn:active { transform: scale(.93); }
.action-icon { font-size: 24px; line-height: 1; display: block; }
.action-label {
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
  white-space: nowrap;
}

/* Google マップ — 青 */
.action-map { border-color: rgba(66,133,244,.3); }
.action-map .action-label { color: #5b9cf6; }
.action-map:hover  { background: rgba(66,133,244,.12); border-color: #4285F4; }

/* 食べログ — 赤橙 */
.action-tabelog { border-color: rgba(227,72,52,.3); }
.action-tabelog .action-label { color: #f07060; }
.action-tabelog:hover { background: rgba(227,72,52,.12); border-color: #e34834; }

/* 楽天トラベル — 楽天レッド */
.action-travel { border-color: rgba(191,0,0,.3); }
.action-travel .action-label { color: #ff6b6b; }
.action-travel:hover { background: rgba(191,0,0,.12); border-color: #BF0000; }

/* ── アフィリエイト ── */
.aff-list { display: flex; flex-direction: column; gap: 7px; }
.aff-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  transition: all .15s;
  font-size: 13px;
}
.aff-link:active { transform: scale(.98); }
.aff-amazon  { background: rgba(255,153,0,.07); border-color: rgba(255,153,0,.25); }
.aff-rakuten { background: rgba(255,0,0,.06);   border-color: rgba(191,0,0,.25); }
.aff-amazon:active  { border-color: #FF9900; }
.aff-rakuten:active { border-color: #BF0000; }
.aff-store {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.aff-amazon  .aff-store { color: #FF9900; }
.aff-rakuten .aff-store { color: #FF4444; }
.aff-label { flex: 1; font-size: 12px; color: var(--text); line-height: 1.3; }
.aff-arrow { color: var(--text3); font-size: 14px; flex-shrink: 0; }
.aff-note {
  font-size: 10px;
  color: var(--text3);
  margin-top: 5px;
  text-align: center;
}

/* ── 巡礼ボタン ── */
.visit-btn {
  display: block;
  width: calc(100% - 36px);
  margin: 16px 18px 4px;
  padding: 15px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  border: none;
  letter-spacing: .8px;
  transition: all .2s;
}
.visit-btn.unvisited {
  background: linear-gradient(135deg, var(--red2), var(--red));
  color: #fff;
  box-shadow: 0 4px 18px rgba(255,51,51,.4);
}
.visit-btn.unvisited:active { transform: scale(.97); box-shadow: none; }
.visit-btn.done {
  background: var(--bg3);
  color: var(--text3);
  border: 1px solid var(--border);
}
.visit-btn.done:active { transform: scale(.97); }

/* ═══════════════════════════════
   COMPLETE BANNER
═══════════════════════════════ */
.complete-banner {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,.97);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .3s ease;
}
.complete-banner.hidden { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.complete-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  text-align: center;
}
.complete-fireworks { font-size: 44px; animation: bounce 1s ease infinite alternate; }
@keyframes bounce { to { transform: translateY(-8px); } }
.complete-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--yellow);
  text-shadow: 0 0 40px rgba(255,215,0,.7);
  line-height: 1.2;
}
.complete-sub { font-size: 15px; color: var(--text2); line-height: 1.6; }
.complete-close {
  margin-top: 6px;
  padding: 14px 44px;
  background: var(--yellow);
  color: #000;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

/* ═══════════════════════════════
   TOAST
═══════════════════════════════ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  z-index: 2000;
  white-space: nowrap;
  box-shadow: var(--shadow);
  pointer-events: none;
  animation: toastIn .25s ease;
}
.toast.hidden { display: none; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ═══════════════════════════════
   PWA INSTALL
═══════════════════════════════ */
.install-prompt {
  position: fixed;
  bottom: 16px;
  left: 12px; right: 12px;
  background: var(--bg3);
  border: 1px solid var(--yellow);
  border-radius: var(--radius);
  padding: 12px 14px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  animation: fadeIn .3s ease;
}
.install-prompt.hidden { display: none; }
.install-text { flex: 1; font-size: 12px; color: var(--text); }
.install-text strong { color: var(--yellow); display: block; font-size: 13px; margin-bottom: 2px; }
.install-btn {
  padding: 8px 14px;
  background: var(--yellow);
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.install-x {
  background: none;
  border: none;
  color: var(--text3);
  font-size: 18px;
  cursor: pointer;
  padding: 0 2px;
}

/* ═══════════════════════════════
   UTILITY
═══════════════════════════════ */
.hidden { display: none !important; }

/* 検索ハイライト */
mark {
  background: rgba(255,215,0,.28);
  color: var(--yellow);
  border-radius: 3px;
  padding: 0 2px;
  font-weight: 700;
}

/* ═══════════════════════════════
   CARD ENTRANCE ANIMATION
═══════════════════════════════ */
@keyframes cardEnter {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.card {
  animation: cardEnter 0.22s ease both;
}

/* ═══════════════════════════════
   RECENT SEARCH BAR
═══════════════════════════════ */
.recent-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  animation: fadeIn .2s ease both;
}
.recent-bar::-webkit-scrollbar { display: none; }
.recent-bar.hidden { display: none; }

.recent-label {
  font-size: 10px;
  color: var(--text3);
  white-space: nowrap;
  flex-shrink: 0;
}

.chip-recent {
  flex-shrink: 0;
  height: 26px;
  padding: 0 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--text3);
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
}
.chip-recent:hover { color: var(--text2); border-color: var(--text3); }
.chip-recent:active { transform: scale(.94); }

/* ═══════════════════════════════
   ACTIVE SEARCH HINT
═══════════════════════════════ */
.search-hint.active {
  color: var(--yellow);
  font-weight: 600;
}

/* ═══════════════════════════════
   KEYBOARD SHORTCUT HINT
═══════════════════════════════ */
.search-input:focus ~ .kbd-hint { display: none; }
.kbd-hint {
  position: absolute;
  right: 44px;
  font-size: 11px;
  color: var(--text3);
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  pointer-events: none;
  letter-spacing: .5px;
}

/* ═══════════════════════════════
   LANG TOGGLE
═══════════════════════════════ */
.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text3);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all .15s;
  letter-spacing: .5px;
}
.lang-toggle:hover { color: var(--text2); border-color: var(--text3); }
.lang-toggle.active { color: var(--yellow); border-color: var(--yellow); }

/* ═══════════════════════════════
   SPOT INDIVIDUAL PAGES
═══════════════════════════════ */
.spot-page body { min-height: 100dvh; }

.spot-emoji-hero {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}

.spot-back-link {
  font-size: 12px;
  color: var(--text3);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
.spot-back-link:hover { color: var(--yellow); }

.spot-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.spot-h1 {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
  margin: 8px 0 4px;
  line-height: 1.2;
}

.spot-sub {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 16px;
}

.spot-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  margin: 16px 0 20px;
}

.modal-yt-link {
  color: var(--yellow);
  text-decoration: none;
  font-size: 13px;
}
.modal-yt-link:hover { text-decoration: underline; }

/* Related spots */
.spot-related { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.spot-related-title {
  font-size: 13px;
  color: var(--text3);
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.spot-related-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.spot-related-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  text-decoration: none;
  transition: all .15s;
}
.spot-related-card:hover { border-color: var(--yellow); background: var(--bg3); }
.spot-related-emoji { font-size: 18px; flex-shrink: 0; }
.spot-related-name {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* CTA */
.spot-cta { margin-top: 28px; text-align: center; }
.spot-cta-btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow2));
  color: #000;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  border-radius: 40px;
  letter-spacing: .5px;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(255,215,0,.25);
}
.spot-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,215,0,.4); }
.spot-cta-btn:active { transform: scale(.97); }

/* Footer */
.spot-footer {
  border-top: 1px solid var(--border);
  padding: 20px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text3);
}
.spot-footer a { color: var(--text3); text-decoration: none; }
.spot-footer a:hover { color: var(--yellow); }
.spot-footer-sub { margin-top: 4px; }
