/* ishikawa.co home game */

:root {
  --game-ink: #444;
  --game-ink-strong: #1f1f1f;
  --game-paper: #fff;
  --game-wash: #f7f5ef;
  --game-blue: #6fb8c6;
  --game-yellow: #d8b94c;
  --game-red: #c56f5e;
  --game-green: #7aa78e;
  --game-shadow: rgba(33, 31, 28, 0.12);
}

html:has(.home-game) {
  background: #fff;
  color-scheme: light;
}

body:has(.home-game) {
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  overflow: auto;
  background: var(--game-paper);
  color: var(--game-ink-strong);
}

body:has(.home-game[data-game-ready="true"]) {
  min-width: 1080px;
  height: 100vh;
  overflow: hidden;
}

body:has(.home-game) .scene,
body:has(.home-game) .cursor-glow,
body:has(.home-game) .scroll-progress {
  display: none;
}

.game-skip {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 50;
  padding: 9px 14px;
  border: 1px solid rgba(68, 68, 68, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--game-ink-strong);
  font-size: 12px;
  line-height: 1;
  transform: translateY(-90px);
  transition: transform 180ms ease;
}

.game-skip:focus-visible {
  transform: translateY(0);
}

.home-game {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 78%, rgba(245, 242, 233, 0.72), rgba(255, 255, 255, 0) 42%),
    var(--game-paper);
  font-family: "Avenir Next", "Helvetica Neue", "Hiragino Sans", "Noto Sans JP", sans-serif;
  letter-spacing: 0;
}

.home-game[data-game-ready="true"] {
  position: fixed;
  inset: 0;
  min-height: 0;
  overflow: hidden;
}

.home-game--journey {
  background: #fff;
}

.home-game--moss-focus {
  background: var(--game-paper);
}

.home-game--moss-focus.home-game--journey {
  background: #fff;
}

.home-game__boot-logo {
  --game-boot-logo-offset-y: -5.5vh;
  position: fixed;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: #fff;
  opacity: 1;
  pointer-events: none;
  transition: opacity 180ms ease;
  animation: game-boot-logo-timeout 400ms ease 8s forwards;
}

.home-game__boot-logo i {
  display: block;
  width: clamp(164px, 25.5vh, 230px);
  aspect-ratio: 1;
  background:
    radial-gradient(circle, rgba(55, 73, 68, 0.7) 0 1.05px, transparent 1.4px)
    0 0 / 5px 5px;
  -webkit-mask: var(--game-brand-mask) center / contain no-repeat;
  mask: var(--game-brand-mask) center / contain no-repeat;
  opacity: 0;
  transform: translate3d(0, var(--game-boot-logo-offset-y), 0) scale(0.94);
  animation:
    game-boot-logo-form 520ms cubic-bezier(0.16, 1, 0.3, 1) forwards,
    game-boot-logo-breathe 1200ms ease-in-out 520ms infinite alternate;
}

.home-game__boot-logo span {
  position: fixed;
  top: calc(44.5% + clamp(100px, 14.3vh, 133px));
  left: 50%;
  color: rgba(55, 73, 68, 0.68);
  font-family: "Avenir Next", "Helvetica Neue", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(-50%, 5px, 0);
  animation: game-boot-title-form 520ms cubic-bezier(0.16, 1, 0.3, 1) 90ms forwards;
}

.home-game[data-game-ready="true"] .home-game__boot-logo {
  opacity: 0;
}

@keyframes game-boot-logo-form {
  to {
    opacity: 0.74;
    transform: translate3d(0, var(--game-boot-logo-offset-y), 0) scale(1);
  }
}

@keyframes game-boot-logo-breathe {
  from {
    opacity: 0.66;
    transform: translate3d(0, var(--game-boot-logo-offset-y), 0) scale(0.995);
  }
  to {
    opacity: 0.78;
    transform: translate3d(0, var(--game-boot-logo-offset-y), 0) scale(1.008);
  }
}

@keyframes game-boot-title-form {
  to {
    opacity: 0.68;
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes game-boot-logo-timeout {
  to {
    opacity: 0;
  }
}

.home-game--journey .home-game__stage,
.home-game--journey .home-game__viewport {
  background: transparent;
}

.home-game--moss-focus .game-card,
.home-game--moss-focus .game-map {
  display: none;
}

.home-game[data-debug="true"] .game-map {
  display: flex;
}

.home-game--moss-focus .game-hud {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-game--moss-focus[data-stage="moss"] .game-hud {
  opacity: 0.84;
  transform: translateY(0);
}

.home-game--moss-focus[data-render="dots"] .game-hud {
  display: none;
}

.home-game--moss-focus .home-game__sky {
  background-image: none;
  opacity: 0;
}

.home-game--moss-focus .world-label {
  display: none;
}

.home-game__stage,
.home-game__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-game__stage {
  display: none;
}

.home-game[data-game-ready="true"] .home-game__stage {
  display: block;
}

.home-game--journey .home-game__viewport::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: transparent;
  background-position: 0 0;
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

.home-game--journey[data-stage="taupe"] .home-game__viewport::before {
  background-image:
    repeating-linear-gradient(to bottom, rgba(79, 229, 219, 0.032) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(to right, rgba(238, 93, 176, 0.024) 0 1px, transparent 1px 84px);
  opacity: 1;
}

.home-game--journey[data-stage="rise-islog"] .home-game__viewport::before {
  background-image:
    radial-gradient(ellipse at 50% 104%, rgba(76, 145, 162, 0.18), transparent 48%),
    linear-gradient(to top, rgba(255, 255, 255, 0.18), transparent 68%),
    repeating-linear-gradient(to top, transparent 0 58px, rgba(123, 191, 202, 0.052) 58px 60px);
  opacity: 1;
}

.home-game--journey[data-stage="islog"] .home-game__viewport::before {
  background-image:
    radial-gradient(ellipse at 54% 62%, rgba(76, 145, 162, 0.09), transparent 38%),
    linear-gradient(to bottom, transparent 0 54%, rgba(76, 145, 162, 0.075) 71%, transparent 90%),
    repeating-linear-gradient(to right, transparent 0 130px, rgba(181, 104, 92, 0.03) 130px 131px);
  opacity: 0.94;
}

.home-game--journey[data-stage="ojicra"] .home-game__viewport::before {
  background-image:
    radial-gradient(ellipse at 54% 78%, rgba(188, 194, 104, 0.055), transparent 38%),
    radial-gradient(ellipse at 72% 32%, rgba(137, 91, 157, 0.075), transparent 31%),
    repeating-linear-gradient(116deg, transparent 0 154px, rgba(137, 91, 157, 0.025) 154px 156px),
    repeating-linear-gradient(64deg, transparent 0 236px, rgba(188, 194, 104, 0.018) 236px 238px);
  opacity: 0.76;
}

.home-game--journey[data-stage="monoomoi"] .home-game__viewport::before {
  background-image:
    radial-gradient(ellipse at 54% 70%, rgba(105, 154, 128, 0.045), transparent 40%),
    linear-gradient(to bottom, transparent 0 54%, rgba(190, 116, 123, 0.048) 72%, transparent 94%),
    repeating-linear-gradient(172deg, rgba(105, 154, 128, 0.024) 0 1px, transparent 1px 64px);
  opacity: 0.96;
}

.home-game--journey[data-stage="monoerabi"] .home-game__viewport::before {
  background-image:
    linear-gradient(to bottom, transparent 0 43%, rgba(79, 151, 171, 0.05) 44%, transparent 45%),
    repeating-linear-gradient(to right, transparent 0 118px, rgba(70, 76, 74, 0.03) 118px 119px);
  opacity: 0.9;
}

.home-game__sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(68, 68, 68, 0.024) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(68, 68, 68, 0.018) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 72%, transparent 100%);
  opacity: 0.8;
}

.home-game__world {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 12000px;
  height: 900px;
  transform-origin: 0 0;
  will-change: transform;
}

.home-game--journey .home-game__world,
.home-game--journey .world-svg,
.home-game--journey .world-atmosphere,
.home-game--journey .world-labels {
  width: 18000px;
  height: 1400px;
}

.dot-world-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: normal;
  transition: opacity 900ms ease;
  will-change: transform;
}

.home-game[data-dot-world="active"] .dot-world-canvas {
  opacity: 1;
}

.home-game--journey[data-time-flow="forward"] .dot-world-canvas {
  filter: saturate(1.04) contrast(1.02);
}

.home-game--journey[data-time-flow="rewind"] .dot-world-canvas {
  filter: saturate(0.78) contrast(1.06) hue-rotate(-8deg);
  animation: journey-world-rewind 720ms ease-in-out infinite alternate;
}

.home-game--journey[data-tone="dark"] .dot-world-canvas {
  mix-blend-mode: screen;
}

.home-game--journey[data-tone="dark"] .game-character {
  filter: invert(1) drop-shadow(0 12px 18px rgba(111, 217, 224, 0.14));
}

.home-game--journey[data-tone="dark"] .character-clearance {
  background:
    radial-gradient(
      ellipse at 48% 54%,
      rgba(5, 3, 9, 0.74) 0%,
      rgba(5, 3, 9, 0.48) 28%,
      rgba(5, 3, 9, 0.18) 52%,
      transparent 80%
    );
}

.home-game--moss-focus[data-render="dots"] .world-svg .ink-line,
.home-game--moss-focus[data-render="dots"] .world-svg .ink-shape,
.home-game--moss-focus[data-render="dots"] .world-svg .ink-text,
.home-game--moss-focus[data-render="dots"] .mood {
  opacity: 0 !important;
}

.world-svg,
.world-atmosphere,
.world-labels {
  position: absolute;
  inset: 0 auto auto 0;
  width: 12000px;
  height: 900px;
  overflow: visible;
}

.world-svg {
  fill: none;
  pointer-events: none;
}

.world-atmosphere {
  z-index: 2;
  pointer-events: none;
}

.world-svg--far {
  z-index: 1;
  opacity: 0.48;
}

.world-svg--mid {
  z-index: 2;
  opacity: 0.82;
}

.world-svg--near {
  z-index: 3;
  opacity: 1;
}

.world-labels {
  z-index: 4;
}

.ink-line,
.ink-shape,
.ink-text {
  vector-effect: non-scaling-stroke;
}

.ink-line {
  fill: none;
  stroke: var(--game-ink);
  stroke-width: 5.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--dash, 1);
  stroke-dashoffset: var(--dash, 1);
  opacity: 0;
  transition:
    stroke-dashoffset var(--draw-ms, 980ms) cubic-bezier(0.16, 1, 0.3, 1) var(--draw-delay, 0ms),
    opacity 360ms ease var(--draw-delay, 0ms);
}

.ink-line.is-drawn {
  stroke-dashoffset: 0;
  opacity: var(--line-opacity, 1);
}

.ink-line--thin {
  stroke-width: 3.1;
}

.ink-line--ground {
  stroke-width: 2.1;
}

.ink-line--hair {
  stroke-width: 2;
  --line-opacity: 0.64;
}

.ink-line--depth-near {
  stroke-width: 6.4;
}

.ink-line--depth-mid {
  stroke-width: 4.6;
}

.ink-line--sky {
  stroke: rgba(68, 68, 68, 0.62);
}

.ink-line--tree {
  stroke: rgba(68, 68, 68, 0.82);
}

.ink-line--moss-tree {
  stroke-width: 2.4;
  --line-opacity: 0.86;
}

.ink-line--moss-tree-near {
  stroke-width: 3;
  --line-opacity: 0.9;
}

.ink-line--moss-detail {
  stroke-width: 1.8;
  --line-opacity: 0.58;
}

.ink-line--leaf {
  stroke: rgba(68, 68, 68, 0.64);
}

.ink-line--bird {
  stroke-width: 2.2;
  stroke: rgba(68, 68, 68, 0.52);
}

.ink-line--moss-water {
  stroke: var(--game-blue);
  --line-opacity: 0.68;
}

.ink-line--water-detail {
  stroke-width: 1.7;
  stroke: rgba(111, 184, 198, 0.72);
  --line-opacity: 0.56;
}

.ink-line--dock {
  stroke-width: 2.2;
  --line-opacity: 0.9;
}

.ink-line--fish-shadow {
  stroke-width: 1.7;
  stroke: rgba(76, 132, 142, 0.64);
  --line-opacity: 0.58;
}

.ink-line--fishing-line {
  stroke-width: 2.2;
  --line-opacity: 0.72;
}

.ink-line--slow-drift,
.ink-line--living {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}

.ink-line--slow-drift.is-drawn {
  animation: moss-drift 9s ease-in-out infinite alternate;
}

.ink-line--living.is-drawn {
  animation: moss-living 5.6s ease-in-out infinite alternate;
}

.ink-line--accent-blue {
  stroke: var(--game-blue);
}

.ink-line--accent-yellow {
  stroke: var(--game-yellow);
}

.ink-line--accent-red {
  stroke: var(--game-red);
}

.ink-line--accent-green {
  stroke: var(--game-green);
}

