:root {
  --bg: #071410;
  --bg-deep: #04110e;
  --ivory: #f3efe6;
  --ivory-dim: rgba(243, 239, 230, 0.66);
  --ivory-faint: rgba(243, 239, 230, 0.4);
  --gold: #d4bc8d;
  --gold-deep: #c6a56e;
  --line: rgba(243, 239, 230, 0.16);
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --serif: "Noto Serif KR", "Apple SD Gothic Neo", "Batang", serif;
  --sans: "Outfit", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --ease: cubic-bezier(0.76, 0, 0.24, 1);
  color-scheme: dark;
}

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

[hidden] {
  display: none !important;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% 38%, #12352a 0%, transparent 58%),
    var(--bg-deep);
  color: var(--ivory);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection {
  background: rgba(212, 188, 141, 0.35);
  color: var(--ivory);
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.depth-shift {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.7s ease-out;
}

.glow {
  position: absolute;
  border-radius: 50%;
}

.glow-green {
  width: min(78vw, 920px);
  height: min(78vw, 920px);
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(36, 92, 72, 0.45), transparent 68%);
  filter: blur(6px);
}

.glow-gold {
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  right: -6vw;
  bottom: -8vw;
  background: radial-gradient(circle, rgba(212, 188, 141, 0.09), transparent 70%);
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.42) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
  mix-blend-mode: overlay;
}

.frame {
  position: fixed;
  inset: 0.75rem;
  z-index: 5;
  border: 1px solid rgba(243, 239, 230, 0.12);
  pointer-events: none;
}

.chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding: 1.25rem 7vw 1.4rem;
  background: linear-gradient(180deg, rgba(4, 17, 14, 0.88), rgba(4, 17, 14, 0));
  pointer-events: none;
}

.wordmark,
.chrome-tag {
  pointer-events: auto;
}

.wordmark {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1;
}

.chrome-tag {
  margin: 0;
  max-width: 14rem;
  text-align: right;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.55;
  color: var(--ivory-dim);
}

.stage {
  position: relative;
  z-index: 2;
  height: 100%;
  height: 100dvh;
}

.scene {
  position: absolute;
  inset: 0;
}

.scene-hero {
  display: grid;
  place-items: center;
  padding: 5.5rem 1.4rem 2.2rem;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.scene-hero.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Desktop: keep the hero eyebrow clear of the fixed header (nav + tag band).
   Bottom padding grows by the same 2rem so the vertically centred lockup does not move. */
@media (min-width: 861px) {
  .scene-hero { padding-top: 7.5rem; padding-bottom: 4.2rem; }
}

.hero-halo {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(78vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(243, 239, 230, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-lockup {
  position: relative;
  z-index: 1;
  width: min(100%, 42rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: enter 1.15s var(--ease) both;
}

.hero-eyebrow {
  margin: 0 0 1rem;
  max-width: 18rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.7;
  color: var(--gold);
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(3.3rem, 8vw, 6.15rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: 0.075em;
}

.hero-sub {
  margin-top: 0.85rem;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 2.1vw, 1.32rem);
  font-weight: 400;
  color: rgba(243, 239, 230, 0.8);
}

.hero-fade {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.scene-hero.is-departing .hero-fade {
  opacity: 0;
  transform: translateY(-12px);
}

.ask {
  margin: 2rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 2.3vw, 1.48rem);
  font-weight: 500;
}

.presets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.35rem;
  margin-top: 1.15rem;
}

.presets button {
  position: relative;
  padding: 0.45rem 0.1rem 0.55rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ivory-dim);
  transition: color 0.35s ease;
}

.presets button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s var(--ease);
}

.presets button[aria-pressed="true"],
.presets button:hover {
  color: var(--ivory);
}

.presets button[aria-pressed="true"] {
  color: var(--gold);
}

.presets button[aria-pressed="true"]::after,
.presets button:hover::after {
  transform: scaleX(1);
}

.amount-field {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: min(100%, 18rem);
  margin-top: 1.35rem;
}

.amount-field span {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--ivory-faint);
}

.amount-field input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.28);
  padding: 0.35rem 0 0.5rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1rem;
  outline: none;
  caret-color: var(--gold);
}

.amount-field input::placeholder {
  color: rgba(243, 239, 230, 0.32);
}

.amount-field input:focus {
  border-bottom-color: var(--gold);
}

.readout {
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  margin: 0.85rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
}

.readout:empty {
  margin-top: 0.35rem;
}

.cta {
  margin-top: 1.15rem;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  font-family: var(--serif);
  font-size: 1.02rem;
}

.cta-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0.38);
  transform-origin: left center;
  transition: transform 0.5s var(--ease);
}

.cta:hover .cta-line,
.cta:focus-visible .cta-line {
  transform: scaleX(1);
}

.hint {
  margin: 0.8rem 0 0;
  font-family: var(--serif);
  font-size: 0.92rem;
  color: var(--gold);
}

.scene-map {
  opacity: 0;
  pointer-events: none;
  overflow: visible;
  transition: opacity 0.7s ease;
}

.scene-map.is-active {
  opacity: 1;
  pointer-events: auto;
}

.scene-map.is-active.is-zooming {
  opacity: 0.2;
  pointer-events: none;
  /* The zoomed map-zoom (scale ~2) sticks out past the right edge; on a phone that widens the page. */
  overflow: hidden;
}

.scene-map .back {
  position: absolute;
  top: 4.8rem;
  left: 7vw;
  z-index: 3;
}

.scene-map.is-zooming .back {
  opacity: 0;
}

.map-zoom {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  transform: translate(0px, 0px) scale(1);
  transform-origin: center center;
  transition: transform 1.12s var(--ease);
}

.orbit {
  position: relative;
  width: min(62vw, 56vh, 560px);
  aspect-ratio: 1;
  transition: transform 0.55s ease-out;
}

.orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit-ring,
.spoke {
  fill: none;
  stroke: rgba(243, 239, 230, 0.42);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.orbit-ring {
  stroke-dasharray: 226.2;
  stroke-dashoffset: 226.2;
  transition: stroke-dashoffset 1.35s var(--ease);
}

.spoke {
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  transition: stroke-dashoffset 0.75s ease, stroke 0.45s ease, opacity 0.45s ease;
}

.orbit.is-drawn .orbit-ring,
.orbit.is-drawn .spoke {
  stroke-dashoffset: 0;
}

.orbit.is-drawn .spoke-property { transition-delay: 0.42s; }
.orbit.is-drawn .spoke-deposit { transition-delay: 0.52s; }
.orbit.is-drawn .spoke-bond { transition-delay: 0.62s; }
.orbit.is-drawn .spoke-invest { transition-delay: 0.72s; }

.orbit.is-drawn[data-hot] .spoke { opacity: 0.22; }
.orbit.is-drawn[data-hot="property"] .spoke-property,
.orbit.is-drawn[data-hot="deposit"] .spoke-deposit,
.orbit.is-drawn[data-hot="bond"] .spoke-bond,
.orbit.is-drawn[data-hot="invest"] .spoke-invest {
  opacity: 1;
  stroke: var(--gold);
}

.core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 48%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.core-label {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  color: var(--gold);
}

.core-value {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.core-value[data-long="1"] {
  font-size: clamp(1.55rem, 3.1vw, 2.7rem);
}

.core-sub {
  margin: 0.4rem 0 0;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ivory-faint);
}

.node {
  position: absolute;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.7s ease;
  transition-delay: var(--d, 0s);
}

.node[data-node="property"] { left: 50%; top: 14%; }
.node[data-node="deposit"] { left: 86%; top: 50%; }
.node[data-node="bond"] { left: 14%; top: 50%; }
.node[data-node="invest"] { left: 50%; top: 86%; }

.orbit.is-drawn .node { opacity: 1; }

.orbit.is-drawn[data-hot] .node { opacity: 0.36; }

.orbit.is-drawn[data-hot="property"] .node[data-node="property"],
.orbit.is-drawn[data-hot="deposit"] .node[data-node="deposit"],
.orbit.is-drawn[data-hot="bond"] .node[data-node="bond"],
.orbit.is-drawn[data-hot="invest"] .node[data-node="invest"] {
  opacity: 1;
}

.node-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ivory);
  transform: translate(-50%, -50%);
  transition: transform 0.45s var(--ease), background 0.45s ease, box-shadow 0.45s ease;
}

.node-copy {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  white-space: nowrap;
  transition: transform 0.45s var(--ease), color 0.45s ease;
}

.node-en {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  transition: letter-spacing 0.45s var(--ease);
}

.node-ko {
  font-family: var(--serif);
  font-size: 0.84rem;
  color: var(--ivory-dim);
}

.node[data-node="property"] .node-copy {
  left: 50%;
  bottom: calc(100% - 0.35rem);
  transform: translate(-50%, 0);
  align-items: center;
}

.node[data-node="deposit"] .node-copy {
  left: calc(100% - 0.2rem);
  top: 50%;
  transform: translate(0, -50%);
  align-items: flex-start;
}

.node[data-node="bond"] .node-copy {
  right: calc(100% - 0.2rem);
  top: 50%;
  transform: translate(0, -50%);
  align-items: flex-end;
  text-align: right;
}

.node[data-node="invest"] .node-copy {
  left: 50%;
  top: calc(100% - 0.35rem);
  transform: translate(-50%, 0);
  align-items: center;
}

.node:hover .node-dot,
.orbit[data-hot="property"] .node[data-node="property"] .node-dot,
.orbit[data-hot="deposit"] .node[data-node="deposit"] .node-dot,
.orbit[data-hot="bond"] .node[data-node="bond"] .node-dot,
.orbit[data-hot="invest"] .node[data-node="invest"] .node-dot {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.45);
  box-shadow:
    0 0 0 8px rgba(212, 188, 141, 0.12),
    0 0 22px rgba(212, 188, 141, 0.28);
}

.node:hover .node-en,
.orbit[data-hot="property"] .node[data-node="property"] .node-en,
.orbit[data-hot="deposit"] .node[data-node="deposit"] .node-en,
.orbit[data-hot="bond"] .node[data-node="bond"] .node-en,
.orbit[data-hot="invest"] .node[data-node="invest"] .node-en {
  letter-spacing: 0.26em;
}

.node[data-node="property"]:hover .node-copy {
  transform: translate(-50%, -3px);
}

.node[data-node="deposit"]:hover .node-copy {
  transform: translate(4px, -50%);
}

.node[data-node="bond"]:hover .node-copy {
  transform: translate(-4px, -50%);
}

.node[data-node="invest"]:hover .node-copy {
  transform: translate(-50%, 3px);
}

.scene-chapter {
  z-index: 4;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  background: rgba(5, 14, 12, 0.94);
  transition: opacity 0.75s ease;
}

.scene-chapter.is-active {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0.32s;
}

#scene-property.is-active.is-receding {
  opacity: 0;
  pointer-events: none;
  transition-delay: 0s;
}

#scene-property .chapter-scroll {
  transform-origin: center 18%;
  transition: transform 0.95s var(--ease);
}

#scene-property.is-receding .chapter-scroll {
  transform: scale(1.08);
}

.chapter-scroll {
  width: min(100%, 68rem);
  margin: 0 auto;
  padding: 6.4rem 7vw 4.5rem;
}

.chapter-center {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.back {
  display: inline-flex;
  margin: 0 0 1.6rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--ivory-dim);
  transition: color 0.35s ease;
}

