/* Sandbox Mini Reveal — Vote Pitch v2 · Roles lock screen (mockup) */

.fp2-mr-blackout {
  position: absolute;
  inset: 0;
  z-index: 200;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: none;
}

.fp2-mr-blackout--on {
  opacity: 1;
}

.fp2-mr0-wrap,
.fp2-mr12-wrap {
  z-index: 210 !important;
}

#view-pitch-v2 .fp2-mr0-wrap,
#view-pitch-v2 .fp2-mr12-wrap {
  background: #000;
}

#view-pitch-v2 .fp2-mr0-wrap .mr0-bg {
  background: none;
}

#view-pitch-v2 .fp2-mr12-wrap .mr12-header {
  background: var(--bg0, #06080e);
}

/* ═══ Boot: pure black → Lit: navy atmosphere ═══ */
#view-pitch-v2 .fp2-mr0-wrap--roles {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: #000;
  transition: background 1.1s ease;
  position: absolute;
  inset: 0;
}

#view-pitch-v2 .fp2-mr0-wrap--roles.fp2-mr0-wrap--lit {
  background: #070712;
  transition: background 2.4s ease;
}

.fp2-roles-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 2.8s ease;
  background:
    radial-gradient(ellipse 90% 55% at 50% 18%, rgba(88, 40, 160, 0.28), transparent 58%),
    radial-gradient(ellipse 70% 40% at 50% 75%, rgba(40, 20, 80, 0.2), transparent 55%),
    #070712;
}

.fp2-mr0-wrap--lit .fp2-roles-bg {
  opacity: 1;
}

.fp2-mr0-wrap--boot .fp2-roles-stage {
  display: none;
}

/* ═══ Home V2 ticket (exact clone) inside roles screen ═══ */
.fp2-mr-reveal-slot {
  position: relative;
  z-index: 2;
  padding: 14px 14px 6px;
  flex-shrink: 0;
}

.fp2-mr0-wrap--roles .fp2-mr-reveal-slot {
  position: relative;
  min-height: 72px;
}

#view-pitch-v2 .fp2-mr0-wrap--boot .hv2-ticket-cut {
  background: #000;
}

#view-pitch-v2 .fp2-mr0-wrap--lit .hv2-ticket-cut {
  background: #070712;
}

/* Purple roles tint — same Home V2 chrome, violet palette */
#view-pitch-v2 .hv2-ticket--roles {
  --hv2-stub-hue: 278;
  --hv2-stub-sat: 58%;
  --hv2-stub-lit: 16%;
  --hv2-stub-lit-mid: 11%;
  --hv2-stub-lit-deep: 7%;
  --hv2-stub-cta-lit: 52%;
  --hv2-stub-glow-a: 0.22;
  border-color: rgba(179, 136, 255, 0.28);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(124, 40, 200, 0.18),
    inset 0 1px 0 rgba(224, 179, 255, 0.06);
}

#view-pitch-v2 .hv2-ticket--roles .hv2-ticket-body {
  background:
    linear-gradient(165deg, #161022 0%, #0c0a14 55%, #080612 100%);
}

#view-pitch-v2 .hv2-ticket--roles .hv2-ticket-sideband {
  border-right-color: rgba(179, 136, 255, 0.14);
  background:
    linear-gradient(180deg,
      rgba(18, 12, 32, 0.98) 0%,
      rgba(10, 8, 18, 0.99) 52%,
      rgba(12, 10, 22, 0.98) 100%);
}

#view-pitch-v2 .hv2-ticket--roles .hv2-ticket-sideband::before {
  background: linear-gradient(180deg, rgba(179, 136, 255, 0.85), rgba(255, 255, 255, 0.16));
}

#view-pitch-v2 .hv2-ticket--roles .hv2-ticket-meta {
  color: rgba(224, 179, 255, 0.72);
}

#view-pitch-v2 .hv2-ticket--roles .hv2-ticket-final {
  border-color: rgba(179, 136, 255, 0.35);
  background: rgba(88, 40, 160, 0.28);
  color: #e0b3ff;
}

#view-pitch-v2 .hv2-ticket--roles .hv2-ticket-foot {
  border-top-color: rgba(179, 136, 255, 0.12);
  background: rgba(12, 8, 22, 0.55);
}

#view-pitch-v2 .hv2-ticket--roles .hv2-ticket-perf {
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(206, 160, 255, 0.5) 0 1.5px,
      transparent 1.5px 4.5px
    );
}