.ink-shape {
  fill: rgba(255, 255, 255, 0.68);
  stroke: var(--game-ink);
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: translateY(12px) scale(0.985);
  transition:
    opacity 480ms ease,
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ink-shape.is-drawn {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.world-label {
  position: absolute;
  width: 360px;
  color: rgba(38, 38, 38, 0.86);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 420ms ease,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.world-label.is-visible {
  opacity: 0.56;
  transform: translate3d(0, 0, 0);
}

.journey-marker {
  position: absolute;
  width: 430px;
  color: rgba(51, 55, 53, 0.76);
  font-family: "Hannotate SC", "HanziPen SC", "Klee One", "YuKyokasho", "Yu Kyokasho", "Tsukushi A Round Gothic", "Hiragino Maru Gothic ProN", "Segoe Print", cursive;
  letter-spacing: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(0.96);
  transition:
    opacity 900ms ease,
    transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-marker.is-visible {
  opacity: 0.86;
  transform: translate3d(0, 0, 0) scale(1);
}

.journey-marker span {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  line-height: 1.3;
  opacity: 0.5;
}

.journey-marker strong {
  display: block;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.12;
}

.journey-marker.media-sign {
  --sign-ink: rgba(51, 55, 53, 0.78);
  --sign-accent: rgba(89, 139, 113, 0.7);
  --media-sign-reading-lift: -170px;
  --media-sign-screen-shift: 0px;
  width: 440px;
  transform: translate3d(var(--media-sign-screen-shift), 26px, 0) scale(0.96);
}

.journey-marker.media-sign.is-visible {
  transform: translate3d(var(--media-sign-screen-shift), 0, 0) scale(1);
}

.journey-marker.media-sign.is-reading {
  opacity: 0.96;
  transform: translate3d(var(--media-sign-screen-shift), var(--media-sign-reading-lift), 0) scale(1);
}

.journey-marker .media-sign__surface {
  position: relative;
  display: block;
  width: 360px;
  margin: 0;
  padding: 20px 26px 18px;
  color: var(--sign-ink);
  opacity: 1;
}

.media-sign .media-sign__flavor {
  display: block;
  margin: 0 0 8px;
  color: currentColor;
  font-family: "Comic Sans MS", "Bradley Hand", "Segoe Print", cursive;
  font-size: 10px;
  line-height: 1.2;
  opacity: 0.4;
}

.media-sign .media-sign__name {
  display: block;
  margin: 0;
  color: currentColor;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
}

.media-sign .media-sign__role {
  display: block;
  margin-top: 9px;
  color: currentColor;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0.6;
  transition: color 320ms ease, opacity 320ms ease;
}

.media-sign .media-sign__description {
  max-width: 340px;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: currentColor;
  font-size: 13px;
  line-height: 1.75;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    max-height 520ms cubic-bezier(0.16, 1, 0.3, 1),
    margin 420ms ease,
    opacity 360ms ease,
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.media-sign.is-nearby .media-sign__role {
  color: var(--sign-accent);
  opacity: 0.92;
}

.media-sign.is-reading .media-sign__description {
  max-height: 128px;
  margin-top: 13px;
  opacity: 0.72;
  transform: translate3d(0, 0, 0);
}

.media-sign .media-sign__enter {
  display: flex;
  align-items: center;
  gap: 9px;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--sign-accent);
  font-size: 10px;
  line-height: 1;
  opacity: 0;
  transform: translate3d(0, 7px, 0);
  transition:
    max-height 360ms ease,
    margin 360ms ease,
    opacity 280ms ease,
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.media-sign .media-sign__enter kbd {
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  font: 600 10px/1 "Avenir Next", "Helvetica Neue", sans-serif;
  letter-spacing: 0;
}

.media-sign .media-sign__enter > span {
  display: inline;
  margin: 0;
  font-size: 10px;
  line-height: 1;
  opacity: 0.76;
}

.media-sign.is-reading .media-sign__enter {
  max-height: 24px;
  margin-top: 14px;
  opacity: 0.94;
  transform: translate3d(0, 0, 0);
}

.media-sign__destination {
  display: none;
}

.journey-marker--taupe.media-sign {
  --sign-ink: rgba(220, 246, 242, 0.88);
  --sign-accent: rgba(78, 232, 221, 0.9);
  --media-sign-reading-lift: -188px;
  margin-left: -54px;
}

.journey-marker--taupe .media-sign__surface {
  width: 350px;
  padding: 24px 30px 20px;
  border-top: 1px solid rgba(78, 232, 221, 0.32);
  border-left: 1px solid rgba(212, 81, 153, 0.26);
  background: rgba(5, 8, 15, 0.16);
  transition: background-color 360ms ease, border-color 360ms ease;
}

.media-sign--taupe.is-reading .media-sign__surface {
  border-top-color: rgba(78, 232, 221, 0.52);
  border-left-color: rgba(212, 81, 153, 0.46);
  background: rgba(5, 8, 15, 0.78);
}

.journey-marker--taupe .media-sign__surface::before,
.journey-marker--taupe .media-sign__surface::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.journey-marker--taupe .media-sign__surface::before {
  right: 22px;
  bottom: 0;
  width: 96px;
  height: 1px;
  background: rgba(212, 81, 153, 0.34);
}

.journey-marker--taupe .media-sign__surface::after {
  right: 22px;
  bottom: -18px;
  width: 1px;
  height: 18px;
  background: rgba(212, 81, 153, 0.34);
}

.media-sign__circuit {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  opacity: 1;
  pointer-events: none;
}

.media-sign__circuit i {
  position: absolute;
  width: 5px;
  height: 5px;
  background: rgba(78, 232, 221, 0.7);
  opacity: 0.34;
}

.media-sign__circuit i:nth-child(1) { top: -2px; left: 18%; }
.media-sign__circuit i:nth-child(2) { top: -2px; left: 56%; background: rgba(212, 81, 153, 0.72); }
.media-sign__circuit i:nth-child(3) { right: 19px; bottom: -20px; background: rgba(212, 81, 153, 0.72); }
.media-sign__circuit i:nth-child(4) { bottom: -2px; left: 61%; }

.media-sign--taupe.is-reading .media-sign__circuit i {
  animation: media-sign-signal 1200ms steps(2, end) infinite;
}

.media-sign--taupe.is-reading .media-sign__circuit i:nth-child(2) { animation-delay: 180ms; }
.media-sign--taupe.is-reading .media-sign__circuit i:nth-child(3) { animation-delay: 360ms; }
.media-sign--taupe.is-reading .media-sign__circuit i:nth-child(4) { animation-delay: 540ms; }

.journey-marker--islog.media-sign {
  --sign-ink: rgba(52, 55, 53, 0.82);
  --sign-accent: rgba(177, 96, 84, 0.78);
  --media-sign-reading-lift: -160px;
}

.journey-marker--islog .media-sign__surface {
  width: 400px;
  padding: 22px 32px 20px;
  border-top: 1px solid rgba(65, 72, 69, 0.34);
  border-bottom: 2px solid rgba(65, 72, 69, 0.4);
  background: rgba(255, 255, 255, 0.34);
}

.journey-marker--islog .media-sign__surface::before,
.journey-marker--islog .media-sign__surface::after {
  position: absolute;
  top: 100%;
  width: 3px;
  height: 34px;
  background: rgba(69, 72, 68, 0.36);
  content: "";
}

.journey-marker--islog .media-sign__surface::before { left: 38px; transform: rotate(1deg); }
.journey-marker--islog .media-sign__surface::after { right: 42px; transform: rotate(-1deg); }

.media-sign__neighbors {
  position: absolute;
  top: 12px;
  right: 20px;
  display: flex;
  gap: 14px;
  margin: 0;
  font-family: "Comic Sans MS", "Bradley Hand", "Segoe Print", cursive;
  opacity: 0.38;
}

.media-sign__neighbors i {
  font-size: 9px;
  font-style: normal;
  white-space: nowrap;
}

.journey-marker--ojicra.media-sign {
  --sign-ink: rgba(235, 232, 193, 0.92);
  --sign-accent: rgba(188, 194, 104, 0.92);
  --media-sign-reading-lift: -148px;
  margin-left: -112px;
}

.journey-marker--ojicra .media-sign__surface {
  width: 356px;
  padding: 24px 28px 22px;
  border: 3px solid rgba(116, 77, 128, 0.28);
  background: rgba(20, 10, 27, 0.28);
  box-shadow: inset 0 0 0 2px rgba(188, 194, 104, 0.08);
}

.journey-marker--ojicra .media-sign__name {
  color: rgba(215, 218, 142, 0.94);
  text-shadow: 0 0 18px rgba(137, 91, 157, 0.24);
}

.media-sign__blocks {
  position: absolute;
  top: -8px;
  right: 18px;
  display: grid;
  grid-template-columns: repeat(3, 7px);
  gap: 3px;
  margin: 0;
  opacity: 0.62;
}

.media-sign__blocks i {
  width: 7px;
  height: 7px;
  background: rgba(188, 194, 104, 0.72);
}

.media-sign__blocks i:nth-child(2),
.media-sign__blocks i:nth-child(4),
.media-sign__blocks i:nth-child(6) {
  background: rgba(116, 77, 128, 0.72);
}

.journey-marker--monoomoi.media-sign {
  --sign-ink: rgba(66, 55, 55, 0.82);
  --sign-accent: rgba(190, 116, 123, 0.82);
  --media-sign-reading-lift: -236px;
}

.journey-marker--monoomoi .media-sign__surface {
  width: 330px;
  padding: 26px 28px 24px 52px;
  background: rgba(255, 252, 247, 0.58);
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 20px 100%, 0 50%);
  transform: rotate(-1.4deg);
}

.media-sign__tag-hole {
  position: absolute;
  top: 27px;
  left: 18px;
  width: 9px;
  height: 9px;
  margin: 0;
  border: 1px solid rgba(190, 116, 123, 0.52);
  border-radius: 50%;
  opacity: 1;
}

.media-sign__tag-hole::before {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 80px;
  height: 1px;
  background: rgba(190, 116, 123, 0.38);
  content: "";
  transform: rotate(-22deg);
  transform-origin: right center;
}

.journey-marker--monoerabi.media-sign {
  --sign-ink: rgba(48, 51, 48, 0.84);
  --sign-accent: rgba(184, 135, 63, 0.86);
  --media-sign-reading-lift: -220px;
}

.journey-marker--monoerabi .media-sign__surface {
  width: 352px;
  padding: 24px 28px 22px 32px;
  border-top: 1px solid rgba(64, 68, 63, 0.28);
  border-bottom: 1px solid rgba(64, 68, 63, 0.34);
  border-left: 5px solid rgba(184, 135, 63, 0.5);
  background: rgba(255, 255, 255, 0.42);
}

.journey-marker--monoerabi .media-sign__surface::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  border-bottom: 1px solid rgba(184, 135, 63, 0.28);
  border-left: 1px solid rgba(184, 135, 63, 0.28);
  content: "";
}

.media-sign__tabs {
  position: absolute;
  right: 28px;
  bottom: -8px;
  display: flex;
  gap: 6px;
  margin: 0;
  opacity: 1;
}

.media-sign__tabs i {
  width: 24px;
  height: 8px;
  background: rgba(184, 135, 63, 0.42);
}

.media-sign__tabs i:nth-child(2) { background: rgba(90, 150, 165, 0.36); }
.media-sign__tabs i:nth-child(3) { background: rgba(190, 116, 123, 0.34); }

@keyframes media-sign-signal {
  0%, 100% { opacity: 0.24; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.25); }
}

.media-emblem {
  --emblem-ink: 73 104 84;
  --emblem-accent: 103 171 187;
  --emblem-light: 205 137 73;
  position: absolute;
  right: 18px;
  top: -92px;
  display: block;
  width: 112px;
  height: 78px;
  margin: 0;
  pointer-events: none;
}

.media-emblem--moss {
  --emblem-ink: 73 104 84;
  --emblem-accent: 92 157 174;
  --emblem-light: 205 137 73;
}

.media-emblem--taupe {
  --emblem-ink: 78 232 221;
  --emblem-accent: 212 81 153;
  --emblem-light: 231 205 81;
}

.media-emblem--islog {
  --emblem-ink: 62 104 113;
  --emblem-accent: 177 96 84;
  --emblem-light: 218 164 91;
}

.media-emblem--ojicra {
  --emblem-ink: 188 194 104;
  --emblem-accent: 137 91 157;
  --emblem-light: 225 220 150;
}

.media-emblem--monoomoi {
  --emblem-ink: 105 154 128;
  --emblem-accent: 190 116 123;
  --emblem-light: 213 157 183;
}

.media-emblem--monoerabi {
  --emblem-ink: 79 151 171;
  --emblem-accent: 191 145 75;
  --emblem-light: 176 99 93;
}

.media-emblem__field {
  position: absolute;
  inset: 5px;
  display: block;
  transform-origin: center;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.media-emblem i {
  --point-rgb: var(--emblem-ink);
  --point-opacity: 0.7;
  position: absolute;
  left: calc(var(--point-x) * 1%);
  top: calc(var(--point-y) * 1%);
  display: block;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  background: rgb(var(--point-rgb) / 0.92);
  opacity: 0;
  transform: translate3d(var(--from-x), var(--from-y), 0) scale(0.18) rotate(var(--point-rotation));
  transition:
    opacity 420ms ease,
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--point-delay);
}

.media-emblem i[data-tone="1"] {
  --point-rgb: var(--emblem-accent);
  --point-opacity: 0.84;
}

.media-emblem i[data-tone="2"] {
  --point-rgb: var(--emblem-light);
  --point-opacity: 0.96;
}

.media-emblem i[data-shape="dot"] {
  border-radius: 50%;
}

.media-emblem i[data-shape="square"] {
  border-radius: 1px;
}

.media-emblem i[data-shape="dash"] {
  width: 6px;
  height: 2px;
  margin: -1px 0 0 -3px;
  border-radius: 999px;
}

.media-emblem i[data-shape="cube"] {
  width: 4.5px;
  height: 4.5px;
  border: 1px solid rgb(var(--point-rgb) / 0.48);
  background: rgb(var(--point-rgb) / 0.58);
  box-shadow: 1px -1px 0 rgb(var(--point-rgb) / 0.18);
}

.media-emblem i[data-shape="petal"] {
  width: 5px;
  height: 3px;
  margin: -1.5px 0 0 -2.5px;
  border-radius: 80% 12% 80% 12%;
}

.media-emblem i[data-shape="tri"] {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.media-emblem.is-assembled i {
  opacity: var(--point-opacity);
  transform: translate3d(0, 0, 0) scale(1) rotate(var(--point-rotation));
}

.media-emblem[data-emblem-verb="connect"] i {
  transition-timing-function: steps(4, end), steps(3, end), steps(5, end);
}

.media-emblem[data-emblem-verb="capture"] i {
  transition-duration: 880ms, 880ms;
}

.media-sign.is-reading .media-emblem.is-assembled[data-emblem-verb="walk"] i[data-role="ambient"] {
  animation: media-emblem-ember 1900ms ease-in-out calc(var(--point-delay) + 820ms) infinite;
}

.media-sign.is-reading .media-emblem.is-assembled[data-emblem-verb="connect"] i[data-role="ambient"],
.media-sign.is-reading .media-emblem.is-assembled[data-emblem-verb="capture"] i[data-role="ambient"],
.media-sign.is-reading .media-emblem.is-assembled[data-emblem-verb="build"] i[data-role="ambient"],
.media-sign.is-reading .media-emblem.is-assembled[data-emblem-verb="choose"] i[data-role="ambient"] {
  animation: media-emblem-signal 1800ms steps(3, end) calc(var(--point-delay) + 820ms) infinite;
}

.media-sign.is-reading .media-emblem.is-assembled[data-emblem-verb="unwrap"] i[data-role="ambient"] {
  animation: media-emblem-petal 2400ms ease-in-out calc(var(--point-delay) + 820ms) infinite alternate;
}

.home-game[data-moving="1"] .media-emblem__field,
.home-game[data-moving="1"] .media-emblem i {
  animation: none !important;
  transition: none !important;
}

.journey-marker--islog .media-emblem {
  right: 24px;
  left: auto;
  top: -82px;
}

.journey-marker--ojicra .media-emblem {
  right: 18px;
  top: -90px;
}

.journey-marker--monoomoi .media-emblem {
  right: 10px;
  top: -84px;
}

.journey-marker--monoerabi .media-emblem {
  right: 16px;
  top: -88px;
}

.moss-guide-sign .media-emblem {
  right: 18px;
  left: auto;
  top: -86px;
}

@keyframes media-emblem-ember {
  0%, 100% { opacity: 0.38; transform: translate3d(0, 2px, 0) scale(0.78) rotate(var(--point-rotation)); }
  48% { opacity: 1; transform: translate3d(1px, -3px, 0) scale(1.08) rotate(var(--point-rotation)); }
}

@keyframes media-emblem-signal {
  0%, 68%, 100% { opacity: 0.28; transform: translate3d(0, 0, 0) scale(0.88) rotate(var(--point-rotation)); }
  72%, 82% { opacity: 1; transform: translate3d(0, 0, 0) scale(1.12) rotate(var(--point-rotation)); }
}

@keyframes media-emblem-petal {
  0% { opacity: 0.48; transform: translate3d(-1px, -1px, 0) scale(0.82) rotate(var(--point-rotation)); }
  100% { opacity: 0.96; transform: translate3d(2px, 3px, 0) scale(1.04) rotate(calc(var(--point-rotation) + 24deg)); }
}

.home-game--journey[data-tone="dark"] .journey-marker {
  color: rgba(222, 246, 244, 0.86);
  text-shadow: 0 0 24px rgba(91, 226, 218, 0.24);
}

.journey-marker--ojicra strong {
  color: rgba(215, 218, 142, 0.94);
  text-shadow:
    0 0 22px rgba(137, 91, 157, 0.28),
    0 0 8px rgba(188, 194, 104, 0.2);
}

.journey-marker--hub strong {
  color: rgba(43, 54, 50, 0.88);
  font-size: 52px;
  line-height: 1;
}

.journey-marker--hub {
  pointer-events: none;
  width: 520px;
  opacity: calc(0.48 + var(--atlas-approach, 0) * 0.52);
  transform: translate3d(0, calc((1 - var(--atlas-approach, 0)) * 10px), 0);
  transition: opacity 420ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-hub-threshold {
  position: relative;
  display: grid;
  gap: 9px;
  width: 410px;
  margin-top: 24px;
  margin-left: 180px;
  color: rgba(43, 58, 53, 0.68);
}

.journey-hub-threshold__threads {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 310px;
  height: 24px;
  transform: scaleX(calc(0.28 + var(--atlas-approach, 0) * 0.72));
  transform-origin: left center;
}

.journey-hub-threshold__threads::before {
  position: absolute;
  top: 11px;
  right: 3px;
  left: 3px;
  height: 1px;
  background: linear-gradient(90deg, rgba(91, 139, 112, 0.22), rgba(212, 81, 153, 0.26), rgba(98, 170, 190, 0.26), rgba(178, 180, 100, 0.26), rgba(213, 128, 155, 0.26), rgba(105, 107, 116, 0.3));
  content: "";
  transform: rotate(-1deg);
}

.journey-hub-threshold__threads i {
  position: relative;
  z-index: 1;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  color: rgba(91, 139, 112, 0.74);
  background: rgba(91, 139, 112, 0.74);
  box-shadow: 0 0 calc(4px + var(--atlas-approach, 0) * 12px) currentColor;
  animation: journey-hub-threshold-breathe 1800ms ease-in-out infinite alternate;
}

.journey-hub-threshold__threads i:nth-child(2) { margin-top: 7px; color: rgba(212, 81, 153, 0.72); background: currentColor; animation-delay: 100ms; }
.journey-hub-threshold__threads i:nth-child(3) { margin-top: 2px; color: rgba(98, 170, 190, 0.74); background: currentColor; animation-delay: 200ms; }
.journey-hub-threshold__threads i:nth-child(4) { margin-top: 9px; color: rgba(178, 180, 100, 0.78); background: currentColor; animation-delay: 300ms; }
.journey-hub-threshold__threads i:nth-child(5) { margin-top: 3px; color: rgba(213, 128, 155, 0.74); background: currentColor; animation-delay: 400ms; }
.journey-hub-threshold__threads i:nth-child(6) { margin-top: 8px; color: rgba(105, 107, 116, 0.72); background: currentColor; animation-delay: 500ms; }

.journey-hub-threshold__copy {
  display: grid;
  gap: 9px;
  transform: translateY(-52px);
}

.journey-hub-threshold small {
  color: rgba(52, 83, 74, 0.6);
  font-family: "Avenir Next", "Helvetica Neue", "Hiragino Sans", sans-serif;
  font-size: 9px;
  font-weight: 600;
}

.journey-hub-threshold b {
  color: rgba(38, 49, 45, 0.84);
  font-family: "Hannotate SC", "HanziPen SC", "Klee One", "YuKyokasho", "Yu Kyokasho", cursive;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
}

.journey-hub-threshold__direction {
  display: flex;
  gap: 10px;
  align-items: center;
  width: max-content;
  color: rgba(46, 68, 61, 0.68);
  font-family: "Hannotate SC", "HanziPen SC", "Klee One", "YuKyokasho", "Yu Kyokasho", cursive;
  font-size: 12px;
}

.journey-hub-threshold__direction::after {
  display: inline-block;
  width: calc(34px + var(--atlas-approach, 0) * 42px);
  height: 8px;
  border-top: 1px solid rgba(64, 101, 91, 0.34);
  border-right: 1px solid rgba(64, 101, 91, 0.34);
  content: "";
  transform: skewX(24deg) rotate(-2deg);
  transform-origin: right top;
  transition: width 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-game[data-atlas-approach="near"] .journey-marker--hub,
.home-game[data-atlas-approach="threshold"] .journey-marker--hub {
  text-shadow: 0 0 24px rgba(93, 154, 139, 0.1);
}

.home-game[data-atlas-approach="threshold"] .journey-hub-threshold__direction {
  color: rgba(39, 79, 68, 0.9);
  animation: journey-atlas-direction 920ms ease-in-out infinite alternate;
}

@keyframes journey-hub-threshold-breathe {
  from { opacity: 0.34; transform: translateY(0); }
  to { opacity: 0.92; transform: translateY(-2px); }
}

@keyframes journey-atlas-direction {
  from { transform: translateX(0); }
  to { transform: translateX(8px); }
}

.journey-marker--hub .journey-hub-gates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 620px;
  margin-top: 28px;
  border-top: 1px solid rgba(47, 58, 54, 0.17);
}

.journey-marker--hub a {
  position: relative;
  color: rgba(35, 44, 41, 0.92);
  text-decoration: none;
}

.journey-hub-gate {
  display: grid;
  align-content: end;
  min-height: 118px;
  padding: 28px 18px 17px 0;
  border-bottom: 1px solid rgba(47, 58, 54, 0.17);
  opacity: 0.68;
  transform: translateY(0);
  transition: opacity 320ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-hub-gate + .journey-hub-gate {
  padding-left: 18px;
  border-left: 1px solid rgba(47, 58, 54, 0.1);
}

.journey-hub-gate small {
  display: block;
  margin-top: 15px;
  color: rgba(49, 61, 57, 0.56);
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.journey-hub-gate b {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.journey-hub-gate::after,
.journey-hub-quiet-links a::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  opacity: 0.24;
  transform: scaleX(0.22) rotate(-1deg);
  transform-origin: left center;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1), opacity 380ms ease;
}

.journey-marker--hub a:hover::after,
.journey-marker--hub a:focus-visible::after {
  opacity: 0.62;
  transform: scaleX(1) rotate(-1deg);
}

.journey-hub-gate:hover,
.journey-hub-gate:focus-visible {
  opacity: 1;
  transform: translateY(-3px);
}

.journey-hub-gate__signal,
.journey-hub-gate__circuit,
.journey-hub-gate__branch {
  position: relative;
  display: block;
  width: 104px;
  height: 22px;
  color: rgba(80, 164, 180, 0.72);
}

.journey-hub-gate__signal {
  display: flex;
  align-items: center;
  gap: 8px;
}

.journey-hub-gate__signal i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.journey-hub-gate__signal i:nth-child(2) { color: rgba(230, 112, 174, 0.76); transform: translateY(-4px); }
.journey-hub-gate__signal i:nth-child(3) { color: rgba(117, 184, 143, 0.78); transform: translateY(2px); }
.journey-hub-gate__signal i:nth-child(4) { color: rgba(207, 166, 84, 0.78); transform: translateY(-2px); }
.journey-hub-gate__signal i:nth-child(5) { color: rgba(188, 194, 104, 0.8); transform: translateY(3px); }
.journey-hub-gate__signal i:nth-child(6) { color: rgba(104, 106, 116, 0.72); transform: translateY(-1px); }

.journey-hub-gate__circuit::before,
.journey-hub-gate__branch::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 94px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.4;
}

.journey-hub-gate__circuit i {
  position: absolute;
  top: 7px;
  width: 6px;
  height: 6px;
  background: currentColor;
}

.journey-hub-gate__circuit i:nth-child(1) { left: 0; }
.journey-hub-gate__circuit i:nth-child(2) { left: 43px; color: rgba(230, 112, 174, 0.74); }
.journey-hub-gate__circuit i:nth-child(3) { left: 88px; color: rgba(207, 166, 84, 0.74); }

.journey-hub-gate__branch i {
  position: absolute;
  left: 48px;
  width: 1px;
  height: 16px;
  background: currentColor;
  transform-origin: bottom center;
}

.journey-hub-gate__branch i:nth-child(1) { top: 0; transform: rotate(-54deg); }
.journey-hub-gate__branch i:nth-child(2) { top: 4px; transform: rotate(54deg); color: rgba(117, 184, 143, 0.82); }

.journey-hub-quiet-links {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}

.journey-hub-quiet-links a {
  font-size: 11px;
  opacity: 0.56;
}

.home-game--journey[data-journey-finalized="true"] .journey-hub-gate {
  animation: journey-hub-link-awaken 1800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-game--journey[data-journey-finalized="true"] .journey-hub-gate:nth-child(2) {
  animation-delay: 110ms;
}

.home-game--journey[data-journey-finalized="true"] .journey-hub-gate:nth-child(3) {
  animation-delay: 220ms;
}

.home-game--journey[data-memory-replay="true"] .journey-marker--hub strong {
  animation: journey-hub-replay 2600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-game--journey[data-memory-portal="ready"] .journey-marker--hub strong {
  animation: journey-hub-portal 1800ms ease-in-out infinite alternate;
}

.home-game--journey[data-memory-complete="true"] .journey-space-hint {
  text-shadow: 0 0 14px rgba(80, 164, 180, 0.24);
}

.journey-discovery {
  --discovery-ink: rgba(48, 52, 49, 0.86);
  --discovery-accent: rgba(80, 164, 180, 0.52);
  --discovery-wash: rgba(255, 255, 255, 0.94);
  --discovery-rotate: -1deg;
  --memory-width: 100px;
  --memory-ratio: 1;
  --memory-top: -60px;
  --memory-right: 8px;
  --memory-radius: 49% 51% 47% 53% / 52% 47% 53% 48%;
  --memory-clip: none;
  --memory-rotate: 3deg;
  --memory-opacity: 0.76;
  --memory-filter: grayscale(0.46) saturate(0.62) contrast(0.94) brightness(1.04);
  --memory-border: rgba(82, 104, 98, 0.24);
  position: absolute;
  top: 15%;
  left: 61%;
  z-index: 13;
  width: min(430px, 31vw);
  min-width: 330px;
  padding: 34px 34px 30px;
  color: var(--discovery-ink);
  font-family: "Hannotate SC", "HanziPen SC", "Klee One", "YuKyokasho", "Yu Kyokasho", "Tsukushi A Round Gothic", "Hiragino Maru Gothic ProN", "Segoe Print", cursive;
  letter-spacing: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(24px, 22px, 0) rotate(var(--discovery-rotate)) scale(0.94);
  transform-origin: 30% 80%;
  transition: opacity 340ms ease, transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-discovery::before {
  position: absolute;
  inset: -34px -44px;
  z-index: -1;
  background: radial-gradient(ellipse at 48% 52%, var(--discovery-wash) 0 46%, transparent 80%);
  content: "";
}

.journey-discovery.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(var(--discovery-rotate)) scale(1);
}

.journey-discovery__memory {
  position: absolute;
  top: var(--memory-top);
  right: var(--memory-right);
  z-index: 1;
  display: block;
  width: var(--memory-width);
  aspect-ratio: var(--memory-ratio);
  overflow: hidden;
  border: 1px solid var(--memory-border);
  border-radius: var(--memory-radius);
  background: color-mix(in srgb, var(--discovery-accent) 12%, transparent);
  opacity: 0;
  pointer-events: none;
  clip-path: var(--memory-clip);
  transform: translate3d(10px, 7px, 0) rotate(calc(var(--memory-rotate) + 5deg)) scale(0.72);
  contain: paint;
}

.journey-discovery__memory img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: var(--memory-filter);
  transform: scale(1.07);
}

.journey-discovery__memory::before,
.journey-discovery__memory::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.journey-discovery__memory::before {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05) 0 3px,
    color-mix(in srgb, var(--discovery-accent) 24%, transparent) 3px 4px
  );
  mix-blend-mode: normal;
  opacity: 0.68;
}

.journey-discovery__memory::after {
  inset: 3px;
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.76) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 72% 64%, var(--discovery-accent) 0 0.7px, transparent 1.3px),
    linear-gradient(105deg, transparent 0 42%, rgba(255, 255, 255, 0.22) 46% 50%, transparent 54% 100%);
  background-size: 7px 6px, 9px 8px, 100% 100%;
  mix-blend-mode: normal;
  opacity: 0.2;
  animation: none;
}

.journey-discovery.has-image.is-image-ready.is-visible .journey-discovery__memory {
  animation: journey-discovery-memory-in 680ms 340ms cubic-bezier(0.18, 1.3, 0.42, 1) both;
}

.journey-discovery.has-image.is-image-ready.is-visible .journey-discovery__memory::after {
  animation: journey-discovery-memory-static 620ms 360ms steps(2, end) 4;
}

.journey-discovery > small,
.journey-discovery > .journey-discovery__intro,
.journey-discovery > strong,
.journey-discovery > a,
.journey-discovery > .journey-discovery__cycle {
  position: relative;
  z-index: 2;
}

.journey-discovery__intro {
  display: none;
  max-width: 340px;
  margin: -2px 0 13px;
  color: var(--discovery-accent);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  opacity: 0.76;
}

.journey-discovery.has-intro .journey-discovery__intro {
  display: block;
}

.journey-discovery__constellation {
  position: absolute;
  top: 15px;
  left: 17px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--discovery-accent);
  border-radius: 50%;
  box-shadow:
    17px -7px 0 -2px var(--discovery-accent),
    31px 5px 0 -1px var(--discovery-accent),
    47px -3px 0 -2px var(--discovery-accent);
  opacity: 0.72;
}

.journey-discovery small {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.52;
}

.journey-discovery strong {
  display: block;
  max-width: 390px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.48;
  transition: opacity 420ms ease, filter 520ms ease;
}

.journey-discovery.is-forming-title strong {
  opacity: 0.34;
  filter: blur(0.25px);
}

.journey-discovery a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: inherit;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  opacity: 0.68;
  transition: opacity 240ms ease;
}

.journey-discovery a:hover,
.journey-discovery a:focus-visible {
  opacity: 1;
}

.journey-discovery__enter {
  color: var(--discovery-accent);
  font-family: "Comic Sans MS", "Bradley Hand", "Segoe Print", cursive;
  font-size: 11px;
  font-weight: 600;
  transform: rotate(-4deg);
}

.journey-discovery__link-label {
  border-bottom: 1px solid color-mix(in srgb, var(--discovery-ink) 30%, transparent);
}

.journey-discovery a i {
  position: relative;
  width: 27px;
  height: 10px;
}

.journey-discovery a i::before,
.journey-discovery a i::after {
  position: absolute;
  content: "";
}

.journey-discovery a i::before {
  top: 5px;
  left: 0;
  width: 25px;
  height: 1px;
  background: currentColor;
  transform: rotate(1deg);
}

.journey-discovery a i::after {
  top: 2px;
  right: 1px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.journey-discovery__cycle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--discovery-accent);
  font-size: 11px;
  line-height: 1.3;
  opacity: 0.74;
}

.journey-discovery__cycle::before {
  width: 18px;
  height: 2px;
  background: radial-gradient(circle, currentColor 0 1px, transparent 1.4px) 0 0 / 6px 2px repeat-x;
  content: "";
  opacity: 0.64;
}

.journey-discovery__cycle span {
  color: var(--discovery-ink);
  font-family: "Comic Sans MS", "Bradley Hand", "Segoe Print", cursive;
  font-size: 12px;
}

.journey-discovery__cycle i {
  color: var(--discovery-ink);
  font-style: normal;
  opacity: 0.58;
}

