#journey-game[hidden], .journey-title[hidden] { display:none !important; }
body:has(.journey-title:not([hidden])) {
  display:grid;
  min-height:100svh;
  place-items:center;
  background:#342532;
}
.journey-title {
  width:min(100vw, calc(100svh * 16 / 9));
  aspect-ratio:16/9;
  position:relative;
  margin:auto;
  overflow:hidden;
  background:#533e46;
  isolation:isolate;
  container-type:inline-size;
}
.journey-title::before, .journey-title::after { content:''; position:absolute; inset:0; z-index:-1; }
.journey-title::before {
  background:url(daughter-dusk.webp) right center / cover no-repeat;
}
.journey-title::after {
  background:linear-gradient(180deg,#493043c9 0%,#63414b84 26%,transparent 52%,transparent 69%,#42293866 100%);
}
.journey-title-liu {
  position:absolute;
  left:54.9%;
  top:56.48%;
  width:2.5%;
  height:7.22%;
  transform:translateX(-50%);
  clip-path:inset(0 0 36% 0);
  image-rendering:pixelated;
  pointer-events:none;
}
.journey-title-copy {
  position:absolute;
  top:6%;
  width:100%;
  color:#ffe09a;
  text-align:center;
}
.journey-title h1 {
  font:900 clamp(24px,10.2cqw,214px)/1.04 'Fusion Pixel','Zpix',monospace;
  letter-spacing:.1em;
  margin:0;
  text-shadow:2px 0 #764326,-2px 0 #764326,0 2px #764326,3px 4px #512f37;
}
.journey-title p {
  font:400 clamp(6px,1.2cqw,20px)/1.8 'Press Start 2P','Fusion Pixel',monospace !important;
  margin:1em 0 0;
  color:#ffe8bd;
  text-shadow:1px 2px #603b32;
}
.journey-title button {
  position:absolute;
  left:50%;
  top:83%;
  transform:translate(-50%,-50%);
  min-width:8em;
  padding:.65em 1.35em;
  background:#f2d39a;
  border:3px solid #663928;
  box-shadow:inset 0 0 0 2px #ffe8b7,3px 3px #573133;
  color:#4b281b;
  font:700 clamp(12px,1.8cqw,31px)/1.4 'Zpix','Fusion Pixel',monospace;
  cursor:pointer;
  touch-action:manipulation;
}
.journey-title button:active { margin-top:2px; }
.journey-mix {
  min-width:164px;
  padding:6px 9px;
  border-bottom:1px solid #a57145;
  color:#4b281b;
}
.journey-mix label { display:grid; grid-template-columns:auto 1fr; gap:10px; align-items:center; min-height:28px; white-space:nowrap; }
.journey-mix input { width:100%; accent-color:#b87531; touch-action:pan-x; }
.world-map-card .wm-canvas-wrap { background:#d6b481; }
