:root {
  --ink: #f4f7ff;
  --muted: #a9b4ca;
  --paper: #08101d;
  --panel: rgba(16, 25, 43, .78);
  --line: rgba(255, 255, 255, .12);
  --cyan: #5de4ff;
  --rose: #ff8ab7;
  --gold: #f0c56d;
  --green: #06c755;
  --shadow: 0 28px 90px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(93, 228, 255, .12), transparent 30rem),
    radial-gradient(circle at 85% 20%, rgba(240, 197, 109, .10), transparent 28rem),
    linear-gradient(180deg, #07101d 0%, #0c1424 48%, #11101d 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  overflow-x: hidden;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

/* ==========================================================================
   Site Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 18px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(7, 13, 25, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  letter-spacing: .02em;
  margin-right: auto;
  text-decoration: none;
}
.brand span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1;
}
.brand strong {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  font-size: 24px;
  line-height: 1.25;
  color: #fff;
  display: block;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.site-header > nav:not(.stamp-subnav) {
  order: 2;
  margin-left: clamp(8px, 1.4vw, 18px);
}
.site-header .stamp-subnav {
  order: 3;
  flex-basis: 100%;
  justify-content: flex-start;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 4px;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  transition: all .18s ease;
  white-space: nowrap;
}
.site-header .stamp-subnav a {
  min-height: 32px;
  padding: 6px 10px;
  color: #94a3b8;
  font-size: 12px;
}

.site-header nav a:hover,
.site-header nav a.active {
  color: #fff;
  border-color: rgba(240, 197, 109, .45);
  background: rgba(240, 197, 109, .12);
}
.site-header .stamp-subnav a.active {
  border-color: rgba(93, 228, 255, .4);
  background: rgba(93, 228, 255, .12);
  color: var(--cyan);
}

/* ==========================================================================
   Main Container
   ========================================================================== */
.site-main {
  width: min(1220px, 92vw);
  margin: 0 auto;
  padding: 36px 0 90px;
}

/* Glass Box Component */
.glass-box {
  background: rgba(16, 25, 43, .78);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ==========================================================================
   Typography & Meta Pills
   ========================================================================== */
.kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  color: #aef5ff;
  background: rgba(93, 228, 255, .11);
  border: 1px solid rgba(93, 228, 255, .35);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
}

.meta-row, .tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 700;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  text-decoration: none;
}
.button:hover, .button:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.button.primary {
  background: linear-gradient(135deg, rgba(93, 228, 255, .25), rgba(93, 228, 255, .12));
  border-color: rgba(93, 228, 255, .5);
  color: #aef5ff;
}
.button.primary:hover {
  background: linear-gradient(135deg, rgba(93, 228, 255, .4), rgba(93, 228, 255, .2));
  border-color: var(--cyan);
  box-shadow: 0 8px 24px rgba(93, 228, 255, .28);
}

.button.line {
  background: linear-gradient(135deg, #06c755, #00a843);
  border-color: #06c755;
  color: #fff;
  box-shadow: 0 10px 30px rgba(6, 199, 85, .35);
}
.button.line:hover {
  background: linear-gradient(135deg, #00d95d, #05b04b);
  border-color: #00d95d;
  box-shadow: 0 14px 40px rgba(6, 199, 85, .5);
}

.button.accent {
  background: rgba(240, 197, 109, .12);
  border-color: rgba(240, 197, 109, .4);
  color: var(--gold);
}
.button.accent:hover {
  background: rgba(240, 197, 109, .22);
  border-color: var(--gold);
}

/* ==========================================================================
   Stamp Detail Layout (PRO Spec)
   ========================================================================== */
.stamp-detail-card {
  padding: clamp(24px, 4vw, 44px);
  margin-bottom: 50px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.detail-gallery-main {
  width: 100%;
  height: 380px;
  max-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(93, 228, 255, .08) 0%, rgba(10, 16, 30, .95) 100%);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 20px;
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, .05), 0 14px 40px rgba(0, 0, 0, .5);
  padding: 24px;
}

.detail-gallery-main img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .6));
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}
.detail-gallery-main:hover img {
  transform: scale(1.06);
}