.journey-discovery[data-world="taupe"] {
  --discovery-ink: rgba(221, 246, 243, 0.9);
  --discovery-accent: rgba(79, 229, 219, 0.7);
  --discovery-wash: rgba(6, 8, 14, 0.92);
  --discovery-rotate: 0.4deg;
  --memory-width: 94px;
  --memory-top: -54px;
  --memory-right: 17px;
  --memory-radius: 50%;
  --memory-rotate: 1deg;
  --memory-opacity: 0.7;
  --memory-filter: grayscale(0.34) saturate(0.72) contrast(1.08) brightness(0.78);
  --memory-border: rgba(79, 229, 219, 0.38);
}

.journey-discovery[data-world="islog"] {
  --discovery-accent: rgba(181, 104, 92, 0.58);
  --discovery-rotate: -1.5deg;
  --memory-width: 112px;
  --memory-top: -69px;
  --memory-right: 2px;
  --memory-radius: 54% 46% 51% 49% / 45% 52% 48% 55%;
  --memory-rotate: -4deg;
  --memory-opacity: 0.72;
  --memory-filter: grayscale(0.38) sepia(0.08) saturate(0.68) contrast(0.92) brightness(1.06);
  --memory-border: rgba(181, 104, 92, 0.26);
}

.journey-discovery[data-world="ojicra"] {
  --discovery-ink: rgba(235, 231, 190, 0.92);
  --discovery-accent: rgba(188, 194, 104, 0.72);
  --discovery-wash: rgba(8, 4, 12, 0.92);
  --discovery-rotate: 1deg;
  --memory-width: 94px;
  --memory-top: -57px;
  --memory-right: 14px;
  --memory-radius: 2px;
  --memory-clip: polygon(0 14%, 14% 14%, 14% 0, 86% 0, 86% 14%, 100% 14%, 100% 86%, 86% 86%, 86% 100%, 14% 100%, 14% 86%, 0 86%);
  --memory-rotate: 5deg;
  --memory-opacity: 0.72;
  --memory-filter: grayscale(0.28) saturate(0.72) contrast(1.12) brightness(0.76);
  --memory-border: rgba(188, 194, 104, 0.36);
}

.journey-discovery[data-world="monoomoi"] {
  --discovery-accent: rgba(190, 116, 123, 0.6);
  --discovery-wash: rgba(252, 250, 246, 0.94);
  --discovery-rotate: -2deg;
  --memory-width: 118px;
  --memory-ratio: 1.3;
  --memory-top: -54px;
  --memory-right: 3px;
  --memory-radius: 50% 46% 53% 47% / 48% 54% 46% 52%;
  --memory-rotate: -6deg;
  --memory-opacity: 0.7;
  --memory-filter: grayscale(0.42) sepia(0.13) saturate(0.62) contrast(0.92) brightness(1.05);
  --memory-border: rgba(190, 116, 123, 0.28);
}

.journey-discovery[data-world="monoerabi"] {
  --discovery-accent: rgba(191, 145, 75, 0.58);
  --discovery-rotate: 0.7deg;
  --memory-width: 102px;
  --memory-top: -61px;
  --memory-right: 9px;
  --memory-radius: 0;
  --memory-clip: polygon(14% 0, 86% 0, 100% 14%, 100% 86%, 86% 100%, 14% 100%, 0 86%, 0 14%);
  --memory-rotate: 2deg;
  --memory-opacity: 0.72;
  --memory-filter: grayscale(0.46) sepia(0.08) saturate(0.58) contrast(1.02) brightness(1.03);
  --memory-border: rgba(191, 145, 75, 0.3);
}

.journey-article-seed {
  --seed-color: 88, 132, 104;
  position: fixed;
  z-index: 100;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(var(--seed-color), 0.42);
  border-radius: 49% 51% 47% 53% / 52% 47% 53% 48%;
  background-color: rgba(var(--seed-color), 0.22);
  background-position: center;
  background-size: cover;
  box-shadow:
    0 0 0 4px rgba(var(--seed-color), 0.06),
    0 0 22px rgba(var(--seed-color), 0.2);
  pointer-events: none;
  contain: paint;
  filter: grayscale(0.42) saturate(0.68) contrast(0.98) brightness(1.04);
}

.journey-article-seed::after {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(to bottom, transparent 0 3px, rgba(var(--seed-color), 0.15) 3px 4px),
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.8px);
  content: "";
  mix-blend-mode: normal;
}

.journey-article-seed[data-world="taupe"] { --seed-color: 79, 229, 219; }
.journey-article-seed[data-world="islog"] { --seed-color: 76, 145, 162; }
.journey-article-seed[data-world="ojicra"] { --seed-color: 188, 194, 104; border-radius: 2px; }
.journey-article-seed[data-world="monoomoi"] { --seed-color: 190, 116, 123; }
.journey-article-seed[data-world="monoerabi"] { --seed-color: 191, 145, 75; border-radius: 0; }

.journey-space-hint {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(55, 59, 56, 0.62);
  font-family: "Hannotate SC", "HanziPen SC", "Klee One", "YuKyokasho", "Yu Kyokasho", "Segoe Print", cursive;
  font-size: 12px;
  letter-spacing: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 420ms ease;
}

.journey-space-hint.is-visible {
  opacity: 0.78;
}

.journey-space-hint i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  animation: journey-space-think 1200ms ease-in-out infinite alternate;
}

.journey-space-hint i:nth-child(2),
.journey-space-hint i:nth-child(5) {
  animation-delay: -420ms;
  transform: translateY(-7px);
}

.journey-space-hint i:nth-child(3) {
  animation-delay: -760ms;
  transform: translateY(4px);
}

.character-action-alert {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 42px;
  height: 48px;
  color: rgba(49, 54, 51, 0.72);
  font-family: "Comic Sans MS", "Bradley Hand", "Segoe Print", cursive;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
  will-change: transform, opacity;
}

.character-action-alert.is-visible {
  opacity: 1;
}

.character-action-alert span {
  position: absolute;
  top: 2px;
  left: 9px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  text-shadow: 0 3px 10px rgba(255, 255, 255, 0.72);
  transform: rotate(5deg);
}

.character-action-alert i {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.36;
}

.character-action-alert i:first-child {
  top: 34px;
  left: 6px;
  width: 3px;
  height: 3px;
}

.character-action-alert i:last-child {
  top: 41px;
  left: 1px;
  width: 2px;
  height: 2px;
}

.character-action-alert.is-visible span {
  animation: character-action-alert-pop 1100ms cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
}

.home-game--journey[data-tone="dark"] .character-action-alert {
  color: rgba(219, 244, 239, 0.82);
}

@keyframes character-action-alert-pop {
  from {
    opacity: 0.72;
    transform: translate3d(0, 2px, 0) rotate(4deg) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translate3d(0, -3px, 0) rotate(7deg) scale(1.04);
  }
}

.home-game--journey[data-tone="dark"] .journey-space-hint {
  color: rgba(220, 244, 239, 0.7);
}

.moss-guide-sign {
  --sign-ink: rgba(48, 54, 49, 0.82);
  --sign-accent: rgba(73, 116, 94, 0.86);
  width: 440px;
  min-height: 190px;
  color: var(--sign-ink);
  opacity: 0;
  transform: translate3d(var(--media-sign-screen-shift), 18px, 0) rotate(-0.5deg) scale(0.98);
  transform-origin: 38% 100%;
  transition:
    opacity 620ms ease,
    transform 920ms cubic-bezier(0.16, 1, 0.3, 1);
}

.moss-guide-sign.is-visible {
  opacity: 0.9;
  transform: translate3d(var(--media-sign-screen-shift), 0, 0) rotate(-0.5deg) scale(1);
}

.moss-guide-sign.media-sign.is-reading {
  opacity: 0.96;
  transform: translate3d(var(--media-sign-screen-shift), -178px, 0) rotate(-0.5deg) scale(1);
}

.moss-guide-sign .media-sign__surface {
  width: 360px;
  padding: 22px 28px 20px 34px;
  border: 1px solid rgba(73, 116, 94, 0.22);
  border-left: 3px solid rgba(73, 116, 94, 0.34);
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 34px,
      rgba(73, 116, 94, 0.06) 35px,
      transparent 36px
    ),
    rgba(255, 255, 255, 0.62);
  box-shadow: 8px 12px 0 rgba(73, 116, 94, 0.025);
}

.moss-guide-sign__binding {
  position: absolute;
  top: 22px;
  left: 10px;
  display: grid;
  gap: 17px;
  margin: 0;
  opacity: 0.4;
}

.moss-guide-sign__binding i {
  display: block;
  width: 4px;
  height: 4px;
  border: 1px solid rgba(73, 116, 94, 0.62);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}

.moss-guide-sign .media-sign__flavor {
  margin-bottom: 9px;
  color: rgba(73, 116, 94, 0.88);
}

.moss-guide-sign .media-sign__name {
  font-size: 31px;
}

.moss-guide-sign .media-sign__description {
  max-width: 300px;
}

.moss-guide-sign.is-nearby .media-sign__surface {
  border-color: rgba(73, 116, 94, 0.4);
  border-left-color: rgba(73, 116, 94, 0.62);
}

.moss-catch {
  position: absolute;
  width: 430px;
  min-height: 182px;
  color: rgba(34, 34, 32, 0.88);
  font-family: "Hannotate SC", "HanziPen SC", "Klee One", "YuKyokasho", "Yu Kyokasho", "Tsukushi A Round Gothic", "Hiragino Maru Gothic ProN", "Segoe Print", cursive;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 28px, 0) rotate(-3deg) scale(0.92);
  transform-origin: 50% 80%;
  isolation: isolate;
}

.moss-catch.is-visible {
  pointer-events: auto;
  opacity: 1;
  animation: catch-note-arrive 820ms 360ms cubic-bezier(0.18, 1.3, 0.42, 1) both;
}

.moss-catch__wash {
  position: absolute;
  inset: -28px -38px;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 52%, rgba(255, 255, 255, 0.98) 0 42%, rgba(255, 255, 255, 0.78) 66%, rgba(255, 255, 255, 0) 86%);
  opacity: 0;
}

.moss-catch.is-visible .moss-catch__wash {
  animation: catch-wash-in 900ms 260ms ease-out both;
}

.moss-catch__memory {
  position: absolute;
  top: -34px;
  right: -54px;
  z-index: 1;
  display: block;
  width: 108px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(74, 112, 102, 0.24);
  border-radius: 49% 51% 47% 53% / 52% 47% 53% 48%;
  background: rgba(225, 238, 234, 0.44);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(10px, 8px, 0) rotate(7deg) scale(0.72);
  contain: paint;
}

.moss-catch__memory img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  filter: grayscale(0.42) sepia(0.08) saturate(0.62) contrast(0.92) brightness(1.06);
  transform: scale(1.08);
}

.moss-catch__memory::before,
.moss-catch__memory::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.moss-catch__memory::before {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.04) 0 3px,
    rgba(68, 101, 94, 0.16) 3px 4px
  );
  mix-blend-mode: normal;
  opacity: 0.58;
}

.moss-catch__memory::after {
  inset: 3px;
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.8) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 72% 64%, rgba(57, 103, 96, 0.58) 0 0.6px, transparent 1.2px),
    linear-gradient(105deg, transparent 0 42%, rgba(255, 255, 255, 0.2) 46% 50%, transparent 54% 100%);
  background-size: 7px 6px, 9px 8px, 100% 100%;
  mix-blend-mode: normal;
  opacity: 0.24;
  animation: none;
}

.moss-catch.has-image.is-image-ready.is-visible .moss-catch__memory {
  animation: catch-memory-in 680ms 760ms cubic-bezier(0.18, 1.3, 0.42, 1) both;
}

.moss-catch.has-image.is-image-ready.is-visible .moss-catch__memory::after {
  animation: catch-memory-static 680ms 760ms steps(2, end) 5;
}

.moss-catch__note {
  position: relative;
  z-index: 2;
  padding: 34px 36px 32px;
}

.moss-catch__kicker {
  display: block;
  margin-bottom: 11px;
  color: rgba(64, 68, 62, 0.56);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(8px) rotate(-1deg);
}

.moss-catch__intro {
  display: none;
  max-width: 330px;
  margin: 0 0 11px;
  color: rgba(72, 108, 98, 0.74);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px) rotate(-0.4deg);
}

.moss-catch.has-intro .moss-catch__intro {
  display: block;
}

.moss-catch strong {
  display: block;
  max-width: 360px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0;
  line-break: strict;
  opacity: 0;
  text-wrap: balance;
  transform: translateY(12px) rotate(-0.6deg);
  word-break: auto-phrase;
}

.moss-catch a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
  color: rgba(40, 42, 38, 0.76);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px) rotate(-1deg);
}

.moss-catch__link-label {
  border-bottom: 1px solid rgba(58, 62, 56, 0.3);
}

.moss-catch__enter {
  color: rgba(72, 108, 98, 0.72);
  font-family: "Comic Sans MS", "Bradley Hand", "Segoe Print", cursive;
  font-size: 11px;
  font-weight: 600;
  transform: rotate(-4deg);
}

.moss-catch a > i {
  position: relative;
  display: inline-block;
  width: 27px;
  height: 11px;
}

.moss-catch a > i::before,
.moss-catch a > i::after {
  content: "";
  position: absolute;
  display: block;
}

.moss-catch a > i::before {
  left: 0;
  top: 5px;
  width: 25px;
  height: 1.4px;
  border-radius: 999px;
  background: rgba(48, 52, 46, 0.5);
  transform: rotate(2deg);
}

.moss-catch a > i::after {
  right: 1px;
  top: 2px;
  width: 7px;
  height: 7px;
  border-top: 1.4px solid rgba(48, 52, 46, 0.5);
  border-right: 1.4px solid rgba(48, 52, 46, 0.5);
  transform: rotate(45deg) skew(-8deg, -4deg);
}

.moss-catch a:hover > i,
.moss-catch a:focus-visible > i {
  transform: translateX(5px);
  transition: transform 220ms ease;
}

.moss-catch.is-visible .moss-catch__kicker {
  animation: catch-copy-in 620ms 620ms ease-out both;
}

.moss-catch.has-intro.is-visible .moss-catch__intro {
  animation: catch-copy-in 620ms 680ms ease-out both;
}

.moss-catch.is-visible strong {
  animation: catch-copy-in 760ms 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.moss-catch.is-visible a {
  animation: catch-copy-in 620ms 920ms ease-out both;
}

.moss-catch__aura {
  position: absolute;
  inset: -20px -24px;
  z-index: 3;
  pointer-events: none;
}

.moss-catch__particle {
  position: absolute;
  left: var(--px);
  top: var(--py);
  width: var(--ps);
  height: var(--ps);
  border-radius: 50%;
  background: rgba(72, 108, 98, 0.38);
  opacity: 0;
  --drift-x: 3px;
  --drift-y: -5px;
}

.moss-catch__particle--ring {
  border: 1px solid rgba(74, 138, 148, 0.3);
  background: transparent;
}

.moss-catch__particle:nth-child(3n) {
  --drift-x: -4px;
  --drift-y: -3px;
}

.moss-catch__particle:nth-child(4n) {
  --drift-x: 2px;
  --drift-y: -8px;
}

.moss-catch.is-visible .moss-catch__particle {
  animation:
    catch-particle-arrive 720ms var(--pd) cubic-bezier(0.18, 1.3, 0.42, 1) both,
    catch-particle-drift 3200ms calc(900ms + var(--pd)) ease-in-out infinite alternate;
}

@keyframes catch-note-arrive {
  0% {
    opacity: 0;
    transform: translate3d(0, 28px, 0) rotate(-3deg) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(-1.1deg) scale(1);
  }
}

@keyframes catch-wash-in {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes catch-copy-in {
  from {
    opacity: 0;
    transform: translateY(10px) rotate(-1deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes catch-memory-in {
  from {
    opacity: 0;
    transform: translate3d(10px, 8px, 0) rotate(7deg) scale(0.72);
  }
  to {
    opacity: 0.78;
    transform: translate3d(0, 0, 0) rotate(2.5deg) scale(1);
  }
}

@keyframes catch-memory-static {
  0%, 100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.18;
  }
  50% {
    transform: translate3d(1px, -1px, 0);
    opacity: 0.3;
  }
}

@keyframes journey-discovery-memory-in {
  from {
    opacity: 0;
    transform: translate3d(10px, 7px, 0) rotate(calc(var(--memory-rotate) + 5deg)) scale(0.72);
  }
  to {
    opacity: var(--memory-opacity);
    transform: translate3d(0, 0, 0) rotate(var(--memory-rotate)) scale(1);
  }
}

@keyframes journey-discovery-memory-static {
  0%, 100% {
    opacity: 0.16;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 0.3;
    transform: translate3d(1px, -1px, 0);
  }
}

@keyframes catch-particle-arrive {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(0.2);
  }
  to {
    opacity: 0.66;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes catch-particle-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(var(--drift-x), var(--drift-y), 0) scale(1.08);
  }
}

.world-label span {
  display: block;
  margin-bottom: 8px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: rgba(68, 68, 68, 0.58);
}

.world-label strong {
  display: block;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.22;
}

.world-label p {
  margin-top: 10px;
  max-width: 320px;
  color: rgba(50, 50, 50, 0.72);
  font-size: 13px;
  line-height: 1.75;
}

.character-clearance {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  border-radius: 44% 56% 48% 52%;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 48% 54%,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.48) 28%,
      rgba(255, 255, 255, 0.2) 52%,
      rgba(255, 255, 255, 0) 80%
    );
  filter: blur(9px);
  opacity: 0.56;
  will-change: transform;
  transition: opacity 260ms ease, filter 320ms ease;
}

.home-game[data-moving="1"] .character-clearance {
  filter: blur(7px);
  opacity: 0.54;
}

.home-game[data-moving="0"] .character-clearance {
  filter: blur(10px);
  opacity: 0.46;
}

.game-character {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  width: 540px;
  height: 405px;
  transform-origin: 50% 100%;
  will-change: transform;
  pointer-events: none;
  filter: drop-shadow(0 16px 14px rgba(34, 31, 26, 0.08));
}

.home-game[data-moving="1"]:not([data-tone="dark"]) .game-character {
  filter: none;
}

.home-game--journey[data-tone="dark"][data-moving="1"] .game-character {
  filter: invert(1);
}

.game-character img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  opacity: 0;
  translate: var(--character-pose-shift-x, 0%) 0;
  user-select: none;
  -webkit-user-drag: none;
}

.game-character img.is-active {
  opacity: 1;
}

.game-character.is-touching img.is-active {
  animation: character-touch 900ms cubic-bezier(0.16, 1, 0.3, 1) 1;
}

.journey-passing-traveler {
  --passing-opacity: 0.24;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transform-origin: 50% 100%;
  transition: opacity 560ms ease;
  will-change: transform, opacity;
  mix-blend-mode: normal;
}

.journey-passing-traveler.is-visible {
  opacity: var(--passing-opacity);
}

.journey-passing-traveler[data-flow="return"] {
  --passing-opacity: 0.2;
}

.journey-passing-traveler[data-variant="1"] {
  --passing-opacity: 0.27;
}

.journey-passing-traveler[data-variant="2"] {
  --passing-opacity: 0.22;
}

.journey-passing-traveler img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  filter: grayscale(0.82) sepia(0.06) saturate(0.74);
  user-select: none;
  -webkit-user-drag: none;
}

.home-game[data-tone="dark"] .journey-passing-traveler {
  mix-blend-mode: normal;
}

.home-game[data-tone="dark"] .journey-passing-traveler.is-visible {
  opacity: calc(var(--passing-opacity) + 0.05);
}

.home-game[data-tone="dark"] .journey-passing-traveler img {
  filter: grayscale(0.72) sepia(0.12) saturate(0.8) invert(1);
}

.home-game--journey[data-cinematic="drop"][data-cinematic-phase="anticipation"] .game-character img.is-active,
.home-game--journey[data-cinematic="return-drop"][data-cinematic-phase="anticipation"] .game-character img.is-active {
  animation: journey-brace 120ms ease-in-out infinite alternate;
}

.game-character[data-pose="fall"] img.is-active,
.game-character[data-pose="brace-launch"] img.is-active,
.game-character[data-pose="launch"] img.is-active,
.game-character[data-pose="land"] img.is-active {
  top: auto;
  bottom: 0;
  transform-origin: 50% 100%;
}

.game-character[data-pose="fall"] img.is-active {
  left: 22%;
  width: 56%;
  height: 66%;
  animation: character-fall-pose 360ms ease-in-out infinite alternate;
}

.game-character[data-pose="brace-launch"] img.is-active {
  left: 19%;
  width: 62%;
  height: 64%;
  animation: character-brace-launch-pose 180ms cubic-bezier(0.5, 0, 0.5, 1) infinite alternate;
}

.game-character[data-pose="launch"] img.is-active {
  left: 23%;
  width: 54%;
  height: 65%;
  animation: character-launch-pose 260ms ease-in-out infinite alternate;
}

.game-character[data-pose="land"] img.is-active {
  left: 22%;
  width: 56%;
  height: 65%;
  animation: character-land-pose 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-game--journey[data-cinematic][data-cinematic-phase="motion"] .home-game__viewport::after {
  --journey-rush-angle: 0deg;
  position: absolute;
  inset: -12%;
  z-index: 7;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 8%,
      rgba(126, 214, 226, 0.14) 8.15%,
      transparent 8.3% 16%
    );
  content: "";
  opacity: 0.24;
  pointer-events: none;
  transform-origin: 50% 55%;
  will-change: transform, opacity;
  animation: journey-depth-rush 560ms linear infinite;
}

.home-game--journey[data-cinematic="launch"][data-cinematic-phase="motion"] .home-game__viewport::after {
  --journey-rush-angle: 90deg;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 7%,
      rgba(137, 91, 157, 0.22) 7.15%,
      transparent 7.3% 14%
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 11%,
      rgba(188, 194, 104, 0.16) 11.15%,
      transparent 11.3% 22%
    );
}

.home-game--journey[data-memory-return="true"] .game-character img.is-active {
  animation: journey-memory-traveler 620ms ease-in-out infinite alternate;
}

.home-game--journey[data-memory-return="true"] .home-game__viewport::after {
  position: absolute;
  inset: -8%;
  z-index: 7;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 7%,
      rgba(80, 164, 180, 0.045) 7.1% 7.25%,
      transparent 7.35% 14%
    );
  content: "";
  opacity: 0.54;
  pointer-events: none;
  animation: journey-memory-return-rush 340ms linear infinite;
}

.home-game--journey[data-memory-return-phase="departure"] .home-game__viewport::after,
.home-game--journey[data-memory-return-phase="arrival"] .home-game__viewport::after {
  background:
    repeating-radial-gradient(
      ellipse at 54% 50%,
      transparent 0 48px,
      rgba(80, 164, 180, 0.06) 49px 50px,
      transparent 51px 82px
    );
  animation: journey-memory-return-pulse 620ms ease-in-out infinite alternate;
}

.home-game--journey[data-journey-moment] .home-game__viewport::after {
  content: none;
}

