@charset "UTF-8";
@font-face {
  font-family: "Kaisei Tokumin";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/kaisei-tokumin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Kaisei Tokumin";
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/kaisei-tokumin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Kaisei Tokumin";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/kaisei-tokumin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Saira Condensed";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/saira-condensed-400.woff2") format("woff2");
}
@font-face {
  font-family: "Saira Condensed";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/saira-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Saira Stencil One";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/saira-stencil-one-400.woff2") format("woff2");
}
html {
  font-size: clamp(0.625rem, 0.78vw, 1.25rem);
}

:root {
  /* === 色 ===================== */
  --primary-color: #E58A3A;
  --secondary-color: rgba(14, 15, 16, .72);
  --color-sub-2: #A7ABAD;
  --color-main: #E8E6E0;
  --color-bg-main: #0E0F10;
  --color-line: rgba(232, 230, 224, .22);
  --color-line-strong: rgba(232, 230, 224, .55);
  --color-ink: #141414;
  /* === タイポグラフィ ====== */
  --font-base: "Kaisei Tokumin", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Saira Condensed", "Kaisei Tokumin", sans-serif;
  --font-sign: "Sign Serif", "Noto Serif TC", "Hiragino Mincho ProN", serif;
  --font-stencil: "Saira Stencil One", "Saira Condensed", sans-serif;
  --f-size-base: 1.6rem;
  --f-size-s: 1.4rem;
  --f-ui: 1.2rem;
  --l-height-base: 1.8;
  --l-spacing: .04em;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --hud-gap: 2.4rem;
  --panel-w: 22rem;
  --bw: 1px;
  /* === 鉄屑とネオン(ユーザー指示: UIも鉄屑の材質とネオンで) === */
  --neon: #FFB36B;
  --neon-glow: rgba(255, 112, 24, .7);
  --neon-red: #FF4B3A;
  --steel: url("../img/common/ui-steel.webp");
  --rust: url("../img/common/ui-rust.webp");
  --rivet: radial-gradient(circle at 38% 34%, #b9b1a4 0, #6f665c 32%, #2a2622 62%, rgba(0, 0, 0, 0) 70%);
  --bevel: inset 0 1px 0 rgba(255, 240, 220, .14), inset 0 -1px 0 rgba(0, 0, 0, .6), inset 1px 0 0 rgba(255, 240, 220, .06), inset -1px 0 0 rgba(0, 0, 0, .5);
}
@media (max-width: 767px) {
  :root {
    --hud-gap: 1.4rem;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, fieldset {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

fieldset {
  padding: 0;
  border: 0;
  min-width: 0;
}

img, video, canvas, svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

table {
  border-collapse: collapse;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  font-family: var(--font-base);
  font-size: var(--f-size-base);
  line-height: var(--l-height-base);
  letter-spacing: var(--l-spacing);
  color: var(--color-main);
  background: var(--color-bg-main);
  word-break: break-word;
  overflow-wrap: break-word;
  line-break: strict;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  word-break: auto-phrase;
  overflow-wrap: anywhere;
  font-feature-settings: "palt";
  font-weight: 500;
}

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

.c-skip {
  position: fixed;
  left: 1.6rem;
  top: 1.6rem;
  z-index: 100;
  padding: 0.8rem 1.6rem;
  background: var(--primary-color);
  color: var(--color-ink);
  text-decoration: none;
  transform: translateY(-200%);
}
.c-skip:focus-visible {
  transform: none;
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  margin-right: 0.4rem;
  padding: 0 0.4rem;
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-main);
  border: var(--bw) solid var(--color-line-strong);
  border-radius: 0.2rem;
}

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 4.4rem;
  padding: 0.6rem 2.4rem;
  font-family: var(--font-base);
  font-size: var(--f-size-s);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--color-main);
  border: 0;
  border-radius: 0.2rem;
  background: linear-gradient(rgba(30, 28, 26, 0.5), rgba(8, 8, 8, 0.7)), var(--steel) center/24rem;
  box-shadow: var(--bevel); /* shadow-ok: 鉄板の面取り(立体の縁) */
}
.c-btn__en {
  font-family: var(--font-stencil);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--color-sub-2);
}
.c-btn--primary {
  color: #FFE7CF;
  outline: 1px solid var(--neon);
  outline-offset: -3px;
  box-shadow: var(--bevel), 0 0 0.6rem var(--neon-glow), inset 0 0 0.8rem rgba(255, 112, 24, 0.3); /* shadow-ok: ユーザー指示(ネオン) */
}

