/* ═══════════════════════════════════════════════════════════════
   FULL REVEAL — Lobby (πριν το pitch)
═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&display=swap');

#view-full-reveal.fr-phase-lobby {
  background: #06080a;
}

#frViewWrap.fr-lobby-wrap {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.fr-lobby-scroll {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.fr-lobby-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(74, 222, 128, 0.1) 0%, transparent 50%),
    linear-gradient(to bottom, #06080a, #07100a 45%, #06080a);
}

.fr-lobby-bg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 36px 36px;
}

.fr-lobby-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: max(12px, env(safe-area-inset-top)) 16px 0 12px;
  flex-shrink: 0;
}

.fr-lobby-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.fr-lobby-top-match {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.28);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 8px;
}

.fr-lobby-top-spacer {
  width: 32px;
  flex-shrink: 0;
}

.fr-lobby-match-row {
  padding: 7px 22px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  flex-shrink: 0;
}

.fr-lobby-mr-item {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}

.fr-lobby-mr-score {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 800;
}

.fr-lobby-mr-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.fr-lobby-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 22px 0;
  text-align: center;
  flex-shrink: 0;
}

.fr-lobby-hero-lbl {
  font-family: 'Orbitron', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.28);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 1.55;
  margin-bottom: 16px;
}

/* ── Unlocked Intro / Gate ── */
#frViewWrap.fr-lobby-wrap--intro .fr-lobby-scroll {
  justify-content: flex-start;
}

#frViewWrap.fr-lobby-wrap--intro .fr-lobby-match-row--intro {
  padding-top: 4px;
}

.fr-lobby-intro-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 22px 0;
  flex: 1;
  justify-content: center;
  min-height: 0;
  position: relative;
}

.fr-lobby-intro-body .fr-lobby-hero-lbl {
  margin-bottom: 28px;
}

.fr-lobby-portal-wrap {
  position: relative;
  width: 196px;
  height: 196px;
  margin-bottom: 22px;
  flex-shrink: 0;
  z-index: 10;
}

.fr-lobby-portal-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.18) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: fr-portal-glow-pulse 4.5s ease-in-out infinite;
}

.fr-lobby-portal-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(74, 222, 128, 0.14);
  z-index: 1;
}

.fr-lobby-portal-ring--outer {
  inset: -4px;
  border-color: rgba(74, 222, 128, 0.1);
  border-style: dashed;
  animation: fr-portal-ring-spin 28s linear infinite;
}

.fr-lobby-portal-ring--inner {
  inset: 6px;
  border-color: rgba(74, 222, 128, 0.18);
}

#frLobbyCta.fr-lobby-portal {
  position: absolute;
  inset: 14px;
  z-index: 20;
  pointer-events: auto;
  cursor: pointer;
}

#frLobbyCta.fr-lobby-portal::before {
  content: '';
  position: absolute;
  inset: -24px;
  border-radius: 50%;
}

.fr-lobby-portal {
  position: absolute;
  inset: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1.5px solid rgba(74, 222, 128, 0.55);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, rgba(74, 222, 128, 0.07) 0%, transparent 52%),
    rgba(4, 8, 6, 0.9);
  cursor: pointer;
  pointer-events: auto;
  overflow: visible;
  box-shadow:
    inset 0 0 24px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(74, 222, 128, 0.16),
    0 0 36px rgba(74, 222, 128, 0.08);
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    opacity 0.22s ease;
}

.fr-lobby-portal:hover:not(:disabled),
.fr-lobby-portal:focus-visible:not(:disabled) {
  transform: scale(1.02);
  border-color: rgba(74, 222, 128, 0.78);
  box-shadow:
    inset 0 0 24px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(74, 222, 128, 0.28),
    0 0 48px rgba(74, 222, 128, 0.14);
}

.fr-lobby-portal:focus-visible {
  outline: 2px solid rgba(134, 239, 172, 0.85);
  outline-offset: 4px;
}

