/* ========== 異界巡礼 ／ 土俗的サブカル系デザイン ========== */
:root {
  /* 色：黒漆ベース、朱、金、藍、霊白 */
  --ink: #0e0a08;          /* 漆黒 */
  --ink-2: #1a1411;        /* 二段目 */
  --ink-3: #2a201c;        /* 紙背 */
  --paper: #f3ece1;        /* 古紙 */
  --paper-2: #e6dcc8;      /* 朽ち紙 */
  --shu: #c8332b;          /* 朱 */
  --shu-deep: #8c1f1a;     /* 深朱 */
  --kin: #d4a437;          /* 古金 */
  --ai: #2a4d6e;           /* 藍 */
  --koke: #4a6840;         /* 苔緑 */
  --rei: #ece9e1;          /* 霊白 */
  --gray: #6a5d54;
  --gray-2: #44382f;

  --cat-folk: var(--shu);
  --cat-bkyu: var(--koke);
  --cat-horror: var(--ai);
  --cat-mystery: var(--kin);

  --font-mincho: "Shippori Mincho B1", "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", system-ui, sans-serif;
  --font-dot: "DotGothic16", monospace;

  --header-h: 64px;
  --shadow-1: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-2: 0 8px 30px rgba(0,0,0,0.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(14, 10, 8, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 164, 55, 0.18);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--kin); }
.logo { width: 36px; height: 36px; flex-shrink: 0; }
.brand-text { line-height: 1.1; }
.brand-name { font-family: var(--font-mincho); font-size: 18px; margin: 0; font-weight: 800; color: var(--paper); letter-spacing: 0.15em; }
.brand-sub { font-size: 10px; margin: 2px 0 0; color: var(--kin); letter-spacing: 0.2em; opacity: 0.85; }

.tabs { margin-left: auto; display: flex; gap: 4px; }
.tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--paper);
  font-family: var(--font-mincho);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.15em;
  transition: all 0.2s;
  opacity: 0.65;
}
.tab i { font-size: 16px; }
.tab:hover { opacity: 1; color: var(--kin); }
.tab.active {
  opacity: 1;
  color: var(--ink);
  background: var(--kin);
  border-color: var(--kin);
}

/* ============ Views (tabs) ============ */
.view { display: none; min-height: 100vh; padding-top: var(--header-h); }
.view.active { display: block; }

/* ============ HERO ============ */
.view-hero {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(200, 51, 43, 0.18), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(212, 164, 55, 0.12), transparent 55%),
    linear-gradient(180deg, #0e0a08 0%, #1a1411 70%, #0e0a08 100%);
  position: relative;
  overflow: hidden;
}
.view-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><circle cx='30' cy='30' r='1' fill='%23d4a437' opacity='0.15'/></svg>");
  pointer-events: none;
}
.view-hero::after {
  content: "鬼 神 異 怪 祟 祓 呪 霊 祠 荒";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-family: var(--font-mincho);
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 900;
  color: rgba(200, 51, 43, 0.04);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.3em;
}
.hero-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 80px 32px 120px;
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-eyebrow {
  font-family: var(--font-mincho);
  font-size: clamp(10px, 2.4vw, 13px);
  letter-spacing: 0.4em;
  color: var(--kin);
  margin: 0 0 32px;
  display: inline-block;
  padding: 6px 14px;
  border-top: 1px solid var(--kin);
  border-bottom: 1px solid var(--kin);
  white-space: nowrap;
}
.hero-title {
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.3;
  margin: 0 0 32px;
  color: var(--paper);
  letter-spacing: 0.05em;
}
.hero-line-1 { display: block; }
.hero-line-2 { display: block; color: var(--shu); }
.hero-line-3 { display: block; }
.hero-lede {
  font-size: 16px;
  color: var(--paper-2);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 2.0;
}
.hero-lede strong { color: var(--kin); font-weight: 700; }

.hero-stats { display: flex; align-items: center; justify-content: center; gap: 32px; margin: 48px 0; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: var(--font-mincho); font-size: 56px; font-weight: 900; color: var(--kin); line-height: 1; }
.stat-label { font-size: 12px; letter-spacing: 0.3em; color: var(--paper-2); margin-top: 8px; }
.stat-divider { width: 1px; height: 50px; background: var(--gray); }

.hero-cta { display: flex; gap: 16px; justify-content: center; margin: 32px 0 64px; flex-wrap: wrap; }
.cta-primary, .cta-secondary {
  font-family: var(--font-mincho);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  cursor: pointer;
  border-radius: 2px;
  letter-spacing: 0.2em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.cta-primary { background: var(--shu); color: var(--paper); border: 1px solid var(--shu); }
.cta-primary:hover { background: var(--shu-deep); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,51,43,0.4); }
.cta-secondary { background: transparent; color: var(--kin); border: 1px solid var(--kin); }
.cta-secondary:hover { background: var(--kin); color: var(--ink); }

.hero-categories { margin: 80px 0 48px; }
.cat-title {
  font-family: var(--font-mincho);
  font-size: 14px;
  letter-spacing: 0.5em;
  color: var(--kin);
  margin: 0 0 32px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}