.chapter-scroll .back {
  position: sticky;
  top: 4.5rem;
  z-index: 2;
}

.back:hover {
  color: var(--gold);
}

.chapter-amount {
  margin-top: 0.85rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.chapter-title {
  margin-top: 0.85rem;
  max-width: 12em;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4.1rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 28rem;
  margin-top: 1.15rem;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ivory-dim);
}

.districts {
  max-width: 46rem;
  margin-top: 1.7rem;
}

.districts-kicker {
  margin: 0 0 0.7rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.districts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.05rem;
}

.districts-list button {
  position: relative;
  padding: 0.32rem 0 0.42rem;
  font-family: var(--serif);
  font-size: 0.98rem;
  color: var(--ivory-dim);
  transition: color 0.35s ease;
}

.districts-list button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.12rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
}

.districts-list button:hover,
.districts-list button:focus-visible {
  color: var(--ivory);
}

.districts-list button[aria-pressed="true"] {
  color: var(--gold);
}

.districts-list button[aria-pressed="true"]::after,
.districts-list button:hover::after {
  transform: scaleX(1);
}

.trade-period {
  margin-top: 1.45rem;
}

.period-kicker {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.meta {
  margin: 0.45rem 0 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ivory-dim);
}

.status {
  margin-top: 2rem;
  max-width: 28rem;
}

.status p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ivory-dim);
}

.status.is-loading p::before {
  content: "";
  display: block;
  width: 4.5rem;
  height: 1px;
  margin-bottom: 0.9rem;
  background: var(--gold);
  transform-origin: left center;
  animation: pulse 1.15s ease-in-out infinite;
}

.retry {
  margin-top: 0.9rem;
  font-family: var(--serif);
  font-size: 0.98rem;
  color: var(--gold);
  border-bottom: 1px solid rgba(212, 188, 141, 0.7);
  padding-bottom: 0.15rem;
}

.ledger {
  margin-top: 1.6rem;
}

.ledger-divider {
  margin: 2.1rem 0 0.15rem;
  font-family: var(--serif);
  font-size: 0.98rem;
  color: var(--gold);
}

.ledger-count {
  margin: 0 0 0.4rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--ivory-faint);
}

.entry {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  gap: 0.4rem 1.25rem;
  align-items: baseline;
  width: 100%;
  padding: 1.15rem 0 1.2rem;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  animation: rise 0.7s var(--ease) both;
}

.entry:hover .entry-name,
.entry:focus-visible .entry-name {
  color: var(--ivory);
}

.entry-index {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.entry-name {
  font-family: var(--serif);
  font-size: clamp(1.22rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.35;
}

.entry-meta {
  margin-top: 0.28rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--ivory-dim);
}

.entry-price {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.entry.is-within .entry-price {
  color: var(--ivory);
}

.entry.is-beyond .entry-index {
  color: rgba(212, 188, 141, 0.35);
}

.entry.is-beyond .entry-name,
.entry.is-beyond .entry-price,
.entry.is-beyond .entry-meta {
  color: rgba(243, 239, 230, 0.38);
}

.colophon {
  margin: 1.4rem 0 0;
  max-width: 36rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--ivory-faint);
}

.scene-detail {
  z-index: 6;
  background: #071410;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  min-height: min(68vh, 640px);
}

.scene-detail .detail-layout {
  opacity: 0;
  transform: translateY(16px) scale(1.035);
}

.scene-detail.is-active .detail-layout {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s ease 0.22s, transform 1s var(--ease) 0.12s;
}

.detail-visual {
  min-height: min(58vh, 560px);
}

.elevation {
  position: relative;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}

.elevation-sky {
  position: absolute;
  inset: 8% 18% 18% 12%;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(212, 188, 141, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(18, 48, 38, 0.2), transparent 70%);
}

.elevation-mass {
  position: absolute;
  left: 18%;
  right: 22%;
  bottom: 14%;
  height: 72%;
  border: 1px solid rgba(243, 239, 230, 0.42);
  background:
    linear-gradient(180deg, rgba(243, 239, 230, 0.04), transparent 30%),
    rgba(7, 22, 18, 0.35);
}

.elevation-mass::before,
.elevation-mass::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(243, 239, 230, 0.14);
}

.elevation-mass::before { left: 33%; }
.elevation-mass::after { left: 66%; }

.elevation-course {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(243, 239, 230, 0.12);
}

.elevation-mark {
  position: absolute;
  left: -0.5rem;
  right: -0.5rem;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(212, 188, 141, 0.35);
}

.elevation-tag {
  position: absolute;
  left: calc(100% + 0.8rem);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  white-space: nowrap;
}

.elevation-ground {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 14%;
  height: 1px;
  background: rgba(243, 239, 230, 0.55);
}

.elevation-ground::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 1px;
  background: rgba(243, 239, 230, 0.16);
}

.detail-relation {
  margin-top: 0.9rem;
  max-width: 18rem;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--gold);
}

.detail-name {
  margin-top: 0.85rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.detail-price {
  margin-top: 0.45rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.detail-facts {
  margin: 1.6rem 0 0;
}

.detail-facts div {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
}

.detail-facts dt {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ivory-faint);
}

.detail-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.02rem;
}

.detail-map {
  margin-top: clamp(2rem, 5vh, 3.5rem);
}

.detail-map-mount {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: min(32vh, 280px);
  padding: 2.4rem 1.5rem;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(243, 239, 230, 0.16);
  background:
    radial-gradient(ellipse at center, rgba(212, 188, 141, 0.05), transparent 62%),
    rgba(6, 18, 15, 0.45);
}

.detail-map-mount.has-map {
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  min-height: min(46vh, 460px);
  padding: 0;
}

.map-stage,
.kakao-map {
  width: 100%;
  height: min(46vh, 460px);
}

.kakao-map {
  filter: grayscale(0.28) saturate(0.72) brightness(0.86) contrast(1.04);
}

.map-stage {
  position: relative;
}

.map-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 20, 16, 0.34), transparent 34%);
}

.detail-map-mount.has-map .map-caption {
  position: absolute;
  top: 1.15rem;
  left: 1.25rem;
  z-index: 2;
  max-width: min(24rem, 78%);
  text-align: left;
  pointer-events: none;
}

.detail-map-mount.has-map .map-address {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  text-shadow: 0 10px 28px rgba(4, 17, 14, 0.92);
}

.map-kicker {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.map-address {
  margin: 0;
  max-width: 16em;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.03em;
  color: var(--ivory);
}

.detail-map-mount::before,
.detail-map-mount::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 1.1rem;
  height: 1.1rem;
  pointer-events: none;
  border-color: rgba(212, 188, 141, 0.7);
  border-style: solid;
}

.detail-map-mount::before {
  top: 0.7rem;
  left: 0.7rem;
  border-width: 1px 0 0 1px;
}

.detail-map-mount::after {
  right: 0.7rem;
  bottom: 0.7rem;
  border-width: 0 1px 1px 0;
}

.map-ready-label {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--ivory-faint);
}

.flyer {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 4;
  margin: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  white-space: nowrap;
  pointer-events: none;
  transform-origin: center center;
  transition: transform 1s var(--ease);
}

.noscript {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 7;
  margin: 0;
  font-family: var(--serif);
}

/* ------------------------------------------------------------------ */
/* PROPERTY: map-led exploration                                      */
/* ------------------------------------------------------------------ */
#scene-property .chapter-scroll {
  width: min(100%, 86rem);
  padding-top: 5.2rem;
}

.property-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 31rem);
  gap: 1.4rem 3.5rem;
  align-items: end;
}

.property-head .chapter-title {
  font-size: clamp(1.9rem, 3.5vw, 3.1rem);
}

.property-head .lede {
  margin-top: 0;
}

.property-head .districts {
  margin-top: 1.1rem;
}

.property-head .trade-period {
  margin-top: 1rem;
}

.record-note {
  margin: 0.85rem 0 0;
  padding-left: 0.75rem;
  border-left: 1px solid var(--gold);
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--ivory-dim);
}

.explore {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22.5rem;
  gap: 1.6rem;
  margin-top: 1.9rem;
  align-items: start;
}

.explore-map {
  --explore-height: clamp(27rem, 66vh, 46rem);
  position: relative;
  height: var(--explore-height);
  overflow: hidden;
  border: 1px solid rgba(243, 239, 230, 0.16);
  background:
    radial-gradient(ellipse at center, rgba(212, 188, 141, 0.05), transparent 62%),
    rgba(6, 18, 15, 0.7);
}

.explore-map::before,
.explore-map::after {
  content: "";
  position: absolute;
  z-index: 7;
  width: 1.1rem;
  height: 1.1rem;
  pointer-events: none;
  border-color: rgba(212, 188, 141, 0.7);
  border-style: solid;
}

.explore-map::before {
  top: 0.7rem;
  left: 0.7rem;
  border-width: 1px 0 0 1px;
}

.explore-map::after {
  right: 0.7rem;
  bottom: 0.7rem;
  border-width: 0 1px 1px 0;
}

.property-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #07130f;
}

/* Tiles only: the forest-green treatment never touches pins or the preview. */
.property-map img[src*="/tile/"] {
  filter: grayscale(1) invert(1) brightness(1.05) contrast(0.95) sepia(0.45) hue-rotate(88deg) saturate(1.1);
}

.map-head {
  position: absolute;
  top: 1.15rem;
  left: 1.35rem;
  z-index: 3;
  max-width: min(26rem, 52%);
  pointer-events: none;
  text-shadow: 0 6px 22px rgba(4, 17, 14, 0.95);
}

.map-head::before {
  content: "";
  position: absolute;
  inset: -1.2rem -2rem -1.4rem -1.4rem;
  z-index: -1;
  background: radial-gradient(ellipse at 25% 35%, rgba(4, 17, 14, 0.72), transparent 72%);
}

.map-summary {
  margin: 0.4rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.map-note {
  margin: 0.35rem 0 0;
  font-family: var(--sans);
  font-size: 0.7rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ivory-dim);
}

.map-legend {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem 0.65rem;
  border: 1px solid rgba(243, 239, 230, 0.16);
  background: rgba(5, 14, 12, 0.82);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ivory-dim);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-sample {
  display: inline-block;
  width: 1.15rem;
  height: 0.62rem;
  border-radius: 2px;
}

.legend-sample.is-within {
  background: var(--gold);
}

.legend-sample.is-beyond {
  border: 1px dashed rgba(243, 239, 230, 0.55);
  background: rgba(6, 18, 15, 0.9);
}

.legend-toggle {
  margin-top: 0.15rem;
  padding-bottom: 0.1rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  border-bottom: 1px solid rgba(212, 188, 141, 0.55);
}

