:root { color-scheme: dark; font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: #030712; color: #e5efee; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
html, body { margin: 0; min-width: 280px; width: 100%; height: 100%; overflow: hidden; }
button, a { color: inherit; font: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
a { text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid #ecd099; outline-offset: 5px; }
.cover, .cover img, #fluid, .vignette, #playground, .interface { position: fixed; inset: 0; width: 100%; height: 100%; }
.cover { pointer-events: none; filter: brightness(1.04) saturate(.96); }
.cover img { display: block; object-fit: cover; object-position: center; }
.cover-palm { filter: brightness(1.03) saturate(1.08); -webkit-mask-image: radial-gradient(ellipse var(--palm-rx, 70px) var(--palm-ry, 55px) at var(--palm-x, 34%) var(--palm-y, 74%), #000 10%, #000b 40%, transparent 100%); mask-image: radial-gradient(ellipse var(--palm-rx, 70px) var(--palm-ry, 55px) at var(--palm-x, 34%) var(--palm-y, 74%), #000 10%, #000b 40%, transparent 100%); }
#pointer-light { position: fixed; left: 0; top: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(circle, #fff 5%, #c7ffff 26%, #54cfff88 58%, transparent 75%); box-shadow: 0 0 8px #87e2ff99; mix-blend-mode: screen; will-change: transform; }
#fluid {
  pointer-events: none;
  opacity: .92;
  mix-blend-mode: screen;
  filter: saturate(1.2);
  -webkit-mask-image: radial-gradient(ellipse 15% 22% at 32% 38%, #000a 0%, #000 100%);
  mask-image: radial-gradient(ellipse 15% 22% at 32% 38%, #000a 0%, #000 100%);
  transition: opacity .45s ease;
}
.interacting #fluid { filter: saturate(1.35); }
.vignette { pointer-events: none; background: linear-gradient(#03071230, transparent 10%, transparent 73%, #030712b0); }
#playground { touch-action: none; user-select: none; }
.interface { display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; padding: max(24px, env(safe-area-inset-top)) max(38px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(38px, env(safe-area-inset-left)); }
.interface a, .interface button { pointer-events: auto; }
.topbar { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.scene-controls { display: flex; align-items: center; gap: 8px; padding: 2px 6px; background: #03071266; border: 1px solid #bceef51a; border-radius: 30px; backdrop-filter: blur(16px); }
.scene-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 11px; background: transparent; border: 0; border-radius: 24px; color: #c2dcdf; font-size: 11px; letter-spacing: .06em; transition: color .2s, background .2s; }
.scene-controls button:hover:not(:disabled) { color: #f4dcad; background: #d4b57d12; }
.scene-controls button:disabled { opacity: .5; cursor: default; }
.scene-controls svg { width: 14px; height: 14px; fill: none; stroke: #ceb98c; stroke-width: 1.3; stroke-linejoin: round; }
.control-divider { width: 1px; height: 12px; background: #bad5dc30; }
.toggle-indicator { width: 5px; height: 5px; border-radius: 50%; background: #8fdacb; box-shadow: 0 0 8px #91e9dc66; }
.footer { width: 100%; }
.entry { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-bottom: 32px; }
.entry-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; }
.gift-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 23px; border: 1px solid #9ee6db88; border-radius: 4px; background: #092b2cba; color: #c8f5e8; font-size: 14px; letter-spacing: .06em; backdrop-filter: blur(14px); transition: background .2s, border-color .2s, transform .2s; }
.gift-link:hover { background: #15403ee6; border-color: #c4faea; transform: translateY(-2px); }
.enter { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 48px; padding: 0 30px; border: 1px solid #cdb27b88; border-radius: 4px; background: linear-gradient(110deg, #092c35b3, #091b2dcc); color: #f0e0bd; font-family: "KaiTi", "STKaiti", "Noto Serif SC", serif; font-size: 16px; letter-spacing: .3em; text-shadow: 0 1px 8px #000; box-shadow: 0 4px 30px #03071266, inset 0 0 22px #91dbda0a; backdrop-filter: blur(14px); transition: border-color .25s, box-shadow .25s, transform .25s; }
.enter svg { width: 18px; height: 18px; fill: none; stroke: #d7c193; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.enter:hover { border-color: #edcd8f; box-shadow: 0 0 24px #c7ac6b26, inset 0 0 24px #91dbda0d; transform: translateY(-2px); }
.slogan { margin: 0; padding-left: .3em; color: #cae0e0; font-family: "KaiTi", "STKaiti", "Noto Serif SC", serif; font-size: 14px; letter-spacing: .3em; text-shadow: 0 1px 7px #030712, 0 0 18px #0b4056; }
.footer-meta { display: flex; justify-content: center; align-items: center; gap: 16px; color: #c2e1e4; font-size: 10px; line-height: 1.8; letter-spacing: .08em; text-shadow: 0 1px 7px #030712; }
.footer-meta p { margin: 0; }
[data-effects="off"] #fluid, [data-motion="reduced"] #fluid, [data-motion="unavailable"] #fluid { opacity: 0; }
[data-effects="off"] #pointer-light, [data-motion="reduced"] #pointer-light, [data-motion="unavailable"] #pointer-light { display: none; }
[data-effects="off"] .toggle-indicator, [data-motion="reduced"] .toggle-indicator, [data-motion="unavailable"] .toggle-indicator { background: #7e8c8e; box-shadow: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 767px), (orientation: portrait) {
  .cover img { object-position: center; }
  #fluid {
    opacity: .92;
    -webkit-mask-image: radial-gradient(ellipse 28% 20% at 50% 49%, #000a 0%, #000 100%);
    mask-image: radial-gradient(ellipse 28% 20% at 50% 49%, #000a 0%, #000 100%);
  }
  .vignette { background: linear-gradient(#03071240, transparent 11%, transparent 73%, #030712cc); }
  .interface { padding: max(16px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); }
  .scene-controls { gap: 1px; padding: 1px 3px; }
  .scene-controls button { min-height: 40px; padding: 0 9px; font-size: 10px; }
  .scene-controls svg { width: 12px; height: 12px; }
  .entry { gap: 14px; padding-bottom: 26px; }
  .enter { min-height: 48px; padding: 0 27px; font-size: 15px; }
  .slogan { font-size: 12px; letter-spacing: .2em; }
  .footer-meta { justify-content: center; flex-wrap: wrap; column-gap: 14px; row-gap: 4px; font-size: 9px; letter-spacing: .02em; }
}
@media (max-width: 340px) {
  .footer-meta p { width: 100%; text-align: center; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .interface { padding: 12px 22px; }
  .entry { gap: 8px; padding-bottom: 10px; }
  .enter { min-height: 40px; font-size: 14px; }
  .slogan { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 380px) {
  .entry-actions { gap: 10px; }
  .entry-actions .enter { padding: 0 17px; gap: 14px; font-size: 14px; }
  .gift-link { padding: 0 15px; font-size: 12px; }
}
