:root {
  --ink: #18181b;
  --ink-soft: #3f3f46;
  --ink-muted: #71717a;
  --paper: #ffffff;
  --page-bg: #fffdf5;

  /* キャラ切替で動的に変わるテーマ変数（初期値：ポケモン） */
  --theme-primary: #ffcb05;
  --theme-secondary: #2a75bb;
  --theme-surface: #fffbeb;
  --theme-badge-bg: #fef08a;
  --theme-badge-ink: #713f12;
  --theme-on-primary: #18181b;
  --theme-pattern: rgba(42, 117, 187, 0.08);

  --border-w: 2.5px;
  --shadow-hard: 4px 4px 0 var(--ink);
  --shadow-hard-sm: 3px 3px 0 var(--ink);
  --font-jp: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Fredoka", "Arial Rounded MT Bold", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background-color: var(--page-bg);
  line-height: 1.65;
  overflow-x: clip;
  transition: background-color 0.25s ease;
}

/* キャラごとの背景パターン */
body[data-pattern="dots"] {
  background-image: radial-gradient(var(--theme-pattern) 2px, transparent 2px);
  background-size: 22px 22px;
}

body[data-pattern="grid"] {
  background-image:
    linear-gradient(var(--theme-pattern) 1px, transparent 1px),
    linear-gradient(90deg, var(--theme-pattern) 1px, transparent 1px);
  background-size: 28px 28px;
}

body[data-pattern="stripes"] {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 16px,
    var(--theme-pattern) 16px,
    var(--theme-pattern) 20px
  );
}

body[data-pattern="checker"] {
  background-image:
    linear-gradient(45deg, var(--theme-pattern) 25%, transparent 25%),
    linear-gradient(-45deg, var(--theme-pattern) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--theme-pattern) 75%),
    linear-gradient(-45deg, transparent 75%, var(--theme-pattern) 75%);
  background-size: 32px 32px;
  background-position: 0 0, 0 16px, 16px -16px, -16px 0;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: var(--border-w) solid var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 10px;
  background: var(--theme-primary);
  color: var(--theme-on-primary);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mode-switch {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: #f4f4f5;
}

.lang-link {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1.3;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.lang-link:hover {
  color: var(--ink);
}

.lang-link.is-on {
  background: var(--ink);
  color: #ffffff;
}

.mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.15s ease;
}

.mode-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.mode-btn.active {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 2px 2px 0 var(--theme-primary);
}

.mylist-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ff3b5c;
  color: #ffffff;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ===== Character Wall (TOP 15 Selector) ===== */
.selector-band {
  padding: 24px 0 22px;
  background: var(--paper);
  border-bottom: var(--border-w) solid var(--ink);
}

.selector-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.rank-kicker {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--theme-secondary);
  margin-bottom: 2px;
}

.selector-title {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
}

.selector-caption {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-soft);
  max-width: 440px;
}

.char-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.char-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 12px 13px 16px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease;
  overflow: hidden;
}

.char-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: var(--tile-color);
}

.char-tile:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard-sm);
}

.char-tile.active {
  background: var(--tile-color);
  color: var(--tile-on);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
}

.char-tile.active::before {
  background: var(--ink);
}

.char-tile-rank {
  flex: 0 0 auto;
  margin-left: 4px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--font-en);
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.char-tile.active .char-tile-rank {
  background: var(--paper);
  color: var(--ink);
}

.char-tile-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.char-tile-name {
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.char-tile-meta {
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.72;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== AdSense Slots ===== */
.ad-slot-wrap {
  margin-top: 20px;
}

.ad-slot-box {
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px dashed rgba(24, 24, 27, 0.2);
  border-radius: 14px;
  padding: 10px 12px 12px;
  text-align: center;
  min-height: 100px;
}

.ad-slot-infeed {
  margin: 0 0 28px;
}

.ad-slot-label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

/* ===== Main Stage ===== */
.stage-container {
  padding-top: 28px;
  padding-bottom: 48px;
}

/* Character Feature Banner */
.ip-stage-banner {
  position: relative;
  border-radius: 24px;
  border: var(--border-w) solid var(--ink);
  background: var(--theme-primary);
  color: var(--theme-on-primary);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 28px 30px;
  margin-bottom: 28px;
  overflow: hidden;
}

.ip-stage-emblem {
  position: absolute;
  right: -12px;
  bottom: -18px;
  width: 220px;
  height: 220px;
  opacity: 0.16;
  pointer-events: none;
}

.ip-stage-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ip-rank-sticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--font-en);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.ip-stage-name {
  margin: 0 0 4px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
}

.ip-stage-en {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.82;
}

.ip-stage-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-pop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-pop:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.ip-stage-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  align-items: end;
}

