:root {
  color-scheme: light;
  --ink: #173c47;
  --ink-soft: #52717a;
  --paper: #f5f7f1;
  --card: rgba(255, 255, 255, .66);
  --line: rgba(23, 60, 71, .13);
  --teal: #2c8e88;
  --blue: #4c9bde;
  --coral: #ee7f75;
  --yellow: #f5b45d;
  --green: #8bce8b;
  --shadow: 0 24px 80px rgba(39, 84, 87, .14);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body {
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,.56), transparent 44%),
    radial-gradient(circle at 50% 46%, rgba(251, 240, 209, .84), transparent 23rem),
    var(--paper);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .26;
  background-image: linear-gradient(rgba(23,60,71,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(23,60,71,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .16;
  background-image: radial-gradient(rgba(23,60,71,.22) .55px, transparent .7px), radial-gradient(rgba(255,255,255,.75) .5px, transparent .7px);
  background-position: 0 0, 11px 17px;
  background-size: 17px 17px, 23px 23px;
  mix-blend-mode: multiply;
}

.ambient { position: fixed; z-index: -1; width: 28rem; aspect-ratio: 1; border-radius: 50%; filter: blur(3px); pointer-events: none; opacity: .48; }
.ambient-left { top: 18%; left: -16rem; background: radial-gradient(circle, rgba(139,206,139,.42), transparent 67%); }
.ambient-right { right: -13rem; bottom: 5%; background: radial-gradient(circle, rgba(76,155,222,.34), transparent 67%); }

header, footer { width: min(100%, 1200px); margin-inline: auto; }
header { padding: 28px clamp(24px, 5vw, 68px); display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: .15em; }
.wordmark img { filter: drop-shadow(0 5px 10px rgba(57, 124, 137, .18)); }
.header-note { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 9px; font-weight: 700; letter-spacing: .22em; }
.live-dot, .status-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(139,206,139,.19); }
.live-dot { animation: pulse 2.3s ease-in-out infinite; }

main { width: min(100%, 760px); margin: auto; padding: 14px 24px 72px; text-align: center; }
.scene-label { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px; color: var(--teal); font-size: 9px; font-weight: 700; letter-spacing: .24em; }
.scene-label span:last-child { color: var(--ink-soft); letter-spacing: .1em; font-weight: 500; }
.scene-rule { width: 34px; height: 1px; background: linear-gradient(90deg, var(--coral), var(--yellow)); }

.orbit { width: min(72vw, 360px); height: min(57vw, 280px); min-height: 230px; margin: 0 auto 2px; position: relative; isolation: isolate; }
.orbit-glow { position: absolute; inset: 15% 17%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.98), rgba(255,235,183,.42) 46%, transparent 72%); filter: blur(10px); }
.ring { position: absolute; inset: 8% 4%; border: 1px solid rgba(54, 133, 136, .3); border-radius: 50%; transform: rotate(-22deg) scaleY(.5); }
.ring-two { transform: rotate(34deg) scaleY(.5); border-color: rgba(238, 127, 117, .26); }
.ring-three { transform: rotate(94deg) scaleY(.5); border-color: rgba(76, 155, 222, .26); }
.ring::after { content: ""; position: absolute; width: 8px; height: 8px; right: 14%; top: 17%; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 6px rgba(238,127,117,.12); }
.ring-two::after { right: auto; left: 15%; top: 72%; width: 6px; height: 6px; background: var(--blue); }
.core { position: absolute; inset: 24% 29%; display: grid; place-items: center; border-radius: 39% 61% 53% 47% / 47% 44% 56% 53%; background: linear-gradient(145deg, #fbd78d, #ef8b79 47%, #539dd4); box-shadow: 17px 22px 34px rgba(50, 100, 105, .18), inset 10px 8px 20px rgba(255,255,255,.38); transform: rotate(-8deg); animation: float 6s ease-in-out infinite; }
.core-shine { position: absolute; width: 44%; height: 30%; top: 12%; left: 18%; border-radius: 50%; background: rgba(255,255,255,.44); filter: blur(5px); transform: rotate(-20deg); }
.core-cloud { width: 56%; height: 32%; position: relative; border-radius: 60px; background: rgba(255,255,255,.76); box-shadow: 12px 3px 0 -2px rgba(255,255,255,.65); }
.core-cloud::before, .core-cloud::after { content: ""; position: absolute; bottom: 0; border-radius: 50%; background: inherit; }
.core-cloud::before { width: 48%; height: 125%; left: 16%; }
.core-cloud::after { width: 60%; height: 150%; right: 6%; }
.satellite { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 7px rgba(245,180,93,.14); animation: drift 7s ease-in-out infinite; }
.satellite-one { left: 11%; top: 27%; }
.satellite-two { right: 10%; bottom: 20%; width: 10px; height: 10px; background: var(--green); animation-delay: -2.5s; }

.entry-card { position: relative; width: 100%; padding: clamp(25px, 5vw, 39px) clamp(22px, 6vw, 56px) 26px; border: 1px solid rgba(255,255,255,.72); border-radius: 30px; background: var(--card); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.85); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.entry-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, rgba(255,255,255,.62), transparent 55%); pointer-events: none; }
.card-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; }
.status-chip { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 999px; background: rgba(139,206,139,.13); color: #397a68; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.card-index { color: rgba(82,113,122,.67); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
h1 { max-width: 540px; margin: 0 auto 13px; font-family: "Songti SC", "Noto Serif CJK SC", serif; font-size: clamp(30px, 5vw, 48px); font-weight: 500; letter-spacing: .06em; line-height: 1.23; }
p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.browser-notice { display: flex; align-items: flex-start; gap: 12px; margin: 22px auto 0; padding: 15px 17px; border: 1px solid rgba(245, 180, 93, .34); border-radius: 18px; background: linear-gradient(120deg, rgba(255, 242, 211, .88), rgba(255, 233, 224, .74)); color: #664b29; text-align: left; box-shadow: 0 10px 24px rgba(145, 91, 42, .08); }
.browser-notice-icon { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(145deg, var(--coral), var(--yellow)); font-size: 17px; font-weight: 800; box-shadow: 0 5px 12px rgba(238, 127, 117, .2); }
.browser-notice > div { min-width: 0; }
.browser-notice strong { display: block; color: #69431e; font-size: 13px; line-height: 1.55; }
.browser-notice p { margin-top: 4px; color: #755333; font-size: 12px; line-height: 1.7; }
.action-row { min-height: 54px; display: flex; justify-content: center; margin-top: 25px; }
.target-grid { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; text-align: left; }
.target-option { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 68px; padding: 12px 14px; border: 1px solid rgba(23,60,71,.13); border-radius: 17px; color: var(--ink); background: rgba(255,255,255,.68); box-shadow: 0 8px 18px rgba(39,84,87,.06); text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.target-option:hover { transform: translateY(-2px); border-color: rgba(44,142,136,.5); background: rgba(255,255,255,.9); box-shadow: 0 14px 26px rgba(39,84,87,.12); }
.target-option:focus-visible { outline: 3px solid rgba(238,127,117,.75); outline-offset: 4px; }
.target-number { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--teal), var(--blue)); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.target-copy { min-width: 0; display: grid; gap: 4px; }
.target-copy strong { font-size: 12px; letter-spacing: .02em; }
.target-copy small { min-width: 0; overflow: hidden; color: var(--ink-soft); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.target-arrow { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; color: var(--ink); background: rgba(23,60,71,.07); font-size: 16px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 44px; min-height: 52px; padding: 13px 18px 13px 22px; border: 0; border-radius: 16px; font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid rgba(238,127,117,.75); outline-offset: 4px; }
.button-primary { color: #fff; background: var(--ink); box-shadow: 0 12px 24px rgba(23,60,71,.18); }
.button-primary:hover { background: #235462; box-shadow: 0 16px 28px rgba(23,60,71,.23); }
.button-secondary { color: var(--ink); background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(23,60,71,.18); }
.button-secondary:hover { background: #fff; }
.button-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; color: var(--ink); background: rgba(255,255,255,.83); font-size: 18px; line-height: 1; }
.button-primary .button-icon { color: var(--ink); }
.hint { margin-top: 18px; color: rgba(82,113,122,.76); font-size: 11px; }
.noscript { max-width: 520px; margin: 24px auto; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.75); }
[hidden] { display: none !important; }

.entry-card[data-state="ready"] .status-chip { background: rgba(139,206,139,.19); }
.entry-card[data-state="ready"] .status-chip-dot { background: var(--teal); }
.entry-card[data-state="error"] .status-chip { background: rgba(238,127,117,.14); color: #a5544d; }
.entry-card[data-state="error"] .status-chip-dot { background: var(--coral); box-shadow: 0 0 0 4px rgba(238,127,117,.16); }

footer { padding: 22px clamp(24px, 5vw, 68px) 28px; display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 10px; letter-spacing: .08em; }
.footer-mark { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 7px; color: var(--ink); background: rgba(255,255,255,.7); font-size: 14px; }
.footer-line { height: 1px; flex: 1; background: var(--line); }
footer > span:last-child { color: rgba(82,113,122,.66); font-size: 9px; letter-spacing: .2em; }

@keyframes float { 50% { transform: translateY(-9px) rotate(-4deg); } }
@keyframes drift { 50% { transform: translate(13px, -11px); } }
@keyframes pulse { 50% { opacity: .45; transform: scale(.75); } }

@media (max-width: 600px) {
  header { padding: 20px 22px; }
  .wordmark { gap: 9px; font-size: 13px; }
  .header-note { font-size: 8px; letter-spacing: .15em; }
  main { padding: 12px 18px 44px; }
  .scene-label { gap: 8px; font-size: 8px; letter-spacing: .16em; }
  .scene-label span:last-child { letter-spacing: .05em; }
  .scene-rule { width: 22px; }
  .orbit { width: 94vw; min-height: 220px; height: 60vw; margin-bottom: -4px; }
  .entry-card { border-radius: 24px; padding-inline: 19px; }
  .target-grid { grid-template-columns: 1fr; }
  .card-topline { margin-bottom: 18px; }
  h1 { font-size: clamp(29px, 9vw, 38px); letter-spacing: .03em; }
  p { font-size: 13px; }
  .button { width: min(100%, 260px); gap: 20px; }
  footer { padding: 18px 22px 22px; }
  footer > span:last-child { display: none; }
  .footer-line { max-width: 85px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