.cat-card {
  padding: 28px 16px;
  border: 1px solid rgba(212, 164, 55, 0.25);
  background: rgba(26, 20, 17, 0.5);
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  border-radius: 2px;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--kin); background: rgba(42, 32, 28, 0.7); }
.cat-glyph { font-family: var(--font-mincho); font-size: 48px; font-weight: 900; line-height: 1; display: block; margin-bottom: 12px; }
.cat-card.cat-folk .cat-glyph { color: var(--shu); }
.cat-card.cat-bkyu .cat-glyph { color: var(--koke); }
.cat-card.cat-horror .cat-glyph { color: #6a8db5; }
.cat-card.cat-mystery .cat-glyph { color: var(--kin); }
.cat-card h3 { font-family: var(--font-mincho); font-size: 16px; margin: 0 0 8px; color: var(--paper); letter-spacing: 0.15em; }
.cat-card p { font-size: 12px; margin: 0; color: var(--paper-2); line-height: 1.7; }

.hero-note {
  margin-top: 64px;
  padding: 16px 24px;
  border-top: 1px dashed rgba(212, 164, 55, 0.3);
  font-size: 11px;
  color: var(--gray);
  line-height: 1.9;
}

/* ============ MAP VIEW ============ */
.view-map {
  padding-top: var(--header-h);
  position: relative;
  height: 100vh;
}
.view-map.active { display: flex; }

.map-sidebar {
  width: 340px;
  background: var(--ink-2);
  border-right: 1px solid rgba(212, 164, 55, 0.2);
  overflow-y: auto;
  padding: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.filter-block { margin-bottom: 20px; }
.filter-label {
  font-family: var(--font-mincho);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--kin);
  display: block;
  margin-bottom: 8px;
  text-transform: none;
}
.search-input {
  width: 100%;
  padding: 10px 12px;
  background: var(--ink);
  border: 1px solid rgba(212, 164, 55, 0.3);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 13px;
  border-radius: 2px;
  outline: none;
}
.search-input:focus { border-color: var(--kin); }
.search-input::placeholder { color: var(--gray); }

.cat-filter, .cal-cat-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-chip {
  background: var(--ink-3);
  border: 1px solid rgba(212, 164, 55, 0.25);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 12px;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
}
.cat-chip:hover { border-color: var(--kin); }
.cat-chip.active { background: var(--kin); color: var(--ink); border-color: var(--kin); font-weight: 700; }
.cat-chip .count { font-size: 10px; opacity: 0.7; }
.cat-chip.cat-folk.active { background: var(--shu); border-color: var(--shu); color: var(--paper); }
.cat-chip.cat-bkyu.active { background: var(--koke); border-color: var(--koke); color: var(--paper); }
.cat-chip.cat-horror.active { background: var(--ai); border-color: var(--ai); color: var(--paper); }
.cat-chip.cat-mystery.active { background: var(--kin); border-color: var(--kin); color: var(--ink); }

.layer-toggle { display: flex; flex-direction: column; gap: 8px; }
.layer-toggle label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  color: var(--paper-2);
}
.layer-toggle .dot { width: 10px; height: 10px; border-radius: 50%; margin-left: auto; }

.result-list { margin-top: 24px; border-top: 1px solid rgba(212, 164, 55, 0.15); padding-top: 16px; }
.result-item {
  padding: 12px;
  margin-bottom: 6px;
  background: var(--ink-3);
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.15s;
  border-radius: 2px;
}
.result-item:hover { background: var(--ink); transform: translateX(2px); }
.result-item .ri-name { font-family: var(--font-mincho); font-size: 14px; font-weight: 600; color: var(--paper); }
.result-item .ri-meta { font-size: 11px; color: var(--gray); margin-top: 2px; }
.result-item.cat-folk { border-left-color: var(--shu); }
.result-item.cat-bkyu { border-left-color: var(--koke); }
.result-item.cat-horror { border-left-color: var(--ai); }
.result-item.cat-mystery { border-left-color: var(--kin); }
.result-item.is-festival { border-left-color: var(--kin); border-left-style: dashed; }

#map {
  flex: 1;
  height: calc(100vh - var(--header-h));
  background: #1a1411;
}

.sidebar-toggle {
  display: none;
  position: absolute;
  top: 80px;
  left: 12px;
  z-index: 50;
  background: var(--ink-2);
  border: 1px solid var(--kin);
  color: var(--kin);
  padding: 8px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 18px;
}

/* MapLibre marker styling */
.spot-marker {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mincho);
  font-weight: 800;
  color: var(--paper);
  cursor: pointer;
  border: 2px solid var(--paper);
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  font-size: 14px;
  transition: transform 0.15s;
}
.spot-marker:hover { transform: scale(1.2); z-index: 10; }
.spot-marker.cat-folk { background: var(--shu); }
.spot-marker.cat-bkyu { background: var(--koke); }
.spot-marker.cat-horror { background: var(--ai); }
.spot-marker.cat-mystery { background: var(--kin); color: var(--ink); }
.spot-marker.is-fest {
  border-radius: 4px;
  transform: rotate(45deg);
  border-style: dashed;
}
.spot-marker.is-fest > * { transform: rotate(-45deg); }