.detail-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
}

.detail-gallery-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: rgba(10, 16, 30, .7);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 5px;
  cursor: pointer;
  transition: all .18s ease;
}

.detail-gallery-strip img:hover,
.detail-gallery-strip img.is-active {
  border-color: var(--cyan);
  background: rgba(93, 228, 255, .18);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(93, 228, 255, .25);
}

.detail-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  width: 100%;
}

.detail-copy h1 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  letter-spacing: .01em;
}

.detail-copy p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
}

.intro-note {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 22px;
  border: 1px solid rgba(93, 228, 255, .25);
  border-left: 4px solid var(--cyan);
  border-radius: 14px;
  background: rgba(10, 18, 33, .85);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
}
.intro-note h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--cyan);
}
.intro-note p {
  margin: 0;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.75;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.fact {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(10, 18, 33, .75);
  border: 1px solid rgba(255, 255, 255, .1);
}
.fact span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.fact strong {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* ==========================================================================
   Stamp Cards & Grids (Catalog / Home / Genre)
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.stamp-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  background: rgba(16, 25, 43, .78);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: all .22s ease;
}
.stamp-card:hover, .stamp-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(93, 228, 255, .45);
  background: rgba(22, 35, 59, .88);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 24px rgba(93, 228, 255, .15);
}

.stamp-thumb {
  aspect-ratio: 1;
  width: 100%;
  display: block;
  object-fit: contain;
  border-radius: 14px;
  background: radial-gradient(circle, rgba(93, 228, 255, .05), rgba(15, 23, 42, .8));
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 12px;
  transition: transform .25s ease;
}
.stamp-card:hover .stamp-thumb {
  transform: scale(1.04);
}

.stamp-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
}
.stamp-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Home Hero for Stamps */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: start;
  gap: clamp(28px, 6vw, 76px);
  padding: 16px 0 50px;
}
.hero h1 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.15;
  color: #fff;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-copy .lead {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

