:root {
  --mint-50: #f4fffb;
  --mint-100: #eafbf5;
  --mint-200: #d4f6eb;
  --mint-300: #a9ead8;
  --mint-400: #7fdcc3;
  --mint-500: #3fbfa0;
  --mint-600: #117d69;
  --pink: #ff8fbd;
  --pink-deep: #c83f78;
  --pink-soft: #ffd8e8;
  --gold: #f5c64f;
  --gold-deep: #9b6800;
  --gold-soft: #fff0b9;
  --night: #082c38;
  --night-deep: #031b29;
  --ink: #123238;
  --ink-soft: #45646a;
  --white: #fff;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 26px 80px rgba(18, 76, 69, .18);
  --shadow-game: 0 22px 0 rgba(6, 53, 67, .14), 0 35px 85px rgba(7, 42, 52, .24);
}

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

html,
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mint-50);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-family: inherit;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

::selection {
  background: var(--pink-soft);
  color: var(--night);
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1000;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--night);
  color: var(--white);
  transform: translateY(-180%);
  transition: transform .6s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.cloud-opening {
  display: none;
}

.js .cloud-opening {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: block;
  overflow: hidden;
  visibility: visible;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .96) 0 7%, rgba(255, 245, 224, .72) 19%, transparent 45%),
    linear-gradient(145deg, #fffdf6 0%, #fff2f5 42%, #eeeaff 72%, #effcf8 100%);
  cursor: progress;
  pointer-events: auto;
  touch-action: none;
}

.is-opening,
.is-opening body {
  overflow: hidden;
  overscroll-behavior: none;
}

.is-opening body {
  position: fixed;
  inset: 0;
  width: 100%;
}

.cloud-opening-atmosphere,
.cloud-opening-light {
  position: absolute;
  pointer-events: none;
}

.cloud-opening-atmosphere {
  inset: -12%;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, .88), transparent 22%),
    radial-gradient(circle at 83% 24%, rgba(255, 225, 240, .58), transparent 25%),
    radial-gradient(circle at 30% 83%, rgba(219, 213, 255, .58), transparent 27%),
    radial-gradient(circle at 70% 78%, rgba(233, 255, 247, .72), transparent 24%);
  filter: blur(2rem);
  opacity: .88;
  will-change: opacity, transform;
}

.cloud-opening-layer {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  will-change: opacity, transform, filter;
}

.cloud-opening-far {
  z-index: 1;
  filter: saturate(.9) brightness(1.03);
  transform-origin: center;
}

.cloud-opening-mid {
  z-index: 2;
  filter: saturate(.95) brightness(1.04);
  transform-origin: 48% 48%;
}

.cloud-opening-near {
  z-index: 3;
  filter: saturate(.98) brightness(1.05);
  transform-origin: 46% 54%;
}

.cloud-opening-light {
  top: 50%;
  left: 50%;
  border-radius: 50%;
  opacity: 0;
  transform: none;
  will-change: opacity, transform;
}

.cloud-opening-light-haze {
  z-index: 4;
  width: 58vmax;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, .94) 0 8%, rgba(255, 250, 226, .62) 20%, rgba(255, 235, 246, .25) 42%, transparent 68%);
  filter: blur(1.6rem);
}

.cloud-opening-light-core {
  z-index: 5;
  width: 12vmax;
  aspect-ratio: 1;
  background: radial-gradient(circle, #fff 0 24%, rgba(255, 255, 255, .98) 38%, rgba(255, 249, 228, .76) 58%, transparent 74%);
  box-shadow: 0 0 4rem 2rem rgba(255, 255, 255, .7);
}

.scene-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1rem, 2.5vw, 1.8rem) clamp(1rem, 5vw, 5rem);
}

.header-logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: .05em;
}

.header-logo {
  padding: .55rem .9rem;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 30px rgba(4, 28, 41, .14);
  backdrop-filter: blur(12px);
}

.logo-star {
  width: 1.65rem;
  height: 1.65rem;
  fill: var(--gold);
  filter: drop-shadow(0 3px 0 rgba(255, 143, 189, .38));
}

.header-nav {
  display: flex;
  align-items: center;
  gap: .2rem;
  padding: .35rem;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 999px;
  background: rgba(4, 28, 41, .76);
  box-shadow: 0 8px 30px rgba(4, 28, 41, .17);
  backdrop-filter: blur(12px);
}

.header-nav a {
  position: relative;
  padding: .5rem clamp(.65rem, 1.5vw, 1.1rem);
  border-radius: 999px;
  color: var(--white);
  font-family: "Avenir Next", "Century Gothic", system-ui, sans-serif;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .14em;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}

.header-nav a:hover,
.header-nav a:focus-visible {
  background: var(--white);
  color: var(--mint-600);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  min-height: 100svh;
  background: #c9f5ff;
}

.hero-scene {
  object-position: center top;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 27, 41, .63) 0%, rgba(3, 27, 41, .28) 38%, rgba(3, 27, 41, .02) 67%),
    linear-gradient(0deg, rgba(3, 27, 41, .3), transparent 30%);
}

.hero-stars,
.dive-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-stars {
  z-index: -1;
}

.hero-inner,
.section-inner {
  margin-inline: clamp(1rem, 5vw, 5rem);
}

.hero-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  align-self: center;
  gap: clamp(1rem, 4vw, 4rem);
  padding-block: clamp(6.5rem, 12svh, 8.5rem) clamp(1.5rem, 4svh, 3rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(1.35rem, 3vw, 2.5rem);
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(239, 255, 250, .88));
  box-shadow:
    inset 0 0 0 .35rem rgba(127, 220, 195, .12),
    var(--shadow-game);
  backdrop-filter: blur(15px);
}

.hero-copy::before,
.activity-heading::before,
.profile-card::before {
  content: "";
  position: absolute;
  top: -.5rem;
  left: 1.7rem;
  padding: .15rem 1rem;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint-500), var(--pink));
  box-shadow: 0 6px 16px rgba(3, 27, 41, .18);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1rem;
  color: var(--mint-600);
  font-family: "Avenir Next", "Century Gothic", system-ui, sans-serif;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.eyebrow i {
  width: 2.4rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0;
  color: var(--mint-500);
  font-size: clamp(3.15rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .08em;
  text-shadow:
    3px 3px 0 var(--white),
    6px 6px 0 rgba(255, 143, 189, .38);
}

.hero-logo-star {
  width: 3.45rem;
  height: 3.45rem;
  flex: none;
  fill: var(--gold);
  filter: drop-shadow(3px 4px 0 rgba(255, 143, 189, .32));
}

.hero-logo-star .star-inset {
  fill: var(--white);
}

.hero-catch {
  margin: 1.55rem 0 .85rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: .03em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 35em;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(.92rem, 1.15vw, 1.04rem);
  font-weight: 700;
  line-height: 1.9;
  text-wrap: pretty;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.7rem;
  padding: .55rem .65rem .55rem 1rem;
  border: 2px solid rgba(17, 125, 105, .18);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(18, 76, 69, .13);
  color: var(--mint-600);
  font-family: "Avenir Next", "Century Gothic", system-ui, sans-serif;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .15em;
  transition: box-shadow .6s var(--ease);
}

.intro-complete .hero-scroll,
html:not(.js) .hero-scroll {
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}

.hero-scroll svg {
  width: 2.35rem;
  height: 2.35rem;
  padding: .55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint-400), var(--mint-500));
  fill: none;
  stroke: var(--white);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-scroll:hover,
.hero-scroll:focus-visible {
  box-shadow: 0 13px 30px rgba(18, 76, 69, .18);
  transform: translateY(-.25rem);
}

.hero-hud {
  align-self: end;
  justify-self: end;
  display: grid;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 1rem;
  background: rgba(3, 27, 41, .72);
  box-shadow: 0 15px 40px rgba(3, 27, 41, .24);
  color: var(--white);
  font-family: "Avenir Next", "Century Gothic", system-ui, sans-serif;
  line-height: 1.25;
  backdrop-filter: blur(12px);
  transform: rotate(2deg);
}

.hero-hud span {
  color: var(--gold);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.hero-hud strong {
  font-size: .8rem;
  letter-spacing: .08em;
}

.hero-hud i {
  justify-self: end;
  margin-top: .45rem;
  padding: .12rem .5rem;
  border-radius: 999px;
  background: var(--pink);
  font-size: .55rem;
  font-style: normal;
  font-weight: 900;
}

.hero-burst {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-burst span {
  position: absolute;
  color: var(--gold);
  font-size: clamp(1rem, 2vw, 1.8rem);
  text-shadow: 0 0 14px rgba(255, 255, 255, .95);
}

.hero-burst span:nth-child(1) {
  top: 15%;
  left: 43%;
}

.hero-burst span:nth-child(2) {
  top: 30%;
  right: 4%;
  color: var(--pink);
}

.hero-burst span:nth-child(3) {
  right: 14%;
  bottom: 20%;
}

.hero-burst span:nth-child(4) {
  bottom: 16%;
  left: 48%;
  color: var(--mint-400);
}

.hero-burst span:nth-child(5) {
  top: 13%;
  right: 31%;
  color: var(--white);
}

.marquee {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-block: 2px solid rgba(255, 255, 255, .85);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .24), transparent 44%),
    linear-gradient(90deg, var(--mint-500), #55d8b9 48%, var(--pink));
  box-shadow: 0 0 28px rgba(255, 255, 255, .34);
  color: var(--white);
  transform: rotate(-1deg) scale(1.02);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transform-origin: center;
}

.marquee-track span {
  padding: .72rem 1.2rem;
  font-family: "Avenir Next", "Century Gothic", system-ui, sans-serif;
  font-size: clamp(.84rem, 1.3vw, 1.1rem);
  font-weight: 900;
  letter-spacing: .16em;
}

.marquee-track b {
  padding-inline: .5rem;
  color: var(--gold-soft);
}

.star-dive {
  position: relative;
  background: var(--night-deep);
}

.dive-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 100svh;
  background: var(--night);
  color: var(--white);
}

.dive-scene {
  z-index: -4;
  transform: scale(1.02);
}

.dive-scrim {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 50% 49%, transparent 0 22%, rgba(3, 27, 41, .05) 46%, rgba(3, 27, 41, .32) 100%),
    linear-gradient(rgba(14, 58, 69, .05), rgba(3, 27, 41, .2));
}

.dive-pastel {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, rgba(255, 216, 232, .12), rgba(127, 220, 195, .08));
  mix-blend-mode: screen;
}

.dive-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 29rem;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  box-shadow:
    0 0 0 3rem rgba(255, 255, 255, .035),
    0 0 0 7rem rgba(255, 255, 255, .022),
    0 0 8rem rgba(255, 255, 255, .46);
  transform: translate(-50%, -50%);
}

.dive-canvas {
  z-index: 1;
}

.streaks {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.streaks i {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: clamp(5rem, 12vw, 12rem);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .98));
  box-shadow: 0 0 16px rgba(255, 255, 255, .9);
  opacity: .82;
  transform: rotate(var(--r)) scaleX(.12);
  transform-origin: right center;
}