.fr-lobby-portal-pitch {
  position: absolute;
  inset: 12%;
  opacity: 0.14;
  pointer-events: none;
}

.fr-lobby-portal-pitch-mid,
.fr-lobby-portal-pitch-circle,
.fr-lobby-portal-pitch-box,
.fr-lobby-portal-pitch-box--top,
.fr-lobby-portal-pitch-box--bot {
  pointer-events: none;
}

.fr-lobby-portal-pitch-mid {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(74, 222, 128, 0.65);
  transform: translateY(-50%);
}

.fr-lobby-portal-pitch-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34%;
  height: 34%;
  border: 1px solid rgba(74, 222, 128, 0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.fr-lobby-portal-pitch-box {
  position: absolute;
  left: 50%;
  width: 44%;
  height: 18%;
  border: 1px solid rgba(74, 222, 128, 0.45);
  transform: translateX(-50%);
}

.fr-lobby-portal-pitch-box--top {
  top: 4%;
  border-bottom: none;
}

.fr-lobby-portal-pitch-box--bot {
  bottom: 4%;
  border-top: none;
}

.fr-lobby-portal-label {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.fr-lobby-portal-txt {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-shadow:
    0 0 14px rgba(74, 222, 128, 0.45),
    0 0 28px rgba(74, 222, 128, 0.2);
}

.fr-lobby-portal-arrow {
  font-size: 18px;
  line-height: 1;
  color: rgba(134, 239, 172, 0.9);
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.fr-lobby-portal--tap {
  transform: scale(1.04);
  opacity: 0.88;
}

.fr-lobby-portal--loading {
  transform: scale(1.03);
  opacity: 0.82;
  pointer-events: none;
}

.fr-lobby-intro-judgments {
  font-family: 'Orbitron', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: rgba(74, 222, 128, 0.62);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.fr-lobby-intro-atmos {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.28);
  font-style: italic;
  line-height: 1.4;
}

@keyframes fr-portal-glow-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.03); }
}

@keyframes fr-portal-ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .fr-lobby-portal-glow,
  .fr-lobby-portal-ring--outer {
    animation: none;
  }

  .fr-lobby-portal,
  .fr-lobby-portal--tap,
  .fr-lobby-portal--loading {
    transition: none;
  }
}

.fr-lobby-ring-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 14px;
}

.fr-lobby-ring-wrap svg {
  width: 160px;
  height: 160px;
  transform: rotate(-90deg);
}

.fr-lobby-ring-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  box-shadow:
    0 0 16px rgba(74, 222, 128, 0.25),
    0 0 32px rgba(74, 222, 128, 0.12),
    0 0 64px rgba(74, 222, 128, 0.06);
  pointer-events: none;
}

#frViewWrap.fr-lobby-wrap--locked .fr-lobby-ring-glow {
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.08),
    0 0 32px rgba(255, 255, 255, 0.04);
}

.fr-lobby-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.fr-lobby-ring-cta {
  position: absolute;
  inset: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: none;
  border-radius: 50%;
  background: #4ade80;
  cursor: pointer;
  box-shadow:
    0 0 20px rgba(74, 222, 128, 0.35),
    0 0 40px rgba(74, 222, 128, 0.12);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.fr-lobby-ring-cta:active:not(:disabled) {
  transform: scale(0.96);
}

.fr-lobby-ring-cta--locked {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  cursor: default;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
}

.fr-lobby-ring-cta-main {
  font-size: 17px;
  font-weight: 900;
  color: #000;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-align: center;
}

.fr-lobby-ring-cta--locked .fr-lobby-ring-cta-main {
  color: rgba(255, 255, 255, 0.45);
}

.fr-lobby-ring-cta-sub {
  font-family: 'Orbitron', sans-serif;
  font-size: 7px;
  color: rgba(0, 0, 0, 0.45);
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-align: center;
  max-width: 100px;
}

.fr-lobby-ring-cta--locked .fr-lobby-ring-cta-sub {
  color: rgba(255, 255, 255, 0.28);
}

.fr-lobby-ring-cta-icon {
  font-size: 14px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.32);
  margin-top: 1px;
}

