:root {
  color-scheme: dark;
  --night: #07101d;
  --night-deep: #030713;
  --ink: #f7f0df;
  --muted: rgba(247, 240, 223, 0.72);
  --soft: rgba(247, 240, 223, 0.14);
  --gold: #f6d67b;
  --gold-hot: #fff0ad;
  --rose: #f7a4a8;
  --teal: #84e1d8;
  --grass: #9ddb8c;
  --panel: rgba(4, 10, 23, 0.48);
  --line: rgba(255, 255, 255, 0.18);
  --hand-x: 64.6vw;
  --hand-y: 41.5vh;
  font-family:
    "Songti SC", "Noto Serif SC", "PingFang SC", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  background: var(--night-deep);
  transition: opacity 500ms ease, visibility 500ms ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__spark {
  font-size: 48px;
  color: var(--gold-hot);
  animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: var(--night-deep);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--night);
}

.intro,
.sky {
  position: absolute;
  inset: 0;
  min-height: 100svh;
}

.intro {
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 32px;
  transition:
    opacity 900ms ease,
    visibility 900ms ease,
    transform 900ms ease;
}

.is-entered .intro {
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: scale(1.04);
}

.sky__backdrop,
.sky__nebula,
.sky__horizon,
.landscape,
.girl,
.sky__depth,
.sky__film,
.sky__weather,
.sky__foreground {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro__cosmos {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 248, 218, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 22%, rgba(255, 248, 218, 0.14) 0 1px, transparent 2px),
    radial-gradient(circle at 54% 12%, rgba(255, 255, 255, 0.2) 0 1px, transparent 2px),
    radial-gradient(ellipse at 50% 16%, rgba(65, 104, 174, 0.32), transparent 42%),
    radial-gradient(ellipse at 72% 48%, rgba(246, 214, 123, 0.08), transparent 28%),
    linear-gradient(180deg, #02040e 0%, #071225 48%, #0b1b23 100%);
  background-size:
    220px 180px,
    310px 230px,
    260px 210px,
    auto,
    auto,
    auto;
  animation: introSkyFloat 18s ease-in-out infinite alternate;
}

.sky__backdrop {
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 10%, rgba(75, 110, 176, 0.35), transparent 40%),
    radial-gradient(ellipse at 76% 32%, rgba(132, 225, 216, 0.12), transparent 28%),
    radial-gradient(ellipse at 25% 40%, rgba(247, 164, 168, 0.055), transparent 30%),
    linear-gradient(180deg, #01030b 0%, #071327 42%, #102f4c 69%, #081319 100%);
  animation: skyBreath 18s ease-in-out infinite;
}

.sky__nebula {
  z-index: 1;
  opacity: 0.52;
  background:
    radial-gradient(ellipse at 44% 20%, rgba(255, 246, 210, 0.1), transparent 24%),
    radial-gradient(ellipse at 64% 28%, rgba(132, 225, 216, 0.075), transparent 32%),
    linear-gradient(108deg, transparent 0 31%, rgba(255, 255, 255, 0.026) 47%, transparent 66% 100%);
  filter: blur(20px);
  transform: translate3d(0, 0, 0) scale(1.04);
  animation: nebulaDrift 34s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 70%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 70%);
}

.sky__horizon {
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 0 52%, rgba(255, 203, 142, 0.13) 65%, rgba(9, 27, 34, 0.54) 78%, rgba(2, 5, 9, 0.78) 100%),
    radial-gradient(ellipse at 62% 70%, rgba(255, 160, 116, 0.18), transparent 33%),
    radial-gradient(ellipse at 31% 74%, rgba(132, 225, 216, 0.08), transparent 28%);
  animation: horizonGlow 14s ease-in-out infinite;
}

.landscape {
  z-index: 3;
  overflow: hidden;
}

.landscape__ridge {
  position: absolute;
  left: -5%;
  width: 110%;
  background: linear-gradient(180deg, rgba(13, 37, 51, 0.88), rgba(4, 12, 17, 0.96));
  filter: blur(0.2px);
}

.landscape__ridge--far {
  bottom: 28%;
  height: 16%;
  opacity: 0.62;
  clip-path: polygon(0 68%, 8% 54%, 19% 60%, 30% 42%, 41% 58%, 53% 45%, 65% 62%, 77% 43%, 88% 58%, 100% 49%, 100% 100%, 0 100%);
}

