/* 博物館マップ — modern design system */
:root {
  --bg: #eef1f6;
  --bg-panel: #ffffff;
  --bg-header: #0f172a;
  --bg-header-2: #1e293b;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-on-dark: #f8fafc;
  --accent: #f59e0b;
  --accent-2: #fbbf24;
  --accent-glow: rgba(245, 158, 11, 0.35);
  --link: #2563eb;
  --link-hover: #1d4ed8;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
  --font: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --max: 1200px;
  --header-h: auto;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 158, 11, 0.12), transparent),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--link); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--link-hover); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, var(--bg-header) 0%, var(--bg-header-2) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-on-dark);
  text-decoration: none;
  flex: 1 1 200px;
  min-width: 0;
}
.site-brand:hover { color: var(--accent-2); }

.site-brand__mark {
  font-size: 1.75rem;
  line-height: 1;
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

.site-brand__text { display: flex; flex-direction: column; min-width: 0; }
.site-brand__title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-brand__sub {
  font-size: 0.75rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lottery-widget {
  flex: 1 1 220px;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  backdrop-filter: blur(8px);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}
a.lottery-widget:hover {
  border-color: var(--accent-2);
  background: rgba(255, 255, 255, 0.1);
}
.lottery-widget__label {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
  margin-bottom: 0.15rem;
}
.lottery-widget__count {
  display: block;
  font-size: 0.85rem;
  color: var(--text-on-dark);
  margin-bottom: 0.5rem;
}
.lottery-widget__count strong {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent-2);
  margin: 0 0.15rem;
}
.lottery-widget__track {
  display: block;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  overflow: hidden;
}
.lottery-widget__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 99px;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px var(--accent-glow);
}

.site-header__partner {
  flex: 0 0 auto;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.site-header__partner:hover { opacity: 1; }
.site-header__partner img { display: block; height: 36px; width: auto; }

/* Body layout */
.site-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--link); }

.page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .page-grid {
    grid-template-columns: 1fr 300px;
  }
}

.page-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.content-panel {
  background: var(--bg-panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.content-panel--reviews {
  scroll-margin-top: 5rem;
}

/* Typography */
h1, h2, h3, h4, h5 {
  margin: 0 0 1rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text);
}

h2 {
  font-size: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

h3 { font-size: 1.05rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

/* Hero (top page) */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1a1a2e 100%);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-lg);
  margin-bottom: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.25), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.15), transparent 35%);
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.75rem;
}

.hero__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  border: none;
  padding: 0;
  color: inherit;
}

.hero__lead {
  font-size: 1rem;
  color: #cbd5e1;
  max-width: 36em;
  margin-bottom: 1.5rem;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  min-width: 120px;
}
.stat-pill__value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent-2);
  line-height: 1;
}
.stat-pill__label {
  font-size: 0.72rem;
  color: #94a3b8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.25rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #ea580c);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn--primary:hover { color: #fff; box-shadow: 0 8px 28px var(--accent-glow); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.18); }

.btn--block { width: 100%; }

/* Review feed */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.section-title h2 { margin: 0; border: none; padding: 0; }

.review-feed {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.review-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  padding: 1rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.review-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.review-card__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  grid-row: span 2;
  align-self: center;
  padding: 0.35rem 0.5rem;
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.review-card__body {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}
.review-card__body a { font-weight: 500; }
.review-card__author { font-weight: 700; color: var(--link); }
.review-card__facility { font-weight: 700; }

/* Facility detail */
.facility-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.facility-header h2 {
  margin: 0;
  border: none;
  padding: 0;
  font-size: 1.4rem;
  flex: 1;
}

.data-grid {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.data-grid__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  border-bottom: 1px solid var(--border);
}
.data-grid__row:last-child { border-bottom: none; }
.data-grid__label {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #f8fafc;
  border-right: 1px solid var(--border);
}
.data-grid__value {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .data-grid__row { grid-template-columns: 1fr; }
  .data-grid__label { border-right: none; border-bottom: 1px solid var(--border); }
}

/* Facility list */
.facility-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.facility-list a {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s;
}
.facility-list a:hover {
  background: #fff;
  border-color: var(--link);
  color: var(--link);
}

/* Tables (junle list) */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); }

