:root {
  --navy: #07101d;
  --navy-2: #0d1829;
  --ink: #f7f8fb;
  --muted: #bac4d6;
  --soft: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .14);
  --warm: #f1c26b;
  --coral: #ff9b86;
  --cyan: #7eddf2;
  --shadow: 0 30px 90px rgba(0, 0, 0, .34);
  --gold: #f0c56d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(126, 221, 242, .12), transparent 30%),
    linear-gradient(225deg, rgba(241, 194, 107, .12), transparent 36%),
    linear-gradient(180deg, var(--navy) 0%, #0b1424 48%, #11101e 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(7, 16, 29, .78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand { display: grid; min-width: 145px; }
.brand span, .eyebrow, .card-kicker, .detail-label, .site-footer span {
  color: var(--warm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand strong {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.15;
}

.site-header nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.site-header nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.site-header nav a:hover, .site-header nav a.active, .site-header nav a:focus-visible {
  color: var(--ink);
  border-color: rgba(241, 194, 107, .45);
  background: rgba(241, 194, 107, .12);
}

.site-main {
  width: min(1220px, 92vw);
  margin: 0 auto;
  padding: 36px 0 82px;
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 38px;
}

@media (min-width: 1080px) {
  .page-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: clamp(24px, 3vw, 40px);
  }
}

/* Hero Mobile-Only Action Button (Hidden on PC/Desktop, visible on Mobile <= 980px) */
.page-hero-action {
  display: none !important;
}

@media (max-width: 980px) {
  .page-hero-action {
    display: flex !important;
    width: 100% !important;
    margin-top: 8px !important;
  }
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1, .detail-copy h1 {
  margin: 10px 0 16px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Times New Roman", serif;
  font-variant-numeric: lining-nums;
  font-feature-settings: "palt" 1, "lnum" 1;
  font-size: clamp(26px, 3.4vw, 50px);
  line-height: 1.2;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: break-word;
}
.lead {
  max-width: 680px;
  color: #edf3ff;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.8;
}
.hero-panel {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent, rgba(7, 16, 29, .92)),
    url("../images/hero/team-hitona-stage.png") center / cover;
  box-shadow: var(--shadow);
}
.hero-panel.summon-panel {
  background:
    linear-gradient(180deg, transparent 0%, rgba(7, 16, 29, .92) 74%),
    url("../images/cards/summon-series.png") 66% 48% / cover;
}
.hero-panel strong {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.hero-panel p { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.section-heading {
  margin: 0 0 18px;
}
.section-heading .eyebrow {
  margin-bottom: 6px;
}
.section-heading h2 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Times New Roman", serif;
  font-variant-numeric: lining-nums;
  font-feature-settings: "palt" 1, "lnum" 1;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.18;
}
section + section {
  margin-top: clamp(34px, 6vw, 70px);
}

.member-card, .entry-card, .info-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .22);
}

.member-card {
  grid-column: span 3;
  display: grid;
  gap: 16px;
  padding: 16px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.member-card:hover, .member-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--member-accent, rgba(241, 194, 107, .55));
  background: rgba(255, 255, 255, .11);
}
.member-card-link {
  display: grid;
  gap: 16px;
}
.member-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}
.member-card h2 {
  margin-bottom: 4px;
  font-size: 26px;
  line-height: 1.25;
}
.member-card p { color: var(--muted); }
.entry-card {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.entry-card:hover, .entry-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(241, 194, 107, .55);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}
.entry-card.is-muted {
  opacity: .82;
}
.entry-card.is-muted:hover {
  transform: none;
  border-color: var(--line);
  background: var(--soft);
}
.entry-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
}
.entry-card h2 {
  margin: 8px 0 6px;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.4;
  overflow-wrap: anywhere;
  font-family: 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  color: #ffffff;
}
.entry-card p:not(.card-kicker) {
  margin-bottom: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  overflow-wrap: anywhere;
}