.landscape__ridge--near {
  bottom: 20%;
  height: 21%;
  opacity: 0.9;
  background: linear-gradient(180deg, rgba(6, 24, 28, 0.92), rgba(2, 8, 10, 0.98));
  clip-path: polygon(0 70%, 9% 50%, 20% 55%, 33% 36%, 45% 54%, 58% 42%, 70% 58%, 84% 39%, 100% 55%, 100% 100%, 0 100%);
}

.landscape__meadow {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -8%;
  height: 34%;
  border-radius: 50% 50% 0 0 / 18% 18% 0 0;
  background:
    radial-gradient(ellipse at 66% 12%, rgba(160, 216, 128, 0.24), transparent 22%),
    radial-gradient(ellipse at 38% 22%, rgba(132, 225, 216, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(15, 48, 34, 0.94), rgba(3, 14, 12, 1) 72%, #010506 100%);
  box-shadow: inset 0 44px 80px rgba(255, 244, 187, 0.035);
}

.intro__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 5, 15, 0.56), rgba(2, 5, 15, 0.18) 42%, rgba(2, 5, 15, 0.78)),
    linear-gradient(90deg, rgba(2, 5, 15, 0.7), transparent 52%, rgba(2, 5, 15, 0.32));
}

.intro__copy {
  position: relative;
  width: min(760px, 100%);
  margin-right: auto;
  padding-left: clamp(0px, 4vw, 56px);
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.62);
}

.intro__eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro h1 {
  margin: 0 0 18px;
  max-width: min(980px, 92vw);
  font-size: clamp(42px, 7.2vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.intro p:not(.intro__eyebrow) {
  max-width: 620px;
  margin: 0 0 30px;
  color: rgba(247, 240, 223, 0.88);
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.78;
}

.intro__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(246, 214, 123, 0.42);
  border-radius: 999px;
  background: rgba(246, 214, 123, 0.94);
  color: #21180a;
  font-weight: 800;
  box-shadow:
    0 18px 60px rgba(246, 214, 123, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.intro__button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 72px rgba(246, 214, 123, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.sky {
  z-index: 1;
  overflow: hidden;
}

.sky__depth {
  z-index: 7;
  background:
    linear-gradient(180deg, rgba(0, 2, 9, 0.15) 0%, rgba(0, 5, 17, 0.04) 35%, rgba(2, 9, 18, 0) 52%, rgba(1, 5, 11, 0.64) 100%),
    radial-gradient(ellipse at 66% 56%, rgba(255, 236, 174, 0.12), transparent 20%),
    radial-gradient(ellipse at 70% 84%, rgba(9, 28, 23, 0.6), transparent 38%),
    radial-gradient(ellipse at 12% 87%, rgba(3, 8, 15, 0.72), transparent 34%);
}

.sky__film {
  z-index: 12;
  background:
    linear-gradient(180deg, rgba(2, 5, 15, 0.18) 0%, rgba(2, 5, 15, 0.01) 36%, rgba(2, 5, 15, 0.18) 78%, rgba(2, 5, 15, 0.66) 100%),
    linear-gradient(90deg, rgba(2, 5, 15, 0.32), transparent 48%, rgba(2, 5, 15, 0.28));
}

.sky__weather {
  z-index: 10;
  opacity: 0.28;
  background-image:
    radial-gradient(ellipse at 58% 30%, rgba(255, 246, 205, 0.055), transparent 34%),
    radial-gradient(ellipse at 72% 45%, rgba(132, 225, 216, 0.04), transparent 40%);
  filter: blur(12px);
  animation: weatherDrift 24s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), transparent 82%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), transparent 82%);
}

.sky__foreground {
  z-index: 11;
  opacity: 0.78;
  background:
    linear-gradient(180deg, transparent 0 72%, rgba(2, 7, 9, 0.08) 80%, rgba(1, 5, 6, 0.76) 100%),
    radial-gradient(ellipse at 68% 86%, rgba(175, 227, 148, 0.12), transparent 23%),
    radial-gradient(ellipse at 32% 95%, rgba(10, 34, 24, 0.62), transparent 34%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0 66%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0 66%, #000 100%);
  animation: grassSway 10s ease-in-out infinite alternate;
}

.girl {
  left: auto;
  right: clamp(9vw, 13vw, 19vw);
  top: auto;
  bottom: clamp(7vh, 9vh, 12vh);
  z-index: 9;
  width: clamp(150px, 17vw, 252px);
  height: clamp(286px, 45vh, 440px);
  transform-origin: 55% 90%;
  animation: figureBreath 6.8s ease-in-out infinite;
}

.girl__aura {
  position: absolute;
  left: 26%;
  top: 8%;
  width: 72%;
  height: 82%;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 58% 18%, rgba(255, 226, 168, 0.18), transparent 24%),
    radial-gradient(ellipse at 58% 58%, rgba(132, 225, 216, 0.08), transparent 46%);
  filter: blur(26px);
  opacity: 0.72;
}

.girl__hair,
.girl__head,
.girl__body,
.girl__skirt,
.girl__arm,
.girl__hand {
  position: absolute;
  pointer-events: none;
}

.girl__hair {
  z-index: 2;
  left: 43%;
  top: 27%;
  width: 30%;
  height: 44%;
  border-radius: 46% 50% 48% 44%;
  background:
    radial-gradient(ellipse at 56% 15%, rgba(40, 30, 33, 0.96), rgba(12, 10, 17, 0.98) 58%, rgba(1, 2, 5, 0.98) 100%);
  box-shadow:
    -10px 18px 30px rgba(0, 0, 0, 0.5),
    inset 12px -10px 18px rgba(0, 0, 0, 0.34);
  transform: rotate(-6deg);
}

.girl__hair::before {
  content: "";
  position: absolute;
  left: 6%;
  top: 18%;
  width: 34%;
  height: 58%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 15, 21, 0.9), rgba(1, 2, 5, 0.78));
  filter: blur(1px);
  transform: rotate(7deg);
}