.map-loading {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.95rem;
  padding: 1.5rem;
  text-align: center;
  background: rgba(5, 14, 12, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.map-loading.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.map-loading p {
  max-width: 24rem;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ivory-dim);
}

.map-loading-line {
  display: block;
  width: 4.5rem;
  height: 1px;
  background: var(--gold);
  transform-origin: center;
  animation: pulse 1.15s ease-in-out infinite;
}

.map-loading.is-error .map-loading-line {
  animation: none;
  opacity: 0.5;
}

/* price pins (Kakao CustomOverlay content) */
.price-pin {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem 0.32rem;
  border-radius: 2px;
  white-space: nowrap;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  cursor: pointer;
  transform-origin: 50% 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.price-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 7px;
  height: 7px;
  transform: translateX(-50%) rotate(45deg);
  background: inherit;
  border: inherit;
  border-top: 0;
  border-left: 0;
}

.price-pin[data-state="within"] {
  border: 1px solid #efdcae;
  background: var(--gold);
  color: #0a1a14;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.price-pin[data-state="within"] .price-pin-text::before {
  content: "";
  display: inline-block;
  width: 0.34rem;
  height: 0.34rem;
  margin-right: 0.38rem;
  vertical-align: 0.08em;
  border-radius: 50%;
  background: #0a1a14;
}

.price-pin[data-state="beyond"],
.price-pin[data-state="unknown"] {
  border: 1px dashed rgba(243, 239, 230, 0.5);
  background: rgba(6, 18, 15, 0.9);
  color: rgba(243, 239, 230, 0.72);
  font-size: 0.74rem;
  font-weight: 400;
}

.price-pin-count {
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  opacity: 0.7;
}

.price-pin:hover {
  transform: scale(1.06);
}

.price-pin.is-selected {
  transform: scale(1.12);
  outline: 2px solid var(--ivory);
  outline-offset: 2px;
}

.price-pin:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 3px;
}

.explore-map.hide-beyond .price-pin:not([data-state="within"]) {
  display: none;
}

/* preview card */
.map-preview {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 5;
  width: min(24.5rem, calc(100% - 2rem));
  max-height: calc(100% - 7.5rem);
  overflow: auto;
  padding: 1.1rem 1.25rem 1.15rem;
  border: 1px solid rgba(212, 188, 141, 0.38);
  background: rgba(5, 14, 12, 0.95);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.55);
  animation: rise 0.45s var(--ease) both;
}

.preview-close {
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  font-family: var(--sans);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ivory-dim);
}

.preview-close:hover {
  color: var(--gold);
}

.preview-state {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--ivory-faint);
}

.map-preview[data-state="within"] .preview-state {
  color: var(--gold);
}

.preview-name {
  margin: 0.4rem 1.2rem 0 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.preview-price {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin: 0.3rem 0 0;
}

.preview-price-main {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.map-preview[data-state="within"] .preview-price-main {
  color: var(--gold);
}

.preview-price-exact {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ivory-dim);
}

.preview-meta {
  margin: 0.2rem 0 0;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--ivory-dim);
}

.preview-note {
  margin: 0.55rem 0 0;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ivory-faint);
}

.preview-open {
  display: block;
  width: 100%;
  margin-top: 0.9rem;
  padding: 0.62rem 1rem;
  border: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  transition: background 0.3s ease, color 0.3s ease;
}

.preview-open:hover,
.preview-open:focus-visible {
  background: var(--gold);
  color: #0a1a14;
}

.preview-trades {
  margin-top: 1rem;
}

.preview-trades-title {
  margin: 0 0 0.25rem;
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.preview-trade {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  padding: 0.38rem 0.5rem;
  border-top: 1px solid var(--line);
  border-left: 2px solid transparent;
  font-family: var(--sans);
  font-size: 0.74rem;
  text-align: left;
  color: var(--ivory-dim);
}

.preview-trade:hover {
  color: var(--ivory);
}

.preview-trade.is-current {
  border-left-color: var(--gold);
  color: var(--ivory);
}

.preview-trade-price {
  flex: none;
  font-variant-numeric: tabular-nums;
}

.preview-trades-more {
  margin: 0.3rem 0 0;
  font-family: var(--sans);
  font-size: 0.66rem;
  color: var(--ivory-faint);
}

/* secondary list */
.explore-aside {
  display: flex;
  flex-direction: column;
  height: clamp(27rem, 66vh, 46rem);
  min-height: 0;
}

.aside-kicker {
  margin: 0;
  padding-bottom: 0.6rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.explore-aside .status {
  margin-top: 0.4rem;
  max-width: none;
}

.explore-aside .ledger {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-top: 0;
  padding-right: 0.7rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 188, 141, 0.4) transparent;
}

.explore-aside .entry {
  grid-template-columns: 1.9rem minmax(0, 1fr) auto;
  gap: 0.3rem 0.8rem;
  padding: 0.85rem 0.4rem 0.9rem 0;
}

.explore-aside .entry-name {
  font-size: 1.04rem;
}

.explore-aside .entry-price {
  font-size: 1.05rem;
}

.explore-aside .entry-meta {
  font-size: 0.72rem;
}

.explore-aside .ledger-divider {
  margin-top: 1.4rem;
}

.explore-aside .colophon {
  font-size: 0.66rem;
}

.entry.is-linked {
  background: rgba(212, 188, 141, 0.09);
  box-shadow: inset 2px 0 0 var(--gold);
}

@media (max-width: 980px) {
  .property-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .explore {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .explore-map {
    --explore-height: clamp(23rem, 62vh, 36rem);
  }

  .explore-aside {
    height: auto;
  }

  .explore-aside .ledger {
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .map-head {
    max-width: 58%;
  }

  .map-summary {
    font-size: 0.92rem;
  }

  .map-legend {
    padding: 0.45rem 0.6rem 0.5rem;
    font-size: 0.62rem;
  }

  .map-preview {
    left: 0.6rem;
    bottom: 0.6rem;
    width: calc(100% - 1.2rem);
    padding: 0.9rem 1rem 1rem;
  }

  .preview-name {
    font-size: 1.12rem;
  }

  .preview-price-main {
    font-size: 1.7rem;
  }

  .explore-aside .entry {
    grid-template-columns: 1.8rem minmax(0, 1fr);
  }

  .explore-aside .entry-price {
    grid-column: 2;
    text-align: left;
  }
}

.district-trigger { display: none; }

/* ------------------------------------------------------------------ */
/* PROPERTY desktop: the map leads, the header compresses to one band  */
/* ------------------------------------------------------------------ */
@media (min-width: 981px) {
  #scene-property .chapter-scroll {
    position: relative;
    width: min(100%, 118rem);
    padding: 4.7rem 2.6vw 1.4rem;
  }

  #scene-property .chapter-scroll .back {
    position: absolute;
    top: 3.2rem;
    left: 2.6vw;
    margin: 0;
  }

  .property-head {
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
    grid-template-areas:
      "eye amt ttl note per"
      "dist dist dist dist dist";
    gap: 0.85rem 2.1rem;
    align-items: end;
  }

  .property-head-main,
  .property-head-side {
    display: contents;
  }

  .property-head .eyebrow { grid-area: eye; margin: 0 0 0.55rem; }
  .property-head .chapter-amount {
    grid-area: amt;
    margin: 0;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--gold);
  }
  .property-head .chapter-title {
    grid-area: ttl;
    max-width: none;
    margin: 0;
    font-size: clamp(1.25rem, 1.75vw, 1.7rem);
    line-height: 1.2;
    white-space: nowrap;
  }
  .property-head .chapter-title br { display: none; }
  .property-head .lede { display: none; }
  .property-head .record-note { grid-area: note; margin: 0 0 0.2rem; font-size: 0.7rem; white-space: nowrap; }
  .property-head .trade-period { grid-area: per; margin: 0; }
  .property-head .trade-period .meta { margin-top: 0.2rem; white-space: nowrap; }
  .property-head .districts { grid-area: dist; max-width: none; margin: 0; }
  .property-head .districts-kicker { display: none; }

  .property-head .districts { position: relative; z-index: 12; }
  .district-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(212, 188, 141, 0.55);
    border-radius: 2px;
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--gold);
    background: rgba(212, 188, 141, 0.06);
    transition: background 0.3s ease, border-color 0.3s ease;
  }
  .district-trigger::after {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    margin-top: -0.2rem;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
    transition: transform 0.3s var(--ease);
  }
  .district-trigger[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: 0.15rem; }
  .district-trigger:hover,
  .district-trigger:focus-visible,
  .district-trigger[aria-expanded="true"] {
    border-color: var(--gold);
    background: rgba(212, 188, 141, 0.14);
  }
  .property-head .districts-list {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    display: none;
    grid-template-columns: repeat(5, minmax(5.2rem, 1fr));
    gap: 0.3rem;
    width: 30rem;
    padding: 0.85rem;
    border: 1px solid rgba(212, 188, 141, 0.4);
    background: rgba(5, 14, 12, 0.97);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
  }
  .property-head .districts.is-open .districts-list { display: grid; }
  .property-head .districts-list button {
    padding: 0.4rem 0.3rem;
    border: 1px solid rgba(243, 239, 230, 0.14);
    border-radius: 2px;
    font-family: var(--sans);
    font-size: 0.74rem;
    letter-spacing: 0.02em;
    color: var(--ivory-dim);
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  }
  .property-head .districts-list button::after { display: none; }
  .property-head .districts-list button:hover,
  .property-head .districts-list button:focus-visible {
    color: var(--ivory);
    border-color: rgba(243, 239, 230, 0.4);
  }
  .property-head .districts-list button[aria-pressed="true"] {
    color: #0a1a14;
    background: var(--gold);
    border-color: var(--gold);
    font-weight: 600;
  }

  .explore {
    --stage-height: clamp(38rem, calc(100vh - 13.2rem), 66rem);
    grid-template-columns: minmax(0, 7fr) minmax(21rem, 3fr);
    gap: 1.2rem;
    margin-top: 1.1rem;
    align-items: stretch;
  }
  .explore-map,
  .explore-aside {
    height: var(--stage-height);
  }

  .map-summary {
    font-size: clamp(1.25rem, 1.9vw, 1.75rem);
    line-height: 1.35;
  }
  .map-head { max-width: min(48rem, calc(100% - 14rem)); }

  .price-pin { padding: 0.36rem 0.65rem 0.38rem; }
  .price-pin[data-state="within"] {
    padding: 0.4rem 0.75rem 0.42rem;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(212, 188, 141, 0.18);
  }
  .price-pin[data-state="beyond"],
  .price-pin[data-state="unknown"] {
    padding: 0.26rem 0.5rem 0.28rem;
    font-size: 0.74rem;
    color: rgba(243, 239, 230, 0.7);
    background: rgba(6, 18, 15, 0.88);
    border-color: rgba(243, 239, 230, 0.34);
  }
  .price-pin.is-selected {
    transform: scale(1.22);
    outline: 2px solid var(--ivory);
    outline-offset: 3px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65), 0 0 0 7px rgba(243, 239, 230, 0.16);
  }
  .price-pin.is-selected[data-state="beyond"],
  .price-pin.is-selected[data-state="unknown"] {
    font-size: 0.9rem;
    color: var(--ivory);
    background: rgba(6, 18, 15, 1);
    border-style: solid;
    border-color: var(--ivory);
  }

  .explore-aside .ledger { padding-right: 0.9rem; }
  .explore-aside .entry-name { font-size: 1.2rem; }
  .explore-aside .entry-price { font-size: 1.22rem; }
  .explore-aside .entry-meta { font-size: 0.66rem; }
}

@media (min-width: 981px) and (max-width: 1360px) {
  .property-head {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    grid-template-areas:
      "eye amt ttl per"
      "note note note note"
      "dist dist dist dist";
  }
}

/* ------------------------------------------------------------------ */
/* Global navigation                                                   */
/* ------------------------------------------------------------------ */
.chrome-nav {
  display: flex;
  align-items: flex-end;
  gap: 2.4rem;
  pointer-events: none;
}