.dive-copy {
  position: relative;
  z-index: 3;
  max-width: 37em;
  margin-inline: auto;
  padding: 1.15rem clamp(1.25rem, 3vw, 2.3rem);
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 1.4rem;
  background: rgba(3, 27, 41, .7);
  box-shadow: 0 20px 55px rgba(3, 27, 41, .32);
  color: var(--white);
  text-align: center;
  backdrop-filter: blur(11px);
  transform: translateY(8rem);
}

.js .dive-copy {
  transform: none;
}

.dive-kicker {
  margin: 0 0 .45rem;
  color: var(--gold-soft);
  font-family: "Avenir Next", "Century Gothic", system-ui, sans-serif;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .2em;
}

.dive-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.625rem);
  font-weight: 900;
  letter-spacing: .08em;
  text-shadow: 0 0 24px rgba(127, 220, 195, .8);
}

.dive-copy > p:last-child {
  margin: .65rem 0 0;
  color: rgba(255, 255, 255, .88);
  font-weight: 700;
}

.dive-face {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: min(55vw, 31rem);
  transform: translate(-50%, -32%) scale(.68);
  opacity: 1;
}

.js .dive-face {
  transform: translate(-50%, -44%) scale(.15);
  opacity: 0;
}

.dive-face img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 45px rgba(3, 27, 41, .38));
  /* 透過PNGの下端(胴の切れ目)をぼかしてトンネルへ馴染ませる */
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 76%, transparent 98%);
}

.dive-halo {
  position: absolute;
  inset: 6%;
  border: 2px solid rgba(255, 234, 176, .72);
  border-radius: 50%;
  box-shadow:
    0 0 0 2rem rgba(127, 220, 195, .08),
    0 0 4rem rgba(255, 255, 255, .44);
}

.night-section {
  color: var(--white);
}

.profile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(7rem, 12vw, 11rem);
  background: var(--night);
}

.profile-scene {
  object-position: center;
}

.profile-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 27, 41, .36), rgba(3, 27, 41, .7) 52%, rgba(3, 27, 41, .84)),
    linear-gradient(0deg, rgba(3, 27, 41, .75), rgba(3, 27, 41, .18) 55%, rgba(3, 27, 41, .55));
}

.room-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 31%, rgba(255, 226, 133, .3), transparent 8%),
    radial-gradient(circle at 24% 23%, rgba(208, 247, 255, .3), transparent 7%),
    radial-gradient(circle at 45% 15%, rgba(255, 239, 160, .22), transparent 9%),
    radial-gradient(circle at 68% 20%, rgba(210, 230, 255, .15), transparent 17%);
  mix-blend-mode: screen;
}

.shooting-sky {
  position: absolute;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.room-sky-effects {
  top: 1%;
  left: 40%;
  width: 37%;
  height: 51%;
}

.room-star {
  position: absolute;
  width: .3rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 .35rem .14rem rgba(255, 255, 255, .8);
  animation: room-twinkle 3.8s ease-in-out infinite;
}

.room-star-one {
  top: 16%;
  left: 17%;
}

.room-star-two {
  top: 32%;
  left: 43%;
  animation-delay: -1.7s;
}

.room-star-three {
  top: 12%;
  right: 22%;
  animation-delay: -2.8s;
}

.room-star-four {
  top: 47%;
  right: 10%;
  animation-delay: -.9s;
}

.room-star-five {
  top: 58%;
  left: 22%;
  animation-delay: -3.2s;
}

.shooting-star {
  position: absolute;
  top: var(--shooting-y, 20%);
  left: var(--shooting-x, 12%);
  width: clamp(7rem, 12vw, 12rem);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .98));
  box-shadow: 0 0 .8rem rgba(255, 255, 255, .9);
  opacity: 0;
  transform: rotate(var(--shooting-angle, 18deg)) translateX(-18vw) scaleX(.25);
  transform-origin: right center;
}

.shooting-sky.is-shooting .shooting-star {
  animation: shooting-star 1.35s ease-in forwards;
}

@keyframes room-twinkle {
  0%,
  100% {
    opacity: .22;
    transform: scale(.58);
  }
  48% {
    opacity: 1;
    transform: scale(1.35);
  }
}

@keyframes shooting-star {
  0% {
    opacity: 0;
    transform: rotate(var(--shooting-angle, 18deg)) translateX(-18vw) scaleX(.25);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(var(--shooting-angle, 18deg)) translateX(58vw) scaleX(1.15);
  }
}

.profile-intro {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-heading {
  max-width: 43em;
}

.section-heading-center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 .65rem;
  color: var(--mint-600);
  font-family: "Avenir Next", "Century Gothic", system-ui, sans-serif;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .19em;
}

.section-heading-light .section-kicker {
  color: var(--gold-soft);
}

.section-heading h2,
.gift-content h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 2.625rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .05em;
  text-wrap: balance;
}

.section-heading > p:last-child {
  margin: .9rem 0 0;
  color: var(--ink-soft);
  font-weight: 700;
  text-wrap: pretty;
}

.section-heading-light > p:last-child {
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 2px 10px rgba(3, 27, 41, .9);
}

.profile-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}

.profile-portrait {
  position: relative;
  isolation: isolate;
  display: block;
  align-self: end;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  touch-action: manipulation;
}

.portrait-frame {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  border: 1.5px solid rgba(255, 224, 143, .94);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .18), rgba(127, 220, 195, .09) 48%, rgba(3, 27, 41, .2) 78%),
    rgba(7, 48, 61, .5);
  box-shadow:
    0 0 0 .45rem rgba(255, 255, 255, .055),
    0 0 2.8rem rgba(255, 224, 143, .22),
    0 2.2rem 4.8rem rgba(3, 27, 41, .34);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 .35rem rgba(255, 255, 255, .055),
    inset 0 0 2.2rem rgba(255, 226, 151, .13);
  pointer-events: none;
}

.profile-portrait:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: .5rem;
  border-radius: 50%;
}

.profile-portrait img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 45px rgba(3, 27, 41, .42));
  transition: transform .7s var(--ease), filter .7s var(--ease);
}

.profile-portrait:hover img {
  filter: drop-shadow(0 36px 55px rgba(3, 27, 41, .5));
  transform: translateY(-.35rem) rotate(-1deg);
}

.portrait-orbit {
  position: absolute;
  inset: 3%;
  z-index: 4;
  border: 1px solid rgba(255, 238, 184, .58);
  border-radius: 50%;
  box-shadow:
    0 0 1rem rgba(255, 238, 184, .23),
    inset 0 0 1.3rem rgba(255, 255, 255, .07);
  pointer-events: none;
}

.npc-talk-hint {
  position: absolute;
  top: 18%;
  right: 3%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 3.5rem;
  aspect-ratio: 1;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), #ffb8d5);
  box-shadow: 0 10px 25px rgba(3, 27, 41, .24);
  color: var(--white);
  font-family: "Avenir Next", system-ui, sans-serif;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .06em;
  transform: rotate(8deg);
}

.npc-dialogue {
  position: absolute;
  top: -.6rem;
  left: 12%;
  z-index: 5;
  max-width: min(22rem, 72%);
  padding: .62rem .95rem;
  border: 1px solid rgba(245, 198, 79, .88);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05)),
    rgba(3, 27, 41, .72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .36),
    0 0 0 .22rem rgba(255, 255, 255, .05),
    0 .85rem 2rem rgba(3, 27, 41, .3);
  color: var(--white);
  font-size: clamp(.82rem, 1.2vw, .95rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .02em;
  text-shadow: 0 .1rem .35rem rgba(3, 27, 41, .72);
  /* セリフは1行で出す(最長21文字が収まる幅を確保)。モバイルのみ折返し許可 */
  width: max-content;
  max-width: none;
  white-space: nowrap;
  backdrop-filter: blur(14px) saturate(1.14);
}

.npc-dialogue::before {
  content: "✦";
  margin-right: .42rem;
  color: var(--gold);
  font-size: .78em;
  text-shadow: 0 0 .7rem rgba(255, 231, 154, .9);
}

.profile-card {
  position: relative;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2.45rem);
  border: 2px solid rgba(255, 255, 255, .76);
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(7, 48, 61, .94), rgba(3, 27, 41, .9));
  box-shadow:
    inset 0 0 0 .35rem rgba(127, 220, 195, .09),
    var(--shadow-game);
  backdrop-filter: blur(14px);
}

.profile-card::before {
  background: linear-gradient(90deg, var(--gold), var(--pink));
}

.profile-card > div {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 1.2rem;
  padding-block: .92rem;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.profile-card > div:last-child {
  border-bottom: 0;
}

.profile-card .status-title {
  align-items: baseline;
  padding-top: .25rem;
  border-bottom-color: rgba(245, 198, 79, .48);
}

.profile-card dt {
  color: var(--mint-300);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.profile-card dd {
  margin: 0;
  color: var(--white);
  font-weight: 800;
  line-height: 1.65;
  text-wrap: pretty;
}

.no-break {
  white-space: nowrap;
}

.profile-card .status-title dt {
  color: var(--gold);
  font-family: "Avenir Next", system-ui, sans-serif;
  letter-spacing: .16em;
}

.profile-card .status-title dd {
  color: var(--gold-soft);
  font-family: "Avenir Next", system-ui, sans-serif;
  font-size: 1.08rem;
  letter-spacing: .12em;
}

.color-dot {
  display: inline-block;
  width: .85rem;
  height: .85rem;
  margin-right: .55rem;
  border: 2px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  background: var(--mint-400);
  box-shadow: 0 0 0 3px rgba(127, 220, 195, .18);
  vertical-align: -.05rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: clamp(4rem, 8vw, 7rem);
}

.stat-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid rgba(245, 198, 79, .78);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 233, 158, .14), transparent 36%),
    radial-gradient(circle at 88% 90%, rgba(255, 143, 189, .12), transparent 42%),
    linear-gradient(145deg, rgba(8, 53, 66, .9), rgba(11, 26, 51, .9));
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 203, .13),
    inset 0 0 2.8rem rgba(127, 220, 195, .08),
    0 18px 45px rgba(3, 27, 41, .27);
  backdrop-filter: blur(10px);
  transition: transform .8s var(--ease), border-color .8s var(--ease), box-shadow .8s var(--ease);
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 16% 24%, rgba(255, 255, 255, .78) 0 1px, transparent 1.7px),
    radial-gradient(circle at 74% 18%, rgba(255, 225, 136, .7) 0 1px, transparent 1.8px),
    radial-gradient(circle at 48% 78%, rgba(183, 255, 237, .62) 0 1px, transparent 1.8px);
  background-size: 3.8rem 3.4rem, 5.2rem 4.8rem, 6.1rem 5.6rem;
  opacity: .26;
  animation: stat-stars-twinkle 7.2s ease-in-out infinite;
  pointer-events: none;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 4.5rem;
  aspect-ratio: 1;
  border-radius: 100% 0 0;
  background: linear-gradient(135deg, transparent, rgba(255, 143, 189, .26));
}

