/* Página Suporte (ponte site → tickets do Discord). */
.sp-pagina { padding-top: 22px; padding-bottom: 60px; }

.sp-hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 36px; border-radius: 22px; border: 1px solid rgba(229, 52, 58, 0.35);
    background: radial-gradient(ellipse 60% 120% at 85% 50%, rgba(229, 52, 58, 0.35), transparent 70%), repeating-linear-gradient(115deg, rgba(229, 52, 58, 0.06) 0 16px, transparent 16px 42px), linear-gradient(160deg, #1a0d10, #111318 60%); }
.sp-sobre { font-size: 12px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: #ff6b70; }
.sp-hero h1 { margin: 8px 0 10px; font-size: clamp(30px, 5vw, 46px); font-weight: 900; line-height: 1.02; letter-spacing: 0.01em; }
.sp-hero h1 span { color: var(--accent-bright); }
.sp-hero p { margin: 0; max-width: 560px; color: #c9cbd1; font-size: 15px; line-height: 1.55; }
.sp-hero-logo { width: 170px; flex-shrink: 0; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.7)); }
.sp-passos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sp-passos div { display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 8px; border-radius: 12px; background: rgba(8, 9, 12, 0.5); border: 1px solid var(--border); font-size: 13px; font-weight: 700; }
.sp-passos b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); color: #fff; font-size: 13px; }

.sp-aviso { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; padding: 14px 18px; border-radius: 14px; font-size: 14.5px; border: 1px solid var(--border); background: var(--bg-card); }
.sp-aviso-ok { border-color: rgba(62, 207, 110, 0.45); background: linear-gradient(90deg, rgba(62, 207, 110, 0.12), transparent 70%), var(--bg-card); }
.sp-aviso-erro { border-color: rgba(229, 52, 58, 0.45); background: linear-gradient(90deg, rgba(229, 52, 58, 0.12), transparent 70%), var(--bg-card); }
.sp-aviso-info { border-color: rgba(88, 166, 255, 0.4); background: linear-gradient(90deg, rgba(88, 166, 255, 0.1), transparent 70%), var(--bg-card); }

.sp-bloco { margin-top: 26px; }
.sp-bloco-cab h2 { margin: 0; font-size: 20px; font-weight: 900; }
.sp-bloco-cab p { margin: 4px 0 14px; color: var(--text-dim); font-size: 13.5px; }

/* Ícone redondo dos tipos (tickets-tipos.js): gradiente da cor do tipo + desenho branco, igual aos emojis do bot. */
.tt-icone { --tc: #e5343a; width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; color: #fff;
    background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--tc) 72%, #fff), var(--tc) 55%, color-mix(in srgb, var(--tc) 70%, #000));
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22), 0 6px 16px color-mix(in srgb, var(--tc) 35%, transparent); }
.tt-icone .tt-svg { width: 54%; height: 54%; }

.sp-tipos { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px; }
.sp-tipo { --c: #e5343a; position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-align: left; border-radius: 16px; color: var(--text); cursor: pointer; font: inherit;
    background: linear-gradient(100deg, color-mix(in srgb, var(--c) 12%, transparent), transparent 55%), var(--bg-card); border: 1px solid var(--border); transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; }
.sp-tipo:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); }
.sp-tipo.ativo { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 10px 26px rgba(0, 0, 0, 0.35); }
.sp-tipo-texto { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sp-tipo strong { font-size: 16px; font-weight: 900; }
.sp-tipo small { color: var(--text-dim); font-size: 13px; line-height: 1.35; }
.sp-tipo-seta { font-size: 26px; line-height: 1; color: var(--text-dim); transition: transform 0.15s, color 0.15s; }
.sp-tipo:hover .sp-tipo-seta, .sp-tipo.ativo .sp-tipo-seta { color: var(--c); transform: translateX(3px); }
.sp-ticket .tt-icone { width: 42px; height: 42px; }

.sp-form { --c: #e5343a; margin-top: 14px; padding: 20px 22px; border-radius: 18px; background: var(--bg-card); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.sp-form-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sp-form-cab small { font-size: 11px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c); }
.sp-form-cab h3 { margin: 0; font-size: 19px; }
.sp-fechar { margin-left: auto; width: 36px; height: 36px; border-radius: 10px; font-size: 22px; color: var(--text-dim); background: transparent; border: 1px solid var(--border); }
.sp-campo { position: relative; display: block; margin-bottom: 12px; }
.sp-campo span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; }
.sp-campo em { font-style: normal; font-weight: 600; color: var(--text-dim); }
.sp-campo input, .sp-campo textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 12px; font: inherit; font-size: 14.5px; color: var(--text); background: #0f1216; border: 1px solid var(--border); resize: vertical; }
.sp-campo input:focus, .sp-campo textarea:focus { outline: none; border-color: var(--c); }
.sp-cont { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: var(--text-dim); font-weight: 700; }
.sp-aviso-icone { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); }
.sp-aviso-ok .sp-aviso-icone { background: #2fb866; }
.sp-aviso-info .sp-aviso-icone { background: #3b8bff; }
.sp-dica { display: flex; align-items: center; gap: 7px; }
.sp-dica .tt-svg { flex-shrink: 0; color: var(--c); }
.sp-dica { margin: 2px 0 12px; font-size: 13px; color: var(--text-dim); }
.sp-form-acoes { display: flex; justify-content: flex-end; gap: 10px; }

.sp-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 11px; font: inherit; font-size: 13.5px; font-weight: 800; color: var(--text); text-decoration: none; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); cursor: pointer; }
.sp-btn:hover { border-color: #4a4f5a; }
.sp-btn-primario { color: #fff; border-color: transparent; background: linear-gradient(180deg, #ff3b42, #d42a30); box-shadow: 0 6px 18px rgba(229, 52, 58, 0.3); }
.sp-btn:disabled { opacity: 0.6; cursor: wait; }

.sp-lista { display: flex; flex-direction: column; gap: 10px; }
.sp-ticket { --c: #e5343a; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--bg-card); border: 1px solid var(--border); border-left: 4px solid var(--c); }
.sp-ticket-info { flex: 1; min-width: 0; }
.sp-ticket-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sp-ticket-topo strong { font-size: 15px; }
.sp-num { font-size: 12px; font-weight: 800; color: var(--text-dim); }
.sp-chip { padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 900; color: #c6c9d0; background: rgba(255, 255, 255, 0.07); }
.sp-st-aberto .sp-chip { color: #1b1300; background: #ffc93b; }
.sp-st-atendimento .sp-chip { color: #04210f; background: var(--green); }
.sp-ticket-assunto { margin: 4px 0 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-staff { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; color: var(--text); font-weight: 700; text-decoration: none; }
.sp-staff img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
a.sp-staff:hover span { text-decoration: underline; }
.sp-ticket-meta, .sp-ticket-motivo { margin: 3px 0 0; font-size: 12.5px; color: var(--text-dim); }
.sp-ticket-acoes { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.sp-vazio { padding: 24px; text-align: center; color: var(--text-dim); border-radius: 16px; border: 1px dashed var(--border); }
.sp-vazio a { color: var(--accent-bright); }

@media (max-width: 640px) {
    .sp-hero { padding: 24px 20px; }
    .sp-hero-logo { display: none; }
    .sp-tipos { gap: 10px; }
    .sp-tipos { grid-template-columns: 1fr; }
    .sp-tipo { padding: 12px 14px; }
    .tt-icone { width: 42px; height: 42px; }
    .sp-ticket { flex-wrap: wrap; }
    .sp-ticket-acoes { width: 100%; justify-content: flex-start; }
}