.home-game--journey[data-journey-moment="signal"] .home-game__viewport::after {
  background:
    radial-gradient(circle at 54% 40%, transparent 0 17%, rgba(79, 229, 219, 0.09) 17.2% 17.5%, transparent 17.8% 25%, rgba(238, 93, 176, 0.055) 25.2% 25.5%, transparent 25.8%),
    repeating-linear-gradient(90deg, transparent 0 83px, rgba(231, 205, 81, 0.025) 83px 84px);
}

.home-game--journey[data-journey-moment="memory"] .home-game__viewport::after {
  inset: 0;
  border: 0;
  background:
    radial-gradient(ellipse at 54% 48%, transparent 0 16%, rgba(76, 145, 162, 0.09) 29%, transparent 58%),
    repeating-linear-gradient(90deg, transparent 0 12%, rgba(181, 104, 92, 0.028) 12.1% 12.25%, transparent 12.4% 24%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.56), transparent 22% 78%, rgba(255, 255, 255, 0.44));
  animation-name: journey-memory-shutter;
  animation-duration: 1250ms;
}

.home-game--journey[data-journey-moment="creeper"] .home-game__viewport::after {
  background:
    radial-gradient(circle at 68% 32%, rgba(157, 220, 100, 0.13), transparent 11%),
    radial-gradient(circle at 68% 32%, rgba(55, 161, 67, 0.09), transparent 24%),
    repeating-radial-gradient(circle at 68% 32%, transparent 0 58px, rgba(137, 91, 157, 0.035) 59px 60px, transparent 61px 92px);
  animation-duration: 2700ms;
}

.home-game--journey[data-journey-moment="gift"] .home-game__viewport::after {
  background:
    radial-gradient(ellipse at 54% 42%, rgba(190, 116, 123, 0.085), transparent 19%),
    radial-gradient(ellipse at 47% 52%, rgba(105, 154, 128, 0.055), transparent 27%);
}

.home-game--journey[data-journey-moment="scan"] .home-game__viewport::after {
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(79, 151, 171, 0.14) 49.7%, rgba(255, 255, 255, 0.42) 50%, rgba(191, 145, 75, 0.12) 50.3%, transparent 53%),
    repeating-linear-gradient(0deg, transparent 0 74px, rgba(70, 76, 74, 0.028) 74px 75px);
  animation-name: journey-scan-pass;
  animation-duration: 2000ms;
}

.home-game--journey[data-journey-moment="finale"] .home-game__viewport::after {
  background:
    radial-gradient(circle at 54% 38%, transparent 0 15%, rgba(80, 164, 180, 0.07) 15.2% 15.5%, transparent 15.8%),
    radial-gradient(circle at 54% 38%, transparent 0 24%, rgba(230, 112, 174, 0.045) 24.2% 24.5%, transparent 24.8%),
    radial-gradient(circle at 54% 38%, transparent 0 34%, rgba(117, 184, 143, 0.04) 34.2% 34.5%, transparent 34.8%);
  animation-duration: 3200ms;
}

.home-game--journey[data-journey-moment="creeper"] .game-character img.is-active {
  filter:
    drop-shadow(0 0 18px rgba(157, 220, 100, 0.2))
    drop-shadow(0 0 32px rgba(55, 161, 67, 0.12));
}

.home-game--journey[data-journey-moment="finale"] .journey-marker--hub {
  animation: journey-hub-answer 3200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-game--journey[data-memory-dawn="true"] .home-game__viewport::after {
  position: absolute;
  inset: -8%;
  z-index: 7;
  background:
    radial-gradient(ellipse at 42% 55%, rgba(88, 132, 104, 0.13), transparent 18%),
    repeating-linear-gradient(
      90deg,
      transparent 0 7%,
      rgba(79, 229, 219, 0.05) 7.1% 7.25%,
      transparent 7.35% 14%
    );
  content: "";
  pointer-events: none;
  animation: journey-memory-dawn 3600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-game--journey[data-memory-dawn="true"] .game-character img.is-active {
  animation: journey-memory-dawn-traveler 720ms ease-in-out 4 alternate;
}

.home-game--journey[data-memory-resonance] .home-game__viewport::after {
  position: absolute;
  inset: -5%;
  z-index: 7;
  border: 0;
  background:
    repeating-radial-gradient(
      ellipse at 54% 40%,
      transparent 0 92px,
      rgba(80, 164, 180, 0.035) 93px 94px,
      transparent 95px 138px
    ),
    radial-gradient(circle at 54% 40%, rgba(230, 112, 174, 0.055), transparent 24%);
  content: "";
  pointer-events: none;
  animation: journey-resonance-breathe 2900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-game--journey[data-star-dash="true"] .home-game__viewport::after {
  position: absolute;
  inset: -10%;
  z-index: 7;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 9%,
      rgba(80, 164, 180, 0.07) 9.1% 9.25%,
      transparent 9.35% 18%
    );
  content: "";
  opacity: 0;
  pointer-events: none;
  animation: journey-constellation-rush 1450ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-game--journey[data-star-dash="true"] .game-character img.is-active {
  animation: journey-constellation-traveler 240ms ease-in-out infinite alternate;
}

.home-game--journey[data-world-orchestra="true"] .home-game__viewport::after {
  position: absolute;
  inset: -8%;
  z-index: 7;
  background:
    radial-gradient(circle at 54% 38%, rgba(80, 164, 180, 0.08), transparent 14%),
    repeating-radial-gradient(
      circle at 54% 38%,
      transparent 0 72px,
      rgba(230, 112, 174, 0.035) 73px 74px,
      transparent 75px 118px
    );
  content: "";
  pointer-events: none;
  animation: journey-orchestra-bloom 5600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-game--journey[data-world-orchestra-phase="chorus"] .home-game__viewport::after {
  background:
    radial-gradient(circle at 54% 38%, rgba(117, 184, 143, 0.09), transparent 16%),
    repeating-conic-gradient(
      from 0deg at 54% 38%,
      transparent 0deg 22deg,
      rgba(207, 166, 84, 0.026) 23deg 24deg,
      transparent 25deg 48deg
    );
}

.home-game--journey[data-world-orchestra-phase="eclipse"] .home-game__viewport::after {
  background:
    radial-gradient(circle at 54% 38%, rgb(252, 250, 246) 0 7%, transparent 7.4%),
    radial-gradient(circle at 54% 38%, transparent 0 9%, rgba(80, 164, 180, 0.12) 9.2% 9.5%, transparent 9.8%),
    radial-gradient(circle at 54% 38%, transparent 0 17%, rgba(230, 112, 174, 0.07) 17.2% 17.5%, transparent 17.8%),
    radial-gradient(circle at 54% 38%, transparent 0 29%, rgba(117, 184, 143, 0.05) 29.2% 29.5%, transparent 29.8%);
}

.home-game--journey[data-world-orchestra="true"] .journey-marker--hub strong {
  animation: journey-orchestra-title 1400ms ease-in-out infinite alternate;
}

.home-game--journey[data-world-fold] .dot-world-canvas {
  animation: none;
}

.home-game--journey[data-world-fold] .game-character {
  z-index: 9;
}

.home-game--journey[data-world-fold] .game-character img.is-active {
  animation: none;
}

.home-game--journey[data-world-fold] .home-game__viewport::after {
  content: none;
}

.home-game--journey[data-world-fold="root"] .home-game__viewport::after {
  background:
    repeating-radial-gradient(
      ellipse at 50% 58%,
      transparent 0 52px,
      rgba(88, 132, 104, 0.075) 53px 54px,
      transparent 55px 86px
    ),
    repeating-linear-gradient(82deg, transparent 0 92px, rgba(105, 154, 128, 0.03) 93px 94px);
}

.home-game--journey[data-world-fold="signal"] .home-game__viewport::after {
  background:
    repeating-radial-gradient(
      ellipse at 50% 52%,
      transparent 0 58px,
      rgba(79, 229, 219, 0.07) 59px 60px,
      transparent 61px 94px
    ),
    repeating-linear-gradient(90deg, transparent 0 84px, rgba(238, 93, 176, 0.035) 85px 86px);
}

.home-game--journey[data-world-fold="orbit"] .home-game__viewport::after {
  background:
    repeating-radial-gradient(
      ellipse at 50% 48%,
      transparent 0 64px,
      rgba(154, 222, 174, 0.065) 65px 66px,
      transparent 67px 108px
    ),
    repeating-conic-gradient(from 12deg at 50% 48%, transparent 0 29deg, rgba(127, 214, 229, 0.026) 30deg 31deg);
}

.home-game--journey[data-world-fold-phase="fold"] .home-game__viewport::after {
  filter: none;
}

.home-game--journey[data-secret-observatory="ready"] .journey-marker--hub strong {
  animation: journey-observatory-ready 1100ms ease-in-out infinite alternate;
}

.home-game--journey[data-secret-observatory="ready"] .journey-space-hint {
  text-shadow: 0 0 18px rgba(127, 214, 229, 0.4);
}

.home-game--journey[data-secret-observatory="active"] .home-game__viewport::after {
  position: absolute;
  inset: -8%;
  z-index: 7;
  background:
    radial-gradient(circle at 62% 38%, transparent 0 8%, rgba(127, 214, 229, 0.12) 8.2% 8.45%, transparent 8.7%),
    repeating-radial-gradient(circle at 62% 38%, transparent 0 78px, rgba(154, 222, 174, 0.045) 79px 80px, transparent 81px 126px),
    rgba(3, 7, 18, 0.93);
  content: "";
  pointer-events: none;
  animation: journey-observatory-night 6400ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-game--journey[data-secret-observatory-phase="aperture"] .home-game__viewport::after {
  background:
    repeating-conic-gradient(from 0deg at 62% 38%, transparent 0 23deg, rgba(127, 214, 229, 0.045) 24deg 25deg),
    repeating-radial-gradient(circle at 62% 38%, transparent 0 66px, rgba(230, 112, 174, 0.05) 67px 68px, transparent 69px 112px),
    rgba(3, 7, 18, 0.95);
}

.home-game--journey[data-secret-observatory-phase="revelation"] .home-game__viewport::after {
  background:
    linear-gradient(145deg, transparent 0 57%, rgba(127, 214, 229, 0.055) 57.2% 57.4%, transparent 57.6%),
    radial-gradient(circle at 62% 38%, rgba(3, 7, 18, 0.98) 0 7%, transparent 7.3%),
    repeating-radial-gradient(circle at 62% 38%, transparent 0 72px, rgba(207, 166, 84, 0.06) 73px 74px, transparent 75px 124px),
    rgba(3, 7, 18, 0.96);
}

.home-game--journey[data-secret-observatory="active"] .particle-canvas {
  mix-blend-mode: normal;
}

.home-game--journey[data-secret-observatory="active"] .game-character {
  z-index: 9;
  filter: invert(1) drop-shadow(0 0 16px rgba(127, 214, 229, 0.2));
}

.home-game--journey[data-secret-observatory="active"] .journey-marker--hub {
  z-index: 9;
  color: rgba(244, 248, 247, 0.9);
  filter: drop-shadow(0 0 18px rgba(127, 214, 229, 0.16));
}

.home-game--journey[data-secret-ascension="ready"] .journey-marker--hub strong {
  animation: journey-ascension-ready 900ms ease-in-out infinite alternate;
}

.home-game--journey[data-secret-ascension="ready"] .journey-space-hint {
  color: rgba(70, 112, 106, 0.82);
  text-shadow:
    0 0 12px rgba(127, 214, 229, 0.34),
    0 0 28px rgba(230, 112, 174, 0.12);
}

.home-game--journey[data-secret-ascension="active"] .home-game__viewport::after {
  position: absolute;
  inset: -10%;
  z-index: 7;
  background:
    radial-gradient(circle at 58% 38%, rgba(236, 250, 248, 0.16) 0 0.5%, transparent 1.2%),
    repeating-radial-gradient(circle at 58% 38%, transparent 0 66px, rgba(127, 214, 229, 0.04) 67px 68px, transparent 69px 112px),
    rgba(3, 7, 18, 0.92);
  content: "";
  pointer-events: none;
  animation: journey-ascension-field 9200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-game--journey[data-secret-ascension-phase="fusion"] .home-game__viewport::after {
  background:
    radial-gradient(circle at 58% 38%, rgba(245, 251, 249, 0.2) 0 0.7%, transparent 1.5%),
    repeating-conic-gradient(from 0deg at 58% 38%, transparent 0 39deg, rgba(127, 214, 229, 0.035) 40deg 41deg),
    rgba(3, 7, 18, 0.9);
}

.home-game--journey[data-secret-ascension-phase="rupture"] .home-game__viewport::after {
  background:
    linear-gradient(90deg, transparent 0 55.5%, rgba(127, 214, 229, 0.08) 56%, rgba(240, 251, 249, 0.3) 57.8%, rgba(230, 112, 174, 0.1) 59.6%, transparent 61%),
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(127, 214, 229, 0.025) 55px 56px),
    rgba(2, 5, 15, 0.96);
  animation:
    journey-ascension-field 9200ms cubic-bezier(0.16, 1, 0.3, 1) both,
    journey-sky-rupture 760ms ease-in-out infinite alternate;
}

.home-game--journey[data-secret-ascension-phase="launch"] .home-game__viewport::after {
  background:
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(127, 214, 229, 0.028) 47px 48px, transparent 49px 88px),
    repeating-linear-gradient(0deg, transparent 0 84px, rgba(230, 112, 174, 0.028) 85px 86px),
    radial-gradient(ellipse at 48% 48%, transparent 0 8%, rgba(127, 214, 229, 0.07) 8.4% 8.8%, transparent 9.2%),
    rgba(2, 5, 15, 0.97);
  animation: journey-starstream 620ms linear infinite;
}

.home-game--journey[data-secret-ascension-phase="world"] .home-game__viewport::after {
  background:
    radial-gradient(circle at var(--pocket-world-x, 64%) var(--pocket-world-y, 36%), rgba(3, 7, 18, 0.98) 0 12%, transparent 12.4%),
    repeating-radial-gradient(ellipse at var(--pocket-world-x, 64%) var(--pocket-world-y, 36%), transparent 0 98px, rgba(154, 222, 174, 0.045) 99px 100px, transparent 101px 154px),
    repeating-conic-gradient(from 0deg at var(--pocket-world-x, 64%) var(--pocket-world-y, 36%), transparent 0 31deg, rgba(207, 166, 84, 0.03) 32deg 33deg),
    rgba(2, 5, 15, 0.98);
  animation: journey-pocket-world 1800ms ease-in-out infinite alternate;
}

.home-game--journey[data-secret-ascension="active"] .game-vignette {
  background: radial-gradient(ellipse at 50% 50%, transparent 46%, rgba(1, 3, 9, 0.58) 100%);
}

.home-game--journey[data-secret-ascension-phase="return"] .home-game__viewport::after {
  background:
    linear-gradient(145deg, transparent 0 54%, rgba(240, 250, 248, 0.13) 54.4%, rgba(127, 214, 229, 0.07) 55%, transparent 56%),
    radial-gradient(circle at 42% 78%, rgba(154, 222, 174, 0.08), transparent 18%),
    rgba(3, 7, 18, 0.94);
  animation: journey-meteor-return 2024ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-game--journey[data-secret-ascension="active"] .particle-canvas {
  mix-blend-mode: normal;
}

.home-game--journey[data-secret-ascension="active"] .dot-world-canvas {
  filter: saturate(0.75) contrast(1.08);
  opacity: 0.18;
  transition: opacity 420ms ease, filter 420ms ease;
}

.home-game--journey[data-secret-ascension="active"] .game-character {
  z-index: 9;
  filter:
    invert(1)
    drop-shadow(0 0 10px rgba(236, 250, 248, 0.22))
    drop-shadow(0 0 24px rgba(127, 214, 229, 0.14));
}

.home-game--journey[data-secret-ascension="active"] .journey-marker--hub {
  opacity: 0.12;
  transition: opacity 360ms ease;
}

.home-game--journey[data-world-seed="awake"] .game-character {
  filter: drop-shadow(0 0 8px rgba(127, 214, 229, 0.08));
}

.particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: normal;
  transition: opacity 900ms ease;
}

.home-game[data-particles="active"] .particle-canvas {
  opacity: 1;
}

.home-game[data-moving="1"] .dot-world-canvas,
.home-game[data-moving="1"] .particle-canvas {
  filter: none;
  mix-blend-mode: normal;
}

.home-game[data-render-quality="low"] .dot-world-canvas,
.home-game[data-render-quality="low"] .particle-canvas {
  filter: none !important;
  mix-blend-mode: normal !important;
}

.home-game[data-render-quality="low"] .moss-catch__memory::after,
.home-game[data-render-quality="low"] .journey-discovery__memory::after {
  animation: none;
}

.home-game[data-render-quality="low"] .media-sign__circuit i {
  animation: none !important;
  border-radius: 50%;
}

.home-game[data-render-quality="low"] .media-emblem i,
.home-game[data-render-quality="low"] .media-emblem i[data-shape] {
  width: 3px !important;
  height: 3px !important;
  margin: -1.5px 0 0 -1.5px !important;
  border: 0 !important;
  border-radius: 50% !important;
  clip-path: none !important;
  box-shadow: none !important;
  animation: none !important;
  will-change: auto;
}

@media (hover: hover) and (pointer: fine) {
  .home-game[data-world-cursor="active"]:not([data-links="open"]) .home-game__stage,
  .home-game[data-world-cursor="active"]:not([data-links="open"]) .home-game__stage * {
    cursor: none !important;
  }
}

.world-cursor {
  --world-cursor-rgb: 88 132 104;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 220;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
  will-change: transform;
}

.home-game[data-cursor-visible="true"]:not([data-links="open"]) .world-cursor {
  opacity: 1;
}

.world-cursor::before,
.world-cursor::after,
.world-cursor span,
.world-cursor i {
  position: absolute;
  display: block;
  content: "";
  pointer-events: none;
}

.world-cursor::before {
  top: -2px;
  left: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgb(var(--world-cursor-rgb) / 0.92);
  box-shadow: 0 0 9px rgb(var(--world-cursor-rgb) / 0.32);
}

.world-cursor::after {
  top: -11px;
  left: -11px;
  width: 20px;
  height: 20px;
  border: 1px solid rgb(var(--world-cursor-rgb) / 0.32);
  border-radius: 50%;
  transform: rotate(-9deg);
  transition: width 180ms ease, height 180ms ease, top 180ms ease, left 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.world-cursor span {
  top: -16px;
  left: -16px;
  width: 30px;
  height: 30px;
  border: 1px dotted rgb(var(--world-cursor-rgb) / 0.14);
  border-radius: 50%;
  animation: world-cursor-breathe 1800ms ease-in-out infinite alternate;
}

.world-cursor i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgb(var(--world-cursor-rgb) / 0.54);
  animation: world-cursor-mote 1200ms ease-in-out infinite alternate;
}

.world-cursor i:nth-of-type(1) { transform: translate(-15px, -6px) scale(0.72); }
.world-cursor i:nth-of-type(2) { transform: translate(13px, -10px) scale(0.46); animation-delay: -220ms; }
.world-cursor i:nth-of-type(3) { transform: translate(15px, 7px) scale(0.82); animation-delay: -440ms; }
.world-cursor i:nth-of-type(4) { transform: translate(-10px, 14px) scale(0.52); animation-delay: -660ms; }
.world-cursor i:nth-of-type(5) { transform: translate(5px, 18px) scale(0.42); animation-delay: -820ms; }
.world-cursor i:nth-of-type(6) { transform: translate(-19px, 5px) scale(0.36); animation-delay: -980ms; }

.world-cursor[data-interactive="true"]::after {
  top: -16px;
  left: -16px;
  width: 30px;
  height: 30px;
  border-style: dotted;
  opacity: 0.78;
  transform: rotate(14deg);
}

.world-cursor[data-interactive="true"] span {
  opacity: 0.5;
  transform: scale(1.22);
}

.world-cursor[data-pressed="true"]::after {
  top: -7px;
  left: -7px;
  width: 12px;
  height: 12px;
  opacity: 0.9;
}

.home-game[data-tone="dark"] .world-cursor {
  filter: saturate(1.18) brightness(1.18);
}

.home-game[data-render-quality="low"] .world-cursor span,
.home-game[data-render-quality="low"] .world-cursor i:nth-of-type(n + 4) {
  display: none;
}

@keyframes world-cursor-breathe {
  from { opacity: 0.24; transform: scale(0.86) rotate(-4deg); }
  to { opacity: 0.58; transform: scale(1.08) rotate(7deg); }
}

@keyframes world-cursor-mote {
  from { opacity: 0.28; }
  to { opacity: 0.82; }
}

.performance-hud {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 200;
  width: 204px;
  padding: 10px 12px 11px;
  border: 1px solid rgba(127, 214, 229, 0.28);
  border-radius: 4px;
  background: rgba(3, 7, 18, 0.88);
  box-shadow: none;
  color: rgba(237, 246, 244, 0.88);
  font: 10px/1.42 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  pointer-events: none;
  contain: content;
}

.performance-hud__title {
  margin-bottom: 5px;
  color: rgba(127, 214, 229, 0.74);
  font-size: 9px;
}

.performance-hud__graph {
  display: block;
  width: 180px;
  height: 46px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.025);
}

.performance-hud__values {
  margin: 0;
  color: inherit;
  font: inherit;
  white-space: pre;
}

.home-game[data-render-quality="low"][data-cinematic-phase="motion"] .home-game__viewport::after,
.home-game[data-render-quality="low"][data-time-flow="rewind"] .dot-world-canvas {
  animation: none !important;
}

@keyframes journey-memory-dawn {
  0%, 100% {
    opacity: 0;
    transform: translateX(-5%) scaleX(0.94);
  }
  22%, 68% {
    opacity: 0.78;
  }
  72% {
    transform: translateX(5%) scaleX(1.06);
  }
}

@keyframes journey-memory-dawn-traveler {
  from {
    filter: drop-shadow(0 0 0 rgba(80, 164, 180, 0));
    transform: translateY(1px) rotate(-1deg);
  }
  to {
    filter: drop-shadow(0 0 16px rgba(80, 164, 180, 0.18));
    transform: translateY(-5px) rotate(1deg);
  }
}

@keyframes journey-resonance-breathe {
  0%, 100% {
    opacity: 0;
    transform: scale(0.9) rotate(-1deg);
  }
  28%, 72% {
    opacity: 1;
    transform: scale(1.02) rotate(0deg);
  }
}

@keyframes journey-constellation-rush {
  0%, 100% {
    opacity: 0;
    transform: translateX(8%);
  }
  24%, 68% {
    opacity: 0.82;
  }
  72% {
    transform: translateX(-9%);
  }
}

@keyframes journey-constellation-traveler {
  from {
    filter: drop-shadow(0 0 5px rgba(80, 164, 180, 0.12));
    transform: translateY(1px) rotate(-2deg);
  }
  to {
    filter: drop-shadow(0 0 15px rgba(230, 112, 174, 0.18));
    transform: translateY(-2px) rotate(2deg);
  }
}

@keyframes journey-orchestra-bloom {
  0%, 100% {
    opacity: 0;
    transform: scale(0.72) rotate(-3deg);
  }
  18% {
    opacity: 0.84;
  }
  58% {
    opacity: 1;
    transform: scale(1.04) rotate(1deg);
  }
  84% {
    opacity: 0.78;
    transform: scale(1.12) rotate(0deg);
  }
}

@keyframes journey-orchestra-title {
  from {
    filter: drop-shadow(0 0 0 rgba(80, 164, 180, 0));
    transform: scale(1);
  }
  to {
    filter: drop-shadow(0 0 22px rgba(80, 164, 180, 0.2));
    transform: scale(1.035);
  }
}

@keyframes journey-world-fold-canvas {
  from {
    filter: saturate(0.88) contrast(1);
  }
  to {
    filter: saturate(1.16) contrast(1.08);
  }
}

@keyframes journey-world-fold-traveler {
  from {
    filter: drop-shadow(0 0 4px rgba(80, 164, 180, 0.12));
    transform: translateY(1px) rotate(-2deg);
  }
  to {
    filter: drop-shadow(0 0 18px rgba(230, 112, 174, 0.2));
    transform: translateY(-8px) rotate(2deg);
  }
}

@keyframes journey-world-fold-field {
  0%, 100% {
    opacity: 0;
    transform: scale(0.72) rotate(-3deg);
  }
  18% {
    opacity: 0.72;
  }
  58% {
    opacity: 1;
    transform: scale(1.08) rotate(1deg);
  }
  82% {
    opacity: 0.68;
    transform: scale(1.18) rotate(0deg);
  }
}

@keyframes journey-observatory-ready {
  from {
    filter: drop-shadow(0 0 0 rgba(127, 214, 229, 0));
    transform: scale(1);
  }
  to {
    filter: drop-shadow(0 0 20px rgba(127, 214, 229, 0.24));
    transform: scale(1.025);
  }
}

@keyframes journey-observatory-night {
  0%, 100% {
    opacity: 0;
    transform: scale(0.9);
  }
  14% {
    opacity: 1;
  }
  72% {
    opacity: 1;
    transform: scale(1.04);
  }
  88% {
    opacity: 0.96;
    transform: scale(1.08);
  }
}

@keyframes journey-ascension-ready {
  from {
    filter:
      drop-shadow(0 0 0 rgba(127, 214, 229, 0))
      drop-shadow(0 0 0 rgba(230, 112, 174, 0));
    transform: scale(1);
  }
  to {
    filter:
      drop-shadow(0 0 18px rgba(127, 214, 229, 0.3))
      drop-shadow(0 0 34px rgba(230, 112, 174, 0.12));
    transform: scale(1.035);
  }
}

@keyframes journey-ascension-field {
  0% {
    opacity: 1;
    transform: scale(0.92);
  }
  10%, 82% {
    opacity: 1;
  }
  88% {
    opacity: 0.98;
    transform: scale(1.06);
  }
  100% {
    opacity: 1;
    transform: scale(1.14);
  }
}

@keyframes journey-sky-rupture {
  from {
    filter: brightness(0.94) contrast(1);
    transform: scaleX(0.99);
  }
  to {
    filter: brightness(1.12) contrast(1.08);
    transform: scaleX(1.018);
  }
}

@keyframes journey-starstream {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0;
    filter: blur(0);
  }
  to {
    background-position: 0 96px, 0 168px, 0 0, 0 0;
    filter: blur(0.7px);
  }
}

@keyframes journey-pocket-world {
  from {
    filter: brightness(0.94) saturate(0.9);
    transform: scale(0.99) rotate(-0.2deg);
  }
  to {
    filter: brightness(1.08) saturate(1.12);
    transform: scale(1.018) rotate(0.2deg);
  }
}

@keyframes journey-meteor-return {
  0% {
    opacity: 1;
    transform: scale(1.04);
  }
  62% {
    opacity: 0.94;
  }
  100% {
    opacity: 0;
    transform: scale(1.16);
  }
}

@keyframes journey-depth-rush {
  from {
    opacity: 0.12;
    transform: rotate(var(--journey-rush-angle)) translate3d(-6%, 0, 0) scale(1.22);
  }
  to {
    opacity: 0.26;
    transform: rotate(var(--journey-rush-angle)) translate3d(6%, 0, 0) scale(1.38);
  }
}

@keyframes journey-moment-bloom {
  0%, 100% {
    opacity: 0;
    transform: scale(0.94);
  }
  28%, 66% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes journey-memory-shutter {
  0%, 100% {
    opacity: 0;
    transform: scale(1.08);
  }
  18% {
    opacity: 0.92;
    transform: scale(0.985);
  }
  32%, 68% {
    opacity: 0.46;
    transform: scale(1);
  }
}

@keyframes journey-scan-pass {
  0%, 100% {
    opacity: 0;
    transform: translateX(-42%);
  }
  18% {
    opacity: 0.78;
  }
  76% {
    opacity: 0.5;
  }
  88% {
    opacity: 0;
    transform: translateX(42%);
  }
}

@keyframes journey-hub-answer {
  0%, 100% {
    filter: none;
  }
  30%, 68% {
    filter: drop-shadow(0 0 18px rgba(80, 164, 180, 0.2));
  }
}

@keyframes journey-hub-link-awaken {
  0% {
    opacity: 0.22;
    transform: translateY(7px);
  }
  42% {
    opacity: 1;
    transform: translateY(-3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes journey-hub-replay {
  0%, 100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  38% {
    opacity: 0.5;
    transform: translate3d(8px, -4px, 0);
  }
  62% {
    opacity: 0.9;
    transform: translate3d(-4px, 2px, 0);
  }
}

@keyframes journey-hub-portal {
  from {
    filter: drop-shadow(0 0 0 rgba(80, 164, 180, 0));
    opacity: 0.72;
  }
  to {
    filter: drop-shadow(0 0 18px rgba(80, 164, 180, 0.2));
    opacity: 1;
  }
}

@keyframes journey-world-rewind {
  from {
    opacity: 0.86;
  }
  to {
    opacity: 1;
  }
}

@keyframes journey-memory-traveler {
  from {
    filter: blur(0) drop-shadow(0 0 0 rgba(80, 164, 180, 0));
    opacity: 0.92;
  }
  to {
    filter: blur(0.7px) drop-shadow(0 0 12px rgba(80, 164, 180, 0.2));
    opacity: 0.54;
  }
}

@keyframes journey-memory-return-rush {
  from {
    transform: translateX(-8%);
  }
  to {
    transform: translateX(8%);
  }
}

@keyframes journey-memory-return-pulse {
  from {
    opacity: 0.24;
    transform: scale(0.96);
  }
  to {
    opacity: 0.64;
    transform: scale(1.04);
  }
}

@keyframes journey-space-think {
  from {
    opacity: 0.28;
    transform: translateY(3px) scale(0.78);
  }
  to {
    opacity: 0.9;
    transform: translateY(-3px) scale(1.08);
  }
}

@keyframes screen-tremor {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  18% {
    transform: translate3d(-2px, 1px, 0);
  }
  36% {
    transform: translate3d(1.5px, -1px, 0);
  }
  54% {
    transform: translate3d(-1px, -0.5px, 0);
  }
  72% {
    transform: translate3d(1px, 0.5px, 0);
  }
}

@keyframes character-breathe {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-4px);
  }
}

@keyframes character-touch {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  35% {
    transform: translateY(-8px) rotate(-1.5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes character-fall-pose {
  from {
    transform: translate3d(-3px, -5px, 0) rotate(-4deg);
  }
  to {
    transform: translate3d(3px, 5px, 0) rotate(4deg);
  }
}

@keyframes character-brace-launch-pose {
  from {
    transform: translate3d(0, 1px, 0) rotate(-0.5deg);
  }
  to {
    transform: translate3d(0, 5px, 0) rotate(0.5deg);
  }
}

@keyframes character-launch-pose {
  from {
    transform: translate3d(-1px, 4px, 0) rotate(-1deg);
  }
  to {
    transform: translate3d(1px, -6px, 0) rotate(1deg);
  }
}

@keyframes character-land-pose {
  0% {
    transform: translate3d(0, 7px, 0) rotate(1deg);
  }
  42% {
    transform: translate3d(0, 2px, 0) rotate(-0.5deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes journey-brace {
  from {
    transform: translate3d(-2px, 0, 0) rotate(-1deg) scaleY(1);
  }
  to {
    transform: translate3d(2px, 2px, 0) rotate(1deg) scaleY(0.98);
  }
}

@keyframes journey-field-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 46px, 84px 0;
  }
}

@keyframes journey-rise-islog {
  from {
    background-position: 0 24px, 0 16px, 0 58px;
    filter: brightness(0.9) saturate(0.88);
  }
  to {
    background-position: 0 -34px, 0 -14px, 0 -60px;
    filter: brightness(1.08) saturate(1.06);
  }
}

@keyframes journey-city-breathe {
  from {
    background-position: 0 0, 0 0, 0 0;
    filter: saturate(0.92);
  }
  to {
    background-position: 18px 0, 0 -8px, 12px 0;
    filter: saturate(1.08);
  }
}

@keyframes journey-space-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 180px 90px, -140px 70px;
  }
}

@keyframes journey-end-drift {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0;
    filter: saturate(0.88) brightness(0.94);
  }
  to {
    background-position: 0 -18px, 22px 10px, 150px 74px, -110px 54px;
    filter: saturate(1.08) brightness(1.04);
  }
}

@keyframes moss-drift {
  from {
    transform: translate3d(-4px, 0, 0);
  }
  to {
    transform: translate3d(10px, -3px, 0);
  }
}

@keyframes moss-living {
  from {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(10px, -5px, 0);
  }
  to {
    transform: translate3d(18px, 0, 0);
  }
}

.game-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 11%, rgba(255, 255, 255, 0) 82%, rgba(255, 255, 255, 0.94)),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 82%, rgba(255, 255, 255, 0.94));
}

.home-game--journey[data-tone="dark"] .game-vignette {
  background:
    radial-gradient(circle at 50% 52%, rgba(4, 8, 18, 0) 34%, rgba(1, 3, 9, 0.48) 100%),
    linear-gradient(to right, rgba(2, 4, 10, 0.8), transparent 12%, transparent 84%, rgba(2, 4, 10, 0.74));
}

.game-hud {
  position: absolute;
  top: 28px;
  right: 34px;
  left: 34px;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr) auto;
  align-items: start;
  gap: 32px;
  color: var(--game-ink-strong);
  pointer-events: none;
}

.game-brand span,
.game-card__kicker {
  display: block;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: rgba(68, 68, 68, 0.55);
  text-transform: uppercase;
}

.game-progress {
  position: relative;
  height: 30px;
  margin-top: 7px;
}

.game-progress::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(68, 68, 68, 0.16);
}

