/* Infó / Pilot stage — GWO-style hangar overlay */

#boot.is-lobby .lobby-panel--info {
  position: relative;
  padding: 0;
  overflow: hidden;
}

#boot.is-lobby .lobby-panel--info .info-stage {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: none;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.info-stage-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 18, 0.35) 0%, rgba(2, 6, 14, 0.55) 55%, rgba(0, 0, 0, 0.72) 100%),
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(40, 120, 200, 0.18), transparent 65%),
    url(/assets/auction/earth-in-space-wallpaper-1920x1440_25.jpg) center / cover no-repeat;
  filter: saturate(1.05) brightness(0.72);
  transform: scale(1.02);
  pointer-events: none;
}

.info-stage-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 50% 42%, transparent 0%, rgba(0, 0, 0, 0.45) 72%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(90deg, rgba(0, 4, 12, 0.55) 0%, transparent 22%, transparent 78%, rgba(0, 4, 12, 0.55) 100%);
  pointer-events: none;
}

.info-stage-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr) minmax(210px, 260px);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px 16px 12px;
  z-index: 1;
}

.info-col-left {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.info-col-center {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  pointer-events: none;
}

.info-col-right {
  grid-column: 3;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.info-pilot-bar {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 16px;
  border-radius: 4px;
  border: 1px solid rgba(80, 180, 255, 0.45);
  background:
    linear-gradient(180deg, rgba(12, 28, 52, 0.94), rgba(4, 10, 22, 0.96));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(40, 160, 255, 0.22),
    inset 0 1px 0 rgba(120, 200, 255, 0.18);
}

.info-pilot-meta {
  flex: 0 1 280px;
  min-width: 160px;
  display: grid;
  gap: 4px;
}

.info-pilot-stats {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
}

.info-stat-chip {
  display: grid;
  gap: 1px;
  min-width: 72px;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid rgba(80, 160, 220, 0.22);
  background: rgba(0, 0, 0, 0.32);
}

.info-stat-chip em {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(150, 185, 215, 0.78);
}

.info-stat-chip strong {
  font-family: "Rajdhani", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f2f7ff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.info-stat-chip strong.is-cyan { color: #7ec8ff; }
.info-stat-chip strong.is-gold { color: #ffd76a; }

/* metallic framed panels */
.info-panel {
  position: relative;
  border-radius: 3px;
  border: 1px solid rgba(90, 170, 230, 0.55);
  background: rgba(4, 14, 28, 0.78);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 0 16px rgba(30, 140, 220, 0.18),
    inset 0 0 24px rgba(0, 40, 80, 0.35);
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.info-panel::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(70, 160, 230, 0.22);
  pointer-events: none;
}

.info-panel--gold {
  border-color: rgba(212, 175, 55, 0.75);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(212, 175, 55, 0.22),
    inset 0 0 24px rgba(60, 40, 0, 0.28);
}

.info-panel--gold::before {
  border-color: rgba(230, 190, 70, 0.28);
}

.info-panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px 6px;
  font-family: "Rajdhani", "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8e8ff;
  text-shadow: 0 0 10px rgba(80, 180, 255, 0.45);
}

.info-panel--gold .info-panel-head {
  color: #ffe9a8;
  text-shadow: 0 0 10px rgba(255, 200, 60, 0.35);
}

.info-panel-crest {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 200, 60, 0.55));
}

.info-panel-body {
  position: relative;
  z-index: 1;
  padding: 4px 10px 10px;
  min-height: 0;
}

.info-panel--week {
  flex: 0 0 auto;
}

.info-panel--top {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.info-panel--top .info-panel-body {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-panel--prem {
  flex: 0 0 auto;
}

.info-rk-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 4px 2px;
  font-size: 0.72rem;
  color: #dcefff;
  border-bottom: 1px solid rgba(80, 160, 220, 0.12);
}

.info-rk-row:last-child {
  border-bottom: 0;
}

.info-rk-place {
  font-family: "Rajdhani", monospace;
  font-weight: 700;
  color: #7ec8ff;
  letter-spacing: 0.04em;
}

.info-rk-row.top-1 .info-rk-place { color: #ffd76a; }
.info-rk-row.top-2 .info-rk-place { color: #d0d8e8; }
.info-rk-row.top-3 .info-rk-place { color: #cd8a5a; }

.info-rk-name {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.info-rk-name img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: 0 0 auto;
}

.info-rk-empty,
.info-rk-loading {
  padding: 10px 4px;
  font-size: 0.72rem;
  color: rgba(160, 190, 220, 0.7);
  text-align: center;
}

.info-rk-self {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(90, 180, 255, 0.28);
}

.info-rk-self .info-rk-row {
  border: 0;
  background: rgba(40, 120, 200, 0.16);
  border-radius: 3px;
  padding: 5px 6px;
}

/* Premium plaque */
.info-prem-plaque {
  position: relative;
  z-index: 1;
  margin: 10px 12px 6px;
  padding: 7px 10px;
  text-align: center;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #1a1204;
  background: linear-gradient(180deg, #f0d78a 0%, #c9a03a 45%, #9a7420 100%);
  border: 1px solid #ffe9a8;
  border-radius: 2px;
  box-shadow:
    0 0 14px rgba(255, 200, 60, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.info-prem-lines {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
  padding: 0 4px;
}

.info-prem-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.74rem;
  color: #f2e6b8;
}

.info-prem-line strong {
  color: #fff8d6;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.info-prem-line strong.is-off {
  color: rgba(200, 180, 140, 0.65);
}

.info-ship-stats {
  display: grid;
  gap: 3px;
  padding: 6px 4px 2px;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
}

.info-ship-stat {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(230, 220, 180, 0.82);
}

.info-ship-stat strong {
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Center hero ship */
.info-hero-title {
  margin: 0 0 8px;
  max-width: 90%;
  text-align: center;
  font-family: "Rajdhani", "Outfit", sans-serif;
  font-size: clamp(1.05rem, 2.1vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8f6ff;
  text-shadow:
    0 0 18px rgba(80, 200, 255, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.85);
}

.info-hero-ship {
  position: relative;
  display: grid;
  place-items: center;
  width: min(420px, 70%);
  aspect-ratio: 1.15 / 1;
  pointer-events: auto;
}

.info-ship-platform {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 78%;
  height: 22%;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(60, 200, 255, 0.45) 0%, rgba(20, 100, 180, 0.18) 45%, transparent 72%);
  box-shadow:
    0 0 40px rgba(40, 180, 255, 0.35),
    0 0 80px rgba(20, 120, 220, 0.2);
  filter: blur(0.2px);
  animation: info-platform-pulse 3.2s ease-in-out infinite;
}

.info-ship-platform::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 42%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(140, 230, 255, 0.85), transparent);
  box-shadow: 0 0 12px rgba(100, 220, 255, 0.8);
}

.info-hero-ship img {
  position: relative;
  z-index: 1;
  width: 88%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 18px rgba(60, 180, 255, 0.28));
  animation: info-ship-float 4.5s ease-in-out infinite;
}

@keyframes info-ship-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes info-platform-pulse {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}

.info-pilot-avatar {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 8px rgba(80, 220, 120, 0.45));
}

.info-pilot-name {
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.info-pilot-name .prem-tag {
  margin-left: 6px;
  vertical-align: middle;
}

.info-xp-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  color: rgba(180, 210, 235, 0.9);
}

.info-xp-track {
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(80, 180, 255, 0.35);
  background: rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.info-xp-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1a6aaa, #3dff8a 70%, #9dffc0);
  box-shadow: 0 0 10px rgba(61, 255, 138, 0.35);
}

@media (max-width: 1100px) {
  .info-stage-grid {
    grid-template-columns: minmax(180px, 210px) minmax(0, 1fr) minmax(190px, 230px);
    gap: 8px;
    padding: 10px;
  }
  .info-hero-ship {
    width: min(340px, 80%);
  }
}

@media (max-width: 860px) {
  .info-stage-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
  }
  .info-col-left {
    grid-column: 1;
    grid-row: 2;
  }
  .info-col-center {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 220px;
  }
  .info-col-right {
    grid-column: 2;
    grid-row: 2;
  }
  .info-pilot-bar {
    grid-column: 1 / -1;
    grid-row: 3;
    flex-wrap: wrap;
  }
  .info-pilot-meta {
    flex: 1 1 200px;
  }
  .info-pilot-stats {
    flex: 1 1 100%;
    justify-content: flex-start;
  }
}
