/* Infiltrados — estética Base VSD (Quicksand, negro, oro) */

@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&display=swap");

/* Página completa negra cuando el juego está activo */
body.inf-page,
body.inf-page #content,
body.inf-page .site-content,
body.inf-page .entry-content,
body.inf-page .elementor,
body.inf-page .elementor-section,
body.inf-page .elementor-container,
body.inf-page .elementor-widget-wrap,
body.inf-page .elementor-widget-container {
  background: #000 !important;
  background-color: #000 !important;
}

body.inf-page {
  color: #e8e2d8;
}

.inf-wrap {
  --inf-bg: #000000;
  --inf-panel: #12100e;
  --inf-panel-2: #1a1612;
  --inf-ink: #f2ebe0;
  --inf-muted: #a89a88;
  --inf-gold: #e2b35a;
  --inf-gold-dim: #b8923f;
  --inf-ome: #972a29;
  --inf-res: #3d6b5c;
  --inf-line: rgba(226, 179, 90, 0.22);
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  color: var(--inf-ink);
  font-family: Quicksand, system-ui, sans-serif;
  background:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.88)),
    url("https://programavivesindolor.com/wp-content/uploads/fondo-1.png")
      center top / cover no-repeat;
  border: 1px solid var(--inf-line);
  border-radius: 20px;
  min-height: 70vh;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.inf-loading {
  color: var(--inf-muted);
  font-weight: 600;
  padding: 2.5rem 1rem;
  text-align: center;
}

.inf-mute {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  border: 1px solid var(--inf-line);
  background: rgba(18, 16, 14, 0.9);
  color: var(--inf-gold);
  border-radius: 50%;
  width: 2.4rem;
  height: 2.4rem;
  cursor: pointer;
  z-index: 5;
  font-size: 1rem;
}

.inf-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--inf-gold);
  margin: 0 0 0.4rem;
}

.inf-card {
  border: 1px solid var(--inf-line);
  border-radius: 16px;
  padding: 1.35rem 1.4rem 1.45rem;
  background: rgba(12, 9, 7, 0.88);
  margin-bottom: 1.15rem;
  backdrop-filter: blur(4px);
}

.inf-card--hero {
  text-align: center;
  background: rgba(10, 8, 6, 0.92);
}

.inf-card--hero h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 4.5vw, 2.4rem);
  font-weight: 700;
  color: #fff;
}

.inf-lead {
  color: var(--inf-muted);
  margin: 0 auto 1rem;
  line-height: 1.5;
  max-width: 34rem;
  font-weight: 500;
}

.inf-status {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.98rem;
  font-weight: 600;
  background: rgba(226, 179, 90, 0.12);
  border: 1px solid var(--inf-line);
  border-radius: 999px;
  color: var(--inf-gold);
}

.inf-status--ready {
  background: rgba(61, 107, 92, 0.25);
  border-color: rgba(61, 107, 92, 0.45);
  color: #b8d4c8;
}

.inf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.85rem 0;
  justify-content: center;
}

.inf-btn {
  appearance: none;
  border: none;
  background: var(--inf-gold);
  color: #1a1510;
  font-family: Quicksand, system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: filter 0.15s, transform 0.1s;
}

.inf-btn:hover {
  filter: brightness(1.06);
}

.inf-btn:active {
  transform: translateY(1px);
}

.inf-btn--ghost {
  background: transparent;
  color: var(--inf-ink);
  border: 1px solid var(--inf-line);
}

.inf-btn--danger {
  background: var(--inf-ome);
  color: #fff;
}

.inf-section {
  margin: 1.25rem 0;
  padding: 1rem 1.05rem 1.15rem;
  background: rgba(12, 9, 7, 0.85);
  border: 1px solid var(--inf-line);
  border-radius: 16px;
}

.inf-section h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.inf-section--ome {
  background: rgba(40, 14, 14, 0.75);
  border-color: rgba(151, 42, 41, 0.45);
}

.inf-hint {
  color: var(--inf-muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin: -0.25rem 0 0.85rem;
}

.inf-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem 0.85rem;
}

/* Insignias a pelo: sin caja ni borde de contenedor */
.inf-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  width: 118px;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.inf-player:hover,
.inf-player:focus,
.inf-player:focus-visible,
.inf-player:active {
  outline: none;
  border: none;
  box-shadow: none;
  background: transparent;
}

.inf-player:hover:not(.inf-player--locked) .inf-insignia-canvas {
  transform: scale(1.05);
}

.inf-player--locked {
  cursor: default;
}

.inf-player--selected .inf-insignia-canvas {
  transform: scale(1.08);
  outline: 3px solid var(--inf-gold);
  outline-offset: 3px;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(226, 179, 90, 0.55))
    drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
}

