/* MIRTY.WORLD — tour map + BOOKING.PROTOCOL. Selectors prefixed world-/wr-/booking-. */

.world { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.js .screen:not(.in) > .world, .js .screen:not(.in) > .booking { opacity: 0; transform: translateY(24px); }

.world-map { position: relative; border-right: 1px solid var(--line); padding: clamp(10px, 2vw, 22px); display: flex; align-items: center; min-height: 320px;
  background: radial-gradient(circle, rgba(252,252,252,.045) 1px, transparent 1.5px) 0 0 / 14px 14px; }
.world-map > svg, .world-map > noscript img { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 447; }
.world-map path { fill: rgba(252,252,252,.035); stroke: rgba(252,252,252,.5); stroke-width: .55; stroke-linejoin: round; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .2s, stroke .2s; }
.world-map path.world-hot { fill: rgba(252,252,252,.13); stroke: #fff; }
.world-map path.world-sel { fill: rgba(252,252,252,.2); stroke: #fff; }
.world-map .world-lines line { stroke: rgba(252,252,252,.16); stroke-width: .7; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; pointer-events: none; }
.world-map .world-lines line.world-hot { stroke: rgba(252,252,252,.6); }
/* red is used only inside the map, for the signal */
.world-map .world-route { fill: none; stroke: rgba(224,0,0,.22); stroke-width: .8; stroke-dasharray: 1 4; vector-effect: non-scaling-stroke; pointer-events: none; }
.world-map .world-trail { fill: none; stroke: var(--red); stroke-width: 1.4; stroke-linecap: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.world-map .world-dot { fill: var(--red); pointer-events: none; }
.world-map .world-node { fill: #000; stroke: var(--fg); stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; }
.world-map .world-node.world-hot { fill: var(--fg); }
.world-map .world-origin { fill: var(--red); }
.world-map .world-tag { font-family: var(--pixel); font-size: 8px; letter-spacing: .1em; fill: var(--dim); pointer-events: none; }
/* only animate while the section is on screen */

.world-side { padding: clamp(16px, 2.4vw, 26px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.world-status { margin: 0; font-family: var(--mono); font-size: 19px; line-height: 1.45; color: var(--dim); border: 1px solid var(--line); padding: 12px 14px; white-space: pre; overflow-x: auto; }
.world-status b { font-weight: 400; color: var(--fg); }
.world-status b.red { color: var(--red); }
.world-readout { border-left: 2px solid var(--fg); padding: 4px 0 4px 14px; min-height: 92px; }
.world-readout p { margin: 0; }
.wr-k { font-family: var(--pixel); font-size: 9px; letter-spacing: .14em; color: var(--red); }
.wr-h { font-family: var(--serif); font-weight: 700; letter-spacing: .08em; font-size: clamp(20px, 2.4vw, 28px); margin: 6px 0 4px !important; }
.wr-t { font-family: var(--mono); font-size: 18px; color: var(--dim); line-height: 1.35; white-space: pre-line; }
.world-regions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.world-regions button { font-family: var(--pixel); font-size: 9px; letter-spacing: .08em; color: var(--dim); text-align: left; padding: 10px; min-height: 40px; border: 1px solid var(--line); transition: color .15s, border-color .15s, background .1s; }
.world-regions button:hover, .world-regions button:focus-visible { color: var(--fg); border-color: var(--fg); }
.world-regions button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.world-side .fine { margin: 0; }

.booking { max-width: 1200px; margin: 14px auto 0; display: flex; justify-content: space-between; align-items: center; gap: 18px 32px; flex-wrap: wrap; padding: clamp(18px, 3vw, 30px); }
.booking p { margin: 0; }
.booking-k { font-family: var(--pixel); font-size: 9px; letter-spacing: .16em; color: var(--red); }
.booking h3 { margin: 8px 0 6px; font-family: var(--serif); font-weight: 700; letter-spacing: .08em; font-size: clamp(22px, 3vw, 34px); }
.booking-text { font-family: var(--mono); font-size: 19px; color: #cfcfcf; max-width: 52ch; }
.booking-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.booking-soon { font-family: var(--pixel); font-size: 11px; letter-spacing: .16em; border: 1px solid var(--fg); padding: 8px 12px; }
.booking-status { font-family: var(--pixel); font-size: 9px; letter-spacing: .12em; color: var(--dim); display: flex; align-items: center; gap: 8px; }
.booking-dot { width: 7px; height: 7px; background: var(--red); animation: blink 1.4s steps(1) infinite; }
.screen:not(.vis) .booking-dot { animation-play-state: paused; }

@media (max-width: 900px) {
  .world { grid-template-columns: 1fr; }
  .world-map { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; aspect-ratio: 1000 / 447; box-sizing: content-box; }
  .booking-right { align-items: flex-start; }
}
@media (max-width: 560px) {
  .world-status { font-size: 16px; }
  .world-map .world-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .booking-dot { animation: none; }
}