@media (min-width: 960px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.wide-list .entry-card {
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, .45fr) minmax(0, 1fr);
}
.wide-list .entry-card h2 {
  max-width: 760px;
}
.wide-list .entry-card p:not(.card-kicker) {
  max-width: 720px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #dfe7f7;
  font-size: 12px;
  font-weight: 800;
}
.member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(241, 194, 107, .42);
  border-radius: 8px;
  background: rgba(241, 194, 107, .12);
  color: #ffe4a6;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.mini-button:hover, .mini-button:focus-visible {
  background: rgba(241, 194, 107, .24);
  border-color: rgba(241, 194, 107, .7);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(241, 194, 107, .25);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: start;
}
.portrait {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
}
.portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.detail-copy {
  display: grid;
  gap: 18px;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.info-card { padding: 18px; }
.grid > .info-card { grid-column: span 6; }
.category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.category-grid > .info-card {
  grid-column: auto;
}
a.info-card {
  display: block;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
a.info-card:hover, a.info-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(241, 194, 107, .55);
  background: rgba(255, 255, 255, .11);
}
.info-card h2 {
  margin-bottom: 10px;
  font-size: 18px;
}
.info-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button:hover, .button:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .2);
  border-color: rgba(241, 194, 107, .65);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .32);
}
.button.primary {
  background: var(--warm);
  border-color: var(--warm);
  color: #10131a;
}
.button.primary:hover, .button.primary:focus-visible {
  background: #f8d388;
  border-color: #f8d388;
  color: #10131a;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(241, 194, 107, .38);
}
.empty {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--soft);
}
.summon-article {
  display: block;
}
.summon-hero {
  margin-bottom: 40px;
}
.summon-hero-content {
  margin-bottom: 24px;
}
.summon-hero-content h1 {
  margin: 12px 0 16px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Times New Roman", serif;
  font-variant-numeric: lining-nums;
  font-feature-settings: "palt" 1, "lnum" 1;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.25;
}
.summon-hero-content .lead {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 840px;
}
.summon-hero figure#photo-hero {
  margin: 24px 0 0;
  width: 100%;
}
.summon-hero figure#photo-hero img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.summon-article-hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(320px, 1.14fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: 580px;
  margin-bottom: 40px;
}
.summon-article-hero h1 {
  margin: 10px 0 16px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Times New Roman", serif;
  font-variant-numeric: lining-nums;
  font-feature-settings: "palt" 1, "lnum" 1;
  font-size: clamp(42px, 6.8vw, 86px);
  line-height: 1.02;
}
.summon-article-hero figure,
.summon-photo,
.summon-photo-pair figure {
  margin: 0;
}
.summon-article-hero img,
.summon-photo img,
.summon-photo-pair img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.summon-article-hero figure {
  transform: rotate(1.2deg);
}
.summon-article-body {
  width: min(760px, 100%);
  margin: 20px auto;
}
.summon-article-body h2,
.summon-article-body h3 {
  margin: 32px 0 8px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Times New Roman", serif;
  font-variant-numeric: lining-nums;
  font-feature-settings: "palt" 1, "lnum" 1;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
}
.summon-article-body h3 {
  font-size: clamp(20px, 3vw, 28px);
}
.summon-article-body p {
  margin: 0 0 16px;
  color: #e4ebf8;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 2.05;
}
.summon-article-body p:last-child {
  margin-bottom: 0;
}
.summon-article-body .soft-break {
  color: var(--muted);
}
.summon-photo {
  width: min(960px, 100%);
  margin: 32px auto !important;
}
.summon-photo.wide {
  width: min(1080px, 100%);
}
.summon-photo.tilt-left img { transform: rotate(-1.1deg); }
.summon-photo.tilt-right img { transform: rotate(1.1deg); }
.summon-photo figcaption,
.summon-photo-pair figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.summon-photo-pair {
  width: min(1040px, 100%);
  margin: 32px auto !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.summon-article-body > *:last-child {
  margin-bottom: 0 !important;
}

.summon-note {
  width: min(820px, 100%);
  margin: 20px auto clamp(36px, 5vw, 56px) !important;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid rgba(241, 194, 107, .28);
  border-radius: 12px;
  background: rgba(241, 194, 107, .08);
  box-sizing: border-box;
}
.summon-note h2,
.summon-note h3 {
  margin-top: 0;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--gold, #f0c56d);
}
.summon-note p {
  color: #edf3ff;
  line-height: 1.75;
}
/* --------------------------------------------------------------------------
   Story Dialogue / Speech Bubble Component (Global Standard)
   -------------------------------------------------------------------------- */
.story-dialogue {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 24px 0;
}

.story-dialogue.reverse {
  flex-direction: row-reverse;
}

.dialogue-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(240, 197, 109, 0.4);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  background: #151b28;
}

