/* ========================================
   Salas — Boletería style
   Hero + tabs as programa, rooms as paper mini-tickets.
   ======================================== */

.salas-hero {
  margin-bottom: 24px;
}


/* ========================================
   Salas — New (two-column layout)
   Form left, "programa · cómo funciona" panel right.
   ======================================== */
.salas-new-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  /* align-items default = stretch, so both columns share the row height
     when side by side. On mobile the grid is one column so it doesn't
     matter. */
}
@media (min-width: 880px) {
  .salas-new-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); }
}
/* Inside the grid, let the form-card fill its column instead of the
   primitive's 720px max-width, and become a column-flex so the submit
   button can drop to the bottom of the (stretched) card. */
.salas-new-grid > .boleteria-form-card {
  max-width: none;
  display: flex;
  flex-direction: column;
}
.salas-new-grid > .boleteria-form-card > .boleteria-form { flex: 1; }
.salas-new-grid > .boleteria-form-card > .boleteria-form > .boleteria-form__submit {
  margin-top: auto;
}


/* ── "Programa · cómo funciona" side panel ── */
.salas-program {
  position: relative;
  padding: 24px 26px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 210, 63, 0.05) 0%, transparent 60%),
    var(--bg-2);
}
.salas-program__eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.salas-program__title {
  font-family: var(--font-scoreboard);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 18px;
}

.salas-program__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.salas-program__steps > li {
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.salas-program__steps > li:first-child {
  padding-top: 0;
  border-top: 0;
}
.salas-program__step-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.salas-program__steps > li > p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.salas-program__steps > li > p strong {
  color: var(--ink);
  font-weight: 600;
}

.salas-program__cta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  justify-content: center;
}
.salas-title {
  font-family: var(--font-scoreboard);
  font-size: clamp(40px, 8vw, 60px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 6px;
}
.salas-title > .accent { color: var(--gold); }
.salas-subtitle {
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 540px;
  line-height: 1.5;
}


/* ========================================
   Salas — Toolbar (search + actions)
   ======================================== */

.salas-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.salas-search {
  flex: 1;
  min-width: 200px;
}

.salas-search>.search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.875rem;
  transition: border-color 150ms;
}

.salas-search>.search-wrap:focus-within {
  border-color: var(--green);
}

.salas-search>.search-wrap>.icon {
  color: var(--text-3);
  flex-shrink: 0;
}

.salas-search>.search-wrap>.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-1);
  font-size: 0.9375rem;
  font-family: var(--font);
}

.salas-search>.search-wrap>.search-input::placeholder {
  color: var(--text-3);
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Code join form */
.code-form {
  display: flex;
  gap: 0.375rem;
  align-items: center;
}

.code-input {
  width: 100px;
  padding: 0.5rem 0.75rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-1);
  font-size: 0.875rem;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.code-input:focus {
  outline: none;
  border-color: var(--green);
}

/* ========================================
   Salas — Tabs (programa style)
   ======================================== */

.salas-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: 0;
}

.salas-tabs > .tab-btn {
  padding: 9px 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 150ms, border-color 150ms;
  white-space: nowrap;
}
.salas-tabs > .tab-btn:hover { color: var(--ink); }
.salas-tabs > .tab-btn.-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ========================================
   Salas — Rooms grid + paper mini-ticket
   ======================================== */

.rooms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
}

.room-ticket {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1px 84px;
  min-height: 110px;
  background: linear-gradient(180deg, var(--paper), var(--paper-2));
  color: var(--paper-ink);
  border-radius: var(--radius-lg);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3),
              0 1px 0 rgba(255, 255, 255, 0.06) inset;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.room-ticket:hover {
  transform: translateY(-2px) rotate(-0.2deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

/* Main side */
.room-ticket > .room-ticket-main {
  position: relative;
  z-index: 1;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.room-ticket-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-muted);
}
.room-ticket-top > .sep {
  width: 18px;
  height: 1px;
  background: rgba(26, 26, 21, 0.3);
}

.room-ticket-headline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.room-ticket-name {
  font-family: var(--font-scoreboard);
  font-size: 24px;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--paper-ink);
  margin: 0;
}