.ip-stage-tagline {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
}

.ip-stage-summary {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.92;
}

.ip-fact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ip-fact-pill {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

/* Prev / Next Character Bar */
.ip-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 2px dashed rgba(24, 24, 27, 0.25);
}

/* Section Labels inside Character Stage */
.stage-block {
  margin-bottom: 30px;
}

.stage-block-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.stage-block-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.stage-block-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
}

/* ===== 1. Ticket-Style Limited Event Cards ===== */
.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ticket-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.ticket-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.ticket-stub {
  position: relative;
  background: var(--theme-secondary);
  color: #ffffff;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 3px dashed var(--ink);
}

.ticket-status-stamp {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 900;
  border: 2px solid var(--ink);
  background: #ffde00;
  color: var(--ink);
  transform: rotate(-2deg);
}

.ticket-status-stamp.ongoing {
  background: #ff3b5c;
  color: #ffffff;
}

.ticket-dates {
  margin-top: 12px;
}

.ticket-date-label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.ticket-date-main {
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.ticket-pref {
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.ticket-body {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ticket-body-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.ticket-title {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1.35;
}

.ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.ticket-highlights {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.ticket-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 2px solid #f4f4f5;
}

/* ===== 2. Permanent Spots (Guidebook Plates) ===== */
.spots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.spot-plate {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow-hard-sm);
  overflow: hidden;
}

.spot-plate-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px;
  background: var(--theme-surface);
  border-bottom: 2px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.spot-plate-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.spot-title {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.35;
}

.spot-venue {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.spot-desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
  flex: 1;
}

.spot-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 2px solid #f4f4f5;
  font-size: 0.8rem;
}

/* ===== 3. Annual Events (12-Month Strip) ===== */
.annual-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.annual-card {
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-hard-sm);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.annual-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.annual-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
}

.month-strip {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}

.month-cell {
  text-align: center;
  padding: 4px 0;
  border-radius: 6px;
  border: 1.5px solid #e4e4e7;
  background: #fafafa;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.month-cell.active {
  background: var(--theme-primary);
  color: var(--theme-on-primary);
  border-color: var(--ink);
}

/* Common Interactive Controls */
.go-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.14s ease;
}

.go-btn:hover {
  transform: translateY(-1px);
  background: #fff1f2;
}

.go-btn.active {
  background: #ff3b5c;
  color: #ffffff;
}

.reserve-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  background: #f4f4f5;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
}

.reserve-pill.must {
  background: #ffe4e6;
  color: #be123c;
}

.card-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.area-guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 8px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, background-color 0.14s ease;
}

.area-guide-btn:hover {
  transform: translateY(-1px);
  background: var(--theme-surface);
}

/* ===== Area Guide Modal ===== */
.area-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(24, 24, 27, 0.58);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.area-modal {
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 0;
  overflow-x: hidden;
}

.area-modal-hero {
  position: relative;
  background: var(--theme-primary);
  color: var(--theme-on-primary);
  padding: 20px 24px 18px;
  border-bottom: 2.5px solid var(--ink);
  overflow: hidden;
}

.area-modal-hero-bg {
  position: absolute;
  right: 12px;
  bottom: -14px;
  width: 150px;
  height: 110px;
  opacity: 0.16;
  pointer-events: none;
}

.area-modal-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.area-modal-kicker {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.area-modal-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.25;
}

.area-modal-close {
  flex: 0 0 auto;
  padding: 5px 12px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.area-modal-close:hover {
  background: var(--ink);
  color: #ffffff;
}

.area-quick-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.map-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 2px 2px 0 var(--ink);
}

.map-chip-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}

.modal-tabs {
  display: flex;
  gap: 6px;
  padding: 12px 20px 0;
  background: #fafafa;
  border-bottom: 2px solid var(--ink);
}

