:root {
  --night: #1b1f4a;
  --deep: #10132f;
  --lamp: #f2c14e;
  --lilac: #b8a9e8;
  --mist: #e9e4ff;
  --text: #ece8ff;
  --muted: #b9b3dc;
  --line: rgba(184, 169, 232, .28);
  --bg: #151839;
  --btn-ink: #1b1f4a;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #eeeafc;
    --deep: #dcd5f7;
    --night: #2a2f6b;
    --text: #1b1f4a;
    --muted: #4a4a78;
    --line: rgba(42, 47, 107, .2);
    --lamp: #a86a00;
    --btn-ink: #fff;
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.8 var(--sans);
  overflow-x: hidden;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; }

.top {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(16px, 4vw, 48px);
}
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; font-family: var(--serif); font-size: 20px; letter-spacing: .08em; color: #ece8ff; }
.clock { font-family: var(--serif); color: #cfc7f5; font-size: 15px; }

.sky {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: radial-gradient(120% 90% at 70% 10%, #2c3170 0%, #1b1f4a 45%, #0d1030 100%);
  color: #ece8ff;
  overflow: hidden;
}
#sky { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: manipulation; }
.sky-copy {
  position: relative; z-index: 1;
  max-width: 34em;
  padding: 38vh clamp(16px, 4vw, 48px) clamp(40px, 9vh, 96px);
  pointer-events: none;
}
.sky-copy .actions { pointer-events: auto; }
.sky-copy h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 6vw, 60px);
  line-height: 1.3;
  margin: 0 0 .5em;
  text-shadow: 0 2px 24px rgba(13, 16, 48, .9);
}
.sky-copy p { color: #cfc7f5; margin: 0 0 1.4em; max-width: 30em; text-shadow: 0 1px 12px rgba(13,16,48,.9); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
button {
  font: inherit; font-size: 16px;
  border: 0; border-radius: 999px;
  padding: .55em 1.3em;
  background: #f2c14e; color: #1b1f4a;
  cursor: pointer;
}
button.ghost { background: transparent; color: #ece8ff; box-shadow: inset 0 0 0 1.5px rgba(236,232,255,.6); }
button:hover { filter: brightness(1.08); }
.sky .count { pointer-events: none; font-size: 14px; margin-top: 1.2em; color: #a9a1d6; }

main > section:not(.sky) {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(56px, 10vw, 110px) clamp(16px, 4vw, 32px) 0;
}
h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 4vw, 34px);
  margin: 0 0 1.2em;
}
.log ol { list-style: none; margin: 0; padding: 0; border-left: 1.5px dashed var(--line); }
.log li { position: relative; display: grid; grid-template-columns: 4.2em 1fr; gap: 0 18px; padding: 0 0 1.6em 22px; }
.log li::before {
  content: ""; position: absolute; left: -5px; top: .72em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lamp); box-shadow: 0 0 10px var(--lamp);
}
.log time { font-family: var(--serif); color: var(--lamp); font-variant-numeric: tabular-nums; }
.log p { margin: 0; }

.tips dl { margin: 0; }
.tips dt { font-family: var(--serif); font-size: 20px; margin-top: 1.2em; }
.tips dt:first-child { margin-top: 0; }
.tips dd { margin: .2em 0 0; color: var(--muted); }

.foot {
  max-width: 44rem; margin: 0 auto;
  padding: 90px clamp(16px, 4vw, 32px) 48px;
  color: var(--muted); font-size: 14px;
}

@media (max-width: 520px) {
  .log li { grid-template-columns: 1fr; }
}