.dialogue-bubble {
  position: relative;
  max-width: min(640px, 85%);
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.75;
  color: #f7f8fb;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.dialogue-speaker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  color: #f1c26b;
  text-transform: uppercase;
}

.story-dialogue.hitona .dialogue-avatar {
  border-color: rgba(56, 189, 248, 0.5);
}

.story-dialogue.hitona .dialogue-bubble {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(15, 23, 42, 0.85));
  border-color: rgba(56, 189, 248, 0.3);
}

.story-dialogue.hitona .dialogue-speaker {
  color: #38bdf8;
}

.story-dialogue.aru .dialogue-avatar,
.story-dialogue.aruno .dialogue-avatar {
  border-color: rgba(240, 197, 109, 0.5);
}

.story-dialogue.aru .dialogue-bubble,
.story-dialogue.aruno .dialogue-bubble {
  background: linear-gradient(135deg, rgba(240, 197, 109, 0.08), rgba(15, 23, 42, 0.85));
  border-color: rgba(240, 197, 109, 0.3);
}

.story-dialogue.aru .dialogue-speaker,
.story-dialogue.aruno .dialogue-speaker {
  color: #f0c56d;
}

@media (max-width: 640px) {
  .story-dialogue {
    gap: 10px;
    margin: 18px 0;
  }
  .dialogue-avatar {
    width: 40px;
    height: 40px;
  }
  .dialogue-bubble {
    max-width: 85%;
    padding: 12px 14px;
    font-size: 14px;
  }
}

.pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 20px auto 20px !important;
}
.pagination span,
.pagination a,
.pagination button {
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  background: rgba(15, 23, 42, 0.6);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.pagination a:hover:not(.current):not(.disabled),
.pagination button:hover:not(.current):not([disabled]) {
  border-color: var(--warm);
  color: #fff;
  background: rgba(240, 197, 109, 0.15);
  transform: translateY(-2px);
}
.pagination .current {
  color: #10131a !important;
  background: var(--warm) !important;
  border-color: var(--warm) !important;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(240, 197, 109, 0.35);
}
.pagination .disabled,
.pagination button[disabled] {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}
.site-footer {
  width: min(1180px, 92vw);
  margin: clamp(40px, 6vw, 64px) auto 0;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer small { display: block; margin-top: 4px; }

@media (max-width: 980px) {
  .page-hero, .summon-article-hero { grid-template-columns: 1fr; }
  .page-hero { min-height: auto; }
  .summon-article-hero { min-height: auto; }
  .member-card { grid-column: span 6; }
}

@media (max-width: 700px) {
  .site-main { padding-top: 34px; }
  .hero-panel { min-height: 280px; }
  .hero-panel strong {
    font-size: 28px;
    line-height: 1.18;
    word-break: break-all;
  }
  .member-card, .entry-card { grid-column: 1 / -1; }
  .entry-card { grid-template-columns: 1fr; }
  .grid > .info-card { grid-column: 1 / -1; }
  .category-grid { grid-template-columns: 1fr; }
  .info-grid, .summon-photo-pair { grid-template-columns: 1fr; }
  .summon-article-hero figure { transform: none; }
  .summon-photo.tilt-left img,
  .summon-photo.tilt-right img { transform: none; }
  .button-row, .button { width: 100%; }
}
@media (max-width: 420px) {
  .hero-copy h1,
  .detail-copy h1 {
    font-size: 40px;
    line-height: 1.12;
  }
}

/* --- Member Detail Redesigned Action Section --- */
.member-links-section {
  display: grid;
  gap: 16px;
  margin-top: 6px;
}
.member-stories-block {
  display: grid;
  gap: 8px;
}
.member-story-list {
  display: grid;
  gap: 10px;
}
.member-story-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .18);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
  color: var(--ink);
}
.member-story-card:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(241, 194, 107, .45);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .28);
}
.member-story-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.story-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(241, 194, 107, .18);
  color: var(--warm);
  letter-spacing: .04em;
}
.story-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #f7f8fb;
}
.story-arrow {
  font-size: 13px;
  font-weight: 800;
  color: var(--member-accent, var(--warm));
  white-space: nowrap;
}
.member-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.member-video-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .06));
  border-color: var(--member-accent, var(--line));
  color: var(--ink);
}
.member-video-btn:hover {
  border-color: rgba(241, 194, 107, .45);
  background: rgba(255, 255, 255, .18);
}