.maplibregl-popup-content {
  background: var(--ink-2) !important;
  color: var(--paper) !important;
  border: 1px solid var(--kin) !important;
  border-radius: 2px !important;
  padding: 12px 14px !important;
  font-family: var(--font-sans) !important;
  max-width: 220px;
}
.maplibregl-popup-tip { border-top-color: var(--ink-2) !important; }
.maplibregl-popup-close-button { color: var(--paper) !important; font-size: 20px !important; }
.popup-name { font-family: var(--font-mincho); font-weight: 700; font-size: 14px; margin: 0 0 4px; }
.popup-meta { font-size: 11px; color: var(--kin); margin: 0 0 6px; }
.popup-summary { font-size: 12px; line-height: 1.6; margin: 0 0 8px; }
.popup-link {
  font-size: 11px; color: var(--kin); cursor: pointer;
  background: transparent; border: 1px solid var(--kin);
  padding: 4px 10px; border-radius: 2px; font-family: var(--font-mincho);
  letter-spacing: 0.1em;
}
.popup-link:hover { background: var(--kin); color: var(--ink); }

/* ============ CALENDAR ============ */
.view-calendar {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 164, 55, 0.08), transparent 50%),
    var(--ink);
  padding-bottom: 80px;
}
.cal-header { text-align: center; padding: 60px 24px 32px; max-width: 1200px; margin: 0 auto; }
.cal-title { font-family: var(--font-mincho); font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin: 0 0 8px; color: var(--paper); letter-spacing: 0.1em; }
.cal-sub { font-family: var(--font-mincho); color: var(--kin); margin: 0 0 24px; letter-spacing: 0.4em; font-size: 13px; }
.cal-cat-filter { justify-content: center; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.month-block {
  background: var(--ink-2);
  border: 1px solid rgba(212, 164, 55, 0.18);
  border-radius: 4px;
  overflow: hidden;
}
.month-header {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  padding: 16px 20px;
  border-bottom: 1px solid rgba(212, 164, 55, 0.2);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.month-num {
  font-family: var(--font-mincho);
  font-size: 36px;
  font-weight: 900;
  color: var(--shu);
  line-height: 1;
}
.month-name { font-family: var(--font-mincho); font-size: 18px; color: var(--paper); letter-spacing: 0.2em; }
.month-count { font-size: 11px; color: var(--gray); margin-left: auto; letter-spacing: 0.15em; }

.fest-list { padding: 8px; }
.fest-item {
  padding: 12px 14px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.15s;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-left: 3px solid transparent;
}
.fest-item:hover { background: var(--ink-3); }
.fest-date {
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: 16px;
  color: var(--kin);
  min-width: 36px;
  text-align: center;
  line-height: 1.2;
}
.fest-date small { font-size: 9px; display: block; color: var(--gray); }
.fest-info { flex: 1; min-width: 0; }
.fest-name { font-family: var(--font-mincho); font-size: 14px; font-weight: 700; color: var(--paper); margin: 0 0 2px; }
.fest-place { font-size: 11px; color: var(--paper-2); margin: 0; }
.fest-tag {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-left: 6px;
  white-space: nowrap;
  display: inline-block;
}
.fest-item[data-fcat="naked"] { border-left-color: #d99c5b; }
.fest-item[data-fcat="naked"] .fest-tag { background: #d99c5b; color: #2a1610; }
.fest-item[data-fcat="fire"] { border-left-color: var(--shu); }
.fest-item[data-fcat="fire"] .fest-tag { background: var(--shu); color: var(--paper); }
.fest-item[data-fcat="weird"] { border-left-color: var(--koke); }
.fest-item[data-fcat="weird"] .fest-tag { background: var(--koke); color: var(--paper); }
.fest-item[data-fcat="sex"] { border-left-color: #b65b9c; }
.fest-item[data-fcat="sex"] .fest-tag { background: #b65b9c; color: var(--paper); }
.fest-item[data-fcat="animal"] { border-left-color: #7d5a3c; }
.fest-item[data-fcat="animal"] .fest-tag { background: #7d5a3c; color: var(--paper); }
.fest-item[data-fcat="other"] { border-left-color: var(--ai); }
.fest-item[data-fcat="other"] .fest-tag { background: var(--ai); color: var(--paper); }

/* ============ LIST VIEW ============ */
.view-list {
  background: var(--ink);
  padding-bottom: 80px;
}
.list-header { text-align: center; padding: 60px 24px 24px; max-width: 1200px; margin: 0 auto; }
.list-title { font-family: var(--font-mincho); font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin: 0 0 24px; color: var(--paper); letter-spacing: 0.1em; }
.list-tabs { display: flex; gap: 0; justify-content: center; margin-bottom: 20px; }
.list-tab {
  background: transparent;
  border: 1px solid var(--kin);
  color: var(--kin);
  font-family: var(--font-mincho);
  padding: 8px 24px;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.2em;
  transition: all 0.15s;
}
.list-tab:first-child { border-radius: 2px 0 0 2px; }
.list-tab:last-child { border-radius: 0 2px 2px 0; border-left: none; }
.list-tab.active { background: var(--kin); color: var(--ink); font-weight: 700; }
.list-search { max-width: 400px; margin: 0 auto; display: block; }

.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.list-card {
  background: var(--ink-2);
  border: 1px solid rgba(212, 164, 55, 0.18);
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 4px;
  border-left: 4px solid transparent;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}
.list-card:hover { transform: translateY(-3px); border-color: var(--kin); box-shadow: var(--shadow-2); }
.list-card.cat-folk { border-left-color: var(--shu); }
.list-card.cat-bkyu { border-left-color: var(--koke); }
.list-card.cat-horror { border-left-color: var(--ai); }
.list-card.cat-mystery { border-left-color: var(--kin); }
.list-card.is-festival { border-left-style: dashed; border-left-color: var(--kin); }

.lc-cat {
  font-family: var(--font-mincho);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--kin);
  margin: 0 0 6px;
}
.lc-name { font-family: var(--font-mincho); font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--paper); }
.lc-kana { font-size: 11px; color: var(--gray); margin: 0 0 10px; }
.lc-place { font-size: 12px; color: var(--paper-2); margin: 0 0 10px; display: flex; gap: 6px; align-items: center; }
.lc-place i { color: var(--kin); }
.lc-summary { font-size: 12px; color: var(--paper-2); line-height: 1.7; margin: 0; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.lc-status {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  background: var(--ink-3);
  color: var(--gray);
  border-radius: 2px;
  margin-top: 8px;
  align-self: flex-start;
}
.lc-status.s-現存 { background: var(--koke); color: var(--paper); }
.lc-status.s-閉鎖, .lc-status.s-廃墟化, .lc-status.s-立入禁止 { background: var(--shu-deep); color: var(--paper); }

/* ============ MODAL ============ */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.modal.open { display: flex; align-items: center; justify-content: center; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.modal-content {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--kin);
  max-width: 760px;
  width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 32px 36px 36px;
  border-radius: 4px;
  box-shadow: var(--shadow-2);
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: transparent;
  border: 1px solid var(--gray);
  color: var(--paper);
  width: 32px; height: 32px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 50%;
  transition: all 0.15s;
}
.modal-close:hover { border-color: var(--shu); color: var(--shu); }

.m-cat {
  font-family: var(--font-mincho);
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--kin);
  margin: 0 0 8px;
}
.m-name { font-family: var(--font-mincho); font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; margin: 0 0 4px; color: var(--paper); letter-spacing: 0.05em; }
.m-kana { font-size: 12px; color: var(--gray); margin: 0 0 20px; letter-spacing: 0.2em; }
.m-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  padding: 16px 20px;
  background: var(--ink);
  border: 1px solid rgba(212, 164, 55, 0.2);
  margin-bottom: 24px;
  border-radius: 2px;
}
.m-meta-item { font-size: 12px; line-height: 1.6; }
.m-meta-item .ml { font-family: var(--font-mincho); color: var(--kin); display: block; font-size: 10px; letter-spacing: 0.2em; margin-bottom: 2px; }
.m-meta-item .mv { color: var(--paper); }

.m-section { margin-bottom: 24px; }
.m-h { font-family: var(--font-mincho); font-size: 14px; color: var(--kin); margin: 0 0 10px; letter-spacing: 0.3em; border-left: 3px solid var(--shu); padding-left: 10px; }
.m-summary { font-size: 14px; line-height: 2.0; color: var(--paper-2); }
.m-highlights { padding-left: 0; list-style: none; margin: 0; }
.m-highlights li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 13px;
  line-height: 1.7;
  color: var(--paper-2);
  border-bottom: 1px dashed rgba(212, 164, 55, 0.15);
}
.m-highlights li::before {
  content: "▸";
  position: absolute;
  left: 4px;
  color: var(--shu);
  font-weight: 800;
}
.m-links { display: flex; flex-wrap: wrap; gap: 8px; }
.m-link {
  font-size: 12px;
  color: var(--kin);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--kin);
  border-radius: 2px;
  transition: all 0.15s;
  font-family: var(--font-mincho);
}
.m-link:hover { background: var(--kin); color: var(--ink); }
.m-link i { margin-right: 4px; }
.m-warn {
  background: rgba(200, 51, 43, 0.12);
  border: 1px solid var(--shu);
  padding: 12px 16px;
  font-size: 12px;
  color: var(--paper);
  margin-top: 16px;
  border-radius: 2px;
  line-height: 1.7;
}
.m-warn strong { color: var(--shu); }

/* ============ FOOTER ============ */
.site-footer {
  text-align: center;
  padding: 40px 24px;
  font-size: 11px;
  color: var(--gray);
  border-top: 1px solid rgba(212, 164, 55, 0.15);
  line-height: 1.9;
  background: var(--ink-2);
}
.site-footer .caution { color: var(--shu); font-weight: 600; }

/* ============ Responsive ============ */
@media (max-width: 768px) {
  .site-header { padding: 0 12px; gap: 8px; }
  .brand-text { display: none; }
  .tab span { display: none; }
  .tab { padding: 8px 10px; }
  .tab i { font-size: 18px; }

  .map-sidebar {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 280px;
    z-index: 30;
    transform: translateX(-100%);
  }
  .map-sidebar.open { transform: translateX(0); }
  .sidebar-toggle { display: block; }

  .hero-stats { gap: 16px; }
  .stat-num { font-size: 40px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }

  .modal-content { padding: 24px 20px; }
  .m-meta-grid { grid-template-columns: 1fr; }
}

/* ========== v2 追加スタイル ========== */

/* Header actions: lang & theme toggle */
.header-actions { display: flex; gap: 6px; margin-left: 8px; }
.lang-toggle, .theme-toggle {
  background: transparent;
  border: 1px solid rgba(212, 164, 55, 0.25);
  color: var(--kin);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-family: var(--font-mincho);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all 0.2s;
}
.lang-toggle { width: auto; padding: 0 10px; gap: 5px; }
.lang-toggle i, .theme-toggle i { font-size: 14px; }
.lang-toggle:hover, .theme-toggle:hover {
  background: rgba(212, 164, 55, 0.12);
  border-color: var(--kin);
}

/* このサイト「序」内の今月のおすすめ */
.hero-this-month {
  margin: 64px auto 48px;
  max-width: 980px;
  padding: 36px 32px;
  background: linear-gradient(135deg, rgba(200, 51, 43, 0.08), rgba(212, 164, 55, 0.04));
  border: 1px solid rgba(212, 164, 55, 0.2);
  border-radius: 4px;
}
.tm-header { text-align: center; margin-bottom: 28px; }
.tm-header h3 {
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: 0.2em;
  margin: 0 0 8px;
}
.tm-sub {
  font-size: 12px;
  color: var(--kin);
  letter-spacing: 0.25em;
  margin: 0;
}
.tm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.tm-card {
  background: rgba(14, 10, 8, 0.85);
  border: 1px solid rgba(212, 164, 55, 0.18);
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.25s;
  display: flex; flex-direction: column;
}
.tm-card:hover {
  transform: translateY(-3px);
  border-color: var(--kin);
  box-shadow: 0 6px 24px rgba(200, 51, 43, 0.18);
}
.tm-photo, .tm-photo-placeholder {
  width: 100%;
  height: 110px;
  overflow: hidden;
  background: rgba(200, 51, 43, 0.08);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mincho);
  font-size: 36px;
  color: var(--kin);
  opacity: 0.5;
}
.tm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.tm-date {
  font-family: var(--font-mincho);
  font-size: 11px;
  color: var(--kin);
  letter-spacing: 0.15em;
  margin: 0 0 6px;
}
.tm-name {
  font-family: var(--font-mincho);
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
  margin: 0 0 6px;
  line-height: 1.4;
}
.tm-place { font-size: 11px; color: var(--gray); margin: 0 0 6px; }
.tm-tag {
  font-size: 10px;
  color: var(--shu);
  letter-spacing: 0.2em;
  margin: auto 0 0;
  padding-top: 6px;
  border-top: 1px dashed rgba(200, 51, 43, 0.25);
}
.tm-empty {
  text-align: center;
  color: var(--gray);
  padding: 24px;
  font-size: 13px;
}

/* Region filter */
.region-filter {
  display: flex; flex-wrap: wrap; gap: 4px;
}
.region-filter .cat-chip {
  font-size: 11px;
  padding: 4px 10px;
}

/* Visited / wishlisted markers */
.spot-marker.visited::after {
  content: '✓';
  position: absolute;
  top: -6px; right: -6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--kin);
  color: var(--ink);
  font-size: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.spot-marker.wishlisted::before {
  content: '★';
  position: absolute;
  top: -6px; left: -6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--shu);
  color: var(--paper);
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spot-marker { position: relative; }

/* Result list count line */
.result-count {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.2em;
  padding: 0 4px 8px;
}

/* Modal photo block */
.m-photo {
  margin: -32px -32px 24px;
  position: relative;
  overflow: hidden;
  max-height: 320px;
}
.m-photo img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}
.m-photo-credit {
  position: absolute;
  bottom: 0; right: 0;
  background: rgba(14, 10, 8, 0.85);
  color: var(--paper);
  font-size: 9px;
  padding: 4px 10px;
  margin: 0;
  letter-spacing: 0.05em;
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Visit buttons in modal */
.m-visit {
  display: flex; gap: 8px;
  margin: 16px 0 24px;
  flex-wrap: wrap;
}
.visit-btn {
  background: transparent;
  border: 1px solid rgba(212, 164, 55, 0.3);
  color: var(--paper);
  font-family: var(--font-mincho);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.visit-btn:hover {
  border-color: var(--kin);
  color: var(--kin);
}
.visit-btn.active {
  background: rgba(212, 164, 55, 0.15);
  border-color: var(--kin);
  color: var(--kin);
}
.visit-btn i { font-size: 16px; }

/* List card photos */
.list-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.lc-photo {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: rgba(200, 51, 43, 0.04);
}
.lc-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.list-card:hover .lc-photo img { transform: scale(1.05); }
.lc-body { padding: 18px 20px 20px; position: relative; flex: 1; display: flex; flex-direction: column; }
.lc-difficulty {
  font-size: 12px;
  color: var(--kin);
  letter-spacing: 0.15em;
  margin: 8px 0 0;
}
.lc-visited {
  position: absolute;
  top: 12px; right: 12px;
  color: var(--kin);
  font-size: 18px;
}
.list-card.is-visited .lc-photo img {
  filter: saturate(0.7) brightness(0.85);
}

/* Routes view */
.view-routes {
  padding: calc(var(--header-h) + 40px) 24px 80px;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 100vh;
}
.routes-header { text-align: center; margin-bottom: 48px; }
.routes-title {
  font-family: var(--font-mincho);
  font-size: 28px;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: 0.15em;
  margin: 0 0 12px;
}
.routes-sub {
  font-size: 13px;
  color: var(--kin);
  letter-spacing: 0.15em;
  margin: 0;
}
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.route-card {
  background: var(--ink-2);
  border: 1px solid rgba(212, 164, 55, 0.18);
  border-radius: 3px;
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.route-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--shu);
  opacity: 0.7;
}
.route-card.cat-folk::before { background: var(--shu); }
.route-card.cat-bkyu::before { background: var(--koke); }
.route-card.cat-horror::before { background: var(--ai); }
.route-card.cat-mystery::before { background: var(--kin); }
.route-card:hover {
  border-color: var(--kin);
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.route-glyph {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--font-mincho);
  font-size: 56px;
  font-weight: 800;
  color: var(--kin);
  opacity: 0.12;
  line-height: 1;
}
.route-title {
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: 0.1em;
  margin: 0 0 12px;
  line-height: 1.4;
}
.route-meta {
  display: flex; gap: 14px;
  font-size: 11px;
  color: var(--kin);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.route-meta i { margin-right: 4px; }
.route-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--paper);
  margin: 0 0 16px;
  opacity: 0.85;
}
.route-stops {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  counter-reset: stop;
}
.route-stops li {
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 12px;
  color: var(--paper);
  border-bottom: 1px dashed rgba(212, 164, 55, 0.12);
  counter-increment: stop;
}
.route-stops li::before {
  content: counter(stop);
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  background: rgba(212, 164, 55, 0.15);
  color: var(--kin);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mincho);
}
.route-cta {
  background: var(--shu);
  color: var(--paper);
  border: none;
  font-family: var(--font-mincho);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 10px 20px;
  border-radius: 2px;
  cursor: pointer;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}
