:root {
  color-scheme: light;
  --canvas: #f6eefe;
  --surface: #fbf4fe;
  --ink: #684f7f;
  --muted: #735b87;
  --action: #765994;
  --stroke: #cbb7df;
  --pink: #e9bfdc;
  --blue: #c3d6f4;
  --green: #d3dfc6;
  font: 100%/1.5 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
main { overflow-x: clip; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--action); outline-offset: 5px; }
h1:focus { outline: none; }
.shell { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid #e3d4ee; background: var(--surface); }
.header-row { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: grid; text-decoration: none; line-height: 1.15; }
.brand > span { font-size: 1.85rem; font-weight: 750; letter-spacing: .1em; }
.brand small { margin-top: .35rem; font-size: .8rem; letter-spacing: .08em; }
nav { display: flex; gap: clamp(.75rem, 3vw, 2.25rem); align-items: center; }
nav a { font-size: .9375rem; text-decoration: none; padding-block: .65rem; }
nav a[aria-current] { font-weight: 700; box-shadow: inset 0 -2px var(--action); }
.page { text-align: center; }
.home { position: relative; isolation: isolate; min-height: min(42rem, calc(100svh - 5.25rem)); display: grid; place-items: center; }
.home-copy { width: min(100%, 43.5rem); z-index: 1; padding: 9rem 0 8rem; pointer-events: none; }
.home-copy > * { pointer-events: auto; }
h1 { font-size: clamp(2rem, 5.4vw, 4.125rem); line-height: 1.2; margin: .55em 0 .25em; }
.home-copy h1 { margin: 0; color: #57366b; }
.title-lettering { display: block; width: 100%; height: auto; aspect-ratio: 5.65; object-fit: cover; }
.home-copy .slogan { font-size: clamp(1rem, 2vw, 1.25rem); margin: clamp(.95rem, 1.7vw, 1.25rem) 0 .55rem; }
.brand-note { color: var(--muted); margin: 0 auto 2.5rem; font-size: .9375rem; max-width: 29rem; text-wrap: balance; }
.home-copy h1, .home-copy p { transition: transform .24s ease, color .24s ease; }
@media (hover: hover) { .home-copy h1:hover, .home-copy p:hover { color: #805397; transform: translateY(-2px); } }
.primary { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; border-radius: 999px; padding: .65rem 1.95rem; color: white; background: var(--action); font-weight: 650; text-decoration: none; }
.primary:hover { background: #684982; }
.home-art { position: absolute; inset: 0; width: min(100%, 55rem); height: min(100%, 34rem); margin: auto; pointer-events: none; }
.orbit { position: absolute; inset: 15% 4%; border-radius: 50%; }
.orbit-pink { inset: 15% 11% 14% 2%; border: 2px solid #ebcce9; border-radius: 59% 41% 51% 49% / 47% 58% 42% 53%; transform: rotate(12deg); }
.orbit-lilac { inset: 19% 1% 14% 6%; border: 2px dashed #d9c4eb; border-radius: 43% 57% 48% 52% / 59% 39% 61% 41%; transform: rotate(-16deg); }
.orbit-fragment { position: absolute; width: 30%; height: 20%; right: 3%; top: 16%; border-radius: 50%; border-top: 2px solid #dec9ee; transform: rotate(17deg); }
.ribbon { position: absolute; width: 17%; height: 13%; left: 2%; bottom: 26%; border-bottom: 5px solid #e8c6e1; border-radius: 40% 61% 66% 55%; transform: rotate(24deg); }
.diamond { position: absolute; top: 22%; left: 28%; width: .55rem; aspect-ratio: 1; border: 1px solid #bd9bd6; transform: rotate(45deg); }
.home-art .home-moon { position: absolute; width: clamp(1rem, 3.5vw, 2.5rem); left: 41%; top: 9%; transform: rotate(-30deg); }
.home-art .home-moon::after { background: var(--canvas); }
.paper-plane { position: absolute; width: clamp(1.1rem, 4vw, 3rem); aspect-ratio: 1.05; left: 31%; bottom: 11%; background: linear-gradient(155deg, #d2ddf6 42%, #aabde2 43% 60%, #c2d5ee 61%); clip-path: polygon(1% 38%, 97% 3%, 68% 95%, 45% 68%, 33% 83%, 29% 59%); transform: rotate(10deg); }
.tiny-envelope { position: absolute; width: clamp(1.15rem, 4vw, 3rem); aspect-ratio: 1.45; right: 22%; top: 9%; border: 1px solid #bba7d2; border-radius: .2rem; background: #fcf2fc; transform: rotate(16deg); overflow: hidden; }
.tiny-envelope::after { content: ""; display: block; width: 70%; aspect-ratio: 1; margin: -31% auto 0; border: solid #bba7d2; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.egg { position: absolute; pointer-events: auto; display: grid; place-items: center; width: clamp(2.8rem, 9.5vw, 6.65rem); aspect-ratio: .78; border: 2px solid; border-radius: 52% 52% 48% 48% / 65% 65% 35% 35%; transform: rotate(var(--tilt)); transform-origin: 50% 84%; animation: egg-rock 3s ease-in-out; }
.egg-pink { left: 9%; top: 10%; background: var(--pink); border-color: #d593bf; --tilt: -17deg; }
.egg-blue { right: 6%; top: 24%; background: var(--blue); border-color: #91b1db; --tilt: 13deg; animation-delay: .25s; }
.egg-green { left: 15%; bottom: 8%; background: var(--green); border-color: #a9bf9e; --tilt: -23deg; animation-delay: .5s; }
@keyframes egg-rock { 0%, 35%, 100% { transform: rotate(var(--tilt)); } 10% { transform: rotate(calc(var(--tilt) - 5deg)); } 23% { transform: rotate(calc(var(--tilt) + 5deg)); } }
.mark { display: block; width: 59%; aspect-ratio: 1; background: #fffafc; }
.heart { clip-path: polygon(50% 87%, 12% 54%, 4% 35%, 10% 17%, 26% 9%, 42% 15%, 50% 25%, 58% 15%, 74% 9%, 90% 17%, 96% 35%, 88% 54%); }
.star { clip-path: polygon(50% 3%, 63% 34%, 97% 36%, 71% 59%, 79% 94%, 50% 76%, 21% 94%, 29% 59%, 3% 36%, 37% 34%); }
.clover { background: radial-gradient(circle at 34% 34%, #fffdf6 0 24%, transparent 26%), radial-gradient(circle at 66% 34%, #fffdf6 0 24%, transparent 26%), radial-gradient(circle at 34% 66%, #fffdf6 0 24%, transparent 26%), radial-gradient(circle at 66% 66%, #fffdf6 0 24%, transparent 26%); }
.spark, .dot { position: absolute; color: #ab8cc7; }
.spark { font-size: clamp(1.3rem, 4vw, 2.25rem); line-height: 1; }
.spark-top { top: 13%; right: 33%; }
.spark-left { top: 49%; left: 1%; }
.spark-right { bottom: 29%; right: 1%; }
.dot { width: .65rem; aspect-ratio: 1; border-radius: 50%; }
.dot-pink { top: 17%; left: 27%; background: #d4a6e4; }
.dot-blue { bottom: 13%; right: 28%; background: #b1c9ef; }
.film { position: absolute; display: grid; grid-template-columns: repeat(3, 1fr); gap: .14rem; padding: .36rem .15rem; background: #b899cf; border-radius: .22rem; overflow: hidden; }
.film::before, .film::after { content: ""; position: absolute; inset: .13rem .12rem auto; height: .12rem; background: repeating-linear-gradient(90deg, #fff7ff 0 .26rem, transparent .26rem .5rem); }
.film::after { inset: auto .12rem .13rem; }
.film i { display: grid; place-items: center; min-width: 0; line-height: 1; border-radius: .1rem; background: #ebd6f2; color: #9365aa; font-style: normal; font-size: clamp(.55rem, 1.25vw, .85rem); }
.film i:nth-child(2) { background: #f2d7e9; color: #a36796; }
.film i:nth-child(3) { background: #dfebde; color: #728f74; }
.film-home { width: 17%; min-width: 3.15rem; height: clamp(1.25rem, 4vw, 2.8rem); right: 8%; bottom: 14%; transform: rotate(-24deg) skewX(6deg); }
.explore { position: relative; isolation: isolate; padding: clamp(2rem, 5vw, 4rem) 0 2rem; }
.explore-ribbon {
  --ribbon-curve: polygon(0.0% 53.4%, 2.8% 55.2%, 5.6% 57.0%, 8.3% 58.8%, 11.1% 60.3%, 13.9% 61.7%, 16.7% 62.8%, 19.4% 63.5%, 22.2% 63.8%, 25.0% 63.6%, 27.8% 63.0%, 30.6% 62.0%, 33.3% 60.5%, 36.1% 58.6%, 38.9% 56.3%, 41.7% 53.8%, 44.4% 51.0%, 47.2% 48.0%, 50.0% 45.0%, 52.8% 42.0%, 55.6% 39.0%, 58.3% 36.2%, 61.1% 33.7%, 63.9% 31.5%, 66.7% 29.7%, 69.4% 28.3%, 72.2% 27.3%, 75.0% 26.8%, 77.8% 26.7%, 80.6% 27.1%, 83.3% 27.9%, 86.1% 29.0%, 88.9% 30.4%, 91.7% 32.1%, 94.4% 33.9%, 97.2% 35.7%, 100.0% 37.5%, 100.0% 40.2%, 97.2% 38.4%, 94.4% 36.6%, 91.7% 34.9%, 88.9% 33.3%, 86.1% 32.0%, 83.3% 31.0%, 80.6% 30.4%, 77.8% 30.1%, 75.0% 30.3%, 72.2% 31.0%, 69.4% 32.1%, 66.7% 33.7%, 63.9% 35.6%, 61.1% 37.9%, 58.3% 40.5%, 55.6% 43.4%, 52.8% 46.3%, 50.0% 49.4%, 47.2% 52.4%, 44.4% 55.3%, 41.7% 58.1%, 38.9% 60.5%, 36.1% 62.7%, 33.3% 64.5%, 30.6% 65.8%, 27.8% 66.7%, 25.0% 67.2%, 22.2% 67.2%, 19.4% 66.7%, 16.7% 65.9%, 13.9% 64.7%, 11.1% 63.2%, 8.3% 61.6%, 5.6% 59.8%, 2.8% 57.9%, 0.0% 56.1%);
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 142vw;
  height: 49%;
  top: 29%;
  left: 50%;
  translate: -50% 0;
  animation: ribbon-drift 4.8s cubic-bezier(.22,.68,.28,1) both;
}
.explore-ribbon span { position: absolute; inset: 0; clip-path: var(--ribbon-curve); }
.explore-ribbon span:first-child { background: linear-gradient(100deg, #d3b5e5 6%, #d0dbf4 38%, #eed1e7 66%, #bcd9d2 89%); opacity: .64; }
.explore-ribbon span:last-child { background: linear-gradient(100deg, #faf0fb, #d3b9e7 44%, #fffafb 71%, #cfe4e1); transform: translateY(3%) rotate(-1.8deg); opacity: .5; }
@keyframes ribbon-drift {
  0% { transform: translate(-10%, 5%) rotate(1.8deg); opacity: .15; }
  37% { transform: translate(2%, -3%) rotate(-1.8deg); opacity: 1; }
  67% { transform: translate(4%, 2%) rotate(.85deg); }
  100% { transform: none; opacity: 1; }
}
.explore h1 { font-size: clamp(2rem, 4.75vw, 3.3rem); margin: 0; }
.explore-intro { margin: .7rem 0 1.6rem; }
.search-preview { width: min(100%, 32rem); margin: auto; border: 1px solid #bda9d2; background: var(--surface); border-radius: 999px; min-height: 3rem; display: flex; align-items: center; gap: .75rem; padding: .45rem 1rem; text-align: start; }
.search-preview small { margin-inline-start: auto; white-space: nowrap; color: var(--muted); }
.magnifier { width: 1rem; height: 1rem; border: 2px solid currentColor; border-radius: 50%; position: relative; flex: none; margin-inline-end: .15rem; }
.magnifier::after { content: ""; position: absolute; width: .42rem; height: 2px; background: currentColor; right: -.33rem; bottom: -.12rem; transform: rotate(45deg); }
.orbit-deck { height: clamp(19rem, 50vw, 35rem); width: min(100%, 55rem); margin: .7rem auto 0; position: relative; isolation: isolate; }
.deck-track { position: absolute; inset: 0; background: linear-gradient(118deg, #c3d3f1 13%, #e7c2e1 46%, #c4dcd6 83%); clip-path: var(--track-outline); }
.orbit-deck::before { content: ""; position: absolute; inset: 0; background: #cfb6eb; opacity: .27; filter: blur(9px); clip-path: var(--track-glow); pointer-events: none; }
.track-light { position: absolute; z-index: 1; width: .45rem; aspect-ratio: 1; border-radius: 50%; background: #fffcff; box-shadow: 0 0 .45rem .13rem #fdf4ff, 0 0 .8rem .19rem #c4a1e2; transform: translate(-50%, -50%); pointer-events: none; }
.track-light:nth-of-type(2) { width: .3rem; background: #fff8e8; }
.track-light:nth-of-type(3) { width: .24rem; background: #f0f9ff; }
.film-deck { width: 20%; min-width: 4.5rem; height: clamp(1.2rem, 3.4vw, 2.1rem); top: 48%; left: 40%; opacity: .68; transform: rotate(-12deg); }
.cards { position: absolute; inset: 0; padding: 0; margin: 0; list-style: none; }
.card { position: absolute; top: 50%; left: 50%; width: clamp(3.8rem, 15%, 8.15rem); aspect-ratio: .79; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .42em; padding: .4em; border: clamp(2px, .45vw, 5px) solid #fffbff; border-radius: clamp(.4rem, 1vw, .9rem); font-size: clamp(.7rem, 1.55vw, .95rem); font-weight: 650; line-height: 1.2; transform: translate(-50%, -50%) rotate(var(--card-tilt)) scale(var(--card-size)); transition: transform .22s ease; }
@media (hover: hover) { .card:hover { z-index: 20 !important; transform: translate(-50%, -50%) rotate(0) scale(1.17); } }
.card-star { background: var(--blue); }
.card-moon { background: #e1d0f1; }
.card-main { background: #f1cce6; }
.card-green { background: #e0ead5; }
.card-more { background: #eee4f7; }
.orbit-controls { display: flex; justify-content: center; align-items: center; gap: .75rem; }
.orbit-controls p { margin: 0; font-size: .875rem; }
.orbit-controls button { border: 1px solid var(--stroke); border-radius: 50%; background: var(--surface); color: var(--ink); width: 2.75rem; height: 2.75rem; font: 1.6rem/1 system-ui; cursor: pointer; }
.orbit-controls button:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.card-picture { width: 100%; height: 66%; display: grid; place-items: center; position: relative; overflow: hidden; border-radius: .32rem .32rem .55rem .55rem; background: #f8edf9; }
.card-picture .mark { width: 48%; }
.picture-egg { background: radial-gradient(ellipse at 50% 54%, #fbedf6 0 34%, transparent 36%), radial-gradient(circle at 78% 23%, white 0 4%, transparent 5%), #edc3df; }
.picture-egg .heart { background: #bb74aa; }
.picture-moon { background: linear-gradient(155deg, #e3d0ee 47%, #c4b3df 48% 69%, #b8a4d4 70%); }
.picture-moon .moon { transform: translateY(-12%); }
.picture-moon .moon::after { background: #e3d0ee; }
.picture-hill { background: radial-gradient(circle at 64% 26%, #fff1dd 0 11%, transparent 12%), linear-gradient(160deg, #e8f1e4 52%, #aec8b5 53% 69%, #8fb6a1 70%); }
.picture-hill i { position: absolute; bottom: 19%; width: 53%; height: 23%; border: 2px solid #996e91; border-inline-width: 0; box-shadow: 0 -.16rem #996e91; transform: rotate(-10deg); }
.picture-star { background: radial-gradient(circle at 25% 27%, #fffaf7 0 5%, transparent 6%), linear-gradient(145deg, #ecdcf3, #c6d8ef); }
.picture-star .star { background: #fff7e6; transform: rotate(13deg); }
.picture-stage { background: radial-gradient(ellipse at 50% 101%, #ad90c7 0 32%, transparent 33%), conic-gradient(from 148deg at 50% 0, #fce4ec 0 16%, #cdbce9 17% 100%); }
.picture-stage .star { width: 36%; background: #fff5d9; transform: translateY(-9%) rotate(-12deg); }
.picture-comets { background: radial-gradient(ellipse at 67% 79%, #ffedd9 0 12%, transparent 13%), linear-gradient(#a9abd9, #e5b5d6 68%, #f9d3cf); }
.picture-comets::before, .picture-comets::after { content: ""; position: absolute; inset: 28% 11% auto auto; width: 61%; height: 5%; border-radius: 80% 3% 75% 30%; background: linear-gradient(90deg, #fffcf4, #bedcf5 58%, transparent); transform: rotate(-28deg); }
.picture-comets::after { top: 44%; right: 3%; background: linear-gradient(90deg, #ffeafa, #e8b8dd 65%, transparent); }
.picture-door { background: radial-gradient(ellipse at 19% 86%, #fff7fc 0 17%, transparent 18%), radial-gradient(ellipse at 84% 73%, #f8f1fb 0 22%, transparent 23%), #bfdbf7; }
.picture-door i { position: relative; width: 39%; height: 64%; border: 2px solid #b975a7; border-radius: .2rem .2rem 0 0; background: #e9a8cf; box-shadow: -.2rem .1rem #f6d4e8; }
.picture-door i::after { content: ""; position: absolute; width: 17%; aspect-ratio: 1; top: 53%; right: 11%; border-radius: 50%; background: #fff2df; }
.picture-clue { background: radial-gradient(ellipse at 47% 44%, #f8efdc, #d5dfdd 68%); }
.picture-clue i { position: relative; width: 43%; aspect-ratio: 1; border: clamp(2px, .45vw, 5px) solid #77668d; border-radius: 50%; background: #c9d7eb; transform: translateY(-12%); }
.picture-clue i::after { content: ""; position: absolute; top: 76%; right: -51%; width: 64%; height: 19%; border-radius: 1rem; background: #77668d; transform-origin: 15% 50%; transform: rotate(48deg); }
.moon { width: 49%; aspect-ratio: 1; border-radius: 50%; background: #fff0b8; position: relative; }
.moon::after { content: ""; position: absolute; inset: -6% -8% 5% 27%; background: #e1d0f1; border-radius: 50%; }
.back { text-underline-offset: .25em; display: inline-block; padding: .45rem; }

.lock { position: relative; border-radius: 1rem 1rem 1.45rem 1.45rem; gap: .6rem; margin-top: 1rem; transition: transform .22s ease, background-color .22s ease; }
.lock::before { content: ""; position: absolute; width: 2.25rem; height: 1.55rem; left: calc(50% - 1.125rem); bottom: 100%; border: .24rem solid var(--action); border-bottom: 0; border-radius: 1.3rem 1.3rem 0 0; transform-origin: 10% 100%; transition: transform .24s ease; }
.lock:hover, .lock:focus-visible { transform: scale(1.08); }
.lock:hover::before, .lock:focus-visible::before { transform: rotate(-22deg) translateY(-.16rem); }
.lock-hole { width: .75rem; height: .95rem; background: #fff6fd; clip-path: polygon(50% 1%, 86% 17%, 91% 42%, 69% 57%, 80% 98%, 20% 98%, 31% 57%, 9% 42%, 14% 17%); }
.key-cursor { display: none; position: fixed; width: 1.55rem; height: .6rem; top: 0; left: 0; z-index: 50; pointer-events: none; color: #785692; border-bottom: 3px solid currentColor; translate: var(--pointer-x) var(--pointer-y); transform: translate(-98%, -.5rem) rotate(-30deg); transform-origin: 100% 50%; }
.key-cursor::before { content: ""; position: absolute; width: .83rem; height: .83rem; left: -.5rem; top: -.14rem; border: 3px solid currentColor; border-radius: 50%; background: #faefff; }
.key-cursor::after { content: ""; position: absolute; width: .46rem; height: .4rem; right: 0; bottom: -.37rem; border: solid currentColor; border-width: 0 2px 0 2px; }
@media (hover: hover) and (pointer: fine) {
  .home.key-active, .home.key-active * { cursor: none; }
  body:has(.home.key-active:not([hidden])) .key-cursor { display: block; }
}

.heart-transition { position: fixed; inset: 0; z-index: 60; overflow: hidden; display: grid; place-items: center; pointer-events: none; animation: veil 920ms ease both; }
.heart-transition::before { content: ""; position: absolute; inset: 0; background: #f4e7fd; animation: veil-fill 920ms ease both; }
.heart-door { position: relative; width: 120px; height: 120px; animation: heart-grow 920ms cubic-bezier(.24,.69,.25,1) both; }
.heart-door span { position: absolute; inset: 0; }
.heart-door span:first-child { clip-path: inset(0 50% 0 0); animation: heart-left 920ms ease both; }
.heart-door span:last-child { clip-path: inset(0 0 0 50%); animation: heart-right 920ms ease both; }
.heart-door span::before, .heart-door span::after { content: ""; position: absolute; inset: 0; clip-path: path("M60 108 C49 99 6 67 6 36 C6 9 39 5 60 31 C81 5 114 9 114 36 C114 67 71 99 60 108 Z"); }
.heart-door span::before { background: #b993ce; }
.heart-door span::after { transform: scale(.93); background: repeating-radial-gradient(ellipse at 45% 42%, #f3d8ec 0 12px, #f3d8ec 12px 22px, #fbecfb 22px 24px, #f3d8ec 24px 35px); }
@keyframes veil { 0%, 78% { opacity: 1; } 100% { opacity: 0; } }
@keyframes veil-fill { 0% { opacity: 0; } 31%, 42% { opacity: 1; } 82%, 100% { opacity: 0; } }
@keyframes heart-grow { 0% { transform: scale(.2); opacity: 0; } 12% { opacity: 1; } 40%, 100% { transform: scale(5); opacity: 1; } }
@keyframes heart-left { 0%, 40% { transform: none; } 100% { transform: translateX(-95%) rotate(-10deg); } }
@keyframes heart-right { 0%, 40% { transform: none; } 100% { transform: translateX(95%) rotate(10deg); } }

@media (max-width: 40rem) {
  .shell { width: calc(100% - 1.75rem); }
  .home { min-height: 31rem; }
  .home-art { height: 27rem; }
  .orbit-pink { inset: 12% 9% 18% 1%; }
  .orbit-lilac { inset: 19% 1% 10% 8%; }
  .egg-pink { top: 12%; }
  .egg-blue { top: 19%; }
  .egg-green, .film-home { bottom: 18%; }
  .spark-left { top: 66%; }
  .spark-right { bottom: 36%; }
  .home-copy { padding: 7.5rem 0; }
  .home-copy h1 { font-size: clamp(1.5rem, 7vw, 2.8rem); }
  .home-art .home-moon { top: 13%; }
  .paper-plane { bottom: 15%; }
  .card-picture { height: 61%; }
  .search-preview { font-size: .875rem; }
  .brand-note { max-width: 17rem; }
}

@media (prefers-reduced-motion: reduce) {
  .egg, .explore-ribbon { animation: none; }
  .home-copy h1, .home-copy p, .lock, .lock::before, .card { transition: none; }
  .heart-transition { display: none; }
}
