html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
:root {
  /* デザインシステムの基準値を集約して一貫性を保つ */
  --bg: #F6F7FB;
  /* 青ベースのグラデーション背景 */
  --bg-gradient: linear-gradient( 135deg, #3a4fbd 0%, /* 左上：少し明るく、紫みは維持 */ #6aa0ff 38%, /* 中央：明るさ＋透明感アップ */ #e3e1ff 100% /* 右下：白寄りのラベンダーに */ );
  --surface: #FFFFFF;
  /* 基本文字色（案AのTextMainに合わせる） */
  --text: #0F172A;
  --text_white: #ffffff;
  /* 補助テキスト色（案AのTextSubに合わせる） */
  --text-sub: #475569;
  /* 注記用の落ち着いた色（案AのTextNote） */
  --text-note: #64748B;
  --border: #E5E7EB;
  /* 主アクセントカラー（明るいオレンジ） */
  --accent: #f97316;
  /* アクセントの淡色（案AのAccentSoft） */
  --accent-soft: #DBEAFE;
  /* ヘッダー専用の背景色（案AのHeaderBG） */
  --header-bg: #F8FAFC;
  --radius-sheet: 24px;
  --radius-card: 18px;
  --radius-subcard: 14px;
  --radius-pill: 999px;
  --shadow-sheet: 0 -10px 30px rgba(17,24,39,0.12);
  --shadow-card: 0 12px 30px rgba(17,24,39,0.08);
  --shadow-subcard: 0 6px 16px rgba(17,24,39,0.06);
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --font: "Inter", "Noto Sans JP", "Segoe UI", system-ui, sans-serif;
}
body {
  font-family: var(--font);
  background: var(--bg-gradient);
  color: var(--text_white);
}

/* ヘッダー全体: 公式感を出すために背景と境界線を整える */
.site-header {
  background: transparent; /* ← 背景を透明に */
  border-bottom: none; /* ← 下線を消す */
  padding: 16px 12px 14px;
}

/* ページタイトル（上段） */
.site-header h1 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--text_white);
}

/* サブ見出し（上段の補足） */
.site-subtitle {
  margin: 4px 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text_white);
}

/* 説明文（中段） */
.site-lead {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--text_white);
}

/* 「日付から探す」見出し（下段の導線ラベル） */
.site-date-heading {
  margin: 12px 0 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* 下段CTAの並び（狭い幅でも自然に縦積みになるように調整） */
.site-header .spot-actions {
  margin: 0;
}

h2 {
  margin: 8px;
}

#map {
  width: 100%;
  height: 100%; /* ラッパーの高さに追従して隙間を防ぐ */
  box-sizing: border-box; /* ← これで padding 内に収まる */ 
  border-radius: var(--radius-subcard); /* カード内の角丸も綺麗に */
}
.map-wrapper {
  position: relative;
  width: calc(100% - 15px); 
  margin: 0 auto;
  box-sizing: border-box;
  /* カード化（ここを追加） */ 
  background: var(--surface); /* 白背景 */ 
  border-radius: var(--radius-card); /* 角丸 */ 
  box-shadow: var(--shadow-card); /* カードの影 */ 
  padding: 12px; /* 内側余白（重要） */ 
  /* 既存の高さ調整 */
  height: calc(100dvh - 210px);
  min-height: 58vh; 
}



/* 検索ボックスーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.search-box {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1000;
}
#search-input {
  width: 180px;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: var(--radius-subcard);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subcard);
  background: var(--surface);
  color: var(--text);
}
#search-container {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000;
  background: var(--surface);
  padding: 6px;
  border-radius: var(--radius-subcard);
  width: 180px;
}
#search-suggestions {
  background: var(--surface);
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid var(--border);
}
#search-suggestions li {
  background: var(--surface);
  padding: 6px;
  cursor: pointer;
}
#search-suggestions li:hover {
  background: var(--accent-soft);
}

/* 検索クリアボタン（入力欄右端） */
.search-input-wrapper {
  position: relative;
}

#search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  line-height: 20px;
  font-size: 16px;
  color: var(--text-sub);
  display: none; /* 入力がある時だけ表示 */
}

#search-clear:hover {
  background: var(--accent-soft);
}