.inf-player--selected .inf-player-name {
  color: var(--inf-gold) !important;
}

.inf-badge--pick {
  color: #1a1510 !important;
  background: var(--inf-gold) !important;
  border: none;
  padding: 0.15rem 0.5rem;
  margin-top: 0.15rem;
}

.inf-player--done .inf-badge--ok {
  opacity: 1;
}

/* Solo los fuera de juego se ven apagados a propósito */
.inf-player--dead {
  opacity: 0.45;
  filter: grayscale(0.8);
}

.inf-player--dead .inf-insignia-canvas {
  opacity: 1;
}

.inf-insignia-canvas {
  display: block;
  width: 110px;
  height: 110px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
  transition: transform 0.18s ease, filter 0.18s ease, outline-color 0.18s ease;
  transform-origin: center center;
  /* IMPORTANTE: sin pointer-events:none — si no, el clic no llega al botón */
}

.inf-player-name {
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.15;
  color: #fff;
  margin-top: 0.15rem;
}

.inf-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: transparent;
  color: var(--inf-muted);
  border: none;
}

.inf-badge--ok {
  color: #b8d4c8;
}

.inf-badge--dead {
  color: #e8b0b0;
}

.inf-social {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.inf-chip {
  font-size: 0.68rem;
  font-weight: 600;
}

.inf-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(12, 9, 7, 0.92);
  border: 1px solid var(--inf-line);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--inf-ink);
}

.inf-bar strong {
  color: var(--inf-gold);
  font-weight: 700;
}

.inf-bar--urgent {
  border-color: rgba(151, 42, 41, 0.65);
  background: rgba(40, 14, 14, 0.9);
  animation: inf-pulse 1.4s ease-in-out infinite;
}

.inf-bar--urgent strong {
  color: #f0b4b4;
}

@keyframes inf-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(151, 42, 41, 0);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(151, 42, 41, 0.18);
  }
}

.inf-mission {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  margin-bottom: 1.1rem;
  border: 1px solid var(--inf-line);
  background: rgba(12, 9, 7, 0.9);
}

.inf-mission h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.inf-mission p {
  margin: 0;
  font-weight: 500;
  color: var(--inf-muted);
}

.inf-mission--ome {
  border-color: rgba(151, 42, 41, 0.5);
  background: rgba(30, 12, 12, 0.9);
}

.inf-mission--ome .inf-eyebrow {
  color: #e08a88;
}

.inf-mission--res {
  border-color: rgba(61, 107, 92, 0.5);
  background: rgba(12, 22, 18, 0.9);
}

.inf-mission--res .inf-eyebrow {
  color: #8fc4b0;
}

.inf-card-mini {
  width: 88px;
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid var(--inf-line);
}

.inf-celda {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--inf-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.inf-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 260px;
  overflow: auto;
}

.inf-feed li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--inf-muted);
}

.inf-cliff,
.inf-ome-reveal {
  color: var(--inf-muted);
  line-height: 1.55;
  font-weight: 500;
  text-align: left;
}

.inf-empty {
  color: var(--inf-muted);
  font-weight: 600;
  grid-column: 1 / -1;
  text-align: center;
  padding: 1rem;
}

/* Modals */
.inf-modal-root[hidden] {
  display: none !important;
}

