/* =========================================================
   宵月くれは — Links
   色・フォントはここ（:root）でまとめて変えられます
   ========================================================= */
:root {
  --night-950: #0b0a1a;
  --night-900: #0f0d22;
  --night-800: #1a1738;
  --night-700: #262150;
  --indigo-600: #3b3478;
  --indigo-400: #6f64b8;
  --text: #eeeafc;
  --text-dim: #b9b2da;

  --crimson-700: #8e1426;
  --crimson-600: #a8192e;
  --crimson-500: #c62a3f;
  --crimson-300: #f0a0ab;

  --moon-100: #fff6dc;
  --moon-200: #fbecc4;
  --moon-300: #f2d48e;

  --paper: #fbf8f1;
  --paper-2: #f3eee2;
  --paper-line: #e6dfcd;
  --ink: #1d1a36;
  --ink-dim: #625d7e;

  --radius-lg: 22px;
  --radius-md: 16px;

  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-mincho: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 夜空のグラデーション（iOSでも固定されるよう疑似要素で） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 640px at 12% 8%, rgba(111, 100, 184, 0.30), transparent 62%),
    radial-gradient(760px 640px at 92% 100%, rgba(168, 25, 46, 0.20), transparent 62%),
    linear-gradient(180deg, var(--night-950) 0%, var(--night-800) 58%, #241d4a 100%);
}

#sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { flex: none; }

:focus-visible {
  outline: 3px solid var(--moon-300);
  outline-offset: 3px;
  border-radius: 10px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------
   レイアウト
   --------------------------------------------------------- */
.page {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}

.column {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px calc(32px + env(safe-area-inset-bottom));
}

/* ---------------------------------------------------------
   立ち絵ステージ
   --------------------------------------------------------- */
.stage {
  position: relative;
  height: clamp(360px, 100vw, 520px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 98%);
          mask-image: linear-gradient(to bottom, #000 58%, transparent 98%);
}

.stage__moon {
  position: absolute;
  top: 26px;
  left: 50%;
  width: min(62vw, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-12%);
  background: radial-gradient(circle at 38% 36%, #fffbea 0%, var(--moon-200) 46%, var(--moon-300) 100%);
  box-shadow:
    0 0 60px 14px rgba(242, 212, 142, 0.28),
    0 0 180px 60px rgba(242, 212, 142, 0.12);
  animation: moon-glow 6s ease-in-out infinite alternate;
}

@keyframes moon-glow {
  to {
    box-shadow:
      0 0 80px 22px rgba(242, 212, 142, 0.36),
      0 0 220px 80px rgba(242, 212, 142, 0.16);
  }
}

.stage__copy {
  position: absolute;
  top: 28px;
  left: max(16px, calc(50% - 220px));
  margin: 0;
  writing-mode: vertical-rl;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.32em;
  color: var(--moon-100);
  text-shadow: 0 0 12px rgba(15, 13, 34, 0.9), 0 0 2px rgba(15, 13, 34, 0.9);
  z-index: 2;
}
.stage__copy span { display: block; }
.stage__copy span + span { margin-top: 2.2em; margin-right: 0.35em; }

.stage__art {
  position: absolute;
  top: 14px;
  left: 50%;
  width: min(108vw, 470px);
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 30px rgba(5, 4, 20, 0.55));
  animation: art-in 1.1s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes art-in {
  from { opacity: 0; translate: 0 24px; }
  to   { opacity: 1; translate: 0 0; }
}

/* ---------------------------------------------------------
   共有ボタン
   --------------------------------------------------------- */
.share-btn {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top));
  right: 14px;
  z-index: 20;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(15, 13, 34, 0.55);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: var(--moon-100);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.share-btn:hover { background: var(--paper); color: var(--ink); transform: translateY(-1px); }

/* ---------------------------------------------------------
   プロフィール
   --------------------------------------------------------- */
.profile {
  position: relative;
  z-index: 2;
  margin-top: -78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar {
  position: relative;
  width: 100px;
  height: 100px;
  padding: 4px;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--crimson-500), var(--moon-300), var(--indigo-400), var(--crimson-500));
  box-shadow: 0 10px 30px -8px rgba(5, 4, 20, 0.8);
  cursor: pointer;
  transition: transform .2s;
}
.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: radial-gradient(circle at 50% 30%, #4d4296, var(--night-700));
  border: 3px solid var(--night-900);
}
.avatar:hover { transform: scale(1.04) rotate(-2deg); }
.avatar.is-wiggle { animation: wiggle .5s ease; }
@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-8deg) scale(1.05); }
  60% { transform: rotate(6deg) scale(1.05); }
}