/*現在地ボタン-------------------------------------------------  */
#locate-btn {
  position: absolute;
  /* レイバーボタン(top: 80px)のすぐ下に、標準の隙間(10px)を空けて配置 */
  top: 72px; 
  right: 21px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  background-color: #fff;
  border: 2px solid rgba(0,0,0,0.2);
  background-clip: padding-box;
  border-radius: 4px;
  
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: none;
  transition: background-color 0.1s;
}
/* ピンアイコン */
#locate-btn .icon {
  font-size: 20px; 
  line-height: 1;
  margin-top: 2px;
}
/* 「現在地」文字 */
#locate-btn .label {
  font-size: 10px;   
  font-weight: bold;
  line-height: 1;
  margin-top: 1px;
  color: #333;
  transform: scale(0.85); 
}
#locate-btn:hover {
  background: #f4f4f4;
}
/* 地図上のスポット名ラベル（Leaflet tooltip） */
.leaflet-tooltip.spot-label {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-subcard);
  box-shadow: var(--shadow-subcard);
  color: var(--text);
  font-size: 12px;
  padding: 2px 8px;
　white-space: nowrap;      /* 改行を禁止して幅を固定 */
  margin-left: 0;           /* デフォルトのマージンをリセット */
  /* tooltipAnchorで中央合わせするため、追加の水平シフトはしない */
  transform: translateX(0);
  pointer-events: auto !important; /* クリックイベントを確実に拾う */
}

/* =========================
   スマホ最適化
========================= */
@media (max-width: 768px) {

  .site-header {
    /* スマホでは上下余白をわずかに詰める */
    padding: 14px 12px 12px;
  }

  .site-header h1 {
    font-size: 1.4rem;
  }

  .site-subtitle,
  .site-lead {
    font-size: 0.8rem;
  }

  /* スマホでも地図が下部カードに近づくよう調整 */
  .map-wrapper {height: calc(100dvh - 190px); min-height: 58vh;}
}
/* 試験公開用文言*/
.site-notice {
  /* 下段の注記は小さく控えめに表示 */
  margin: 8px 0 0;
  font-size: 0.75rem;
  color: var(--text-note);
}

.trial-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--surface);
  font-size: 11px;
  color: var(--text-sub);
  text-align: center;
  padding: 4px 6px;
  z-index: 1000;
  border-top: 1px solid var(--border);
}

/* ポップアップ内のボタン共通スタイル */
.popup-link-btn {
    display: inline-block;
    padding: 6px 10px;
    background-color: var(--accent);
    color: white !important;
    text-decoration: none;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: bold;
    transition: background-color 0.2s, filter 0.2s;
}

.popup-link-btn:hover {
    background-color: var(--accent);
    filter: brightness(0.95);
}

/* ポップアップ要約文（1行表示） */
.popup-summary {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ポップアップ内の詳細ボタンは小さめのピル型にする */
.popup-link-btn--compact {
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
}

/* ルート検索ボタン（Googleカラーの緑系） */
.route-btn {
    background-color: var(--accent);
}

.route-btn:hover {
    background-color: var(--accent);
    filter: brightness(0.95);
}

/* =======================
   地図下スポット表示欄（Bottom Sheet）
   ======================= */

.spot-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom));
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
  background: transparent;
  z-index: 1100;
  pointer-events: none; /* クリックできるのは中のカードのみ */
}

/* 未選択時は説明だけ表示 */
.spot-panel.is-empty .spot-panel__desc,
.spot-panel.is-empty .spot-panel__actions {
  display: none;
}

/* Bottom Sheet本体カード */
.spot-panel__body {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
  background: var(--surface);
  box-shadow: var(--shadow-sheet);
  padding: 12px 14px 14px 20px; /* 左のアクセントラインと重ならない余白を確保 */
  pointer-events: auto; /* カードはクリック可能 */
}

/* 選択中のアクセントライン（視認性向上） */
.spot-panel:not(.is-empty) .spot-panel__body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: var(--radius-pill);
  background: var(--accent);
}

/* タップで展開/折りたたみするヘッダー */
.spot-panel__toggle {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* 補足文 */
.spot-panel__kicker {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 6px;
}

/* タイトル */
.spot-panel__title {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
}

/* メタ情報（カテゴリ・エリア） */
.spot-panel__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 8px;
}

/* チップ（カテゴリ・エリア） */
.spot-panel__chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}