.nav-item {
  position: relative;
  pointer-events: auto;
  padding: 0.3rem 0 0.45rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1;
  color: var(--ivory-dim);
  transition: color 0.35s ease;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.24em;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
}

.nav-item:hover,
.nav-item:focus-visible {
  color: var(--ivory);
}

.nav-item[aria-current="page"] {
  color: var(--gold);
}

.nav-item[aria-current="page"]::after,
.nav-item:hover::after {
  transform: scaleX(1);
}

.nav-item.is-soon {
  cursor: default;
  color: var(--ivory-faint);
}

.nav-item.is-soon::after { display: none; }

.nav-item.is-soon i {
  margin-left: 0.55rem;
  font-style: normal;
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  opacity: 0.8;
}

@media (min-width: 861px) {
  .chrome {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
  }
  .chrome .wordmark { justify-self: start; }
  .chrome .chrome-tag { justify-self: end; }
}

@media (max-width: 860px) {
  .chrome-nav {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 7;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: rgba(4, 17, 14, 0.94);
    border: 1px solid rgba(243, 239, 230, 0.12);
    pointer-events: auto;
  }
  .nav-item {
    padding: 1rem 0 0.95rem;
    text-align: center;
  }
  .nav-item::after { left: 24%; right: 24%; bottom: 0.45rem; }
  .scene-hero { padding-bottom: 5.4rem; }
  .chapter-scroll { padding-bottom: 6rem; }
}

/* ------------------------------------------------------------------ */
/* MONEY CLUB                                                          */
/* ------------------------------------------------------------------ */
.club-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.club-name {
  margin: 0.55rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5vw, 2.9rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold);
}

.club-range-line {
  margin: 0.55rem 0 0;
  font-family: var(--serif);
  font-size: 0.86rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--ivory-dim);
}

.club-sub-kicker {
  margin: 0 0 0.4rem;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.club-regions-wrap {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 239, 230, 0.12);
}

.club-regions {
  margin: 0;
  padding: 0;
  list-style: none;
}

.club-region {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.08);
}

.club-region:last-child { border-bottom: 0; }

.club-region-no {
  padding-top: 0.2rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.club-region-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.1rem 0.7rem;
}

.club-region-name {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ivory);
}

.club-region-note {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--ivory-faint);
}

.club-question {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 4.4vw, 1.6rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.club-tagline {
  margin: 0.5rem 0 0;
  font-family: var(--serif);
  font-size: 0.92rem;
  color: var(--ivory-dim);
}

.club-write-open {
  justify-self: start;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  transition: background 0.3s ease, color 0.3s ease;
}

.club-write-open:hover,
.club-write-open:focus-visible {
  background: var(--gold);
  color: #0a1a14;
}

.club-write-open[hidden],
.club-write-cta[hidden] { display: none; }

.club-write-zone { justify-self: start; }

.club-write-cta {
  display: grid;
  justify-items: start;
  gap: 0.7rem;
}

.club-write-cta-text {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ivory-dim);
}

/* locked story: guests see title and tags only */
.club-post-lock {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.club-post-mine { color: var(--gold); }

.club-detail.is-locked { text-align: left; }

.club-locked-title {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ivory);
}

.club-locked-login {
  padding: 0.55rem 1.3rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  transition: background 0.3s ease, color 0.3s ease;
}

.club-locked-login:hover,
.club-locked-login:focus-visible {
  background: var(--gold);
  color: #0a1a14;
}

.club-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 1.6rem;
}

.club-band-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 3.3rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(243, 239, 230, 0.16);
  border-radius: 2px;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ivory-dim);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.club-band-item:hover,
.club-band-item:focus-visible {
  color: var(--ivory);
  border-color: rgba(243, 239, 230, 0.45);
}

.club-band-item.is-current {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(212, 188, 141, 0.1);
}

.club-band-mine {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  color: var(--ivory-faint);
}


.club-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1rem;
  margin: 0.9rem 0 0;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--ivory-dim);
}

.club-note-action {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  border-bottom: 1px solid rgba(212, 188, 141, 0.55);
}

.club-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  margin-top: 1.6rem;
}

.club-feed-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(243, 239, 230, 0.16);
}

.club-feed-head .aside-kicker { padding-bottom: 0; }

.club-feed-sub {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--ivory-faint);
}

.club-posts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.club-posts.is-swapping { animation: rise 0.55s var(--ease) both; }

.club-post {
  display: block;
  width: 100%;
  padding: 1.15rem 0.6rem 1.2rem 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.1);
  text-align: left;
  transition: background 0.3s ease;
}

.club-post:hover,
.club-post:focus-visible { background: rgba(212, 188, 141, 0.05); }

.club-post.is-new {
  background: rgba(212, 188, 141, 0.08);
  box-shadow: inset 2px 0 0 var(--gold);
}

.club-post-no {
  padding-top: 0.3rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.club-post-main {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.club-post-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.club-post-body {
  font-family: var(--serif);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ivory-dim);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.club-post.is-open .club-post-body {
  white-space: pre-wrap;
  overflow: visible;
  color: rgba(243, 239, 230, 0.82);
}

.club-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--ivory-faint);
}

.club-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.club-tag {
  padding: 0.14rem 0.5rem;
  border: 1px solid rgba(243, 239, 230, 0.2);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--ivory-faint);
}

.club-tag.is-decision {
  border-color: rgba(212, 188, 141, 0.7);
  background: rgba(212, 188, 141, 0.1);
  font-weight: 500;
  color: var(--gold);
}

.club-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.club-card {
  padding: 1.3rem 1.4rem 1.4rem;
  border: 1px solid rgba(243, 239, 230, 0.14);
  background: rgba(6, 18, 15, 0.6);
}

.club-card .aside-kicker { padding-bottom: 0.7rem; }

.club-card-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--gold);
}

.club-card-range {
  margin: 0.35rem 0 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ivory-dim);
}

.club-card-focus {
  margin: 0.9rem 0 0;
  font-family: var(--serif);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ivory-dim);
}

.club-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 239, 230, 0.12);
}

.club-stats dt {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--ivory-faint);
}

.club-stats dd {
  margin: 0.3rem 0 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.club-topics {
  margin: 0;
  padding: 0;
  list-style: none;
}

.club-topic {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.2rem;
  border-bottom: 1px solid rgba(243, 239, 230, 0.08);
  font-family: var(--serif);
  font-size: 0.92rem;
  color: var(--ivory);
}

.club-topic::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: var(--w, 0);
  height: 1px;
  background: var(--gold);
}

.club-topic-count {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--gold);
}

.club-privacy {
  margin: 0.2rem 0 0;
  font-family: var(--sans);
  font-size: 0.66rem;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--ivory-faint);
}

/* write panel */
.club-write {
  position: fixed;
  inset: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(3, 10, 8, 0.8);
  backdrop-filter: blur(4px);
}

.club-write[hidden] { display: none; }

.club-write-panel {
  width: min(34rem, 100%);
  max-height: 100%;
  overflow: auto;
  padding: 1.7rem 1.8rem 1.6rem;
  border: 1px solid rgba(212, 188, 141, 0.45);
  background: #08130f;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: rise 0.4s var(--ease) both;
}

.club-write-title {
  margin: 0 0 1.2rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.club-field {
  display: block;
  margin-bottom: 1.1rem;
}

.club-field span {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.club-field input,
.club-field textarea {
  width: 100%;
  padding: 0.6rem 0.2rem;
  border: 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.3);
  border-radius: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ivory);
  outline: none;
  resize: vertical;
}

.club-field textarea {
  padding: 0.7rem;
  border: 1px solid rgba(243, 239, 230, 0.22);
}

.club-field input:focus,
.club-field textarea:focus { border-color: var(--gold); }

.club-write-error {
  margin: 0 0 0.9rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  color: #e6b7a0;
}

.club-write-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.4rem;
}

.club-write-cancel {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--ivory-dim);
}

.club-write-submit {
  padding: 0.65rem 1.6rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: var(--gold);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #0a1a14;
}

.club-write-submit:disabled,
.club-comment-submit:disabled {
  opacity: 0.55;
  cursor: progress;
}

/* feed states: loading, empty, error */
.club-state {
  padding: 1.6rem 0.6rem 1.6rem 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.1);
}

.club-state-text {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ivory-dim);
}

.club-state.is-error .club-state-text { color: #e6b7a0; }

.club-state-action {
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(212, 188, 141, 0.7);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  transition: background 0.3s ease;
}

.club-state-action:hover,
.club-state-action:focus-visible { background: rgba(212, 188, 141, 0.12); }

.club-state.is-skeleton { padding-top: 1.3rem; padding-bottom: 1.3rem; }

.club-skeleton-line {
  display: block;
  width: 88%;
  height: 0.7rem;
  margin-bottom: 0.65rem;
  background: rgba(243, 239, 230, 0.08);
  transform-origin: left center;
  animation: pulse 1.6s ease-in-out infinite;
}

.club-skeleton-line.is-title { width: 52%; height: 0.95rem; }
.club-skeleton-line.is-short { width: 34%; margin-bottom: 0; }

/* inline comments */
.club-detail {
  padding: 0.9rem 0.6rem 1.3rem 0.8rem;
  border-bottom: 1px solid rgba(243, 239, 230, 0.1);
  background: rgba(212, 188, 141, 0.035);
}

.club-detail-kicker {
  margin: 0 0 0.5rem;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.club-comments {
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
}

.club-comment {
  padding: 0.6rem 0;
  border-top: 1px solid rgba(243, 239, 230, 0.08);
}

.club-comment:first-child { border-top: 0; }

.club-comment-meta {
  display: flex;
  gap: 0.8rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--ivory-faint);
}

.club-comment-meta b {
  font-weight: 500;
  color: var(--ivory-dim);
}

.club-comment-body {
  margin: 0.2rem 0 0;
  font-family: var(--serif);
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(243, 239, 230, 0.82);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.club-comment-note {
  padding: 0.3rem 0;
  font-family: var(--serif);
  font-size: 0.86rem;
  color: var(--ivory-faint);
}

.club-comment-retry {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.club-comment-form {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
}

.club-comment-nick,
.club-comment-text {
  width: 100%;
  min-width: 0;
  padding: 0.5rem 0.2rem;
  border: 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.28);
  border-radius: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--ivory);
  outline: none;
}

.club-comment-nick:focus,
.club-comment-text:focus { border-color: var(--gold); }

.club-comment-submit {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  transition: background 0.3s ease;
}

.club-comment-submit:not(:disabled):hover,
.club-comment-submit:not(:disabled):focus-visible { background: rgba(212, 188, 141, 0.14); }

.club-comment-error {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: #e6b7a0;
}

.club-topic-empty {
  font-family: var(--serif);
  font-size: 0.84rem;
  color: var(--ivory-faint);
}

/* MY: account panel */
.my {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  padding: 6.5rem 7vw 6rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(60rem 36rem at 50% 18%, rgba(212, 188, 141, 0.07), transparent 70%),
    rgba(4, 17, 14, 0.985);
  animation: rise 0.45s var(--ease) both;
}

.my[hidden] { display: none; }

.my-inner {
  width: min(27rem, 100%);
  margin-block: auto;
}

.my-eyebrow {
  margin: 0 0 0.9rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  color: var(--gold);
}

.my-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.2vw, 2.9rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.1;
  color: var(--ivory);
}