.bubble {
  position: relative;
  margin: 14px 0 0;
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--crimson-600);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  box-shadow: 0 6px 18px -8px rgba(5, 4, 20, 0.8);
}
.bubble::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--paper);
  border-radius: 2px;
  transform: translateX(-50%) rotate(45deg);
}
.bubble.is-pop { animation: pop .35s ease; }
@keyframes pop {
  0% { transform: scale(.9); }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.name {
  margin: 12px 0 0;
  font-weight: normal;
  line-height: 1.2;
}
.name__ja {
  display: block;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: clamp(34px, 10vw, 44px);
  letter-spacing: 0.14em;
  padding-left: 0.14em; /* letter-spacing の右余白と釣り合わせる */
  text-shadow: 0 2px 20px rgba(111, 100, 184, 0.5);
}
.name__en {
  display: block;
  margin-top: 6px;
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--moon-300);
}

.tagline {
  margin: 14px 0 0;
  padding: 3px 14px;
  border: 1px solid rgba(242, 212, 142, 0.4);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--moon-200);
}

.bio {
  margin: 16px 0 0;
  font-size: 14.5px;
  line-height: 2;
}
.bio strong { color: var(--crimson-300); }

.sns {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.sns a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.sns a:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   次の配信カード
   --------------------------------------------------------- */
.next {
  position: relative;
  margin-top: 28px;
  padding: 18px 20px 20px;
  overflow: hidden;
  border: 1px solid rgba(242, 212, 142, 0.28);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(64, 56, 130, 0.92), rgba(32, 27, 70, 0.92));
  box-shadow: 0 16px 40px -18px rgba(5, 4, 20, 0.9);
}
.next::after { /* 角の三日月 */
  content: "";
  position: absolute;
  top: -38px;
  right: -26px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: -18px 14px 0 0 rgba(242, 212, 142, 0.16);
  pointer-events: none;
}

.next__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.next__label {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.12em;
  color: var(--moon-300);
}
.next__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--crimson-500);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.next__live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .25; } }

.next__when {
  margin: 8px 0 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.next__platform {
  font-size: 13px;
  font-weight: 700;
  padding: 1px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}
.next__time {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.next__count {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}
.next__count b {
  font-family: var(--font-en);
  font-style: normal;
  font-weight: 600;
  font-size: 30px;
  color: var(--moon-100);
  margin: 0 2px 0 6px;
  letter-spacing: 0.02em;
}
.next__count b:first-child { margin-left: 4px; }

.next__go {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, background .2s;
}
.next__go:hover { transform: translateX(2px); background: #fff; }
.next__go[hidden], .next__count[hidden], .next__live[hidden] { display: none; }

/* ---------------------------------------------------------
   セクション見出し
   --------------------------------------------------------- */
.section { margin-top: 48px; scroll-margin-top: 24px; }

.heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-weight: normal;
}
.heading::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 4px;
  background: linear-gradient(90deg, rgba(242, 212, 142, 0.5), transparent);
}
.heading__moon { color: var(--moon-300); transform: rotate(-20deg); }
.heading__en {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  color: var(--moon-100);
  letter-spacing: 0.02em;
}
.heading__ja {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.16em;
}

.section__lead {
  margin: -6px 0 14px;
  font-size: 13px;
  color: var(--text-dim);
}
.inline-x { display: inline-block; vertical-align: -1px; margin: 0 1px; }

/* ---------------------------------------------------------
   リンクボタン
   --------------------------------------------------------- */
.links {
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* 長いラベルでカードが画面からはみ出さないように */
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link {
  --accent: var(--indigo-600);
  --on-accent: #fff;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 12px 14px 12px 12px;
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.9), inset 0 -3px 0 var(--paper-2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.9), 0 0 0 2px var(--moon-300), inset 0 -3px 0 var(--paper-2);
}
.link:active { transform: translateY(0); }

.link__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 13px;
  background: var(--accent);
  color: var(--on-accent);
}
.link__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}
.link__title {
  font-size: 16px;
  font-weight: 700;
}
.link__sub {
  font-size: 12.5px;
  color: var(--ink-dim);
  overflow-wrap: anywhere; /* 狭い画面では省略せず2行に折り返す */
}
.link__arrow {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: rgba(29, 26, 54, 0.07);
  transition: background .2s, color .2s, transform .2s;
}
.link:hover .link__arrow {
  background: var(--accent);
  color: var(--on-accent);
  transform: translateX(2px);
}

