/* GattoMusic 2.0 — Build 10.11 — ajustes cirúrgicos */

/* Segurança saiu do cabeçalho do Chat e foi para Informações do Player. */
.chat-v987-security-button { display: none !important; }
.information-security-card-v1011 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border, rgba(255,255,255,.14));
  border-radius: 16px;
  background: var(--surface, rgba(18,22,34,.92));
}
.information-security-icon-v1011 { font-size: 30px; line-height: 1; }
.information-security-copy-v1011 { min-width: 0; }
.information-security-copy-v1011 .information-description { margin: 4px 0 0; }

/* O botão redundante Criar sala perto de Buscar não ocupa espaço. */
#chatCreateRoomV969, .chat-v970-mobile-room-item { display: none !important; }

/* Encerrar sala no próprio card, como X superior direito. */
.chat-v977-room-item { position: relative; }
.chat-v977-room-item > .chat-v977-room-open,
.chat-v977-room-item > button:not(.chat-v1011-room-close-x) { padding-right: 42px; }
.chat-v1011-room-close-x {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  width: 30px;
  height: 30px;
  min-width: 30px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 92, 92, .58);
  border-radius: 9px;
  background: rgba(88, 16, 24, .72);
  color: #fff;
  font: 700 22px/1 Verdana, sans-serif;
  cursor: pointer;
}
.chat-v1011-room-close-x:hover,
.chat-v1011-room-close-x:focus-visible { background: rgba(145, 26, 39, .9); outline: 2px solid rgba(255,255,255,.42); outline-offset: 1px; }

.chat-v1011-security-dialog { width: min(760px, calc(100vw - 28px)); max-height: min(82vh, 760px); overflow: auto; }
.chat-v1011-security-status { padding: 10px 12px; border-radius: 10px; background: rgba(65, 160, 100, .12); }
.chat-v1011-security-status.warning, .chat-v1011-device-section .warning { background: rgba(220, 150, 30, .14); }
.chat-v1011-security-lists { display: grid; gap: 14px; margin-top: 12px; }
.chat-v1011-device-section { display: grid; gap: 8px; }
.chat-v1011-device-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; }
.chat-v1011-device-row > div { display: grid; gap: 4px; min-width: 0; }
.chat-v1011-device-row small { opacity: .78; overflow-wrap: anywhere; }

@media (max-width: 680px) {
  .information-security-card-v1011 { grid-template-columns: auto minmax(0, 1fr); }
  .information-security-open-v1011 { grid-column: 1 / -1; width: 100%; }
  .chat-v1011-device-row { align-items: stretch; flex-direction: column; }
  .chat-v1011-device-row > button { width: 100%; }
}