.my-tag {
  margin: 0.7rem 0 0;
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.my-copy {
  margin: 1.5rem 0 0;
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--ivory-dim);
}

.my-copy[hidden],
.my-status[hidden],
.my-form[hidden],
.my-verify[hidden],
.my-account[hidden],
.my-error[hidden] { display: none; }

.my-status {
  margin: 2.2rem 0 0;
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--ivory-faint);
}

.my-form,
.my-verify,
.my-account { margin-top: 2rem; padding-top: 1.8rem; border-top: 1px solid rgba(243, 239, 230, 0.14); }

.my-form .club-field input { font-size: 1.02rem; }

.my-error {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  line-height: 1.6;
  color: #e6b7a0;
}

.my-submit {
  width: 100%;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: var(--gold);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #0a1a14;
  transition: opacity 0.3s ease;
}

.my-submit:disabled { opacity: 0.55; cursor: progress; }

.my-switch {
  margin: 1.1rem 0 0;
  font-family: var(--serif);
  font-size: 0.88rem;
  color: var(--ivory-dim);
}

.my-link {
  margin-left: 0.3rem;
  font-family: var(--serif);
  font-size: 0.88rem;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.my-verify-title {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.my-verify-copy {
  margin: 0 0 1.6rem;
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--ivory-dim);
}

.my-email {
  margin: 0 0 1.2rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ivory-dim);
  overflow-wrap: anywhere;
}

.my-list {
  margin: 0 0 1.8rem;
}

.my-list > div {
  display: grid;
  grid-template-columns: 8.6rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.1);
}

.my-list dt {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  line-height: 1.7;
  color: var(--gold);
}

.my-list dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ivory);
}

.my-list dd.is-soft,
.my-posts-count.is-soft {
  font-size: 0.9rem;
  color: var(--ivory-faint);
}

.my-posts-count {
  margin: 0;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ivory);
}

.my-post-list {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
}

.my-post-list:empty { display: none; }

.my-post {
  display: grid;
  width: 100%;
  gap: 0.15rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(243, 239, 230, 0.08);
  text-align: left;
  color: var(--ivory);
  transition: color 0.25s ease;
}

.my-post-title {
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.my-post-meta {
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--ivory-faint);
}

.my-post:hover .my-post-title,
.my-post:focus-visible .my-post-title { color: var(--gold); }

.my-logout {
  padding: 0.7rem 1.6rem;
  border: 1px solid rgba(212, 188, 141, 0.7);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  transition: background 0.3s ease;
}

.my-logout:hover,
.my-logout:focus-visible { background: rgba(212, 188, 141, 0.12); }
.my-logout:disabled { opacity: 0.55; cursor: progress; }

@media (max-width: 860px) {
  .my { padding-top: 5.2rem; }
}

/* MY: report row */
.my-report-text {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ivory);
}

.my-report-open {
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(212, 188, 141, 0.7);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  transition: background 0.3s ease, color 0.3s ease;
}

.my-report-open:hover,
.my-report-open:focus-visible {
  background: var(--gold);
  color: #0a1a14;
}

/* MY MONEY REPORT: one editorial document. Numbers are real; see script.js. */
.report-scroll { width: min(100%, 64rem); padding-top: 7rem; }

/* Keep scrolled report content from sliding under the fixed global header. */
#scene-report::before {
  content: "";
  display: block;
  position: sticky;
  top: 0;
  z-index: 3;
  height: 5rem;
  margin-bottom: -5rem;
  pointer-events: none;
  background: linear-gradient(to bottom, #050e0c 70%, rgba(5, 14, 12, 0));
}

#report-back { position: static; }

.report-hero {
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(243, 239, 230, 0.14);
}

.report-tag {
  margin: 0.7rem 0 1.5rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  color: var(--gold);
}

.report-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 3.6rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.report-cap-label {
  margin: 2.2rem 0 0.35rem;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: var(--ivory-faint);
}

.report-cap {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 7vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold);
  overflow-wrap: anywhere;
}

.report-lede {
  margin: 1.5rem 0 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ivory-dim);
}

.report-note {
  margin: 1.1rem 0 0;
  font-family: var(--serif);
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--ivory-faint);
}

.report-status[hidden],
.report-body[hidden],
.report-retry[hidden] { display: none; }

.report-status { padding: 3rem 0 2rem; }

.report-status-text {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ivory-dim);
}

.report-status.is-loading .report-status-text::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.6s ease-in-out infinite;
}

.report-status-sub {
  margin: 0.5rem 0 0;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--ivory-faint);
}

.report-retry {
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(212, 188, 141, 0.7);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.report-sec {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding: 2.6rem 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.1);
}

.report-sec-side { display: flex; align-items: baseline; gap: 0.9rem; }

.report-num {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
}

.report-sec-label {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--ivory-dim);
}

.report-sec-main { min-width: 0; }

.report-q {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.report-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 1.2rem;
  margin: 0;
}

.report-stat {
  min-width: 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(212, 188, 141, 0.35);
}

.report-stat dt {
  font-family: var(--sans);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  line-height: 1.6;
  color: var(--ivory-faint);
  overflow-wrap: anywhere;
}

.report-stat dd { margin: 0.4rem 0 0; }

.report-stat-value {
  font-family: var(--display);
  font-size: clamp(1.9rem, 8vw, 2.9rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ivory);
  overflow-wrap: anywhere;
}

.report-stat-unit {
  margin-left: 0.25rem;
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--ivory-dim);
}

.report-meter {
  height: 2px;
  margin-top: 1.7rem;
  background: rgba(243, 239, 230, 0.12);
}

.report-meter i {
  display: block;
  height: 100%;
  background: var(--gold);
}

.report-sum {
  margin: 1.2rem 0 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.7;
}

.report-scope {
  margin: 0.5rem 0 0;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--ivory-faint);
}

.report-lead {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ivory-dim);
}

.report-empty {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ivory-dim);
}

.report-list-note {
  padding: 0.9rem 0;
  border-top: 1px solid rgba(243, 239, 230, 0.1);
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--ivory-dim);
}

.report-foot {
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--ivory-faint);
}

.report-list { margin: 0; padding: 0; list-style: none; }
.report-list li:last-child .report-row { border-bottom: 1px solid rgba(243, 239, 230, 0.1); }

.report-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.4rem 1.4rem;
  width: 100%;
  padding: 1rem 0;
  border-top: 1px solid rgba(243, 239, 230, 0.1);
  text-align: left;
  color: var(--ivory);
}

.report-row.is-match { grid-template-columns: minmax(0, 1fr) auto auto; }
.report-row.is-story { grid-template-columns: minmax(0, 1fr); }
/* Read-only rows for the DEPOSIT / BOND / INVEST sections (nothing to click). */
.report-row.is-asset { grid-template-columns: minmax(0, 1fr) repeat(3, auto); gap: 0.4rem 1.8rem; cursor: default; }
.report-row.is-asset:hover .report-row-name { color: inherit; }
.report-row.is-asset.is-plain { grid-template-columns: minmax(0, 1fr); }
.report-slot[hidden] { display: none; }
.report-sec-note {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ivory-dim);
}
.report-sec-note.is-loading::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: var(--gold);
  animation: report-note-pulse 1.4s ease-in-out infinite;
}
@keyframes report-note-pulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .report-sec-note.is-loading::before { animation: none; } }
.report-sec-retry {
  margin-top: 1rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid rgba(212, 188, 141, 0.5);
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.report-sec-retry:hover,
.report-sec-retry:focus-visible { background: var(--gold); color: #0a1a14; }

.report-row-main { display: grid; gap: 0.25rem; min-width: 0; }

.report-row-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  transition: color 0.25s ease;
}

.report-row:hover .report-row-name,
.report-row:focus-visible .report-row-name { color: var(--gold); }

.report-row-meta {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ivory-faint);
}

.report-row-side { display: grid; gap: 0.2rem; text-align: right; }

.report-row-note {
  font-family: var(--sans);
  font-size: 0.54rem;
  letter-spacing: 0.18em;
  color: var(--ivory-faint);
}

.report-row-value {
  font-family: var(--serif);
  font-size: 1rem;
  white-space: nowrap;
}

.report-row-value.is-gold { color: var(--gold); }

.report-next { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }

.report-next-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 1.2rem 1.3rem;
  border: 1px solid rgba(243, 239, 230, 0.14);
}

.report-next-card.is-now { border-color: rgba(212, 188, 141, 0.55); }

.report-next-label {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.report-next-amount {
  margin: 0.2rem 0 0;
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.report-next-count {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.report-next-delta {
  margin: 0.2rem 0 0;
  font-family: var(--serif);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ivory-dim);
}

.report-club-label {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--ivory-faint);
}

.report-club-name {
  margin: 0.3rem 0 1.2rem;
  font-family: var(--display);
  font-size: 2.2rem;
  line-height: 1.1;
  color: var(--gold);
}

.report-link {
  margin-top: 1.2rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(212, 188, 141, 0.7);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  transition: background 0.3s ease, color 0.3s ease;
}

.report-link:hover,
.report-link:focus-visible { background: var(--gold); color: #0a1a14; }

.report-summary { border-bottom: 0; padding-bottom: 1rem; }

.report-summary-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 7vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.report-summary-title.is-gold { color: var(--gold); }

.report-summary-list { margin: 1.6rem 0 0; }

.report-summary-list > div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.1);
}

.report-summary-list dt {
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--ivory-faint);
}

.report-summary-list dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

.report-disclaimer {
  margin: 1.6rem 0 0;
  font-family: var(--serif);
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--ivory-faint);
}

@media (max-width: 860px) {
  .report-scroll { padding-bottom: 7rem; }
}