.member-summon-btn {
  background: rgba(241, 194, 107, .16);
  border-color: rgba(241, 194, 107, .48);
  color: #ffe1a4;
}
.member-summon-btn:hover {
  background: rgba(241, 194, 107, .28);
  border-color: rgba(241, 194, 107, .75);
}

.member-note-btn {
  background: rgba(40, 190, 150, .14);
  border-color: rgba(40, 190, 150, .36);
  color: #a8f0d8;
}
.member-note-btn:hover {
  background: rgba(40, 190, 150, .26);
  border-color: rgba(40, 190, 150, .6);
}
.member-back-btn {
  color: var(--muted);
  border-color: transparent;
  background: rgba(255, 255, 255, .04);
}
.member-back-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .25);
}
.btn-icon {
  margin-right: 4px;
  font-size: 12px;
}

.member-story-more {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
}
.member-story-more .more-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: color .2s ease;
}
.member-story-more .more-link:hover {
  color: var(--warm);
}


/* ==========================================================================
   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-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 18px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
  }
  
  .site-header .brand {
    margin-right: auto !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;
  }

  /* 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(93, 228, 255, 0.16), rgba(93, 228, 255, 0.04)) !important;
    border-color: rgba(93, 228, 255, 0.45) !important;
    color: var(--cyan, #5de4ff) !important;
    box-shadow: inset 4px 0 0 #5de4ff, 0 0 16px rgba(93, 228, 255, 0.12) !important;
  }
  .site-header.nav-open > nav:not(.stamp-subnav) a.active::after {
    content: "●";
    color: var(--cyan, #5de4ff) !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;
    }
  }
}


/* Mobile Action Buttons & Layout Optimization */
@media (max-width: 768px) {
  .detail-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    padding-top: 12px !important;
  }
  .portrait {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }
  .portrait img {
    max-width: 260px !important;
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45) !important;
  }
  .detail-copy h1 {
    font-size: clamp(34px, 9vw, 54px) !important;
    line-height: 1.12 !important;
    margin: 0 0 10px !important;
  }
  .info-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .member-action-bar {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 20px !important;
  }
  .member-action-bar .button {
    width: 100% !important;
    min-height: 52px !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }
  .member-video-btn {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 8px 24px rgba(108, 92, 231, .45) !important;
  }
}


/* Summon Series Member Explorer & Filter Tabs */
.summon-members-section {
  margin-bottom: 48px;
}
.member-summon-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  border-radius: 14px;
}
.member-summon-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.member-summon-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(241, 194, 107, .4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.member-summon-head h2 {
  font-size: 19px;
  margin: 4px 0 0;
  line-height: 1.25;
}
.chip-sm {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .1);
  color: var(--muted);
}
.member-summon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.member-summon-actions .mini-button {
  cursor: pointer;
}
.member-summon-actions .mini-button.accent {
  background: rgba(241, 194, 107, .2);
  border-color: rgba(241, 194, 107, .6);
  color: #ffe4a6;
}
.member-summon-actions .mini-button.accent:hover {
  background: rgba(241, 194, 107, .32);
}
.member-summon-actions .mini-button.secondary {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
  color: var(--ink-soft);
}
.member-summon-actions .mini-button.secondary:hover {
  background: rgba(255, 255, 255, .12);
  color: var(--ink);
}