.game-progress span {
  position: absolute;
  top: 13px;
  left: 0;
  width: var(--game-progress, 0%);
  height: 4px;
  border-radius: 999px;
  background: var(--game-ink);
  transform-origin: 0 50%;
  transition: width 80ms linear;
}

.game-progress i {
  position: absolute;
  top: 8px;
  left: var(--game-progress, 0%);
  width: 14px;
  height: 14px;
  border: 3px solid var(--game-ink);
  border-radius: 50%;
  background: var(--game-paper);
  transform: translateX(-50%);
  transition: left 80ms linear;
}

.game-keys {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 8px;
  color: rgba(68, 68, 68, 0.68);
  font-size: 12px;
  transition: opacity 420ms ease, transform 420ms ease;
}

.game-keys.is-muted {
  opacity: 0.24;
  transform: translateY(-4px);
}

.game-keys kbd {
  display: inline-grid;
  min-width: 32px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(68, 68, 68, 0.34);
  border-bottom-width: 3px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--game-ink-strong);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
}

.game-card {
  position: absolute;
  right: 46px;
  bottom: 46px;
  z-index: 12;
  width: min(480px, 38vw);
  padding: 28px 30px 26px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86));
  backdrop-filter: blur(8px);
  color: var(--game-ink-strong);
  opacity: 0;
  transform: translate3d(18px, 18px, 0);
  transition:
    opacity 360ms ease,
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.game-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.game-card::before {
  content: "";
  position: absolute;
  top: -24px;
  left: -34px;
  width: 74px;
  height: 42px;
  border-top: 3px solid rgba(68, 68, 68, 0.42);
  border-left: 3px solid rgba(68, 68, 68, 0.42);
  transform: skewX(-18deg);
}

.game-card::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -18px;
  left: 26px;
  height: 2px;
  background: rgba(68, 68, 68, 0.28);
  transform: rotate(-1.2deg);
}

.game-card h2,
.game-card__title {
  margin-top: 10px;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 620;
  line-height: 1.04;
}

.game-card__title {
  margin: 0;
}

.game-card p {
  margin-top: 15px;
  color: rgba(38, 38, 38, 0.72);
  font-size: 14px;
  line-height: 1.72;
}

