/* Mestres Play · Ajuda e suporte (chamados), canais e denúncias da comunidade (v22).
   Só classes novas (sup- para a Ajuda e a janela de denúncia, com-canal- para os acréscimos da Comunidade).
   Usa as variáveis do app.css (--accent, --glass, --stroke, --radius, --text, --text-mid, --shadow). Celular primeiro. */

/* ---------------- tela Ajuda (#/ajuda) ---------------- */
.sup-tela { max-width: 780px; margin: 0 auto; padding: 8px 0 48px; }
.sup-tela :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sup-hero { padding: 18px 0 26px; border-bottom: 1px solid #ffffff13; margin-bottom: 26px; }
.sup-kicker { display: block; font-size: 10px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; color: #92929a; }
.sup-hero h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.08; letter-spacing: -.045em; font-weight: 650; margin: 12px 0 10px; }
.sup-hero h1:focus { outline: none; }
.sup-hero p { color: #a5a5ad; font-size: 15px; line-height: 1.6; max-width: 46ch; margin: 0; }
.sup-bloco { background: #1b1b1e; border: 1px solid #ffffff10; border-radius: var(--radius); padding: 22px 18px; margin-bottom: 20px; }
.sup-bloco-topo { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.sup-bloco-topo > div { flex: 1 1 260px; min-width: 0; }
.sup-bloco h2 { font-size: 19px; font-weight: 620; letter-spacing: -.02em; margin: 0; }
.sup-sub { color: #9999a4; font-size: 13px; line-height: 1.55; margin: 6px 0 0; }
.sup-oculto { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sup-busca { display: block; margin-bottom: 14px; }
.sup-busca input { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; color: var(--text); background: #141417; border: 1px solid #ffffff15; border-radius: 11px; padding: 12px 14px; }
.sup-busca input:focus, .sup-form input:focus, .sup-form textarea:focus, .sup-form select:focus, .sup-modal-caixa textarea:focus { border-color: #b4e05c99; box-shadow: 0 0 0 3px #b4e05c14; outline: none; }
.sup-faq-item { border-top: 1px solid #ffffff0d; }
.sup-faq-item:first-child { border-top: 0; }
.sup-faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; padding: 14px 2px; font-size: 14.5px; font-weight: 560; line-height: 1.45; }
.sup-faq-item summary::-webkit-details-marker { display: none; }
.sup-faq-item summary::after { content: '+'; color: var(--accent); font-size: 19px; line-height: 1; flex: none; }
.sup-faq-item[open] summary::after { content: '−'; }
.sup-faq-resp { color: #b3b3bc; font-size: 14px; line-height: 1.7; padding: 0 2px 16px; overflow-wrap: anywhere; }
.sup-faq-resp a, .sup-fala-texto a, .sup-aviso a { color: var(--accent); }
.sup-vazio { color: #9999a4; font-size: 13.5px; line-height: 1.6; margin: 4px 0; }
.sup-btn { font-size: 13px; padding: 11px 16px; border-radius: 11px; }
.sup-btn[hidden] { display: none; }

/* formulário (chamado, resposta e denúncia) */
.sup-form { border-top: 1px solid #ffffff10; padding-top: 18px; margin: 4px 0 18px; }
.sup-form[hidden] { display: none; }
.sup-campo { margin-bottom: 15px; }
.sup-campo label { display: block; font-size: 12px; font-weight: 600; color: #c6c6ce; margin: 0 0 7px; }
.sup-campo label span { color: #777781; font-weight: 400; margin-left: 4px; }
.sup-campo input, .sup-campo select, .sup-campo textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; line-height: 1.5; color: var(--text); background: #141417; border: 1px solid #ffffff15; border-radius: 10px; padding: 11px 12px; }
.sup-campo textarea { resize: vertical; min-height: 96px; }
.sup-dica { display: block; color: #85858f; font-size: 11.5px; line-height: 1.5; margin-top: 6px; }
.sup-dica-solta { margin: 0 0 12px; }
.sup-acoes { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sup-status { font-size: 12.5px; line-height: 1.5; color: #b2d892; margin: 10px 0 0; min-height: 1px; }
.sup-status:empty { margin: 0; }
.sup-status.sup-erro { color: #f2a591; }

/* lista "Seus chamados" */
.sup-chamados { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sup-chamado { display: grid; gap: 6px; padding: 14px 15px; border: 1px solid #ffffff10; border-radius: 13px; background: #202023; color: inherit; text-decoration: none; }
.sup-chamado:hover { border-color: #ffffff25; }
.sup-chamado-novo { border-color: #b4e05c55; }
.sup-ch-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sup-num { font-size: 12px; font-weight: 650; color: #9999a4; }
.sup-ch-t { font-size: 15px; font-weight: 590; line-height: 1.35; overflow-wrap: anywhere; }
.sup-quando { font-size: 12px; color: #85858f; }
.sup-st { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; border: 1px solid #ffffff18; color: #c6c6ce; background: #ffffff08; white-space: nowrap; }
.sup-st-aberto { color: #e5b66c; border-color: #e5b66c35; background: #e5b66c10; }
.sup-st-respondido { color: #a6e47b; border-color: #91d95b35; background: #91d95b10; }
.sup-st-aguardando_aluno { color: #f5c46e; border-color: #f5c46e40; background: #f5c46e12; }
.sup-st-resolvido, .sup-st-fechado { color: #9999a4; }
.sup-novo-badge { font-size: 10.5px; font-weight: 700; color: #10160a; background: var(--accent); border-radius: 999px; padding: 3px 8px; }
.sup-mais { margin-top: 12px; }

/* conversa do chamado */
.sup-voltar { display: inline-flex; align-items: center; gap: 6px; color: var(--text-mid); font-size: 13.5px; font-weight: 600; text-decoration: none; padding: 8px 0; margin-bottom: 8px; }
.sup-voltar:hover { color: var(--text); }
.sup-conversa-topo { padding: 6px 0 20px; }
.sup-conversa-topo h1, .sup-h1-menor { font-size: clamp(24px, 5vw, 32px); line-height: 1.15; letter-spacing: -.035em; font-weight: 640; margin: 10px 0 12px; overflow-wrap: anywhere; }
.sup-conversa-topo h1:focus, .sup-h1-menor:focus { outline: none; }
.sup-falas { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.sup-fala { max-width: 92%; padding: 13px 15px; border-radius: 14px; border: 1px solid #ffffff10; background: #1b1b1e; }
.sup-fala-aluno { justify-self: end; background: #21231e; border-color: #b4e05c25; }
.sup-fala-equipe { justify-self: start; }
.sup-fala-quem { font-size: 11.5px; color: #92929a; margin-bottom: 6px; }
.sup-fala-quem b { color: #d6d6dd; font-weight: 620; }
.sup-fala-texto { font-size: 14px; line-height: 1.65; color: #d0d0d8; overflow-wrap: anywhere; }
.sup-anexo { display: inline-block; margin-top: 8px; font-size: 12.5px; color: var(--accent); }
.sup-aviso { border: 1px solid #ffffff15; border-radius: 13px; padding: 14px 15px; color: #b3b3bc; font-size: 13.5px; line-height: 1.55; background: #ffffff06; }
.sup-resposta { border-top: 0; padding-top: 0; }

/* ---------------- janela de denúncia ---------------- */
.sup-modal { position: fixed; inset: 0; z-index: 450; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(6, 6, 10, .72); backdrop-filter: blur(8px); }
.sup-modal-caixa { width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-sizing: border-box; padding: 22px 20px 20px; background: #19191c; border: 1px solid var(--stroke); border-radius: var(--radius); box-shadow: var(--shadow); }
.sup-modal-caixa h2 { font-size: 20px; font-weight: 640; letter-spacing: -.02em; margin: 0; }
.sup-modal-caixa :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sup-motivos { border: 0; padding: 0; margin: 16px 0 14px; display: grid; gap: 6px; }
.sup-motivos legend { font-size: 12px; font-weight: 600; color: #c6c6ce; margin-bottom: 8px; padding: 0; }
.sup-motivo { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #ffffff12; border-radius: 10px; cursor: pointer; font-size: 14px; color: #dcdce3; }
.sup-motivo:hover { border-color: #ffffff28; }
.sup-motivo input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; flex: none; }
.sup-modal-caixa .sup-campo textarea { min-height: 72px; }

/* ---------------- comunidade: canais, aprovação e denúncia ---------------- */
.com-canal-aviso { margin: -10px 0 16px; font-size: 11.5px; line-height: 1.45; color: #e5b66c; }
.com-canal-aviso[hidden] { display: none; }
.com-canal-desc { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #9999a4; max-width: 52ch; }
.com-canal-pendente { display: inline-flex; align-items: center; margin-left: auto; font-size: 10px; font-weight: 600; color: #f5c46e; background: #f5c46e12; border: 1px solid #f5c46e33; border-radius: 999px; padding: 5px 9px; white-space: nowrap; }
#view-community .com-canal-pendente-card { border-style: dashed; border-color: #f5c46e40; }
.com-canal-nota { margin: 0; font-size: 12px; line-height: 1.5; color: #a5a5ad; }
#view-community .com-canal-denunciar[aria-disabled="true"] { cursor: default; opacity: .7; }

@media (min-width: 601px) {
  .sup-tela { padding-top: 18px; }
  .sup-bloco { padding: 26px 26px; }
}
@media (max-width: 600px) {
  .sup-fala { max-width: 100%; }
  .com-canal-pendente { margin-left: 51px; }
}
@media (prefers-reduced-motion: reduce) {
  .sup-modal { backdrop-filter: none; }
}
