/* ========================================================
   LOBBY PUNK ZINE — Ingresso Código, Caderno Galera,
   Adesivos de Packs & Cartolina de Filtros
   ======================================================== */

.lobby-ticket-wrap {
  position: relative;
  margin-top: 4px;
}

.lobby-ticket-back {
  position: absolute;
  inset: 5px -5px -5px 5px;
  background: var(--clima-accent);
  transform: rotate(1.3deg);
  z-index: 0;
}

.lobby-ticket {
  position: relative;
  z-index: 2;
  background: var(--bg-paper);
  color: #111115;
  padding: 20px 16px 18px;
  border: 2.5px solid #111115;
  box-shadow: var(--shadow-paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  clip-path: polygon(
    0% 1%, 99% 0%, 100% 97%, 95% 100%, 88% 97.5%, 81% 100%, 73% 97.5%,
    64% 100%, 55% 97.5%, 45% 100%, 35% 97.5%, 24% 100%, 14% 97.5%, 4% 100%, 0% 97%
  );
}

.room-code-value {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: 0.14em;
  line-height: 1;
  color: #111115;
}

.room-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.lobby-roster-sheet {
  position: relative;
  background-color: #f9f7f2;
  background-image:
    linear-gradient(90deg, transparent 22px, rgba(255, 80, 118, 0.35) 22px, rgba(255, 80, 118, 0.35) 23.5px, transparent 23.5px),
    repeating-linear-gradient(180deg, transparent 0 24px, rgba(114, 165, 224, 0.28) 24px 25.5px);
  color: #111115;
  border: 2.5px solid #111115;
  padding: 16px 14px 16px 28px;
  transform: rotate(-0.5deg);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.55);
}

.players-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.player-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 5px 5px;
  border-radius: 8px;
  background: #111115;
  color: #faf7f0;
  border: 2px solid #111115;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
  font-weight: 700;
  font-size: 0.9rem;
}

.player-chip.is-host {
  background: var(--zine-yellow);
  color: #111115;
}

.player-chip .tag-role {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 4px;
  background: #111115;
  color: var(--zine-yellow);
}

.player-chip .tag-bot {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(0, 216, 198, 0.2);
  color: var(--zine-teal);
}

.pack-sticker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.pack-sticker {
  position: relative;
  text-align: left;
  border: 3px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  padding: 12px 11px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(24, 24, 30, 0.85);
  color: var(--ink-muted);
  transition: transform 0.18s var(--ease-spring), filter 0.16s ease, opacity 0.16s ease;
  opacity: 0.62;
}

.pack-sticker:active:not(:disabled) { transform: scale(0.95); }

.pack-sticker.is-on {
  opacity: 1;
  border: 3.5px solid #ffffff;
  color: #111115;
  box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.72);
  transform: rotate(var(--prot, -1.3deg));
}

.pack-sticker.is-on.pack-yellow { background: var(--zine-yellow); --prot: -1.4deg; }
.pack-sticker.is-on.pack-pink { background: var(--zine-pink); color: #ffffff; --prot: 1.4deg; }
.pack-sticker.is-on.pack-cyan { background: var(--zine-cyan); --prot: 1.2deg; }
.pack-sticker.is-on.pack-lilac { background: var(--zine-lilac); --prot: -1.2deg; }

.pack-sticker-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pack-sticker-title { font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; line-height: 1.05; text-transform: uppercase; }
.pack-sticker-desc { font-size: 0.76rem; font-weight: 700; opacity: 0.86; line-height: 1.2; }
.pack-check-badge { font-family: var(--font-display); font-weight: 900; font-size: 0.68rem; padding: 1px 6px; border-radius: 4px; background: #111115; color: var(--zine-yellow); text-transform: uppercase; }

.lobby-zine-board {
  position: relative;
  background: rgba(18, 18, 24, 0.92);
  border: 2.5px solid rgba(250, 247, 240, 0.22);
  border-radius: 10px;
  padding: 18px 15px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }

.filter-chip {
  appearance: none;
  border: 2px solid rgba(250, 247, 240, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  min-height: 38px;
  padding: 6px 11px;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.14s var(--ease-spring), background 0.15s ease, color 0.15s ease;
}

.filter-chip:active { transform: scale(0.94); }
.filter-chip.is-on { background: var(--bg-paper); color: #111115; border-color: #111115; box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.65); }
.filter-chip.is-on.level-18 { background: var(--zine-pink); color: #ffffff; border-color: #ffffff; }

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
}

.toggle-copy strong { display: block; font-size: 0.92rem; color: var(--ink-light); }
.toggle-copy span { display: block; font-size: 0.78rem; color: var(--ink-muted); margin-top: 2px; }

.switch-btn {
  width: 50px;
  height: 30px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.24);
  background: rgba(250, 247, 240, 0.14);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.switch-btn::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.22s var(--ease-spring);
}

.switch-btn.is-on { background: var(--zine-mint); border-color: #111115; }
.switch-btn.is-on::after { transform: translateX(20px); background: #111115; }