.stat-card:hover {
  border-color: rgba(255, 224, 132, .98);
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 218, .2),
    inset 0 0 3.4rem rgba(127, 220, 195, .11),
    0 1.6rem 3.6rem rgba(3, 27, 41, .34),
    0 0 1.7rem rgba(245, 198, 79, .13);
  transform: translateY(-.45rem);
}

.stat-card p {
  position: relative;
  z-index: 2;
  margin: 0 0 .45rem;
  color: rgba(255, 255, 255, .86);
  font-size: .84rem;
  font-weight: 800;
}

.stat-card strong {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: .35rem;
  color: var(--white);
  font-family: "Avenir Next", "Century Gothic", system-ui, sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  font-variant-numeric: tabular-nums;
  line-height: .88;
  text-shadow: 0 0 24px rgba(127, 220, 195, .34);
}

.stat-card strong > span {
  display: inline-block;
  line-height: inherit;
}

.stat-card small {
  color: var(--mint-300);
  font-family: inherit;
  font-size: .88rem;
}

.stat-gem {
  position: absolute;
  top: .55rem;
  right: .7rem;
  z-index: 1;
  width: 4.35rem;
  height: 4.35rem;
  object-fit: contain;
  filter:
    drop-shadow(0 0 .7rem rgba(255, 255, 255, .52))
    drop-shadow(0 0 1rem rgba(255, 218, 111, .42));
  animation: gem-glimmer 6.8s ease-in-out infinite;
}

.stat-sparkle {
  top: -1.65rem;
  right: -1.55rem;
  width: 7.6rem;
  height: 7.6rem;
  animation-delay: -2.1s;
}

.stat-infinity strong span {
  font-size: 1.76em;
  line-height: .502;
  color: transparent;
  background: linear-gradient(100deg, var(--mint-300), #ff9fc6 55%, #ffd66e);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 1rem rgba(255, 180, 210, .32));
  transform: translateY(.025em);
}

@keyframes gem-glimmer {
  0%,
  100% {
    opacity: .72;
    transform: rotate(-6deg) scale(.92);
  }
  50% {
    opacity: 1;
    transform: rotate(7deg) scale(1.05);
  }
}

@keyframes stat-stars-twinkle {
  0%,
  100% {
    opacity: .18;
    transform: scale(.99);
  }
  50% {
    opacity: .46;
    transform: scale(1.015);
  }
}

.pastel-section {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 216, 232, .5), transparent 28%),
    linear-gradient(180deg, var(--mint-50), var(--white));
}

.activity,
.gallery,
.schedule,
.links {
  padding-block: clamp(6.5rem, 11vw, 10rem);
}

.activity {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: 100svh;
  padding-block: clamp(3rem, 7svh, 5rem);
  background: #99d8ff;
}

.activity-scene {
  z-index: -3;
}

.activity-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(3, 27, 41, .34), rgba(3, 27, 41, .08) 46%, rgba(3, 27, 41, .46)),
    radial-gradient(circle at 50% 50%, transparent, rgba(3, 27, 41, .24));
}

.activity-heading {
  position: relative;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 1.6rem;
  background: rgba(3, 27, 41, .78);
  box-shadow: 0 20px 55px rgba(3, 27, 41, .24);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.activity-heading::before {
  background: linear-gradient(90deg, var(--pink), var(--gold));
}

.activity-heading .section-kicker {
  color: var(--gold-soft);
}

.activity-heading > p:last-child {
  color: rgba(255, 255, 255, .9);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.activity-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.45rem, 3vw, 2.4rem);
  border: 3px solid rgba(255, 255, 255, .92);
  border-radius: 1.8rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .97), rgba(234, 251, 245, .93));
  box-shadow:
    inset 0 0 0 .35rem rgba(127, 220, 195, .13),
    0 20px 0 rgba(3, 27, 41, .12),
    0 34px 65px rgba(3, 27, 41, .22);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}

.activity-card::before {
  content: none;
}

.activity-card::after {
  content: "";
  position: absolute;
  inset: .4rem;
  border: 1px dashed rgba(17, 125, 105, .22);
  border-radius: 1.35rem;
  pointer-events: none;
}

.activity-card:hover {
  box-shadow:
    inset 0 0 0 .35rem rgba(127, 220, 195, .13),
    0 26px 0 rgba(3, 27, 41, .1),
    0 45px 80px rgba(3, 27, 41, .28);
  transform: translateY(-.75rem) rotate(-.7deg);
}

.card-sparkle {
  position: absolute;
  top: -.35rem;
  right: .35rem;
  width: 4.8rem;
  height: 4.8rem;
  object-fit: contain;
  filter: drop-shadow(0 0 .6rem rgba(255, 228, 133, .36));
  opacity: .74;
  transform: rotate(8deg);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 3.65rem;
  height: 3.65rem;
  margin-bottom: 1.4rem;
  transform: rotate(-4deg);
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 .45rem .55rem rgba(130, 80, 0, .2));
}

.activity-blog .card-icon img {
  filter: hue-rotate(286deg) saturate(.85) drop-shadow(0 .45rem .55rem rgba(130, 50, 90, .2));
}

.activity-guide .card-icon img {
  filter: hue-rotate(72deg) saturate(.8) drop-shadow(0 .45rem .55rem rgba(35, 115, 100, .2));
}

.card-number {
  position: absolute;
  top: 1.3rem;
  right: 1.55rem;
  z-index: 1;
  margin: 0;
  color: var(--mint-600);
  font-family: "Avenir Next", system-ui, sans-serif;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.activity-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 .65rem;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.activity-card > p:not(.card-number) {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.85;
  text-wrap: pretty;
}

.card-star {
  position: absolute;
  right: .7rem;
  bottom: .35rem;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  opacity: .68;
  transform: rotate(8deg);
  transition: transform .8s var(--ease);
}

.activity-card:hover .card-star {
  transform: rotate(100deg) scale(1.18);
}

.gallery {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 13% 22%, rgba(255, 255, 255, .72), transparent 22%),
    radial-gradient(circle at 85% 75%, rgba(255, 246, 206, .82), transparent 25%),
    linear-gradient(135deg, #d8fff3 0%, #ffe0ed 36%, #e9ddff 68%, #fff4cd 100%);
}

.gallery::before,
.gallery::after {
  content: none;
}

.gallery-sparkles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.gallery-sparkles img {
  position: absolute;
  width: clamp(2.8rem, 6vw, 5.8rem);
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 0 .8rem rgba(255, 255, 255, .82));
  animation: gallery-float 9s ease-in-out infinite;
}

.gallery-sparkles img:nth-child(1) {
  top: 9%;
  left: 3%;
}

.gallery-sparkles img:nth-child(2) {
  top: 31%;
  left: 14%;
  animation-delay: -5.8s;
}

.gallery-sparkles img:nth-child(3) {
  top: 66%;
  left: 5%;
  animation-delay: -2.4s;
}

.gallery-sparkles img:nth-child(4) {
  top: 78%;
  left: 28%;
  animation-delay: -7.2s;
}

.gallery-sparkles img:nth-child(5) {
  top: 14%;
  left: 45%;
  animation-delay: -3.7s;
}

.gallery-sparkles img:nth-child(6) {
  top: 72%;
  left: 52%;
  animation-delay: -1.1s;
}

.gallery-sparkles img:nth-child(7) {
  top: 24%;
  right: 22%;
  animation-delay: -6.5s;
}

.gallery-sparkles img:nth-child(8) {
  top: 58%;
  right: 12%;
  animation-delay: -4.4s;
}

.gallery-sparkles img:nth-child(9) {
  top: 8%;
  right: 4%;
  animation-delay: -2s;
}

.gallery-sparkles img:nth-child(10) {
  right: 3%;
  bottom: 5%;
  animation-delay: -7.9s;
}

@keyframes gallery-float {
  0%,
  100% {
    opacity: 0;
    transform: translateY(2.5rem) scale(.65) rotate(-8deg);
  }
  38%,
  62% {
    opacity: .75;
  }
  72% {
    opacity: .28;
    transform: translateY(-2.8rem) scale(1.08) rotate(9deg);
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: .9fr 1.08fr .9fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.8rem);
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-inline: clamp(0rem, 3vw, 3rem);
}

.polaroid {
  position: relative;
  margin: 0;
  background: transparent;
  perspective: 75rem;
  transition: transform .8s var(--ease);
  cursor: pointer;
  touch-action: manipulation;
}

.polaroid::after {
  content: none;
}

.polaroid-one {
  transform: rotate(-5deg) translateY(1rem);
}

.polaroid-two {
  transform: rotate(2deg) translateY(-1rem);
}

.polaroid-three {
  transform: rotate(6deg) translateY(1.5rem);
}

.polaroid:hover {
  z-index: 2;
  transform: rotate(0) translateY(-.6rem);
}

.polaroid:focus-visible {
  z-index: 3;
  outline: 4px solid var(--pink-deep);
  outline-offset: .5rem;
}

.gallery-image {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, var(--mint-100), var(--pink-soft));
}

.gallery-card-inner {
  position: relative;
  display: grid;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(.22, .85, .25, 1);
}

.gallery-card-face {
  position: relative;
  grid-area: 1 / 1;
  overflow: hidden;
  border-radius: 1.2rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.gallery-card-back > img,
.gallery-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card-back {
  background: #143d5d;
  box-shadow:
    0 5px 0 rgba(127, 220, 195, .24),
    0 25px 60px rgba(25, 105, 91, .22);
}

.gallery-card-back > img {
  position: absolute;
  inset: 0;
}

.gallery-card-back > img {
  filter: saturate(1.06) contrast(1.02);
}

.gallery-card-photo {
  display: grid;
  grid-template-rows: auto auto;
  padding: clamp(.7rem, 1.5vw, 1rem);
  border: 1px solid rgba(18, 50, 56, .1);
  background: var(--white);
  box-shadow:
    0 5px 0 rgba(127, 220, 195, .2),
    0 25px 60px rgba(25, 105, 91, .18);
  transform: rotateY(180deg);
}

.gallery-card-photo .gallery-image > img {
  filter: saturate(1.04) contrast(1.02);
}

.polaroid:hover .gallery-card-inner,
.polaroid.is-flipped .gallery-card-inner {
  transform: rotateY(180deg);
}

.polaroid figcaption {
  padding: .9rem .4rem .25rem;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.polaroid figcaption img {
  display: inline-block;
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
  vertical-align: -.42rem;
}

.schedule {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 80%, rgba(255, 143, 189, .2), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(127, 220, 195, .2), transparent 28%),
    linear-gradient(145deg, #0a3b4d, #061f35 58%, #211c51);
  color: var(--white);
}

.schedule::before {
  content: "";
  position: absolute;
  inset: 2rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 2.5rem;
  box-shadow: inset 0 0 5rem rgba(127, 220, 195, .07);
  pointer-events: none;
}

.schedule .section-kicker {
  color: var(--gold-soft);
}

.schedule .section-heading > p:last-child {
  color: rgba(255, 255, 255, .86);
}

.schedule-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.timeline {
  position: relative;
  margin: 0;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 2px solid rgba(196, 255, 238, .62);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 78% 10%, rgba(255, 255, 255, .12), transparent 20%),
    linear-gradient(145deg, rgba(10, 59, 77, .94), rgba(14, 28, 65, .94));
  box-shadow:
    inset 0 0 0 .35rem rgba(127, 220, 195, .06),
    0 2rem 5rem rgba(3, 12, 32, .38);
  backdrop-filter: blur(14px);
  list-style: none;
}

.timeline::before,
.timeline::after {
  content: none;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(4.6rem, 7vw, 5.8rem) 1fr;
  align-items: center;
  gap: 1.1rem;
  padding: 0 0 1.25rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.day {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, .84);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .96) 0 6%, transparent 18%),
    radial-gradient(circle at 42% 38%, #fff4ba, #e6ad25 58%, #956000);
  box-shadow:
    inset .35rem .45rem 1rem rgba(255, 255, 255, .34),
    inset -.45rem -.55rem 1rem rgba(91, 52, 0, .28),
    0 0 1.25rem rgba(245, 198, 79, .32),
    0 .6rem .8rem rgba(3, 12, 32, .32);
  color: #3f2800;
  font-size: .75rem;
  font-weight: 900;
  text-align: center;
}