@media (max-width: 640px) {
  .report-row.is-match { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .report-row.is-match .report-row-main { grid-column: 1 / -1; }
  .report-row.is-match .report-row-side { text-align: left; }
  .report-row.is-match .report-row-side.is-gap { text-align: right; }
  .report-row.is-asset { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem 0.8rem; }
  .report-row.is-asset .report-row-main { grid-column: 1 / -1; }
  .report-row.is-asset .report-row-side { text-align: left; }
  .report-row.is-asset .report-row-side:last-child { text-align: right; }
  .report-row.is-asset.is-plain { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 640px) {
  .report-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .report-next { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 981px) {
  .report-scroll { padding-top: 7.6rem; }
  .report-sec { grid-template-columns: 11rem minmax(0, 1fr); gap: 2.4rem; }
  .report-sec-side { display: block; }
  .report-num { margin-bottom: 0.7rem; font-size: 2.6rem; }
  .report-summary { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ */
/* DETAIL: neighborhood view (Kakao Roadview)                          */
/* ------------------------------------------------------------------ */
.roadview-open {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  margin-top: 0.85rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(212, 188, 141, 0.6);
  background: rgba(6, 18, 15, 0.72);
  color: var(--gold);
  text-align: left;
  pointer-events: auto;
  transition: background 0.3s ease, color 0.3s ease;
}

.roadview-open-ko {
  font-family: var(--serif);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.roadview-open-en {
  font-family: var(--sans);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  opacity: 0.75;
}

.roadview-open:hover,
.roadview-open:focus-visible,
.roadview-open[aria-expanded="true"] {
  background: var(--gold);
  color: #0a1a14;
}

.roadview-panel {
  position: relative;
  z-index: 4;
  width: 100%;
  border-top: 1px solid rgba(212, 188, 141, 0.45);
  background: #050e0c;
  text-align: left;
}

.roadview-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
}

.roadview-title {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0;
}

.roadview-kicker {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.roadview-name {
  overflow: hidden;
  font-family: var(--serif);
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ivory);
}

.roadview-link,
.roadview-close {
  flex: none;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid rgba(212, 188, 141, 0.55);
  font-family: var(--serif);
  font-size: 0.82rem;
  color: var(--gold);
}

.roadview-canvas {
  width: 100%;
  height: min(58vh, 34rem);
  background: #02080a;
}

.roadview-status {
  margin: 0;
  padding: 2.2rem 1.25rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--ivory-dim);
}

@media (max-width: 640px) {
  .roadview-head { flex-wrap: wrap; gap: 0.5rem 0.9rem; padding: 0.7rem 1rem; }
  .roadview-title { flex-basis: 100%; }
  .roadview-canvas { height: 22rem; }
  .detail-scroll { padding-bottom: 7rem; }
}

/* Moa Town detail: 현장 보기 reuses the Roadview button/panel above inside the narrow detail pane */
.moa-site {
  margin-top: 0.9rem;
}

.moa-site .roadview-open {
  margin-top: 0;
}

.roadview-open-sub {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  opacity: 0.75;
}

.moa-site .roadview-panel {
  margin-top: 0.7rem;
  border: 1px solid rgba(212, 188, 141, 0.45);
}

.moa-site .roadview-head {
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  padding: 0.6rem 0.85rem;
}

.moa-site .roadview-title {
  flex-basis: 100%;
}

.moa-site .roadview-canvas {
  height: min(52vh, 20rem);
}

.moa-site .roadview-status {
  padding: 1.4rem 0.85rem;
}

.roadview-note {
  margin: 0;
  padding: 0.55rem 0.85rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--ivory-dim);
}

/* DEPOSIT: real FSS products, editorial and quiet */
/* The fixed MONEY MAP header fades out downward, so text scrolling under it stays
   visible through the fade. The scene therefore starts below the header and clips there. */
#scene-deposit.scene-chapter {
  top: 4.8rem;
}

#scene-deposit .deposit-scroll {
  width: min(100%, 72rem);
  padding-top: 1.6rem;
  padding-bottom: 6rem;
}

/* zero-specificity reset: the browser default margins on p/h/dl made the cards tall */
:where(#scene-deposit) :where(p, h2, h3, dl, dd, ul) {
  margin: 0;
}

/* not sticky here: a sticky "back" would float over the product cards while scrolling */
#scene-deposit .chapter-scroll .back {
  position: static;
}

.deposit-hero {
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}

.deposit-tag {
  margin-top: 0.5rem;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  color: var(--gold);
}

.deposit-title {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.deposit-cap-label {
  margin-top: 1.8rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--ivory-faint);
}

.deposit-cap {
  margin-top: 0.25rem;
  font-family: var(--display);
  font-size: clamp(2.1rem, 6.2vw, 3.8rem);
  font-weight: 500;
  color: var(--gold);
  overflow-wrap: anywhere;
}

.deposit-source {
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--ivory-dim);
}

.deposit-tabs {
  display: flex;
  gap: 2rem;
  margin-top: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.deposit-tab {
  padding: 0.7rem 0 0.8rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ivory-faint);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.deposit-tab[aria-selected="true"] {
  color: var(--ivory);
  border-bottom-color: var(--gold);
}

.deposit-controls {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.deposit-control-label {
  margin-bottom: 0.5rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--ivory-faint);
}

.deposit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.deposit-chip {
  padding: 0.5rem 0.95rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ivory-dim);
  border: 1px solid var(--line);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.deposit-chip:hover {
  color: var(--ivory);
  border-color: rgba(243, 239, 230, 0.4);
}

.deposit-chip[aria-pressed="true"] {
  color: var(--bg-deep);
  background: var(--gold);
  border-color: var(--gold);
}

.deposit-amount-field {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.7rem;
  max-width: 22rem;
  border-bottom: 1px solid var(--line);
}

.deposit-amount-hint {
  flex: none;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--ivory-faint);
}

.deposit-amount-field input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ivory);
  background: transparent;
  border: 0;
  outline: 0;
}

.deposit-amount-field:focus-within {
  border-bottom-color: var(--gold);
}

.deposit-amount-field input[aria-invalid="true"] {
  color: #e6a79a;
}

.deposit-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  color: var(--ivory-dim);
}

.deposit-status[hidden],
.deposit-body[hidden],
.deposit-notice[hidden],
.deposit-detail[hidden] {
  display: none;
}

.deposit-status.is-loading .deposit-status-text {
  animation: deposit-pulse 1.6s ease-in-out infinite;
}

@keyframes deposit-pulse {
  50% {
    opacity: 0.45;
  }
}

.deposit-retry {
  padding: 0.45rem 1rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--gold);
  border: 1px solid var(--gold-deep);
}

.deposit-body {
  margin-top: 1.6rem;
}

.deposit-notice {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  font-family: var(--serif);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--gold);
  border: 1px solid var(--gold-deep);
  background: rgba(212, 188, 141, 0.07);
}

.deposit-summary {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.deposit-summary-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.deposit-summary-count {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.deposit-summary-sub {
  margin-top: 0.3rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  color: var(--ivory-dim);
}

.deposit-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.deposit-empty {
  padding: 2.4rem 0;
  font-family: var(--serif);
  color: var(--ivory-dim);
}

.deposit-card {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  column-gap: 1.6rem;
  row-gap: 0.7rem;
  align-items: start;
  min-width: 0;
  padding: 1.05rem 1.3rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(243, 239, 230, 0.025);
}

.deposit-id {
  min-width: 0;
}

.deposit-co {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 0.76rem;
  color: var(--ivory-dim);
}

.deposit-badge {
  padding: 0.05rem 0.45rem;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  border: 1px solid rgba(212, 188, 141, 0.45);
}

.deposit-kind {
  font-size: 0.68rem;
  color: var(--ivory-faint);
}

.deposit-name {
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.deposit-fig {
  min-width: 0;
}

.deposit-fig-label {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--ivory-faint);
}

.deposit-fig-value {
  margin-top: 0.2rem;
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ivory);
  overflow-wrap: anywhere;
}

.deposit-fig-sub {
  margin-top: 0.25rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  line-height: 1.5;
  color: var(--ivory-faint);
  overflow-wrap: anywhere;
}

.deposit-fig.is-rate .deposit-fig-value {
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.deposit-fig.is-interest .deposit-fig-value {
  font-size: 1.35rem;
  color: var(--gold);
}

.deposit-fig.is-excluded .deposit-fig-value {
  font-size: 0.95rem;
  color: var(--ivory-faint);
}

.deposit-note {
  grid-column: 1 / -1;
  font-family: var(--sans);
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--ivory-dim);
}

.deposit-card-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.deposit-limit {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--ivory-faint);
}

.deposit-meta-row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.8rem;
}

.deposit-detail dt {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ivory-faint);
}

.deposit-detail-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.deposit-detail dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ivory-dim);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.deposit-toggle,
.deposit-more {
  margin-top: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  border-bottom: 1px solid rgba(212, 188, 141, 0.45);
  padding-bottom: 0.15rem;
}

.deposit-more {
  display: block;
  margin: 1.6rem auto 0;
}

.deposit-detail {
  grid-column: 1 / -1;
  margin-top: 0;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--line);
}

.deposit-foot {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.deposit-foot p {
  font-family: var(--sans);
  font-size: 0.74rem;
  line-height: 1.7;
  color: var(--ivory-dim);
}

.deposit-foot p + p {
  margin-top: 0.4rem;
}

@media (max-width: 860px) {
  .deposit-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 1rem 1rem 0.8rem;
  }

  .deposit-id,
  .deposit-fig.is-maturity {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  #scene-deposit .deposit-scroll {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    padding-bottom: 7.5rem;
  }

  .deposit-meta-row {
    grid-template-columns: 4.8rem minmax(0, 1fr);
    gap: 0.6rem;
  }

  .deposit-tabs {
    gap: 1.4rem;
  }
}
/* MONEY CLUB: one hero axis, two navigation tiers, quieter feed */
.club-lede {
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 3.6vw, 1.45rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.club-sublede {
  margin: 0.7rem 0 0;
  font-family: var(--serif);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ivory-dim);
  white-space: pre-line;
}

/* tier 2: asset category, a light text filter under the big CLUB band */
.club-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.3rem;
  margin-top: 1rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(243, 239, 230, 0.1);
}

.club-cat {
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ivory-faint);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.club-cat:hover,
.club-cat:focus-visible { color: var(--ivory); }

.club-cat.is-current {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.club-note[hidden] { display: none; }

/* the sidebar is taller than a laptop viewport now, so it scrolls with the page */
#scene-club .club-aside { position: static; }

.club-post-cat {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.club-post-main { gap: 0.4rem; }

.club-post-body { font-size: 0.86rem; }

.club-post-meta { gap: 0; }

.club-post-meta > * + *::before {
  content: "·";
  margin: 0 0.5rem;
  color: rgba(243, 239, 230, 0.3);
}

.club-cat-counts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.club-cat-count {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.2rem;
  border-bottom: 1px solid rgba(243, 239, 230, 0.08);
  font-family: var(--serif);
  font-size: 0.92rem;
  color: var(--ivory);
}

.club-cat-count:last-child { border-bottom: 0; }

.club-cat-count.is-zero { color: var(--ivory-faint); opacity: 0.5; }

/* secondary sidebar cards stay quieter than the feed */
.club-card.is-minor {
  padding: 1rem 1.2rem 1.1rem;
  border-color: rgba(243, 239, 230, 0.08);
  background: transparent;
}

.club-card.is-minor .club-topic,
.club-card.is-minor .club-region-name {
  font-size: 0.84rem;
  color: var(--ivory-dim);
}

.club-card.is-minor .club-region-note,
.club-card.is-minor .aside-kicker { color: var(--ivory-faint); }

.club-cat-count-n {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--gold);
}

.club-cat-count.is-zero .club-cat-count-n { color: var(--ivory-faint); }

/* tag picker in the write panel */
.club-tagpick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.club-tagpick-item {
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(243, 239, 230, 0.25);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ivory-dim);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.club-tagpick-item.is-on {
  border-color: rgba(212, 188, 141, 0.8);
  background: rgba(212, 188, 141, 0.14);
  color: var(--gold);
}

@media (max-width: 640px) {
  .club-comment-form { grid-template-columns: minmax(0, 1fr) auto; }
  .club-comment-nick { grid-column: 1 / -1; }
  .club-state,
  .club-detail { padding-left: 0.4rem; }
}

@media (min-width: 640px) {
  .club-band { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (min-width: 981px) {
  #scene-club .chapter-scroll {
    position: relative;
    width: min(100%, 118rem);
    padding: 4.6rem 2.6vw 2rem;
  }

  #scene-club .chapter-scroll .back { top: 3.05rem; }

  .club-name { margin-top: 0.4rem; font-size: 2.8rem; }
  .club-band { margin-top: 1.1rem; }
  .club-band-item { min-height: 2.7rem; padding: 0.35rem 0.9rem; gap: 0.15rem; }
  .club-note { margin-top: 0.6rem; }
  .club-layout { margin-top: 0.9rem; }
  .club-aside { top: 4.2rem; }

  #scene-club .chapter-scroll .back {
    position: absolute;
    top: 3.2rem;
    left: 2.6vw;
    margin: 0;
  }

  .club-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2.6rem;
  }

  .club-band { max-width: 64rem; }
  .club-head .eyebrow { margin: 0; }
  .club-write-open { justify-self: end; }

  .club-layout {
    grid-template-columns: minmax(0, 68fr) minmax(20rem, 32fr);
    gap: 2.4rem;
    align-items: start;
  }

  .club-aside {
    position: sticky;
    top: 4.6rem;
  }


}

