/* The seasonal route is one continuous world. These rules opt in only on
   .season-strip-map; archived poster studies and the fork keep their layout. */
.study-journey .journey-map.season-strip-map {
  --strip-water-deep: #147d7e;
  --strip-water-light: #46bca8;
  --strip-water-shine: #b4eed1;
  --strip-stone: #edc47f;
  --strip-stone-light: #ffdfa0;
  --strip-stone-shadow: #aa804a;
  --strip-canopy: #275f49;
  --strip-canopy-light: #6d9b43;
  --strip-lantern: #ffe5a0;
  --strip-ink: #104b56;
  --strip-plaque: linear-gradient(145deg, #fff9df, #ffedbd 72%, #edd291);
  --strip-rim: linear-gradient(130deg, #fff6ca, #e9bd63 40%, #ae772c 74%, #ffe4a0);
  --strip-plaque-shadow: #765329;
  position: relative;
  width: 100%;
  margin: 0;
  container-type: inline-size;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  background: var(--strip-water-deep);
  overflow: hidden;
  overflow-anchor: none;
}

.study-journey[data-light="night"] .journey-map.season-strip-map {
  --strip-water-deep: #092f49;
  --strip-water-light: #166d7e;
  --strip-water-shine: #67c4c9;
  --strip-stone: #99866b;
  --strip-stone-light: #d4c59b;
  --strip-stone-shadow: #3e4950;
  --strip-canopy: #193f3b;
  --strip-canopy-light: #466a52;
  --strip-lantern: #ffe1a0;
  --garden-jade-light: #5c8b65;
  --garden-jade-mid: #376247;
  --garden-jade-dark: #203f3a;
  --garden-olive-light: #8b995e;
  --garden-olive-mid: #566d42;
  --garden-olive-dark: #314a3b;
  --garden-deep-light: #4e7962;
  --garden-deep-mid: #30594d;
  --garden-deep-dark: #193c39;
  --garden-petal-light: #e7c6c9;
  --garden-pink-mid: #bd8b9d;
  --garden-pink-dark: #8d647d;
  --garden-cream-mid: #c8b58e;
  --garden-cream-dark: #a58c73;
}

/* Replace the old full-map tint and end fades with the actual scene palette.
   Night lighting paints only the small local lantern shapes, never a filter
   or translucent rectangle over the height of the entire season. */
.study-journey .journey-map.season-strip-map::before,
.study-journey .journey-map.season-strip-map::after {
  content: none;
  display: none;
  background: none;
  mask-image: none;
  -webkit-mask-image: none;
}
.study-journey .season-strip-map .season-strip-world,
.study-journey .season-strip-map .season-strip-night {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  pointer-events: none;
  filter: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  opacity: 1;
  mix-blend-mode: normal;
  transform: none;
  animation: none;
  transition: none;
}
.study-journey .season-strip-map .season-strip-world { z-index: 0; }
.study-journey .season-strip-map .season-strip-night { z-index: 1; }
/* Small, independent viewports bound raster/composition work. Their positions
   are global world coordinates; they never partition or clip the actual road. */
.study-journey .season-strip-map .season-depth-window {
  position: absolute;
  left: 0;
  width: 100%;
  display: block;
  /* The map frame clips the screen. A branch at maximum parallax may
     extend beyond its own local drawing window on a narrow phone. */
  overflow: visible;
  pointer-events: none;
  z-index: 0;
  animation: none;
  transition: none;
  filter: none;
}
.study-journey .season-strip-map .season-depth-window[data-season-layer="canopy"] { z-index: 1; }
.study-journey .journey-map-frame .season-strip-map { width: min(100%, 820px); margin-inline: auto; }
@media (min-width: 701px) and (min-height: 551px) {
  .study-journey .journey-map-frame .season-strip-map { width: min(100%, 74svh, 760px); }
}
.season-strip-grove { display: none; }
@media (min-width: 701px) {
  .study-journey .journey-map-frame .season-strip-map,
  .study-journey .journey-map-frame .season-water-base,
  .study-journey .journey-map-frame .journey-study-world,
  .study-journey .journey-map-frame .season-depth-window[data-season-layer="banks"],
  .study-journey .journey-map-frame .season-depth-window[data-season-layer="canopy"] { overflow: visible; }
  .study-journey .journey-map-frame .season-strip-grove { display: inline; }
}
.study-journey[data-light="night"] .season-biome-water { stop-color: var(--rich-water-mid); }
.study-journey[data-light="night"] .season-strip-map {
  --paint-water-tint: #0b344c;
  --paint-water-tint-opacity: .74;
}
.study-journey[data-light="night"] .season-depth-window .journey-painted-sprite { opacity: .8; }
.study-journey[data-light="night"] .season-biome-bank { stop-color: #556b67; }
.study-journey .season-strip-map [data-season-layer],
.study-journey .season-strip-map .season-strip-water,
.study-journey .season-strip-map .season-strip-road,
.study-journey .season-strip-map .season-strip-canopy,
.study-journey .season-strip-map .season-strip-platform,
.study-journey .season-strip-map .season-strip-prop {
  filter: none !important;
  mask-image: none;
  -webkit-mask-image: none;
  animation: none;
  transition: none;
  pointer-events: none;
}
.study-journey .season-strip-map .season-strip-road { stroke-linejoin: round; }
.study-journey .season-strip-map .season-strip-lantern {
  opacity: 0;
  filter: none;
  animation: none;
  transition: none;
  pointer-events: none;
}

/* A camera locator, separate from the play action. Only the small arrow
   moves: the click target and its measured distance from the dock stay fixed. */
.study-journey .journey-locator {
  position: fixed;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 156px;
  min-height: 48px;
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 8px 16px;
  margin: 0;
  transform: translateX(-50%);
  border: 3px solid #efd18a;
  border-radius: 999px;
  background: linear-gradient(145deg, #159d9e, #006679);
  color: #fff5d2;
  box-shadow: inset 0 2px #c6f2da99, 0 3px #8a6635, 0 7px 12px #0e55594d;
  font: 650 16px/1.2 var(--heading, var(--body));
  touch-action: manipulation;
}
.study-journey .journey-locator[hidden] { display: none; }
.study-journey .journey-locator:is(:hover,:active) { transform: translateX(-50%); }
.journey-locator-arrow { display: grid; place-content: center; width: 23px; height: 23px; }
.journey-locator-arrow .icon { width: 23px; height: 23px; }
.journey-locator[data-direction="up"] .journey-locator-arrow .icon { transform: rotate(-90deg); }
.journey-locator[data-direction="down"] .journey-locator-arrow .icon { transform: rotate(90deg); }
.journey-locator[data-motion="running"] .journey-locator-arrow { animation: journey-locator-nudge 1500ms ease-in-out infinite; }
.journey-locator[data-direction="up"] { --locator-nudge: -4px; }
.journey-locator[data-direction="down"] { --locator-nudge: 4px; }
.journey-locator:focus-visible { outline: 3px solid #fff8d7; outline-offset: 4px; }
@keyframes journey-locator-nudge { 0%,45%,100% { translate: 0 0; } 65% { translate: 0 var(--locator-nudge); } }
@media(prefers-reduced-motion:reduce) { .journey-locator .journey-locator-arrow { animation: none !important; } }
.study-journey[data-light="night"] .season-strip-map .season-strip-lantern { opacity: 1; }

/* The hit target, deck and plaque do not move on hover or press. A complete
   transparent theme object sits on the SVG platform instead of being clipped
   into the circular face used by the older map. */
.study-journey .season-strip-map .journey-node,
.study-journey .season-strip-map .journey-node.is-current {
  --stop-size: 26cqw;
  width: var(--stop-size);
  height: var(--stop-size);
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 20%;
  background: none;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
  transform: translate(-50%, -50%);
  animation: none;
  transition: none;
  color: var(--strip-ink);
  text-align: center;
  touch-action: pan-y;
}
.study-journey .season-strip-map .journey-node:is(:hover, :active),
.study-journey .season-strip-map .journey-node:not(button):active {
  background: none;
  transform: translate(-50%, -50%);
}
.study-journey .season-strip-map .journey-node-face {
  position: static;
  width: 100%;
  height: 100%;
  overflow: visible;
  border: 0 !important;
  border-radius: 0;
  background: none !important;
  box-shadow: none !important;
}
.study-journey .season-strip-map .journey-node-face > .illustrated-icon,
.study-journey .season-strip-map .journey-node.is-current .journey-node-face > .illustrated-icon {
  position: absolute;
  display: block;
  left: 50%;
  bottom: calc(50% - 3cqw);
  width: 24cqw;
  height: 24cqw;
  max-width: none;
  margin: 0;
  object-fit: contain;
  object-position: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  clip-path: none;
  mask-image: none;
  -webkit-mask-image: none;
  opacity: 1;
  filter: none !important;
  transform: translateX(-50%);
  animation: none;
  transition: none;
  z-index: 1;
  pointer-events: none;
}

/* Continuous CSS material stretches to each real label. No poster fragments,
   fixed text images or image-border joins participate in these plaques. */
.study-journey .season-strip-map .journey-node-number,
.study-journey .season-strip-map .journey-node.is-current .journey-node-number {
  left: calc(50% + var(--plate-x, 0cqw));
  top: calc(50% + var(--plate-y, 10cqw));
  right: auto;
  bottom: auto;
  min-width: clamp(44px, 13cqw, 78px);
  height: clamp(28px, 7cqw, 42px);
  padding: 2px 8px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--strip-plaque) padding-box, var(--strip-rim) border-box;
  box-shadow: inset 0 1px 0 #fffef0, 0 3px 0 var(--strip-plaque-shadow), 0 5px 5px #102d3533;
  color: var(--strip-ink);
  font: 750 clamp(18px, 4.4cqw, 28px)/1 var(--heading, var(--body, sans-serif));
  font-variant-numeric: tabular-nums;
  text-shadow: none !important;
  transform: translate(-50%, -50%);
  z-index: 5;
}
.study-journey .season-strip-map .journey-node-label,
.study-journey .season-strip-map .journey-node.is-current .journey-node-label,
.study-journey .season-strip-map .journey-node-note,
.study-journey .season-strip-map .journey-node[data-note-side="left"] .journey-node-note {
  position: absolute;
  left: calc(50% + var(--plate-x, 0cqw));
  top: calc(50% + var(--plate-y, 10cqw) + clamp(18px, 4.7cqw, 28px));
  right: auto;
  bottom: auto;
  width: clamp(104px, 34cqw, 164px);
  max-width: none;
  min-width: 0;
  min-height: 32px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  margin: 0;
  padding: 6px 8px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--strip-plaque) padding-box, var(--strip-rim) border-box;
  box-shadow: inset 0 1px 0 #fffef0, 0 3px 0 var(--strip-plaque-shadow), 0 5px 5px #102d3533;
  color: var(--strip-ink);
  font: 750 clamp(12px, 3.2cqw, 15px)/1.15 var(--heading, var(--body, sans-serif));
  white-space: normal;
  overflow: visible;
  overflow-wrap: break-word;
  text-shadow: none;
  transform: translateX(-50%);
  z-index: 6;
}
.study-journey .season-strip-map .journey-node.is-current .journey-node-label {
  background: linear-gradient(145deg, #158e91, #075e70) padding-box, var(--strip-rim) border-box;
  color: #fff5d3;
  font-size: clamp(13px, 3.5cqw, 16px);
}
.study-journey .season-strip-map .journey-node-label::before,
.study-journey .season-strip-map .journey-node-label::after { content: none; display: none; }
.study-journey .season-strip-map .journey-node-note strong { justify-content: center; }
.study-journey .season-strip-map .journey-node-note small { font: 650 11px/1.2 var(--body, sans-serif); }
.study-journey .season-strip-map .journey-rating-star .icon { width: 13px; height: 13px; filter: none; }
.study-journey .season-strip-map .journey-node.is-done:has(.journey-node-note) .journey-node-label { display: none; }

.study-journey .season-strip-map :is(.journey-node-check, .journey-node-lock, .journey-node-currentmark) {
  left: calc(50% + var(--badge-x, 8.333333cqw));
  top: calc(50% + var(--badge-y, -7.222222cqw));
  right: auto;
  bottom: auto;
  width: clamp(27px, var(--badge-w, 9cqw), 44px);
  height: clamp(28px, var(--badge-h, 9cqw), 46px);
  border: 2px solid #fff1bc;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffeab0, #d79e3e);
  color: #70501d;
  box-shadow: inset 0 1px 0 #fff9df, 0 3px 0 #987032, 0 5px 4px #102d3533;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
}
.study-journey .season-strip-map .journey-node-check { background: linear-gradient(145deg, #8ecf6b, #2a8156); color: #fffbe6; }
.study-journey .season-strip-map .journey-node-currentmark { background: linear-gradient(145deg, #34bfaf, #087285); color: #fff5ca; }
.study-journey .season-strip-map :is(.journey-node-check, .journey-node-lock, .journey-node-currentmark) > .icon {
  width: clamp(16px, 4.4cqw, 23px);
  height: clamp(16px, 4.4cqw, 23px);
}
.study-journey .season-strip-map .journey-current-beacon {
  left: 50%;
  top: calc(50% + 2.2cqw);
  width: 30cqw;
  height: 18cqw;
  border-radius: 50%;
  background: radial-gradient(ellipse, #9af9de55, #8af5df24 55%, transparent 73%);
  transform: translate(-50%, -50%);
  z-index: 0;
}
.study-journey .season-strip-map .journey-current-beacon::before,
.study-journey .season-strip-map .journey-current-beacon::after {
  border-color: #c9ffe5;
  animation: none;
  transition: none;
}
/* The soles and the collectible sit on the same painted octagon. Pair them
   on opposite halves of its surface, mirrored toward the open channel. */
.study-journey .season-strip-map .journey-node.is-current {
  --traveler-x: -5.2cqw;
  --collectible-x: 5.4cqw;
  --traveler-height: 22cqw;
  --traveler-feet: 2.5cqw;
}
.study-journey .season-strip-map .journey-node.is-current[data-note-side="right"] {
  --traveler-x: 5.2cqw;
  --collectible-x: -5.4cqw;
}
.study-journey .season-strip-map .journey-traveler {
  left: calc(50% + var(--traveler-x));
  top: calc(50% + var(--traveler-feet) - var(--traveler-height));
  width: calc(var(--traveler-height) * .667);
  height: var(--traveler-height);
  animation: none;
  transition: none;
  transform: translateX(-50%);
  filter: none;
  z-index: 3;
}
.study-journey .season-strip-map .journey-node.is-current .journey-node-face > .illustrated-icon {
  left: calc(50% + var(--collectible-x));
  bottom: calc(50% - .4cqw);
  width: 17cqw;
  height: 17cqw;
}
.study-journey .season-strip-map .journey-traveler-olga { object-fit: contain; opacity: 1; filter: none; animation: none; }
.study-journey .season-strip-map button.journey-node:focus-visible {
  outline: 3px solid #fff1aa;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px #075a6c;
}
.study-journey .season-strip-map button.journey-node:is(:hover, :focus-visible) .journey-node-number {
  border-color: #fff3c4;
}
.study-journey .season-strip-map button.journey-node:active .journey-node-label { box-shadow: inset 0 1px 0 #fffef066, 0 2px 0 var(--strip-plaque-shadow); }

/* Only the two small rings at Olga's location animate. Visibility and screen
   lifecycle pause them; the 20,776-unit landscape never becomes a compositor. */
@media (prefers-reduced-motion: no-preference) {
  .study-journey .season-strip-map .journey-current-beacon::before,
  .study-journey .season-strip-map .journey-current-beacon::after {
    animation: journey-location-ring 2800ms cubic-bezier(.15,.5,.25,1) infinite;
    animation-play-state: paused;
  }
  .study-journey .season-strip-map .journey-current-beacon::after { animation-delay: 1000ms; }
  .study-journey[data-strip-motion="running"] .season-strip-map .journey-current-beacon::before,
  .study-journey[data-strip-motion="running"] .season-strip-map .journey-current-beacon::after { animation-play-state: running; }
}

@media (prefers-reduced-motion: reduce) {
  .study-journey .season-strip-map *,
  .study-journey .season-strip-map *::before,
  .study-journey .season-strip-map *::after { animation: none !important; transition: none !important; }
}

/* Rich reconstruction: the authored bends, pillars and ground stay registered.
   Only the isolated canopy and submerged shapes participate in depth motion. */
.study-journey .season-strip-map {
  --rich-water-edge: #61cdb0;
  --rich-water-mid: #32af9d;
  --rich-water-deep: #208782;
  --rich-water-texture-opacity: .18;
  --rich-pillar-dark: #94703e;
  --rich-pillar-light: #efd49b;
  --rich-pillar-mid: #c29a57;
}
.study-journey[data-light="night"] .season-strip-map {
  --rich-water-edge: #146d7b;
  --rich-water-mid: #0c526e;
  --rich-water-deep: #092f49;
  --rich-pillar-dark: #46545a;
  --rich-pillar-light: #b5ad88;
  --rich-pillar-mid: #77795f;
  --rich-texture-opacity: .19;
  --rich-water-texture-opacity: .22;
  --garden-stone-low: #8f8a76;
  --garden-earth-light: #aeb299;
  --garden-earth: #748d7b;
  --garden-grass-light: #78945b;
  --garden-grass: #537a53;
  --garden-grass-dark: #355d45;
  --garden-rock-light: #8d9a85;
  --garden-rock: #5c7c70;
  --garden-jade-light: #789b62;
  --garden-jade-mid: #4f7847;
  --garden-jade-dark: #284f3b;
  --garden-olive-light: #97a26d;
  --garden-olive-mid: #697e4a;
  --garden-olive-dark: #3b5b39;
  --garden-deep-light: #5e8864;
  --garden-deep-mid: #3a6b51;
  --garden-deep-dark: #224a3a;
  --garden-petal-light: #d1c2bc;
  --garden-pink-mid: #b28c96;
  --garden-pink-dark: #816c80;
  --garden-cream-mid: #b5b391;
  --garden-cream-dark: #868e7a;
}
.study-journey .season-strip-map .journey-node[data-stop-role="marker"] .journey-node-face > .illustrated-icon {
  width: 15cqw;
  height: 15cqw;
  bottom: calc(50% + 4cqw);
}
.study-journey .season-strip-map .journey-node[data-stop-role="marker"] .journey-node-number {
  top: calc(50% + 1cqw);
  min-width: 40px;
  width: auto;
  height: 32px;
  padding: 0 3px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: clamp(17px, 4cqw, 24px);
  text-shadow: 0 1px #fff5ce !important;
}
.study-journey .season-strip-map .journey-node[data-stop-role="marker"] .journey-node-note {
  /* Full category, status and earned result remain in the group's aria-label. */
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
}
.study-journey .season-strip-map .journey-node[data-stop-role="marker"]:not(.is-current) .journey-node-label {
  display: grid;
  top: calc(50% + 7cqw);
  width: clamp(104px, 30cqw, 150px);
  min-height: 24px;
  padding: 2px 4px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #fff4ce;
  font-size: clamp(11px, 2.8cqw, 14px);
  text-shadow: 0 1px 2px #084653, 0 -1px 2px #084653;
}
.study-journey .season-strip-map .journey-node[data-stop-role="marker"] :is(.journey-node-check,.journey-node-lock,.journey-node-currentmark) {
  width: 23px;
  height: 24px;
  left: calc(50% + 5.5cqw);
  top: calc(50% - 1cqw);
  border-width: 1px;
  border-radius: 7px;
}
.study-journey .season-strip-map .journey-node[data-stop-role="marker"] :is(.journey-node-check,.journey-node-lock,.journey-node-currentmark) > .icon { width: 14px; height: 14px; }
.study-journey .season-strip-map .journey-node[data-stop-role="marker"].is-current .journey-node-label {
  top: calc(50% + 7cqw);
}
.study-journey .season-strip-map .journey-node.is-current[data-stop-role="marker"] {
  --traveler-feet: 1.7cqw;
  --traveler-x: -3.7cqw;
  --collectible-x: 4cqw;
}
.study-journey .season-strip-map .journey-node.is-current[data-stop-role="marker"][data-note-side="right"] {
  --traveler-x: 3.7cqw;
  --collectible-x: -4cqw;
}
.study-journey .season-strip-map .journey-node.is-current[data-stop-role="marker"] .journey-node-face > .illustrated-icon {
  width: 11cqw;
  height: 11cqw;
  bottom: calc(50% + 1cqw);
}
.study-journey .season-strip-map .journey-node.is-current[data-stop-role="marker"] .journey-node-number { top: calc(50% + 4cqw); }
.study-journey .season-strip-map .journey-node.is-current[data-stop-role="marker"] .journey-node-label { top: calc(50% + 9cqw); }
.study-journey .season-strip-map .journey-node.is-current[data-stop-role="marker"] .journey-node-currentmark {
  left: calc(50% + 9.2cqw);
  top: calc(50% + 2cqw);
}
/* Keep the small status badge on the outside rim of the landmark. */
.study-journey .season-strip-map .journey-node[data-stop-role="landmark"] :is(.journey-node-check,.journey-node-lock,.journey-node-currentmark) {
  left: calc(50% + 12.1cqw);
  top: calc(50% + 2.2cqw);
  width: clamp(26px, 6.8cqw, 35px);
  height: clamp(27px, 7cqw, 36px);
  border-radius: 9px;
}
.study-journey .season-strip-map .journey-node[data-stop-role="landmark"] :is(.journey-node-check,.journey-node-lock,.journey-node-currentmark) > .icon {
  width: 63%;
  height: 63%;
}
