html, body { margin: 0; height: 100%; overflow: hidden; background: #d9e4ef; font-family: system-ui, "Microsoft YaHei", sans-serif; }
#app { position: fixed; inset: 0; }
#title { position: fixed; left: 16px; top: 14px; color: #1d2733; max-width: min(520px, calc(100vw - 340px)); }
#title h1 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: .04em; }
#title p { margin: 2px 0 0; font-size: 12px; opacity: .75; }
#title nav { margin-top: 8px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; }
#title nav a { color: #1d2733; }
#loading { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 10px 16px;
  background: rgba(20, 28, 38, .8); color: #fff; border-radius: 6px; font-size: 14px; }
#info { position: fixed; left: 16px; bottom: 16px; padding: 8px 12px; background: rgba(20, 28, 38, .82);
  color: #fff; border-radius: 6px; font-size: 13px; line-height: 1.5; max-width: 60vw; }
.hidden { display: none; }
.lil-gui.root { --width: 300px; }
@media (max-width: 700px) {
  #title { max-width: calc(100vw - 32px); }
  #title p.hint { display: none; }
  .lil-gui.root { --width: 240px; top: auto !important; bottom: 0; max-height: 45vh; }
}
