/**
 * DoDo 启动页 — 参考截图布局
 */
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f2f3f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.splash__wm {
  position: absolute;
  pointer-events: none;
  user-select: none;
  filter: invert(1);
  opacity: 0.06;
}

.splash__wm--bubble {
  top: 6%;
  left: 8%;
  width: 72px;
  height: 72px;
}

.splash__wm--blob-tr {
  top: 4%;
  right: 6%;
  width: 88px;
  height: 88px;
}

.splash__wm--controller {
  top: 42%;
  right: 5%;
  width: 96px;
  height: 96px;
}

.splash__wm--blob-bl {
  bottom: 8%;
  left: 6%;
  width: 80px;
  height: 80px;
}

.splash__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 24px;
}

.splash__icon {
  width: clamp(88px, 22vw, 120px);
  height: clamp(88px, 22vw, 120px);
  border-radius: 26%;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.splash__title {
  margin: 20px 0 0;
  font-size: clamp(28px, 7vw, 36px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #111;
  line-height: 1.1;
}

.splash__tagline {
  margin: 14px 0 0;
  font-size: clamp(13px, 3.4vw, 15px);
  font-weight: 400;
  letter-spacing: 0.42em;
  color: #8a8f98;
  line-height: 1.4;
  text-indent: 0.42em;
}

/* 功能层 DOM 钩子 — 视觉隐藏 */
#particles-canvas,
#hero-canvas,
canvas[id^="chart-"] {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