.inf-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483600; /* por encima del popup del juego si quedara alguno */
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.inf-modal {
  width: min(460px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #0c0907;
  border: 1px solid var(--inf-line);
  border-radius: 18px;
  padding: 1.5rem 1.35rem 1.6rem;
  text-align: center;
  color: var(--inf-ink);
  font-family: Quicksand, system-ui, sans-serif;
  animation: inf-pop 0.3s ease-out;
}

.inf-modal--big {
  width: min(520px, 100%);
}

.inf-modal h2 {
  margin: 0.2rem 0 0.5rem;
  font-weight: 700;
  color: #fff;
}

@keyframes inf-pop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.inf-stage {
  text-align: center;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  gap: 0.35rem;
}

.inf-stage--rol .inf-eyebrow {
  margin: 0;
}

.inf-stage--rol .inf-rol-title {
  margin: 0;
  font-size: clamp(1.45rem, 4.5vw, 1.85rem);
}

.inf-stage--rol .inf-lead {
  margin: 0 auto !important;
  max-width: 26rem !important;
  text-align: center !important;
  font-size: 0.88rem !important;
  line-height: 1.35;
}

/* La card es la imagen sola — sin caja ancha con huecos */
.inf-role-card {
  display: block;
  width: auto;
  height: auto;
  max-width: min(280px, 72vw);
  max-height: min(48vh, 420px);
  margin: 0.25rem auto 0.15rem;
  object-fit: unset;
  border: none;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  background: transparent;
}

.inf-stage--rol .inf-role-card {
  max-width: min(300px, 78vw);
  max-height: min(52vh, 460px);
}

.inf-stage .inf-mates {
  width: 100%;
  max-width: 22rem;
  margin: 0.15rem 0 0;
  text-align: left;
}

.inf-stage .inf-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  width: 100%;
  margin: 0.35rem 0 0 !important;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.inf-stage .inf-actions .inf-btn {
  min-height: 46px;
  min-width: 12rem;
  margin: 0 auto;
}

.inf-game-popup__panel--stage .inf-game-popup__title {
  margin-bottom: 4px;
}

.inf-game-popup__panel--stage .inf-game-popup__logo {
  width: min(160px, 42%);
}

.inf-game-popup__panel--stage .inf-game-popup__blurb--lore {
  display: none;
}

.inf-game-popup__panel--stage .inf-wrap--popup {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

/* Signup: CTA fijo abajo — siempre se puede pulsar */
.inf-signup {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  flex: 1;
}

.inf-signup__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.35rem;
}

.inf-signup__cta {
  flex: 0 0 auto;
  padding: 0.65rem 0 0.15rem;
  margin-top: auto;
  background: linear-gradient(180deg, transparent, #14110e 28%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 5;
}

.inf-signup__cta .inf-actions {
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  gap: 0.5rem;
}

.inf-signup__cta .inf-btn {
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  font-size: 0.95rem;
}

.inf-signup__count {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.85rem;
  color: rgba(242, 235, 224, 0.75) !important;
  text-align: center;
}

.inf-grid--signup {
  gap: 0.45rem;
  max-height: 140px;
  overflow: hidden;
}

.inf-grid--signup .inf-player {
  width: 64px;
}

.inf-grid--signup .inf-insignia-canvas {
  width: 56px;
  height: 56px;
}

.inf-one {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  overflow: hidden;
}

.inf-one-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff !important;
  text-align: center;
}

.inf-one .inf-lead {
  text-align: center;
  margin: 0 auto 0.35rem;
  max-width: 26rem;
}

.inf-one .inf-grid {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  align-content: center;
  justify-content: center;
  gap: 0.55rem 0.4rem;
}

.inf-one .inf-mates {
  margin: 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  max-height: 5.5rem;
  overflow: hidden;
}

.inf-actions--test {
  justify-content: center;
  margin: 0.15rem 0;
  flex-shrink: 0;
}

.inf-actions--test .inf-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
}

.inf-rol-title {
  margin: 0.25rem 0;
  letter-spacing: 0.08em;
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-weight: 700;
}

.inf-mates {
  text-align: left;
  margin: 0.5rem 0 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #e0b8b8;
  background: rgba(40, 14, 14, 0.85);
  border: 1px solid rgba(151, 42, 41, 0.45);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
}

.inf-mates ul {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.inf-mates__row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.35rem 0;
}

.inf-mates__row img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(226, 179, 90, 0.35);
}

.inf-role-fallback {
  margin: 0.5rem auto;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0;
  background: transparent;
}

.inf-actions--center {
  justify-content: center !important;
  width: 100%;
}

.inf-person {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
  margin-top: 0.5rem;
}

.inf-person__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(226, 179, 90, 0.45);
  background: #1a1510;
}

.inf-person__avatar--empty {
  display: inline-block;
  background: #2a241c;
}

.inf-person__name {
  display: block;
  color: #fff !important;
  font-size: 1.05rem;
}

.inf-person__badge {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(226, 179, 90, 0.2);
  color: #e2b35a !important;
}

.inf-person__note {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(242, 235, 224, 0.8) !important;
}

.inf-cronica-card {
  text-align: left;
  margin: 0.65rem 0;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--inf-line);
  background: rgba(26, 22, 18, 0.95);
}

.inf-cronica-card--exp {
  border-color: rgba(226, 179, 90, 0.4);
}

.inf-cronica-card--inf {
  border-color: rgba(151, 42, 41, 0.5);
}

.inf-cronica {
  text-align: left;
  margin: 1rem 0 1.25rem;
  line-height: 1.5;
}

.inf-cronica p {
  margin: 0 0 0.75rem;
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--inf-line);
  background: rgba(26, 22, 18, 0.95);
  font-weight: 500;
  color: var(--inf-ink);
}

.inf-cronica p:first-child {
  border-color: rgba(226, 179, 90, 0.35);
}