.day::before {
  content: "";
  position: absolute;
  top: 17%;
  right: 19%;
  width: .48rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  box-shadow:
    0 0 .7rem .18rem rgba(255, 255, 255, .88),
    -.45rem .55rem 0 -.16rem rgba(255, 255, 255, .72);
}

.day::after {
  content: "";
  position: absolute;
  inset: .34rem;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: inherit;
}

.day b {
  position: relative;
  z-index: 1;
  padding: .15rem .3rem;
  color: inherit;
  font-size: inherit;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}

.timeline-item:nth-child(2) .day {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .96) 0 6%, transparent 18%),
    radial-gradient(circle at 42% 38%, #ffe3ef, #ec80ae 58%, #92325b);
  box-shadow:
    inset .35rem .45rem 1rem rgba(255, 255, 255, .34),
    inset -.45rem -.55rem 1rem rgba(88, 21, 56, .25),
    0 0 1.25rem rgba(255, 143, 189, .3),
    0 .6rem .8rem rgba(3, 12, 32, .32);
  color: #60203e;
}

.timeline-item:nth-child(3) .day {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .96) 0 6%, transparent 18%),
    radial-gradient(circle at 42% 38%, #dbfff5, #62cfb5 58%, #14735f);
  box-shadow:
    inset .35rem .45rem 1rem rgba(255, 255, 255, .34),
    inset -.45rem -.55rem 1rem rgba(6, 80, 64, .24),
    0 0 1.25rem rgba(127, 220, 195, .28),
    0 .6rem .8rem rgba(3, 12, 32, .32);
  color: #0b5648;
}

.timeline-item:nth-child(4) .day {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .96) 0 6%, transparent 18%),
    radial-gradient(circle at 42% 38%, #e9e8ff, #9d91ea 58%, #4b3a98);
  box-shadow:
    inset .35rem .45rem 1rem rgba(255, 255, 255, .34),
    inset -.45rem -.55rem 1rem rgba(43, 32, 104, .24),
    0 0 1.25rem rgba(169, 157, 246, .3),
    0 .6rem .8rem rgba(3, 12, 32, .32);
  color: #382b77;
}

.timeline-item > div {
  padding: .85rem 1.2rem 1rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 9px 25px rgba(3, 12, 32, .14);
}

.timeline-item strong {
  display: block;
  margin-bottom: .25rem;
  font-size: 1.03rem;
  font-weight: 900;
}

.timeline-item p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.7;
  word-break: keep-all;
  text-wrap: pretty;
}

.star-gift {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(7rem, 14vw, 12rem);
  background: var(--night-deep);
  color: var(--white);
  text-align: center;
}

.star-gift::before {
  content: none;
}

.gift-scene {
  z-index: -3;
  object-position: center;
}

.gift-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 45%, rgba(127, 220, 195, .12), transparent 28%),
    linear-gradient(rgba(3, 13, 37, .18), rgba(3, 18, 38, .68));
}

.gift-shooting-sky {
  inset: 0;
}

.gift-shooting-sky .shooting-star {
  width: clamp(10rem, 18vw, 18rem);
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(212, 255, 245, .48), #fff);
  box-shadow:
    0 0 .7rem rgba(255, 255, 255, 1),
    0 0 1.5rem rgba(127, 220, 195, .72);
}

.gift-shooting-sky .shooting-star::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: .55rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  box-shadow:
    0 0 .8rem .24rem rgba(255, 255, 255, .9),
    0 0 1.6rem .35rem rgba(127, 220, 195, .58);
  transform: translate(50%, -50%);
}

.gift-shooting-sky.is-shooting .shooting-star {
  animation-duration: 1.05s;
}

.gift-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.gift-orbit::before,
.gift-orbit::after {
  content: "";
  position: absolute;
  width: .82rem;
  aspect-ratio: 1;
  background: var(--white);
  clip-path: polygon(50% 0, 59% 39%, 100% 50%, 59% 61%, 50% 100%, 41% 61%, 0 50%, 41% 39%);
  filter:
    drop-shadow(0 0 .35rem rgba(255, 255, 255, 1))
    drop-shadow(0 0 .9rem rgba(245, 198, 79, .72));
  animation: gift-star-twinkle 2.8s ease-in-out infinite;
}

.gift-orbit-one::before {
  top: 6%;
  right: 18%;
  animation-delay: -.6s;
}

.gift-orbit-one::after {
  bottom: 4%;
  left: 24%;
  width: .6rem;
  animation-delay: -2.1s;
}

.gift-orbit-two {
  width: 48rem;
}

.gift-orbit-two::before {
  top: 21%;
  left: 2%;
  width: 1rem;
  animation-delay: -1.4s;
}

.gift-orbit-two::after {
  right: 5%;
  bottom: 26%;
  width: .7rem;
  animation-delay: -2.5s;
}

@keyframes gift-star-twinkle {
  0%,
  100% {
    opacity: .08;
    transform: scale(.28) rotate(0);
    filter:
      drop-shadow(0 0 .1rem rgba(255, 255, 255, .25))
      drop-shadow(0 0 .2rem rgba(245, 198, 79, .18));
  }
  46% {
    opacity: 1;
    transform: scale(1.35) rotate(45deg);
    filter:
      drop-shadow(0 0 .45rem rgba(255, 255, 255, 1))
      drop-shadow(0 0 1.25rem rgba(245, 198, 79, .82));
  }
}

.gift-content {
  position: relative;
  z-index: 1;
}

.gift-content .section-kicker {
  color: var(--gold-soft);
}

.gift-content h2 {
  max-width: 25em;
  margin-inline: auto;
  color: var(--white);
  text-shadow: 0 4px 24px rgba(3, 27, 41, .55);
}

.gift-lead {
  max-width: 38em;
  margin: 1.1rem auto 2rem;
  color: rgba(255, 255, 255, .88);
  font-weight: 700;
  text-wrap: balance;
}

.star-button {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: .1rem;
  overflow: hidden;
  padding: 1.05rem 1.8rem;
  border: 2px solid #fff4c8;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .78), transparent 42%),
    linear-gradient(135deg, #e5ad1f, #ffe996 48%, #d99a00);
  box-shadow:
    inset 0 -5px 10px rgba(122, 76, 0, .16),
    0 0 0 .5rem rgba(245, 198, 79, .12),
    0 20px 50px rgba(3, 27, 41, .42);
  color: #513806;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  touch-action: manipulation;
}

.star-button::after {
  content: "";
  position: absolute;
  top: -70%;
  bottom: -70%;
  left: -30%;
  width: 18%;
  background: rgba(255, 255, 255, .72);
  filter: blur(2px);
  transform: rotate(18deg);
  transition: transform .8s var(--ease);
}

.star-button:hover::after,
.star-button:focus-visible::after {
  transform: translateX(46rem) rotate(18deg);
}

.star-button:hover,
.star-button:focus-visible {
  box-shadow:
    inset 0 -5px 10px rgba(122, 76, 0, .14),
    0 0 0 .7rem rgba(245, 198, 79, .16),
    0 28px 65px rgba(3, 27, 41, .48);
}

.star-button:focus-visible {
  outline: 4px solid var(--pink);
  outline-offset: .45rem;
}

.star-button small {
  font-family: "Avenir Next", system-ui, sans-serif;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
  opacity: .78;
}

.star-button small b {
  font-size: inherit;
}

.gift-thanks {
  margin: 1rem 0 0;
  color: var(--mint-200);
  font-size: .82rem;
  font-weight: 800;
}

.physics-star,
.cursor-star {
  position: fixed;
  z-index: 999;
  width: 1rem;
  height: 1rem;
  pointer-events: none;
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
  text-shadow: 0 0 9px currentColor;
}

.cursor-star {
  z-index: 998;
  animation: cursor-sparkle .7s var(--ease) forwards;
}

@keyframes cursor-sparkle {
  from {
    opacity: .9;
    transform: translate(-50%, -50%) scale(.9) rotate(0);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -1.8rem) scale(.15) rotate(90deg);
  }
}

.milestone-celebration {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.milestone-celebration::before {
  content: "";
  width: min(72vw, 34rem);
  aspect-ratio: 1;
  border: 3px solid rgba(255, 240, 185, .82);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .38), rgba(245, 198, 79, .08) 45%, transparent 70%);
  box-shadow: 0 0 6rem rgba(245, 198, 79, .72);
}

.milestone-celebration strong {
  position: absolute;
  padding: .75rem 1.2rem;
  border: 3px solid var(--white);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--gold));
  box-shadow: 0 14px 40px rgba(3, 27, 41, .35);
  color: var(--white);
  font-family: "Avenir Next", system-ui, sans-serif;
  font-size: clamp(1.15rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: .08em;
  text-shadow: 0 2px 6px rgba(3, 27, 41, .28);
}

.links {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #d9e9ff;
}

.links::before,
.links::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(18rem, 36vw, 36rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  box-shadow:
    inset 0 0 5rem rgba(255, 255, 255, .18),
    0 0 5rem rgba(176, 216, 255, .18);
  pointer-events: none;
}

.links::before {
  top: -18%;
  left: -10%;
}

.links::after {
  right: -8%;
  bottom: -25%;
}

.links-scene {
  z-index: -3;
  object-position: center;
}

.links-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 249, 244, .42)),
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .08), transparent 54%);
}

.links .section-inner {
  position: relative;
  z-index: 1;
}

.links .section-heading {
  position: relative;
  padding: clamp(1.8rem, 4vw, 3.2rem) clamp(1.4rem, 4vw, 3.4rem);
  border: 2px solid rgba(255, 255, 255, .88);
  border-radius: 2.4rem;
  background:
    radial-gradient(circle at 16% 15%, rgba(212, 255, 244, .72), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(255, 216, 232, .68), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .58));
  box-shadow:
    inset 0 0 0 .4rem rgba(255, 255, 255, .2),
    inset 0 -2.2rem 4rem rgba(148, 153, 232, .08),
    0 2rem 6rem rgba(45, 58, 121, .22);
  backdrop-filter: blur(22px) saturate(1.2);
}