/* 説明文 */
.spot-panel__desc {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 3行まで表示して省略する */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ボタンエリア */
.spot-panel__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ボタン共通 */
.spot-panel .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 13px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
}

/* メインCTA */
.spot-panel .btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* サブCTA（ルート検索） */
.spot-panel .btn-secondary {
  border-color: var(--accent);
  background: var(--surface);
  color: var(--accent);
}

/* 補助CTA（公式サイト） */
.spot-panel .btn-tertiary {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

/* spot-panel 閉じるボタン */
.spot-panel__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  line-height: 26px;
  font-size: 18px;
  color: var(--text-sub);
}

.spot-panel__close:hover {
  background: var(--accent-soft);
}

/* 展開状態の切り替え（collapsed時は内容を隠す） */
.spot-panel:not(.is-expanded) .spot-panel__content {
  display: none;
}


/* スマホ最適化 */
@media (max-width: 600px) {
  .spot-panel {
    padding: 0 8px calc(8px + env(safe-area-inset-bottom));
  }
  .spot-panel__title {
    font-size: 17px;
  }
}

/* 未選択時だけガイド文を表示（選択中は隠す） */
.spot-panel:not(.is-empty) .spot-panel__kicker {
  display: none;
}

/*フッター被り対策 */
main {
  padding-bottom: 44px;
}

/* =======================
   スポット詳細ページ
   ======================= */
.spot-page { 
  background: var(--bg-gradient); 
}

.spot-header {
  /* ヘッダーは白背景でコンテンツと分離 */
  padding: 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.spot-page-title {
  margin: 8px 0 4px;
  font-size: 20px;
  font-weight: 700;
}

.spot-page-lead {
  margin: 0;
  font-size: 13px;
  color: var(--text-sub);
}

.spot-back-link {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
}

.spot-container {
  /* 画面幅の中心にカードを配置（モバイル最適化の最大幅） */
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 32px;
}

.spot-content {
  /* スポット詳細+イベントを1つの大きなカードにまとめる */
  margin-top: 24px; /* 上部の余白でカードを浮かせる */
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

/* メタ情報（カテゴリ/エリア）をチップ化 */
#spot-category,
#spot-area {
  display: inline-block; /* 横並びのチップにする */
  margin: 0 8px 8px 0; /* チップ間の余白を確保 */
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

/* 施設名の強調（視線の起点） */
#spot-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4; /* 行間を広めにして読みやすく */
  color: var(--text);
}

/* 説明文を区切り線で整える */
#spot-intro {
  margin: 20px 0 0;
  padding-left: 14px; /* 左ボーダーとの距離を確保 */
  border-left: 3px solid var(--border);
}

.spot-content__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.spot-title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.spot-intro {
  margin: 0 0 20px;
}

.spot-intro__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.spot-intro__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-sub);
  white-space: pre-line;
}

/* =======================
   イベント一覧
   ======================= */
.spot-events {
  /* 「このスポットについて」との区切りを明確化 */
  margin: 0 0 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.spot-events__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.spot-events__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.spot-events__updated {
  margin: 0;
  font-size: 12px;
  color: var(--text-sub);
}

.spot-events__body {
  /* イベント一覧の背景を整えるための領域 */
  margin: 0;
}

.spot-events__panel {
  /* タブ・一覧・もっと見るのまとまりをカード風に */
  padding: 16px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.spot-events__status {
  margin: 0;
  font-size: 13px;
  color: var(--text-sub);
}

.spot-events__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  overflow-x: auto; /* スマホで横に収まらない場合は横スクロール */
  -webkit-overflow-scrolling: touch; /* iOSの慣性スクロールを有効化 */
  padding-bottom: 4px; /* スクロールバーと被らないように余白を追加 */
}

.spot-events__tab {
  /* ピル型のタブボタン */
  border: 1px solid var(--border);
  border-radius: var(--radius-pill); /* ピル型の形状を強調 */
  padding: 8px 16px;
  min-height: 40px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 600; /* 文字の視認性を上げる */
  color: var(--text);
  cursor: pointer;
  white-space: nowrap; /* ボタン内で折り返さない */
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.spot-events__tab:hover,
.spot-events__tab:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-subcard); /* ホバー/フォーカス時の強調 */
}

.spot-events__tab.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-card); /* 選択状態の視認性を高める */
}

.spot-events__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px; /* カード間の余白を広げる */
}

