:root {
  --bg-base: #0b162c;
  --card: rgba(249, 251, 255, 0.95);
  --card-border: rgba(186, 154, 78, 0.32);
  --text: #162238;
  --muted: #52637d;
  --accent: #1b4d89;
  --accent-dark: #10254a;
  --accent-soft: #eaf2fb;
  --crystal: #2d8fd5;
  --gold: #c99a3a;
  --gold-light: #edd699;
  --gold-bg: #fcf8ee;
  --font-serif: "Shippori Mincho", "Cinzel", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

[v-cloak] {
  display: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text);
  min-height: 100vh;
}

/* --- 画面全体の幻想背景スライドショー --- */
.bg-slideshow {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--bg-base);
}

.bg-slide {
  position: absolute;
  top: 0;
  left: -6%;
  width: 112%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
  animation: panHorizontal 26s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.bg-slide.active {
  opacity: 1;
}

.bg-slide.reverse {
  animation-direction: alternate-reverse;
}

@keyframes panHorizontal {
  0% {
    transform: translateX(-3%);
  }
  100% {
    transform: translateX(3%);
  }
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(11, 22, 44, 0.56) 0%,
    rgba(16, 37, 74, 0.28) 48%,
    rgba(11, 22, 44, 0.62) 100%
  );
  pointer-events: none;
}

/* --- ヘッダー（クリスタルインディゴ × ゴールドライン） --- */
header {
  position: relative;
  color: #f4f8ff;
  padding: 44px 16px 26px;
  text-align: center;
  background: linear-gradient(180deg, rgba(13, 28, 58, 0.88) 0%, rgba(22, 52, 98, 0.78) 100%);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid rgba(201, 154, 58, 0.6);
}

.header-kicker {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  border: 1px solid rgba(237, 214, 153, 0.45);
  border-radius: 999px;
  padding: 3px 13px;
  margin-bottom: 10px;
}

header h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.48rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

header p {
  margin: 8px 0 0;
  font-size: 0.83rem;
  opacity: 0.94;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.official-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.official-links a {
  color: #f4f8ff;
  text-decoration: none;
  font-size: 0.77rem;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(237, 214, 153, 0.45);
  padding: 6px 13px;
  border-radius: 20px;
  transition: background 0.15s, border-color 0.15s;
}

.official-links a:hover {
  background: rgba(45, 143, 213, 0.34);
  border-color: var(--gold-light);
}

.bg-switch {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(9, 19, 40, 0.58);
  color: #f4f8ff;
  border: 1px solid rgba(237, 214, 153, 0.42);
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 0.72rem;
  cursor: pointer;
  transition: background 0.15s;
}

.bg-switch:hover {
  background: rgba(9, 19, 40, 0.82);
}

/* --- メインコンテンツ --- */
main {
  max-width: 820px;
  margin: 22px auto 24px;
  padding: 0 12px;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 18px;
  box-shadow: 0 8px 28px rgba(8, 18, 38, 0.32);
  backdrop-filter: blur(6px);
}

.card h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--accent-dark);
  border-left: 4px solid var(--accent);
  box-shadow: inset 2px 0 0 0 var(--gold);
  padding-left: 10px;
  letter-spacing: 0.03em;
}

/* --- 読み込み・エラー表示 --- */
.state-banner {
  text-align: center;
  padding: 22px 14px;
  font-size: 0.88rem;
  color: var(--muted);
}

.state-banner.is-error {
  color: #991b1b;
  background: #fef2f2;
  border-radius: 10px;
}

.retry-btn {
  margin-top: 10px;
  padding: 7px 16px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: #fff;
  color: var(--accent);
  font-weight: bold;
  cursor: pointer;
}

/* --- 軸①：グッズ完売・再入荷ダッシュボード（主軸カード） --- */
.goods-dashboard-card {
  border-top: 3px solid var(--crystal);
}

.goods-dash-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.goods-dash-title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.goods-dash-header h2 {
  margin: 0;
}

.goods-dash-meta {
  font-size: 0.77rem;
  color: var(--muted);
}

.goods-official-link {
  display: inline-flex;
  align-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(27, 77, 137, 0.28);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.77rem;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.goods-official-link:hover {
  background: #dceafb;
  border-color: var(--accent);
}

.goods-summary-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid #cbd9ea;
  background: #ffffff;
  color: #293b55;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.summary-chip strong {
  font-size: 0.84rem;
}