.fr-lobby-ring-cta--locked .fr-lobby-ring-cta-icon {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

.fr-lobby-ring-cta--loading {
  transform: scale(0.96);
  opacity: 0.85;
  pointer-events: none;
}

.fr-lobby-ring-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow:
    0 0 20px rgba(74, 222, 128, 0.4),
    0 0 40px rgba(74, 222, 128, 0.15);
}

.fr-lobby-ring-num--countdown {
  font-size: 28px;
  letter-spacing: 0.04em;
}

.fr-lobby-ring-sub {
  font-family: 'Orbitron', sans-serif;
  font-size: 8px;
  font-weight: 700;
  color: rgba(74, 222, 128, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

#frViewWrap.fr-lobby-wrap--locked .fr-lobby-ring-sub {
  color: rgba(255, 255, 255, 0.35);
}

.fr-lobby-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fr-lobby-hero-players {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}

.fr-lobby-hero-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.fr-lobby-hero-consensus {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 0.04em;
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.35);
}

.fr-lobby-interp {
  margin: 14px 22px 0;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  flex-shrink: 0;
}

.fr-lobby-interp-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
  font-weight: 500;
}

.fr-lobby-interp-text em {
  color: #fff;
  font-style: normal;
  font-weight: 700;
}

.fr-lobby-div {
  height: 0.5px;
  background: rgba(255, 255, 255, 0.06);
  margin: 14px 22px;
  flex-shrink: 0;
}

.fr-lobby-narrative {
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.fr-lobby-narr-block {
  border-radius: 12px;
  overflow: hidden;
  border: 0.5px solid rgba(255, 255, 255, 0.07);
}

.fr-lobby-narr-header {
  padding: 7px 14px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.05);
}

.fr-lobby-narr-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.05);
}

.fr-lobby-narr-row:last-child {
  border-bottom: none;
}

.fr-lobby-narr-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.fr-lobby-narr-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.35;
  font-weight: 500;
  flex: 1;
}

.fr-lobby-narr-text em {
  color: #fff;
  font-style: normal;
  font-weight: 700;
}

.fr-lobby-mystery {
  margin: 8px 22px 0;
  background: rgba(255, 255, 255, 0.02);
  border: 0.5px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.fr-lobby-mystery-icon {
  font-size: 15px;
  flex-shrink: 0;
}

.fr-lobby-mystery-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
  line-height: 1.35;
  font-style: italic;
}

.fr-lobby-cta-wrap {
  padding: 16px 22px max(12px, env(safe-area-inset-bottom));
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  background: linear-gradient(to top, #06080a 70%, transparent);
  z-index: 2;
}

.fr-lobby-cta-btn {
  background: #4ade80;
  border: none;
  border-radius: 14px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.25), 0 0 40px rgba(74, 222, 128, 0.1);
  width: 100%;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.fr-lobby-cta-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.fr-lobby-cta-btn--locked {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  cursor: default;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
}

.fr-lobby-cta-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fr-lobby-cta-main {
  font-size: 15px;
  font-weight: 800;
  color: #000;
  letter-spacing: -0.01em;
}

.fr-lobby-cta-btn--locked .fr-lobby-cta-main {
  color: rgba(255, 255, 255, 0.45);
}

.fr-lobby-cta-sub {
  font-family: 'Orbitron', sans-serif;
  font-size: 9px;
  color: rgba(0, 0, 0, 0.45);
  letter-spacing: 0.06em;
}

.fr-lobby-cta-btn--locked .fr-lobby-cta-sub {
  color: rgba(255, 255, 255, 0.28);
}

.fr-lobby-cta-arr {
  font-size: 22px;
  color: rgba(0, 0, 0, 0.32);
  flex-shrink: 0;
}

.fr-lobby-cta-btn--locked .fr-lobby-cta-arr {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.25);
}

.fr-lobby-cta-later {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.18);
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.fr-lobby-bottom-pad {
  height: max(24px, env(safe-area-inset-bottom));
  flex-shrink: 0;
}

