#welcome-cover {
  --paper: #e4e9d7;
  --ink: #193e2a;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
}
#welcome-cover[open] { display: grid; place-items: center; }
#welcome-cover::backdrop { background: #e4e9d7; }
.welcome-board {
  position: relative;
  container-type: inline-size;
  width: 100%;
  height: 100%;
  isolation: isolate;
}
.welcome-art { position: absolute; inset: 0; overflow: hidden; }
.welcome-river-plane { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
#welcome-river { width: 100%; height: 100%; display: block; }
.welcome-heading {
  position: absolute;
  z-index: 1;
  top: 5.2%;
  left: 8%;
}
#welcome-title {
  margin: 0;
  outline: 0;
  font-size: clamp(44px, 7.8cqw, 146px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.055em;
}
#welcome-description {
  margin: .76em 0 0 .12em;
  font: 600 clamp(13px, 1.18cqw, 22px)/1.5 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  letter-spacing: .13em;
}

@media (max-aspect-ratio: 1/1) {
  .welcome-art { --river-edition: url("decor/yangtze-engraving-portrait.webp"); }
  .welcome-art::before { background-size: 100% 100%; }
  .welcome-heading { top: max(7.7%, env(safe-area-inset-top)); left: 8%; }
  #welcome-title { font-size: clamp(61px, min(19cqw, 11vh), 120px); }
  #welcome-description { margin-top: .8em; font-size: clamp(13px, 3.5cqw, 22px); }
  .welcome-river-plane {
    inset: auto;
    left: -25%;
    bottom: 4.5%;
    width: 150%;
    height: auto;
    aspect-ratio: 1392 / 832;
  }
}
@media (forced-colors: active) {
  #welcome-cover { background: Canvas; color: CanvasText; }
}
