/* ============================================================
   Beam Signs — landing-v1 "reality view" add-on styles
   (separate file: styles.css is untouched)
   ============================================================ */

/* format chips */
.cv-chips {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  margin: 0 auto 1.8rem;
}
.cv-chip span { color: var(--ink-soft); font-size: .8em; margin-left: .15rem; }
.cv-chip.is-active { background: var(--plum); color: #fff; border-color: var(--plum); }
.cv-chip.is-active span { color: rgba(255, 255, 255, .75); }

/* two panels */
.cv-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.4rem; align-items: stretch; }
.cv-panel {
  margin: 0; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 12px 30px -24px rgba(122, 42, 73, .6);
}
.cv-panel figcaption {
  padding: .7rem 1rem; font-size: .85rem; color: var(--ink-soft);
  border-top: 1px solid var(--line); text-align: center;
}
.cv-panel figcaption small { display: block; font-size: .78em; opacity: .85; }

/* panel 1 — scale scene */
.cv-scene {
  position: relative; height: 380px; overflow: hidden;
  background: linear-gradient(180deg, #eef3f7 0%, #f6f0e6 78%);
}
.cv-ground {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, #a9c08b, #8fae74);
  border-top: 1px solid #9cb381;
}
.cv-person { position: absolute; left: 13%; }
.cv-person svg { height: 100%; width: auto; display: block; }
.cv-group { position: absolute; left: 56%; }
.cv-mount { position: absolute; bottom: 0; }
.cv-mount--stake { width: 3px; background: #9aa1a8; }
.cv-mount--post {
  left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #8a6a4c, #a5825f 45%, #8a6a4c);
  border-radius: 2px 2px 0 0;
}
.cv-mount--pole {
  left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #8e979e, #c6ccd1 45%, #7e878e);
  border-radius: 99px 99px 0 0;
}
.cv-mount--stick {
  left: 50%; transform: translateX(-50%); width: 3px;
  background: linear-gradient(90deg, #7e878e, #aab1b7);
  border-radius: 99px 99px 0 0;
}

/* the physical sign face (both panels) */
.cv-face {
  position: relative; overflow: hidden; border-radius: 2px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(58, 37, 48, .35), 0 6px 14px -6px rgba(58, 37, 48, .35);
  z-index: 1;
}
.cv-ref { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
.cv-ref .sign {
  border-radius: 0; box-shadow: none; border: none;
  aspect-ratio: auto; pointer-events: none;
}

/* bamboo marker face */
.cv-face--bamboo {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4%; background: linear-gradient(180deg, #d8bd8f, #cbab77);
  border-radius: 6% / 12%;
  box-shadow: inset 0 0 0 1px rgba(107, 79, 43, .35), 0 1px 2px rgba(58, 37, 48, .35);
}
.cv-face--bamboo span {
  font-family: var(--font-head); color: #5d452a; line-height: 1;
  letter-spacing: .02em; white-space: nowrap; max-width: 94%; overflow: hidden;
}
.cv-face--bamboo .cv-b-sub { opacity: .75; font-family: var(--font-body); }

/* panel 2 — perceived size at distance */
.cv-dist-head { padding: .8rem .8rem 0; display: flex; justify-content: center; }
.cv-seg { max-width: 260px; flex: 1; }
.cv-dist {
  flex: 1; min-height: 300px; display: grid; place-items: center;
  padding: 1.2rem; overflow: auto;
  background:
    linear-gradient(180deg, rgba(238, 243, 247, .6), rgba(246, 240, 230, .6)),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(122, 42, 73, .05) 34px 35px),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(122, 42, 73, .05) 34px 35px);
}
.cv-dist-holder { position: relative; flex-shrink: 0; }
.cv-dist-holder .cv-face { width: 100% !important; height: 100% !important; }

/* facts + description */
.cv-empty {
  position: absolute; inset: 0; display: grid; place-items: center;
  margin: 0; padding: 2rem; text-align: center; color: var(--ink-soft); font-style: italic;
}
.cv-dist .cv-empty { position: static; }
.cv-facts { text-align: center; color: var(--ink); margin: 1.6rem auto .3rem; max-width: 62ch; }
.cv-facts small { color: var(--ink-soft); display: block; margin-top: .15rem; }
.cv-desc { text-align: center; color: var(--ink-soft); font-size: .9rem; max-width: 62ch; margin: 0 auto; }

/* responsive */
@media (max-width: 860px) {
  .cv-grid { grid-template-columns: 1fr; }
  .cv-scene { height: 320px; }
}