.links .section-heading::before,
.links .section-heading::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: clamp(3.1rem, 6vw, 5rem);
  aspect-ratio: 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 0 1rem rgba(255, 255, 255, .9));
  pointer-events: none;
}

.links .section-heading::before {
  top: -1.6rem;
  left: clamp(.7rem, 4vw, 3rem);
  background-image: url("gem-star.webp");
  transform: rotate(-12deg);
}

.links .section-heading::after {
  right: clamp(.6rem, 3vw, 2rem);
  bottom: -1.8rem;
  background-image: url("sparkle.webp");
  transform: rotate(9deg);
}

.links .section-kicker {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: .35rem .8rem;
  border: 1px solid rgba(115, 75, 146, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  color: #734b92;
  box-shadow: 0 .45rem 1.2rem rgba(75, 63, 133, .1);
}

.links .section-heading h2 {
  position: relative;
  z-index: 2;
  margin-top: .45rem;
  color: #20324d;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, .84),
    0 0 1.4rem rgba(255, 255, 255, .88);
}

.links .section-heading h2::after {
  content: "";
  display: block;
  width: clamp(5rem, 12vw, 8rem);
  height: .25rem;
  margin: 1rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint-400), var(--gold), var(--pink));
  box-shadow: 0 0 1rem rgba(255, 255, 255, .95);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.link-card {
  --link-accent: 63, 191, 160;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.15rem;
  overflow: hidden;
  padding: clamp(1.35rem, 2.2vw, 1.8rem) clamp(1.15rem, 2vw, 1.55rem);
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at 12% 8%, rgba(var(--link-accent), .2), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .58));
  box-shadow:
    inset 0 0 0 .35rem rgba(255, 255, 255, .18),
    inset 0 -1.8rem 3rem rgba(var(--link-accent), .08),
    0 1.8rem 4.5rem rgba(48, 55, 110, .22);
  backdrop-filter: blur(20px) saturate(1.18);
  transition: transform .7s var(--ease), border-color .7s var(--ease), box-shadow .7s var(--ease);
}

.link-card:nth-child(2) {
  --link-accent: 255, 143, 189;
}

.link-card:nth-child(3) {
  --link-accent: 245, 198, 79;
}

.link-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 14%;
  left: 14%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .98), transparent);
  box-shadow: 0 0 1rem rgba(255, 255, 255, .9);
}

.link-card:hover,
.link-card:focus-visible {
  border-color: rgba(255, 255, 255, 1);
  box-shadow:
    inset 0 0 0 .4rem rgba(255, 255, 255, .28),
    inset 0 -1.8rem 3rem rgba(var(--link-accent), .12),
    0 2.5rem 6rem rgba(48, 55, 110, .32),
    0 0 2rem rgba(var(--link-accent), .18);
  transform: translateY(-.7rem) scale(1.015);
}

.link-sparkle {
  position: absolute;
  top: -1.2rem;
  right: -.65rem;
  width: 5.8rem;
  height: 5.8rem;
  object-fit: contain;
  opacity: .82;
  filter: drop-shadow(0 0 .8rem rgba(255, 255, 255, .82));
  transform: rotate(7deg);
  transition: transform .7s var(--ease), opacity .7s var(--ease);
  animation: link-gem-glow 3.2s ease-in-out infinite;
}

@keyframes link-gem-glow {
  0%,
  100% {
    opacity: .66;
    filter: drop-shadow(0 0 .4rem rgba(255, 255, 255, .62));
  }
  50% {
    opacity: 1;
    filter:
      drop-shadow(0 0 .9rem rgba(255, 255, 255, 1))
      drop-shadow(0 0 1.4rem rgba(var(--link-accent), .42));
  }
}

.link-card:hover .link-sparkle,
.link-card:focus-visible .link-sparkle {
  opacity: 1;
  transform: rotate(28deg) scale(1.12);
}

.link-gem {
  top: -.8rem;
  right: 4.25rem;
  width: 4.8rem;
  height: 4.8rem;
}

.link-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.65rem;
  height: 3.65rem;
  border: 2px solid rgba(255, 255, 255, .86);
  border-radius: 1.2rem;
  background: linear-gradient(145deg, #effff9, #b9f1e1);
  box-shadow:
    inset .25rem .3rem .7rem rgba(255, 255, 255, .72),
    inset -.25rem -.35rem .8rem rgba(24, 133, 107, .14),
    0 .7rem 1.5rem rgba(45, 93, 94, .18);
  color: var(--mint-600);
  font-family: "Avenir Next", system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  transform: rotate(-3deg);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}

.link-card:nth-child(2) .link-mark {
  background: linear-gradient(145deg, #fff2f8, #ffc8df);
  color: var(--pink-deep);
}

.link-card:nth-child(3) .link-mark {
  background: linear-gradient(145deg, #fff9df, #ffe186);
  color: var(--gold-deep);
}

.link-card:hover .link-mark,
.link-card:focus-visible .link-mark {
  box-shadow:
    inset .25rem .3rem .7rem rgba(255, 255, 255, .82),
    0 1rem 2rem rgba(var(--link-accent), .28);
  transform: rotate(4deg) translateY(-.15rem);
}

.link-mark svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: currentColor;
}

.link-card small,
.link-card strong {
  position: relative;
  z-index: 1;
  display: block;
}

.link-card small {
  color: var(--ink-soft);
  font-size: .68rem;
  font-weight: 800;
}

.link-card strong {
  margin-top: .12rem;
  font-size: 1.12rem;
  font-weight: 900;
}

.link-card > svg {
  position: relative;
  z-index: 1;
  width: 2.35rem;
  height: 2.35rem;
  padding: .52rem;
  border: 1px solid rgba(var(--link-accent), .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .58);
  fill: none;
  stroke: var(--mint-600);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-footer {
  display: block;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.2rem, 5vw, 5rem);
  padding-bottom: calc(clamp(2rem, 5vw, 4rem) + 3.4rem);
  background: var(--white);
  color: var(--ink-soft);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: .74rem;
  font-weight: 700;
  text-align: center;
}

/* 共有スクリプトが注入する汎用CTAはこの作例では非表示にし、専用CTAを使用する。 */
.template-request-button {
  display: none !important;
}

.gacha-cta {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  padding: .72em 1.2em;
  border: 2px solid rgba(255, 255, 255, .86);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 50%),
    linear-gradient(90deg, var(--mint-500), #35a993);
  box-shadow:
    0 0 0 .28rem rgba(127, 220, 195, .13),
    0 14px 34px rgba(10, 30, 28, .32);
  color: var(--white);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .03em;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}

.gacha-cta:hover,
.gacha-cta:focus-visible {
  box-shadow:
    0 0 0 .4rem rgba(255, 143, 189, .16),
    0 20px 45px rgba(10, 30, 28, .38);
  transform: translateY(-.3rem) rotate(-1deg);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .hero-copy {
    padding: 1.35rem;
  }

  .hero-catch {
    font-size: clamp(1.7rem, 3.8vw, 2.25rem);
  }

  .profile-layout {
    gap: 2rem;
  }

  .activity-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .activity {
    padding-block: clamp(3rem, 6svh, 4rem);
  }

  .activity-grid {
    gap: .85rem;
    margin-top: clamp(1.5rem, 3svh, 2.5rem);
  }

  .activity-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: .1rem 1.2rem;
  }

  .activity-card .card-icon {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .activity-card h3 {
    margin: 0;
  }

  .activity-card > p:not(.card-number) {
    grid-column: 2;
  }

  .link-card {
    padding-inline: clamp(1.2rem, 3vw, 2rem);
  }

  .schedule-layout {
    gap: 3rem;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: .85rem 4vw;
  }

  .header-logo {
    padding: .45rem .7rem;
    font-size: 1rem;
  }

  .logo-star {
    width: 1.35rem;
    height: 1.35rem;
  }

  .header-nav {
    gap: 0;
    padding: .25rem;
  }

  .header-nav a {
    padding: .42rem .55rem;
    font-size: .6rem;
  }

  .header-nav a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-scene {
    object-position: 70% top;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(3, 27, 41, .66) 0%, rgba(3, 27, 41, .08) 62%, rgba(3, 27, 41, .25)),
      linear-gradient(90deg, rgba(3, 27, 41, .12), transparent);
  }

  .hero-inner {
    display: block;
    margin-inline: 1rem;
    align-self: end;
    padding-block: clamp(15rem, 42svh, 19rem) 1rem;
  }

  .hero-copy {
    padding: 1.25rem;
    border-radius: 1.5rem;
    text-align: center;
  }

  .eyebrow,
  .hero-logo,
  .hero-scroll {
    justify-content: center;
  }

  .eyebrow i {
    display: none;
  }

  .hero-logo {
    font-size: clamp(2.8rem, 14vw, 3.45rem);
  }

  .hero-logo-star {
    width: 2.9rem;
    height: 2.9rem;
  }

  .hero-catch {
    margin-top: 1.25rem;
    font-size: clamp(1.72rem, 8.5vw, 2.15rem);
  }

  .hero-lead {
    margin-inline: auto;
    max-width: 26em;
    line-height: 1.78;
  }

  .hero-lead br {
    display: none;
  }

  .hero-scroll {
    margin-top: 1.35rem;
  }

  .hero-hud {
    display: none;
  }

  .hero-burst span:nth-child(1) {
    left: 11%;
  }

  .hero-burst span:nth-child(4) {
    left: 7%;
  }

  .marquee-track span {
    padding-block: .62rem;
  }

  .dive-glow {
    width: 20rem;
  }

  .dive-copy {
    max-width: calc(100% - 2rem);
  }

  .dive-copy > p:last-child {
    font-size: .84rem;
  }

  .dive-face {
    width: min(92vw, 28rem);
  }

  .profile {
    padding-block: 6.5rem;
  }

  .profile-scrim {
    background: linear-gradient(rgba(3, 27, 41, .68), rgba(3, 27, 41, .9));
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .npc-dialogue {
    top: -.4rem;
    left: 4%;
    width: auto;
    max-width: 94%;
    font-size: .82rem;
    white-space: normal;
    text-wrap: balance;
  }

  .profile-card > div {
    grid-template-columns: 1fr;
    gap: .2rem;
    padding-block: .8rem;
  }

  .profile-card .status-title {
    grid-template-columns: auto 1fr;
  }

  .profile-card dt {
    font-size: .7rem;
  }

  .stats {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .stat-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .stat-card p {
    margin: 0;
  }

  .stat-card strong {
    grid-row: 1;
    grid-column: 2;
    font-size: 2.75rem;
    /* 右上の宝石装飾と数字が重ならないよう逃がす */
    padding-right: 2.6rem;
  }

  .stat-gem,
  .stat-sparkle {
    top: .45rem;
    right: .45rem;
    width: 3rem;
    height: 3rem;
  }

  .stat-sparkle {
    top: -.9rem;
    right: -.9rem;
    width: 5rem;
    height: 5rem;
  }

  .stat-card > i {
    display: none;
  }

  .activity,
  .gallery,
  .schedule,
  .links {
    padding-block: 6.5rem;
  }

  .activity {
    min-height: 100svh;
    padding-block: 2.8rem;
  }

  .activity-grid {
    gap: .7rem;
    margin-top: 1.35rem;
  }

  .section-heading {
    text-align: center;
  }

  .activity-card {
    grid-template-columns: auto 1fr;
    padding: .95rem 1.1rem;
  }

  .activity-card .card-icon {
    width: 3.2rem;
    height: 3.2rem;
  }

  .activity-card > p:not(.card-number) {
    font-size: .86rem;
    line-height: 1.65;
  }

  .activity-heading {
    padding: 1.15rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-inline: 1rem;
  }

  .polaroid-one,
  .polaroid-two,
  .polaroid-three {
    transform: rotate(0);
  }

  .gallery-image {
    aspect-ratio: 1 / 1;
  }

  .polaroid-one .gallery-image img {
    object-position: center 12%;
  }

  .schedule::before {
    inset: 1rem;
  }

  .schedule-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .timeline-item {
    grid-template-columns: 4.5rem 1fr;
    gap: .7rem;
  }

  .timeline-item > div {
    padding: .75rem .85rem .9rem;
  }

  .timeline-item p {
    font-size: .78rem;
    text-wrap: balance;
  }

  .gift-content h2 {
    font-size: clamp(1.82rem, 8vw, 2.3rem);
  }

  .gift-content h2 br {
    display: none;
  }

  .gift-orbit-one {
    width: 23rem;
  }

  .gift-orbit-two {
    width: 34rem;
  }

  .star-button {
    grid-template-columns: 1fr;
    padding-inline: 1.4rem;
    font-size: .91rem;
  }

  .link-card {
    padding: 1rem;
  }

  .site-footer {
    text-align: center;
  }

  .site-footer p {
    text-align: center;
  }

  .gacha-cta {
    max-width: calc(100% - 2rem);
    font-size: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .cloud-opening {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .dive-pastel {
    opacity: 0;
  }

  .js .dive-copy {
    opacity: 1;
    transform: translateY(8rem);
  }

  .js .dive-face {
    opacity: 1;
    transform: translate(-50%, -32%) scale(.68);
  }

  .streaks i {
    opacity: .48;
    transform: rotate(var(--r)) scaleX(1);
  }

  .shooting-star {
    display: none;
  }

  .room-star {
    opacity: .7;
    transform: none;
  }

  .gallery-sparkles img {
    opacity: .42;
    transform: none;
  }

  .gallery-card-inner {
    transform: rotateY(180deg);
  }
}

html:not(.js) .gallery-card-inner {
  transform: rotateY(180deg);
}

/* v6 quality sweep */
.schedule::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, .9) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 36%, rgba(245, 198, 79, .8) 0 1px, transparent 2px),
    radial-gradient(circle at 44% 76%, rgba(127, 220, 195, .7) 0 1px, transparent 2px);
  background-size: 3.7rem 3.7rem, 5.3rem 5.3rem, 6.4rem 6.4rem;
  opacity: .44;
  animation: schedule-sky-twinkle 4.8s ease-in-out infinite;
  pointer-events: none;
}

.schedule .section-inner {
  position: relative;
  z-index: 1;
}

.timeline {
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid transparent;
  background:
    linear-gradient(145deg, rgba(11, 54, 72, .88), rgba(18, 27, 66, .9)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(127, 220, 195, .42) 42%, rgba(255, 143, 189, .38) 72%, rgba(245, 198, 79, .78)) border-box;
  box-shadow:
    inset 0 0 0 .35rem rgba(255, 255, 255, .035),
    inset 0 0 5rem rgba(127, 220, 195, .06),
    0 2rem 5rem rgba(3, 12, 32, .42);
}

.timeline::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, .86) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 18%, rgba(245, 198, 79, .76) 0 1px, transparent 2px),
    radial-gradient(circle at 56% 82%, rgba(255, 255, 255, .66) 0 1px, transparent 2px);
  background-size: 2.6rem 2.6rem, 4.2rem 4.2rem, 5.8rem 5.8rem;
  opacity: .32;
  animation: quest-board-twinkle 3.9s ease-in-out infinite;
  pointer-events: none;
}