.link--yt      { --accent: var(--crimson-500); }
.link--iriam   { --accent: #6b55c9; }
.link--x       { --accent: #16141f; }
.link--booth   { --accent: var(--moon-300); --on-accent: var(--ink); }
.link--raidori { --accent: var(--indigo-600); }
.link--mallow  { --accent: #e98a9a; }

/* ---------------------------------------------------------
   時間割（ノート風）
   --------------------------------------------------------- */
.notebook {
  position: relative;
  padding: 16px 12px 12px 22px;
  border-radius: var(--radius-md);
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 13px, rgba(198, 42, 63, 0.45) 13px, rgba(198, 42, 63, 0.45) 15px, transparent 15px),
    repeating-linear-gradient(180deg, transparent 0 27px, var(--paper-line) 27px 28px),
    var(--paper);
  box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.9);
}

.timetable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 3px;
  table-layout: fixed;
  text-align: center;
}
.timetable thead th {
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: 15px;
  padding: 2px 0 6px;
  border-radius: 8px;
}
.timetable thead th:first-child { width: 64px; }
.timetable thead th[data-day="6"] { color: #3b5aa8; }
.timetable thead th[data-day="0"] { color: var(--crimson-600); }

.timetable tbody th {
  padding: 6px 0;
  text-align: left;
  font-weight: normal;
  line-height: 1.25;
}
.tt-time {
  display: block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.tt-pf {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
}

.timetable td {
  height: 52px;
  padding: 0;
  border-radius: 10px;
  vertical-align: middle;
}
.timetable .is-today {
  background: rgba(198, 42, 63, 0.10);
}
.timetable thead th.is-today {
  background: var(--crimson-500);
  color: #fff;
}

.stamp {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--crimson-500);
  border-radius: 50%;
  color: var(--crimson-500);
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: 9.5px;
  line-height: 1;
  letter-spacing: 0;
  transform: rotate(-12deg);
  box-shadow: inset 0 0 0 2px rgba(198, 42, 63, 0.18);
  background: rgba(255, 255, 255, 0.5);
}
.tt-none { color: #c3bca9; font-weight: 700; }

/* 勉強配信の付箋 */
.study-note {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 4px 6px 2px;
  padding: 12px 14px;
  border-radius: 4px 4px 16px 4px;
  background: linear-gradient(180deg, #fff4c7, #fbe9a6);
  color: var(--ink);
  transform: rotate(-1.2deg);
  box-shadow: 0 8px 16px -10px rgba(40, 30, 10, 0.55);
}
.study-note::before { /* マスキングテープ */
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 70px;
  height: 18px;
  transform: translateX(-50%) rotate(3deg);
  background: rgba(198, 42, 63, 0.24);
  border-left: 2px dashed rgba(255, 255, 255, 0.5);
  border-right: 2px dashed rgba(255, 255, 255, 0.5);
}
.study-note__icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  font-size: 22px;
}
.study-note__body {
  margin: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}
.study-note__time {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}
/* 文のまとまりごとに改行させる */
.study-note__time > * { display: inline-block; }
.study-note__time b {
  padding: 0 2px;
  color: var(--crimson-600);
  background: linear-gradient(transparent 58%, rgba(198, 42, 63, 0.2) 58%); /* 蛍光ペン */
}
.study-note__tag {
  font-size: 12px;
  color: var(--ink-dim);
}

.notebook__note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ink-dim);
}