@keyframes enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes pulse {
  0%, 100% { transform: scaleX(0.25); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

@media (max-width: 860px) {
  .frame { inset: 0.45rem; }
  .chrome,
  .chapter-scroll { padding-left: 1.25rem; padding-right: 1.25rem; }
  .scene-map .back { left: 1.25rem; }
  .orbit { width: min(78vw, 48vh, 460px); }
  .node-en { font-size: 0.62rem; letter-spacing: 0.14em; }
  .node-ko { font-size: 0.78rem; }
  .chrome-tag { letter-spacing: 0.12em; }
  .detail-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    align-items: stretch;
  }
  .detail-visual { min-height: 46vh; }
  .elevation-tag { left: 0.6rem; }
}

@media (max-width: 640px) {
  .hero-title { letter-spacing: 0.06em; }
  .orbit { width: min(78vw, 360px); }
  .core { width: 52%; }
  .entry {
    grid-template-columns: 1.8rem minmax(0, 1fr);
  }
  .entry-price {
    grid-column: 2;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-lockup,
  .entry,
  .depth-shift,
  .orbit,
  .map-zoom,
  .scene-hero,
  .scene-map,
  .scene-chapter,
  .flyer,
  .orbit-ring,
  .spoke,
  .node,
  .hero-fade,
  .status.is-loading p::before {
    animation: none !important;
    transition: none !important;
  }

  .orbit-ring,
  .spoke {
    stroke-dashoffset: 0 !important;
  }
}

/* INVEST: real ETF closing prices. Shares DEPOSIT's quiet financial vocabulary,
   but the card leads with the user's own money: quantity, spend, what is left. */
#scene-invest.scene-chapter {
  top: 4.8rem;
}

#scene-invest .invest-scroll {
  width: min(100%, 72rem);
  padding-top: 1.6rem;
  padding-bottom: 6rem;
}

:where(#scene-invest) :where(p, h2, h3, dl, dd, ul) {
  margin: 0;
}

#scene-invest .chapter-scroll .back {
  position: static;
}

.invest-hero .deposit-title {
  margin-top: 1rem;
}

.invest-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 1.4rem 0 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.invest-stats[hidden],
.invest-controls[hidden],
.invest-foot[hidden] {
  display: none;
}

.invest-stat {
  min-width: 0;
}

.invest-stat dt {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--ivory-faint);
}

.invest-stat dd {
  margin-top: 0.3rem;
  font-family: var(--display);
  font-size: clamp(1rem, 2.6vw, 1.45rem);
  color: var(--ivory);
  overflow-wrap: anywhere;
}

.invest-search {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 24rem;
  border-bottom: 1px solid var(--line);
}

.invest-search:focus-within {
  border-bottom-color: var(--gold);
}

.invest-search-label {
  flex: none;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--ivory-faint);
}

.invest-search input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ivory);
  background: transparent;
  border: 0;
  outline: 0;
}

.invest-card {
  grid-template-columns: minmax(0, 1fr);
  row-gap: 0.9rem;
}

.invest-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.4rem;
  min-width: 0;
}

.invest-head .deposit-id {
  flex: 1;
}

.invest-close {
  flex: none;
  text-align: right;
}

.invest-close-value {
  margin-top: 0.2rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ivory);
}

.invest-rate {
  margin-top: 0.15rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  color: var(--ivory-dim);
}

.invest-rate.is-up { color: #e6a79a; }
.invest-rate.is-down { color: #9fb8d6; }

.invest-money {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: end;
  gap: 0.8rem 1.6rem;
  padding: 0.9rem 1rem 0.8rem;
  border: 1px solid var(--gold-deep);
  background: rgba(212, 188, 141, 0.05);
}

.invest-qty-value {
  margin-top: 0.15rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  color: var(--gold);
  overflow-wrap: anywhere;
}

.invest-split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.invest-bar {
  grid-column: 1 / -1;
  height: 2px;
  background: rgba(243, 239, 230, 0.12);
}

.invest-bar-fill {
  display: block;
  height: 100%;
  background: var(--gold);
}

.invest-fig {
  min-width: 0;
}

.invest-fig-value {
  margin-top: 0.2rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ivory);
  overflow-wrap: anywhere;
}

.invest-facts {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem 1.6rem;
}

.invest-detail-note {
  margin-top: 0.8rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  line-height: 1.6;
  color: var(--ivory-faint);
}

@media (max-width: 720px) {
  #scene-invest .invest-scroll {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    padding-bottom: 7.5rem;
  }

  .invest-stats {
    gap: 0.7rem;
  }

  .invest-head {
    flex-direction: column;
    gap: 0.6rem;
  }

  .invest-close {
    text-align: left;
  }

  .invest-money {
    grid-template-columns: minmax(0, 1fr);
  }

  .invest-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .invest-facts {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .invest-facts .invest-fig:first-child {
    grid-column: 1 / -1;
  }
}

/* BOND (limited): same quiet vocabulary as INVEST; cards lead with the user's own money. */
#scene-bond.scene-chapter {
  top: 4.8rem;
}

#scene-bond .bond-scroll {
  width: min(100%, 72rem);
  padding-top: 1.6rem;
  padding-bottom: 6rem;
}

:where(#scene-bond) :where(p, h2, h3, dl, dd, ul) {
  margin: 0;
}

#scene-bond .chapter-scroll .back {
  position: static;
}

.bond-note {
  font-family: var(--sans);
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--ivory-faint);
}

.bond-rating {
  min-width: 0;
}

@media (max-width: 720px) {
  #scene-bond .bond-scroll {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    padding-bottom: 7.5rem;
  }
}

/* MY MONEY REPORT: free preview + paid full report (test payment). Same palette as the report. */
.report-plan {
  display: inline-block;
  margin: 0.9rem 0 0;
  padding: 0.28rem 0.8rem;
  border: 1px solid rgba(243, 239, 230, 0.28);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: var(--ivory-dim);
}

.report-plan.is-full {
  border-color: rgba(212, 188, 141, 0.7);
  color: var(--gold);
}

.report-plan[hidden] { display: none; }

.report-lock {
  margin: 2.6rem 0 1rem;
  padding: 2rem 1.3rem;
  border: 1px solid rgba(212, 188, 141, 0.38);
  border-radius: 2px;
  background: rgba(243, 239, 230, 0.035);
  overflow-wrap: anywhere;
}

.report-lock-tag {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.report-lock-title {
  margin: 0.9rem 0 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.report-lock-lead {
  margin: 0.7rem 0 0;
  font-family: var(--serif);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ivory-dim);
}

.report-lock-list {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.report-lock-list li {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(243, 239, 230, 0.1);
}

.report-lock-item { display: flex; align-items: baseline; gap: 0.8rem; }

.report-lock-num {
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--gold);
}

.report-lock-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--ivory-dim);
}

.report-lock-text {
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ivory-faint);
}

.report-pay {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  width: 100%;
  margin-top: 1.6rem;
  padding: 1rem 1.4rem;
  border: 0;
  border-radius: 2px;
  background: var(--gold);
  color: #0a1a14;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s ease, opacity 0.3s ease;
}

.report-pay:hover:not(:disabled),
.report-pay:focus-visible { background: var(--gold-deep); }

.report-pay:disabled { cursor: default; opacity: 0.55; }

.report-pay[aria-busy="true"] .report-pay-main::after {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.7rem;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s ease-in-out infinite;
}

.report-pay-main {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.report-pay-sub {
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  opacity: 0.78;
}

.report-lock-note {
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--ivory-faint);
}

.report-lock-msg {
  min-height: 1.4rem;
  margin: 0.8rem 0 0;
  font-family: var(--serif);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ivory);
}

.report-lock-msg:empty { display: none; }

.pay-notice {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  z-index: 40;
  box-sizing: border-box;
  width: max-content;
  max-width: min(30rem, calc(100vw - 2rem));
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(212, 188, 141, 0.6);
  border-radius: 2px;
  background: rgba(5, 14, 12, 0.96);
  font-family: var(--serif);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ivory);
  overflow-wrap: anywhere;
  transform: translateX(-50%);
  cursor: pointer;
}

.pay-notice[hidden] { display: none; }

@media (min-width: 640px) {
  .report-lock { padding: 2.6rem 2.4rem; }
  .report-lock-list li { grid-template-columns: 14rem minmax(0, 1fr); align-items: baseline; gap: 1.2rem; }
  .report-pay { width: auto; min-width: 19rem; }
}

/* ------------------------------------------------------------------ */
/* PROPERTY development view: 모아타운 layer                           */
/* ------------------------------------------------------------------ */
.view-mode {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.1rem;
  margin-top: 1.2rem;
}

.view-switch,
.dev-types {
  display: inline-flex;
  gap: 0;
}

.dev-types[hidden],
.dev-note[hidden],
.moa-status[hidden] {
  display: none;
}

.view-switch button,
.dev-types button {
  padding: 0.42rem 0.95rem;
  border: 1px solid rgba(243, 239, 230, 0.22);
  margin-left: -1px;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--ivory-dim);
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.view-switch button:first-child,
.dev-types button:first-child {
  margin-left: 0;
}

.view-switch button:hover,
.view-switch button:focus-visible,
.dev-types button:not(:disabled):hover,
.dev-types button:not(:disabled):focus-visible {
  color: var(--ivory);
  border-color: rgba(243, 239, 230, 0.5);
}

.view-switch button[aria-pressed="true"] {
  color: #0a1a14;
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
  position: relative;
}

.dev-types button[aria-pressed="true"] {
  color: #0a1a14;
  background: #9fc7b0;
  border-color: #9fc7b0;
  font-weight: 600;
  position: relative;
}

.dev-types button:disabled {
  cursor: default;
  color: var(--ivory-faint);
  border-style: dashed;
}

.dev-types button i {
  margin-left: 0.45rem;
  font-style: normal;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  opacity: 0.85;
}

.dev-note {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--ivory-dim);
}

/* layer switch inside .explore */
.explore:not(.is-moa) .moa-only,
.explore.is-moa .trade-only {
  display: none !important;
}

/* markers (Kakao CustomOverlay content) */
.moa-pin {
  --moa: #9fc7b0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.28rem 0.55rem 0.3rem 0.38rem;
  border: 1.5px solid var(--moa);
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1;
  font-family: var(--sans);
  color: var(--moa);
  background: rgba(6, 18, 15, 0.92);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transform-origin: 50% 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.moa-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 7px;
  height: 7px;
  transform: translateX(-50%) rotate(45deg);
  background: #0d221a;
  border: solid var(--moa);
  border-width: 0 1.5px 1.5px 0;
}

.moa-pin-mark {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
}

