/* ===== GENRYUSAI: PAGINA COMANDOS (se carga después de style.css) ===== */

.cmds { max-width: 860px; margin: 0 auto; padding: 48px 16px 70px; }
.cmds-head { text-align: center; }
.cmds .eyebrow { color: #ef7770; }
.cmds h1 { margin: 16px 0 10px; font-size: clamp(28px, 8vw, 40px); letter-spacing: -1px; line-height: 1.15; }
.cmds-lead { color: var(--muted); font-size: 14px; line-height: 1.8; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cmds-tools { margin-top: 28px; }
#buscar {
  width: 100%; min-height: 50px; padding: 12px 14px; color: #fff; background: #0a0a0a;
  border: 1px solid #3a3a3a; border-radius: 6px; font: inherit; font-size: 16px;
}
#buscar::placeholder { color: #8a8a8a; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  min-height: 40px; padding: 8px 14px; color: #cfcfcf; background: #101010; cursor: pointer;
  border: 1px solid #333; border-radius: 999px; font: inherit; font-size: 12px; font-weight: 650;
}
.chip[aria-pressed="true"] { color: #fff; background: #c52c2c; border-color: #c52c2c; }
.count { margin-top: 14px; color: var(--muted); font-size: 12px; letter-spacing: 1px; }

.cat { margin-top: 32px; }
.cat h2 { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 2px; color: #ef7770; }
.cat h2 small { color: #9a9a9a; font-size: 11px; letter-spacing: 1px; font-weight: 600; }
.cat-desc { margin: 6px 0 12px; color: var(--muted); font-size: 13px; }
.tag { padding: 2px 8px; border: 1px solid #5a2020; color: #ef9a94; font-size: 9px; letter-spacing: 1.5px; }

.cmd {
  margin-bottom: 8px; padding: 14px 14px 14px 16px; display: grid; gap: 6px;
  border: 1px solid #2a1818; border-left: 3px solid #c52c2c; background: #110c0c;
}
.cmd-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cmd-name { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 15px; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.cmd-args { color: #9a9a9a; font-weight: 400; }
.cmd-desc { color: #cfcfcf; font-size: 13px; line-height: 1.6; }
.cmd-alias { color: #9a9a9a; font-size: 12px; font-family: ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.copy {
  flex-shrink: 0; min-width: 76px; min-height: 40px; padding: 6px 12px; color: #ddd; background: #101010;
  border: 1px solid #3a3a3a; border-radius: 6px; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer;
}

.empty { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14px; }
.empty[hidden], #nsfwPanel[hidden], #nsfwLista[hidden], .nsfw-zone[hidden] { display: none; }

.nsfw-zone { margin-top: 56px; padding-top: 24px; border-top: 1px solid #1c1c1c; text-align: center; }
.nsfw-btn {
  min-height: 44px; padding: 10px 18px; color: #9a9a9a; background: transparent; cursor: pointer;
  border: 1px dashed #3a3a3a; border-radius: 6px; font: inherit; font-size: 12px; letter-spacing: 1.5px;
}
#nsfwPanel { margin-top: 18px; text-align: left; }
.nsfw-warn { margin-bottom: 12px; color: #ef9a94; font-size: 12px; letter-spacing: 1px; text-align: center; }
#nsfwPanel > .button { width: 100%; min-height: 48px; }
.cmds .button.primary { background: #c52c2c; border-color: #c52c2c; color: #fff; }

:focus-visible { outline: 3px solid #ffb4ae; outline-offset: 3px; }

@media (min-width: 701px) {
  .cmds { padding-top: 70px; }
  .cmd { grid-template-columns: 1fr; padding: 16px 18px; }
}