/* 日付一覧専用のリストは grid を使わずにブロック表示へ分離する */
.date-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}

/* 日付一覧のカード風アイテム */
.date-index__item {
  margin-bottom: 16px;
  padding: 14px;
  border-radius: var(--radius-subcard);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subcard);
}

/* 日付一覧のサマリは小さめの文字と控えめな色で補足表示 */
.date-index__summary {
  margin: 8px 0 0;
  padding-left: 16px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-sub);
  list-style: disc;
}

.date-index__summary li {
  margin-bottom: 4px;
}

.spot-events__more {
  /* 「もっと見る」は幅広で押しやすく */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: var(--radius-pill); /* CTAらしい形状 */
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 600; /* 重要な操作として目立たせる */
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.spot-events__more:hover,
.spot-events__more:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft); /* 押せることを示す軽い強調 */
}

.spot-event-card {
  display: flex;            
  flex-direction: column;    
  align-items: flex-start;   
  padding: 14px;
  border-radius: var(--radius-subcard);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subcard);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;        
}

/* 広告枠は panel と同トーンのカードとして目立ち過ぎないようにする */
.ad-card {
  margin: 16px 0;
  padding: 14px;
  border-radius: var(--radius-subcard);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subcard);
}

.ad-card__title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
}

.ad-card__body {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}

.ad-card__disclaimer {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--text-sub);
}

.spot-event-card__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  /* タイトルは2行で省略して視線を止める */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spot-event-card__date {
  /* 日付はバッジで強調 */
  display: inline-block; /* バッジ風にするためのラベル */
  margin: 0 0 8px;
  padding: 6px 10px;
  border-radius: var(--radius-pill); /* バッジの丸みを強調 */
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 700; /* 重要情報として強調 */
  color: var(--accent);
}

.spot-event-card__details {
  margin: 0 0 10px;
  padding-left: 16px; /* 箇条書きの余白を詰める */
  font-size: 13px; /* スマホでも読みやすいサイズ */
  line-height: 1.6; /* 行間を整えて読みやすくする */
  letter-spacing: 0.01em; /* 字間を少し広げる */
  color: var(--text-sub);
  list-style-position: outside; /* マーカーを本文に揃える */
}

.spot-event-card__details li {
  margin-bottom: 4px; /* 箇条書きの上下余白を詰める */
}

.spot-event-card__details li::marker {
  color: var(--border); /* リストマーカーを軽く見せる */
}

.spot-event-card__details li:last-child {
  margin-bottom: 0; /* 最後の項目だけ余白を削除 */
}

.spot-event-card__link {
  align-self: flex-end;    
  margin-top: auto;        
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0px 14px;
  min-height: 40px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--accent);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.spot-event-card__link:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.spot-event-card__link:active {
  background: var(--accent-soft);
}

@media (hover: hover) and (pointer: fine) {
  .spot-event-card:hover {
    transform: translateY(-2px); /* PCのみ少し浮かせる */
    box-shadow: var(--shadow-subcard);
  }
}

.spot-actions {
  display: flex;
  /* 日付ボタンの余白を詰めて一覧をスリムに見せる */
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.spot-action-btn {
  /* CTAボタンの共通スタイル */
  display: inline-block;
  /* 押しやすさは確保しつつ、縦横サイズをスリム化する */
  padding: 6px 12px;
  min-height: 15px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: filter 0.2s ease;
}

.spot-action-btn:hover {
  /* 派手すぎないホバー表現で公式感を維持 */
  filter: brightness(0.98);
}

.spot-action-btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
}

.spot-cta {
  margin-bottom: 20px;
  padding: 14px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-subcard);
  background: var(--surface);
  box-shadow: var(--shadow-subcard);
}

.spot-cta__links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.spot-related {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--text-sub);
  font-size: 13px;
}

.spot-error {
  background: var(--surface);
  border-radius: var(--radius-subcard);
  padding: 24px;
  border: 1px solid #f0c4c4;
  color: #7a1d1d;
}

.spot-error__title {
  margin: 0 0 8px;
  font-size: 18px;
}

.spot-error__text {
  margin: 0 0 12px;
  font-size: 14px;
}

.spot-error__link {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 600px) {
  .spot-content {
    padding: 20px 16px;
  }

  .spot-title {
    font-size: 20px;
  }
}