.girl__hair::after {
  content: "";
  position: absolute;
  right: -5%;
  top: 8%;
  width: 28%;
  height: 22%;
  border-radius: 50%;
  background: rgba(247, 164, 168, 0.45);
  box-shadow: 0 0 12px rgba(247, 164, 168, 0.22);
  transform: rotate(-18deg);
}

.girl__head {
  z-index: 4;
  left: 51%;
  top: 24%;
  width: 15%;
  height: 11%;
  border-radius: 48% 50% 46% 44%;
  background:
    radial-gradient(circle at 58% 35%, rgba(255, 201, 155, 0.9), rgba(140, 88, 66, 0.9) 54%, rgba(54, 34, 35, 0.92));
  box-shadow:
    0 0 20px rgba(255, 214, 152, 0.11),
    inset -6px -5px 10px rgba(0, 0, 0, 0.32);
}

.girl__body {
  z-index: 3;
  left: 39%;
  top: 50%;
  width: 31%;
  height: 27%;
  border-radius: 52% 42% 42% 48%;
  background:
    radial-gradient(ellipse at 35% 18%, rgba(255, 250, 233, 0.86), transparent 26%),
    linear-gradient(145deg, rgba(235, 231, 220, 0.86), rgba(105, 102, 116, 0.68) 48%, rgba(19, 18, 28, 0.96) 88%);
  box-shadow:
    -16px 18px 38px rgba(0, 0, 0, 0.48),
    inset -14px -18px 24px rgba(0, 0, 0, 0.34);
  transform: rotate(-10deg);
}

.girl__body::before {
  content: "";
  position: absolute;
  left: 16%;
  top: 4%;
  width: 42%;
  height: 18%;
  border-radius: 999px;
  background: rgba(255, 248, 225, 0.34);
  filter: blur(2px);
  transform: rotate(-18deg);
}

.girl__skirt {
  z-index: 2;
  left: 18%;
  bottom: 4%;
  width: 62%;
  height: 26%;
  border-radius: 60% 42% 22% 34%;
  background:
    radial-gradient(ellipse at 68% 25%, rgba(255, 245, 222, 0.6), transparent 24%),
    linear-gradient(150deg, rgba(226, 221, 214, 0.72), rgba(78, 75, 90, 0.64) 52%, rgba(12, 12, 20, 0.96) 100%);
  box-shadow:
    -18px 24px 48px rgba(0, 0, 0, 0.52),
    inset -14px -18px 22px rgba(0, 0, 0, 0.34);
  transform: rotate(-12deg);
}

.girl__skirt::after {
  content: "";
  position: absolute;
  left: 15%;
  bottom: -8%;
  width: 70%;
  height: 24%;
  border-radius: 50%;
  background: rgba(1, 4, 8, 0.58);
  filter: blur(8px);
}