.c-range {
  --fill: 50%;
  display: grid;
  grid-template-areas: "label" "bar";
  margin-block: 0.6rem;
}
.c-range__label {
  grid-area: label;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  font-size: var(--f-ui);
  color: var(--color-sub-2);
}
.c-range__value {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--neon);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 0.3rem var(--neon-glow), 0 0 1rem rgba(255, 90, 10, 0.45); /* shadow-ok: ユーザー指示(ネオン) */
}
.c-range__track {
  grid-area: bar;
  align-self: center;
  position: relative;
  height: 0.4rem;
  border-radius: 0.2rem;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8); /* shadow-ok: 溝 */
  pointer-events: none;
}
.c-range__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill);
  border-radius: 0.2rem;
  background: var(--neon);
  box-shadow: 0 0 0.25rem var(--neon), 0 0 0.8rem var(--neon-glow), 0 0 1.8rem rgba(255, 90, 10, 0.35); /* shadow-ok: ユーザー指示(ネオン) */
}
.c-range__input {
  grid-area: bar;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 2.6rem;
  margin: 0;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.c-range__input::-webkit-slider-runnable-track {
  height: 2.6rem;
  background: transparent;
}
.c-range__input::-moz-range-track {
  height: 2.6rem;
  background: transparent;
}
.c-range__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 2.2rem;
  height: 2.2rem;
  margin-top: 0.2rem;
  border: 0;
  border-radius: 50%;
  background: url("../img/common/ui-knob.png") center/cover no-repeat;
}
.c-range__input::-moz-range-thumb {
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 50%;
  background: url("../img/common/ui-knob.png") center/cover no-repeat;
}

.c-seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0.3rem;
  margin-block: 0.4rem;
}
.c-seg__btn {
  position: relative;
  min-height: 3.4rem;
  padding: 0.2rem 0.4rem;
  font-size: var(--f-ui);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-sub-2);
  border: 0;
  border-radius: 0.2rem;
  background: linear-gradient(rgba(40, 36, 32, 0.35), rgba(6, 6, 6, 0.65)), var(--steel) center/18rem;
  box-shadow: var(--bevel); /* shadow-ok: 鉄板の面取り */
  transition: color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.c-seg__btn:hover {
  color: var(--color-main);
}
.c-seg__btn[aria-checked=true], .c-seg__btn.is-on {
  color: #FFE2C4;
  box-shadow: var(--bevel), inset 0 0 0 1px var(--neon), 0 0 0.5rem var(--neon-glow), inset 0 0 0.8rem rgba(255, 112, 24, 0.35); /* shadow-ok: ユーザー指示(ネオン) */
  text-shadow: 0 0 0.4rem var(--neon-glow); /* shadow-ok: ユーザー指示(ネオン) */
}

.p-city-head {
  position: fixed;
  top: var(--hud-gap);
  left: var(--hud-gap);
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-out);
}
.p-city-head__logo {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  font-weight: 400;
}
.p-city-head__slot {
  display: block;
  width: 20rem;
  aspect-ratio: 2;
}
.is-logo-img .p-city-head__slot {
  background: url("../img/common/title-logo.webp") center/contain no-repeat;
}
.p-city-head__en {
  font-family: var(--font-stencil);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--color-sub-2);
  text-align: center;
}
.p-city-head__year {
  color: var(--neon);
  text-shadow: 0 0 0.3rem var(--neon-glow); /* shadow-ok: ユーザー指示(ネオン) */
}
.is-title .p-city-head, .is-atlas .p-city-head {
  opacity: 0;
}
@media (max-width: 767px) {
  .p-city-head__slot {
    width: 13rem;
  }
  .p-city-head__en {
    font-size: 1.2rem;
    letter-spacing: 0.06em;
  }
}

.p-city-main {
  position: fixed;
  inset: 0;
}