.inf-cronica p:last-child {
  border-color: rgba(151, 42, 41, 0.4);
}

#inf-ghost {
  width: 100%;
  max-width: 420px;
  padding: 0.65rem 0.8rem;
  margin: 0 0.5rem 0.5rem 0;
  border-radius: 12px;
  border: 1px solid var(--inf-line);
  background: rgba(26, 22, 18, 0.95);
  color: var(--inf-ink);
  font-family: inherit;
  font-weight: 500;
}

.inf-home-chip {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2147483000;
  background: #0c0907;
  color: #e2b35a;
  border: 1px solid rgba(226, 179, 90, 0.45);
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-family: Quicksand, system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  text-decoration: none;
  max-width: min(320px, calc(100vw - 2rem));
}

.inf-home-chip[hidden] {
  display: none !important;
}

.inf-home-chip:hover {
  border-color: var(--inf-gold);
}

/* Popup — mismo lenguaje que modales de identidad Home */
.inf-game-popup {
  --inf-ink: #f2ebe0;
  --inf-muted: #c4b8a8;
  --inf-gold: #e2b35a;
  --inf-line: rgba(226, 179, 90, 0.28);
  --inf-ome: #972a29;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin: 0;
  font-family: Quicksand, system-ui, sans-serif;
  color: #f2ebe0;
}

.inf-game-popup[hidden] {
  display: none !important;
}