.room-ticket-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--paper-ink);
  color: var(--paper);
  line-height: 1.2;
}
.room-ticket-badge.-premium {
  background: var(--gold);
  color: var(--paper-ink);
}

.room-ticket-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(26, 26, 21, 0.7);
}
.room-ticket-creator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--paper-ink);
}
.room-ticket-creator > svg { color: var(--paper-ink); }
.room-ticket-fee {
  font-weight: 600;
  color: var(--paper-ink);
  padding-left: 12px;
  border-left: 1px dashed rgba(26, 26, 21, 0.3);
}
.room-ticket-notifs {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.room-ticket-notif {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(7, 34, 26, 0.12);
  color: var(--paper-ink);
}
.room-ticket-notif.-pending {
  background: var(--gold);
  color: var(--paper-ink);
}

/* Divider with perforations */
.room-ticket > .room-ticket-divider {
  position: relative;
  width: 1px;
  background: repeating-linear-gradient(0deg,
    rgba(26, 26, 21, 0.4) 0 5px,
    transparent 5px 10px);
  z-index: 1;
}
.room-ticket > .room-ticket-divider > .perf {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  left: 50%;
  transform: translateX(-50%);
}
.room-ticket > .room-ticket-divider > .perf.-start { top: -8px; }
.room-ticket > .room-ticket-divider > .perf.-end   { bottom: -8px; }

/* Stub side */
.room-ticket > .room-ticket-stub {
  position: relative;
  z-index: 1;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(0, 0, 0, 0.05);
  text-align: center;
}
.room-ticket > .room-ticket-stub > .num {
  font-family: var(--font-scoreboard);
  font-size: 36px;
  line-height: 0.85;
  color: var(--paper-ink);
}
.room-ticket > .room-ticket-stub > .lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 26, 21, 0.6);
}
.room-ticket > .room-ticket-stub > .barcode {
  width: 48px;
  height: 12px;
  margin-top: 4px;
  background: repeating-linear-gradient(90deg,
    var(--paper-ink) 0 1px,
    transparent 1px 3px,
    var(--paper-ink) 3px 5px,
    transparent 5px 8px);
}

/* Premium variant — gold trim + dark paper. The slow gold shimmer
   that crosses the card is what tells you at a glance that this is
   a Premium room. Respects prefers-reduced-motion. */
.room-ticket.-premium {
  position: relative;
  background: linear-gradient(180deg, #1f1c14, #15130d);
  color: var(--paper);
  border: 1px solid rgba(255, 210, 63, 0.35);
  isolation: isolate;
}
.room-ticket.-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 210, 63, 0.16) 50%, transparent 65%);
  background-size: 250% 100%;
  animation: room-ticket-shimmer 8s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.room-ticket.-premium > * { position: relative; z-index: 1; }