.game-card ul {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.game-card li a {
  display: block;
  color: var(--game-ink-strong);
  font-size: 13px;
  line-height: 1.55;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  text-decoration-color: rgba(68, 68, 68, 0.28);
}

.game-card > a {
  display: inline-block;
  margin-top: 18px;
  color: var(--game-ink-strong);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.game-map {
  position: absolute;
  left: 34px;
  bottom: 28px;
  z-index: 14;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: min(780px, calc(100vw - 520px));
  gap: 10px;
}

.game-map button,
.game-map a {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 0;
  border-bottom: 1px solid rgba(68, 68, 68, 0.3);
  background: transparent;
  color: rgba(35, 35, 35, 0.66);
  font: inherit;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.game-map button:hover,
.game-map a:hover,
.game-map button.is-active {
  color: var(--game-ink-strong);
  border-color: var(--game-ink-strong);
  transform: translateY(-2px);
}

.home-game :focus-visible {
  outline: 2px solid rgba(42, 58, 54, 0.86);
  outline-offset: 4px;
  border-radius: 0;
}

.home-game[data-tone="dark"] :focus-visible {
  outline-color: rgba(126, 237, 221, 0.96);
}

.game-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-fallback {
  position: relative;
  width: min(920px, calc(100% - 96px));
  height: auto;
  margin: 72px auto 96px;
  overflow: visible;
}

.home-game[data-game-ready="true"]:not([data-links="open"]) .home-fallback {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
}

.home-game[data-links="open"] {
  overflow: auto;
  background: #fff;
}

.home-game[data-links="open"] .home-game__stage {
  display: none;
}

.home-game[data-atlas="active"] .home-game__stage *,
.home-game[data-atlas="active"] .home-game__boot-logo,
.home-game[data-atlas="active"] .home-game__boot-logo * {
  animation: none !important;
  transition: none !important;
}

.home-game[data-links="open"] .world-cursor span,
.home-game[data-links="open"] .world-cursor i {
  animation: none !important;
}

.home-game[data-atlas-input-locked="true"] .home-game__stage,
.home-game[data-atlas-input-locked="true"] .home-fallback {
  pointer-events: none;
  user-select: none;
}

.home-game[data-links="open"] .home-fallback {
  position: relative;
  left: auto;
  top: auto;
  width: min(920px, calc(100% - 96px));
  height: auto;
  margin: 72px auto 96px;
  overflow: visible;
}

.home-fallback__close {
  display: none;
  appearance: none;
  padding: 0 0 5px;
  margin: 0 0 56px;
  border: 0;
  border-bottom: 1px solid rgba(55, 55, 50, 0.32);
  background: transparent;
  color: rgba(44, 44, 40, 0.72);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.home-game[data-links="open"] .home-fallback__close {
  display: inline-block;
}

.home-fallback__intro {
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(55, 55, 50, 0.18);
}

.home-fallback__eyebrow {
  margin: 0 0 15px;
  color: rgba(72, 125, 112, 0.78);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.home-fallback h1 {
  margin: 0;
  color: #2f302d;
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 500;
  line-height: 1.12;
}

.home-fallback__summary {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(47, 48, 45, 0.68);
  font-size: 15px;
  line-height: 1.8;
}

.home-fallback__section {
  padding: 58px 0;
  border-bottom: 1px solid rgba(55, 55, 50, 0.18);
}

.home-fallback__section h2 {
  margin: 0 0 28px;
  color: #2f302d;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0;
}

.home-fallback__section > p {
  max-width: 680px;
  margin: 0 0 24px;
  color: rgba(47, 48, 45, 0.68);
  font-size: 14px;
  line-height: 1.8;
}

.home-fallback__section ul {
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.home-fallback__section li {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid rgba(55, 55, 50, 0.14);
}

.home-fallback__section li:last-child {
  border-bottom: 1px solid rgba(55, 55, 50, 0.14);
}

.home-fallback__media {
  display: grid;
  gap: 5px;
}

.home-fallback__media > a {
  color: #2f302d;
  font-size: 16px;
  font-weight: 600;
}

.home-fallback__media > span {
  color: rgba(47, 48, 45, 0.6);
  font-size: 13px;
  line-height: 1.6;
}

.home-fallback__latest {
  display: grid;
  gap: 8px;
}

.home-fallback__latest a {
  color: rgba(47, 48, 45, 0.78);
  font-size: 13px;
  line-height: 1.55;
  text-decoration: underline;
  text-decoration-color: rgba(47, 48, 45, 0.24);
  text-underline-offset: 0.22em;
}

.home-fallback__more,
.home-fallback__person-links a {
  color: #2f302d;
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: rgba(47, 48, 45, 0.28);
  text-underline-offset: 0.28em;
}

.home-fallback__person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

/* ---- Living Atlas: the mouse-led second act ---- */

.living-atlas__scroll-cue {
  position: fixed;
  top: 50%;
  right: clamp(24px, 5vw, 72px);
  z-index: 18;
  display: grid;
  gap: 10px;
  justify-items: center;
  color: rgba(43, 62, 56, 0.82);
  pointer-events: none;
  opacity: 0;
  transform: translate(0, calc(-50% + 12px));
  transition: opacity 420ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-game[data-atlas="active"]:not([data-atlas-transitioning]) .living-atlas__scroll-cue:not(.is-hidden) {
  opacity: 1;
  transform: translate(0, -50%);
}

.living-atlas__scroll-cue.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.living-atlas__scroll-cue b {
  font-family: "Hannotate SC", "HanziPen SC", "Klee One", "YuKyokasho", "Yu Kyokasho", cursive;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

.living-atlas__scroll-cue b > i {
  display: none;
  font-style: normal;
}

.living-atlas__scroll-cue small {
  display: grid;
  grid-template-columns: repeat(2, 18px);
  gap: 4px 5px;
  color: rgba(43, 62, 56, 0.56);
  font-size: 9px;
  line-height: 18px;
  text-align: center;
}

.living-atlas__scroll-cue small span,
.living-atlas__scroll-cue small i {
  width: 18px;
  height: 18px;
  border: 1px solid rgb(var(--atlas-current, 91 133 121) / 0.24);
  border-radius: 50%;
  font-style: normal;
}

.living-atlas__scroll-cue-particles {
  position: relative;
  display: block;
  width: 18px;
  height: 38px;
}

.living-atlas__scroll-cue-particles i {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgb(var(--atlas-current, 91 133 121) / 0.72);
  opacity: 0;
  transform: translate(-50%, 0);
  animation: atlas-scroll-particle 1.8s ease-in-out infinite;
}

.living-atlas__scroll-cue-particles i:nth-child(2) { margin-left: -5px; animation-delay: 120ms; }
.living-atlas__scroll-cue-particles i:nth-child(3) { margin-left: 4px; animation-delay: 240ms; }
.living-atlas__scroll-cue-particles i:nth-child(4) { margin-left: -2px; animation-delay: 360ms; }
.living-atlas__scroll-cue-particles i:nth-child(5) { margin-left: 3px; animation-delay: 480ms; }

.living-atlas__scroll-cue.is-nudged {
  color: rgba(35, 74, 63, 0.98);
}

.living-atlas__scroll-cue.is-nudged .living-atlas__scroll-cue-particles {
  animation: atlas-scroll-cue-nudge 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes atlas-scroll-particle {
  0% { opacity: 0; transform: translate(-50%, 0) scale(0.7); }
  28% { opacity: 0.8; }
  78% { opacity: 0.38; }
  100% { opacity: 0; transform: translate(-50%, 34px) scale(1.15); }
}

@keyframes atlas-scroll-cue-nudge {
  0%, 100% { transform: translateY(0); }
  38% { transform: translateY(12px); }
  68% { transform: translateY(-3px); }
}

.living-atlas-bookmark {
  position: fixed;
  top: 24px;
  right: 76px;
  z-index: 28;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 7px 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(53, 68, 63, 0.22);
  background: transparent;
  color: rgba(38, 50, 46, 0.84);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 520ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1), color 240ms ease;
}

.living-atlas-bookmark[hidden] {
  display: none !important;
}

.home-game[data-atlas-unlocked="true"] .living-atlas-bookmark:not([hidden]) {
  opacity: 0.62;
  transform: translateY(0);
}

.home-game[data-atlas="active"] .living-atlas-bookmark,
.home-game[data-atlas="entering"] .living-atlas-bookmark {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.living-atlas-bookmark:hover,
.living-atlas-bookmark:focus-visible {
  color: rgba(33, 45, 41, 0.96);
  opacity: 1 !important;
}

.living-atlas-bookmark__mark {
  position: relative;
  display: block;
  width: 28px;
  height: 15px;
}

.living-atlas-bookmark__mark::before {
  position: absolute;
  top: 7px;
  right: 2px;
  left: 2px;
  height: 1px;
  background: rgba(73, 112, 102, 0.24);
  content: "";
  transform: rotate(-5deg);
}

.living-atlas-bookmark__mark i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(92, 151, 136, 0.74);
}

.living-atlas-bookmark__mark i:nth-child(1) { top: 4px; left: 1px; }
.living-atlas-bookmark__mark i:nth-child(2) { top: 1px; left: 7px; background: rgba(206, 84, 151, 0.7); }
.living-atlas-bookmark__mark i:nth-child(3) { top: 8px; left: 12px; background: rgba(99, 172, 188, 0.76); }
.living-atlas-bookmark__mark i:nth-child(4) { top: 4px; left: 17px; background: rgba(188, 189, 102, 0.78); }
.living-atlas-bookmark__mark i:nth-child(5) { top: 10px; left: 22px; background: rgba(214, 128, 155, 0.72); }
.living-atlas-bookmark__mark i:nth-child(6) { top: 5px; left: 26px; background: rgba(96, 98, 108, 0.72); }

.living-atlas-transition {
  position: fixed;
  inset: 0;
  z-index: 70;
  overflow: hidden;
  contain: layout paint style;
  pointer-events: none;
  opacity: 1;
}

.living-atlas-transition[aria-hidden="true"] {
  visibility: hidden;
  opacity: 0;
}

.home-game[data-atlas="entering"] .game-character {
  opacity: 0;
}

.home-game[data-atlas="entering"] .home-game__stage {
  opacity: calc(1 - var(--atlas-transition-fracture, 0) * 0.96);
  transform: translate3d(
    0,
    calc(
      var(--atlas-transition-fracture, 0) * 72px
      + var(--atlas-transition-fall, 0) * 128px
    ),
    0
  );
  transform-origin: 50% 72%;
  will-change: opacity, transform;
}

.living-atlas-transition canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
}

.living-atlas-transition__character {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 92px;
  height: 70px;
  transform-origin: 0 0;
  will-change: transform;
}

.living-atlas-transition__character img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
}

.living-atlas-transition__character[data-pose="fall"] img,
.living-atlas-transition__character[data-pose="brace-launch"] img,
.living-atlas-transition__character[data-pose="land"] img {
  position: absolute;
  top: auto;
  bottom: 0;
  transform-origin: 50% 100%;
}

.living-atlas-transition__character[data-pose="fall"] img {
  left: 22%;
  width: 56%;
  height: 66%;
}

.living-atlas-transition__character[data-pose="brace-launch"] img {
  left: 19%;
  width: 62%;
  height: 64%;
}

.living-atlas-transition__character[data-pose="land"] img {
  left: 22%;
  width: 56%;
  height: 65%;
}

.living-atlas-transition > p {
  position: absolute;
  top: 20%;
  left: 50%;
  z-index: 2;
  display: grid;
  gap: 8px;
  justify-items: center;
  margin: 0;
  color: rgba(46, 58, 54, 0.72);
  text-align: center;
  opacity: var(--atlas-transition-title-opacity, 0);
  transform: translate3d(-50%, calc(18px - var(--atlas-transition-reform, 0) * 18px), 0);
  will-change: opacity, transform;
}

.living-atlas-transition > p em {
  position: relative;
  display: block;
  width: 86px;
  height: 13px;
  font-style: normal;
}

.living-atlas-transition > p em i {
  position: absolute;
  top: 5px;
  left: calc(var(--atlas-memory-index) * 15px);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgb(var(--atlas-memory-color));
  opacity: 0.72;
}

.living-atlas-transition > p em i:nth-child(1) { --atlas-memory-index: 0; --atlas-memory-color: 91 139 112; top: 6px; }
.living-atlas-transition > p em i:nth-child(2) { --atlas-memory-index: 1; --atlas-memory-color: 212 81 153; top: 3px; }
.living-atlas-transition > p em i:nth-child(3) { --atlas-memory-index: 2; --atlas-memory-color: 98 170 190; top: 7px; }
.living-atlas-transition > p em i:nth-child(4) { --atlas-memory-index: 3; --atlas-memory-color: 178 180 100; top: 4px; }
.living-atlas-transition > p em i:nth-child(5) { --atlas-memory-index: 4; --atlas-memory-color: 213 128 155; top: 8px; }
.living-atlas-transition > p em i:nth-child(6) { --atlas-memory-index: 5; --atlas-memory-color: 105 107 116; top: 5px; }

.living-atlas-transition > p span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
}

.living-atlas-transition > p b {
  font-family: "Hannotate SC", "HanziPen SC", "Klee One", "YuKyokasho", "Yu Kyokasho", cursive;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
}

.home-game[data-links="open"][data-atlas="active"] {
  overflow: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  background: #fff;
}

.home-game[data-links="open"][data-atlas="active"] .home-fallback {
  width: min(1180px, calc(100% - 96px));
  min-height: 100vh;
  padding-left: 210px;
  margin: 0 auto;
}

.living-atlas__canvas {
  display: none;
}

.home-game[data-atlas="active"] .living-atlas__canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.living-atlas__content {
  position: relative;
  z-index: 2;
  width: min(790px, 100%);
  margin-left: auto;
  transition: opacity 620ms ease, transform 760ms cubic-bezier(0.16, 1, 0.3, 1), filter 620ms ease;
}

.home-game[data-atlas-transforming] .living-atlas__margin > p {
  animation: atlas-chapter-breathe 1120ms ease both;
}

.home-game[data-atlas-departing="true"] .living-atlas {
  pointer-events: none;
}

.home-game[data-atlas-departing="true"] .living-atlas__content {
  filter: blur(0.7px);
  opacity: 0.12;
  transform: translate3d(12px, 0, 0);
}

.home-game[data-atlas-departing="true"] .living-atlas__margin {
  opacity: 0;
  transition: opacity 420ms ease;
}

.home-game[data-atlas-departing="true"] .living-atlas__guide {
  transform: translate3d(10px, -2px, 0) rotate(2deg);
}

.home-game[data-atlas-returning="true"] .living-atlas {
  pointer-events: none;
}

.home-game[data-atlas-returning="true"] .living-atlas__content {
  filter: blur(calc(var(--atlas-return-release, 0) * 1.1px));
  opacity: calc(1 - var(--atlas-return-release, 0));
  transform: translate3d(0, calc(var(--atlas-return-release, 0) * -22px), 0);
}

.home-game[data-atlas-returning="true"] .living-atlas__margin {
  opacity: calc(1 - var(--atlas-return-gather, 0));
  transition: none;
}

.home-game[data-atlas-returning="true"] .living-atlas__guide {
  transform: translate3d(0, calc(var(--atlas-return-gather, 0) * -5px), 0)
    scale(calc(1 + var(--atlas-return-release, 0) * 0.04));
}

.home-game[data-atlas-returning="true"] .living-atlas__current {
  filter: blur(calc(var(--atlas-return-release, 0) * 1.6px));
  opacity: calc(1 - var(--atlas-return-release, 0));
  transform: scale(calc(1 - var(--atlas-return-gather, 0) * 0.34));
}

@keyframes atlas-chapter-breathe {
  0%, 100% { opacity: 1; transform: translateX(0); }
  45% { opacity: 0.42; transform: translateX(6px); }
}

.living-atlas__guide {
  display: none;
}

.living-atlas__margin,
.living-atlas__memory,
.living-atlas__project-signal,
.living-atlas__signature,
.living-atlas__current {
  display: none;
}

.home-game[data-atlas="active"] .living-atlas__guide {
  position: fixed;
  top: calc(50vh - 58px);
  left: max(38px, calc(50vw - 548px));
  z-index: 4;
  display: block;
  width: 184px;
  height: 138px;
  pointer-events: none;
  transform-origin: 50% 100%;
  opacity: 1;
  transition: opacity 420ms ease, transform 280ms ease;
}

.home-game[data-atlas="active"][data-atlas-transitioning="true"] .living-atlas__guide {
  opacity: 0;
}

.home-game[data-atlas="active"] .living-atlas__guide::after {
  position: absolute;
  right: -2px;
  bottom: 2px;
  width: 22px;
  height: 1px;
  background: rgba(53, 71, 65, 0.28);
  content: "";
}

.living-atlas__guide > span {
  position: absolute;
  right: -10px;
  bottom: -3px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(92, 151, 136, 0.44);
  border-radius: 50%;
}

.living-atlas__guide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.living-atlas__guide[data-pose="walk"] {
  transform: translateY(-1px);
}

.living-atlas__guide[data-pose="sit"],
.living-atlas__guide[data-pose="chill"] {
  transform: translateY(6px);
}

.home-game[data-atlas="active"] .living-atlas__guide[data-observing] {
  transform: translate3d(7px, -2px, 0) rotate(1.5deg);
}

.home-game[data-atlas="active"] .living-atlas__guide[data-discovering="true"] {
  transform: translate3d(0, -7px, 0) rotate(-1deg);
}

.home-game[data-atlas="active"] .living-atlas__margin {
  position: fixed;
  top: 18vh;
  left: max(34px, calc(50vw - 548px));
  z-index: 5;
  display: grid;
  width: 146px;
  gap: 24px;
  color: rgba(46, 62, 56, 0.5);
  pointer-events: none;
}

.living-atlas__margin > p {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 9px;
  align-items: baseline;
  margin: 0;
  font-size: 9px;
}

.living-atlas__margin > p span {
  font-variant-numeric: tabular-nums;
  color: rgb(var(--atlas-current, 92 151 136) / 0.72);
}

.living-atlas__margin > p b {
  font-family: "Hannotate SC", "HanziPen SC", "Klee One", "YuKyokasho", "Yu Kyokasho", cursive;
  font-size: 11px;
  font-weight: 400;
}

.living-atlas__margin ol {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.living-atlas__margin li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 9px;
  align-items: center;
  min-height: 14px;
  font-size: 8px;
  opacity: 0.3;
  transition: opacity 380ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.living-atlas__margin li i {
  position: relative;
  display: block;
  width: 5px;
  height: 5px;
  margin-left: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background 300ms ease, box-shadow 500ms ease, transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.living-atlas__margin li i::after {
  position: absolute;
  top: 2px;
  left: 7px;
  width: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.4;
  transition: width 520ms ease;
}

.living-atlas__margin li.is-found {
  opacity: 0.86;
  transform: translateX(2px);
}

.living-atlas__margin li.is-found i {
  background: rgb(var(--atlas-current, 92 151 136) / 0.62);
  box-shadow: 0 0 0 5px rgb(var(--atlas-current, 92 151 136) / 0.06);
  transform: rotate(45deg);
}

.living-atlas__margin li.is-found i::after {
  width: 12px;
}

.home-game[data-atlas="active"] .home-fallback__close {
  position: sticky;
  top: 24px;
  z-index: 8;
  display: inline-grid;
  grid-template-columns: 46px auto;
  gap: 11px;
  align-items: center;
  padding: 10px 14px 10px 0;
  margin: 24px 0 13vh;
  border: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72) 74%, transparent);
  color: rgba(42, 63, 56, 0.72);
  text-align: left;
  backdrop-filter: blur(4px);
  transition: color 240ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.atlas-world-return__trail {
  position: relative;
  display: block;
  width: 46px;
  height: 22px;
}

.atlas-world-return__trail::before,
.atlas-world-return__trail::after {
  position: absolute;
  content: "";
}

.atlas-world-return__trail::before {
  top: 11px;
  right: 2px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(91, 139, 112, 0.42), rgba(212, 81, 153, 0.34), rgba(98, 170, 190, 0.36), rgba(178, 180, 100, 0.36), rgba(213, 128, 155, 0.32), rgba(105, 107, 116, 0.42));
  transform: rotate(-4deg);
}

.atlas-world-return__trail::after {
  top: 5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-bottom: 1px solid rgba(61, 91, 82, 0.48);
  border-left: 1px solid rgba(61, 91, 82, 0.48);
  transform: rotate(45deg);
}

.atlas-world-return__trail i {
  position: absolute;
  z-index: 1;
  top: 9px;
  left: calc(9px + var(--return-dot) * 6px);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgb(var(--return-color));
  opacity: 0.76;
  transition: transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
}

.atlas-world-return__trail i:nth-child(1) { --return-dot: 0; --return-color: 91 139 112; top: 11px; }
.atlas-world-return__trail i:nth-child(2) { --return-dot: 1; --return-color: 212 81 153; top: 7px; }
.atlas-world-return__trail i:nth-child(3) { --return-dot: 2; --return-color: 98 170 190; top: 12px; }
.atlas-world-return__trail i:nth-child(4) { --return-dot: 3; --return-color: 178 180 100; top: 8px; }
.atlas-world-return__trail i:nth-child(5) { --return-dot: 4; --return-color: 213 128 155; top: 13px; }
.atlas-world-return__trail i:nth-child(6) { --return-dot: 5; --return-color: 105 107 116; top: 9px; }

.atlas-world-return__copy {
  display: grid;
  gap: 2px;
}

.atlas-world-return__copy small {
  color: rgba(69, 105, 95, 0.54);
  font-family: "Avenir Next", "Helvetica Neue", "Hiragino Sans", sans-serif;
  font-size: 8px;
  font-weight: 600;
}

.atlas-world-return__copy b {
  font-family: "Hannotate SC", "HanziPen SC", "Klee One", "YuKyokasho", "Yu Kyokasho", cursive;
  font-size: 12px;
  font-weight: 400;
}

.home-game[data-atlas="active"] .atlas-world-return:hover,
.home-game[data-atlas="active"] .atlas-world-return:focus-visible {
  color: rgba(37, 83, 70, 0.96);
  transform: translateX(-4px);
}

.atlas-world-return:hover .atlas-world-return__trail i,
.atlas-world-return:focus-visible .atlas-world-return__trail i {
  transform: translateX(calc(var(--return-dot) * -2px));
}

.home-game[data-atlas="active"] .home-fallback__intro {
  min-height: 78vh;
  padding: 14vh 0 12vh;
  border-bottom: 0;
}

.home-game[data-atlas="active"] .home-fallback__eyebrow {
  color: rgba(48, 94, 83, 0.96);
  font-size: 11px;
}

.home-game[data-atlas="active"] .home-fallback h1 {
  max-width: 680px;
  font-family: "Hannotate SC", "HanziPen SC", "Klee One", "YuKyokasho", "Yu Kyokasho", "Tsukushi A Round Gothic", cursive;
  font-size: clamp(46px, 5.2vw, 66px);
  font-weight: 400;
  line-height: 1.22;
}

.home-fallback__subject,
.home-fallback__statement {
  display: block;
}

.home-fallback__statement > span {
  white-space: nowrap;
}

.home-fallback__subject {
  margin-bottom: 22px;
  color: rgba(49, 69, 63, 0.68);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

.home-fallback:focus,
.home-fallback:focus-visible {
  outline: 0;
}

.home-game[data-atlas="active"] .home-fallback h1:focus {
  outline: 0;
}

.home-game[data-atlas="active"] .home-fallback h1:focus .home-fallback__statement {
  text-decoration: underline;
  text-decoration-color: rgb(var(--atlas-current, 92 151 136) / 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

.home-fallback__compact-note {
  display: none;
}

.home-game[data-atlas="active"] .home-fallback a[target="_blank"]::after {
  margin-left: 0.32em;
  color: rgb(var(--atlas-current, 92 151 136) / 0.9);
  font-size: 0.78em;
  content: "↗";
}

.home-game[data-atlas="active"] .home-fallback__summary {
  max-width: 540px;
  margin-top: 34px;
  font-size: 14px;
  line-height: 2;
}

.home-game[data-atlas="active"] .home-fallback__section {
  min-height: 72vh;
  padding: 14vh 0 12vh;
  border-bottom-color: rgba(55, 67, 63, 0.12);
}

.home-game[data-atlas="active"] .home-fallback__section--media {
  min-height: 120vh;
}

.home-game[data-atlas="active"] .home-fallback__section h2 {
  margin-bottom: 46px;
  font-family: "Hannotate SC", "HanziPen SC", "Klee One", "YuKyokasho", "Yu Kyokasho", cursive;
  font-size: 31px;
  font-weight: 400;
}

.home-game[data-atlas="active"] .home-fallback__section li {
  position: relative;
  grid-template-columns: minmax(180px, 0.35fr) 1fr;
  gap: 42px;
  padding: 27px 16px 27px 0;
  border-top-color: rgba(55, 67, 63, 0.1);
  transition: color 280ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-game[data-atlas="active"] .home-fallback__section--media li {
  grid-template-columns: minmax(170px, 0.31fr) minmax(0, 1fr) 86px;
  min-height: 118px;
  align-items: center;
}

.living-atlas__media-emblem {
  display: none;
}

.home-game[data-atlas="active"] .living-atlas__media-emblem {
  position: absolute;
  top: calc(50% - 23px);
  left: -66px;
  display: block;
  width: 50px;
  height: 46px;
  opacity: 0.42;
  transform: translateX(-5px);
  transition:
    opacity 360ms ease,
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-game[data-atlas="active"] .living-atlas__media-emblem .media-emblem__field {
  inset: 2px;
}

.home-game[data-atlas="active"] .living-atlas__media-emblem i {
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  animation: none;
  will-change: auto;
}

.home-game[data-atlas="active"] .living-atlas__media-emblem i[data-shape="dash"] {
  width: 4.5px;
  height: 1.5px;
  margin: -0.75px 0 0 -2.25px;
}

.home-game[data-atlas="active"] .home-fallback__section--media li:hover .living-atlas__media-emblem,
.home-game[data-atlas="active"] .home-fallback__section--media li:focus-within .living-atlas__media-emblem {
  opacity: 0.9;
  transform: translateX(0) scale(1.06);
}

.home-game[data-atlas="active"] .home-fallback__section li::before {
  position: absolute;
  top: 50%;
  left: -78px;
  width: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.28;
  transition: width 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-game[data-atlas="active"] .home-fallback__section li:hover,
.home-game[data-atlas="active"] .home-fallback__section li:focus-within {
  transform: translateX(6px);
}

.home-game[data-atlas="active"] .home-fallback__section li:hover::before,
.home-game[data-atlas="active"] .home-fallback__section li:focus-within::before {
  width: 62px;
}

.home-game[data-atlas="active"] .living-atlas__memory {
  --memory-rgb: 100 169 181;
  position: relative;
  display: block;
  width: 78px;
  height: 78px;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
  opacity: 0.28;
  transform: scale(0.82) rotate(-3deg);
  transition: opacity 420ms ease, transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-fallback__section--media li[data-atlas-world="moss"] .living-atlas__memory { --memory-rgb: 91 139 112; }
.home-fallback__section--media li[data-atlas-world="taupe"] .living-atlas__memory { --memory-rgb: 212 81 153; }
.home-fallback__section--media li[data-atlas-world="islog"] .living-atlas__memory { --memory-rgb: 98 170 190; }
.home-fallback__section--media li[data-atlas-world="ojicra"] .living-atlas__memory { --memory-rgb: 178 180 100; }
.home-fallback__section--media li[data-atlas-world="monoomoi"] .living-atlas__memory { --memory-rgb: 213 128 155; }
.home-fallback__section--media li[data-atlas-world="monoerabi"] .living-atlas__memory { --memory-rgb: 105 107 116; }

.living-atlas__memory-dots {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle, rgb(var(--memory-rgb) / 0.66) 0 1.2px, transparent 1.45px) 2px 3px / 7px 7px,
    radial-gradient(circle, rgb(var(--memory-rgb) / 0.24) 0 1px, transparent 1.3px) 0 0 / 11px 11px;
  opacity: 0.72;
  transition: opacity 360ms ease;
}

.living-atlas__memory img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: grayscale(0.48) contrast(0.88) saturate(0.72);
  -webkit-mask-image: radial-gradient(circle, #000 0 1.35px, transparent 1.6px);
  -webkit-mask-size: 4px 4px;
  mask-image: radial-gradient(circle, #000 0 1.35px, transparent 1.6px);
  mask-size: 4px 4px;
  transition: opacity 420ms ease, filter 520ms ease;
}

.living-atlas__memory.is-loaded img {
  opacity: 0.72;
}

.living-atlas__memory.is-loaded .living-atlas__memory-dots {
  opacity: 0.14;
}

.living-atlas__memory-scan {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(50, 66, 61, 0.24);
  border-radius: inherit;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(255, 255, 255, 0.32) 4px);
  mix-blend-mode: screen;
}

.home-game[data-atlas="active"] .home-fallback__section--media li:hover .living-atlas__memory,
.home-game[data-atlas="active"] .home-fallback__section--media li:focus-within .living-atlas__memory {
  opacity: 0.82;
  transform: scale(1) rotate(1deg);
}

.home-game[data-atlas="active"] .home-fallback__section--media li:hover .living-atlas__memory.is-loaded img,
.home-game[data-atlas="active"] .home-fallback__section--media li:focus-within .living-atlas__memory.is-loaded img {
  opacity: 1;
  filter: grayscale(0.08) contrast(0.96) saturate(0.94);
  -webkit-mask-image: none;
  mask-image: none;
}

.home-game[data-atlas="active"] .living-atlas__project-signal {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr 20px;
  width: 106px;
  gap: 9px;
  align-items: center;
}

.home-game[data-atlas="active"] .home-fallback__section li[data-atlas-project] {
  grid-template-columns: minmax(0, 1fr) 120px;
  align-items: center;
}

.home-game[data-atlas="active"] .home-fallback__section li[data-atlas-project] .home-fallback__media > span {
  max-width: 560px;
}

.living-atlas__project-signal > b {
  position: relative;
  display: block;
  width: 16px;
  height: 18px;
  border: 1px solid rgba(191, 146, 37, 0.38);
  font-weight: 400;
}

.living-atlas__project-signal > b:first-child::before,
.living-atlas__project-signal > b:first-child::after {
  position: absolute;
  left: 3px;
  width: 8px;
  height: 1px;
  background: rgba(191, 146, 37, 0.5);
  content: "";
}

.living-atlas__project-signal > b:first-child::before { top: 5px; }
.living-atlas__project-signal > b:first-child::after { top: 10px; width: 5px; }

.living-atlas__project-signal > b:last-child {
  height: 14px;
  border-style: solid none;
}

.living-atlas__project-signal > b:last-child::before,
.living-atlas__project-signal > b:last-child::after {
  position: absolute;
  left: 3px;
  width: 12px;
  height: 1px;
  background: rgba(191, 146, 37, 0.5);
  content: "";
}

.living-atlas__project-signal > b:last-child::before { top: 4px; }
.living-atlas__project-signal > b:last-child::after { top: 8px; width: 8px; }

.living-atlas__project-signal > span {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.living-atlas__project-signal > span::before {
  position: absolute;
  top: 50%;
  right: -5px;
  left: -5px;
  height: 1px;
  background: rgba(191, 146, 37, 0.18);
  content: "";
}

.living-atlas__project-signal i {
  z-index: 1;
  width: 4px;
  height: 4px;
  background: #fff;
  border: 1px solid rgba(206, 160, 46, 0.46);
  transform: rotate(45deg) scale(0.72);
}

.home-game[data-atlas-section="projects"] .living-atlas__project-signal i {
  animation: atlas-project-signal 2200ms ease-in-out infinite;
}

.living-atlas__project-signal i:nth-child(2) { animation-delay: 170ms; }
.living-atlas__project-signal i:nth-child(3) { animation-delay: 340ms; }
.living-atlas__project-signal i:nth-child(4) { animation-delay: 510ms; }

@keyframes atlas-project-signal {
  0%, 76%, 100% { opacity: 0.18; transform: rotate(45deg) scale(0.72); }
  18% { opacity: 0.9; transform: rotate(45deg) scale(1.25); }
}

.home-game[data-atlas="active"] .living-atlas__services {
  margin-top: 38px;
}

.home-fallback__latest-entry {
  display: grid;
  gap: 4px;
}

.home-fallback__latest-entry time {
  color: rgba(43, 58, 53, 0.76);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.home-game[data-atlas="active"] .living-atlas__services li {
  grid-template-columns: minmax(260px, 0.68fr) 1fr;
  min-height: 0;
  padding-block: 18px;
}

.living-atlas__services span {
  color: rgba(42, 52, 49, 0.84);
  font-family: "Hannotate SC", "HanziPen SC", "Klee One", "YuKyokasho", "Yu Kyokasho", cursive;
  font-size: 15px;
}

.living-atlas__services small {
  color: rgba(42, 57, 52, 0.78);
  font-size: 11px;
}

.home-game[data-atlas="active"] .living-atlas__signature {
  position: relative;
  display: block;
  width: min(520px, 100%);
  height: 96px;
  margin: 52px 0 38px;
}

.living-atlas__signature span {
  position: absolute;
  top: 40px;
  left: 88px;
  color: rgba(44, 59, 54, 0.54);
  font-family: "Hannotate SC", "HanziPen SC", "Klee One", "YuKyokasho", "Yu Kyokasho", cursive;
  font-size: 18px;
}

.living-atlas__signature i {
  position: absolute;
  top: 48px;
  left: calc(var(--signature-x, 0) * 1px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signature-color, rgba(90, 140, 120, 0.62));
  animation: none;
}

.home-game[data-atlas-section="person"] .living-atlas__signature i {
  animation: atlas-signature-gather 3600ms ease-in-out infinite alternate;
}

.living-atlas__signature i:nth-of-type(1) { --signature-x: 8; --signature-color: rgba(91,139,112,.7); }
.living-atlas__signature i:nth-of-type(2) { --signature-x: 25; --signature-color: rgba(212,81,153,.68); animation-delay: 140ms; }
.living-atlas__signature i:nth-of-type(3) { --signature-x: 42; --signature-color: rgba(98,170,190,.72); animation-delay: 280ms; }
.living-atlas__signature i:nth-of-type(4) { --signature-x: 59; --signature-color: rgba(178,180,100,.7); animation-delay: 420ms; }
.living-atlas__signature i:nth-of-type(5) { --signature-x: 76; --signature-color: rgba(213,128,155,.7); animation-delay: 560ms; }
.living-atlas__signature i:nth-of-type(6) { --signature-x: 93; --signature-color: rgba(105,107,116,.68); animation-delay: 700ms; }

@keyframes atlas-signature-gather {
  from { transform: translateX(0) scale(0.76); opacity: 0.36; }
  to { transform: translateX(16px) scale(1); opacity: 0.86; }
}

.home-game[data-atlas="active"][data-atlas-section="moss"] { --atlas-current: 91 139 112; }
.home-game[data-atlas="active"][data-atlas-section="taupe"] { --atlas-current: 212 81 153; }
.home-game[data-atlas="active"][data-atlas-section="islog"] { --atlas-current: 98 170 190; }
.home-game[data-atlas="active"][data-atlas-section="ojicra"] { --atlas-current: 178 180 100; }
.home-game[data-atlas="active"][data-atlas-section="monoomoi"] { --atlas-current: 213 128 155; }
.home-game[data-atlas="active"][data-atlas-section="monoerabi"] { --atlas-current: 105 107 116; }
.home-game[data-atlas="active"][data-atlas-section="media"] { --atlas-current: 100 169 181; }
.home-game[data-atlas="active"][data-atlas-section="projects"] { --atlas-current: 214 174 62; }
.home-game[data-atlas="active"][data-atlas-section="services"] { --atlas-current: 88 158 178; }
.home-game[data-atlas="active"][data-atlas-section="person"] { --atlas-current: 104 145 123; }
.home-game[data-atlas="active"][data-atlas-section="footer"] { --atlas-current: 74 92 86; }

.home-game[data-atlas="active"][data-atlas-section] .living-atlas__guide > span {
  border-color: rgb(var(--atlas-current, 92 151 136) / 0.62);
  box-shadow: 0 0 0 5px rgb(var(--atlas-current, 92 151 136) / 0.06);
}

.living-atlas__footer {
  display: grid;
  min-height: 88vh;
  align-content: center;
  justify-items: start;
  gap: 28px;
}

.home-game[data-atlas="active"] .living-atlas__current {
  position: relative;
  display: block;
  width: 430px;
  height: 238px;
  opacity: 0.58;
  transform-origin: 36% 62%;
  transition: opacity 800ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.living-atlas__current i {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(56, 72, 66, 0.38);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.living-atlas__current i:nth-child(1) { color: rgba(91, 139, 112, 0.7); border-color: currentColor; }
.living-atlas__current i:nth-child(2) { color: rgba(212, 81, 153, 0.62); border-color: currentColor; }
.living-atlas__current i:nth-child(3) { color: rgba(98, 170, 190, 0.72); border-color: currentColor; }
.living-atlas__current i:nth-child(4) { color: rgba(178, 180, 100, 0.72); border-color: currentColor; }
.living-atlas__current i:nth-child(5) { color: rgba(213, 128, 155, 0.72); border-color: currentColor; }

.living-atlas__current i::after {
  position: absolute;
  top: 3px;
  left: 7px;
  width: var(--line-width, 82px);
  height: 1px;
  background: rgba(57, 76, 69, 0.18);
  content: "";
  transform: rotate(var(--line-angle, 0deg));
  transform-origin: 0 50%;
}

.living-atlas__current i:nth-child(1) { top: 70%; left: 7%; --line-width: 133px; --line-angle: -37deg; }
.living-atlas__current i:nth-child(2) { top: 26%; left: 36%; --line-width: 123px; --line-angle: 24deg; }
.living-atlas__current i:nth-child(3) { top: 49%; left: 64%; --line-width: 106px; --line-angle: 48deg; }
.living-atlas__current i:nth-child(4) { top: 81%; left: 82%; --line-width: 205px; --line-angle: 175deg; }
.living-atlas__current i:nth-child(5) { top: 76%; left: 35%; }

.living-atlas__current span {
  position: absolute;
  right: 0;
  bottom: 6px;
  color: rgba(50, 67, 61, 0.48);
  font-size: 8px;
}

.home-game[data-atlas-complete="true"] .living-atlas__current {
  opacity: 1;
  transform: scale(1.04);
}

.home-game[data-atlas-complete="true"] .living-atlas__current i {
  background: currentColor;
  box-shadow: 0 0 0 7px currentColor;
  animation: atlas-current-breathe 3200ms ease-in-out infinite;
}

.home-game[data-atlas-complete="true"] .living-atlas__current i:nth-child(2) { animation-delay: 240ms; }
.home-game[data-atlas-complete="true"] .living-atlas__current i:nth-child(3) { animation-delay: 480ms; }
.home-game[data-atlas-complete="true"] .living-atlas__current i:nth-child(4) { animation-delay: 720ms; }
.home-game[data-atlas-complete="true"] .living-atlas__current i:nth-child(5) { animation-delay: 960ms; }

@keyframes atlas-current-breathe {
  0%, 100% { opacity: 0.58; box-shadow: 0 0 0 5px currentColor; }
  50% { opacity: 1; box-shadow: 0 0 0 10px transparent; }
}

.living-atlas__footer p {
  max-width: 680px;
  margin: 0;
  color: rgba(44, 56, 52, 0.76);
  font-family: "Hannotate SC", "HanziPen SC", "Klee One", "YuKyokasho", "Yu Kyokasho", cursive;
  font-size: 26px;
  line-height: 1.65;
  text-wrap: balance;
}

.living-atlas__footer button {
  appearance: none;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(53, 68, 63, 0.3);
  background: transparent;
  color: rgba(45, 57, 53, 0.76);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.living-atlas__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  color: rgba(38, 49, 45, 0.8);
  font-size: 12px;
}

.living-atlas__legal a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(45, 57, 53, 0.22);
  text-underline-offset: 0.24em;
}

@media (max-width: 900px) {
  body:has(.home-game[data-atlas="active"]),
  body:has(.home-game[data-atlas="entering"]) {
    min-width: 0;
    height: auto;
    overflow: auto;
  }

  .home-game[data-links="open"][data-atlas="active"] {
    width: 100%;
    overflow-x: clip;
  }

  .home-game[data-links="open"][data-atlas="active"] .home-fallback {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding-inline: 24px;
    padding-left: 24px;
    margin: 0;
  }

  .living-atlas__content {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .living-atlas__scroll-cue {
    top: auto;
    right: 18px;
    bottom: 20px;
    transform: translateY(12px);
  }

  .home-game[data-atlas="active"]:not([data-atlas-transitioning]) .living-atlas__scroll-cue:not(.is-hidden) {
    transform: translateY(0);
  }

  .home-game[data-atlas="active"] .living-atlas__margin {
    display: none;
  }

  .home-game[data-atlas="active"] .living-atlas__guide {
    top: auto;
    bottom: 18px;
    left: 2px;
    width: 76px;
    height: 62px;
    opacity: 0.52;
  }

  .home-game[data-atlas="active"] .living-atlas__guide::after,
  .living-atlas__guide > span {
    display: none;
  }

  .home-game[data-atlas="active"] .home-fallback__close {
    top: 14px;
    display: inline-grid;
    margin: 18px 0 8vh auto;
  }

  .home-game[data-atlas="active"] {
    scrollbar-color: rgba(57, 63, 61, 0.24) #fff;
  }

  .home-game[data-atlas="active"]::-webkit-scrollbar-track {
    background: #fff;
  }

  .home-game[data-atlas="active"] .home-fallback__compact-note {
    display: block;
    color: rgba(46, 61, 56, 0.72);
    font-size: 12px;
  }

  .home-game[data-atlas="active"] .home-fallback__intro {
    min-height: 78svh;
    padding: 10vh 0 12vh;
  }

  .home-game[data-atlas="active"] .home-fallback h1 {
    max-width: 100%;
    font-size: clamp(30px, 9.4vw, 42px);
    line-height: 1.24;
  }

  .home-game[data-atlas="active"] .home-fallback__summary {
    max-width: 100%;
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.9;
  }

  .home-game[data-atlas="active"] .home-fallback__section,
  .home-game[data-atlas="active"] .home-fallback__section--media {
    min-height: 0;
    padding: 11vh 0;
  }

  .home-game[data-atlas="active"] .home-fallback__section h2 {
    margin-bottom: 30px;
    font-size: 28px;
  }

  .home-game[data-atlas="active"] .home-fallback__section li,
  .home-game[data-atlas="active"] .home-fallback__section--media li,
  .home-game[data-atlas="active"] .home-fallback__section li[data-atlas-project],
  .home-game[data-atlas="active"] .living-atlas__services li {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    min-height: 0;
    padding: 24px 0;
  }

  .home-game[data-atlas="active"] .home-fallback__section li::before {
    display: none;
  }

  .home-game[data-atlas="active"] .home-fallback__section li:hover,
  .home-game[data-atlas="active"] .home-fallback__section li:focus-within {
    transform: none;
  }

  .home-game[data-atlas="active"] .living-atlas__media-emblem {
    top: 18px;
    right: 2px;
    left: auto;
    width: 44px;
    height: 40px;
    opacity: 0.34;
    transform: none;
  }

  .home-fallback__media,
  .home-fallback__latest {
    min-width: 0;
  }

  .home-game[data-atlas="active"] .home-fallback__media > a,
  .home-game[data-atlas="active"] .home-fallback__latest a,
  .home-game[data-atlas="active"] .home-fallback__more,
  .home-game[data-atlas="active"] .home-fallback__person-links a,
  .home-game[data-atlas="active"] .living-atlas__legal a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .home-game[data-atlas="active"] .living-atlas__memory {
    width: 64px;
    height: 64px;
    margin-top: 4px;
  }

  .home-game[data-atlas="active"] .living-atlas__project-signal {
    width: 92px;
  }

  .home-game[data-atlas="active"] .living-atlas__services {
    margin-top: 26px;
  }

  .home-game[data-atlas="active"] .living-atlas__signature {
    width: 100%;
    margin-block: 38px 28px;
  }

  .home-game[data-atlas="active"] .living-atlas__current {
    width: min(280px, 100%);
  }

  .living-atlas__footer {
    min-height: 82svh;
  }

  .living-atlas__footer p {
    max-width: 100%;
    font-size: 22px;
  }
}

@media (max-width: 900px), (pointer: coarse) {
  .living-atlas__scroll-cue {
    right: max(2px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 18px;
    gap: 4px;
  }

  .living-atlas__scroll-cue b > span,
  .living-atlas__scroll-cue small {
    display: none;
  }

  .living-atlas__scroll-cue b > i {
    display: block;
    font-size: 10px;
    line-height: 1;
    writing-mode: vertical-rl;
  }

  .living-atlas__scroll-cue-particles {
    height: 28px;
  }
}

@media (max-width: 1079px), (pointer: coarse) {
  body:has(.home-game[data-compact-atlas="true"]) {
    min-width: 0;
  }

  .home-game[data-compact-atlas="true"] [data-close-home-links] {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .home-game[data-links="open"][data-atlas="active"] .home-fallback {
    padding-inline: 20px;
    padding-left: 20px;
  }

  .home-game[data-atlas="active"] .home-fallback h1 {
    font-size: clamp(30px, 9.2vw, 38px);
  }

  .home-game[data-atlas="active"] .home-fallback__section h2 {
    font-size: 24px;
  }
}

/* ---- moss focus world ---- */

.mood {
  position: absolute;
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.985);
  transform-origin: 50% 100%;
  transition:
    opacity 760ms ease,
    transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.mood.is-visible {
  opacity: var(--mood-opacity, 1);
  transform: translate3d(0, 0, 0) scale(1);
}

.mood-ground-band {
  --mood-opacity: 0.95;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0), rgba(234, 243, 236, 0.52) 12%, rgba(230, 242, 236, 0.36) 74%, rgba(255, 255, 255, 0)),
    linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(212, 231, 217, 0.28) 62%, rgba(197, 222, 208, 0.2));
  clip-path: polygon(0 56%, 10% 46%, 24% 55%, 43% 42%, 61% 54%, 79% 45%, 100% 55%, 100% 100%, 0 100%);
}

.mood-sky-wash {
  --mood-opacity: 0.78;
  background:
    linear-gradient(160deg, rgba(213, 232, 235, 0), rgba(213, 232, 235, 0.38) 48%, rgba(255, 255, 255, 0) 80%),
    repeating-linear-gradient(172deg, rgba(135, 169, 164, 0.16) 0 1px, transparent 1px 42px);
  mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 62%, transparent);
}

.mood-leaf {
  --mood-opacity: 0.38;
  border-radius: 999px 0 999px 0;
  background: rgba(92, 132, 106, 0.5);
  transform: translate3d(0, 16px, 0) rotate(var(--leaf-rotate, 0deg));
}

.mood-leaf.is-visible {
  animation: mood-leaf-drift 6.8s ease-in-out infinite alternate;
  animation-delay: var(--leaf-delay, 0ms);
}

@keyframes mood-leaf-drift {
  from {
    transform: translate3d(0, 0, 0) rotate(var(--leaf-rotate, 0deg));
  }
  to {
    transform: translate3d(var(--leaf-drift, 70px), -18px, 0) rotate(calc(var(--leaf-rotate, 0deg) + 28deg));
  }
}

.mood-grass-cluster {
  --mood-opacity: 0.86;
}

.mood-grass-cluster i {
  position: absolute;
  bottom: 0;
  width: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(to top, rgba(75, 116, 89, 0.64), rgba(122, 167, 142, 0.28));
  transform-origin: 50% 100%;
  transform: rotate(var(--blade-tilt, 0deg)) scaleY(0.18);
  transition: transform 840ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--blade-delay, 0ms);
}

.mood-grass-cluster.is-visible i {
  transform: rotate(var(--blade-tilt, 0deg)) scaleY(1);
  animation: mood-grass-sway 4.2s ease-in-out infinite alternate;
  animation-delay: var(--blade-delay, 0ms);
}

@keyframes mood-grass-sway {
  from {
    translate: 0 0;
  }
  to {
    translate: var(--grass-sway, 10px) 0;
  }
}

.mood-forest-column {
  --mood-opacity: 0.32;
}

.mood-forest-column::before {
  content: "";
  position: absolute;
  left: 47%;
  bottom: 0;
  width: 7%;
  height: 54%;
  background: rgba(69, 84, 72, 0.42);
}

.mood-forest-column b {
  position: absolute;
  inset: 0 0 22% 0;
  display: block;
  background:
    linear-gradient(to bottom, hsla(var(--column-hue, 92), 20%, 32%, 0.38), hsla(var(--column-hue, 92), 22%, 36%, 0.18));
  clip-path: polygon(50% 0, 88% 42%, 74% 42%, 100% 72%, 77% 72%, 96% 100%, 4% 100%, 23% 72%, 0 72%, 26% 42%, 12% 42%);
  transform: translateY(28px) scaleY(0.72);
  transform-origin: 50% 100%;
  transition: transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--column-delay, 0ms);
}

.mood-forest-column.is-visible b {
  transform: translateY(0) scaleY(1);
}

.mood-forest-column--near {
  --mood-opacity: 0.44;
}

.mood-forest-haze {
  --mood-opacity: 0.34;
  background:
    repeating-linear-gradient(90deg, rgba(81, 103, 83, 0.16) 0 2px, transparent 2px 54px),
    linear-gradient(to top, rgba(145, 174, 149, 0.18), rgba(255, 255, 255, 0));
  clip-path: polygon(0 72%, 8% 58%, 18% 72%, 29% 50%, 40% 72%, 55% 54%, 72% 72%, 86% 56%, 100% 70%, 100% 100%, 0 100%);
}

.mood-lake {
  --mood-opacity: 0.96;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(185, 222, 227, 0.3) 18%, rgba(188, 228, 233, 0.28) 58%, rgba(255, 255, 255, 0) 100%),
    repeating-linear-gradient(0deg, rgba(100, 178, 190, 0.12) 0 1px, transparent 1px 28px);
  clip-path: polygon(0 18%, 12% 11%, 28% 21%, 47% 10%, 66% 20%, 84% 13%, 100% 19%, 100% 100%, 0 100%);
}

.mood-wave {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: rgba(105, 178, 190, 0.36);
  transform: translateX(-80px);
}

.mood-lake.is-visible .mood-wave {
  animation: mood-water-flow 6.6s ease-in-out infinite alternate;
  animation-delay: var(--wave-delay, 0ms);
}

.mood-ripple {
  position: absolute;
  width: 112px;
  height: 24px;
  border: 2px solid rgba(100, 178, 190, 0.24);
  border-top-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scaleX(0.4);
}

.mood-lake.is-visible .mood-ripple {
  animation: mood-ripple 4.8s ease-out infinite;
  animation-delay: var(--ripple-delay, 0ms);
}

@keyframes mood-ripple {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.35, 0.5);
  }
  26% {
    opacity: 0.48;
  }
  100% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(1.5, 1);
  }
}

@keyframes mood-water-flow {
  from {
    transform: translateX(-120px) scaleX(0.9);
    opacity: 0.34;
  }
  to {
    transform: translateX(140px) scaleX(1.08);
    opacity: 0.58;
  }
}

.mood-lake-shine {
  --mood-opacity: 0.34;
  background: linear-gradient(94deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.72) 44%, rgba(255, 255, 255, 0));
  transform: skewX(-14deg) translateY(24px);
}

.ink-line--faint {
  --line-opacity: 0.4;
}

.ink-line--tree-near {
  stroke-width: 3.4;
  stroke: rgba(58, 58, 58, 0.92);
  --line-opacity: 0.95;
}

.ink-line--back-tree {
  stroke-width: 2;
  --line-opacity: 0.48;
}

.ink-line--cloud.is-drawn,
.ink-line--bird.is-drawn,
.ink-line--patrol.is-drawn,
.ink-line--ripple.is-drawn,
.ink-line--moss-water.is-drawn,
.ink-line--water-detail.is-drawn {
  transform-box: fill-box;
  transform-origin: center;
}

.ink-line--cloud.is-drawn {
  animation: cloud-drift var(--drift-dur, 13s) ease-in-out infinite alternate;
}

@keyframes cloud-drift {
  from {
    transform: translate3d(-9px, 0, 0);
  }
  to {
    transform: translate3d(13px, -4px, 0);
  }
}

.ink-line--bird.is-drawn {
  animation: bird-glide var(--bird-dur, 34s) linear infinite;
}

@keyframes bird-glide {
  0% {
    transform: translate3d(240px, 26px, 0);
    opacity: 0;
  }
  7% {
    opacity: 0.6;
  }
  55% {
    transform: translate3d(-260px, -12px, 0);
    opacity: 0.55;
  }
  93% {
    opacity: 0.4;
  }
  100% {
    transform: translate3d(-780px, 6px, 0);
    opacity: 0;
  }
}

.ink-line--moss-water.is-drawn,
.ink-line--water-detail.is-drawn {
  animation: water-shimmer var(--shimmer-dur, 8s) ease-in-out infinite alternate;
}

@keyframes water-shimmer {
  from {
    transform: translate3d(-7px, 0, 0);
  }
  to {
    transform: translate3d(9px, 1px, 0);
  }
}

.ink-line--ripple.is-drawn {
  animation: ripple-loop 4.4s ease-out infinite;
  animation-delay: var(--ripple-delay, 0ms);
}

@keyframes ripple-loop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  18% {
    opacity: 0.5;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.ink-line--patrol {
  fill: rgba(76, 132, 142, 0.1);
}

.ink-line--patrol.is-drawn {
  animation: fish-patrol 17s ease-in-out infinite;
}

@keyframes fish-patrol {
  0% {
    transform: translate3d(-230px, 0, 0);
    opacity: 0;
  }
  9% {
    opacity: 0.55;
  }
  76% {
    transform: translate3d(170px, 9px, 0);
    opacity: 0.55;
  }
  90% {
    transform: translate3d(240px, 4px, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(-230px, 0, 0);
    opacity: 0;
  }
}

.ink-line--smoke {
  stroke-width: 2;
}

.ink-line--smoke.is-drawn {
  transition: none;
  animation: smoke-loop 6s linear infinite;
}

@keyframes smoke-loop {
  0% {
    stroke-dashoffset: var(--dash, 1);
    opacity: 0;
  }
  14% {
    opacity: 0.45;
  }
  55% {
    stroke-dashoffset: 0;
    opacity: 0.4;
  }
  100% {
    stroke-dashoffset: calc(var(--dash, 1) * -0.7);
    opacity: 0;
  }
}

.ink-text {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 21px;
  letter-spacing: 0.1em;
  fill: rgba(68, 68, 68, 0.68);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 700ms ease 250ms,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1) 250ms;
}

.ink-text.is-drawn {
  opacity: 1;
  transform: translateY(0);
}

.ink-text--brand {
  font-size: 30px;
  letter-spacing: 0.16em;
  fill: rgba(68, 68, 68, 0.55);
}

.ink-text--sign {
  font-size: 19px;
  fill: rgba(58, 58, 58, 0.8);
}

.fishing-line {
  fill: none;
  stroke: rgba(68, 68, 68, 0.75);
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 240ms ease;
}

.fishing-line.is-active {
  opacity: 1;
}

.fishing-bobber {
  opacity: 0;
  transition: opacity 200ms ease;
}

.fishing-bobber.is-active {
  opacity: 1;
}

.fishing-bobber circle {
  fill: #fff;
  stroke: var(--game-ink);
  stroke-width: 2.6;
  vector-effect: non-scaling-stroke;
}

.fishing-bobber__flag {
  fill: none;
  stroke: var(--game-red);
  stroke-width: 2.2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.fishing-bobber__dip.is-biting {
  animation: bobber-dip 320ms ease-in-out 2;
}

@keyframes bobber-dip {
  50% {
    transform: translateY(9px);
  }
}

.fishing-plop,
.fishing-splash {
  fill: none;
  stroke: rgba(68, 68, 68, 0.6);
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.fishing-plop.is-rippling {
  animation: plop-ring 700ms ease-out 1;
}

@keyframes plop-ring {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }
  30% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

.fishing-splash.is-splashing {
  animation: splash-pop 560ms ease-out 1;
}

@keyframes splash-pop {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  28% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}

.event-fish {
  fill: rgba(76, 132, 142, 0.13);
  stroke: rgba(76, 132, 142, 0.55);
  stroke-width: 1.7;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 500ms ease;
}

.event-fish.is-active {
  opacity: 1;
}

.action-hint {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.action-hint.is-visible {
  opacity: 1;
}

.action-hint__bubble {
  position: absolute;
  left: 6px;
  top: -162px;
  width: 194px;
  height: 116px;
  transform-origin: 18% 100%;
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.86);
}

.action-hint.is-visible .action-hint__bubble {
  animation:
    thought-field-in 620ms cubic-bezier(0.18, 1.32, 0.42, 1) forwards,
    thought-field-breathe 4200ms 620ms ease-in-out infinite alternate;
}

@keyframes thought-field-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.86);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes thought-field-breathe {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    opacity: 0.88;
    transform: translate3d(2px, -4px, 0) scale(1.015);
  }
}

.action-hint__particles {
  position: absolute;
  inset: 0;
}

.action-hint__particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.24);
  will-change: transform, opacity;
}

.action-hint__particle--ring {
  border: 1px solid rgba(55, 55, 50, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.action-hint__particle--dot {
  background: rgba(55, 55, 50, 0.46);
}

.action-hint.is-visible .action-hint__particle {
  animation:
    thought-particle-in 680ms cubic-bezier(0.18, 1.4, 0.42, 1) forwards,
    thought-particle-float var(--dur, 3600ms) ease-in-out infinite alternate;
  animation-delay:
    var(--d, 0ms),
    calc(720ms + var(--d, 0ms));
}

@keyframes thought-particle-in {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.24);
  }
  68% {
    opacity: 0.78;
    transform: translate(-50%, -50%) scale(1.08);
  }
  100% {
    opacity: var(--a, 0.6);
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes thought-particle-float {
  from {
    transform: translate(-50%, -50%) translate3d(-1px, 0, 0) scale(1);
  }
  to {
    transform: translate(-50%, -50%) translate3d(var(--fx, 2px), var(--fy, -5px), 0) scale(1.06);
  }
}

.action-hint__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-hint__key {
  display: inline-block;
  color: rgba(44, 44, 40, 0.76);
  font-family: "Comic Sans MS", "Bradley Hand", "Segoe Print", cursive;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 4px 12px rgba(54, 50, 42, 0.08);
  transform: rotate(-2deg);
}

.action-hint.is-visible .action-hint__key {
  animation: space-breathe 2800ms ease-in-out 780ms infinite alternate;
}

@keyframes space-breathe {
  from {
    opacity: 0.68;
    transform: translateY(1px) rotate(-2deg) scale(0.98);
  }
  to {
    opacity: 0.96;
    transform: translateY(-2px) rotate(-1deg) scale(1.03);
  }
}

.game-sound {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 18;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(46, 50, 47, 0.46);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: color 220ms ease, opacity 500ms ease, transform 220ms ease;
}

.home-game[data-intro="complete"] .game-sound {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.game-sound span {
  font-family: "Comic Sans MS", "Bradley Hand", "Segoe Print", cursive;
  font-size: 21px;
  line-height: 1;
  transform: rotate(-7deg);
}

.game-sound[data-muted="true"] span {
  font-size: 18px;
  opacity: 0.56;
  transform: rotate(-11deg);
}

.game-sound:hover,
.game-sound:focus-visible {
  color: rgba(36, 40, 37, 0.84);
  transform: translateY(-1px);
}

.home-game[data-tone="dark"] .game-sound {
  color: rgba(224, 240, 234, 0.62);
}

.journey-keepsake {
  position: absolute;
  right: 42px;
  bottom: 38px;
  z-index: 18;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 2px 9px;
  border: 0;
  border-bottom: 1px solid rgba(60, 68, 63, 0.18);
  background: transparent;
  color: rgba(44, 48, 44, 0.67);
  font-family: "Comic Sans MS", "Bradley Hand", "Segoe Print", "Hiragino Sans", cursive;
  font-size: 13px;
  letter-spacing: 0;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px) rotate(-1deg);
  transition: color 220ms ease, border-color 220ms ease, transform 220ms ease;
  animation: journey-keepsake-arrive 1000ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.journey-keepsake[hidden] {
  display: none;
}

.journey-keepsake:hover,
.journey-keepsake:focus-visible {
  border-color: rgba(80, 164, 180, 0.48);
  color: rgba(35, 40, 36, 0.9);
  transform: translateY(-2px) rotate(-0.3deg);
}

.journey-keepsake:disabled {
  cursor: wait;
  opacity: 0.42;
}

.journey-keepsake__stars {
  position: relative;
  display: block;
  width: 52px;
  height: 22px;
  background:
    linear-gradient(18deg, transparent 0 48%, rgba(80, 164, 180, 0.32) 49% 51%, transparent 52%) 7px 5px / 23px 12px no-repeat,
    linear-gradient(-24deg, transparent 0 48%, rgba(191, 145, 75, 0.28) 49% 51%, transparent 52%) 27px 7px / 19px 11px no-repeat;
}

.journey-keepsake__stars i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(80, 164, 180, 0.7);
  box-shadow: 0 0 9px rgba(80, 164, 180, 0.28);
}

.journey-keepsake__stars i:nth-child(1) {
  top: 10px;
  left: 5px;
}

.journey-keepsake__stars i:nth-child(2) {
  top: 2px;
  left: 27px;
  background: rgba(190, 116, 123, 0.66);
}

.journey-keepsake__stars i:nth-child(3) {
  right: 2px;
  bottom: 2px;
  background: rgba(191, 145, 75, 0.68);
}

.home-game[data-tone="dark"] .journey-keepsake {
  border-color: rgba(187, 224, 215, 0.2);
  color: rgba(224, 240, 234, 0.72);
}

@keyframes journey-keepsake-arrive {
  to {
    opacity: 1;
    transform: translateY(0) rotate(-1deg);
  }
}

.game-start-hint {
  position: absolute;
  left: 50%;
  bottom: 88px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 288px;
  height: 54px;
  color: rgba(58, 58, 54, 0.58);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 900ms ease;
  pointer-events: none;
}

.game-start-hint.is-recurrent {
  transition-duration: 380ms;
}

.game-start-hint::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 238px;
  height: 2px;
  background:
    radial-gradient(circle, rgba(52, 55, 52, 0.26) 0 1px, transparent 1.4px) 0 0 / 9px 2px repeat-x;
  opacity: 0.42;
  transform: translateX(-50%) rotate(-0.5deg);
}

.game-start-hint__row {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 14px;
}

.game-start-hint__word {
  color: rgba(58, 58, 54, 0.46);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.game-start-hint__key {
  display: inline-grid;
  width: 24px;
  height: 23px;
  place-items: center;
  border: 1.4px solid rgba(55, 55, 50, 0.3);
  border-radius: 44% 56% 48% 52%;
  background: rgba(255, 255, 255, 0.54);
  color: rgba(44, 44, 40, 0.68);
  font-family: "Comic Sans MS", "Bradley Hand", "Segoe Print", cursive;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  box-shadow:
    0 5px 12px rgba(54, 50, 42, 0.035),
    inset 0 -1px 0 rgba(98, 88, 68, 0.08);
}

.game-start-hint__key:nth-of-type(3) {
  transform: translateY(1px) rotate(-3deg);
}

.game-start-hint__key:nth-of-type(4) {
  transform: translateY(-1px) rotate(2deg);
}

.game-start-hint__arrow {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 12px;
  opacity: 0.62;
}

.game-start-hint__arrow::before,
.game-start-hint__arrow::after {
  content: "";
  position: absolute;
  display: block;
  border-radius: 999px;
}

.game-start-hint__arrow::before {
  left: 3px;
  top: 5px;
  width: 30px;
  height: 1.5px;
  background: rgba(50, 50, 46, 0.42);
  transform: rotate(var(--arrow-tilt, 1deg));
}

.game-start-hint__arrow::after {
  top: 2px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid rgba(50, 50, 46, 0.42);
  border-right: 1.5px solid rgba(50, 50, 46, 0.42);
  transform: rotate(var(--arrow-head-rot, 45deg)) skew(-7deg, -4deg);
}

.game-start-hint__arrow--left {
  --arrow-tilt: -1.5deg;
  --arrow-head-rot: -135deg;
}

.game-start-hint__arrow--left::after {
  left: 2px;
}

.game-start-hint__arrow--right {
  --arrow-tilt: 1deg;
  --arrow-head-rot: 45deg;
}

.game-start-hint__arrow--right::after {
  right: 2px;
}

.home-game[data-intro="complete"] .game-start-hint:not(.is-hidden) {
  opacity: 1;
}

.home-game[data-intro="active"] .game-start-hint,
.game-start-hint.is-hidden {
  opacity: 0;
}

.game-touch-controls {
  display: none;
}

@media (max-width: 1079px), (pointer: coarse) {
  body:has(.home-game[data-game-ready="true"]) {
    min-width: 0;
    width: 100%;
    overscroll-behavior: none;
  }

  .home-game[data-touch-controls="true"] {
    width: 100%;
    min-width: 0;
    touch-action: none;
  }

  .home-game[data-touch-controls="true"] .home-game__stage {
    touch-action: none;
  }

  .home-game[data-touch-controls="true"] .game-hud {
    top: max(52px, calc(env(safe-area-inset-top) + 42px));
    right: 18px;
    left: 18px;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .home-game[data-touch-controls="true"] .game-brand span {
    font-size: 9px;
  }

  .home-game[data-touch-controls="true"] .game-progress,
  .home-game[data-touch-controls="true"] .game-keys,
  .home-game[data-touch-controls="true"] .game-start-hint,
  .home-game[data-touch-controls="true"] .journey-space-hint,
  .home-game[data-touch-controls="true"] .action-hint {
    display: none !important;
  }

  .home-game[data-touch-controls="true"] .game-sound {
    top: max(10px, env(safe-area-inset-top));
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .home-game[data-touch-controls="true"] .living-atlas-bookmark {
    top: max(17px, calc(env(safe-area-inset-top) + 7px));
    right: 64px;
  }

  .home-game[data-touch-controls="true"] .journey-keepsake {
    right: 16px;
    bottom: calc(max(86px, env(safe-area-inset-bottom) + 78px));
    font-size: 11px;
  }

  .home-game[data-touch-controls="true"] .journey-discovery {
    top: max(86px, calc(env(safe-area-inset-top) + 74px));
    right: 16px;
    left: 16px;
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    padding: 27px 24px 23px;
    transform: translate3d(0, 16px, 0) rotate(var(--discovery-rotate)) scale(0.96);
  }

  .home-game[data-touch-controls="true"] .journey-discovery.is-visible {
    transform: translate3d(0, 0, 0) rotate(var(--discovery-rotate)) scale(1);
  }

  .home-game[data-touch-controls="true"] .journey-discovery strong {
    max-width: calc(100% - 54px);
    font-size: clamp(20px, 6vw, 27px);
    line-height: 1.42;
  }

  .home-game[data-touch-controls="true"] .journey-discovery__memory {
    --memory-width: 72px;
    --memory-top: -30px;
    --memory-right: 2px;
  }

  .home-game[data-touch-controls="true"] .moss-catch {
    width: min(430px, calc(100vw - 28px));
  }

  .home-game[data-touch-controls="true"] .moss-catch__note {
    padding: 28px 24px 24px;
  }

  .home-game[data-touch-controls="true"] .moss-catch strong {
    max-width: calc(100% - 38px);
    font-size: clamp(20px, 6vw, 25px);
  }

  .home-game[data-touch-controls="true"] .moss-catch__memory {
    right: -8px;
    width: 78px;
  }

  .home-game[data-touch-controls="true"] .moss-catch__enter,
  .home-game[data-touch-controls="true"] .journey-discovery__enter {
    font-size: 0;
  }

  .home-game[data-touch-controls="true"] .moss-catch__enter::before,
  .home-game[data-touch-controls="true"] .journey-discovery__enter::before {
    font-size: 10px;
    content: "TAP";
  }

  .home-game[data-touch-controls="true"] .media-sign .media-sign__enter kbd {
    display: none;
  }

  .home-game[data-touch-controls="true"] .media-sign .media-sign__enter::before {
    font-size: 13px;
    content: "↗";
  }

  .home-game[data-touch-controls="true"] .media-sign.is-reading .media-sign__enter {
    animation: media-sign-touch-action 1200ms ease-in-out infinite alternate;
  }

  .home-game[data-touch-controls="true"] .journey-marker.media-sign.is-reading:not(.moss-guide-sign) {
    transform: translate3d(
      var(--media-sign-screen-shift),
      calc(var(--media-sign-reading-lift) - 30px),
      0
    ) scale(1);
  }

  .home-game[data-touch-controls="true"] .moss-guide-sign.media-sign.is-reading {
    transform: translate3d(var(--media-sign-screen-shift), -208px, 0) rotate(-0.5deg) scale(1);
  }

  .home-game[data-touch-controls="true"][data-moving="1"] .journey-marker.media-sign.is-reading:not(.moss-guide-sign) {
    transform: translate3d(var(--media-sign-screen-shift), 0, 0) scale(1);
  }

  .home-game[data-touch-controls="true"][data-moving="1"] .moss-guide-sign.media-sign.is-reading {
    transform: translate3d(var(--media-sign-screen-shift), 0, 0) rotate(-0.5deg) scale(1);
  }

  .home-game[data-touch-controls="true"][data-moving="1"] .media-sign__description,
  .home-game[data-touch-controls="true"][data-moving="1"] .media-sign__enter {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    transform: translate3d(0, 8px, 0);
    transition: none;
  }

  .home-game[data-touch-controls="true"] .journey-marker.media-sign {
    width: min(440px, calc(100vw - 32px));
    margin-left: 0;
  }

  .home-game[data-touch-controls="true"] .journey-marker.media-sign .media-sign__surface {
    box-sizing: border-box;
    width: 100%;
  }

  .home-game[data-touch-controls="true"] .game-touch-controls {
    position: absolute;
    right: 18px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 18px;
    z-index: 34;
    display: grid;
    grid-template-columns: auto auto;
    align-items: end;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 420ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    -webkit-user-select: none;
  }

  .home-game[data-touch-controls="true"][data-intro="complete"] .game-touch-controls {
    opacity: 1;
    transform: translateY(0);
  }

  .home-game[data-links="open"] .game-touch-controls,
  .home-game[data-atlas="entering"] .game-touch-controls,
  .home-game[data-atlas-input-locked="true"] .game-touch-controls {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .game-touch-controls__walk {
    display: flex;
    gap: 10px;
  }

  .game-touch-controls button {
    appearance: none;
    position: relative;
    display: grid;
    width: 58px;
    height: 58px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(50, 59, 54, 0.2);
    border-radius: 50%;
    background:
      radial-gradient(circle at 48% 46%, rgba(255, 255, 255, 0.92) 0 48%, rgba(245, 248, 246, 0.72) 70%, rgba(255, 255, 255, 0) 74%);
    box-shadow: 0 7px 18px rgba(32, 43, 38, 0.055);
    color: rgba(43, 52, 48, 0.72);
    cursor: pointer;
    pointer-events: auto;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
  }

  .game-touch-controls button::before,
  .game-touch-controls button::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
  }

  .game-touch-controls button::before {
    inset: 6px;
    border: 1px dotted currentColor;
    opacity: 0.2;
  }

  .game-touch-controls button::after {
    inset: -4px;
    background:
      radial-gradient(circle at 18% 31%, currentColor 0 1px, transparent 1.6px),
      radial-gradient(circle at 82% 22%, currentColor 0 1px, transparent 1.6px),
      radial-gradient(circle at 89% 74%, currentColor 0 1px, transparent 1.6px),
      radial-gradient(circle at 16% 82%, currentColor 0 1px, transparent 1.6px);
    opacity: 0.26;
  }

  .game-touch-controls button[data-pressed="true"],
  .game-touch-controls button:active {
    border-color: rgba(66, 131, 108, 0.5);
    color: rgba(51, 126, 100, 0.92);
    transform: translateY(2px) scale(0.96);
  }

  .game-touch-controls button:disabled {
    box-shadow: none;
    cursor: default;
    opacity: 0.26;
  }

  .game-touch-controls__arrow {
    width: 15px;
    height: 15px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
  }

  .game-touch-controls__arrow--left {
    margin-left: 6px;
    transform: rotate(-135deg);
  }

  .game-touch-controls__arrow--right {
    margin-right: 6px;
    transform: rotate(45deg);
  }

  .game-touch-controls .game-touch-controls__action {
    width: 66px;
    height: 66px;
    overflow: visible;
    color: rgba(54, 104, 87, 0.78);
  }

  .game-touch-controls .game-touch-controls__action:not(:disabled) {
    animation: touch-action-ready 1200ms ease-in-out infinite alternate;
  }

  .game-touch-controls__action > span {
    font-family: "Comic Sans MS", "Bradley Hand", "Segoe Print", cursive;
    font-size: 22px;
    line-height: 1;
    transform: rotate(-3deg);
  }

  .game-touch-controls__action small {
    display: none;
  }

  .home-game[data-tone="dark"] .game-touch-controls button {
    border-color: rgba(158, 223, 204, 0.24);
    background: radial-gradient(circle, rgba(10, 19, 27, 0.78) 0 54%, rgba(5, 10, 17, 0.12) 74%);
    box-shadow: 0 0 22px rgba(78, 232, 221, 0.07);
    color: rgba(181, 231, 216, 0.76);
  }

  .home-game[data-touch-controls="true"][data-links="open"][data-atlas="active"] {
    overscroll-behavior-y: auto;
    scroll-behavior: auto;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .home-game[data-touch-controls="true"][data-atlas="active"] .home-fallback,
  .home-game[data-touch-controls="true"][data-atlas="active"] .living-atlas__content {
    touch-action: pan-y;
  }
}

@keyframes touch-action-ready {
  from { opacity: 0.72; box-shadow: 0 0 0 0 rgba(86, 158, 132, 0.16); }
  to { opacity: 1; box-shadow: 0 0 0 8px rgba(86, 158, 132, 0); }
}

@keyframes media-sign-touch-action {
  from { color: var(--sign-accent); opacity: 0.62; }
  to { color: var(--sign-accent); opacity: 1; }
}

@media (max-width: 600px) {
  .home-game[data-links="open"][data-atlas="active"] .home-fallback {
    width: 100%;
    padding-right: max(18px, env(safe-area-inset-right));
    padding-left: max(112px, calc(env(safe-area-inset-left) + 106px));
  }

  .home-game[data-atlas="active"] .living-atlas__guide {
    top: calc(50dvh - 51px);
    bottom: auto;
    left: max(-8px, calc(env(safe-area-inset-left) - 8px));
    width: 136px;
    height: 102px;
    opacity: 0.78;
  }

  .home-game[data-atlas="active"] .home-fallback__close {
    margin-bottom: 54px;
  }

  .home-game[data-atlas="active"] .home-fallback__intro {
    min-height: 70svh;
    padding: 64px 0 72px;
  }

  .home-game[data-atlas="active"] .home-fallback h1 {
    font-size: clamp(28px, 7.8vw, 32px);
  }

  .home-game[data-atlas="active"] .home-fallback__section,
  .home-game[data-atlas="active"] .home-fallback__section--media {
    padding: 72px 0;
  }

  .home-game[data-atlas="active"] .home-fallback__section--media li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    height: auto;
    min-height: 0;
    padding: 30px 0;
  }

  .home-game[data-atlas="active"] .home-fallback__section--media .home-fallback__media {
    min-height: 104px;
    padding-right: 62px;
  }

  .home-game[data-atlas="active"] .home-fallback__section--media .home-fallback__latest {
    gap: 12px;
  }

  .home-game[data-atlas="active"] .home-fallback__section--media .living-atlas__media-emblem {
    top: 22px;
    right: 4px;
    width: 38px;
    height: 35px;
  }

  .home-game[data-atlas="active"] .home-fallback__section--media .living-atlas__memory {
    position: absolute;
    top: 65px;
    right: 0;
    width: 50px;
    height: 50px;
    margin: 0;
  }

  .living-atlas__footer {
    min-height: 74svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-touch-controls .game-touch-controls__action:not(:disabled),
  .home-game[data-touch-controls="true"] .media-sign.is-reading .media-sign__enter {
    animation: none;
  }
}

@media (max-width: 900px) and (max-height: 560px) {
  .home-game[data-touch-controls="true"] .game-touch-controls {
    right: 10px;
    bottom: max(7px, env(safe-area-inset-bottom));
    left: 10px;
  }

  .game-touch-controls button {
    width: 48px;
    height: 48px;
  }

  .game-touch-controls .game-touch-controls__action {
    width: 54px;
    height: 54px;
  }

  .home-game[data-touch-controls="true"] .journey-keepsake {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.home-game),
  body:has(.home-game) {
    background: #fff;
  }

  body:has(.home-game),
  body:has(.home-game[data-game-ready="true"]) {
    overflow: auto;
    min-width: 0;
    height: auto;
  }

  .home-game,
  .home-game[data-game-ready="true"] {
    position: static;
    min-height: 100vh;
    overflow: visible;
  }

  .home-game__stage {
    display: none;
  }

  .home-game__boot-logo {
    display: none;
  }

  .game-touch-controls {
    display: none !important;
  }

  .home-fallback,
  .home-game[data-game-ready="true"] .home-fallback {
    position: static;
    left: auto;
    width: min(920px, calc(100% - 48px));
    height: auto;
    margin: 80px auto;
    overflow: visible;
  }

  .home-game .home-fallback__close {
    display: none !important;
  }

  .living-atlas__footer button,
  .living-atlas-bookmark {
    display: none !important;
  }

  .living-atlas__scroll-cue-particles i,
  .living-atlas__scroll-cue.is-nudged .living-atlas__scroll-cue-particles {
    animation: none !important;
  }

  .living-atlas__project-signal i,
  .home-game[data-atlas-complete="true"] .living-atlas__current i {
    animation: none !important;
  }

  .home-fallback__section--media li {
    position: relative;
  }

  .home-fallback__section--media .living-atlas__media-emblem {
    position: absolute;
    top: 18px;
    right: 0;
    display: block;
    width: 46px;
    height: 42px;
    opacity: 0.42;
  }

  .media-emblem i,
  .media-emblem.is-assembled i {
    filter: none !important;
    opacity: var(--point-opacity) !important;
    transform: translate3d(0, 0, 0) scale(1) rotate(var(--point-rotation)) !important;
    transition: none !important;
    animation: none !important;
    will-change: auto;
  }

  .living-atlas__scroll-cue-particles i:nth-child(1),
  .living-atlas__scroll-cue-particles i:nth-child(3),
  .living-atlas__scroll-cue-particles i:nth-child(5) {
    top: 25px;
    opacity: 0.56;
  }
}