.girl__arm {
  border-radius: 999px;
  background: linear-gradient(90deg, #9b6652, #684035 62%, #2d1c20);
  box-shadow: 0 0 18px rgba(255, 208, 145, 0.12);
  transform-origin: 50% 100%;
}

.girl__arm--upper {
  z-index: 5;
  left: 56%;
  top: 36%;
  width: 5.8%;
  height: 19%;
  transform: rotate(-24deg);
}

.girl__arm--fore {
  z-index: 5;
  left: 58%;
  top: 15%;
  width: 5.4%;
  height: 25%;
  transform: rotate(-15deg);
  animation: reachingArm 5.4s ease-in-out infinite;
}

.girl__hand {
  z-index: 6;
  left: 56.8%;
  top: 10%;
  width: 9.8%;
  height: 7.4%;
  border-radius: 48% 48% 52% 46%;
  background:
    radial-gradient(circle at 55% 32%, rgba(255, 205, 158, 0.95), rgba(143, 88, 66, 0.86) 58%, rgba(47, 29, 31, 0.9));
  box-shadow:
    0 0 22px rgba(255, 224, 155, 0.22),
    0 0 48px rgba(246, 214, 123, 0.08);
  transform: rotate(10deg);
}

.girl__hand::before,
.girl__hand::after {
  content: "";
  position: absolute;
  top: 0;
  width: 13%;
  height: 68%;
  border-radius: 999px;
  background: linear-gradient(180deg, #b07158, #684036);
  transform-origin: 50% 100%;
}

.girl__hand::before {
  left: 22%;
  transform: rotate(-26deg);
}

.girl__hand::after {
  right: 22%;
  transform: rotate(24deg);
}

.star-canvas {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 62%, rgba(0, 0, 0, 0.55) 72%, transparent 86%);
  mask-image: linear-gradient(to bottom, #000 0 62%, rgba(0, 0, 0, 0.55) 72%, transparent 86%);
}

@keyframes introSkyFloat {
  from { background-position: 0 0, 0 0, 0 0, center, center, center; }
  to { background-position: 24px -16px, -32px 18px, 18px 26px, center, center, center; }
}

@keyframes skyBreath {
  0%, 100% { filter: brightness(0.9) saturate(1.02); transform: scale(1); }
  50% { filter: brightness(1.08) saturate(1.1); transform: scale(1.01); }
}

@keyframes nebulaDrift {
  from { transform: translate3d(-1.8%, -0.4%, 0) scale(1.04); }
  to { transform: translate3d(1.4%, 0.8%, 0) scale(1.08); }
}

@keyframes horizonGlow {
  0%, 100% { opacity: 0.8; filter: saturate(0.96); }
  50% { opacity: 1; filter: saturate(1.1); }
}

@keyframes weatherDrift {
  from { transform: translate3d(-1.2%, 0, 0); }
  to { transform: translate3d(1.4%, -0.8%, 0); }
}

@keyframes grassSway {
  from { transform: translate3d(-0.3%, 0, 0); }
  to { transform: translate3d(0.35%, 0, 0); }
}

@keyframes figureBreath {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.4deg); }
  50% { transform: translate3d(0, -4px, 0) rotate(0.25deg); }
}

@keyframes reachingArm {
  0%, 100% { transform: rotate(-15deg) translateY(0); }
  50% { transform: rotate(-11deg) translateY(-3px); }
}

.topbar {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 14;
  display: grid;
  grid-template-columns: auto minmax(190px, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(1180px, calc(100% - 28px));
  min-height: 62px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(3, 8, 20, 0.42);
  box-shadow: 0 18px 80px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(246, 214, 123, 0.16);
  color: var(--gold-hot);
  box-shadow: 0 0 24px rgba(246, 214, 123, 0.24);
}

.brand strong,
.day-counter strong {
  font-weight: 800;
}

.day-counter {
  min-width: 0;
  color: rgba(247, 240, 223, 0.82);
  font-size: 15px;
  text-align: center;
}

.sky-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.sky-actions button,
.date-jump {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 240, 223, 0.88);
  font-size: 14px;
  font-weight: 700;
}

.sky-actions button {
  padding: 0 15px;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.sky-actions button:hover {
  background: rgba(246, 214, 123, 0.18);
  color: var(--gold-hot);
  transform: translateY(-1px);
}

.date-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 14px;
}

.date-jump input {
  width: 138px;
  min-height: 30px;
  border: 0;
  color: var(--ink);
  background: transparent;
  color-scheme: dark;
}

.star-layer,
.traveler-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.star-layer {
  z-index: 7;
  overflow: hidden;
}

.star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--hit);
  height: var(--hit);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.star:hover,