/* 🌟 ヒーロー内 3連案内カード（トップページ共通スタイル） */
.hero-copy .article-notifications {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.article-notify-card {
  position: relative;
  display: block;
  padding: 13px 18px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
}

.article-notify-card .notify-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.article-notify-card .notify-bg img {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 68px;
  height: auto;
  max-height: 85%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(-50%) scale(1.15) translateX(10px);
  filter: blur(4px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.article-notify-card:hover .notify-bg img {
  opacity: 0.9;
  transform: translateY(-50%) scale(1) translateX(0);
  filter: blur(0px);
}

.article-notify-card .notify-body {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.article-notify-card .notify-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.article-notify-card .link-arrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  transition: transform 0.25s ease;
}

.article-notify-card:hover .link-arrow {
  transform: translateX(4px);
}

.article-notify-card.is-stamp-latest {
  border-color: rgba(240, 197, 109, 0.35);
}
.article-notify-card.is-stamp-latest:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(240, 197, 109, 0.8);
  box-shadow: 0 8px 24px rgba(240, 197, 109, 0.25);
  transform: translateY(-2px);
}
.article-notify-card.is-stamp-latest .notify-title {
  color: var(--gold, #f0c56d);
  font-weight: 800;
  font-size: 13px;
}
.article-notify-card.is-stamp-latest .link-arrow {
  color: var(--gold, #f0c56d);
}

.article-notify-card.is-stamp-pickup {
  border-color: rgba(93, 228, 255, 0.35);
}
.article-notify-card.is-stamp-pickup:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(93, 228, 255, 0.8);
  box-shadow: 0 8px 24px rgba(93, 228, 255, 0.25);
  transform: translateY(-2px);
}
.article-notify-card.is-stamp-pickup .notify-title {
  color: var(--cyan, #5de4ff);
  font-weight: 800;
  font-size: 13px;
}
.article-notify-card.is-stamp-pickup .link-arrow {
  color: var(--cyan, #5de4ff);
}

.article-notify-card.is-stamp-all {
  border-color: rgba(216, 180, 254, 0.35);
}
.article-notify-card.is-stamp-all:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(216, 180, 254, 0.8);
  box-shadow: 0 8px 24px rgba(216, 180, 254, 0.25);
  transform: translateY(-2px);
}
.article-notify-card.is-stamp-all .notify-title {
  color: #d8b4fe;
  font-weight: 800;
  font-size: 13px;
}
.article-notify-card.is-stamp-all .link-arrow {
  color: #d8b4fe;
}

/* 🌟 オシャレな斜め回転のヒーローギャラリー（3枚） */
.hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 24px);
  align-items: center;
  perspective: 1200px;
  padding-top: 22px;
}
.hero-gallery .stamp-card {
  transition: transform .28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .28s ease, border-color .28s ease;
}
.hero-gallery .stamp-card:nth-child(1) {
  transform: translateY(-22px) rotate(-3deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}
.hero-gallery .stamp-card:nth-child(2) {
  transform: translateY(26px) rotate(3deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}
.hero-gallery .stamp-card:nth-child(3) {
  grid-column: 1 / -1;
  max-width: 84%;
  margin: 0 auto;
  width: 100%;
  transform: translateY(-4px) rotate(1.5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}
.hero-gallery .stamp-card:hover {
  transform: translateY(-12px) rotate(0deg) scale(1.04) !important;
  z-index: 10;
  border-color: var(--cyan);
  box-shadow: 0 30px 60px rgba(93, 228, 255, 0.25) !important;
}

/* 🌟 注目作品（ワイドフィーチャーバナー） */
.wide-feature {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 52px);
  align-items: center;
  background: rgba(16, 25, 43, .85);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.wide-feature .stamp-thumb {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(93, 228, 255, .08) 0%, rgba(10, 16, 30, .95) 100%);
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 24px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5));
}
.wide-feature h2 {
  margin: 10px 0 12px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  font-size: clamp(24px, 3.5vw, 36px);
  color: #fff;
  line-height: 1.3;
}
.wide-feature p {
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 15px;
  margin: 0 0 20px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(200px, 1fr) minmax(180px, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.filters input, .filters select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 23, 42, .85);
  color: #fff;
  padding: 12px 16px;
  font-size: 14.5px;
  box-sizing: border-box;
}

.filters select {
  cursor: pointer;
  padding-right: 36px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.filters select optgroup {
  background: #0b1329;
  color: #f0c56d;
  font-weight: 800;
  font-size: 13.5px;
  padding: 8px 4px;
}
.filters select option {
  background: #0f172a;
  color: #f1f5f9;
  font-weight: normal;
  font-size: 14px;
  padding: 6px 12px;
}

.section {
  margin-top: 50px;
  scroll-margin-top: 80px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 24px;
}
.section-head h2, .page-title h1 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  font-size: clamp(26px, 3.5vw, 40px);
  color: #fff;
}
.section-head p, .page-title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Related Video Card */
.related-video-grid { display: grid; gap: 12px; }
.related-video-card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, .8);
  border: 1px solid rgba(255, 255, 255, .1);
}
.related-video-card img {
  width: 100px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
}
.related-video-card strong {
  color: #fff;
  font-size: 14px;
}
.related-video-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 0;
}

/* Pagination */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(15, 23, 42, .8);
  color: #cbd5e1;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}
.page-btn:hover:not([disabled]) {
  border-color: var(--cyan);
  background: rgba(93, 228, 255, .15);
  color: #fff;
}
.page-btn.active {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #07101d;
  font-weight: 800;
}
.page-btn[disabled] { opacity: .4; cursor: not-allowed; }

