@media (max-width: 760px) {
  body.home-page { --wbar-h: 60px; --wnav-h: 60px; --chrome-h: calc(var(--bar-h) + 60px); }
}
.hdoors { display: none; }

.scene--home { --hx: 67%; overflow-x: clip; }
.scene--home::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(220px 40px at var(--hx) calc(100% - 60px), rgba(255, 246, 240, .95), rgba(255, 238, 228, 0)),
    radial-gradient(560px 110px at var(--hx) calc(100% - 52px), rgba(248, 210, 192, .75), rgba(240, 206, 196, 0)),
    radial-gradient(860px 190px at var(--hx) calc(100% - 26px), rgba(238, 122, 88, .85), rgba(236, 124, 90, 0)),
    radial-gradient(1200px 180px at 60% 100%, rgba(226, 88, 74, .5), rgba(226, 88, 74, 0)),
    radial-gradient(360px 560px at var(--hx) calc(100% - 40px), rgba(2, 128, 222, .5), rgba(2, 110, 210, 0)),
    radial-gradient(1100px 440px at 64% 100%, rgba(52, 128, 204, .62), rgba(36, 100, 184, 0)),
    radial-gradient(150% 560px at 55% 100%, rgba(14, 44, 104, .9), rgba(10, 34, 86, 0)),
    radial-gradient(48% 80% at 0% 0%, rgba(34, 8, 46, .8), rgba(34, 8, 46, 0)),
    radial-gradient(48% 80% at 100% 0%, rgba(2, 4, 38, .8), rgba(2, 4, 38, 0)),
    linear-gradient(180deg, #08041a 0%, #050716 36%, #04102a 72%, #061a3c 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 150px), transparent 100%);
          mask-image: linear-gradient(180deg, #000 calc(100% - 150px), transparent 100%);
  content: "";
}
.scene--home::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: var(--flutes) 0 0 / 720px 100%;
  mix-blend-mode: soft-light;
  opacity: .75;
  -webkit-mask-image: radial-gradient(620px 190px at var(--hx) calc(100% - 50px), #000 20%, transparent 100%);
          mask-image: radial-gradient(620px 190px at var(--hx) calc(100% - 50px), #000 20%, transparent 100%);
  pointer-events: none;
  content: "";
}
.scene--home .sky { inset: -24px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 8px;
  min-height: max(620px, min(calc(100svh - var(--chrome-h)), 900px));
  padding-bottom: 64px;
}
.hero-copy { position: relative; z-index: 2; padding-block: 24px; }
.hero-title {
  margin: 22px 0 0;
  color: #fff;
  font: 400 clamp(56px, 6.6vw, 100px)/.98 var(--serif);
  letter-spacing: -.012em;
  text-shadow: 0 2px 30px rgba(4, 8, 40, .4);
}
.hero-title em { font-style: italic; }
.hero-lede { max-width: 44ch; margin-top: 20px; color: rgba(232, 238, 252, .86); font: 400 16.5px/1.6 var(--sans); text-wrap: pretty; }

.hsearch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(100% + 72px);
  max-width: 620px;
  height: 66px;
  margin-top: 34px;
  padding: 7px 7px 7px 22px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 70px -28px rgba(2, 151, 222, .55), 0 18px 40px -24px rgba(0, 0, 0, .9);
  color: rgba(210, 222, 244, .8);
}
.hsearch::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: rgba(8, 14, 30, .58);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
          backdrop-filter: blur(18px) saturate(1.3);
  content: "";
  pointer-events: none;
}
.hsearch .ico { width: 20px; height: 20px; }
.hsearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: #fff; font: 400 16.5px/1 var(--sans); }
.hsearch input::placeholder { color: rgba(200, 212, 236, .6); }
.hsearch input::-webkit-search-cancel-button { display: none; }
.hsearch:focus-within { border-color: rgba(127, 210, 246, .7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 4px rgba(127, 210, 246, .14), 0 30px 80px -26px rgba(2, 151, 222, .75); }
.hsearch-go {
  flex: none;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0b0a12;
  font: 400 14px/1 var(--mono);
  letter-spacing: .02em;
}
.hsearch-go:hover { background: #ffeee6; box-shadow: 0 0 24px rgba(252, 115, 77, .4); }
.hsearch .sresults { top: calc(100% + 10px); z-index: 70; }

.tries { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 18px; }
.tries-label { color: var(--ink-3); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.tries-list { display: flex; flex-wrap: wrap; gap: 8px; }
.try {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(10, 8, 24, .35);
  color: rgba(232, 238, 252, .9);
  font-size: 12.5px;
}
.try img { width: 34px; height: 34px; margin: -4px -2px -4px -10px; image-rendering: pixelated; }
.try img.spr--art { image-rendering: auto; }
.try .mi { margin: 0 2px 0 -8px; }
.try:hover { border-color: rgba(127, 210, 246, .55); background: rgba(127, 210, 246, .08); }

.hero-map { position: relative; margin: 0 calc(-1 * var(--gutter)) 0 0; will-change: translate; }
.hero-map .roria-box { width: min(100%, 820px, calc(100svh - var(--chrome-h) - 40px)); margin-left: auto; }
.hero-map .pin-label { font-size: 27px; }
.hero-map-cap {
  position: absolute;
  right: max(var(--gutter), 4%);
  bottom: 2%;
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}
.hero-map-cap a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(8, 14, 30, .55);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  color: #fff;
  font-size: 13px;
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}
.hero-map-cap a:hover { border-color: rgba(127, 210, 246, .7); background: rgba(127, 210, 246, .12); }
.hero-map-cap > span { color: rgba(226, 232, 248, .7); font-size: 11.5px; letter-spacing: .04em; }

.page {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(88px, 10vw, 132px);
  padding-block: 64px clamp(80px, 9vw, 120px);
}
.page::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 900px;
  background:
    radial-gradient(800px 360px at 62% 0%, rgba(2, 128, 222, .14), transparent 70%),
    radial-gradient(560px 300px at 85% 8%, rgba(226, 92, 76, .08), transparent 70%);
  pointer-events: none;
  content: "";
}
.block { min-width: 0; scroll-margin-top: calc(var(--bar-h) + 16px); }

.rail-ctl { display: flex; flex: none; align-items: center; gap: 10px; }
.rail-pos { min-width: 13ch; margin-right: 6px; color: var(--ink-2); font-size: 12.5px; letter-spacing: .04em; text-align: right; }
.rail-wrap { margin-inline: calc(50% - 50vw); }
.jrail {
  --edge: max(var(--gutter), calc((100vw - var(--page-w)) / 2));
  display: grid;
  grid-auto-columns: 244px;
  grid-auto-flow: column;
  gap: 18px;
  padding: 0 var(--edge) 12px;
  overflow-x: auto;
  scroll-padding-inline: var(--edge);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 calc(var(--edge) * .6), #000 calc(100% - var(--edge) * .6), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 calc(var(--edge) * .6), #000 calc(100% - var(--edge) * .6), transparent);
}
.jrail::-webkit-scrollbar { display: none; }
.jrail:focus-visible { outline-offset: -2px; }
.stop { position: relative; padding-top: 50px; scroll-snap-align: start; }
.stop::before { position: absolute; top: 31px; right: -18px; left: 0; height: 1px; background: rgba(127, 210, 246, .16); content: ""; }
.stop:last-child::before { right: 50%; background: linear-gradient(90deg, rgba(127, 210, 246, .8), transparent); }
.stop::after {
  position: absolute;
  top: 31px;
  right: -18px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(127, 210, 246, .95), rgba(2, 151, 222, .6));
  box-shadow: 0 0 8px rgba(127, 210, 246, .55);
  transform-origin: 0 50%;
  transition: transform 1s var(--ease-out) var(--d, 0ms);
  content: "";
}
.stop:last-child::after { right: 50%; background: linear-gradient(90deg, rgba(127, 210, 246, .9), transparent); }
.stop-dot {
  position: absolute;
  top: 26px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--midnight);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(127, 210, 246, .6), 0 0 12px rgba(127, 210, 246, .8);
  transition: transform .7s var(--ease-spring) var(--d, 0ms), opacity .4s var(--ease-out) var(--d, 0ms);
}
.stop--gym .stop-dot { top: 24px; width: 15px; height: 15px; background: var(--cantaloupe); box-shadow: 0 0 0 1px rgba(252, 115, 77, .7), 0 0 16px rgba(252, 115, 77, .9); }
.stop-ch { position: absolute; top: 0; left: 0; color: #fff; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.stop-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: var(--panel), rgba(6, 10, 22, .6);
  transition: border-color var(--t-mid) var(--ease-out), translate var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out);
}
.stop-card:hover { border-color: rgba(127, 210, 246, .5); box-shadow: 0 20px 44px -22px rgba(2, 151, 222, .6); translate: 0 -5px; }
.stop-card:active { translate: 0 -2px; transition-duration: 80ms; }
.stop--gym .stop-card:hover { border-color: rgba(252, 115, 77, .55); box-shadow: 0 20px 44px -22px rgba(252, 115, 77, .55); }
.stop-pic { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0a1222; }
.stop-pic img { width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--ease-out), scale .9s var(--ease-out), filter .6s var(--ease-out); }
.stop-none { display: block; width: 100%; height: 100%; background: radial-gradient(60% 80% at 50% 100%, rgba(2, 128, 222, .35), transparent); }
.stop-pic::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 8, 18, .6)); content: ""; }
.stop-card:hover .stop-pic img:not(.stop-badge) { scale: 1.06; filter: brightness(1.12) saturate(1.06); }
.stop-pic .stop-badge { position: absolute; z-index: 1; right: 10px; bottom: 10px; width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(252, 115, 77, .7)); }
.stop-text { display: grid; gap: 4px; padding: 14px 16px 16px; }
.stop-n { color: var(--ink-3); font-size: 11px; letter-spacing: .12em; }
.stop-name { color: #fff; font: 400 25px/1.05 var(--serif); }
.stop-meta { color: var(--ink-2); font-size: 12px; letter-spacing: .02em; }
@media (prefers-reduced-motion: no-preference) {
  .motion .stop:not(.is-lit)::after { transform: scaleX(0); }
  .motion .stop:not(.is-lit) .stop-dot { opacity: .35; transform: scale(.4); }
}
@keyframes glint {
  0% { filter: drop-shadow(0 0 10px rgba(252, 115, 77, .7)) brightness(1); scale: 1; }
  35% { filter: drop-shadow(0 0 18px rgba(255, 226, 212, 1)) brightness(1.9); scale: 1.16; }
  100% { filter: drop-shadow(0 0 10px rgba(252, 115, 77, .7)) brightness(1); scale: 1; }
}
.stop--gym.is-lit .stop-badge { animation: glint 1.3s var(--ease-out) calc(var(--d, 0ms) + 700ms) 1; }
.stop-card.is-spoiled { position: relative; filter: none; opacity: 1; }
.stop-card.is-spoiled > * { filter: blur(7px) saturate(.6); opacity: .5; }

.kinds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.kind {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  height: 100%;
  min-height: 214px;
  padding: 22px 20px 20px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: radial-gradient(240px 140px at 0% 0%, rgba(var(--pc), .14), transparent 70%), var(--panel), rgba(6, 10, 22, .55);
  transition: border-color var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out), translate var(--t-mid) var(--ease-out);
}
.kind:hover { border-color: rgba(var(--pc), .55); box-shadow: 0 18px 40px -22px rgba(var(--pc), .55); translate: 0 -4px; }
.kind-n { color: rgb(var(--pc)); font: 400 58px/.9 var(--serif); text-shadow: 0 0 30px rgba(var(--pc), .45); transition: text-shadow var(--t-mid) var(--ease-out), translate var(--t-mid) var(--ease-spring); }
.kind:hover .kind-n { translate: 0 -2px; text-shadow: 0 0 40px rgba(var(--pc), .8); }
.kind-name { margin-top: 6px; color: #fff; font: 400 25px/1.05 var(--serif); }
.kind-text { color: var(--ink-2); font: 400 13.5px/1.5 var(--sans); }
.kind-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; color: rgba(var(--pc), .95); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.kind-go::before { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--pc)); box-shadow: 0 0 8px rgba(var(--pc), .9); transition: box-shadow var(--t-mid) var(--ease-out); content: ""; }
.kind:hover .kind-go::before { box-shadow: 0 0 0 4px rgba(var(--pc), .2), 0 0 12px rgba(var(--pc), 1); }