.star:focus-visible,
.star.is-active {
  z-index: 3;
  outline: 0;
}

.star--has-message::after {
  content: "";
  position: absolute;
  inset: 16% 2%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 54% 50%, rgba(255, 246, 205, 0.11), rgba(246, 214, 123, 0.034) 38%, transparent 74%);
  filter: blur(11px);
  transform: rotate(-16deg) scale(0.72, 0.58);
  animation: messagePulse 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes messagePulse {
  0%, 100% { opacity: 0.22; transform: rotate(-16deg) scale(0.58, 0.44); }
  50% { opacity: 0.52; transform: rotate(-16deg) scale(0.94, 0.66); }
}

.star::before {
  content: "";
  position: absolute;
  inset: 18% 2%;
  border-radius: 50%;
  opacity: 0;
  background:
    radial-gradient(ellipse at center, rgba(255, 248, 220, 0.12), rgba(246, 214, 123, 0.032) 42%, transparent 78%);
  filter: blur(14px);
  transform: rotate(-18deg) scale(0.42, 0.36);
  transition:
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.16, 0.84, 0.2, 1);
  pointer-events: none;
}

.star:hover::before,
.star:focus-visible::before,
.star.is-active::before {
  opacity: 0.84;
  transform: rotate(-18deg) scale(1, 0.68);
}

.traveler-layer {
  z-index: 16;
}

.travel-canvas {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

/* Flying star: point light with a short atmospheric wake */
.fly-star {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 101;
  width: 62px;
  height: 42px;
  border-radius: 999px;
  background: transparent;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: 62% 50%;
  pointer-events: none;
  will-change: transform;
  opacity: var(--fly-opacity, 0.96);
  filter:
    blur(var(--fly-blur, 0.08px))
    drop-shadow(0 0 16px rgba(255, 246, 205, 0.48));
}

.fly-star__tail {
  position: absolute;
  left: 0;
  top: 50%;
  width: 72%;
  height: 40%;
  border-radius: inherit;
  opacity: 0.5;
  background:
    linear-gradient(90deg, transparent 0%, rgba(132, 225, 216, 0.08) 20%, rgba(255, 249, 220, 0.24) 58%, rgba(255, 255, 255, 0.58) 100%);
  filter: blur(6px);
  transform: translateY(-50%);
}

.fly-star__core {
  position: absolute;
  left: 70%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at 44% 40%,
    rgba(255, 255, 255, 1) 0 18%,
    rgba(255, 248, 216, 0.86) 38%,
    rgba(246, 214, 123, 0.32) 62%,
    rgba(246, 214, 123, 0) 78%
  );
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.56),
    0 0 28px rgba(255, 244, 184, 0.34),
    0 0 58px rgba(246, 214, 123, 0.16);
}

.fly-star__core::before,
.fly-star__core::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  filter: blur(0.35px);
  transform: translate(-50%, -50%);
}

.fly-star__core::after {
  width: 18px;
  opacity: 0.46;
  transform: translate(-50%, -50%) rotate(82deg);
}

.fly-star__aura {
  position: absolute;
  left: 44%;
  top: 50%;
  width: 112%;
  height: 142%;
  opacity: 0.18;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 62% 50%, rgba(255, 250, 222, 0.22), rgba(246, 214, 123, 0.08) 36%, transparent 72%);
  transform: translate(-50%, -50%) scaleX(0.96);
  filter: blur(9px);
  transition: opacity 180ms ease;
}

.fly-star.is-large .fly-star__aura {
  opacity: 0.34;
}

.arrival-bloom {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 102;
  width: 0;
  height: 0;
  border-radius: 999px;
  background: transparent;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.52) 0 8%, rgba(255, 245, 196, 0.2) 28%, rgba(246, 214, 123, 0.07) 48%, transparent 76%);
  filter: blur(3px);
  transition:
    width 680ms cubic-bezier(0.08, 0.82, 0.17, 1),
    height 680ms cubic-bezier(0.08, 0.82, 0.17, 1),
    opacity 680ms cubic-bezier(0.08, 0.82, 0.17, 1);
}

.arrival-bloom.is-burst {
  width: 190px;
  height: 86px;
  opacity: 0.8;
}