#view-pitch-v2 .hv2-ticket--roles .hv2-ticket-stub.mc3-action-voted {
  background:
    linear-gradient(165deg,
      hsl(278, 58%, 16%) 0%,
      hsl(278, 58%, 11%) 42%,
      hsl(278, 52%, 7%) 100%);
}

#view-pitch-v2 .hv2-ticket--roles .hv2-stub-title {
  text-shadow: 0 0 16px rgba(179, 136, 255, 0.35);
}

#view-pitch-v2 .hv2-ticket--roles .hv2-stub-sub {
  color: hsla(278, 58%, 72%, 0.78);
}

#view-pitch-v2 .hv2-ticket-stub--reveal {
  pointer-events: none;
  cursor: default;
}

#view-pitch-v2 .hv2-stub-cta--reveal {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
  text-transform: none;
  padding: 5px 6px;
  border-radius: 8px;
  background: rgba(179, 136, 255, 0.16);
  color: rgba(243, 229, 255, 0.92);
  box-shadow: none;
  animation: none;
}

/* Centered save block · ~κεντρικό 1/3 ύψους */
.fp2-mr0-wrap--boot .fp2-mr-reveal-slot--recording {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  min-height: 100%;
  box-sizing: border-box;
}

.fp2-record {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  transform: none;
  z-index: 2;
  width: min(88vw, 320px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.fp2-record--done {
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
}

.fp2-record-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: min(34vh, 280px);
  max-height: min(42vh, 340px);
  padding: 8px 4px;
  box-sizing: border-box;
}

.fp2-record-brand {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: clamp(28px, 8vw, 36px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: rgba(210, 228, 255, 0.92);
  text-shadow:
    0 0 24px rgba(120, 180, 255, 0.22),
    0 2px 12px rgba(0, 0, 0, 0.65);
  line-height: 1;
  padding-left: 0.22em; /* optical center for letter-spacing */
}

.fp2-record-lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(14px, 3.8vw, 16px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(230, 236, 248, 0.82);
  text-align: center;
  margin: 0;
  text-wrap: balance;
  width: 100%;
}

.fp2-record-track {
  position: relative;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.fp2-record-fill {
  position: relative;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #009e54 0%,
    #00e676 42%,
    #7dffb0 78%,
    #b8ffd4 100%
  );
  box-shadow:
    0 0 14px rgba(0, 230, 118, 0.55),
    0 0 28px rgba(0, 230, 118, 0.22);
  transition: width 2.4s cubic-bezier(0.22, 0.8, 0.25, 1);
}

.fp2-record-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 48%,
    transparent 66%
  );
  background-size: 220% 100%;
  animation: fp2RecordShimmer 1.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes fp2RecordShimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -40% 0; }
}

.fp2-record-term {
  width: 100%;
  flex: 1 1 auto;
  min-height: 88px;
  max-height: 120px;
  margin-top: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 230, 118, 0.22);
  background: rgba(4, 12, 10, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.35);
  font-family: 'IBM Plex Mono', 'Consolas', monospace;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(140, 255, 190, 0.78);
  overflow: hidden;
  text-align: left;
  box-sizing: border-box;
}

.fp2-record-term-line {
  opacity: 0;
  transform: translateY(4px);
  animation: fp2RecordLineIn 0.35s ease forwards;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp2-record-term-line + .fp2-record-term-line {
  margin-top: 3px;
}

.fp2-record-term-line--ok {
  color: #b8ffd4;
  font-weight: 600;
}

@keyframes fp2RecordLineIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.fp2-record-card {
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.fp2-record-card--prep {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
}

.fp2-record-card--in {
  opacity: 1;
  pointer-events: auto;
}

/* Sequenced beats */
.fp2-roles-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding-bottom: 8px;
}

.fp2-roles-beat {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.fp2-roles-beat--in {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fp2-roles-beat--msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 18px 4px;
  text-align: center;
}

.fp2-roles-beat--cd {
  display: flex;
  justify-content: center;
  padding: 8px 18px;
}

.fp2-roles-beat--exits {
  margin-top: auto;
}

.fp2-roles-lock {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 4px 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp2-roles-lock-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 230, 118, 0.35);
  box-shadow: 0 0 28px rgba(0, 230, 118, 0.35);
  animation: fp2RolesRing 2.8s ease-in-out infinite;
}

@keyframes fp2RolesRing {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.06); opacity: 1; }
}

.fp2-roles-lock-ico {
  font-size: 30px;
  filter: drop-shadow(0 0 14px rgba(0, 230, 118, 0.55));
}

.fp2-roles-title {
  margin: 0 0 18px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: #f0f4f8;
}