.moa-pips {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.moa-pips i {
  display: block;
  width: 0.26rem;
  height: 0.62rem;
  border: 1px solid currentColor;
  border-radius: 1px;
  opacity: 0.9;
}

.moa-pips i.is-on {
  background: currentColor;
}

/* earliest: hollow, dashed */
.moa-pin[data-status="selected"] {
  border-style: dashed;
  background: rgba(6, 18, 15, 0.86);
  color: rgba(159, 199, 176, 0.88);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.moa-pin[data-status="selected"]::after {
  background: #0b1d16;
  border-style: dashed;
}

/* middle: solid line, half filled */
.moa-pin[data-status="plan_in_progress"] {
  background: linear-gradient(90deg, rgba(159, 199, 176, 0.34) 0 46%, rgba(6, 18, 15, 0.94) 46% 100%);
}

/* furthest: filled, double ring */
.moa-pin[data-status="designated"] {
  border-color: #d8efe2;
  color: #0a1a14;
  background: #9fc7b0;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(159, 199, 176, 0.25);
}

.moa-pin[data-status="designated"]::after {
  background: #9fc7b0;
  border-color: #d8efe2;
}

.moa-pin:hover {
  transform: scale(1.06);
}

.moa-pin.is-selected {
  transform: scale(1.18);
  outline: 2px solid var(--ivory);
  outline-offset: 3px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65), 0 0 0 7px rgba(243, 239, 230, 0.14);
}

.moa-pin:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 3px;
}

/* small badge only: the marker colour itself never changes with the budget */
.moa-pin-won {
  position: absolute;
  top: -0.42rem;
  right: -0.3rem;
  display: none;
  place-items: center;
  width: 0.95rem;
  height: 0.95rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  background: #0a1a14;
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.moa-pin.has-afford .moa-pin-won {
  display: grid;
}

.legend-won {
  display: inline-grid;
  place-items: center;
  width: 0.95rem;
  height: 0.95rem;
  margin: 0 0.1rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 700;
  color: var(--gold);
}

/* legend */
.map-legend.moa-legend {
  top: auto;
  right: auto;
  bottom: 0.8rem;
  left: 0.8rem;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.95rem;
  max-width: calc(100% - 1.6rem);
  padding: 0.4rem 0.7rem;
  font-size: 0.64rem;
}

.legend-moa {
  display: inline-block;
  width: 1.15rem;
  height: 0.62rem;
  border: 1.5px solid #9fc7b0;
  border-radius: 999px;
}

.legend-moa[data-status="selected"] {
  border-style: dashed;
  background: transparent;
}

.legend-moa[data-status="plan_in_progress"] {
  background: linear-gradient(90deg, rgba(159, 199, 176, 0.6) 0 50%, transparent 50% 100%);
}

.legend-moa[data-status="designated"] {
  background: #9fc7b0;
}

/* small, non-blocking load / error state */
.moa-status {
  position: absolute;
  left: 50%;
  bottom: 3.4rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  max-width: calc(100% - 2rem);
  padding: 0.5rem 0.9rem;
  transform: translateX(-50%);
  border: 1px solid rgba(159, 199, 176, 0.45);
  background: rgba(5, 14, 12, 0.92);
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--ivory-dim);
}

.moa-status.is-error {
  border-color: rgba(212, 188, 141, 0.55);
  color: var(--ivory);
}

.moa-status button {
  flex: none;
  padding-bottom: 0.1rem;
  font-size: 0.72rem;
  color: var(--gold);
  border-bottom: 1px solid rgba(212, 188, 141, 0.55);
}

/* detail card */
.moa-address {
  margin: 0.25rem 0 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ivory-dim);
}

.moa-facts {
  display: flex;
  gap: 0.6rem 2rem;
  margin: 0.85rem 0 0;
}

.moa-facts dt {
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--ivory-faint);
}

.moa-facts dd {
  margin: 0.15rem 0 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.moa-basis {
  display: inline-block;
  margin: 0.8rem 0 0;
  padding: 0.18rem 0.55rem;
  border: 1px dashed rgba(159, 199, 176, 0.6);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #9fc7b0;
}

.moa-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.3rem;
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
}

.moa-step {
  padding-top: 0.5rem;
  border-top: 3px solid rgba(243, 239, 230, 0.16);
  font-family: var(--sans);
  font-size: 0.6rem;
  line-height: 1.35;
  letter-spacing: 0;
  word-break: keep-all;
  color: var(--ivory-faint);
}

.moa-step.is-done {
  border-top-color: #6f9a85;
  color: var(--ivory-dim);
}

.moa-step.is-current {
  border-top-color: #9fc7b0;
  color: var(--ivory);
  font-weight: 600;
}

/* aside list */
.moa-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.moa-empty {
  margin: 0.8rem 0 0;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ivory-dim);
}

.moa-empty-sub {
  margin: 0.4rem 0 0;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ivory-faint);
}

.moa-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.2rem 0.8rem;
  width: 100%;
  padding: 0.7rem 0.5rem;
  border-top: 1px solid var(--line);
  border-left: 2px solid transparent;
  text-align: left;
  color: var(--ivory-dim);
}

.moa-entry:hover,
.moa-entry:focus-visible {
  color: var(--ivory);
}

.moa-entry.is-selected {
  border-left-color: #9fc7b0;
  background: rgba(159, 199, 176, 0.06);
  color: var(--ivory);
}

.moa-entry-name {
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.moa-entry-label {
  grid-column: 1;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--ivory-faint);
}

.moa-entry-near,
.moa-entry-verdict {
  grid-column: 1 / -1;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.moa-entry-near {
  margin-top: 0.3rem;
  color: var(--ivory-dim);
  font-variant-numeric: tabular-nums;
}

.moa-entry-verdict {
  color: var(--ivory-faint);
}

.moa-entry-verdict[data-tone="yes"] {
  color: var(--gold);
}

.moa-entry-verdict[data-tone="yes"]::before {
  content: "₩";
  display: inline-grid;
  place-items: center;
  width: 0.9rem;
  height: 0.9rem;
  margin-right: 0.4rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  font-size: 0.48rem;
  font-weight: 700;
  vertical-align: 0.05em;
}

.moa-entry-verdict[data-tone="wait"] {
  color: var(--ivory-dim);
}

/* ---- right-hand detail pane (GOLD = my money, SAGE = development) ---- */
.moa-sub {
  margin: 0.2rem 0 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ivory-dim);
}

.map-head.moa-only .map-note {
  margin-top: 0.15rem;
  font-size: 0.64rem;
  color: var(--ivory-faint);
}

.moa-detail {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.6rem;
}

.moa-detail[hidden] {
  display: none;
}

.moa-back {
  padding: 0 0 0.1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ivory-dim);
  border-bottom: 1px solid rgba(243, 239, 230, 0.3);
}

.moa-back:hover,
.moa-back:focus-visible {
  color: var(--ivory);
}

.moa-detail-stage {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.9rem 0 0;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #9fc7b0;
}

.moa-detail-stage .moa-pips {
  color: #9fc7b0;
}

.moa-detail-title {
  margin: 0.3rem 0 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* 2. my money */
.moa-money {
  margin-top: 1rem;
  padding: 0.85rem 1rem 0.95rem;
  border: 1px solid rgba(212, 188, 141, 0.28);
  background: rgba(212, 188, 141, 0.05);
}

.moa-money[data-tone="yes"] {
  border-color: rgba(212, 188, 141, 0.7);
  background: rgba(212, 188, 141, 0.1);
}

.moa-money-label {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.moa-money-amount {
  margin: 0.15rem 0 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.moa-money-lead {
  margin: 0.7rem 0 0;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ivory-dim);
}

.moa-money-hit {
  margin: 0.15rem 0 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--ivory-dim);
}

.moa-money[data-tone="yes"] .moa-money-hit {
  color: var(--ivory);
  font-weight: 600;
}

.moa-money[data-tone="yes"] .moa-money-hit::before {
  content: "₩";
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-right: 0.5rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gold);
  vertical-align: 0.1em;
}

.moa-money[data-tone="wait"] .moa-money-hit {
  font-size: 0.95rem;
}

.moa-section-title {
  margin: 0 0 0.3rem;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: #9fc7b0;
}

/* 3. trades within budget */
.moa-afford {
  margin-top: 1.1rem;
}

.moa-afford .moa-section-title {
  color: var(--gold);
}

.moa-deals {
  margin: 0;
  padding: 0;
  list-style: none;
}

.moa-deal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.1rem 0.8rem;
  padding: 0.5rem 0.6rem;
  border-top: 1px solid var(--line);
  border-left: 2px solid transparent;
  font-family: var(--sans);
}

.moa-deal[data-within="true"] {
  border-left-color: var(--gold);
}

.moa-deal-name {
  min-width: 0;
  font-size: 0.82rem;
  color: var(--ivory);
  overflow-wrap: anywhere;
}

.moa-deal-price {
  font-family: var(--serif);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ivory-dim);
}

.moa-deal[data-within="true"] .moa-deal-price {
  color: var(--gold);
}

.moa-afford .moa-deal-price {
  font-size: 1.3rem;
}

.moa-deal-meta {
  grid-column: 1 / -1;
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  color: var(--ivory-faint);
}

.moa-more {
  margin: 0.3rem 0 0;
  padding-left: 0.6rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--gold);
}

/* 4. price range: secondary */
.moa-range {
  margin-top: 1.1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.moa-range-count {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ivory-dim);
}

.moa-range-period {
  margin: 0.15rem 0 0;
  font-family: var(--sans);
  font-size: 0.64rem;
  line-height: 1.5;
  color: var(--ivory-faint);
}

.moa-range-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0.5rem 0 0;
}

.moa-range-stats dt {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--ivory-faint);
}

.moa-range-stats dd {
  margin: 0.1rem 0 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  color: var(--ivory-dim);
}

/* 5. nearest trades */
.moa-nearest {
  margin-top: 1.1rem;
}

/* 6. moatown facts */
.moa-info {
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.moa-hint {
  margin: 0.4rem 0 0;
  font-family: var(--sans);
  font-size: 0.62rem;
  color: var(--ivory-faint);
}

.moa-near-note {
  margin: 0.9rem 0 0.6rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--ivory-dim);
}

.moa-entry .moa-pips {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #9fc7b0;
}

@media (min-width: 981px) {
  .explore.is-moa {
    grid-template-columns: minmax(0, 13fr) minmax(23rem, 7fr);
  }
  .explore.has-detail .moa-list,
  .explore.has-detail .aside-kicker.moa-only {
    display: none !important;
  }
  .view-mode + .explore {
    --stage-height: clamp(36rem, calc(100vh - 16.4rem), 66rem);
  }
  .moa-pin {
    padding: 0.32rem 0.65rem 0.34rem 0.45rem;
  }
}

@media (max-width: 980px) {
  .moa-detail {
    overflow: visible;
    padding-right: 0;
    margin-bottom: 1.6rem;
  }
  .moa-list {
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .view-mode {
    gap: 0.6rem;
  }
  .view-switch button,
  .dev-types button {
    padding: 0.42rem 0.75rem;
  }
  .map-head.moa-only {
    max-width: calc(100% - 1.7rem);
  }
  .moa-steps {
    gap: 0.2rem;
  }
  .moa-step {
    font-size: 0.56rem;
  }
  .moa-facts {
    gap: 0.6rem 1.4rem;
  }
}