/* Empty state */
.empty {
  padding: 32px;
  border-radius: 20px;
  background: rgba(15, 23, 42, .75);
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .wide-feature {
    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
    gap: 28px;
    padding: 28px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .detail-gallery {
    max-width: 460px;
    margin: 0 auto;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .wide-feature {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 24px 18px !important;
    text-align: center !important;
  }
  .wide-feature .stamp-thumb {
    max-width: 240px !important;
    margin: 0 auto !important;
    padding: 16px !important;
  }
  .wide-feature .meta-row {
    justify-content: center !important;
  }
  .wide-feature h2 {
    font-size: 24px !important;
    line-height: 1.35 !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }
  .wide-feature p {
    font-size: 14px !important;
    text-align: left !important;
    line-height: 1.7 !important;
  }
  .wide-feature .hero-actions {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .wide-feature .hero-actions .button {
    width: 100% !important;
    justify-content: center !important;
  }

  .filters {
    grid-template-columns: 1fr !important;
  }
  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
  }
  .hero-actions .button {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 540px) {
  .card-grid, .collection-grid, .facts {
    grid-template-columns: 1fr !important;
  }
  .detail-gallery-main {
    height: 280px !important;
    max-height: 280px !important;
  }
  .detail-gallery-strip {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .hero h1 {
    font-size: 32px !important;
  }
  .detail-copy h1 {
    font-size: 24px !important;
  }
  .button {
    width: 100% !important;
  }
}

/* ==========================================================================
   Universal Mobile Header & Hamburger Navigation System
   ========================================================================== */
.menu-toggle {
  display: none !important;
}

@media (min-width: 981px) and (max-width: 1150px) {
  .site-header {
    padding: 12px clamp(12px, 2vw, 24px) !important;
  }
  .site-header nav {
    gap: 4px !important;
  }
  .site-header nav a {
    padding: 6px 7px !important;
    font-size: 12px !important;
    min-height: 32px !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 18px 8px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    background: rgba(7, 13, 25, 0.95) !important;
  }
  
  .site-header .brand {
    margin-right: auto !important;
    padding-bottom: 0 !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid var(--line, rgba(255, 255, 255, .2)) !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    color: #ffffff !important;
    transition: background .2s ease, border-color .2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle:hover, .menu-toggle:focus-visible {
    background: rgba(255, 255, 255, .15) !important;
  }
  .menu-toggle svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #ffffff !important;
  }
  .menu-toggle .icon-menu {
    display: block !important;
  }
  .menu-toggle .icon-close {
    display: none !important;
  }
  .menu-toggle.is-active .icon-menu {
    display: none !important;
  }
  .menu-toggle.is-active .icon-close {
    display: block !important;
  }

  /* Stamp Subnav: 3x2 Clean Grid on Mobile so all 6 categories are 100% visible */
  .site-header .stamp-subnav {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 8px 0 0 0 !important;
    padding: 8px 0 2px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: transparent !important;
    overflow: visible !important;
  }

  .site-header .stamp-subnav a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 32px !important;
    padding: 4px 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
  }

  .site-header .stamp-subnav a:hover,
  .site-header .stamp-subnav a.active {
    background: rgba(93, 228, 255, 0.2) !important;
    border-color: rgba(93, 228, 255, 0.5) !important;
    color: var(--cyan, #5de4ff) !important;
    font-weight: 700 !important;
  }

  /* When Hamburger Menu is OPEN, hide the subnav and show full drawer */
  .site-header.nav-open .stamp-subnav {
    display: none !important;
  }

  /* Mobile / Tablet Dropdown Nav (Luxury List & Adaptive Grid) */
  .site-header > nav:not(.stamp-subnav) {
    display: none !important;
  }

  .site-header.nav-open > nav:not(.stamp-subnav) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(8, 14, 26, 0.97) !important;
    border-bottom: 1px solid rgba(240, 197, 109, 0.3) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(93, 228, 255, 0.06) !important;
    padding: 16px 18px 24px !important;
    gap: 10px !important;
    z-index: 200 !important;
    max-height: calc(100vh - 68px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
    animation: slideDownNav .22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes slideDownNav {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .site-header.nav-open > nav:not(.stamp-subnav) a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 52px !important;
    padding: 13px 18px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.035) !important;
    color: #f1f5f9 !important;
    text-align: left !important;
    position: relative !important;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  /* Category Icons for Mobile Nav */
  .site-header.nav-open > nav:not(.stamp-subnav) a:first-child::before { content: "🏠\00a0\00a0"; }
  .site-header.nav-open > nav:not(.stamp-subnav) a[href*="summon"]::before { content: "🔮\00a0\00a0"; }
  .site-header.nav-open > nav:not(.stamp-subnav) a[href*="stamps"]::before { content: "🐾\00a0\00a0"; }
  .site-header.nav-open > nav:not(.stamp-subnav) a[href*="talk"]::before { content: "💬\00a0\00a0"; }
  .site-header.nav-open > nav:not(.stamp-subnav) a[href*="news"]::before { content: "📰\00a0\00a0"; }
  .site-header.nav-open > nav:not(.stamp-subnav) a[href*="members"]::before { content: "👥\00a0\00a0"; }
  .site-header.nav-open > nav:not(.stamp-subnav) a[href*="videos"]::before { content: "🎬\00a0\00a0"; }
  .site-header.nav-open > nav:not(.stamp-subnav) a.nav-link-note::before { content: "📝\00a0\00a0"; }

  /* Right Arrow on Menu Items */
  .site-header.nav-open > nav:not(.stamp-subnav) a::after {
    content: "→";
    display: inline-block;
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    padding-left: 12px;
    transition: transform .2s ease, color .2s ease, opacity .2s ease;
  }

  .site-header.nav-open > nav:not(.stamp-subnav) a:hover,
  .site-header.nav-open > nav:not(.stamp-subnav) a:focus-visible {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(240, 197, 109, 0.35) !important;
    color: #ffffff !important;
    transform: translateX(4px) !important;
  }

  .site-header.nav-open > nav:not(.stamp-subnav) a:hover::after,
  .site-header.nav-open > nav:not(.stamp-subnav) a:focus-visible::after {
    color: var(--gold, #f0c56d) !important;
    opacity: 0.95 !important;
    transform: translateX(3px);
  }

  /* Active Menu Item */
  .site-header.nav-open > nav:not(.stamp-subnav) a.active {
    background: linear-gradient(90deg, rgba(240, 197, 109, .2), rgba(240, 197, 109, .05)) !important;
    border-color: rgba(240, 197, 109, 0.5) !important;
    color: var(--gold, #f0c56d) !important;
    box-shadow: inset 4px 0 0 #f0c56d, 0 0 16px rgba(240, 197, 109, 0.15) !important;
  }
  .site-header.nav-open > nav:not(.stamp-subnav) a.active::after {
    content: "●";
    color: var(--gold, #f0c56d) !important;
    opacity: 1 !important;
    font-size: 10px !important;
  }

  /* Note Magazine Special Accent */
  .site-header.nav-open > nav:not(.stamp-subnav) a.nav-link-note {
    background: linear-gradient(90deg, rgba(240, 197, 109, 0.12), rgba(245, 158, 11, 0.04)) !important;
    border-color: rgba(240, 197, 109, 0.3) !important;
    color: #f0c56d !important;
  }
  .site-header.nav-open > nav:not(.stamp-subnav) a.nav-link-note::after {
    content: "↗" !important;
    color: #f0c56d !important;
    opacity: 0.8 !important;
  }

  /* Tablet & Mobile Landscape Multi-Column Smart Grid (580px ~ 980px or Landscape with low height) */
  @media (min-width: 580px) and (max-width: 980px), (max-width: 980px) and (orientation: landscape) and (max-height: 520px) {
    .site-header.nav-open > nav:not(.stamp-subnav) {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 10px 14px !important;
      padding: 20px 24px 28px !important;
    }
  }
}

/* ==========================================================================
   ⬆️ Floating Back To Top Button
   ========================================================================== */
.floating-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(93, 228, 255, 0.35);
  color: #5de4ff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(93, 228, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.floating-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-back-to-top:hover,
.floating-back-to-top:focus-visible {
  background: rgba(30, 41, 59, 0.95);
  border-color: #5de4ff;
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.7), 0 0 24px rgba(93, 228, 255, 0.35);
  transform: translateY(-3px);
}

@media (max-width: 600px) {
  .floating-back-to-top {
    right: 16px;
    bottom: 18px;
    width: 40px;
    height: 40px;
  }
}