.fp2-roles-points {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.fp2-roles-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
}

.fp2-roles-beat--in .fp2-roles-point {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.fp2-roles-beat--in .fp2-roles-point:nth-child(1) { transition-delay: 0.08s; }
.fp2-roles-beat--in .fp2-roles-point:nth-child(2) { transition-delay: 0.2s; }
.fp2-roles-beat--in .fp2-roles-point:nth-child(3) { transition-delay: 0.32s; }

.fp2-roles-point-ico {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 1px;
}

.fp2-roles-point--g .fp2-roles-point-ico {
  color: #00e676;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.35);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.2);
}

.fp2-roles-point--p .fp2-roles-point-ico {
  color: #b388ff;
  background: rgba(179, 136, 255, 0.12);
  border: 1px solid rgba(179, 136, 255, 0.35);
  box-shadow: 0 0 12px rgba(179, 136, 255, 0.2);
}

.fp2-roles-point--b .fp2-roles-point-ico {
  color: #4fc3f7;
  background: rgba(79, 195, 247, 0.12);
  border: 1px solid rgba(79, 195, 247, 0.35);
  box-shadow: 0 0 12px rgba(79, 195, 247, 0.2);
}

.fp2-roles-point-txt {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(220, 228, 240, 0.72);
}

/* Countdown — continuous stadium ring (joined ends) */
.fp2-roles-cd-wrap {
  width: 100%;
  max-width: 300px;
  margin-bottom: 8px;
}

.fp2-roles-cd-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(179, 136, 255, 0.65);
  margin-bottom: 10px;
  text-align: center;
}

.fp2-roles-cd-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 14px 28px;
  border: 1.5px solid rgba(179, 136, 255, 0.55);
  border-radius: 999px;
  box-shadow:
    0 0 16px rgba(156, 39, 176, 0.28),
    inset 0 0 18px rgba(179, 136, 255, 0.06);
  background: rgba(10, 8, 20, 0.35);
}

.fp2-roles-cd-clock {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.fp2-roles-cd-colon {
  color: rgba(179, 136, 255, 0.55);
  animation: fp2SysLed 1s steps(1, end) infinite;
}

.fp2-roles-cd-units {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  margin-top: 8px;
  padding: 0 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(136, 152, 176, 0.45);
  text-align: center;
}

/* Exit buttons — circular row */
.fp2-roles-exits {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 16px 16px 8px;
  flex-shrink: 0;
}

.fp2-roles-exit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border: none;
  background: transparent;
  color: #e8ecf4;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.fp2-roles-exit:active {
  transform: scale(0.96);
}

.fp2-roles-exit-ico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 1.5px solid transparent;
}

.fp2-roles-exit--obs .fp2-roles-exit-ico {
  color: #00e676;
  background: rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.4);
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.25);
}

.fp2-roles-exit--mem .fp2-roles-exit-ico {
  color: #b388ff;
  background: rgba(179, 136, 255, 0.1);
  border-color: rgba(179, 136, 255, 0.4);
  box-shadow: 0 0 18px rgba(179, 136, 255, 0.25);
}

.fp2-roles-exit--home .fp2-roles-exit-ico {
  color: #4fc3f7;
  background: rgba(79, 195, 247, 0.1);
  border-color: rgba(79, 195, 247, 0.4);
  box-shadow: 0 0 18px rgba(79, 195, 247, 0.25);
}

.fp2-roles-exit-lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.15;
}

.fp2-roles-exit-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  letter-spacing: 0.02em;
  color: rgba(136, 152, 176, 0.55);
  text-align: center;
  line-height: 1.25;
  max-width: 90px;
}

.fp2-roles-foot {
  margin: 8px 16px 20px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(12, 10, 22, 0.85);
  border: 1px solid rgba(179, 136, 255, 0.22);
  box-shadow: 0 0 18px rgba(88, 40, 160, 0.15);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(200, 190, 230, 0.72);
  text-align: center;
}

@keyframes fp2SysLed {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* Observation list (slides) */
.fp2-mr-lab-badge {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(186, 104, 255, 0.9);
  background: rgba(22, 12, 32, 0.88);
  border: 1px solid rgba(186, 104, 255, 0.4);
  border-radius: 6px;
  padding: 3px 8px;
  pointer-events: none;
}

#view-pitch-v2 .fp2-mr12-wrap .mr12-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px 0;
}

#view-pitch-v2 .fp2-mr-journal-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(224, 179, 255, 0.92);
  background: rgba(88, 40, 160, 0.28);
  border: 1px solid rgba(179, 136, 255, 0.4);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#view-pitch-v2 .fp2-mr-journal-btn:active {
  transform: scale(0.97);
}