.inf-game-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.inf-game-popup__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  max-height: min(92vh, 820px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 10px;
  border-radius: 18px;
  background: linear-gradient(165deg, #1f1a15 0%, #14110e 55%, #101010 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  color: #f2ebe0;
}

/* El tema WP pinta textos negros: forzar legibilidad dentro del popup */
.inf-game-popup__panel,
.inf-game-popup__panel p,
.inf-game-popup__panel h2,
.inf-game-popup__panel h3,
.inf-game-popup__panel h4,
.inf-game-popup__panel li,
.inf-game-popup__panel span,
.inf-game-popup__panel strong,
.inf-game-popup__panel label,
.inf-game-popup__panel .inf-lead,
.inf-game-popup__panel .inf-hint,
.inf-game-popup__panel .inf-player-name,
.inf-game-popup__panel .inf-status,
.inf-game-popup__panel .inf-bar,
.inf-game-popup__panel .inf-eyebrow,
.inf-game-popup__panel .inf-rol-title,
.inf-game-popup__panel .inf-mission p,
.inf-game-popup__panel .inf-mission h3,
.inf-game-popup__panel .inf-celda,
.inf-game-popup__panel .inf-cronica p {
  color: #f2ebe0;
}

.inf-game-popup__panel .inf-lead,
.inf-game-popup__panel .inf-hint,
.inf-game-popup__panel .inf-blurb,
.inf-game-popup__panel .inf-game-popup__blurb {
  color: rgba(242, 235, 224, 0.82) !important;
}

.inf-game-popup__panel .inf-eyebrow,
.inf-game-popup__panel .inf-status {
  color: #e2b35a !important;
}

.inf-game-popup__panel h2,
.inf-game-popup__panel h3,
.inf-game-popup__panel .inf-rol-title,
.inf-game-popup__panel .inf-section h3 {
  color: #fff !important;
}

.inf-game-popup__panel .inf-btn--ghost {
  color: #f2ebe0 !important;
  border-color: rgba(226, 179, 90, 0.4) !important;
  background: rgba(0, 0, 0, 0.25) !important;
}

.inf-game-popup__panel .inf-btn:not(.inf-btn--ghost):not(.inf-btn--danger) {
  color: #1a1510 !important;
  background: #e2b35a !important;
}

.inf-game-popup__panel .inf-btn--danger {
  color: #fff !important;
}

.inf-game-popup__title {
  margin: 0 36px 8px;
  padding: 0 8px;
  text-align: center;
  line-height: 0;
}

.inf-game-popup__logo {
  display: block;
  width: min(420px, 92%);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.inf-page-logo-wrap {
  margin: 0 0 0.75rem;
  padding: 0;
  text-align: center;
  line-height: 0;
}

.inf-page-logo {
  display: block;
  width: min(480px, 94%);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.inf-game-popup__blurb {
  margin: 0 auto 10px;
  padding: 0 8px;
  max-width: 34rem;
  max-height: 4.8em;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(242, 235, 224, 0.85) !important;
  text-align: left;
  flex-shrink: 0;
}

.inf-game-popup__blurb strong {
  color: #e2b35a !important;
  font-weight: 700;
}

.inf-game-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

.inf-game-popup__close:hover,
.inf-game-popup__close:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.inf-wrap--popup {
  --inf-ink: #f2ebe0;
  --inf-muted: #c4b8a8;
  max-width: none;
  margin: 0;
  min-height: 0;
  flex: 1;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #f2ebe0 !important;
}

.inf-wrap--popup #inf-main,
.inf-wrap--popup .inf-main {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.inf-wrap--popup .inf-card,
.inf-wrap--popup .inf-section {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  backdrop-filter: none;
  margin-bottom: 0;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  flex-shrink: 0;
}

.inf-wrap--popup .inf-section--grid {
  flex: 0 0 auto;
  overflow: visible;
  display: block;
}

.inf-wrap--popup .inf-section--grid .inf-grid {
  overflow: visible;
  align-content: flex-start;
  gap: 0.75rem 0.55rem;
}

.inf-wrap--popup .inf-card--hero {
  text-align: left;
  padding: 0 0 0.65rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
}

.inf-wrap--popup .inf-card--hero h2 {
  display: none;
}

.inf-wrap--popup .inf-card--hero .inf-eyebrow {
  display: none;
}

.inf-wrap--popup .inf-mission .inf-eyebrow {
  display: block;
  margin-bottom: 0.2rem;
}

.inf-wrap--popup .inf-lead {
  margin: 0 0 0.5rem;
  max-width: none;
  text-align: left;
  font-size: 0.9rem;
}

.inf-wrap--popup .inf-actions {
  justify-content: flex-start;
  margin: 0.4rem 0 0;
  gap: 0.45rem;
}

.inf-wrap--popup .inf-stage .inf-actions,
.inf-wrap--popup .inf-signup__cta .inf-actions {
  justify-content: center !important;
}

.inf-wrap--popup .inf-btn {
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
}

.inf-wrap--popup .inf-status {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  padding: 0.28rem 0.65rem;
}

.inf-wrap--popup .inf-player {
  width: 84px;
}

.inf-wrap--popup .inf-insignia-canvas {
  width: 76px;
  height: 76px;
}

.inf-wrap--popup .inf-player-name {
  font-size: 0.72rem;
}

.inf-wrap--popup .inf-section h3 {
  font-size: 0.92rem;
  margin: 0 0 0.45rem;
}

.inf-wrap--popup .inf-bar {
  margin-bottom: 0;
  padding: 0.45rem 0.7rem;
  font-size: 0.8rem;
  border-radius: 10px;
}

.inf-wrap--popup .inf-mission {
  margin-bottom: 0;
  padding: 0.55rem 0.65rem;
  gap: 0.55rem;
}

.inf-wrap--popup .inf-mission h3 {
  font-size: 1rem;
}

.inf-wrap--popup .inf-mission p {
  font-size: 0.8rem;
}

.inf-wrap--popup .inf-card-mini {
  width: 56px;
}

.inf-wrap--popup .inf-badge {
  display: none;
}

.inf-game-popup__panel::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(226, 179, 90, 0.06);
  animation: inf-amb 4s ease-in-out infinite alternate;
}

@keyframes inf-amb {
  from {
    box-shadow: inset 0 0 60px rgba(226, 179, 90, 0.04);
  }
  to {
    box-shadow: inset 0 0 100px rgba(151, 42, 41, 0.08);
  }
}

.inf-game-popup__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin-top: 6px;
  padding-top: 6px;
  flex-shrink: 0;
  z-index: 6;
  background: linear-gradient(180deg, transparent, #101010 18%);
}

.inf-popup-cta {
  width: 100%;
  display: flex;
  justify-content: center;
}

.inf-popup-cta:empty {
  display: none;
}

.inf-popup-cta .inf-actions {
  width: 100%;
  justify-content: center !important;
  margin: 0 !important;
  flex-wrap: wrap;
}

.inf-btn--start {
  min-height: 48px !important;
  min-width: min(100%, 240px);
  padding: 0.85rem 1.6rem !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
}

.inf-mute-link {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.75);
  font-family: Quicksand, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.inf-mute-link:hover,
.inf-mute-link:focus,
.inf-mute-link:focus-visible,
.inf-mute-link:active {
  color: #fff;
  border-color: rgba(226, 179, 90, 0.55);
  background: rgba(226, 179, 90, 0.12);
  outline: none;
  box-shadow: none;
  text-decoration: none;
}

@media (max-width: 520px) {
  .inf-game-popup {
    align-items: flex-end;
    padding: 0;
  }
  .inf-game-popup__panel {
    max-width: 100%;
    border-radius: 18px 18px 0 0;
    max-height: 92vh;
  }
}

@media (max-width: 560px) {
  .inf-mission {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .inf-bar {
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
  }
  .inf-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