.timeline::after {
  content: none;
}

.timeline-item {
  grid-template-columns: clamp(5.3rem, 7vw, 6.3rem) 1fr;
  gap: clamp(.8rem, 1.5vw, 1.2rem);
  margin-bottom: .8rem;
  padding: clamp(.65rem, 1vw, .85rem);
  border: 1px solid transparent;
  border-radius: 1.4rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .065)) padding-box,
    linear-gradient(115deg, rgba(255, 255, 255, .58), rgba(127, 220, 195, .22) 52%, rgba(245, 198, 79, .4)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 .8rem 2rem rgba(3, 12, 32, .16);
  backdrop-filter: blur(12px) saturate(1.08);
}

.timeline-item:last-child {
  margin-bottom: 0;
  padding-bottom: clamp(.65rem, 1vw, .85rem);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: -.45rem;
  right: .8rem;
  width: 2.6rem;
  aspect-ratio: 1;
  background: url("sparkle.webp") center / contain no-repeat;
  filter: drop-shadow(0 0 .6rem rgba(255, 255, 255, .9));
  opacity: 0;
  transform: translateX(-1.4rem) scale(.25) rotate(-20deg);
  pointer-events: none;
}

.timeline-item.is-revealed::after {
  animation: timeline-item-spark .9s var(--ease) both;
}

.timeline-item > div {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.day,
.timeline-item:nth-child(2) .day,
.timeline-item:nth-child(3) .day,
.timeline-item:nth-child(4) .day {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--white);
}

.day::before,
.day::after {
  content: none;
}

.day img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 .7rem .7rem rgba(3, 12, 32, .28))
    drop-shadow(0 0 .65rem rgba(255, 255, 255, .2));
  animation: schedule-icon-float 3.8s ease-in-out infinite;
  transition: filter .65s var(--ease), transform .65s var(--ease);
}

.timeline-item:nth-child(2) .day img {
  animation-delay: -.9s;
}

.timeline-item:nth-child(3) .day img {
  animation-delay: -1.8s;
}

.timeline-item:nth-child(4) .day img {
  animation-delay: -2.7s;
}

.day b {
  position: absolute;
  top: -.3rem;
  left: -.15rem;
  z-index: 2;
  padding: .22rem .55rem;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  background: rgba(3, 27, 41, .76);
  box-shadow: 0 .45rem 1rem rgba(3, 12, 32, .28);
  color: var(--white);
  font-family: "Avenir Next", "Century Gothic", system-ui, sans-serif;
  font-size: .58rem;
  line-height: 1.25;
  letter-spacing: .08em;
  text-shadow: none;
  backdrop-filter: blur(8px);
}

.timeline-item:hover .day img {
  animation-play-state: paused;
  filter:
    drop-shadow(0 1rem .9rem rgba(3, 12, 32, .3))
    drop-shadow(0 0 1rem rgba(255, 255, 255, .48));
  transform: translateY(-.35rem) rotate(2deg) scale(1.055);
}

@keyframes schedule-sky-twinkle {
  0%,
  100% {
    opacity: .3;
  }
  50% {
    opacity: .62;
  }
}

@keyframes quest-board-twinkle {
  0%,
  100% {
    opacity: .2;
  }
  55% {
    opacity: .46;
  }
}

@keyframes schedule-icon-float {
  0%,
  100% {
    transform: translateY(.12rem) rotate(-1deg);
  }
  50% {
    transform: translateY(-.3rem) rotate(1deg);
  }
}

@keyframes timeline-item-spark {
  0% {
    opacity: 0;
    transform: translateX(-1.4rem) scale(.25) rotate(-20deg);
  }
  38% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(.55rem) scale(1.15) rotate(22deg);
  }
}

.links .section-inner::before,
.links .section-inner::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 8rem;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 18% 28%, rgba(245, 198, 79, .95) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, .95) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 68%, rgba(245, 198, 79, .72) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 82% 78%, rgba(255, 255, 255, .86) 0 2px, transparent 3px);
  filter: drop-shadow(0 0 .55rem rgba(245, 198, 79, .45));
  pointer-events: none;
}

.links .section-inner::before {
  top: 1rem;
  left: 2%;
}

.links .section-inner::after {
  top: 6rem;
  right: 1%;
  transform: rotate(32deg);
}

.link-card {
  isolation: isolate;
}

.link-card::after {
  content: "";
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -38%;
  z-index: 0;
  width: 18%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .74), transparent);
  filter: blur(2px);
  transform: rotate(16deg);
  transition: transform .95s var(--ease);
  pointer-events: none;
}

.link-card:hover::after,
.link-card:focus-visible::after {
  transform: translateX(48rem) rotate(16deg);
}

.link-mark,
.link-card:nth-child(2) .link-mark,
.link-card:nth-child(3) .link-mark {
  width: clamp(4.8rem, 6.2vw, 6rem);
  height: auto;
  aspect-ratio: 1;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: link-icon-float 4.2s ease-in-out infinite;
}

.link-card:nth-child(2) .link-mark {
  animation-delay: -1.4s;
}

.link-card:nth-child(3) .link-mark {
  animation-delay: -2.8s;
}

.link-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 .75rem .65rem rgba(52, 55, 100, .2))
    drop-shadow(0 0 .5rem rgba(255, 255, 255, .48));
}

.link-card:hover .link-mark,
.link-card:focus-visible .link-mark {
  animation-play-state: paused;
  box-shadow: none;
  transform: translateY(-.42rem) rotate(3deg) scale(1.065);
}

.link-card > svg {
  transition: transform .65s var(--ease), background-color .65s var(--ease), box-shadow .65s var(--ease);
}

.link-card:hover > svg,
.link-card:focus-visible > svg {
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 .55rem 1.1rem rgba(var(--link-accent), .2);
  transform: translate(.28rem, -.28rem);
}