/* Filter Bar & Tabs */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  width: max-content;
  max-width: 100%;
}
.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all .18s ease;
}
.filter-tab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, .08);
}
.filter-tab.active {
  background: rgba(241, 194, 107, .18);
  border-color: rgba(241, 194, 107, .5);
  color: #ffe4a6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}
.filter-count {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .28);
  color: inherit;
}

/* Card Metadata Badges */
.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 8px;
}
.story-badge {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(241, 194, 107, .16);
  color: var(--gold);
}
.story-badge.timeslip-badge {
  background: rgba(126, 221, 242, .16);
  color: var(--cyan);
}
.member-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
}
.michiru-badge {
  background: rgba(129, 212, 250, .25);
  border: 1px solid rgba(129, 212, 250, .5);
  color: #b3e5fc;
}
.erika-badge {
  background: rgba(180, 140, 255, .25);
  border: 1px solid rgba(180, 140, 255, .5);
  color: #d1b8ff;
}
.aruno-tensaku-badge {
  background: rgba(212, 163, 115, .25);
  border: 1px solid rgba(212, 163, 115, .5);
  color: #e5b98f;
}
.card-date {
  font-size: 11.5px;
  color: var(--muted);
}

/* ==========================================================================
   Summon Hero Link Cards & Hover Effects
   ========================================================================== */
.summon-hero-links {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  text-align: left;
}

.summon-hero-link {
  display: block;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.22s ease,
              border-color 0.22s ease,
              box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}

.summon-hero-link.is-aruno-tensaku {
  border-color: rgba(212, 163, 115, 0.3);
}
.summon-hero-link.is-aruno-tensaku:hover {
  background: rgba(45, 32, 20, 0.95);
  border-color: rgba(212, 163, 115, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 163, 115, 0.25);
}

