/* VA Meet — create (LUNA bible) + Explore door (KAI) */

.va-meet-card {
  background: #111827;
  overflow: hidden;
  border-radius: 0.75rem;
}

/* LUNA sheet: 2:3, full image visible — no inner scroll (mobile + PC) */
:root {
  --va-luna-viewport-pad: 8rem;
  --va-luna-sheet-max-w: 34rem;
}

/* —— LUNA: studio-create private meet moment —— */

.va-meet-mode-create {
  border: 1px solid rgba(129, 140, 248, 0.25);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.va-meet-luna-sheet-wrap {
  position: relative;
  width: min(100%, calc((100vh - var(--va-luna-viewport-pad)) * 2 / 3));
  aspect-ratio: 2 / 3;
  max-height: calc(100vh - var(--va-luna-viewport-pad));
  margin-left: auto;
  margin-right: auto;
  background: #0f172a;
  overflow: hidden;
}

.va-meet-luna-sheet-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.va-meet-luna-sheet-empty {
  aspect-ratio: 2 / 3;
  background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
}

.va-meet-luna-body {
  padding: 1.35rem 1.35rem 1.5rem;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
}

.va-meet-luna-header {
  display: grid;
  grid-template-rows: auto auto;
  row-gap: 0.2rem;
  margin-bottom: 0.85rem;
}

.va-meet-luna-header-spacer {
  grid-row: 1;
  min-height: 0.78rem;
}

.va-meet-luna-title-row {
  grid-row: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.va-meet-luna-brand {
  margin: 0;
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(199, 210, 254, 0.75);
  text-align: right;
}

.va-meet-luna-name {
  margin: 0;
  min-width: 0;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.va-meet-luna-tagline {
  margin: 1rem 0 1.1rem;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.55;
  color: rgba(224, 231, 255, 0.96);
}

.va-meet-luna-personality {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.5rem;
  margin-top: 0.65rem;
  margin-bottom: 1.15rem;
}

.va-meet-luna-section {
  margin-bottom: 1rem;
}

.va-meet-luna-personality + .va-meet-luna-section,
.va-meet-luna-section + .va-meet-luna-section {
  margin-top: 0.75rem;
}

.va-meet-luna-section-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(199, 210, 254, 0.72);
}

.va-meet-luna-palette {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.va-meet-luna-swatch {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.va-meet-luna-chip-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.va-meet-luna-chip {
  display: inline-block;
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(243, 244, 246, 0.94);
}

.va-meet-luna-chip-personality {
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(129, 140, 248, 0.22);
  font-size: 1rem;
}

.va-meet-luna-chip-style,
.va-meet-luna-chip-genre {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.va-meet-luna-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.va-meet-luna-brand-icon {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  flex-shrink: 0;
}

.va-meet-luna-my-artist {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(224, 231, 255, 0.88);
}

.va-meet-variant-natural.va-meet-mode-create .va-meet-luna-body {
  background: linear-gradient(180deg, #1c1917 0%, #111827 100%);
}

.va-meet-variant-urban.va-meet-mode-create .va-meet-luna-body {
  background: linear-gradient(180deg, #0f0a1e 0%, #111827 100%);
}

@media (min-width: 1024px) {
  .va-meet-mode-create {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: stretch;
  }

  .va-meet-luna-sheet-wrap {
    margin-left: 0;
    margin-right: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    max-width: min(100%, var(--va-luna-sheet-max-w));
    max-height: min(
      calc(100vh - var(--va-luna-viewport-pad)),
      calc(var(--va-luna-sheet-max-w) * 1.5)
    );
  }

  .va-meet-luna-body {
    display: flex;
    flex-direction: column;
    width: min(100%, 32rem);
    max-width: 32rem;
    margin-left: -1.75rem;
    margin-right: auto;
    max-height: min(
      calc(100vh - var(--va-luna-viewport-pad)),
      calc(var(--va-luna-sheet-max-w) * 1.5)
    );
    padding: 1.5rem 1.65rem 1.65rem;
    overflow-y: auto;
    min-height: 0;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
  }

  .va-meet-luna-footer {
    margin-top: auto;
  }
}

/* —— KAI: Explore door —— */

.va-meet-mode-door {
  background: #0f172a;
}

.va-meet-door-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #111827;
  overflow: hidden;
}

.va-meet-door-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.va-meet-door-hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}

.va-meet-door-pending-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem 0.75rem 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(to top, rgba(15, 23, 42, 0.78), transparent);
}

.va-meet-door-hero-fallback {
  width: 100%;
  height: 100%;
  background: #1f2937;
}

.va-meet-door-play-wrap {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 20;
}

/* Poster with baked typography: player moves bottom-left (corner left empty in the image). */
.va-meet-door-play-wrap--left {
  right: auto;
  left: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.va-meet-door-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 1.5rem;
  pointer-events: none;
}

.va-meet-door-wave i {
  display: block;
  width: 3px;
  height: 30%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.8);
}

.va-meet-door-wave i:nth-child(2) { height: 60%; }
.va-meet-door-wave i:nth-child(3) { height: 90%; }
.va-meet-door-wave i:nth-child(4) { height: 50%; }

.va-meet-feed-play[aria-pressed="true"] + .va-meet-door-wave i {
  animation: va-door-wave 0.9s ease-in-out infinite;
}

.va-meet-feed-play[aria-pressed="true"] + .va-meet-door-wave i:nth-child(2) { animation-delay: 0.12s; }
.va-meet-feed-play[aria-pressed="true"] + .va-meet-door-wave i:nth-child(3) { animation-delay: 0.24s; }
.va-meet-feed-play[aria-pressed="true"] + .va-meet-door-wave i:nth-child(4) { animation-delay: 0.36s; }
.va-meet-feed-play[aria-pressed="true"] + .va-meet-door-wave i:nth-child(5) { animation-delay: 0.48s; }

@keyframes va-door-wave {
  0%, 100% { height: 25%; }
  50% { height: 100%; }
}

.va-meet-door-body {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.va-meet-brand {
  margin: 0 0 0.35rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.va-meet-door-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.va-meet-door-tagline {
  margin: 0.45rem 0 0.65rem;
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.45;
  color: rgba(199, 210, 254, 0.92);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.va-meet-door-traits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.65rem;
}

/* —— shared traits (KAI) —— */

.va-meet-trait {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.va-meet-mode-door .va-meet-trait {
  font-size: 0.65rem;
  line-height: 1.3;
}

.va-meet-trait-label {
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(199, 210, 254, 0.82);
}

.va-meet-trait-value {
  color: rgba(243, 244, 246, 0.92);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.va-meet-create-wrap {
  width: 100%;
  max-width: min(100%, 32rem);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .va-meet-create-wrap {
    max-width: 32rem;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 1024px) {
  .va-meet-create-wrap {
    max-width: 100%;
  }
}