.hand-glow {
  position: fixed;
  left: var(--hand-x);
  top: var(--hand-y);
  z-index: 12;
  width: clamp(112px, 12vw, 176px);
  height: clamp(52px, 5.8vw, 86px);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(255, 250, 220, 0.46), rgba(246, 214, 123, 0.18) 38%, rgba(132, 225, 216, 0.07) 62%, transparent 78%);
  transform: translate(-50%, -50%) rotate(-18deg) scale(0.62);
  transition:
    opacity 240ms ease,
    transform 420ms ease;
  filter: blur(1.8px);
}

.hand-glow.is-anticipating {
  opacity: 0.34;
  transform: translate(-50%, -50%) rotate(-18deg) scale(0.74);
  animation: handAnticipate 1.05s ease-in-out infinite;
}

.hand-glow.is-catching {
  opacity: 0.88;
  transform: translate(-50%, -50%) rotate(-18deg) scale(1.02);
  animation: none;
}

@keyframes handAnticipate {
  0%, 100% { opacity: 0.22; transform: translate(-50%, -50%) rotate(-18deg) scale(0.68); }
  50% { opacity: 0.48; transform: translate(-50%, -50%) rotate(-18deg) scale(0.92); }
}

.projection {
  position: absolute;
  top: clamp(118px, 18vh, 180px);
  left: 50%;
  z-index: 13;
  width: min(920px, calc(100% - 36px));
  pointer-events: none;
  text-align: center;
  text-shadow:
    0 0 18px rgba(246, 214, 123, 0.28),
    0 10px 36px rgba(0, 0, 0, 0.72);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.projection.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.projection::before {
  content: "";
  position: absolute;
  inset: -70px -120px -54px;
  z-index: -1;
  opacity: 0.44;
  background:
    radial-gradient(ellipse at center, rgba(255, 246, 205, 0.12), rgba(132, 225, 216, 0.055) 34%, transparent 72%);
  filter: blur(10px);
}

.projection__day {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border: 1px solid rgba(246, 214, 123, 0.28);
  border-radius: 999px;
  background: rgba(246, 214, 123, 0.1);
  color: var(--gold-hot);
  font-size: 14px;
  font-weight: 800;
}

.projection h2 {
  margin: 15px 0 12px;
  color: #fff8da;
  font-size: clamp(31px, 4.35vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.projection p {
  margin: 0 auto;
  max-width: 780px;
  color: rgba(247, 240, 223, 0.92);
  font-size: clamp(17px, 2.3vw, 25px);
  line-height: 1.8;
}

.projection time {
  display: block;
  margin-top: 16px;
  color: rgba(132, 225, 216, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.quiet-note {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4vh, 42px);
  z-index: 14;
  width: min(760px, calc(100% - 32px));
  margin: 0;
  color: rgba(247, 240, 223, 0.76);
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.72);
  transform: translateX(-50%);
}

@media (max-width: 820px) {
  .intro {
    place-items: end start;
    padding: 28px 22px 86px;
  }

  .intro__shade {
    background:
      linear-gradient(180deg, rgba(2, 5, 15, 0.38), rgba(2, 5, 15, 0.18) 32%, rgba(2, 5, 15, 0.84)),
      linear-gradient(90deg, rgba(2, 5, 15, 0.58), transparent);
  }

  .intro__copy {
    padding-left: 0;
  }

  .intro h1 {
    font-size: clamp(35px, 10.5vw, 66px);
    line-height: 1.08;
  }

  .intro p:not(.intro__eyebrow) {
    font-size: 17px;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 8px;
    width: calc(100% - 22px);
    border-radius: 22px;
  }

  .brand {
    justify-content: center;
  }

  .day-counter {
    font-size: 14px;
  }

  .sky-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .sky-actions button,
  .date-jump {
    min-height: 36px;
    font-size: 13px;
  }

  .date-jump input {
    width: 126px;
  }

  .projection {
    top: clamp(202px, 25vh, 228px);
  }

  .projection h2 {
    font-size: clamp(28px, 10vw, 46px);
  }

  .projection p {
    font-size: 16px;
  }

  .quiet-note {
    bottom: 18px;
    font-size: 13px;
  }

  .star {
    width: var(--hit);
    height: var(--hit);
  }
}

@media (max-width: 520px) {
  .girl {
    right: -1vw;
    bottom: 7vh;
    width: clamp(136px, 38vw, 198px);
    height: clamp(260px, 50vh, 374px);
  }

  .projection {
    top: clamp(208px, 26vh, 232px);
  }

  .projection__day {
    min-height: 26px;
    font-size: 12px;
  }

  .projection time {
    font-size: 12px;
  }

  .date-jump {
    width: min(100%, 260px);
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