.summary-chip:hover {
  border-color: var(--accent);
}

.summary-chip.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 2px 6px rgba(27, 77, 137, 0.28);
}

.summary-chip.chip-sold_out_permanent:not(.active) {
  border-color: #fecaca;
  background: #fff7f7;
}

.summary-chip.chip-out_of_stock_restock:not(.active) {
  border-color: #fed7aa;
  background: #fffaf3;
}

.summary-chip.chip-restocked:not(.active) {
  border-color: #bbf7d0;
  background: #f4fdf7;
}

.goods-search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.goods-search-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #c9d8ea;
  border-radius: 8px;
  font-size: 0.84rem;
  font-family: inherit;
  color: var(--text);
  background: #ffffff;
}

.goods-search-input:focus {
  outline: 2px solid rgba(45, 143, 213, 0.35);
  border-color: var(--crystal);
}

.goods-clear-btn {
  padding: 0 12px;
  border: 1px solid #c9d8ea;
  border-radius: 8px;
  background: #f2f6fb;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: bold;
  cursor: pointer;
}

.goods-notice {
  background: var(--gold-bg);
  border: 1px solid rgba(201, 154, 58, 0.34);
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 0.76rem;
  color: #4f4124;
  margin-bottom: 12px;
  line-height: 1.5;
}

.goods-empty-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.goods-preopen-banner {
  background: var(--accent-soft);
  border: 1px solid rgba(27, 77, 137, 0.24);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.84rem;
  color: var(--accent-dark);
}

.goods-preopen-banner p {
  margin: 6px 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #2b4263;
}

.goods-watch-points {
  background: #ffffff;
  border: 1px solid #dce6f2;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.8rem;
}

.watch-points-title {
  font-weight: bold;
  color: var(--accent-dark);
  margin-bottom: 6px;
}

.goods-watch-points ul {
  margin: 0 0 8px;
  padding-left: 18px;
  line-height: 1.6;
  color: #2c3e58;
}

.watch-points-caution {
  margin: 0;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.55;
}

.goods-group {
  margin-bottom: 14px;
}

.goods-group:last-of-type {
  margin-bottom: 8px;
}

.goods-group-title {
  font-size: 0.86rem;
  font-weight: bold;
  margin: 0 0 6px;
  color: var(--accent-dark);
}

.goods-group-sub {
  font-size: 0.73rem;
  color: var(--muted);
  margin: -2px 0 8px;
}

.goods-item {
  border-radius: 9px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid #dce6f2;
  background: #ffffff;
}

.goods-item.st-sold_out_permanent {
  background: #fef2f2;
  border-color: #fecaca;
}

.goods-item.st-out_of_stock_restock {
  background: #fff7ed;
  border-color: #fed7aa;
}

.goods-item.st-out_of_stock_unknown {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.goods-item.st-restocked {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.goods-item-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
}

.goods-item-name {
  font-weight: bold;
  font-size: 0.89rem;
  color: var(--text);
}

.goods-item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.g-pill {
  font-size: 0.68rem;
  font-weight: bold;
  padding: 2px 7px;
  border-radius: 999px;
}

.pill-mail {
  background: #dbeafe;
  color: #1e40af;
}

.pill-limit {
  background: #fef3c7;
  color: #92400e;
}

.goods-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 0.75rem;
  color: var(--muted);
}

.goods-item-meta a {
  color: var(--accent);
  text-decoration: underline;
}

.goods-item-note {
  margin-top: 6px;
  font-size: 0.77rem;
  color: #24364e;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 6px;
  padding: 5px 8px;
}

.goods-history {
  margin-top: 6px;
  font-size: 0.74rem;
  color: #465872;
}

.goods-history summary {
  cursor: pointer;
  color: var(--accent);
}

.goods-history ul {
  margin: 4px 0 0;
  padding-left: 16px;
}

.goods-dash-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #dce6f2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted);
}

.goods-dash-footer a {
  color: var(--accent);
  font-weight: bold;
  text-decoration: none;
}

.goods-dash-footer a:hover {
  text-decoration: underline;
}