table.ichiran {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.ichiran th {
  background: #f1f5f9;
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
table.ichiran td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
}
table.ichiran tr:last-child td { border-bottom: none; }
table.ichiran tr:hover td { background: #f8fafc; }

/* Reviews on facility page */
.review-list .hako.review h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.35rem;
  padding: 0;
  background: none;
  line-height: 1.5;
}
.review-list .hako.review p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-left: 0;
}
.review-list .hako.review p:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

/* Facility page: reviews → submit form */
.content-panel--reviews .review-submit {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
  scroll-margin-top: 5rem;
}

.content-panel--reviews .review-submit > h2 {
  margin-bottom: 1.25rem;
}

.content-panel--reviews .review-submit form {
  margin-top: 0.5rem;
}

.content-panel--reviews .review-submit .review-rules {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.content-panel--reviews .review-submit .review-rules h3 {
  margin-top: 0;
}

/* Forms */
.mailform, #submit_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.mailform td, #submit_table td,
.mailform th, #submit_table th {
  display: block;
  padding: 0.5rem 0;
  border: none;
  font-size: 0.9rem;
}
.mailform .midashi, #submit_table .midashi {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: left;
  padding-bottom: 0.25rem;
}
.mailform .midashi label,
#submit_table .midashi label {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.mailform .midashi--submit,
#submit_table .midashi--submit {
  padding-top: 0.75rem;
}
.form-hint {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mailform input[type="text"],
.mailform input[type="email"],
.mailform textarea,
.mailform select,
#submit_table input[type="text"],
#submit_table textarea,
#submit_table select {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.mailform input:focus,
.mailform textarea:focus,
.mailform select:focus,
#submit_table input:focus,
#submit_table textarea:focus,
#submit_table select:focus {
  outline: none;
  border-color: var(--link);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.mailform input[type="submit"],
#submit_table input[type="submit"] {
  width: auto;
  min-width: 160px;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--link), #1d4ed8);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  margin-top: 0.5rem;
}
.mailform input[type="submit"]:hover,
#submit_table input[type="submit"]:hover {
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

@media (min-width: 640px) {
  .mailform tr, #submit_table tr {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.5rem 1rem;
    align-items: start;
    margin-bottom: 0.75rem;
  }
  .mailform td, #submit_table td { display: block; padding: 0.35rem 0; }
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.sidebar-card--cta {
  background: linear-gradient(145deg, #fffbeb, #fff);
  border-color: rgba(245, 158, 11, 0.3);
}
.sidebar-card__title {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  border: none;
  padding: 0;
}
.sidebar-card__lead {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.sidebar-card p { font-size: 0.85rem; color: var(--text-muted); }
.sidebar-card__banner { border-radius: var(--radius-sm); width: 100%; }

.map-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  line-height: 0;
}
.map-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.pref-regions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.15rem;
  scrollbar-width: thin;
}