.p-city-stage {
  position: absolute;
  inset: 0;
  background: #070808;
  touch-action: none;
  cursor: grab;
}
.p-city-stage:active {
  cursor: grabbing;
}
.p-city-stage .c-stage__canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.p-city-reticle {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 2.6rem;
  height: 2.6rem;
  margin: -1.3rem 0 0 -1.3rem;
  pointer-events: none;
  border: 1.5px solid rgba(232, 230, 224, 0.3);
  border-radius: 50%;
  transition: border-color 0.15s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.p-city-reticle__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.3rem;
  height: 0.3rem;
  margin: -0.15rem 0 0 -0.15rem;
  border-radius: 50%;
  background: rgba(232, 230, 224, 0.6);
}
.p-city-reticle.is-on {
  border-color: var(--neon);
  transform: scale(1.2);
  box-shadow: 0 0 0.6rem var(--neon-glow), inset 0 0 0.4rem var(--neon-glow); /* shadow-ok: ユーザー指示(ネオン) */
}
.p-city-reticle.is-on .p-city-reticle__dot {
  background: var(--neon);
}
.p-city-reticle.is-pov {
  width: 1.6rem;
  height: 1.6rem;
  margin: -0.8rem 0 0 -0.8rem;
}
.p-city-reticle__ring {
  --c: 0;
  position: absolute;
  inset: -0.7rem;
  border-radius: 50%;
  background: conic-gradient(var(--neon) calc(var(--c) * 1turn), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  filter: drop-shadow(0 0 0.3rem var(--neon-glow)); /* shadow-ok: ユーザー指示(ネオン) */
}
.is-title .p-city-reticle {
  opacity: 0;
}

.p-city-noscript {
  position: fixed;
  inset: auto 0 40%;
  text-align: center;
}

.p-city-loading {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2.4rem;
  padding: 2rem;
  background: radial-gradient(ellipse at 50% 40%, #1b1714, #070707 70%);
  transition: opacity 1s var(--ease-out), visibility 1s;
}
.p-city-loading.is-done {
  opacity: 0;
  visibility: hidden;
}
.p-city-loading__logo img {
  width: min(34rem, 62vw);
  height: auto;
  filter: drop-shadow(0 0 2.4rem rgba(255, 120, 40, 0.18)); /* shadow-ok: ユーザー指示(ネオン) */
}
.p-city-loading__tube {
  position: relative;
  width: min(40rem, 70vw);
  height: 0.6rem;
  border-radius: 0.3rem;
  background: rgba(0, 0, 0, 0.7);
  box-shadow: inset 0 1px 2px #000, 0 0 0 1px rgba(232, 230, 224, 0.12); /* shadow-ok: 管の溝 */
}
.p-city-loading__fill {
  position: absolute;
  inset: 0.1rem auto 0.1rem 0.1rem;
  width: 0;
  border-radius: 0.2rem;
  background: #FFE2C4;
  box-shadow: 0 0 0.3rem var(--neon), 0 0 1rem var(--neon-glow), 0 0 2.4rem rgba(255, 90, 10, 0.5); /* shadow-ok: ユーザー指示(ネオン) */
  transition: width 0.35s var(--ease-out);
}
.p-city-loading__text {
  font-family: var(--font-base);
  font-size: var(--f-size-s);
  letter-spacing: 0.12em;
  color: var(--color-main);
}
.p-city-loading__tip {
  max-width: 44rem;
  min-height: 4.8rem;
  font-size: var(--f-ui);
  line-height: 1.8;
  color: var(--color-sub-2);
  text-align: center;
}

.p-city-title {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: end center;
  padding-bottom: clamp(4rem, 12vh, 12rem);
  pointer-events: none;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.55));
}
.p-city-title__logo {
  position: absolute;
  left: 50%;
  top: 14vh;
  width: min(110rem, 92vw);
  aspect-ratio: 4.05;
  transform: translateX(-50%);
}
.p-city-title__inner {
  display: grid;
  justify-items: center;
  gap: 1.8rem;
  pointer-events: auto;
  animation: p-city-title-in 1.2s var(--ease-out) 0.3s both;
}
.p-city-title__sub {
  display: flex;
  gap: 1.2rem;
  font-family: var(--font-stencil);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--color-main);
}
.p-city-title__year {
  color: var(--neon);
  text-shadow: 0 0 0.4rem var(--neon-glow), 0 0 1.2rem rgba(255, 90, 10, 0.5); /* shadow-ok: ユーザー指示(ネオン) */
}
.p-city-title__lead {
  font-size: var(--f-size-base);
  letter-spacing: 0.12em;
  color: var(--color-main);
  text-shadow: 0 1px 4px #000; /* shadow-ok: 3Dの上の文字を読ませる */
}
.p-city-title__menu {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.p-city-title__btn {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.1rem;
  min-width: 16rem;
  min-height: 5.6rem;
  padding: 0.8rem 2rem;
  border: 0;
  border-radius: 0.2rem;
  color: var(--color-main);
  background: var(--rivet) left 0.5rem top 0.5rem/0.8rem 0.8rem no-repeat, var(--rivet) right 0.5rem top 0.5rem/0.8rem 0.8rem no-repeat, var(--rivet) left 0.5rem bottom 0.5rem/0.8rem 0.8rem no-repeat, var(--rivet) right 0.5rem bottom 0.5rem/0.8rem 0.8rem no-repeat, linear-gradient(rgba(36, 32, 28, 0.55), rgba(6, 6, 6, 0.8)), var(--steel) center/26rem;
  box-shadow: var(--bevel), 0 0.6rem 1.6rem rgba(0, 0, 0, 0.5); /* shadow-ok: 鉄板の厚み */
  transition: box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.p-city-title__btn-zh {
  font-size: var(--f-size-s);
  font-weight: 500;
  letter-spacing: 0.14em; /* ja-ok: 和文ボタン名の可読性 */
}
.p-city-title__btn-en {
  font-family: var(--font-stencil);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--color-sub-2);
}
.p-city-title__btn:hover, .p-city-title__btn:focus-visible {
  transform: translateY(-0.2rem);
  box-shadow: var(--bevel), inset 0 0 0 1px var(--neon), 0 0 0.8rem var(--neon-glow), 0 0.8rem 2rem rgba(0, 0, 0, 0.5); /* shadow-ok: ユーザー指示(ネオン) */
}
.p-city-title__btn--go {
  min-width: 22rem;
  box-shadow: var(--bevel), inset 0 0 0 1px var(--neon), 0 0 0.8rem var(--neon-glow), inset 0 0 1.2rem rgba(255, 112, 24, 0.3), 0 0.6rem 1.6rem rgba(0, 0, 0, 0.5); /* shadow-ok: ユーザー指示(ネオン) */
}
.p-city-title__btn--go .p-city-title__btn-zh {
  color: #FFE7CF;
  font-size: 1.7rem;
  text-shadow: 0 0 0.5rem var(--neon-glow); /* shadow-ok: ユーザー指示(ネオン) */
}
.p-city-title__btn--go .p-city-title__btn-en {
  color: var(--neon);
}
.p-city-title__howto {
  padding: 1.6rem 2.4rem;
  background: linear-gradient(rgba(10, 10, 10, 0.78), rgba(10, 10, 10, 0.86)), var(--steel) center/30rem;
  border-radius: 0.2rem;
  box-shadow: var(--bevel); /* shadow-ok: 鉄板 */
}
.p-city-title__keys {
  display: grid;
  gap: 0.6rem;
  font-size: var(--f-ui);
  color: var(--color-sub-2);
}
.p-city-title__keys li {
  display: grid;
  grid-template-columns: 22rem 1fr;
  align-items: center;
  gap: 1.2rem;
}
.p-city-title__key {
  color: var(--color-main);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem;
}
.p-city-title__press {
  font-family: var(--font-stencil);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--neon-red);
  text-shadow: 0 0 0.4rem var(--neon-red), 0 0 1.2rem rgba(255, 60, 40, 0.6); /* shadow-ok: ユーザー指示(ネオン) */
  animation: p-city-flicker 4s steps(1) infinite;
}
@media (max-width: 767px) {
  .p-city-title__btn {
    min-width: 12rem;
  }
  .p-city-title__keys li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@keyframes p-city-title-in {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
}
@keyframes p-city-flicker {
  0%, 18%, 22%, 61%, 63%, 100% {
    opacity: 1;
  }
  20%, 62% {
    opacity: 0.25;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-city-title__press {
    animation: none;
  }
}
.p-city-panel {
  position: fixed;
  top: var(--hud-gap);
  right: var(--hud-gap);
  z-index: 12;
  width: 26rem;
  outline: none;
  max-height: calc(100dvh - var(--hud-gap) * 2);
  animation: p-city-panel-in 0.45s var(--ease-out) both;
}
.p-city-panel__frame {
  display: flex;
  flex-direction: column;
  max-height: inherit;
  border-radius: 0.3rem;
  background: var(--rivet) left 0.6rem top 0.6rem/1rem 1rem no-repeat, var(--rivet) right 0.6rem top 0.6rem/1rem 1rem no-repeat, var(--rivet) left 0.6rem bottom 0.6rem/1rem 1rem no-repeat, var(--rivet) right 0.6rem bottom 0.6rem/1rem 1rem no-repeat, linear-gradient(rgba(14, 13, 12, 0.74), rgba(10, 10, 10, 0.86)), var(--steel) center/32rem;
  box-shadow: var(--bevel), 0 1.2rem 3rem rgba(0, 0, 0, 0.55); /* shadow-ok: 鉄板の厚みと浮き */
}
.p-city-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.8rem 0.4rem 2rem;
}
.p-city-panel__name {
  display: grid;
  font-size: var(--f-ui);
  font-weight: 500;
  letter-spacing: 0.3em; /* ja-ok: 和文見出しの字間 */
  color: var(--color-sub-2);
  line-height: 1.3;
}
.p-city-panel__name-en {
  font-family: var(--font-stencil);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-main);
}
.p-city-panel__close {
  position: relative;
  width: 4rem;
  height: 4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: url("../img/common/ui-knob.png") center/2.8rem no-repeat;
}
.p-city-panel__close::before, .p-city-panel__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.2rem;
  height: 0.2rem;
  margin: -0.1rem 0 0 -0.6rem;
  background: var(--neon);
  box-shadow: 0 0 0.3rem var(--neon-glow); /* shadow-ok: ユーザー指示(ネオン) */
  transform: rotate(45deg);
}
.p-city-panel__close::after {
  transform: rotate(-45deg);
}
.p-city-panel__body {
  overflow-y: auto;
  padding: 0 2rem 1.8rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 230, 224, 0.4) transparent;
}
.p-city-panel__ttl {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 1.4rem 0 0.2rem;
  font-size: var(--f-ui);
  font-weight: 500;
  color: var(--color-main);
}
.p-city-panel__ttl span {
  font-family: var(--font-stencil);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--color-sub-2);
}
.p-city-panel__time {
  margin-top: 0.6rem;
}
.p-city-panel__note {
  margin-top: 0.8rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-sub-2);
}
@media (max-width: 767px) {
  .p-city-panel {
    width: calc(100vw - var(--hud-gap) * 2);
    max-height: 70dvh;
  }
}