.gyms { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.gym {
  display: grid;
  justify-items: center;
  gap: 4px;
  height: 100%;
  padding: 22px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  text-align: center;
  transition: border-color var(--t-mid) var(--ease-out), background-color var(--t-mid) var(--ease-out), translate var(--t-mid) var(--ease-out);
}
a.gym:hover { border-color: rgba(255, 255, 255, .22); background-color: rgba(255, 255, 255, .03); translate: 0 -4px; }
.gym-medal {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--t) 42%, transparent), transparent);
  transition: scale var(--t-mid) var(--ease-spring), filter var(--t-mid) var(--ease-out);
}
a.gym:hover .gym-medal { scale: 1.08; filter: brightness(1.15); }
.gym-medal img { width: 54px; height: 54px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .6)); }
.gym-no { color: var(--ink-3); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.gym-leader { color: #fff; font: 400 24px/1.05 var(--serif); }
.gym-where { display: grid; gap: 2px; margin-top: 2px; color: var(--ink-2); font: 400 13px/1.35 var(--sans); }
.gym-where span { color: var(--ink-3); font: 400 11px/1.3 var(--mono); letter-spacing: .06em; }

.guides { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; align-items: start; }
.feature {
  position: relative;
  display: block;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: #0a1222;
}
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .8s var(--ease-out), scale 1.2s var(--ease-out); }
.feature::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 8, 18, .1) 30%, rgba(4, 8, 18, .92)); content: ""; }
.feature:hover img { opacity: .9; scale: 1.04; }
.feature-text { position: absolute; z-index: 1; right: 24px; bottom: 24px; left: 24px; display: grid; gap: 8px; }
.feature-kick { color: var(--cyan); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.feature-text strong { color: #fff; font: 400 46px/1 var(--serif); }
.feature-text strong em { font-style: italic; }
.feature-text > span:last-child { color: rgba(232, 238, 252, .85); font: 400 14.5px/1.5 var(--sans); }
.gl-title { margin: 0 0 6px; color: var(--ink-3); font: 400 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.gl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 16px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  transition: border-color var(--t-fast) var(--ease-out);
}
.gl strong { color: #fff; font: 400 23px/1.1 var(--serif); }
.gl span { grid-column: 1; color: var(--ink-2); font: 400 13.5px/1.45 var(--sans); }
.gl-arrow { grid-row: 1 / span 2; grid-column: 2; width: 18px; height: 18px; fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: translate var(--t-mid) var(--ease-spring), stroke var(--t-fast) var(--ease-out); }
.gl:hover { border-bottom-color: rgba(127, 210, 246, .45); }
.gl:hover .gl-arrow { stroke: var(--cyan); translate: 3px 0; }

.ig-0 { --ig: 0; } .ig-1 { --ig: 1; } .ig-2 { --ig: 2; } .ig-3 { --ig: 3; } .ig-4 { --ig: 4; } .ig-5 { --ig: 5; }
.ig-6 { --ig: 6; } .ig-7 { --ig: 7; } .ig-8 { --ig: 8; } .ig-9 { --ig: 9; } .ig-10 { --ig: 10; } .ig-11 { --ig: 11; }
.ig-12 { --ig: 12; } .ig-13 { --ig: 13; } .ig-14 { --ig: 14; } .ig-15 { --ig: 15; }

@keyframes sky-in { from { opacity: 0; } to { opacity: .85; } }
@keyframes horizon-in { from { opacity: 0; transform: translateY(70px) scaleY(.6); } to { opacity: 1; transform: none; } }
@keyframes flutes-in { from { opacity: 0; } to { opacity: .75; } }
@keyframes map-in { from { opacity: 0; transform: translateY(26px) scale(.93); filter: blur(14px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes ignite { 0% { opacity: 0; transform: scale(0); } 55% { opacity: 1; transform: scale(1.7); } 100% { opacity: 1; transform: scale(1); } }
@keyframes bloom-in { 0% { opacity: 0; transform: scale(.2); } 45% { opacity: 1; transform: scale(1.35); } 100% { opacity: 1; transform: scale(1); } }
@keyframes label-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .62; transform: scale(.86); } }
@keyframes spark-in { from { opacity: 0; } to { opacity: .55; } }

@media (prefers-reduced-motion: no-preference) {
  .spark:nth-child(3n) { animation: twinkle 4.8s ease-in-out infinite; }
  .spark:nth-child(3n + 1) { animation: twinkle 6.2s 1.4s ease-in-out infinite; }
  .intro:not(.is-live) :is(.scene--home .sky, .hero-copy > *, .hero-map .roria-box, .hero-map-cap, .pin--main .pin-dot, .pin--main .pin-bloom, .pin--main .pin-label, .spark) { opacity: 0; animation: show .01s 2.6s forwards; }
  .intro:not(.is-live) .scene--home::before, .intro:not(.is-live) .scene--home::after { opacity: 0; animation: show .01s 2.6s forwards; }

  .is-live .scene--home .sky { animation: sky-in 1.6s var(--ease-out) both; }
  .is-live .scene--home::before { transform-origin: 50% 100%; animation: horizon-in 1.9s var(--ease-out) .08s both; }
  .is-live .scene--home::after { animation: flutes-in 1.6s var(--ease-out) .6s both; }
  .is-live .hero-map .roria-box { animation: map-in 1.5s var(--ease-out) .18s backwards; }
  .is-live .pin--main .pin-dot { animation: ignite .8s var(--ease-out) calc(.78s + var(--ig) * 95ms) backwards; }
  .is-live .pin--main .pin-bloom { animation: bloom-in 1.3s var(--ease-out) calc(.74s + var(--ig) * 95ms) backwards, breathe 5.6s ease-in-out calc(2.6s + var(--ig) * 470ms) infinite; }
  .is-live .pin--main .pin-label { animation: label-in .8s var(--ease-out) calc(.92s + var(--ig) * 95ms) backwards; }
  .is-live .spark { animation: spark-in 1.2s var(--ease-out) 1.5s backwards; }
  .is-live .spark:nth-child(3n) { animation: spark-in 1.2s var(--ease-out) 1.7s backwards, twinkle 4.8s ease-in-out 2.9s infinite; }
  .is-live .spark:nth-child(3n + 1) { animation: spark-in 1.2s var(--ease-out) 1.6s backwards, twinkle 6.2s ease-in-out 3.6s infinite; }
  .is-live .hero-copy > * { animation: copy-in 1.05s var(--ease-out) backwards; }
  .is-live .hero-copy > :nth-child(1) { animation-delay: .5s; }
  .is-live .hero-copy > :nth-child(2) { animation-delay: .6s; }
  .is-live .hero-copy > :nth-child(3) { animation-delay: .76s; }
  .is-live .hero-copy > :nth-child(4) { animation-delay: .88s; }
  .is-live .hero-copy > :nth-child(5) { animation-delay: 1s; }
  .is-live .hero-copy > :nth-child(6) { animation-delay: 1s; }
  .is-live .hero-map-cap { animation: copy-in 1s var(--ease-out) 2s backwards; }
}

@media (max-width: 1240px) {
  .gyms { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .guides { grid-template-columns: 1fr 1fr; }
  .feature { grid-column: 1 / -1; min-height: 340px; }
}
@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; padding-top: 24px; }
  .hero-copy { max-width: 640px; }
  .hsearch { width: 100%; }
  .hero-map { width: min(760px, 100%); margin: -10px auto 0; }
  .hero-map .roria-box { width: 100%; }
  .scene--home { --hx: 50%; }
}
@media (max-width: 760px) {
  .kinds { grid-template-columns: 1fr 1fr; }
  .guides { grid-template-columns: minmax(0, 1fr); }
  .block-head { flex-direction: column; align-items: flex-start; }
  .block-stat { justify-items: start; text-align: left; }
  .rail-ctl { width: 100%; }
  .rail-pos { min-width: 0; margin-right: auto; text-align: left; }
}
@media (max-width: 640px) {
  .hero-title { font-size: clamp(50px, 14.5vw, 64px); }
  .hero-lede { font-size: 15.5px; }
  .hsearch { height: 58px; margin-top: 26px; padding-left: 16px; }
  .hsearch-go { height: 46px; padding: 0 16px; }
  .hsearch input { font-size: 15px; }
  .hero-map { width: auto; margin-inline: calc(-1 * var(--gutter)); }
  .hero-map .pin-label { font-size: 20px; stroke-width: 4px; }
  .hero-map .pin--main .pin-body { transform: scale(1.8); }
  .hero-map-cap { position: static; justify-items: start; margin: 4px var(--gutter) 0; text-align: left; }
  .jrail { grid-auto-columns: 220px; }
  .kinds { gap: 10px; }
  .kind { min-height: 0; padding: 18px 16px; }
  .kind-n { font-size: 46px; }
  .kind-name { font-size: 22px; }
  .kind-text { display: none; }
  .gyms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-text strong { font-size: 38px; }
}
@media (max-width: 760px) {
  .hero { padding-top: 4px; padding-bottom: 32px; }
  .hero-copy { padding-block: 12px 0; }
  .hero-title { margin-top: 16px; }
  .hero-lede { margin-top: 12px; }
  .hsearch { margin-top: 22px; padding-block: 6px; }
  .hsearch-go { background: linear-gradient(180deg, #fff, var(--peach) 70%, #ffc9b0); box-shadow: inset 0 1px 0 #fff, 0 0 22px -6px rgba(252, 115, 77, .8); color: #160b10; }
  .hdoors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
  .hdoor {
    --c: 127, 210, 246;
    display: grid;
    justify-items: center;
    gap: 8px;
    min-width: 0;
    color: rgba(226, 232, 246, .9);
    font: 400 12.5px/1.2 var(--mono);
    letter-spacing: .02em;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }
  .hdoor--pokeball { --c: 252, 115, 77; }
  .hdoor--bag { --c: 255, 196, 96; }
  .hdoor--book { --c: 164, 146, 255; }
  .hdoor-arch {
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 64px;
    height: 70px;
    border: 1px solid rgba(var(--c), .55);
    border-radius: 32px 32px 14px 14px;
    background:
      radial-gradient(90% 52% at 50% 100%, rgba(var(--c), .55) 0%, rgba(var(--c), .14) 60%, rgba(var(--c), 0) 100%),
      linear-gradient(180deg, #070c1e, #0c1328);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .05), 0 0 18px rgba(var(--c), .22);
    color: #fff;
    transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-mid) var(--ease-out), scale var(--t-mid) var(--ease-spring);
  }
  .hdoor-ico { width: 24px; height: 24px; fill: currentColor; filter: drop-shadow(0 0 6px rgba(var(--c), .85)); }
  .hdoor:active .hdoor-arch { border-color: rgba(var(--c), .95); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 14px rgba(var(--c), .3), 0 0 26px rgba(var(--c), .5); scale: .96; transition-duration: 80ms; }
  .hdoor:active { color: #fff; }
  .hdoor:focus-visible { outline: none; }
  .hdoor:focus-visible .hdoor-arch { outline: 2px solid var(--cyan); outline-offset: 3px; }
  .tries { margin-top: 22px; }
  .try { height: 44px; }
  .hero-map-cap a { height: 44px; }
  .hero-map-cap > span { font-size: 12px; }
  .page { gap: 72px; padding-top: 40px; }
  .block-head h2 { font-size: clamp(34px, 10vw, 40px); }
  .block-stat strong { font-size: 40px; }
  .stop-ch, .stop-n, .kind-go, .gym-no, .gym-where span, .feature-kick { font-size: 12px; }
}
@media (max-width: 400px) {
  .hsearch { gap: 10px; padding-left: 14px; }
  .hsearch-go { padding: 0 14px; font-size: 13px; }
  .hsearch input { font-size: 14.5px; }
}