.goods-state-msg {
  text-align: center;
  padding: 20px 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

/* --- 軸②：最新の入場・物販状況 --- */
.latest-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.latest-header-left {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.latest-header h2 {
  margin: 0;
}

.latest-updated {
  font-size: 0.78rem;
  color: var(--muted);
}

.timed-entry-badge {
  font-size: 0.74rem;
  font-weight: bold;
  color: var(--accent-dark);
  background: var(--gold-bg);
  border: 1px solid rgba(201, 154, 58, 0.45);
  border-radius: 999px;
  padding: 3px 11px;
}

.admission-status-pill {
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
  color: #0c4a6e;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.83rem;
  margin-bottom: 10px;
}

.latest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-box {
  background: linear-gradient(180deg, #f3f8ff 0%, #eaf2fb 100%);
  border: 1px solid rgba(27, 77, 137, 0.14);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.stat-val {
  font-size: 1.42rem;
  font-weight: bold;
  margin-top: 4px;
  color: var(--accent);
}

.slot-guide-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  margin-top: 10px;
  padding: 7px 11px;
  border-radius: 8px;
  background: #f5f8fc;
  border: 1px solid #dce6f2;
  font-size: 0.76rem;
  color: #2f435e;
}

.latest-estimate {
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.55;
  background: var(--gold-bg);
  border: 1px solid rgba(201, 154, 58, 0.35);
  color: #463718;
}

.latest-estimate.is-quiet {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.latest-estimate.is-preopen {
  background: var(--accent-soft);
  border-color: rgba(27, 77, 137, 0.24);
  color: var(--accent-dark);
}

/* --- 月別タブ --- */
.month-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 10px;
  min-height: 44px;
}

.month-tab {
  border: 1px solid #c9d8ea;
  background: #fff;
  color: #364b68;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.month-tab:hover {
  border-color: var(--accent);
}

.month-tab.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 2px 6px rgba(27, 77, 137, 0.25);
}

/* --- 混雑アイコン --- */
.crowd-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 0;
}

.crowd-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.crowd-icon.sm svg {
  width: 19px;
  height: 19px;
}

.crowd-icon.md svg {
  width: 24px;
  height: 24px;
}

/* --- 凡例 --- */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.74rem;
  color: var(--muted);
  margin-bottom: 10px;
  align-items: center;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.closed-chip {
  background: #e2eaf3;
  color: #5b6d85;
  font-size: 0.65rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
}

/* --- カレンダーグリッド --- */
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--muted);
  margin-bottom: 4px;
}

.cal-weekdays div:nth-child(6) {
  color: #1976d2;
}

.cal-weekdays div:nth-child(7) {
  color: #c80000;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  min-height: 350px;
}

.cal-empty {
  background: transparent;
}

.cal-cell {
  border: 1.5px solid #dce6f2;
  background: #fff;
  border-radius: 8px;
  padding: 5px 2px 6px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  color: inherit;
}

.cal-cell:hover {
  border-color: var(--gold);
}

.cal-cell.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 2px rgba(27, 77, 137, 0.2);
}

.cal-cell.closed {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #94a3b8;
}

.cal-cell.past {
  background: #f1f5f9;
  border-color: #e2e8f0;
  opacity: 0.68;
}

.cal-cell.past:hover {
  opacity: 0.9;
}

.cal-cell.past.active {
  opacity: 1;
  background: var(--accent-soft);
  border-color: var(--accent);
}

.cal-top {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  font-size: 0.76rem;
  font-weight: bold;
}

.cal-weather {
  font-size: 0.78rem;
  line-height: 1;
}

.cal-closed-label {
  font-size: 0.78rem;
  font-weight: bold;
  color: #94a3b8;
  margin: 6px 0;
}

.cal-min {
  font-size: 0.63rem;
  color: var(--muted);
}

.cal-badge {
  font-size: 0.57rem;
  font-weight: bold;
  padding: 1px 4px;
  border-radius: 4px;
  line-height: 1.25;
  white-space: nowrap;
  margin-top: 2px;
}

.badge-opening {
  background: #fce7f3;
  color: #9d174d;
}

.badge-special {
  background: #ede9fe;
  color: #5b21b6;
}

.badge-switch {
  background: #fef3c7;
  color: #92400e;
}

.badge-final {
  background: #fee2e2;
  color: #b91c1c;
}

.badge-night {
  background: #e0f2fe;
  color: #0369a1;
}

/* --- 詳細エリア --- */
.detail-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.detail-header h2 {
  margin: 0;
}