@keyframes room-ticket-shimmer {
  0%   { background-position: 250% 0; }
  100% { background-position: -50% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .room-ticket.-premium::before { animation: none; }
}
.room-ticket.-premium .room-ticket-top,
.room-ticket.-premium .room-ticket-foot { color: rgba(244, 235, 214, 0.7); }
.room-ticket.-premium .room-ticket-name,
.room-ticket.-premium .room-ticket-creator,
.room-ticket.-premium .room-ticket-fee,
.room-ticket.-premium .room-ticket-stub > .num,
.room-ticket.-premium .room-ticket-stub > .lbl { color: var(--paper); }
.room-ticket.-premium .room-ticket-creator > svg { color: var(--gold); }
.room-ticket.-premium .room-ticket-top > .sep { background: rgba(244, 235, 214, 0.3); }
.room-ticket.-premium .room-ticket-fee { border-left-color: rgba(244, 235, 214, 0.3); }
.room-ticket.-premium .room-ticket-stub { background: rgba(0, 0, 0, 0.25); }
.room-ticket.-premium .room-ticket-divider {
  background: repeating-linear-gradient(0deg,
    rgba(255, 210, 63, 0.4) 0 5px,
    transparent 5px 10px);
}
.room-ticket.-premium .room-ticket-stub > .barcode {
  background: repeating-linear-gradient(90deg,
    var(--paper) 0 1px,
    transparent 1px 3px,
    var(--paper) 3px 5px,
    transparent 5px 8px);
}
.room-ticket.-premium .room-ticket-notif {
  background: rgba(255, 210, 63, 0.18);
  color: var(--gold);
}

/* Mobile: stub stacks under main */
@media (max-width: 559px) {
  .room-ticket {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1px auto;
  }
  .room-ticket > .room-ticket-divider {
    width: auto;
    height: 1px;
    background: repeating-linear-gradient(90deg,
      rgba(26, 26, 21, 0.4) 0 5px,
      transparent 5px 10px);
  }
  .room-ticket > .room-ticket-divider > .perf {
    top: 50%;
    left: auto;
    transform: translateY(-50%);
  }
  .room-ticket > .room-ticket-divider > .perf.-start { left: -8px; }
  .room-ticket > .room-ticket-divider > .perf.-end   { right: -8px; }
  .room-ticket > .room-ticket-stub {
    flex-direction: row;
    gap: 10px;
    padding: 12px 14px;
  }
  .room-ticket > .room-ticket-stub > .num { font-size: 28px; }
  .room-ticket > .room-ticket-stub > .barcode { margin-top: 0; }
  .room-ticket.-premium .room-ticket-divider {
    background: repeating-linear-gradient(90deg,
      rgba(255, 210, 63, 0.4) 0 5px,
      transparent 5px 10px);
  }
}

/* ========================================
   Salas — Load more
   ======================================== */

.load-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  background: var(--bg-raised);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-3);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 150ms;
  cursor: pointer;
}

.load-more-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

/* (.empty-state lives in components/empty-state.css — boletería dashed) */

/* ========================================
   Salas — Buttons (shared)
   ======================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: var(--green);
  color: var(--text-inv);
  border: none;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 150ms;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--green-hover);
  color: var(--text-inv);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: var(--bg-raised);
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 150ms;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--green);
  color: var(--text-1);
}

/* ========================================
   Sala show — Sections
   ======================================== */

.sala-section {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 14px;
}
.sala-section.-requests,
.sala-section.-info-creator {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  padding: 14px 20px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 14px;
}
.section-title > svg { color: var(--muted); }

.section-title.-collapsible {
  cursor: pointer;
  user-select: none;
  margin: 0 -8px 0;
  padding: 6px 8px;
  border-radius: var(--radius);
  transition: color 150ms, background 150ms;
}
.section-title.-collapsible:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.025);
}
.section-title.-collapsible.-open {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-strong);
  border-radius: var(--radius) var(--radius) 0 0;
}

.section-title.-collapsible .toggle-icon {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms;
}
.section-title.-collapsible:hover .toggle-icon { color: var(--gold); }
.section-title.-collapsible.-open .toggle-icon { transform: rotate(180deg); }

/* Anything tagged as collapsible content is hidden when -hidden is set
   via the salas#toggleSection action. */
.-hidden { display: none !important; }