.route-cta:hover { background: var(--shu-deep); }

/* Footer cols */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto 32px;
  padding: 32px 24px 0;
}
.footer-col h4 {
  font-family: var(--font-mincho);
  font-size: 13px;
  color: var(--kin);
  letter-spacing: 0.2em;
  margin: 0 0 12px;
  font-weight: 700;
}
.footer-col p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--paper);
  opacity: 0.75;
  margin: 0 0 16px;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 51, 43, 0.18);
  color: var(--paper);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.15em;
  font-family: var(--font-mincho);
  border: 1px solid rgba(200, 51, 43, 0.4);
  transition: all 0.2s;
}
.footer-cta:hover { background: var(--shu); }
.footer-links {
  list-style: none;
  padding: 0; margin: 0;
}
.footer-links li {
  font-size: 12px;
  margin-bottom: 8px;
}
.footer-links a {
  color: var(--paper);
  text-decoration: none;
  opacity: 0.75;
  transition: all 0.2s;
}
.footer-links a:hover { color: var(--kin); opacity: 1; }
.footer-bottom {
  text-align: center;
  font-size: 11px;
  color: var(--gray);
  padding: 20px 24px 0;
  border-top: 1px solid rgba(212, 164, 55, 0.12);
  max-width: 1080px;
  margin: 0 auto;
}