/* ---------------------------------------------------------
   ハッシュタグ（しおり）
   --------------------------------------------------------- */
.tags {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag {
  display: flex;
  align-items: stretch;
  min-height: 52px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}
.tag__label {
  flex: none;
  width: 76px;
  display: grid;
  place-items: center;
  padding-right: 8px;
  background: var(--crimson-600);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  clip-path: polygon(0 0, 100% 0, 86% 50%, 100% 100%, 0 100%);
}
.tag__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px 10px 10px;
  border: 0;
  background: none;
  text-align: left;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s;
}
.tag__copy svg { color: var(--text-dim); }
.tag__copy:hover { background: rgba(255, 255, 255, 0.07); }
.tag__copy:hover svg { color: var(--moon-200); }
.tag__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag__x {
  flex: none;
  width: 48px;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-dim);
  transition: background .2s, color .2s;
}
.tag__x:hover { background: var(--paper); color: var(--ink); }

/* ---------------------------------------------------------
   ファン
   --------------------------------------------------------- */
.fans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fan-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 128px;
  margin: 0;
  padding: 16px 10px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.9), inset 0 -3px 0 var(--paper-2);
}
.fan-card p { margin: 0; }
.fan-card__key {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-dim);
  letter-spacing: 0.12em;
}
.fan-card__val {
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.fan-card__val--emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-weight: normal;
  letter-spacing: 0.1em;
}
.fan-card__hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--ink-dim);
}
.fan-card--btn {
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.fan-card--btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.9), 0 0 0 2px var(--moon-300), inset 0 -3px 0 var(--paper-2);
}

/* ---------------------------------------------------------
   フッター
   --------------------------------------------------------- */
.footer {
  margin-top: 56px;
  text-align: center;
}
.footer__chibi {
  width: 168px;
  margin: 0 auto;
  filter: drop-shadow(0 12px 20px rgba(5, 4, 20, 0.6));
  animation: float 4.5s ease-in-out infinite;
}
@keyframes float {
  50% { transform: translateY(-8px); }
}
.footer__msg {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 500;
}
.footer__msg a {
  color: var(--moon-200);
  text-decoration-color: rgba(242, 212, 142, 0.4);
  text-underline-offset: 3px;
}
.footer__copy {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-dim);
}

/* ---------------------------------------------------------
   トースト
   --------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 30;
  max-width: calc(100vw - 32px);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------
   スクロールでふわっと表示（JSが動くときだけ）
   --------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------
   PC：左に立ち絵、右にリンク
   --------------------------------------------------------- */
@media (min-width: 940px) {
  .page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    column-gap: 56px;
    padding: 0 40px;
  }

  .stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: visible;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .stage::after { /* 足もとの光 */
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2vh;
    width: 70%;
    height: 60px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(111, 100, 184, 0.45), transparent);
    filter: blur(6px);
    z-index: -1;
  }
  .stage__moon {
    top: 7vh;
    width: min(32vw, 420px);
    transform: translateX(-28%);
  }
  .stage__art {
    top: auto;
    bottom: 1vh;
    width: auto;
    height: min(96vh, 1000px);
  }
  .stage__copy {
    top: 10vh;
    left: 2%;
    font-size: 21px;
  }

  .column {
    max-width: none;
    padding: 72px 0 48px;
  }
  .profile { margin-top: 0; }
  .share-btn { top: 20px; right: 20px; }
}

/* ---------------------------------------------------------
   動きを減らす設定のとき
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
