:root {
  color-scheme: dark;
  --ink: #0b0916;
  --paper: #faf4ff;
  --muted: #bcb6cd;
  --accent: #e4c7fa;
  --gold: #e6c69e;
  --gutter: clamp(26px, 6.45vw, 120px);
  --header: 78px;
  --serif: "Songti SC","STSong","Noto Serif CJK SC","SimSun",serif;
  --sans: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  font-family: var(--sans);
  background: var(--ink);
  color: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; }
button,a { -webkit-tap-highlight-color: transparent; }
button { font:inherit; color:inherit; cursor:pointer; }
a { color:inherit; text-decoration:none; }
a:focus-visible,button:focus-visible,summary:focus-visible,[role="tabpanel"]:focus-visible { outline:2px solid #f0d4ff; outline-offset:5px; }
button { background: none; border:0; }
h1,h2,h3,p { margin:0; }
svg { display:block; }
.symbol-bank { position:absolute; width:0; height:0; }
.shell,.head-inner { width: min(1800px,100%); margin-inline:auto; padding-inline:var(--gutter); }
.skip { position:fixed; top:0; left:1em; z-index:30; transform:translateY(-160%); padding:.8em; background:#29213c; }
.skip:focus { transform:none; }
.site-head { position:fixed; top:0; left:0; width:100%; z-index:10; background:linear-gradient(to bottom,rgba(10,8,26,.68),transparent); transition:background .3s; }
.site-head.scrolled { background:rgba(12,10,23,.93); backdrop-filter:blur(12px); }
.head-inner { position:relative; height:var(--header); display:grid; grid-template-columns:1fr auto 1fr; align-items:center; }
.head-inner:after { position:absolute; height:1px; bottom:0; left:var(--gutter); right:var(--gutter); content:""; background:linear-gradient(90deg,rgba(206,187,226,.20),rgba(206,187,226,.11),rgba(206,187,226,.23)); pointer-events:none; }
.wordmark { display:inline-flex; align-items:center; gap:10px; justify-self:start; font:600 23px/1 var(--serif); letter-spacing:.1em; white-space:nowrap; }
.brand-icon { width:43px; height:43px; color:#ead2b0; }
.main-nav { display:flex; height:100%; align-items:stretch; gap:clamp(30px,3.7vw,66px); }
.main-nav a { display:grid; place-items:center; position:relative; font-size:13px; letter-spacing:.105em; color:#ccc6d8; }
.main-nav a.current,.main-nav a:hover { color:white; }
.main-nav a.current:after { content:""; position:absolute; bottom:-1px; height:2px; width:100%; background:#d8b8ed; box-shadow:0 0 8px #cbaaf97a; }
.sound { justify-self:end; display:inline-flex; align-items:center; gap:8px; padding:7px 13px; border:1px solid #d6c8ec49; border-radius:24px; color:#e3dcef; font-size:12px; background:#1a14292e; min-height:35px; }
.sound:hover { background:#33263f80; }
.sound-state { font-size:10px; color:#b2a5bb; }
.bars { display:flex; gap:2px; align-items:center; width:17px; height:14px; color:#dab9e5; }
.bars i { height:4px; width:1.5px; border-radius:1px; background:currentColor; }
.bars i:nth-child(2),.bars i:nth-child(4) { height:8px; }.bars i:nth-child(3) { height:12px; }
.sound[aria-pressed="true"] .bars i { animation:pulse-level .75s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] .bars i:nth-child(even) { animation-delay:-.5s; }.sound[aria-pressed="true"] .bars i:nth-child(3) { animation-delay:-.2s; }
@keyframes pulse-level { to { transform:scaleY(.35); } }
.chapter { position:relative; }
.hero { height:100vh; height:100svh; min-height:585px; isolation:isolate; overflow:hidden; background:#08071b; display:grid; align-items:center; }
.hero-art,.hero-shade,#sky { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.hero-art { z-index:-3; background:url("assets/starwish-sky.webp") center 53% / cover no-repeat; transform:scale(1.025) translate3d(var(--sky-x,0px),var(--sky-y,0px),0); transition:transform 1.45s cubic-bezier(.16,.68,.28,1); }
.hero-art.still { background-image:url("assets/starwish-orbit.webp"); }
.live-orbit, .live-orbit img, .live-orbit canvas { position:absolute; inset:0; width:100%; height:100%; display:block; }
.live-orbit { opacity:0; transition:opacity .5s ease-out; }
.live-orbit.ready { opacity:1; }
.live-orbit img { object-fit:cover; object-position:50% 53%; }
@media(prefers-reduced-motion:reduce){.live-orbit { transition:none; }}
.hero-shade { z-index:-2; background:linear-gradient(90deg,rgba(10,7,23,.48),rgba(17,9,29,.16) 35%,transparent 60%),linear-gradient(0deg,#0b0916 0%,rgba(11,9,22,.58) 6%,transparent 24%,transparent 91%,rgba(9,7,22,.25)); }
#sky { z-index:-1; }
.hero-copy { padding-top:18px; pointer-events:none; }
.hero-actions a { pointer-events:auto; }
.hero-kicker,.eyebrow { display:flex; align-items:center; gap:15px; font-family:"Helvetica Neue",Arial,sans-serif; font-size:11px; line-height:1.4; letter-spacing:.28em; font-weight:500; color:#e3cba9; }
.star-rule { width:35px; height:1px; display:inline-block; position:relative; background:linear-gradient(90deg,transparent,#d7b699 85%); }
.star-rule:after { content:""; position:absolute; right:-2px; top:-2.5px; width:6px; height:6px; background:#eace9e; transform:rotate(45deg); }
.hero h1 { font:500 clamp(78px,7.6vw,147px)/1.14 var(--serif); letter-spacing:.055em; margin:21px 0 15px -.045em; color:#fff5fa; text-shadow:0 3px 28px #30203b71; }
.wish-line { font:400 clamp(23px,2.05vw,37px)/1.55 var(--serif); letter-spacing:.12em; color:#efdfef; }
.hero-desc { margin-top:13px; color:#c8c2d6; font-size:clamp(13px,.96vw,17px); letter-spacing:.07em; line-height:1.85; }
.hero-actions { display:flex; gap:15px; margin-top:34px; }
.action { display:inline-flex; align-items:center; justify-content:center; min-width:143px; min-height:48px; padding:10px 21px; gap:10px; border-radius:28px; letter-spacing:.08em; font-size:14px; font-weight:500; transition:transform .22s,box-shadow .22s,background .22s; }
.action svg { width:18px; height:18px; }
.action:hover { transform:translateY(-2px); }
.action.lit { color:#2a1c3a; background:linear-gradient(110deg,#fbebf5,#dac0fd 90%); box-shadow:0 0 24px #d4a6ff26,inset 0 1px 0 #fff9; }
.action.lit:hover { box-shadow:0 0 35px #d4a6ff5c; }
.action.glass { background:#1813268f; border:1px solid #e4d2ed60; backdrop-filter:blur(6px); color:#f2e7f6; }
.action.glass:hover { background:#34233d; }
.hero-foot { position:absolute; inset:auto 0 clamp(25px,4.7vh,55px); display:grid; grid-template-columns:1fr auto 1fr; align-items:center; }
.scroll-cue,.wish { display:inline-flex; align-items:center; gap:12px; font-size:11px; letter-spacing:.12em; color:#e0d9e8; width:max-content; }
.scroll-disc { display:grid; place-items:center; border-radius:50%; width:33px; height:33px; border:1px solid #ded1ed61; }
.scroll-disc svg { width:13px; height:13px; transition:transform .2s; }.scroll-cue:hover svg { transform:translateY(2px); }
.chapter-track { display:flex; align-items:center; gap:9px; }
.chapter-track a { width:18px; height:24px; display:grid; align-items:center; }
.chapter-track a:before { content:""; height:2px; background:#ad92bb76; }.chapter-track a.on { width:42px; }.chapter-track a.on:before { background:#dfc5ee; }
.wish { justify-self:end; padding:6px 0 6px 6px; color:#d3c8df; }
.wish:hover { color:#fff; }.wish svg { width:23px; height:20px; color:#e2c8eb; }
.experience,.platforms { min-height:100vh; min-height:100svh; display:grid; align-content:center; isolation:isolate; }
.experience { background:radial-gradient(ellipse at 79% 42%,#24193777,transparent 44%),#0b0916; }
.experience::before,.platforms::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.38; background-image:radial-gradient(1px 1px at 18% 25%,#d2c0ff 95%,transparent),radial-gradient(1px 1px at 70% 70%,#d2c0ff 95%,transparent),radial-gradient(1px 1px at 36% 77%,#a8a5c4 95%,transparent); background-size:437px 403px,379px 523px,672px 389px; }
.experience-body,.platform-body { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:clamp(35px,7vw,125px); padding-block:calc(var(--header) + 40px) 72px; }
.eyebrow { font-size:10px; }
.experience h2,.platforms h2 { font:500 clamp(48px,5.1vw,91px)/1.28 var(--serif); letter-spacing:.065em; margin:26px 0 25px; }
.lore { width:min(440px,100%); padding-top:4px; }
.lore details { border-bottom:1px solid #a493b92c; }
.lore summary { list-style:none; display:flex; justify-content:space-between; align-items:center; padding:16px 1px; cursor:pointer; color:#cfc6d9; font-size:15px; letter-spacing:.08em; }
.lore summary::-webkit-details-marker { display:none; }.lore details[open] summary { color:#f4dec2; }
.lore summary span { width:11px; height:1px; background:currentColor; position:relative; }.lore summary span:after { position:absolute; content:""; inset:0; background:currentColor; transform:rotate(90deg); }.lore details[open] summary span:after { display:none; }
.lore details p { color:#bcb4c8; font-size:14px; line-height:1.95; margin:0 20px 18px 0; }
.play-wrap { width:100%; max-width:540px; justify-self:center; }
.platforms { background:radial-gradient(ellipse at 25% 56%,#24193691,transparent 52%),linear-gradient(#0b0916,#100c1d 80%,#0a0812); }
.platforms { display:flex; flex-direction:column; }
.platform-body { flex:1; grid-template-columns:.88fr 1.12fr; padding-block:calc(var(--header) + 50px) 72px; }
.platform-copy>p:last-child { color:var(--muted); font-size:15px; letter-spacing:.07em; }.platform-box { border:1px solid #ccb5eb38; border-radius:23px; background:linear-gradient(120deg,#32283f80,#1a152687); box-shadow:inset 0 1px 0 #e8d7ff0b,0 30px 75px #03010948; }
.platform-tabs { display:flex; padding:0 19px; border-bottom:1px solid #c5b5e025; gap:6px; }
.platform-tabs button { display:flex; align-items:center; justify-content:center; flex:1 0 auto; gap:8px; padding:21px 0 18px; min-height:53px; border-bottom:2px solid transparent; color:#b1a8c2; font-size:14px; }.platform-tabs button[aria-selected="true"] { color:#f6e9fe; border-color:#d6b1ed; }
.platform-tabs svg { width:19px; height:19px; }.platform-panel { display:flex; gap:22px; align-items:center; min-height:213px; padding:25px; }
.platform-art { --planet-size:99px; flex:0 0 var(--planet-size); width:var(--planet-size); height:var(--planet-size); position:relative; display:grid; place-items:center; border-radius:20%; background:radial-gradient(ellipse,#614a6c42,transparent 70%); }
.platform-art>svg { width:46%; height:46%; color:#ecd1b0; filter:drop-shadow(0 0 10px #c2a2c650); }.portal-orbit { position:absolute; inset:18% 3%; border:1px solid #d4b5e03d; border-radius:50%; transform:rotate(-34deg); }.portal-orbit.b { inset:7% 26%; transform:rotate(-34deg); border-color:#dbc5ab28; }
.platform-art.code { border-radius:6px; background:white; }.platform-art.code img { width:100%; height:100%; object-fit:contain; }
.platform-info h3 { font:500 clamp(23px,2vw,35px)/1.4 var(--serif); }.platform-info p { color:#c2b9cd; font-size:13px; line-height:1.8; margin:8px 0 17px; }.port-action { display:inline-flex; align-items:center; gap:8px; font-size:13px; color:#efd2f5; border-bottom:1px solid #d7b6df55; padding-bottom:3px; }.port-action svg { width:13px; height:13px; }
.site-foot { position:relative; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px; padding-block:20px; color:#b6aebf; font-size:12px; line-height:1.6; }
.site-foot:before { content:""; position:absolute; top:0; left:var(--gutter); right:var(--gutter); height:1px; background:#b398c62d; }
.site-foot .wordmark { color:#e4dce8; font-size:16px; }.site-foot .brand-icon { width:30px; height:30px; }
.site-ownership { display:grid; gap:3px; justify-items:center; text-align:center; }
.foot-links { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px 18px; }
.site-foot a:hover,.legal-home:hover { color:var(--paper); text-decoration:underline; text-underline-offset:4px; }
.legal-page { background:radial-gradient(ellipse at 65% 0,#251b35 0,transparent 38rem),var(--ink); }
.legal-head { display:flex; justify-content:space-between; align-items:center; padding-block:22px; }
.legal-home,.legal-date { color:var(--muted); font-size:14px; }
.legal-copy { max-width:48rem; margin:auto; padding:clamp(32px,6vw,76px) 24px clamp(50px,7vw,96px); }
.legal-copy h1 { font:500 clamp(35px,4.5vw,56px)/1.4 var(--serif); letter-spacing:.06em; }
.legal-date { margin:8px 0 32px; }
.legal-copy section { margin:30px 0 0; }
.legal-copy h2 { font:600 21px/1.6 var(--serif); color:#f2daba; margin:0 0 6px; }
.legal-copy p:not(.legal-date) { font-size:16px; line-height:1.95; color:#dcd5e4; }
.legal-copy section p+p { margin-top:8px; }
.contact-email { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
@media(min-width:1801px){ .head-inner:after,.site-foot:before {left:var(--gutter);right:var(--gutter);} }
@media(max-width:840px){
  :root { --gutter:clamp(21px,5.5vw,46px); --header:68px; }
  .experience-body,.platform-body { gap:30px; }.platform-panel { gap:12px; padding:20px 14px; }.platform-art { --planet-size:74px; }
}
@media(max-width:650px){
  :root { --header:60px; }
  .head-inner { grid-template-columns:auto 1fr auto; gap:15px; }
  .wordmark { gap:5px; font-size:18px; }.brand-icon { width:29px; height:29px; }
  .main-nav { justify-content:center; gap:clamp(13px,3.7vw,24px); }.main-nav a { font-size:11px; letter-spacing:.035em; }
  .sound { min-height:33px; padding:6px 8px; gap:3px; }.sound-label { display:none; }.sound-state { font-size:9px; }
  .hero { min-height:640px; align-items:end; background:#0b0918; }
  .hero-art { top:0; height:66%; bottom:auto; background-position:71% 38%; }
  .live-orbit img { object-position:71% 38%; }
  .hero-shade { background:linear-gradient(to bottom,#09061938 0%,transparent 24%,rgba(11,9,24,.05) 34%,rgba(11,9,24,.5) 49%,#0b0918 66%,#0b0916 100%); }
  .hero-copy { padding-top:0; padding-bottom:clamp(88px,12.8svh,135px); }
  .hero-kicker { font-size:10px; gap:12px; }.star-rule { width:26px; }
  .hero h1 { font-size:clamp(62px,14.8vw,92px); margin:11px 0 9px; }
  .wish-line { font-size:clamp(21px,5.4vw,28px); }.hero-desc { font-size:12px; margin-top:9px; }
  .hero-actions { gap:11px; margin-top:22px; }.action { min-width:125px; min-height:43px; font-size:13px; }
  .hero-foot { bottom:20px; grid-template-columns:1fr auto; }.chapter-track { display:none; }.wish,.scroll-cue { font-size:10px; gap:8px; }.scroll-disc { width:27px; height:27px; }
  .experience,.platforms { min-height:100svh; }
  .experience-body,.platform-body { grid-template-columns:1fr; padding-block:calc(var(--header) + 30px) 50px; gap:32px; }
  .experience h2,.platforms h2 { font-size:clamp(40px,10vw,60px); margin:16px 0; }.experience h2 br { display:none; }
  .lore { width:100%; }.lore summary { padding:13px 0; }.lore details p {font-size:13px;}.play-wrap {max-width:440px;}
  .platform-art { --planet-size:82px; }.platform-panel { min-height:177px; }.platform-tabs button { font-size:13px; padding-block:15px 13px; }.platform-copy>p:last-child { font-size:13px; }.platform-tabs { padding:0 10px; gap:4px; }
  .site-foot { grid-template-columns:1fr auto; gap:14px; font-size:11px; }.site-foot .wordmark { font-size:14px; }.site-foot .brand-icon { width:24px; height:24px; }
  .site-ownership { grid-column:1/-1; grid-row:2; }
}
@media(max-width:365px){ :root{--gutter:15px}.head-inner{gap:8px}.main-nav{gap:10px}.site-foot .brand-icon{display:none}.platform-panel{gap:10px}.platform-art{--planet-size:65px} }
@media(max-height:620px) and (min-width:651px){ .hero { min-height:465px; }.hero h1 { margin:12px 0 4px; font-size:70px; }.hero-actions {margin-top:20px;}.hero-foot {bottom:15px;} }
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-art,.action {transition:none}.sound[aria-pressed="true"] .bars i{animation:none}}