.pref-region {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.pref-region__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.pref-region__name::-webkit-details-marker { display: none; }

.pref-region__name::after {
  content: "＋";
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pref-region[open] > .pref-region__name {
  color: var(--link);
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.pref-region[open] > .pref-region__name::after {
  content: "－";
}

.pref-grid--region {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0.55rem;
}

.pref-grid--sidebar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.pref-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.pref-chip:hover {
  background: var(--link);
  border-color: var(--link);
  color: #fff;
  transform: translateY(-1px);
}

.sidebar-card--pref {
  scroll-margin-top: 5rem;
}

@media (min-width: 960px) {
  .pref-grid--region {
    grid-template-columns: repeat(2, 1fr);
  }
  .pref-chip { font-size: 0.82rem; min-height: 2.4rem; }
}

.genre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.genre-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.genre-card:hover { transform: translateY(-2px); color: var(--text); }
.genre-card__icon { font-size: 1.5rem; }
.genre-card--museum { background: linear-gradient(145deg, #fef3c7, #fde68a); }
.genre-card--aquarium { background: linear-gradient(145deg, #cffafe, #a5f3fc); }
.genre-card--zoo { background: linear-gradient(145deg, #dcfce7, #bbf7d0); }
.genre-card--art { background: linear-gradient(145deg, #fce7f3, #fbcfe8); }

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2rem 1.25rem;
  background: var(--bg-header);
  color: #94a3b8;
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.25rem;
}
.footer-nav a {
  color: #cbd5e1;
  font-size: 0.85rem;
}
.footer-nav a:hover { color: var(--accent-2); }

.pref-picker {
  margin-bottom: 1rem;
  font-size: 0.85rem;
}
.pref-picker summary {
  cursor: pointer;
  color: #cbd5e1;
  font-weight: 500;
  padding: 0.5rem 0;
}
.pref-picker__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  margin-top: 0.75rem;
  line-height: 1.8;
}
.pref-picker__list a {
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 0.15rem 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.pref-picker__list a:hover { color: var(--accent-2); background: rgba(255, 255, 255, 0.1); }

.site-footer__copy {
  font-size: 0.75rem;
  margin: 0;
  color: #64748b;
}
.site-footer__copy a { color: #94a3b8; }

.highlight { color: #dc2626; font-weight: 700; }

.review-card__meta {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8em;
}


/* Empty state */
.empty-note {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
}

body.page-home .site-brand__sub { display: none; }

/* 都道府県一覧ページ */
body.page-prefs .page-grid {
  grid-template-columns: 1fr;
}
body.page-prefs .sidebar {
  display: none;
}

.prefs-page__lead {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.prefs-board {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .prefs-board {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .prefs-board {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .prefs-board {
    grid-template-columns: repeat(4, 1fr);
  }
}

.prefs-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1rem 0.85rem;
  height: 100%;
}

.prefs-block__title {
  margin: 0 0 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.pref-grid--board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

@media (min-width: 480px) {
  .pref-grid--board {
    grid-template-columns: repeat(3, 1fr);
  }
}

.prefs-block:only-child .pref-grid--board,
.prefs-block .pref-grid--board:has(.pref-chip:only-child) {
  grid-template-columns: 1fr;
}

/* Fossil campaign */
.panel-lead {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hero--compact {
  padding: 1.75rem 1.5rem;
}

.hero--compact .hero__title {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
}

.fossil-teaser__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}

@media (min-width: 600px) {
  .fossil-teaser__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fossil-teaser__item {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.fossil-teaser__icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.fossil-teaser__item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  border: none;
  padding: 0;
}

.fossil-teaser__item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.fossil-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fossil-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.fossil-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1e293b;
  font-weight: 900;
  font-size: 0.95rem;
}

.fossil-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  border: none;
  padding: 0;
}

.fossil-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.fossil-prize-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 700px) {
  .fossil-prize-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fossil-prize-card {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  height: 100%;
}

.fossil-prize-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 0.75rem;
  font-size: 2rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 50%;
}

.fossil-prize-card__img {
  display: block;
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
}

.fossil-prize-card__name {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  border: none;
  padding: 0;
}

.fossil-prize-card__desc {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.winner-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .winner-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.winner-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.winner-card__photo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.winner-card__body {
  min-width: 0;
}

.winner-card__meta {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.winner-card__name {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  border: none;
  padding: 0;
}

.winner-card__facility {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--link);
  font-weight: 600;
}

.winner-card__comment {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.content-panel--cta {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fcd34d;
}

body.page-fossil .fossil-teaser { display: none; }

.sidebar-card--cta .btn--ghost {
  margin-top: 0.5rem;
}
