html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #0b0d10;
  color: #f3ead8;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  -webkit-font-smoothing: antialiased;
}
canvas#view {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  touch-action: none;
  cursor: grab;
}
#veil {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: end center;
  background: linear-gradient(to bottom, rgba(6, 7, 10, 0) 45%, rgba(6, 7, 10, 0.55) 100%), radial-gradient(ellipse at 50% 45%, rgba(10, 10, 14, 0) 40%, rgba(6, 7, 10, 0.35));
  transition: opacity 2.4s ease, background 2.4s ease;
  cursor: pointer;
  padding: 16px 16px max(9vh, 24px);
}
#veil.loading { background: #0b0d10; cursor: progress; place-items: center; padding-bottom: 16px; }
#veil.gone { opacity: 0; pointer-events: none; }
.card { text-align: center; max-width: 40rem; }
h1 {
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  letter-spacing: 0.32em;
  margin: 0 0 0.4rem 0.32em;
  text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}
.sub {
  margin: 0;
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  letter-spacing: 0.08em;
  opacity: 0.82;
}
.progress {
  width: min(16rem, 60vw);
  height: 1px;
  margin: 2.4rem auto 1rem;
  background: rgba(243, 234, 216, 0.16);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: rgba(243, 234, 216, 0.8);
  transition: width 0.4s ease;
}
.hint {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.66;
}
#tips {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.6rem;
  width: calc(100vw - 32px);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 234, 216, 0.7);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  transition: opacity 3s ease;
  pointer-events: none;
}
#tips b { font-weight: 400; color: rgba(243, 234, 216, 0.95); margin-left: 0.35em; }
#place {
  position: fixed;
  left: 50%;
  top: 14vh;
  transform: translateX(-50%);
  font-style: italic;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: rgba(243, 234, 216, 0.85);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
  transition: opacity 1.6s ease;
  pointer-events: none;
  white-space: nowrap;
}
.hidden { opacity: 0; }
body.clean #tips, body.clean #place { display: none; }
