/* ==========================================================================
   MYSTIC — homepage (v8, "the city")
   One vibe: a dark stage, red light, white type, and the city your scripts
   live in. Shared heads, split words and odometers live in main.css.
   ========================================================================== */

body.home { background: #070606; }
.home .sec { padding-block: clamp(96px, 11vw, 168px); }
.sh-title em, .mh-title em, .fin-title em, .pass-title em { font-style: normal; color: #5f5856; }

/* ---------- masthead ---------- */
.mh { --p: 0; --px: 0; --py: 0; position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; height: calc(100svh - 32px); min-height: 680px; max-height: 1180px; margin-top: -68px; }
.mh-stage { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mh-stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,6,6,.55), transparent 18%, transparent 58%, rgba(7,6,6,.92) 92%, #070606); }
.mh-light { position: absolute; inset: 0; background:
  radial-gradient(30% 44% at calc(50% + var(--px) * 8%) 64%, rgba(229,36,63,.6), transparent 70%),
  radial-gradient(70% 36% at 50% 104%, rgba(229,36,63,.34), transparent 70%),
  radial-gradient(60% 50% at 50% 26%, rgba(255,255,255,.05), transparent 70%); }
.mh-beams { position: absolute; inset: 0; overflow: hidden; }
.mh-beams i { position: absolute; top: -10%; width: 26vw; height: 120%; background: linear-gradient(180deg, rgba(255,90,110,.16), transparent 70%); filter: blur(28px); transform-origin: 50% 0; }
.mh-beams i:first-child { left: 22%; transform: rotate(18deg); animation: sway 9s ease-in-out infinite; }
.mh-beams i:last-child { right: 22%; transform: rotate(-18deg); animation: sway2 11s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(10deg); } }
@keyframes sway2 { 50% { transform: rotate(-9deg); } }
.mh-word { position: absolute; left: 0; right: 0; top: 14%; display: flex; justify-content: center; font: 900 min(27vw, 560px)/.8 var(--brand); letter-spacing: .005em; text-transform: uppercase; user-select: none; }
.mh-l { display: inline-block; overflow: hidden; padding: .04em .004em; transform: translate3d(calc((var(--i) - 2.5) * var(--p) * 4.2vw - var(--px) * 14px), calc(var(--p) * 16vh - var(--py) * 8px), 0); }
.mh-l > span { display: block; color: transparent; background: linear-gradient(180deg, #fff 6%, rgba(255,255,255,.82) 40%, rgba(255,255,255,.07) 86%); -webkit-background-clip: text; background-clip: text; animation: mhRise 1.4s var(--ease-out) both; animation-delay: calc(.08s + var(--i) * .075s); }
@keyframes mhRise { from { transform: translateY(102%); } }
.mh-chars { position: absolute; left: 50%; bottom: -3%; height: min(94%, 1020px); width: auto; max-width: none; transform-origin: 50% 100%; transform: translate3d(calc(-50% + var(--px) * 22px), calc(var(--p) * -9vh + var(--py) * 10px), 0) scale(calc(1 + var(--p) * .07)); filter: blur(0) drop-shadow(0 40px 80px rgba(0,0,0,.6)); -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent 95%); mask-image: linear-gradient(180deg, #000 66%, transparent 95%); animation: mhChars 1.7s var(--ease-out) both .35s; }
@keyframes mhChars { from { opacity: 0; translate: 0 5%; filter: blur(16px) drop-shadow(0 40px 80px rgba(0,0,0,.6)); } }
.mh-ui { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: clamp(40px, 7vh, 72px); opacity: calc(1 - var(--p) * 2.4); transform: translateY(calc(var(--p) * -40px)); }
.mh-copy { max-width: 430px; animation: fadeup 1.1s var(--ease-out) both 1s; }
.mh-kicker { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.mh-title { margin: 0 0 28px; font: 600 clamp(32px, 2.8vw, 46px)/1.04 var(--font); letter-spacing: -.045em; }
.mh-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.mh-now { display: flex; align-items: center; gap: 14px; width: 330px; padding: 10px 16px 10px 10px; border-radius: 18px; background: rgba(14,12,13,.6); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -24px #000; animation: fadeup 1.1s var(--ease-out) both 1.15s; transition: box-shadow .4s, transform .5s var(--ease-out); }
.mh-now:hover { box-shadow: inset 0 0 0 1px var(--red-line), 0 30px 60px -24px #000; transform: translateY(-3px); }
.mh-now img { width: 92px; aspect-ratio: 16/10; object-fit: cover; border-radius: 11px; flex: none; }
.mh-now small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red-hi); }
.mh-now b { display: block; margin-top: 3px; font-size: 15.5px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.mh-now em { display: block; margin-top: 2px; font-style: normal; font-size: 13.5px; color: var(--muted); }
.mh-now .go { margin-left: auto; width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s, transform .5s var(--ease-out); }
.mh-now:hover .go { background: var(--red); box-shadow: none; transform: rotate(-45deg); }
.mh-scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); opacity: calc(1 - var(--p) * 5); animation: fadeup 1s var(--ease-out) both 1.4s; }
.mh-scroll i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.9s var(--ease-out) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- 01 · the map: a tilted 3D city with every script pinned on it ---------- */
@property --fx { syntax: '<number>'; inherits: true; initial-value: 1250; }
@property --fy { syntax: '<number>'; inherits: true; initial-value: 820; }
@property --tilt { syntax: '<angle>'; inherits: true; initial-value: 18deg; }
@property --zoom { syntax: '<number>'; inherits: true; initial-value: .56; }

.city { position: relative; padding-top: clamp(96px, 11vw, 168px); }
.city-head { position: relative; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.city-head .sh-title { font-size: clamp(40px, 4vw, 64px); }
.city-stats { display: flex; gap: clamp(28px, 4vw, 56px); margin: 0; padding-bottom: 10px; }
.city-stats div { display: flex; flex-direction: column-reverse; gap: 8px; }
.city-stats dd { margin: 0; font: 600 clamp(30px, 2.6vw, 40px)/1 var(--font); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.city-stats dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }

.city-frame { position: relative; height: clamp(660px, 86vh, 900px); }
.city-view { position: absolute; inset: 0; overflow: hidden; perspective: 1250px; perspective-origin: 50% 6%; opacity: 0; transition: opacity 1.4s ease; }
.city.live .city-view { opacity: 1; }
.city-view::after { content: ''; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, #070606 0%, rgba(7,6,6,.72) 9%, transparent 28%, transparent 80%, #070606 100%),
  linear-gradient(90deg, #070606 0%, transparent 14%, transparent 86%, #070606 100%); }
.city-cam { --mx: 0; --my: 0; position: absolute; left: 50%; top: 58%; transform-style: preserve-3d; transform: rotateZ(calc(var(--mx) * 4deg)) rotateX(calc(var(--my) * -4deg)); transition: --fx 1.8s var(--ease-out), --fy 1.8s var(--ease-out), --tilt 1.8s var(--ease-out), --zoom 1.8s var(--ease-out); }
.city-plane { position: absolute; left: 0; top: 0; width: 2400px; height: 1500px; transform-origin: 0 0; transform-style: preserve-3d; transform: rotateX(var(--tilt)) scale(var(--zoom)) translate(calc(var(--fx) * -1px), calc(var(--fy) * -1px)); }
.city-map { position: absolute; left: 0; top: 0; width: 2400px; height: 1500px; }

/* GPS route: draws itself from the player to the waypoint, a dot keeps running along it */
.city-route { position: absolute; left: 0; top: 0; width: 2400px; height: 1500px; max-width: none; overflow: visible; pointer-events: none; }
.city-route path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, 6000); stroke-dashoffset: var(--len, 6000); }
.rt-glow { stroke: rgba(229,36,63,.24); stroke-width: 14; }
.rt-line { stroke: var(--red-hi); stroke-width: 4; }
.city-route.draw path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease-out) .3s; }
.rt-dot { fill: #fff; opacity: 0; }
.city-route.draw .rt-dot { opacity: 1; transition: opacity .5s 1.5s; }

/* what lies flat on the map: footprints, the waypoint ripple, the player */
.city-bases i { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: rgba(229,36,63,.5); box-shadow: 0 0 0 5px rgba(229,36,63,.12); }
.city-ring { position: absolute; width: 0; height: 0; }
.city-ring::before, .city-ring::after { content: ''; position: absolute; left: -70px; top: -70px; width: 140px; height: 140px; border-radius: 50%; border: 3px solid var(--red-hi); opacity: 0; }
.city-ring.go::before, .city-ring.go::after { animation: ringOut 2.4s var(--ease-out) .9s infinite; }
.city-ring.go::after { animation-delay: 2.1s; }
@keyframes ringOut { from { transform: scale(.12); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.city-me { position: absolute; width: 0; height: 0; }
.city-me i { position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); box-shadow: 0 0 0 1.5px rgba(255,255,255,.55), 0 0 40px rgba(255,255,255,.3); }
.city-me i::before { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); animation: mePing 2.6s ease-out infinite; }
@keyframes mePing { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.city-me svg { width: 20px; height: 20px; color: #fff; transform: rotate(calc(var(--hd, 0deg) + 45deg)); transition: transform .8s var(--ease-out); filter: drop-shadow(0 0 6px rgba(255,255,255,.6)); }

/* what stands up: one pin per script, always facing the camera */
.city-blips { position: absolute; inset: 0; transform-style: preserve-3d; }
.blip { position: absolute; width: 0; height: 0; transform-origin: 0 0; transform: rotateX(calc(var(--tilt) * -1)) scale(calc(1 / var(--zoom))); cursor: pointer; }
.blip::before { content: ''; position: absolute; left: -1px; bottom: 0; width: 2px; height: 30px; background: linear-gradient(0deg, rgba(255,61,87,0), rgba(255,61,87,.9)); }
.blip-in { position: absolute; left: 0; bottom: 30px; transform-origin: 50% 100%; }
.city:not(.live) .blip-in { opacity: 0; }
.city.live .blip-in { animation: blipIn .9s var(--ease-out) both; animation-delay: calc(.7s + var(--d) * 70ms); }
@keyframes blipIn { from { opacity: 0; transform: translateY(-46px) scale(.4); } }
.blip-pin { position: absolute; left: -18px; bottom: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #ff6b80, var(--red) 58%, #9e1329); color: #fff; box-shadow: 0 0 0 3px rgba(229,36,63,.22), 0 12px 28px -8px rgba(229,36,63,.95); transform: scale(.8); transform-origin: 50% 100%; transition: transform .6s var(--ease-out), box-shadow .4s; }
.blip-pin .ico-sm { width: 17px; height: 17px; }
.blip:hover .blip-pin { transform: scale(.96); }
.blip.on .blip-pin { transform: scale(1.18); box-shadow: 0 0 0 4px #fff, 0 0 0 11px rgba(229,36,63,.32), 0 18px 40px -8px rgba(229,36,63,1); }
.blip-tag { position: absolute; left: 0; bottom: 58px; padding: 7px 12px; border-radius: 10px; background: rgba(10,9,9,.92); box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 30px -10px #000; font-size: 14px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; color: var(--text); opacity: 0; transform: translate(-50%, 8px); transition: opacity .3s, transform .45s var(--ease-out); pointer-events: none; }
.blip:hover .blip-tag, .blip.on .blip-tag { opacity: 1; transform: translate(-50%, 0); }
.blip.off { opacity: .22; filter: grayscale(1); pointer-events: none; }

/* glass panels over the map: legend on the left, waypoint card on the right */
.city-ui { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; pointer-events: none; }
.city-legend, .city-card { pointer-events: auto; border-radius: 22px; background: rgba(12,10,11,.74); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 40px 80px -40px #000; opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.city.live .city-legend { opacity: 1; transform: none; transition-delay: .5s; }
.city.live .city-card { opacity: 1; transform: none; transition-delay: .9s; }
.city-legend { display: flex; flex-direction: column; width: 296px; max-height: calc(100% - 120px); padding: 8px; }
.city-tabs { display: flex; flex: none; gap: 2px; padding: 2px; overflow-x: auto; scrollbar-width: none; }
.city-tabs::-webkit-scrollbar { display: none; }
.city-tabs button { flex: 1 0 auto; height: 34px; padding: 0 9px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--muted); transition: color .25s, background-color .25s; }
.city-tabs button:hover { color: var(--text); }
.city-tabs button[aria-pressed="true"] { background: rgba(255,255,255,.08); color: var(--text); }
.city-list { position: relative; flex: 1; min-height: 0; margin: 6px 0 0; padding: 0; list-style: none; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.city-list::-webkit-scrollbar { display: none; }
.cl { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; height: 44px; padding: 0 12px 0 8px; border-radius: 12px; text-align: left; color: var(--muted); transition: background-color .25s, color .25s, box-shadow .25s; }
.cl-ico { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(229,36,63,.13); color: var(--red-hi); transition: background-color .3s, color .3s, transform .5s var(--ease-out); }
.cl-ico .ico-sm { width: 14px; height: 14px; }
.cl-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.cl-price { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--dim); transition: color .25s; }
.cl:hover { background: rgba(255,255,255,.035); color: var(--text); }
.cl.on { background: rgba(229,36,63,.13); color: var(--text); box-shadow: inset 2px 0 0 var(--red-hi); }
.cl.on .cl-ico { background: var(--red); color: #fff; transform: scale(1.08); }
.cl.on .cl-price { color: var(--text); }
.city-keys { display: flex; flex: none; align-items: center; gap: 6px; margin: 6px 0 0; padding: 12px 8px 4px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.city-keys kbd:nth-of-type(3) { margin-left: 10px; }

.city-card { width: 356px; padding: 8px 8px 18px; }
.cc-way { display: flex; align-items: center; gap: 9px; padding: 4px 6px 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cc-way b { margin-left: auto; font-weight: 600; letter-spacing: .06em; color: var(--red-hi); font-variant-numeric: tabular-nums; }
.cc-pin { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 14px rgba(229,36,63,.7); }
.cc-pin .ico-sm { width: 12px; height: 12px; }
.cc-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; border-radius: 15px; background: #000; }
.cc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.cc-media:hover img { transform: scale(1.04); }
.cc-was { display: flex; align-items: center; gap: 7px; }
.cc-was em { padding: 2px 6px; border-radius: 6px; background: var(--red-soft); color: var(--red-hi); font-size: 12px; font-style: normal; font-weight: 700; }
.cc-body { padding: 16px 8px 0; }
.cc-meta { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.city-card h3 { margin: 8px 0 6px; font: 600 24px/1.1 var(--font); letter-spacing: -.035em; }
.city-card h3 a { transition: color .25s; }
.city-card h3 a:hover { color: var(--red-hi); }
.city-card p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.cc-buy .price { flex-direction: column; align-items: flex-start; gap: 3px; }
.cc-buy .price b { font-size: 26px; }
.cc-buy .price s { font-size: 13px; }
.cc-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; font-size: 12.5px; color: var(--dim); }
.cc-alt > span { margin-right: 2px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cc-alt a { padding: 4px 9px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; color: var(--muted); transition: color .2s, box-shadow .2s; }
.cc-alt a:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--red-line); }
.city-card.swap > * { animation: ccIn .7s var(--ease-out) both; }
.city-card.swap > :nth-child(2) { animation-delay: .06s; }
.city-card.swap > :nth-child(3) { animation-delay: .12s; }
.city-card.swap .cc-media img { animation: ccImg 1.2s var(--ease-out) both; }
@keyframes ccIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes ccImg { from { transform: scale(1.14); filter: blur(8px) brightness(.6); } }

/* ---------- app-window chrome shared by the monitor and #vouches ---------- */
.win { --mx: 50%; --my: 50%; position: relative; overflow: hidden; border-radius: 24px; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255,255,255,.035), transparent 60%), linear-gradient(180deg, #121010, #0b0a0a); box-shadow: inset 0 0 0 1px var(--line-2), 0 60px 120px -60px #000; }
.win-bar { display: flex; align-items: center; gap: 12px; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.win-bar > b { font: 600 12.5px var(--code); color: var(--muted); }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); }

/* ---------- performance: live monitor ---------- */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.why-lede { max-width: 42ch; margin: 24px 0 0; font-size: 17.5px; color: var(--muted); }
.why-switch { position: relative; isolation: isolate; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 32px; padding: 5px; border-radius: 999px; background: #121010; box-shadow: inset 0 0 0 1px var(--line-2); }
.why-switch button { position: relative; z-index: 1; height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); transition: color .4s; }
.why-switch button[aria-pressed="true"] { color: #0b0a0a; }
.why-switch[data-mode="leaked"] button[aria-pressed="true"] { color: #fff; }
.why-switch .knob { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--text); transition: transform .65s var(--ease-out), background-color .4s, box-shadow .4s; }
.why-switch[data-mode="leaked"] .knob { transform: translateX(100%); background: var(--red); box-shadow: 0 10px 30px -10px rgba(229,36,63,.9); }
.why-list { margin: 30px 0 0; padding: 0; list-style: none; }
.why-list li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); animation: fadeup .6s var(--ease-out) both; animation-delay: calc(var(--i) * 70ms); }
.why-list .ico-sm { width: 18px; height: 18px; margin-top: 3px; flex: none; color: var(--text); transition: color .3s; }
.why-switch[data-mode="leaked"] ~ .why-list .ico-sm { color: var(--red-hi); }
.why-list b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.why-list span { font-size: 15px; color: var(--muted); }
.monitor { --c: #f6f3f2; transition: box-shadow .6s; }
.monitor[data-mode="leaked"] { --c: var(--red-hi); box-shadow: inset 0 0 0 1px rgba(255,61,87,.35), 0 60px 120px -50px rgba(229,36,63,.45); }
.mon-sim { margin-left: auto; padding: 4px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.mon-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c); transition: color .4s; }
.mon-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: blink 1.4s infinite; }
.mon-chart { position: relative; height: 240px; color: var(--c); transition: color .5s; }
.mon-chart svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 170px; }
.mon-grid-lines line { stroke: rgba(255,255,255,.05); stroke-dasharray: 4 6; }
#monLine { filter: drop-shadow(0 0 6px currentColor); }
.mon-read { position: absolute; left: 22px; top: 20px; z-index: 1; }
.mon-lbl { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.mon-read strong { display: block; margin-top: 8px; font: 600 56px/1 var(--font); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.mon-read small { margin-left: 4px; font-size: .36em; letter-spacing: 0; color: var(--muted); }
.mon-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.mon-stats > div { padding: 15px 20px; border-left: 1px solid var(--line); animation: fadeup .45s var(--ease-out) both; }
.mon-stats > div:first-child { border-left: 0; }
.mon-stats span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.mon-stats b { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.mon-stats b::before { content: ''; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.mon-stats .warn b, .mon-stats .bad b { color: var(--red-hi); }
.mon-stats .warn b::before { background: #ffb020; box-shadow: 0 0 8px #ffb020; }
.mon-stats .bad b::before { background: var(--red-hi); box-shadow: 0 0 8px var(--red-hi); }
.mon-log { display: flex; flex-direction: column; justify-content: flex-end; height: 126px; padding: 12px 20px; border-top: 1px solid var(--line); background: rgba(0,0,0,.3); font: 500 12.5px/1.8 var(--code); overflow: hidden; }
.mon-log div { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #cfc8c6; animation: fadeup .35s var(--ease-out) both; }
.mon-log time { margin-right: 10px; color: var(--dim); }
.mon-log .warn { color: #ffb39f; }
.mon-log .bad { color: #ff6b7d; }

/* ---------- all access: a slow wall of every script, tinted red ---------- */
.pass { --p: .5; position: relative; isolation: isolate; overflow: hidden; background: #070606; padding: clamp(150px, 17vw, 260px) 0; text-align: center; }
.pass-wall { position: absolute; left: 50%; top: 50%; z-index: -3; display: grid; grid-template-columns: repeat(6, 300px); gap: 20px; transform: translate(-50%, -50%) perspective(1600px) rotateX(calc(54deg - var(--p) * 18deg)) rotateZ(-16deg) scale(1.25); }
.pass-col { display: flex; flex-direction: column; gap: 20px; animation: colUp 80s linear infinite; }
.pass-col:nth-child(even) { animation-direction: reverse; animation-duration: 100s; }
@keyframes colUp { to { transform: translateY(-50%); } }
.pass:not(.inview) .pass-col { animation-play-state: paused; }
.pass-col img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 14px; filter: grayscale(1) contrast(1.15) brightness(.75); }
.pass::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--red); mix-blend-mode: multiply; }
.pass::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 52% 58% at 50% 50%, rgba(7,6,6,.94), rgba(7,6,6,.7) 55%, rgba(7,6,6,.86)), linear-gradient(180deg, #070606 2%, transparent 22%, transparent 78%, #070606 98%); }
.pass-in { position: relative; max-width: 1120px; }
.pass-title { margin: 24px 0 20px; font: 600 clamp(46px, 6.4vw, 104px)/.96 var(--font); letter-spacing: -.06em; }
.pass-sub { max-width: 46ch; margin: 0 auto 36px; font-size: 18px; color: #b9b2b0; }
.pass-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 28px; }
.pass-price b { font: 600 clamp(52px, 5vw, 72px)/1 var(--font); letter-spacing: -.055em; }
.pass-price span { font-size: 16px; color: var(--dim); }
.pass-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.pass-pts { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin: 36px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.pass-pts li { display: flex; align-items: center; gap: 8px; }
.pass-pts .ico-sm { color: var(--red-hi); }

/* ---------- voices: #vouches window ---------- */
.vouch { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.vouch-score { display: flex; align-items: center; gap: 20px; margin: 36px 0 32px; }
.vouch-score strong { font: 600 104px/.85 var(--font); letter-spacing: -.06em; }
.vouch-score small { display: block; margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.rv-stars { display: inline-flex; gap: 2px; color: var(--gold); }
.rv-stars .ico-sm { width: 17px; height: 17px; }
.dcw { display: flex; flex-direction: column; height: 560px; }
.hash { font: 600 22px/1 var(--font); color: var(--dim); }
.win-bar > b + .dcw-topic, .dcw-topic { padding-left: 12px; border-left: 1px solid var(--line-2); font-size: 13.5px; color: var(--dim); }
.dcw .win-bar > b { font: 600 15.5px var(--font); color: var(--text); }
.dcw-on { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.dcw-on i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.dcw-feed { flex: 1; overflow-y: auto; padding: 10px 10px 0; scrollbar-width: none; }
.dcw-feed::-webkit-scrollbar { display: none; }
.dmsg { display: flex; gap: 14px; padding: 12px; border-radius: 14px; animation: msgin .6s var(--ease-out) both; transition: background-color .2s; }
.dmsg:hover { background: rgba(255,255,255,.03); }
@keyframes msgin { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.dav { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--av); color: #fff; font-weight: 700; }
.dmeta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.dmeta b { font-size: 15.5px; font-weight: 600; }
.drole { padding: 2px 6px; border-radius: 5px; background: var(--red-soft); color: var(--red-hi); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dmeta time { font-size: 12px; color: var(--dim); }
.dmsg p { margin: 4px 0 9px; font-size: 15px; line-height: 1.55; color: #e2dbd9; }
.dreact { display: flex; gap: 6px; }
.dreact > * { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 8px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; font-weight: 600; color: var(--muted); transition: color .2s, box-shadow .2s; }
.dreact .ico-sm { width: 13px; height: 13px; color: var(--gold); }
.dreact a:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--red-line); }
.dcw-typing { display: flex; align-items: center; gap: 8px; height: 0; padding: 0 22px; overflow: hidden; opacity: 0; font-size: 13px; color: var(--muted); transition: height .25s, opacity .25s; }
.dcw-typing.on { height: 30px; opacity: 1; }
.dcw-typing b { color: var(--text); }
.tdots { display: inline-flex; gap: 3px; }
.tdots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: tdot 1s infinite; }
.tdots i:nth-child(2) { animation-delay: .15s; }
.tdots i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.dcw-input { display: flex; align-items: center; gap: 10px; height: 46px; margin: 6px 16px 16px; padding: 0 16px; border-radius: 12px; background: rgba(255,255,255,.04); color: var(--dim); font-size: 14.5px; }

/* ---------- finale ---------- */
.fin { position: relative; isolation: isolate; overflow: hidden; padding: clamp(130px, 15vw, 220px) 0 clamp(100px, 11vw, 160px); text-align: center; }
.fin::before { content: ''; position: absolute; left: 50%; bottom: -55%; z-index: -1; width: 130%; height: 100%; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(229,36,63,.45), rgba(229,36,63,.08) 60%, transparent); }
.fin::after { content: ''; position: absolute; left: 50%; bottom: 0; z-index: -1; width: min(1100px, 90%); height: 1px; translate: -50% 0; background: linear-gradient(90deg, transparent, rgba(255,61,87,.8), transparent); }
.fin-title { max-width: 15ch; margin: 26px auto 44px; font: 600 clamp(46px, 6.6vw, 108px)/.96 var(--font); letter-spacing: -.06em; }
.fin-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.fin-note { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 36px 0 0; font-size: 14px; color: var(--muted); }
.fin-note b { color: var(--text); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .why, .vouch { grid-template-columns: 1fr; }
  .mh-now { display: none; }
  .dcw { height: 520px; }
  .city-legend { width: 260px; }
  .city-card { width: 320px; }
}
/* phones and tablets: tabs and chips above the map, the waypoint card under it */
@media (max-width: 900px) {
  .city-head { flex-direction: column; align-items: flex-start; }
  .city-frame { height: auto; display: flex; flex-direction: column; margin-top: 28px; }
  .city-ui { display: contents; }
  .city-legend { order: 1; width: auto; max-height: none; margin: 0 var(--gut); padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .city-view { position: relative; inset: auto; order: 2; height: min(100vw, 480px); }
  .city-card { order: 3; position: relative; z-index: 2; width: auto; margin: -64px var(--gut) 0; }
  .city-tabs { margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut); }
  .city-list { display: flex; gap: 8px; margin: 12px calc(var(--gut) * -1) 0; padding: 2px var(--gut) 6px; overflow-x: auto; overflow-y: hidden; }
  .city-list li { flex: none; }
  .cl { width: auto; height: 40px; grid-template-columns: 26px auto; gap: 8px; padding: 0 14px 0 7px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
  .cl.on { box-shadow: inset 0 0 0 1px var(--red-line); }
  .cl-ico { width: 26px; height: 26px; }
  .cl-price, .city-keys { display: none; }
  .city-view::after { background: linear-gradient(180deg, #070606 0%, transparent 16%, transparent 76%, #070606 100%), linear-gradient(90deg, #070606 0%, transparent 10%, transparent 90%, #070606 100%); }
}
@media (max-width: 760px) {
  .mh { display: block; height: auto; min-height: 0; max-height: none; padding-top: 68px; }
  .mh-stage { position: relative; inset: auto; height: 64svh; min-height: 440px; }
  .mh-word { top: 9%; font-size: 26vw; }
  .mh-chars { height: 88%; bottom: -2%; }
  .mh-ui { display: block; margin-top: -60px; padding-bottom: 32px; opacity: 1; transform: none; }
  .mh-copy { max-width: none; }
  .mh-scroll { display: none; }
  .city-stats { gap: 32px; }
  .mon-stats { grid-template-columns: 1fr 1fr; }
  .mon-stats > div:nth-child(3) { border-left: 0; }
  .mon-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mon-read strong { font-size: 42px; }
  .mon-chart { height: 210px; }
  .mon-sim, .dcw-topic { display: none; }
  .why-switch { display: grid; width: 100%; }
  .why-switch button { padding: 0 12px; font-size: 14px; }
  .pass-wall { grid-template-columns: repeat(6, 180px); gap: 12px; }
  .pass-col { gap: 12px; }
  .vouch-score strong { font-size: 80px; }
  .dcw { height: 500px; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-l > span, .mh-chars, .mh-copy, .mh-now, .mh-scroll { animation: none; }
  .mh-l, .mh-chars, .mh-ui { transform: none; }
  .mh-chars { transform: translateX(-50%); }
  .pass-col { animation: none; }
  .city-cam { transition: none; }
}

/* two-column sections keep their headings to two lines */
.why .sh-title, .vouch .sh-title { font-size: clamp(40px, 4.2vw, 66px); }

/* a plain way out of the map: the full list */
.city-all { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; margin: 8px 0 0; padding: 12px 12px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 600; color: var(--text); transition: background-color .25s, box-shadow .25s; }
.city-all:hover { background: rgba(229,36,63,.12); box-shadow: inset 0 0 0 1px var(--red-line); }
.city-all .ico-go { transition: transform .35s var(--ease-out); }
.city-all:hover .ico-go { transform: translateX(3px); }
@media (max-width: 900px) { .city-all { margin-top: 12px; } }