.summon-hero-link.is-erika {
  border-color: rgba(93, 228, 255, 0.3);
}
.summon-hero-link.is-erika:hover {
  background: rgba(18, 36, 68, 0.95);
  border-color: rgba(93, 228, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(93, 228, 255, 0.25);
}

.summon-hero-link.is-luna,
.summon-hero-link.is-michiru {
  border-color: rgba(240, 197, 109, 0.3);
}
.summon-hero-link.is-luna:hover,
.summon-hero-link.is-michiru:hover {
  background: rgba(38, 34, 22, 0.95);
  border-color: rgba(240, 197, 109, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 197, 109, 0.25);
}

.summon-hero-link.is-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(180, 140, 255, 0.12);
  border: 1px solid rgba(180, 140, 255, 0.35);
  color: #d8b4fe;
  font-size: 12px;
  font-weight: 700;
}
.summon-hero-link.is-note:hover {
  background: rgba(180, 140, 255, 0.24);
  border-color: rgba(180, 140, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(180, 140, 255, 0.3);
  color: #fff;
}

.summon-hero-link .link-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.summon-hero-link .link-arrow {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.summon-hero-link:hover .link-arrow {
  transform: translateX(4px);
}


/* Member Portrait Column & Photo Gallery */
.portrait-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.member-gallery-card {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.gallery-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
}

.gallery-count {
  font-size: 11px;
  color: var(--cyan);
  font-weight: 700;
}



.gallery-thumb-link {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: block;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.gallery-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-thumb-link:hover {
  transform: translateY(-2px) scale(1.06);
  border-color: var(--cyan);
  box-shadow: 0 6px 16px rgba(93, 228, 255, 0.4);
  z-index: 2;
}

.gallery-thumb-link:hover img {
  transform: scale(1.12);
}

.gallery-hint {
  font-size: 10.5px;
  color: var(--muted);
  margin: 10px 0 0;
  text-align: right;
}

@media (max-width: 640px) {
  
}


/* Member Card 2-Button Action Grid */
.member-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.member-actions.single-action {
  grid-template-columns: 1fr;
}

.member-actions .mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 6px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

/* 1. Video button (Dark slate / white) */
.member-actions .btn-video {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f1f5f9;
}
.member-actions .btn-video:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

/* 2. Profile button (Cyan accent) */
.member-actions .btn-profile {
  background: rgba(93, 228, 255, 0.14);
  border: 1px solid rgba(93, 228, 255, 0.42);
  color: #7dd3fc;
}
.member-actions .btn-profile:hover {
  background: var(--cyan);
  color: #030712;
  border-color: var(--cyan);
  box-shadow: 0 4px 14px rgba(93, 228, 255, 0.35);
  transform: translateY(-1px);
}


/* Gallery Scroll Container & Custom Scrollbar (4 Columns / 4 Rows visible) */
.member-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.member-gallery-scroll {
  max-height: 308px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  padding-bottom: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(93, 228, 255, 0.5) rgba(255, 255, 255, 0.05);
}

.member-gallery-scroll::-webkit-scrollbar {
  width: 6px;
}

.member-gallery-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.member-gallery-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyan), #3b82f6);
  border-radius: 4px;
}

.member-gallery-scroll::-webkit-scrollbar-thumb:hover {
  background: #67e8f9;
}

@media (max-width: 640px) {
  .member-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .member-gallery-scroll {
    max-height: 280px;
  }
}


/* Responsive Desktop vs Mobile layout switching for Member Detail */
.mobile-header-wrap,
.mobile-gallery-wrap {
  display: none;
}

.desktop-header-wrap,
.desktop-gallery-wrap {
  display: block;
}

.member-header-block {
  display: grid;
  gap: 12px;
}

.member-header-block h1 {
  margin: 0;
}

.member-header-block .lead {
  margin: 0;
}

.member-intro-text {
  font-size: 15px;
  line-height: 1.8;
  color: #e2e8f0;
}

@media (max-width: 900px) {
  .detail-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .mobile-header-wrap,
  .mobile-gallery-wrap {
    display: block;
  }
  
  .desktop-header-wrap,
  .desktop-gallery-wrap {
    display: none;
  }
  
  .portrait-column {
    width: 100%;
    margin: 0 auto;
  }
  
  .portrait {
    max-width: min(340px, 86vw);
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }
  
  .mobile-header-wrap {
    width: 100%;
    text-align: left;
  }
  
  .mobile-gallery-wrap {
    margin-top: 18px;
  }
}

/* Header nav standard additions */
.site-header nav a.nav-link-note {
  color: var(--gold, #f0c56d) !important;
}
.site-header nav a.nav-link-note:hover {
  color: #ffffff !important;
}
.site-header nav .stamp-nav-badge {
  font-size: 10px;
  background: rgba(240, 197, 109, 0.2);
  color: var(--gold, #f0c56d);
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(240, 197, 109, 0.4);
}

/* ==========================================================================
   ⬆️ 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: 999;
  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: 20px;
    width: 44px;
    height: 44px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75), 0 0 16px rgba(93, 228, 255, 0.25);
  }
}

/* ==========================================================================
   📌 Common Numbered Step / Action Card (.step-block)
   ========================================================================== */
.step-block {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 18px 0;
}

.step-num {
  font-size: 20px;
  font-weight: 900;
  color: var(--cyan, #7eddf2);
  background: rgba(126, 221, 242, 0.12);
  border: 1px solid rgba(126, 221, 242, 0.3);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
}

.step-content p {
  font-size: 14px;
  color: var(--muted, #cbd5e1);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   🎭 Summon Story Universal Narrative Elements (Fallback & Core Integration)
   ========================================================================== */
.timeline-node {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 36px 0 20px;
  flex-wrap: wrap;
}

.timeline-node .node-badge {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: var(--node-bg, rgba(241, 194, 107, 0.14));
  border: 1px solid var(--node-border, rgba(241, 194, 107, 0.36));
  color: var(--node-color, #ffe1a4);
  white-space: normal;
  line-height: 1.4;
}

.timeline-node .node-line {
  flex: 1;
  min-width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--node-border, rgba(241, 194, 107, 0.36)), transparent);
}

.poetic-quote {
  position: relative;
  margin: 24px auto 0 !important;
  padding: 22px 28px;
  border-radius: 20px;
  text-align: center;
  background: var(--quote-bg, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--quote-border, rgba(255, 255, 255, 0.12));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  overflow-wrap: break-word;
}

.poetic-quote p {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.9;
  color: var(--quote-text, #f7f8fb);
  margin: 0;
}