.view-toggle {
  display: inline-flex;
  background: #e4edf7;
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.view-btn {
  border: none;
  background: transparent;
  color: #415673;
  font-size: 0.78rem;
  font-weight: bold;
  padding: 5px 11px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.view-btn.active {
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 1px 3px rgba(16, 37, 74, 0.16);
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  align-items: center;
}

.weather-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.81rem;
  font-weight: bold;
}

.bonus-pill {
  display: inline-flex;
  align-items: center;
  background: #fef9e7;
  border: 1px solid #ecc96a;
  color: #6b4e11;
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 0.77rem;
  font-weight: bold;
}

.event-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 0.77rem;
  font-weight: bold;
}

.day-slots-box {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  background: #f3f7fc;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 0.78rem;
  color: #293e5c;
  margin-bottom: 10px;
}

.advice {
  background: var(--gold-bg);
  border-left: 4px solid var(--gold);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.87rem;
  line-height: 1.55;
  margin-bottom: 14px;
}

.advice.is-past {
  background: #f1f5f9;
  border-left-color: #64748b;
  color: #334155;
}

/* --- 時間帯別の予想レンジ（横棒）ビュー --- */
.range-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 4px 0 8px;
  min-height: 200px;
}

.range-row {
  display: grid;
  grid-template-columns: 56px 28px 1fr 94px;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 8px;
}

.range-row.is-now {
  background: #fef2f2;
  outline: 1.5px solid #fca5a5;
}

.range-hour {
  font-size: 0.85rem;
  font-weight: bold;
  color: #24364e;
  line-height: 1.25;
}

.slot-mini {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: normal;
  color: var(--muted);
  margin-left: 2px;
}

.now-tag {
  display: inline-block;
  font-size: 0.6rem;
  background: #c80000;
  color: #fff;
  padding: 1px 4px;
  border-radius: 3px;
  margin-top: 2px;
}

.range-track {
  position: relative;
  height: 14px;
  background: #e6eef7;
  border-radius: 999px;
  overflow: hidden;
}

.range-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  min-width: 10px;
  transition: width 0.3s ease, left 0.3s ease;
}

.range-text {
  font-size: 0.81rem;
  font-weight: bold;
  text-align: right;
  color: var(--text);
  line-height: 1.25;
}

.range-shop-sub {
  font-size: 0.67rem;
  font-weight: normal;
  color: #8a6417;
}

.range-note {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 8px;
}

.chart-wrap {
  position: relative;
  width: 100%;
}

.meta {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
  margin-top: 10px;
}

/* --- ガイド・FAQ --- */
.guide-text {
  font-size: 0.86rem;
  line-height: 1.75;
  color: #2b3e58;
  margin: 0 0 12px;
}

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

.faq-item {
  border: 1px solid #dce6f2;
  border-radius: 8px;
  background: #f6f9fd;
  padding: 8px 12px;
}

.faq-item summary {
  font-size: 0.86rem;
  font-weight: bold;
  color: var(--accent-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "＋";
  font-size: 0.9rem;
  color: var(--gold);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "－";
}

.faq-item p {
  margin: 8px 0 2px;
  font-size: 0.83rem;
  line-height: 1.68;
  color: #2b3e58;
}

/* --- 開発者応援カード（OFUSE） --- */
.support-card {
  text-align: center;
  padding: 16px;
}

.support-card p {
  margin: 0 0 12px;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
}

.ofuse-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, #2468b4 100%);
  color: #ffffff;
  font-weight: bold;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(237, 214, 153, 0.5);
  box-shadow: 0 3px 10px rgba(16, 37, 74, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.ofuse-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(16, 37, 74, 0.34);
}

.support-note {
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--muted);
}

/* --- フッター --- */
footer {
  max-width: 820px;
  margin: 0 auto 32px;
  padding: 14px 16px;
  text-align: center;
  font-size: 0.73rem;
  color: rgba(244, 248, 255, 0.92);
  background: rgba(16, 37, 74, 0.78);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(237, 214, 153, 0.3);
  border-radius: 10px;
  line-height: 1.75;
}

footer a {
  color: var(--gold-light);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-links {
  margin: 6px 0 0;
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.24rem;
  }
  .range-row {
    grid-template-columns: 48px 24px 1fr 82px;
    gap: 5px;
  }
  .range-text {
    font-size: 0.76rem;
  }
}