/* Comments — compact integration inside .sala-section */
.sala-section .comments-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 6px;
  background: rgba(255, 210, 63, 0.14);
  color: var(--gold);
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.sala-section.-comments > .match-chat {
  background: transparent;
  border: 0;
  padding: 0;
}
.sala-section.-comments .comments-list {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 12px;
}
.sala-section.-comments .comment {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: background 150ms;
}
.sala-section.-comments .comment + .comment { margin-top: 2px; }
.sala-section.-comments .comment:hover { background: rgba(255, 255, 255, 0.018); }
.sala-section.-comments .comment .body { flex: 1; min-width: 0; }
.sala-section.-comments .comment .meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 3px;
  line-height: 1.2;
}
.sala-section.-comments .comment .author {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.sala-section.-comments .comment .time {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.sala-section.-comments .comment .text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  word-wrap: break-word;
  white-space: pre-wrap;
  margin: 0;
}
.sala-section.-comments .empty {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 20px 0;
}
.sala-section.-comments .comment-form {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
}
.sala-section.-comments .comment-form .input-row {
  flex: 1;
  display: flex;
  gap: 8px;
}
.sala-section.-comments .comment-form .input {
  flex: 1;
  padding: 8px 12px;
  background: var(--input);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font);
  font-size: 13.5px;
  resize: none;
  outline: none;
  transition: border-color 150ms;
}
.sala-section.-comments .comment-form .input:focus { border-color: var(--gold); }
.sala-section.-comments .comment-form .submit {
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--gold), #f0b820);
  color: var(--paper-ink);
  border: 0;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 150ms;
}
.sala-section.-comments .comment-form .submit:hover { transform: translateY(-1px); }

.pending-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--gold);
  color: #000;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  margin-left: 0.25rem;
}

.empty-hint {
  color: var(--text-3);
  font-size: 0.875rem;
  text-align: center;
  padding: 1rem 0;
  margin: 0;
}

/* ========================================
   Sala show — Pending requests (compact strip)
   ======================================== */

.requests-strip {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.requests-strip-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.request-row-sm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

.request-user-sm {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-1);
}

.request-actions-sm {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}

.btn-accept-sm {
  padding: 0.25rem 0.625rem;
  background: var(--green);
  color: var(--text-inv);
  border: none;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms;
}

.btn-accept-sm:hover {
  background: var(--green-hover);
  color: var(--text-inv);
}

.btn-reject-sm {
  padding: 0.25rem 0.625rem;
  background: none;
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms;
}

.btn-reject-sm:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ========================================
   Sala show — Kick button in ranking
   ======================================== */

.btn-kick {
  padding: 0.25rem 0.625rem;
  background: none;
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 150ms;
  white-space: nowrap;
}

.btn-kick:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ========================================
   Sala show — Danger zone (leave / delete)
   ======================================== */

.sala-danger {
  display: flex;
  justify-content: flex-end;
  margin: 4px 0 14px;
}
.sala-danger form { margin: 0; }

.btn-danger {
  padding: 9px 18px;
  background: none;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 150ms, color 150ms, background 150ms;
}
.btn-danger:hover {
  border-color: var(--coral);
  color: var(--coral);
  background: rgba(255, 120, 102, 0.06);
}

/* ========================================
   Sala show — Creator info (code + link)
   ======================================== */

.sala-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  font-weight: 600;
}

.info-value-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.code-display {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.15em;
  background: var(--bg-input);
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.link-display {
  font-size: 0.75rem;
  color: var(--text-3);
  background: var(--bg-input);
  padding: 0.3125rem 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 250px;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.625rem;
  background: var(--bg-raised);
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms;
  white-space: nowrap;
  flex-shrink: 0;
}

.copy-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

.info-hint {
  font-size: 0.6875rem;
  color: var(--text-3);
  margin-top: 0.125rem;
}

.sala-info-collapsible.-hidden {
  display: none;
}

/* ========================================
   Sala show — Preview (no access)
   ======================================== */

.sala-preview {
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.preview-info {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: 100%;
}

.preview-stat {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text-2);
  font-size: 0.9375rem;
}

.preview-stat>.icon {
  color: var(--text-3);
  flex-shrink: 0;
}

.preview-hint {
  color: var(--text-3);
  font-size: 0.875rem;
  margin: 0;
}

.preview-pending {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.preview-pending>p {
  margin: 0;
}

.preview-kicked {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.preview-kicked>p {
  margin: 0;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 640px) {
  .salas-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .code-form {
    width: 100%;
  }

  .code-input {
    flex: 1;
    width: auto;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
    width: 100%;
  }

  .sala-info-grid {
    grid-template-columns: 1fr;
  }

  .link-display {
    max-width: 160px;
  }

  .sala-preview {
    max-width: 100%;
  }
}