.modal-tab {
  flex: 1 1 0;
  padding: 9px 10px;
  border: 2px solid transparent;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  background: transparent;
  color: var(--ink-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.12s ease, background-color 0.12s ease;
}

.modal-tab:hover {
  color: var(--ink);
}

.modal-tab.active {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
  margin-bottom: -2px;
  padding-bottom: 11px;
}

.area-modal-body {
  padding: 18px 22px 22px;
}

.area-modal-block {
  margin-bottom: 16px;
}

.area-modal-label {
  margin: 0 0 8px;
  font-size: 0.84rem;
  font-weight: 900;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.area-modal-text {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.6;
  background: #f9fafb;
  border: 1.5px solid #e4e4e7;
  border-radius: 12px;
  padding: 10px 14px;
}

.area-restaurant-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.area-restaurant-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  background: #ffffff;
  box-shadow: 3px 3px 0 var(--ink);
}

.area-restaurant-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gourmet-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  background: var(--theme-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.area-restaurant-name {
  font-size: 0.86rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.3;
}

.area-restaurant-genre {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--theme-surface);
  color: var(--ink-soft);
  border: 1px solid rgba(24, 24, 27, 0.2);
}

.area-restaurant-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.booking-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  background: var(--theme-surface);
  text-decoration: none;
  color: var(--ink);
  min-height: 82px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.booking-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.booking-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.booking-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
}

.booking-service {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink-muted);
}

.booking-label {
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.booking-disclosure {
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.nearby-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nearby-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1.5px solid #e4e4e7;
  background: #ffffff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}

.nearby-item:hover {
  border-color: var(--ink);
  background: var(--theme-surface);
}

.nearby-item-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
}

.nearby-item-ip {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f4f4f5;
  color: var(--ink-soft);
}

.official-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 8px;
  border: 2px solid var(--ink);
  background: var(--theme-primary);
  color: var(--theme-on-primary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.official-cta:hover {
  filter: brightness(0.95);
}

/* ===== Timeline / All Events Mode ===== */
.timeline-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-hard-sm);
  padding: 14px 16px;
  margin-bottom: 24px;
}

.timeline-search {
  flex: 1 1 240px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
}

.timeline-select {
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 800;
}

.timeline-group {
  margin-bottom: 30px;
}

.timeline-group-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 900;
}

.ip-inline-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 6px;
  border: 1.5px solid var(--ink);
  background: var(--chip-bg, #ffde00);
  color: var(--chip-ink, #18181b);
  font-size: 0.74rem;
  font-weight: 900;
  margin-bottom: 4px;
}

/* ===== Empty State ===== */
.empty-box {
  background: var(--paper);
  border: var(--border-w) solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow-hard-sm);
  padding: 44px 20px;
  text-align: center;
}

.empty-box h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 900;
}

.empty-box p {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ===== Footer Guide & FAQ (Compact) ===== */
.guide-footer-box {
  margin-top: 8px;
  margin-bottom: 24px;
  padding: 14px 20px 8px;
  border-top: 1px dashed rgba(24, 24, 27, 0.18);
  color: var(--ink-muted);
}

.guide-heading {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.guide-note {
  margin: 0 0 8px;
  font-size: 0.74rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border-bottom: 1px solid rgba(24, 24, 27, 0.08);
  padding: 5px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  font-weight: 600;
  font-size: 0.76rem;
  color: var(--ink-muted);
  cursor: pointer;
}

.faq-item p {
  margin: 4px 0 2px;
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ===== Site Footer ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 28px 0;
  font-size: 0.8rem;
  text-align: center;
}

.footer-brand {
  margin: 0 0 4px;
  font-weight: 800;
  color: #ffffff;
}

.footer-disclaimer {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.58);
}

.footer-copy {
  margin: 0;
  font-family: var(--font-en);
  color: rgba(255, 255, 255, 0.45);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .char-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .ip-stage-body {
    grid-template-columns: 1fr;
  }

  .ip-fact-strip {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 14px;
  }

  .char-wall {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
    gap: 8px;
  }

  .char-tile {
    flex: 0 0 164px;
  }

  .ip-stage-banner {
    padding: 20px 18px;
  }

  .ticket-card {
    grid-template-columns: 1fr;
  }

  .ticket-stub {
    border-right: none;
    border-bottom: 3px dashed var(--ink);
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 16px;
  }

  .ticket-dates,
  .ticket-pref {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .month-strip {
    grid-template-columns: repeat(6, 1fr);
  }
}