@keyframes p-city-panel-in {
  from {
    opacity: 0;
    transform: translateX(3rem);
  }
}
.p-city-gear {
  position: fixed;
  top: calc(var(--hud-gap) + 20.4rem);
  right: calc(var(--hud-gap) + 0.4rem);
  z-index: 6;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: url("../img/common/ui-knob.png") center/4.4rem no-repeat;
}
.p-city-gear::before {
  content: "";
  position: absolute;
  inset: 1.1rem;
  border-radius: 50%;
  border: 0.3rem dotted var(--neon);
  filter: drop-shadow(0 0 0.3rem var(--neon-glow)); /* shadow-ok: ユーザー指示(ネオン) */
  transition: transform 0.4s var(--ease-out);
}
.p-city-gear:hover::before {
  transform: rotate(60deg);
}
@media (max-width: 767px) {
  .p-city-gear {
    top: calc(var(--hud-gap) + 14.8rem);
  }
}

.p-city-mute {
  position: fixed;
  top: calc(var(--hud-gap) + 25.6rem);
  right: calc(var(--hud-gap) + 0.4rem);
  z-index: 6;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: url("../img/common/ui-knob.png") center/4.4rem no-repeat;
}
.p-city-mute::before {
  content: "";
  position: absolute;
  inset: 1.3rem 1.5rem 1.3rem 1.2rem;
  background: var(--neon);
  clip-path: polygon(0 32%, 35% 32%, 80% 0, 80% 100%, 35% 68%, 0 68%);
  filter: drop-shadow(0 0 0.3rem var(--neon-glow)); /* shadow-ok: ユーザー指示(ネオン) */
}
.p-city-mute[aria-pressed=true]::before {
  background: rgba(232, 230, 224, 0.35);
  filter: none;
}
.p-city-mute[aria-pressed=true]::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 50%;
  height: 0.2rem;
  background: var(--neon-red);
  transform: rotate(-35deg);
}
@media (max-width: 767px) {
  .p-city-mute {
    top: calc(var(--hud-gap) + 20rem);
  }
}
.is-title .p-city-mute {
  opacity: 0;
  pointer-events: none;
}