/* ── Lobby exit ── */
.fr-lobby-exiting .fr-lobby-scroll {
  opacity: 0;
  transform: scale(0.96) translateY(14px);
  transition:
    opacity 0.42s ease,
    transform 0.48s cubic-bezier(0.4, 0, 0.2, 1);
}

.fr-lobby-exiting .fr-lobby-bg,
.fr-lobby-exiting .fr-lobby-bg-lines {
  opacity: 0;
  transition: opacity 0.38s ease;
}

/* ── Enter bridge (lobby → pitch) · portal στο body ── */
body.fr-enter-active {
  overflow: hidden;
}

#frEnterBridge.fr-enter-bridge {
  position: fixed;
  inset: 0;
  z-index: 99990;
  pointer-events: all;
  overflow: hidden;
}

.fr-enter-bridge__veil {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 0;
}

.fr-enter-bridge__flash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fff 0%, rgba(64, 196, 255, 0.35) 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
}

.fr-enter-bridge--flash .fr-enter-bridge__flash {
  animation: frEnterFlash 0.5s ease-out forwards;
}

@keyframes frEnterFlash {
  0%   { opacity: 0; }
  18%  { opacity: 0.7; }
  100% { opacity: 0; }
}

.fr-enter-bridge__stage {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.fr-enter-bridge--on .fr-enter-bridge__stage {
  opacity: 1;
}

.fr-enter-bridge--doors-ready .fr-enter-bridge__stage {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.fr-enter-bridge__doors {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.fr-enter-bridge--doors-ready .fr-enter-bridge__doors {
  opacity: 1;
  z-index: 14;
}

.fr-enter-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background:
    linear-gradient(165deg, #0a1810 0%, #020406 42%, #041220 100%);
  transition: transform 1.15s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.fr-enter-door--left {
  left: 0;
  border-right: 3px solid rgba(64, 196, 255, 0.65);
  box-shadow:
    inset -20px 0 60px rgba(0, 0, 0, 0.8),
    6px 0 32px rgba(64, 196, 255, 0.2);
}

.fr-enter-door--right {
  right: 0;
  border-left: 3px solid rgba(64, 196, 255, 0.65);
  box-shadow:
    inset 20px 0 60px rgba(0, 0, 0, 0.8),
    -6px 0 32px rgba(64, 196, 255, 0.2);
}

.fr-enter-bridge--doors-open .fr-enter-door--left {
  transform: translateX(-105%);
}

.fr-enter-bridge--doors-open .fr-enter-door--right {
  transform: translateX(105%);
}

.fr-enter-bridge__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 95% 60% at 50% 58%, rgba(64, 196, 255, 0.28) 0%, transparent 58%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(74, 222, 128, 0.1) 0%, transparent 52%);
  pointer-events: none;
}

.fr-enter-bridge__scan {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 4px;
  top: 18%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(64, 196, 255, 0.2) 20%,
    rgba(64, 196, 255, 1) 50%,
    rgba(64, 196, 255, 0.2) 80%,
    transparent 100%
  );
  box-shadow: 0 0 32px rgba(64, 196, 255, 0.65);
  opacity: 0;
  animation: frEnterScan 1.2s ease-in-out 0.2s 2;
}

@keyframes frEnterScan {
  0%   { top: 14%; opacity: 0; }
  10%  { opacity: 1; }
  100% { top: 82%; opacity: 0; }
}

.fr-enter-bridge__teams {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  z-index: 1;
  animation: frEnterPop 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes frEnterPop {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
  to   { opacity: 1; transform: none; }
}

.fr-enter-bridge__team {
  font-size: 12px;
  font-weight: 700;
  color: var(--fr-enter-c, #fff);
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--fr-enter-c, #fff) 40%, transparent);
  background: color-mix(in srgb, var(--fr-enter-c, #fff) 12%, transparent);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fr-enter-bridge__vs {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fr-enter-bridge__pitch {
  position: relative;
  width: min(76vw, 300px);
  aspect-ratio: 68 / 105;
  border: 3px solid rgba(64, 196, 255, 0.55);
  border-radius: 8px;
  box-shadow:
    0 0 60px rgba(64, 196, 255, 0.28),
    inset 0 0 50px rgba(64, 196, 255, 0.08);
  z-index: 1;
  animation: frEnterPitchIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

@keyframes frEnterPitchIn {
  from {
    opacity: 0;
    transform: scale(0.55) perspective(720px) rotateX(28deg);
  }
  to {
    opacity: 1;
    transform: scale(1) perspective(720px) rotateX(12deg);
  }
}

.fr-enter-bridge__pitch-mid {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgba(64, 196, 255, 0.35);
}

.fr-enter-bridge__pitch-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28%;
  aspect-ratio: 1;
  border: 2px solid rgba(64, 196, 255, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.fr-enter-bridge__pitch-box {
  position: absolute;
  left: 20%;
  right: 20%;
  height: 17%;
  border: 2px solid rgba(64, 196, 255, 0.26);
}

.fr-enter-bridge__pitch-box--top { top: 0; border-top: none; }
.fr-enter-bridge__pitch-box--bot { bottom: 0; border-bottom: none; }

.fr-enter-bridge__pitch-glow {
  position: absolute;
  inset: 8%;
  border-radius: 4px;
  background: radial-gradient(ellipse at 50% 85%, rgba(0, 230, 118, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.fr-enter-bridge__copy {
  margin-top: 28px;
  text-align: center;
  z-index: 1;
  animation: frEnterPop 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.fr-enter-bridge__eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(64, 196, 255, 0.7);
  margin-bottom: 10px;
}

.fr-enter-bridge__title-big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 11vw, 56px);
  letter-spacing: 0.1em;
  line-height: 0.95;
  color: #fff;
  text-shadow:
    0 0 40px rgba(64, 196, 255, 0.55),
    0 2px 0 rgba(0, 0, 0, 0.5);
}

.fr-enter-bridge__sub {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
}

/* ── Pitch shell entrance ── */
#frViewWrap.fr-pitch-shell {
  opacity: 0;
  transform: scale(1.07);
  filter: blur(8px) brightness(0.65);
}

#frViewWrap.fr-pitch-shell--in {
  opacity: 1;
  transform: scale(1);
  filter: blur(0) brightness(1);
  transition:
    opacity 0.72s ease 0.06s,
    transform 0.92s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.68s ease;
}

#view-full-reveal.fr-pitch-entering .fr-pitch-canvas {
  transform: perspective(880px) rotateX(7deg) scale(0.93);
  transform-origin: 50% 58%;
}

#view-full-reveal.fr-pitch-entered .fr-pitch-canvas {
  transform: none;
  transition: transform 0.82s cubic-bezier(0.16, 1, 0.3, 1);
}

#view-full-reveal.fr-pitch-entering .fr-top-bar,
#view-full-reveal.fr-pitch-entering .fr-prog-wrap,
#view-full-reveal.fr-pitch-entering .fr-footer {
  opacity: 0;
  transform: translateY(-8px);
}

#view-full-reveal.fr-pitch-entered .fr-top-bar,
#view-full-reveal.fr-pitch-entered .fr-prog-wrap,
#view-full-reveal.fr-pitch-entered .fr-footer {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease 0.15s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

#view-full-reveal.fr-pitch-entering #frPlayers .fp-player {
  opacity: 0 !important;
  transform: translateY(6px) scale(0.92);
}

#view-full-reveal.fr-pitch-entered #frPlayers .fp-player.visible {
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  .fr-enter-door {
    transition-duration: 0.55s;
  }
  .fr-enter-bridge__scan {
    animation-iteration-count: 1;
  }
  #frViewWrap.fr-pitch-shell--in,
  #view-full-reveal.fr-pitch-entered .fr-pitch-canvas {
    transition-duration: 0.35s !important;
  }
}