@keyframes link-icon-float {
  0%,
  100% {
    transform: translateY(.12rem) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-.28rem) rotate(1.5deg);
  }
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: clamp(5.5rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem) calc(clamp(2.2rem, 4vw, 3.5rem) + 3.4rem);
  background:
    linear-gradient(180deg, rgba(4, 37, 50, .74), rgba(3, 20, 40, .96)),
    url("scene-nightsky.webp") center bottom / cover;
  color: rgba(255, 255, 255, .8);
  text-align: left;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -3.7rem;
  right: 0;
  left: 0;
  z-index: 0;
  height: 4.7rem;
  background:
    radial-gradient(ellipse 12% 82% at 1% 100%, #0a4050 98%, transparent 100%),
    radial-gradient(ellipse 13% 96% at 17% 100%, #0a4050 98%, transparent 100%),
    radial-gradient(ellipse 12% 76% at 34% 100%, #0a4050 98%, transparent 100%),
    radial-gradient(ellipse 15% 100% at 52% 100%, #0a4050 98%, transparent 100%),
    radial-gradient(ellipse 12% 80% at 70% 100%, #0a4050 98%, transparent 100%),
    radial-gradient(ellipse 14% 92% at 87% 100%, #0a4050 98%, transparent 100%),
    radial-gradient(ellipse 11% 72% at 101% 100%, #0a4050 98%, transparent 100%);
  filter: drop-shadow(0 -.35rem 1rem rgba(255, 255, 255, .18));
}

.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 198, 79, .58), rgba(255, 255, 255, .78), transparent);
  box-shadow: 0 0 1rem rgba(245, 198, 79, .46);
}

.footer-stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.footer-stars i {
  position: absolute;
  width: .24rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 .65rem .14rem rgba(255, 255, 255, .82);
  animation: footer-star-twinkle 3.6s ease-in-out infinite;
}

.footer-stars i:nth-child(1) { top: 15%; left: 7%; }
.footer-stars i:nth-child(2) { top: 32%; left: 18%; animation-delay: -1.1s; }
.footer-stars i:nth-child(3) { top: 70%; left: 10%; animation-delay: -2.4s; }
.footer-stars i:nth-child(4) { top: 18%; left: 38%; animation-delay: -.6s; }
.footer-stars i:nth-child(5) { top: 60%; left: 45%; animation-delay: -1.8s; }
.footer-stars i:nth-child(6) { top: 27%; left: 58%; animation-delay: -2.7s; }
.footer-stars i:nth-child(7) { top: 76%; left: 63%; animation-delay: -.9s; }
.footer-stars i:nth-child(8) { top: 12%; left: 74%; animation-delay: -2s; }
.footer-stars i:nth-child(9) { top: 43%; left: 82%; animation-delay: -3.1s; }
.footer-stars i:nth-child(10) { top: 72%; left: 91%; animation-delay: -1.4s; }
.footer-stars i:nth-child(11) { top: 24%; left: 94%; animation-delay: -.3s; }
.footer-stars i:nth-child(12) { top: 86%; left: 30%; animation-delay: -2.2s; }

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr .65fr .8fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-bottom: clamp(2.8rem, 6vw, 5rem);
}

.footer-brand {
  position: relative;
  padding-right: 6.5rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--white);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-shadow: 0 0 1.4rem rgba(127, 220, 195, .32);
}

.footer-logo svg {
  width: 2.2rem;
  aspect-ratio: 1;
  fill: var(--gold);
  filter: drop-shadow(0 0 .65rem rgba(245, 198, 79, .64));
}

.footer-brand > p {
  margin: 1.1rem 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: .9rem;
  font-weight: 700;
  text-wrap: balance;
}

.footer-face {
  position: absolute;
  right: 0;
  bottom: -.7rem;
  width: 5.7rem;
  height: auto;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, .58);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .24), rgba(127, 220, 195, .08));
  box-shadow:
    0 0 0 .45rem rgba(127, 220, 195, .08),
    0 1rem 2.5rem rgba(1, 12, 28, .38);
  object-fit: cover;
  object-position: center 34%;
}

.footer-nav > p {
  margin: 0 0 1rem;
  color: var(--gold-soft);
  font-family: "Avenir Next", "Century Gothic", system-ui, sans-serif;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.footer-nav a {
  position: relative;
  display: table;
  margin-top: .55rem;
  padding-block: .15rem;
  color: rgba(255, 255, 255, .84);
  font-size: .82rem;
  font-weight: 800;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease);
}

.footer-nav a:hover::after,
.footer-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-nav a span {
  display: inline-block;
  margin-left: .4rem;
  color: var(--gold);
  transition: transform .6s var(--ease);
}

.footer-nav a:hover span,
.footer-nav a:focus-visible span {
  transform: translate(.18rem, -.18rem);
}

.footer-copyright,
.site-footer .footer-copyright {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .58);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: center;
}

@keyframes footer-star-twinkle {
  0%,
  100% {
    opacity: .22;
    transform: scale(.6);
  }
  50% {
    opacity: .96;
    transform: scale(1.35);
  }
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1.15fr .7fr .85fr;
    gap: 2rem;
  }

  .footer-brand {
    padding-right: 0;
  }

  .footer-face {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1.5rem;
  }
}

@media (max-width: 680px) {
  .timeline {
    padding: .8rem;
  }

  .timeline-item {
    grid-template-columns: 4.7rem 1fr;
    gap: .7rem;
    padding: .65rem;
  }

  .timeline-item strong {
    font-size: .94rem;
  }

  .link-card {
    grid-template-columns: 4.8rem 1fr auto;
  }

  .link-mark,
  .link-card:nth-child(2) .link-mark,
  .link-card:nth-child(3) .link-mark {
    width: 4.8rem;
  }

  .links .section-inner::before,
  .links .section-inner::after {
    width: 5rem;
  }

  .site-footer {
    padding-top: 5rem;
    text-align: left;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .footer-brand {
    padding-right: 5.5rem;
  }

  .footer-face {
    position: absolute;
    right: 0;
    bottom: -.3rem;
    width: 4.8rem;
    margin-top: 0;
  }

  .footer-nav a {
    font-size: .86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .schedule::after,
  .timeline::before,
  .day img,
  .link-mark,
  .footer-stars i {
    animation: none;
  }

  .timeline-item::after {
    display: none;
  }
}

/* v7 world expansion */
.site-header {
  justify-content: flex-end;
}

.hero-copy {
  isolation: isolate;
  padding: clamp(3.5rem, 5.2vw, 4.7rem) clamp(2.7rem, 4.5vw, 4rem) clamp(4.25rem, 6vw, 5.4rem);
  border: 0;
  border-radius: .6rem;
  background:
    repeating-linear-gradient(0deg, rgba(129, 98, 42, .025) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, .96), transparent 36%),
    linear-gradient(145deg, rgba(255, 254, 244, .98), rgba(239, 255, 249, .96));
  box-shadow:
    inset 0 0 3.5rem rgba(196, 161, 79, .08),
    0 1.8rem 0 rgba(6, 53, 67, .11),
    0 2.8rem 6rem rgba(7, 42, 52, .3);
  backdrop-filter: none;
  transform-origin: 50% -1.5rem;
}

.hero-copy::before {
  content: none;
}

.hero-copy > :not(.hero-board-frame) {
  position: relative;
  z-index: 2;
}

.hero-board-frame {
  position: absolute;
  inset: -.75rem;
  z-index: 1;
  border-color: transparent;
  border-style: solid;
  border-width: clamp(3.7rem, 5.8vw, 5rem) clamp(3rem, 4.8vw, 4.2rem) clamp(3.3rem, 5.2vw, 4.6rem);
  border-image: url("board-border.webp") 198 142 184 142 / 1 / 0 stretch;
  filter: drop-shadow(0 .7rem .75rem rgba(62, 45, 14, .18));
  pointer-events: none;
}

.activity .section-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(20rem, .94fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem) clamp(2rem, 5vw, 5rem);
}

.activity-heading {
  grid-column: 1;
  grid-row: 1;
  isolation: isolate;
  padding: 1rem .75rem 1.1rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--white);
  backdrop-filter: none;
}

.activity-heading::before {
  content: none;
}

.activity-heading::after {
  content: "";
  position: absolute;
  inset: -2.5rem -4rem -2rem -3rem;
  z-index: -1;
  background:
    radial-gradient(ellipse at 34% 50%, rgba(7, 48, 70, .68), rgba(7, 48, 70, .3) 46%, transparent 72%),
    linear-gradient(90deg, rgba(7, 48, 70, .38), transparent 86%);
  filter: blur(.2rem);
  pointer-events: none;
}

.activity-heading .section-kicker {
  color: #fff2a8;
  text-shadow: 0 .15rem .6rem rgba(3, 27, 41, .86);
}

.activity-heading h2 {
  color: var(--white);
  text-shadow:
    0 .15rem 0 rgba(8, 57, 74, .95),
    0 0 .2rem rgba(8, 57, 74, 1),
    0 .45rem 1.4rem rgba(3, 27, 41, .86),
    0 0 2.4rem rgba(255, 255, 255, .32);
}

.activity-heading > p:last-child {
  color: rgba(255, 255, 255, .96);
  text-shadow:
    0 .12rem .18rem rgba(3, 27, 41, .95),
    0 .35rem 1rem rgba(3, 27, 41, .86);
}

.activity-world {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  margin: 0;
}

.activity-world img {
  position: relative;
  z-index: 2;
  width: min(100%, 31rem);
  height: auto;
  margin-inline: auto;
  filter:
    drop-shadow(0 1.4rem 1.1rem rgba(3, 27, 41, .22))
    drop-shadow(0 0 1.5rem rgba(255, 255, 255, .34));
  animation: activity-world-float 5.6s ease-in-out infinite;
}

.activity-world-aura {
  position: absolute;
  top: 34%;
  left: 50%;
  z-index: 0;
  width: 94%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .58) 0 14%, rgba(255, 235, 154, .3) 34%, rgba(127, 220, 195, .2) 48%, transparent 70%);
  filter: blur(1rem);
  transform: translate(-50%, -50%);
}

.activity-world-orbit {
  position: absolute;
  top: 45%;
  left: 50%;
  z-index: 1;
  width: 92%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 245, 189, .66);
  border-radius: 50%;
  box-shadow:
    0 0 1.2rem rgba(255, 255, 255, .46),
    inset 0 0 1.4rem rgba(255, 255, 255, .22);
  transform: translate(-50%, -50%) rotate(-14deg) scaleY(.44);
}

.activity-grid {
  grid-column: 1;
  grid-row: 2;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: .72rem;
  margin-top: .25rem;
}

.activity-card {
  isolation: isolate;
  display: grid;
  grid-template-columns: 4rem 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: .05rem .85rem;
  overflow: visible;
  padding: .4rem .65rem;
  border: 30px solid transparent;
  border-radius: 0;
  border-image: url("panel-frame.webp") 128 / 30px / 0 stretch;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, .96), transparent 34%) padding-box,
    linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(231, 255, 248, .95)) padding-box;
  background-clip: padding-box;
  box-shadow:
    0 1.1rem 0 rgba(3, 27, 41, .1),
    0 1.8rem 3.8rem rgba(3, 27, 41, .22);
  filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  transition: transform .7s var(--ease), box-shadow .7s var(--ease), filter .7s var(--ease);
}

.activity-card::before {
  content: "";
  position: absolute;
  inset: -.8rem;
  z-index: -1;
  border-radius: 2rem;
  background: radial-gradient(ellipse, rgba(255, 244, 163, .7), rgba(127, 220, 195, .32) 46%, transparent 72%);
  filter: blur(1rem);
  opacity: 0;
  transform: scale(.9);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}

.activity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  border-radius: .5rem;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .82) 45%, rgba(255, 245, 186, .54) 50%, transparent 63%);
  background-position: 110% 0;
  background-size: 260% 100%;
  opacity: .55;
  transition: background-position .95s var(--ease);
  pointer-events: none;
}