/* Calendar tweaks */
.month-year {
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 0.15em;
}
.fest-empty {
  padding: 20px;
  text-align: center;
  color: var(--gray);
  font-size: 12px;
}

/* ========== Light mode ========== */
body[data-theme="light"] {
  background: #f5f1ea;
  color: #2a201c;
}
body[data-theme="light"] .site-header {
  background: rgba(245, 241, 234, 0.96);
  border-bottom: 1px solid rgba(140, 31, 26, 0.18);
}
body[data-theme="light"] .brand-name { color: #2a201c; }
body[data-theme="light"] .brand { color: #8c1f1a; }
body[data-theme="light"] .brand-sub { color: #8c1f1a; }
body[data-theme="light"] .tab { color: #2a201c; }
body[data-theme="light"] .tab.active {
  color: #8c1f1a;
  border-color: rgba(140, 31, 26, 0.4);
  background: rgba(140, 31, 26, 0.06);
}
body[data-theme="light"] .lang-toggle,
body[data-theme="light"] .theme-toggle {
  border-color: rgba(140, 31, 26, 0.3);
  color: #8c1f1a;
}
body[data-theme="light"] .hero-eyebrow,
body[data-theme="light"] .stat-label,
body[data-theme="light"] .cat-title {
  color: #8c1f1a;
}
body[data-theme="light"] .hero-title { color: #1a1411; }
body[data-theme="light"] .hero-line-2 { color: #c8332b; }
body[data-theme="light"] .hero-line-3 { color: #8c1f1a; }
body[data-theme="light"] .stat-num { color: #8c1f1a; }
body[data-theme="light"] .hero-lede,
body[data-theme="light"] .hero-note { color: #44382f; }
body[data-theme="light"] .cta-primary {
  background: #8c1f1a;
  color: #f5f1ea;
}
body[data-theme="light"] .cta-secondary {
  background: transparent;
  color: #8c1f1a;
  border-color: #8c1f1a;
}
body[data-theme="light"] .cat-card {
  background: #ffffff;
  border-color: rgba(140, 31, 26, 0.2);
  color: #1a1411;
}
body[data-theme="light"] .cat-card h3 { color: #1a1411; }
body[data-theme="light"] .cat-card p { color: #44382f; }
body[data-theme="light"] .hero-this-month {
  background: rgba(255,255,255,0.6);
  border-color: rgba(140, 31, 26, 0.2);
}
body[data-theme="light"] .tm-header h3 { color: #1a1411; }
body[data-theme="light"] .tm-sub { color: #8c1f1a; }
body[data-theme="light"] .tm-card {
  background: #ffffff;
  border-color: rgba(140, 31, 26, 0.15);
}
body[data-theme="light"] .tm-name { color: #1a1411; }
body[data-theme="light"] .tm-place { color: #6a5d54; }
body[data-theme="light"] .map-sidebar {
  background: rgba(255, 255, 255, 0.97);
  border-right: 1px solid rgba(140, 31, 26, 0.15);
  color: #1a1411;
}
body[data-theme="light"] .filter-label { color: #8c1f1a; }
body[data-theme="light"] .search-input {
  background: #f5f1ea;
  border-color: rgba(140, 31, 26, 0.2);
  color: #1a1411;
}
body[data-theme="light"] .cat-chip {
  background: #ffffff;
  border-color: rgba(140, 31, 26, 0.2);
  color: #1a1411;
}
body[data-theme="light"] .cat-chip.active {
  background: #8c1f1a;
  color: #f5f1ea;
  border-color: #8c1f1a;
}
body[data-theme="light"] .result-item {
  background: #ffffff;
  border-color: rgba(140, 31, 26, 0.12);
  color: #1a1411;
}
body[data-theme="light"] .ri-name { color: #1a1411; }
body[data-theme="light"] .ri-meta { color: #6a5d54; }
body[data-theme="light"] .month-block {
  background: #ffffff;
  border-color: rgba(140, 31, 26, 0.15);
}
body[data-theme="light"] .month-name { color: #1a1411; }
body[data-theme="light"] .fest-item { background: #f5f1ea; }
body[data-theme="light"] .fest-name { color: #1a1411; }
body[data-theme="light"] .fest-place { color: #6a5d54; }
body[data-theme="light"] .list-card {
  background: #ffffff;
  border-color: rgba(140, 31, 26, 0.15);
}
body[data-theme="light"] .lc-name { color: #1a1411; }
body[data-theme="light"] .lc-summary { color: #44382f; }
body[data-theme="light"] .lc-place { color: #6a5d54; }
body[data-theme="light"] .modal-content {
  background: #f5f1ea;
  color: #1a1411;
}
body[data-theme="light"] .modal-backdrop {
  background: rgba(245, 241, 234, 0.85);
}
body[data-theme="light"] .m-name { color: #1a1411; }
body[data-theme="light"] .m-summary { color: #44382f; }
body[data-theme="light"] .m-h { color: #8c1f1a; }
body[data-theme="light"] .ml { color: #8c1f1a; }
body[data-theme="light"] .mv { color: #1a1411; }
body[data-theme="light"] .m-meta-item { background: #ffffff; }
body[data-theme="light"] .m-link {
  background: #ffffff;
  border-color: rgba(140, 31, 26, 0.2);
  color: #1a1411;
}
body[data-theme="light"] .visit-btn { color: #1a1411; }
body[data-theme="light"] .route-card {
  background: #ffffff;
  border-color: rgba(140, 31, 26, 0.15);
  color: #1a1411;
}
body[data-theme="light"] .route-title { color: #1a1411; }
body[data-theme="light"] .route-desc { color: #44382f; }
body[data-theme="light"] .route-stops li { color: #1a1411; }
body[data-theme="light"] .routes-title { color: #1a1411; }
body[data-theme="light"] .footer-col p { color: #44382f; }
body[data-theme="light"] .footer-links a { color: #1a1411; }
body[data-theme="light"] .site-footer { background: rgba(255,255,255,0.6); border-top: 1px solid rgba(140, 31, 26, 0.15); }

/* ========== Mobile optimizations ========== */
@media (max-width: 768px) {
  .site-header { padding: 0 12px; gap: 8px; height: 56px; }
  .brand-text { display: none; }
  .tabs { gap: 0; flex: 1; justify-content: space-around; }
  .tab { padding: 6px 8px; font-size: 11px; flex-direction: column; gap: 2px; }
  .tab i { font-size: 16px; }
  .tab span { font-size: 10px; letter-spacing: 0.05em; }
  .header-actions { margin-left: 0; }
  .lang-toggle, .theme-toggle { width: 32px; height: 32px; }
  .lang-toggle { padding: 0 8px; font-size: 10px; }

  .hero-inner { padding: calc(var(--header-h) + 24px) 16px 40px; }
  .hero-title { font-size: 32px !important; line-height: 1.4; }
  .hero-line-1, .hero-line-2, .hero-line-3 { font-size: 28px !important; }
  .hero-lede { font-size: 13px; }
  .hero-stats { flex-wrap: wrap; gap: 10px; }
  .stat-divider { display: none; }
  .hero-cta { flex-wrap: wrap; }
  .cta-primary, .cta-secondary { font-size: 12px; padding: 10px 18px; }

  .hero-this-month { padding: 24px 16px; margin: 32px 8px; }
  .tm-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tm-photo, .tm-photo-placeholder { height: 90px; }
  .tm-name { font-size: 12px; }

  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card { padding: 18px 14px; }
  .cat-card h3 { font-size: 13px; }
  .cat-card p { font-size: 11px; }

  .map-sidebar {
    position: fixed;
    top: var(--header-h); left: 0; bottom: 0;
    width: 86%;
    max-width: 320px;
    transform: translateX(-100%);
    transition: transform 0.3s;
    z-index: 50;
    box-shadow: var(--shadow-2);
  }
  .map-sidebar.open { transform: translateX(0); }
  .sidebar-toggle { display: flex !important; }

  .cal-grid { grid-template-columns: 1fr; gap: 16px; }
  .month-block { padding: 18px; }

  .list-grid { grid-template-columns: 1fr; gap: 14px; padding: 0 8px; }
  .lc-photo { height: 180px; }

  .routes-grid { grid-template-columns: 1fr; }
  .view-routes { padding: calc(var(--header-h) + 24px) 12px 60px; }

  .modal-content {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    padding: 24px 20px 24px;
  }
  .m-photo { margin: -24px -20px 16px; max-height: 220px; }
  .m-photo img { max-height: 220px; }
  .m-meta-grid { grid-template-columns: 1fr; }
  .m-name { font-size: 22px; }

  .footer-cols { grid-template-columns: 1fr; gap: 24px; padding: 24px 16px 0; }
}

@media (max-width: 480px) {
  .hero-line-1, .hero-line-2, .hero-line-3 { font-size: 22px !important; }
  .stat-num { font-size: 28px !important; }
  .tm-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
}

/* Reduce motion accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Light mode Hero background override */
body[data-theme="light"] .view-hero {
  background:
    radial-gradient(ellipse at top, rgba(140, 31, 26, 0.08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(212, 164, 55, 0.12), transparent 50%),
    #f5f1ea;
}
body[data-theme="light"] .view-hero::after {
  background: radial-gradient(ellipse at center, transparent 0%, rgba(245, 241, 234, 0.6) 70%);
}
body[data-theme="light"] .view-calendar { background: #f5f1ea; }
body[data-theme="light"] #map { filter: none; }
body[data-theme="light"] .view-list { background: #f5f1ea; }
body[data-theme="light"] .view-routes { background: #f5f1ea; }
body[data-theme="light"] .hero-categories { color: #1a1411; }
body[data-theme="light"] .cal-title { color: #1a1411; }
body[data-theme="light"] .cal-sub { color: #8c1f1a; }
body[data-theme="light"] .list-title { color: #1a1411; }
body[data-theme="light"] .list-tab { color: #1a1411; }
body[data-theme="light"] .list-tab.active {
  background: #8c1f1a; color: #f5f1ea;
}
body[data-theme="light"] .lc-cat { color: #8c1f1a; }
body[data-theme="light"] .lc-difficulty { color: #d4a437; }
body[data-theme="light"] .lc-kana { color: #6a5d54; }
body[data-theme="light"] .stat-divider { background: rgba(140, 31, 26, 0.3); }
body[data-theme="light"] .layer-toggle label { color: #1a1411; }
body[data-theme="light"] .month-num { color: #8c1f1a; }
body[data-theme="light"] .month-count { color: #6a5d54; }
body[data-theme="light"] .fest-date { color: #8c1f1a; }
body[data-theme="light"] .fest-tag { color: #d4a437; }
body[data-theme="light"] .modal-content { box-shadow: 0 20px 60px rgba(0,0,0,0.25); border: 1px solid rgba(140, 31, 26, 0.15); }
body[data-theme="light"] .m-cat { color: #8c1f1a; }
body[data-theme="light"] .m-kana { color: #6a5d54; }
body[data-theme="light"] .m-warn {
  background: rgba(200, 51, 43, 0.08);
  color: #44382f;
  border-left: 3px solid #c8332b;
}
body[data-theme="light"] .modal-close {
  background: rgba(0,0,0,0.05);
  color: #1a1411;
}
body[data-theme="light"] .visit-btn {
  border-color: rgba(140, 31, 26, 0.3);
  color: #1a1411;
}
body[data-theme="light"] .visit-btn.active {
  background: rgba(212, 164, 55, 0.18);
  color: #8c1f1a;
  border-color: #d4a437;
}
body[data-theme="light"] .m-photo-credit { background: rgba(245, 241, 234, 0.92); color: #2a201c; }
body[data-theme="light"] .route-meta { color: #8c1f1a; }
body[data-theme="light"] .route-stops li { border-bottom-color: rgba(140, 31, 26, 0.15); }
body[data-theme="light"] .route-glyph { color: #d4a437; opacity: 0.18; }
body[data-theme="light"] .footer-col h4 { color: #8c1f1a; }
body[data-theme="light"] .footer-bottom { color: #6a5d54; }