.p-city-map {
  position: fixed;
  top: var(--hud-gap);
  right: var(--hud-gap);
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  pointer-events: none;
}
.p-city-map__bezel {
  position: relative;
  display: block;
  width: 16rem;
  height: 16rem;
  border: 0;
  border-radius: 50%;
  padding: 1rem;
  pointer-events: auto;
  cursor: pointer;
  background: var(--rivet) 50% 0.1rem/1rem 1rem no-repeat, var(--rivet) 50% calc(100% - 0.1rem)/1rem 1rem no-repeat, var(--rivet) 0.1rem 50%/1rem 1rem no-repeat, var(--rivet) calc(100% - 0.1rem) 50%/1rem 1rem no-repeat, linear-gradient(145deg, rgba(255, 240, 220, 0.12), rgba(0, 0, 0, 0.55)), var(--steel) center/20rem;
  box-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(0, 0, 0, 0.6); /* shadow-ok: 鉄の縁の厚み */
  transition: transform 0.2s var(--ease-out);
}
.p-city-map__bezel:hover {
  transform: scale(1.03);
}
.p-city-map__canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #10203d;
  box-shadow: inset 0 0 1.2rem rgba(0, 0, 0, 0.9), 0 0 0 2px rgba(255, 179, 107, 0.55), 0 0 0.8rem var(--neon-glow); /* shadow-ok: ユーザー指示(ネオン) */
}
.p-city-map__north {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2rem;
  height: 2rem;
  margin: -1rem 0 0 -1rem;
  display: grid;
  place-items: center;
  font-family: var(--font-stencil);
  font-size: 1.2rem;
  color: var(--neon-red);
  text-shadow: 0 0 0.3rem var(--neon-red); /* shadow-ok: ユーザー指示(ネオン) */
}
.p-city-map__clock {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.2rem 1.2rem;
  border-radius: 0.2rem;
  background: rgba(8, 8, 8, 0.6);
  box-shadow: var(--bevel); /* shadow-ok: 鉄板 */
}
.p-city-map__time {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: #FFE2C4;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 0.3rem var(--neon), 0 0 1rem var(--neon-glow); /* shadow-ok: ユーザー指示(ネオン) */
}
.p-city-map__weather {
  font-size: var(--f-ui);
  color: var(--color-sub-2);
}
.is-title .p-city-map {
  opacity: 0;
}
@media (max-width: 767px) {
  .p-city-map__bezel {
    width: 11rem;
    height: 11rem;
    padding: 0.7rem;
  }
  .p-city-map__time {
    font-size: 1.6rem;
  }
}