.fp2-mr-body {
  position: relative;
  z-index: 2;
  padding: 12px 14px 28px;
  overflow-y: auto;
  max-height: calc(100% - 160px);
  -webkit-overflow-scrolling: touch;
}

.fp2-mr-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  margin: 8px 0 12px;
}

.fp2-mr-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fp2-mr-player {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 10px;
  align-items: start;
  padding: 11px 12px 11px 10px;
  border-radius: 12px;
  background:
    linear-gradient(
      105deg,
      color-mix(in srgb, var(--mr-c, #00e676) 14%, transparent) 0%,
      rgba(255, 255, 255, 0.035) 42%,
      rgba(255, 255, 255, 0.03) 100%
    );
  border: 1px solid color-mix(in srgb, var(--mr-c, #00e676) 26%, transparent);
  box-shadow: inset 3px 0 0 0 var(--mr-c, #00e676);
  animation: fp2MrCardIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fp2-mr-player:nth-child(1) { animation-delay: 0.04s; }
.fp2-mr-player:nth-child(2) { animation-delay: 0.09s; }
.fp2-mr-player:nth-child(3) { animation-delay: 0.14s; }
.fp2-mr-player:nth-child(4) { animation-delay: 0.19s; }
.fp2-mr-player:nth-child(5) { animation-delay: 0.24s; }
.fp2-mr-player:nth-child(n+6) { animation-delay: 0.28s; }

@keyframes fp2MrCardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fp2-mr-rank {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.32);
  padding-top: 3px;
}

.fp2-mr-main {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.fp2-mr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fp2-mr-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fp2-mr-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--mr-c, #00e676) 55%, transparent));
}

.fp2-mr-stars--empty { min-width: 0; }

.fp2-mr-star {
  font-size: 13px;
  line-height: 1;
  text-shadow: 0 0 8px currentColor;
  animation: fp2MrStarPop 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

.fp2-mr-star:nth-child(2) { animation-delay: 0.06s; }
.fp2-mr-star:nth-child(3) { animation-delay: 0.12s; }

@keyframes fp2MrStarPop {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}

.fp2-mr-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fp2-mr-team {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
}

.fp2-mr-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px 2px 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--mr-c, #00e676) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--mr-c, #00e676) 38%, transparent);
  color: var(--mr-c, #00e676);
}

.fp2-mr-state-arrow { font-size: 11px; line-height: 1; opacity: 0.9; }

.fp2-mr-state-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.fp2-mr-traits {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 1px;
}

.fp2-mr-trait {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fp2-mr-empty,
.fp2-mr-hint {
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 14px;
}

.fp2-mr-hint code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: rgba(186, 104, 255, 0.85);
}

/* ═══ Memory card preview popup (over purple MR) ═══ */
#view-pitch-v2 .fp2-mr-mem-popup {
  position: absolute;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

#view-pitch-v2 .fp2-mr-mem-popup.fp2-mr-mem-popup--in {
  opacity: 1;
  pointer-events: auto;
}

.fp2-mr-mem-scrim {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(2, 2, 8, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.fp2-mr-mem-sheet {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  max-height: min(88vh, 720px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  padding: 14px 16px 22px;
  box-sizing: border-box;
  border-radius: 22px 22px 0 0;
  background:
    radial-gradient(ellipse 90% 40% at 50% 0%, rgba(88, 40, 160, 0.32), transparent 55%),
    linear-gradient(180deg, #14101f 0%, #0a0812 100%);
  border: 1px solid rgba(179, 136, 255, 0.28);
  border-bottom: none;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.55), 0 0 40px rgba(88, 40, 160, 0.2);
  transform: translateY(24px);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.fp2-mr-mem-popup--in .fp2-mr-mem-sheet {
  transform: translateY(0);
}

.fp2-mr-mem-sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.fp2-mr-mem-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(179, 136, 255, 0.28);
  border-radius: 50%;
  background: rgba(12, 10, 22, 0.7);
  color: rgba(220, 210, 245, 0.85);
  font-size: 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.fp2-mr-mem-close:active {
  transform: scale(0.94);
}

.fp2-mr-mem-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(179, 136, 255, 0.95);
  background: rgba(88, 40, 160, 0.28);
  border: 1px solid rgba(179, 136, 255, 0.4);
  border-radius: 6px;
  padding: 4px 10px;
}

.fp2-mr-mem-title {
  margin: 0 0 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #f2eefe;
  text-align: center;
}

.fp2-mr-mem-sub {
  margin: 0 auto 14px;
  max-width: 280px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  line-height: 1.45;
  color: rgba(180, 168, 210, 0.72);
  text-align: center;
}

.fp2-mr-mem-card {
  margin: 0 auto 12px;
  width: 100%;
  max-width: 360px;
  animation: fp2MemCardIn 0.4s ease both;
}

.fp2-mr-mem-card .hv2-ticket,
.fp2-mr-mem-card .mc3 {
  pointer-events: none;
  transform: scale(0.96);
  transform-origin: top center;
}

.fp2-mr-mem-meta {
  margin: 0 0 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: rgba(179, 136, 255, 0.7);
  text-align: center;
}

.fp2-mr-mem-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(179, 136, 255, 0.45);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(88, 40, 160, 0.45) 0%, rgba(30, 16, 56, 0.9) 100%);
  box-shadow: 0 0 24px rgba(88, 40, 160, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #f2eefe;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.fp2-mr-mem-cta:active {
  transform: scale(0.98);
}

.fp2-mr-mem-cta-lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.fp2-mr-mem-cta-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.02em;
  color: rgba(200, 180, 255, 0.72);
}

@keyframes fp2MemCardIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.fp2-roles-share {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: calc(100% - 32px);
  margin: 4px 16px 0;
  padding: 12px 14px 14px;
  border: 1.5px solid rgba(179, 136, 255, 0.45);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(179, 136, 255, 0.16), rgba(61, 91, 254, 0.08));
  color: #e8ecf4;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.fp2-roles-share:active {
  transform: scale(0.98);
}
.fp2-roles-share-kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: rgba(179, 136, 255, 0.85);
}
.fp2-roles-share-lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.fp2-roles-share-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.02em;
  color: rgba(136, 152, 176, 0.7);
  text-align: center;
}

.fp2-invite-pick {
  margin: 8px 16px 0;
  padding: 12px;
  border-radius: 14px;
  background: rgba(8, 10, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.fp2-invite-pick-q {
  margin: 0 0 10px;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #e8ecf4;
}
.fp2-invite-pick-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.fp2-invite-pick-team {
  min-height: 44px;
  border: 1.5px solid rgba(179, 136, 255, 0.4);
  border-radius: 12px;
  background: rgba(179, 136, 255, 0.1);
  color: #e8ecf4;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.fp2-invite-pick-team:disabled {
  opacity: 0.5;
}
.fp2-invite-pick-cancel {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: none;
  background: transparent;
  color: rgba(136, 152, 176, 0.8);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  cursor: pointer;
}

.fp2-poster-sheet {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s ease;
}
.fp2-poster-sheet.is-in { opacity: 1; }
.fp2-poster-sheet-scrim {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(4, 6, 10, 0.78);
  cursor: pointer;
}
.fp2-poster-sheet-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  border-radius: 22px 22px 0 0;
  background: #0b0d12;
  box-shadow: 0 -18px 48px rgba(0,0,0,.45);
}
.fp2-poster-sheet-img {
  display: block;
  width: 100%;
  max-height: 38vh;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #041208;
}
.fp2-poster-sheet-kicker {
  margin: 14px 0 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(179, 136, 255, 0.85);
  text-align: center;
}
.fp2-poster-apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.fp2-poster-app {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #e8ecf4;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.fp2-poster-app:active { transform: scale(0.98); }
.fp2-poster-app-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.fp2-poster-app-ico--wa { background: #25d366; color: #052e16; }
.fp2-poster-app-ico--vb { background: #7360f2; color: #fff; }
.fp2-poster-app-ico--ig { background: linear-gradient(135deg, #f9ce34, #ee2a7b 52%, #6228d7); color: #fff; }
.fp2-poster-app-ico--tt { background: #111; color: #69c9d0; box-shadow: inset 0 0 0 1px #ee1d52; }
.fp2-poster-sheet-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.fp2-poster-sheet-send,
.fp2-poster-sheet-save,
.fp2-poster-sheet-x {
  min-height: 46px;
  border-radius: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}
.fp2-poster-sheet-send {
  border: none;
  background: linear-gradient(90deg, #00f5a0, #3d5bfe 52%, #9b5cff);
  color: #05060a;
}
.fp2-poster-sheet-save {
  border: 1.5px solid rgba(179, 136, 255, 0.4);
  background: rgba(179, 136, 255, 0.1);
  color: #e8ecf4;
}
.fp2-poster-sheet-x {
  border: none;
  background: transparent;
  color: rgba(136, 152, 176, 0.85);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
}