.activity-card:hover {
  box-shadow:
    0 1.35rem 0 rgba(3, 27, 41, .09),
    0 2.6rem 5rem rgba(3, 27, 41, .3);
  filter:
    drop-shadow(0 0 .65rem rgba(255, 255, 255, .7))
    drop-shadow(0 0 1.2rem rgba(245, 198, 79, .4));
  transform: translateY(-.55rem) rotate(-.35deg);
}

.activity-card:hover::before {
  opacity: 1;
  transform: scale(1.06);
}

.activity-card:hover::after {
  background-position: -35% 0;
}

.activity-card .card-icon {
  position: relative;
  z-index: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

.activity-card h3 {
  grid-column: 2;
  align-self: end;
  margin: 0;
}

.activity-card > p:not(.card-number) {
  grid-column: 2;
  align-self: start;
}

.activity-card .card-number {
  top: .75rem;
  right: 1rem;
  z-index: 3;
}

.activity-card .card-sparkle {
  top: -1.9rem;
  right: -1.6rem;
  z-index: 3;
  width: 4.2rem;
  height: 4.2rem;
  animation: activity-gem-twinkle 3.4s ease-in-out infinite;
}

.activity-card .card-star {
  right: -.8rem;
  bottom: -1.4rem;
  z-index: 3;
  width: 3.3rem;
  height: 3.3rem;
}

.schedule-layout {
  grid-template-rows: auto auto;
  row-gap: clamp(1.5rem, 3vw, 2.6rem);
}

.schedule-desk {
  --desk-darkness: .06;
  --desk-glow: .94;
  position: relative;
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  overflow: hidden;
  width: min(100%, 25rem);
  aspect-ratio: 1;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 1.8rem;
  background: #071725;
  box-shadow:
    0 0 0 .45rem rgba(127, 220, 195, .08),
    0 1.8rem 4.5rem rgba(3, 12, 32, .46);
  transform: rotate(-1.2deg);
}

.schedule-desk img,
.desk-darkness,
.desk-lamp-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.schedule-desk img {
  object-fit: cover;
}

.desk-darkness {
  z-index: 1;
  background: rgba(2, 7, 18, var(--desk-darkness));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.desk-lamp-glow {
  z-index: 2;
  background:
    radial-gradient(circle at 78% 43%, rgba(255, 255, 232, .98) 0 2%, rgba(255, 230, 132, .72) 7%, rgba(255, 198, 80, .32) 16%, transparent 34%);
  mix-blend-mode: screen;
  filter: blur(.2rem);
  opacity: var(--desk-glow);
  pointer-events: none;
}

.js .schedule-desk:not(.is-lit) {
  --desk-darkness: .7;
  --desk-glow: .03;
}

.motion-static .schedule-desk,
.schedule-desk.is-lit {
  --desk-darkness: .06;
  --desk-glow: .94;
}

.timeline {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.links .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(23rem, .94fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.8rem) clamp(2rem, 5vw, 5rem);
}

.links {
  padding-block: clamp(4.5rem, 7vw, 6rem);
}

.links .section-heading {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  backdrop-filter: none;
}

.links .section-heading::before,
.links .section-heading::after {
  content: none;
}

.links .section-kicker {
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff2a8;
  box-shadow: none;
  text-shadow: 0 .2rem .7rem rgba(37, 31, 91, .8);
}

.links .section-heading h2 {
  margin-top: .4rem;
  color: var(--white);
  -webkit-text-stroke: .6px rgba(142, 93, 20, .9);
  text-shadow:
    0 .12rem 0 #9a6714,
    0 .24rem .15rem rgba(76, 47, 8, .72),
    0 0 1.3rem rgba(255, 240, 158, .82),
    0 0 2.8rem rgba(255, 255, 255, .74);
}

.links .section-heading h2::after {
  margin-inline: 0;
  background: linear-gradient(90deg, #fff, var(--gold), var(--pink), transparent);
}

.links-grid {
  grid-column: 1;
  grid-row: 2;
  grid-template-columns: 1fr;
  margin-top: 0;
}

.links-invite {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  justify-self: center;
  margin: 0;
}

.links-invite > img {
  position: relative;
  z-index: 3;
  width: min(100%, 29rem);
  height: auto;
  margin-inline: auto;
  filter:
    drop-shadow(0 1.6rem 1.2rem rgba(34, 35, 98, .25))
    drop-shadow(0 0 1.5rem rgba(255, 255, 255, .45));
  animation: invite-float 5.2s ease-in-out infinite;
}

.links-invite figcaption {
  position: absolute;
  top: 31%;
  left: -4%;
  z-index: 5;
  padding: .65rem 1rem;
  border: 2px solid rgba(245, 198, 79, .82);
  border-radius: 1.2rem 1.2rem .35rem 1.2rem;
  background: rgba(255, 255, 255, .94);
  box-shadow:
    0 0 0 .3rem rgba(255, 255, 255, .2),
    0 .9rem 2rem rgba(51, 39, 105, .24);
  color: #675013;
  font-size: clamp(.82rem, 1.2vw, 1rem);
  font-weight: 900;
  line-height: 1.4;
  white-space: nowrap;
  transform: rotate(-4deg);
}

.invite-orbit {
  position: absolute;
  top: 49%;
  left: 50%;
  z-index: 1;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 240, 161, .78);
  border-radius: 50%;
  box-shadow:
    0 0 1.2rem rgba(255, 255, 255, .5),
    inset 0 0 1.2rem rgba(255, 255, 255, .25);
}

.invite-orbit i {
  position: absolute;
  top: -.75rem;
  left: 50%;
  color: #fff1a1;
  font-size: 1.25rem;
  font-style: normal;
  text-shadow:
    0 0 .6rem var(--white),
    0 0 1rem var(--gold);
}

.invite-orbit-one {
  width: 94%;
  transform: translate(-50%, -50%) rotate(-13deg) scaleY(.42);
  animation: invite-orbit-one 9s linear infinite;
}

.invite-orbit-two {
  width: 76%;
  transform: translate(-50%, -50%) rotate(24deg) scaleY(.5);
  animation: invite-orbit-two 7s linear infinite reverse;
}

.invite-spark {
  position: absolute;
  z-index: 4;
  color: #fff5b8;
  line-height: 1;
  text-shadow:
    0 0 .6rem var(--white),
    0 0 1.2rem var(--gold);
  animation: invite-sparkle 2.8s ease-in-out infinite;
}

.invite-spark-one {
  top: 12%;
  left: 7%;
  font-size: 2rem;
}

.invite-spark-two {
  top: 46%;
  right: 2%;
  color: var(--pink-soft);
  font-size: 1.35rem;
  animation-delay: -.9s;
}

.invite-spark-three {
  right: 16%;
  bottom: 13%;
  font-size: 2.4rem;
  animation-delay: -1.8s;
}

@keyframes activity-world-float {
  0%,
  100% {
    transform: translateY(.35rem) rotate(-.35deg);
  }
  50% {
    transform: translateY(-.65rem) rotate(.45deg);
  }
}

@keyframes activity-gem-twinkle {
  0%,
  100% {
    opacity: .58;
    filter: drop-shadow(0 0 .35rem rgba(255, 255, 255, .64));
    transform: rotate(3deg) scale(.9);
  }
  52% {
    opacity: 1;
    filter:
      drop-shadow(0 0 .8rem rgba(255, 255, 255, 1))
      drop-shadow(0 0 1.2rem rgba(245, 198, 79, .66));
    transform: rotate(18deg) scale(1.12);
  }
}

@keyframes invite-float {
  0%,
  100% {
    transform: translateY(.35rem) rotate(-.25deg);
  }
  50% {
    transform: translateY(-.65rem) rotate(.35deg);
  }
}

@keyframes invite-orbit-one {
  to {
    transform: translate(-50%, -50%) rotate(347deg) scaleY(.42);
  }
}

@keyframes invite-orbit-two {
  to {
    transform: translate(-50%, -50%) rotate(384deg) scaleY(.5);
  }
}

@keyframes invite-sparkle {
  0%,
  100% {
    opacity: .38;
    transform: scale(.62) rotate(-15deg);
  }
  52% {
    opacity: 1;
    transform: scale(1.18) rotate(9deg);
  }
}

@media (max-width: 900px) {
  .hero-board-frame {
    border-width: 4rem 3rem 3.6rem;
  }

  .activity .section-inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(17rem, .88fr);
    column-gap: 1.6rem;
  }

  .activity-world img {
    width: min(100%, 24rem);
  }

  .activity-card {
    grid-template-columns: 3.6rem 1fr;
  }

  .links .section-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(17rem, .9fr);
    column-gap: 1.6rem;
  }

  .links-invite > img {
    width: min(100%, 27rem);
  }

  .links-invite figcaption {
    left: -1%;
  }
}

@media (max-width: 680px) {
  .site-header {
    justify-content: center;
  }

  .header-nav a:nth-child(2) {
    display: block;
  }

  .hero-copy {
    padding: 3rem 1.8rem 3.6rem;
    border-radius: .4rem;
  }

  .hero-board-frame {
    inset: -.5rem;
    border-width: 3.2rem 2.35rem 2.9rem;
  }

  .activity {
    padding-block: 4rem;
  }

  .activity .section-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.1rem;
  }

  .activity-heading {
    grid-column: 1;
    grid-row: 1;
    padding-inline: .4rem;
    text-align: center;
  }

  .activity-heading::after {
    inset: -2rem -1.5rem;
    background: radial-gradient(ellipse, rgba(7, 48, 70, .68), rgba(7, 48, 70, .24) 55%, transparent 76%);
  }

  .activity-world {
    grid-column: 1;
    grid-row: 2;
  }

  .activity-world img {
    width: min(82vw, 18rem);
  }

  .activity-grid {
    grid-column: 1;
    grid-row: 3;
    gap: .85rem;
  }

  .activity-card {
    grid-template-columns: 3.1rem 1fr;
    gap: .05rem .65rem;
    padding: .25rem .3rem;
    border-width: 24px;
    border-image-width: 24px;
  }

  .activity-card .card-icon {
    width: 3.1rem;
    height: 3.1rem;
  }

  .activity-card .card-number {
    top: .35rem;
    right: .45rem;
    font-size: .56rem;
  }

  .activity-card h3 {
    padding-right: 4.4rem;
    font-size: 1.08rem;
  }

  .schedule-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .schedule-desk {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    width: min(88vw, 23rem);
  }

  .timeline {
    grid-column: 1;
    grid-row: 3;
  }

  .links .section-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.8rem;
  }

  .links .section-heading {
    grid-column: 1;
    grid-row: 1;
    text-align: center;
  }

  .links .section-heading h2::after {
    margin-inline: auto;
  }

  .links-invite {
    grid-column: 1;
    grid-row: 2;
  }

  .links-invite > img {
    width: min(82vw, 18rem);
  }

  .links-invite figcaption {
    top: 29%;
    left: 3%;
    font-size: .78rem;
  }

  .links-grid {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .activity-world img,
  .activity-card .card-sparkle,
  .links-invite > img,
  .invite-orbit,
  .invite-spark {
    animation: none;
  }

  .js .schedule-desk {
    --desk-darkness: .06;
    --desk-glow: .94;
  }
}