.p-city-place {
  position: fixed;
  left: 50%;
  top: 12%;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.p-city-place.is-on {
  opacity: 1;
  animation: p-city-place-on 0.9s steps(1) both;
}
.p-city-place__zh {
  font-family: var(--font-sign);
  font-size: 4.4rem;
  font-weight: 900;
  letter-spacing: 0.3em; /* ja-ok: ネオン看板の和文の字間 */
  padding-left: 0.3em;
  color: #FFF0E6;
  text-shadow: 0 0 0.2rem #fff, 0 0 0.6rem var(--neon-red), 0 0 1.6rem var(--neon-red), 0 0 3.6rem rgba(255, 60, 40, 0.6); /* shadow-ok: ユーザー指示(ネオン) */
}
.p-city-place__en {
  font-family: var(--font-stencil);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  padding-left: 0.06em;
  color: var(--color-main);
  text-shadow: 0 1px 3px #000; /* shadow-ok: 文字を読ませる */
}

@keyframes p-city-place-on {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  16% {
    opacity: 0.2;
  }
  24% {
    opacity: 1;
  }
  30% {
    opacity: 0.5;
  }
  36%, 100% {
    opacity: 1;
  }
}
.p-city-help {
  position: fixed;
  left: calc(var(--hud-gap) + 17rem);
  bottom: calc(var(--hud-gap) + env(safe-area-inset-bottom));
  z-index: 4;
  pointer-events: none;
  max-width: calc(100vw - 57rem);
}
.p-city-help__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.6rem;
  font-size: var(--f-ui);
  color: var(--color-sub-2);
  text-shadow: 0 1px 3px #000; /* shadow-ok: 3Dの上の文字 */
}
.p-city-help__line span {
  display: inline-flex;
  align-items: center;
}
.p-city-help__line kbd {
  margin-right: 0.2rem;
  background: linear-gradient(rgba(40, 36, 32, 0.5), rgba(8, 8, 8, 0.8)), var(--steel) center/8rem;
  border: 0;
  box-shadow: var(--bevel); /* shadow-ok: 鉄の札 */
}
.p-city-help__line kbd:last-of-type {
  margin-right: 0.5rem;
}
.is-title .p-city-help {
  opacity: 0;
}
@media (pointer: coarse) {
  .p-city-help {
    display: none;
  }
}
@media (max-width: 767px) {
  .p-city-help {
    display: none;
  }
}

.p-city-pad {
  position: fixed;
  right: var(--hud-gap);
  bottom: calc(var(--hud-gap) + env(safe-area-inset-bottom));
  z-index: 5;
  width: 30rem;
  height: 18rem;
  pointer-events: none;
}
.is-title .p-city-pad {
  opacity: 0;
  pointer-events: none;
}
.p-city-pad__stick {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  pointer-events: auto;
  touch-action: none;
  cursor: grab;
  background: var(--rivet) 50% 0.3rem/0.9rem 0.9rem no-repeat, var(--rivet) 50% calc(100% - 0.3rem)/0.9rem 0.9rem no-repeat, var(--rivet) 0.3rem 50%/0.9rem 0.9rem no-repeat, var(--rivet) calc(100% - 0.3rem) 50%/0.9rem 0.9rem no-repeat, radial-gradient(circle, rgba(6, 6, 6, 0.7) 52%, transparent 53%), linear-gradient(145deg, rgba(255, 240, 220, 0.1), rgba(0, 0, 0, 0.5)), var(--steel) center/18rem;
  box-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.6); /* shadow-ok: 鉄の輪の厚み */
}
.p-city-pad__stick.is-on {
  cursor: grabbing;
}
.p-city-pad__ring {
  position: absolute;
  inset: 2.6rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 179, 107, 0.45);
  box-shadow: 0 0 0.5rem var(--neon-glow), inset 0 0 0.5rem var(--neon-glow); /* shadow-ok: ユーザー指示(ネオン) */
}
.is-on > .p-city-pad__ring {
  border-color: var(--neon);
}
.p-city-pad__knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6rem;
  height: 6rem;
  margin: -3rem 0 0 -3rem;
  border-radius: 50%;
  background: url("../img/common/ui-knob.png") center/cover no-repeat;
  filter: drop-shadow(0 0.4rem 0.6rem rgba(0, 0, 0, 0.6)); /* shadow-ok: スティックのつまみの浮き(機能的浮遊) */
  transition: transform 0.12s var(--ease-out);
}
.p-city-pad__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 6.4rem;
  height: 6.4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  pointer-events: auto;
  touch-action: none;
  background: radial-gradient(circle, rgba(8, 8, 8, 0.78) 58%, transparent 60%), linear-gradient(145deg, rgba(255, 240, 220, 0.14), rgba(0, 0, 0, 0.5)), var(--steel) center/12rem;
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.5), inset 0 0 0 1.5px rgba(255, 179, 107, 0.5); /* shadow-ok: 鉄の縁+ネオン(ユーザー指示) */
  transition: transform 0.1s var(--ease-out), box-shadow 0.15s;
}
.p-city-pad__btn:active, .p-city-pad__btn.is-on {
  transform: scale(0.94);
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.5), inset 0 0 0 2px var(--neon), 0 0 1rem var(--neon-glow); /* shadow-ok: ユーザー指示(ネオン) */
}
.p-city-pad__btn--jump {
  right: 16.4rem;
  bottom: 0.2rem;
  width: 8.4rem;
  height: 8.4rem;
}
.p-city-pad__btn--leap {
  right: 19.6rem;
  bottom: 9.4rem;
}
.p-city-pad__btn--cam {
  right: 13.2rem;
  bottom: 11.6rem;
  width: 5.2rem;
  height: 5.2rem;
}
.p-city-pad__btn--drop {
  right: 25rem;
  bottom: 1rem;
  width: 5.2rem;
  height: 5.2rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s var(--ease-out), visibility 0.2s;
}
.is-wall > .p-city-pad__btn--drop {
  visibility: visible;
  opacity: 1;
}
.p-city-pad--turn {
  right: auto;
  left: var(--hud-gap);
  bottom: calc(var(--hud-gap) + env(safe-area-inset-bottom));
  width: 15rem;
  height: 15rem;
}
.p-city-pad--turn .p-city-pad__stick {
  right: auto;
  left: 0;
}
.p-city-pad__name {
  position: absolute;
  left: 0;
  right: 0;
  top: 0.9rem;
  font-size: 1.2rem;
  text-align: center;
  color: var(--color-sub-2);
}
.p-city-pad__label {
  position: relative;
  font-size: var(--f-ui);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #FFE2C4;
  text-shadow: 0 0 0.4rem var(--neon-glow); /* shadow-ok: ユーザー指示(ネオン) */
}
.p-city-pad__charge {
  --c: 0;
  position: absolute;
  inset: 0.3rem;
  border-radius: 50%;
  background: conic-gradient(var(--neon) calc(var(--c) * 1turn), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
}
@media (max-width: 767px) {
  .p-city-pad {
    width: 24rem;
    height: 15rem;
  }
  .p-city-pad__stick {
    width: 12.4rem;
    height: 12.4rem;
  }
  .p-city-pad__knob {
    width: 5rem;
    height: 5rem;
    margin: -2.5rem 0 0 -2.5rem;
  }
  .p-city-pad__btn--jump {
    right: 13.6rem;
    width: 7.2rem;
    height: 7.2rem;
  }
  .p-city-pad__btn--leap {
    right: 15.6rem;
    bottom: 8.2rem;
    width: 5.6rem;
    height: 5.6rem;
  }
  .p-city-pad__btn--cam {
    right: 10.8rem;
    bottom: 9.6rem;
    width: 4.6rem;
    height: 4.6rem;
  }
  .p-city-pad__btn--drop {
    right: 13.8rem;
    bottom: 12.6rem;
    width: 4.6rem;
    height: 4.6rem;
  }
  .p-city-pad--turn {
    width: 12.4rem;
    height: 12.4rem;
    bottom: calc(var(--hud-gap) + env(safe-area-inset-bottom));
  }
}

.p-city-atlas {
  position: fixed;
  inset: 0;
  z-index: 14;
  display: grid;
  place-items: center;
  padding: var(--hud-gap);
  background: rgba(4, 4, 4, 0.62);
}
.p-city-atlas[hidden] {
  display: none;
}
.p-city-atlas__frame {
  display: flex;
  flex-direction: column;
  width: min(120rem, 100%);
  max-height: calc(100dvh - var(--hud-gap) * 2);
  border-radius: 0.3rem;
  background: var(--rivet) left 0.6rem top 0.6rem/1rem 1rem no-repeat, var(--rivet) right 0.6rem top 0.6rem/1rem 1rem no-repeat, var(--rivet) left 0.6rem bottom 0.6rem/1rem 1rem no-repeat, var(--rivet) right 0.6rem bottom 0.6rem/1rem 1rem no-repeat, linear-gradient(rgba(14, 13, 12, 0.82), rgba(10, 10, 10, 0.9)), var(--steel) center/32rem;
  box-shadow: var(--bevel), 0 1.2rem 3rem rgba(0, 0, 0, 0.55); /* shadow-ok: 鉄板の厚みと浮き */
  animation: p-city-atlas-in 0.35s var(--ease-out) both;
}
.p-city-atlas__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.8rem 0.4rem 2.4rem;
}
.p-city-atlas__ttl {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: var(--f-size-base);
  font-weight: 500;
  color: var(--color-main);
}
.p-city-atlas__ttl span {
  font-family: var(--font-stencil);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--color-sub-2);
}
.p-city-atlas__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30rem;
  gap: 2rem;
  min-height: 0;
  padding: 0.8rem 2.4rem 0;
}
.p-city-atlas__map {
  position: relative;
  min-height: 0;
  aspect-ratio: 464/304;
  border-radius: 0.2rem;
  background: #10203d;
  box-shadow: inset 0 0 1.2rem rgba(0, 0, 0, 0.9), 0 0 0 2px rgba(255, 179, 107, 0.45); /* shadow-ok: 図面の枠(ネオン) */
}
.p-city-atlas__canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}
.p-city-atlas__side {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}
.p-city-atlas__list {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-city-atlas__item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: baseline;
  column-gap: 0.8rem;
  width: 100%;
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: 0.2rem;
  text-align: left;
  color: var(--color-main);
  background: rgba(8, 8, 8, 0.45);
  cursor: pointer;
  transition: background 0.15s var(--ease-out);
}
.p-city-atlas__item:hover {
  background: rgba(255, 112, 24, 0.14);
}
.p-city-atlas__item[aria-current=true] {
  background: rgba(255, 112, 24, 0.22);
  outline: 1px solid var(--neon);
  outline-offset: -1px;
}
.p-city-atlas__no {
  grid-row: span 2;
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--neon);
}
.p-city-atlas__zh {
  font-size: var(--f-size-s);
  font-weight: 500;
}
.p-city-atlas__en {
  font-family: var(--font-stencil);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--color-sub-2);
}
.p-city-atlas__detail {
  flex: none;
  padding: 1.2rem 1.4rem;
  border-radius: 0.2rem;
  background: rgba(8, 8, 8, 0.5);
}
.p-city-atlas__dttl {
  display: grid;
  gap: 0.2rem;
  margin: 0 0 0.6rem;
  font-size: 2rem;
  font-weight: 700;
  color: #FFE2C4;
}
.p-city-atlas__den {
  font-family: var(--font-stencil);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-sub-2);
}
.p-city-atlas__desc {
  margin: 0;
  font-size: var(--f-size-s);
  line-height: 1.8;
  color: var(--color-main);
}
.p-city-atlas__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}
.p-city-atlas__msg {
  margin: 0.8rem 0 0;
  font-size: 1.2rem;
  color: var(--neon);
}
.p-city-atlas__note {
  margin: 0;
  padding: 1rem 2.4rem 1.6rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-sub-2);
}
@media (max-width: 767px) {
  .p-city-atlas {
    padding: 0.8rem;
  }
  .p-city-atlas__body {
    grid-template-columns: 1fr;
    padding: 0.4rem 1.2rem 0;
  }
  .p-city-atlas__side {
    max-height: 36dvh;
  }
  .p-city-atlas__head {
    padding: 0.8rem 1rem 0.2rem 1.4rem;
  }
  .p-city-atlas__note {
    padding: 0.8rem 1.4rem 1.2rem;
  }
}

@keyframes p-city-atlas-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
}
