/* Termo gChat */
.tm-card{--tm-cor:#6f6580;--tm-bloco:#faf7fd;--tm-linha:var(--line,#e4dcf0);--tm-suave:#6a6076;box-sizing:border-box;width:100%;flex:0 0 auto;display:flex;flex-direction:column;gap:10px;margin:12px 0 0;padding:12px 14px;border:1px solid var(--tm-linha);border-radius:16px;background:var(--tm-bloco);color:var(--ink,#201a29);text-align:left}
.tm-card[hidden]{display:none!important}
html.dark .tm-card{--tm-bloco:#282234;--tm-suave:#b5a8c8}
.tm-card[data-nivel="6"]{--tm-cor:#c4212b}.tm-card[data-nivel="5"]{--tm-cor:#d9480f}.tm-card[data-nivel="4"]{--tm-cor:#b45f06}
.tm-card[data-nivel="2"]{--tm-cor:#2672a8}.tm-card[data-nivel="1"]{--tm-cor:#1f5fd6}.tm-card[data-nivel="0"]{--tm-cor:#1b3f9e}
.tm-card p{margin:0}
.tm-cab{display:flex;align-items:center;gap:8px;min-width:0}
.tm-card .tm-cab svg.tm-ico{width:22px;height:22px;flex:0 0 22px;color:var(--tm-cor)}
.tm-titulo{flex:1;min-width:0;font-size:13px;font-weight:850;line-height:1.2}
.tm-nivel{font-size:12.5px;font-weight:850;padding:3px 10px;border-radius:999px;background:var(--tm-cor);color:#fff;white-space:nowrap}
.tm-card button{font-family:inherit;-webkit-tap-highlight-color:transparent;box-shadow:none;margin:0}
.tm-card button.tm-info{width:32px;height:32px;min-height:0;flex:0 0 32px;margin:-6px -8px -6px 0;padding:0;border:0;background:transparent;color:var(--tm-suave);display:grid;place-items:center;cursor:pointer}
.tm-card .tm-ajuda{font-size:12px;line-height:1.45;padding:9px 11px;border-radius:10px;background:#2a2136;color:#f4eefb}
.tm-barra{position:relative;height:26px;margin:0 12px}
.tm-barra i{position:absolute;display:block}
.tm-trilho{left:-12px;right:-12px;top:7px;height:12px;border-radius:999px;background:linear-gradient(90deg,#1f5fd6,#58b4f5,#b9aecb,#ff9a3d,#e0313a)}
.tm-meio{left:50%;top:4px;width:2px;height:18px;margin-left:-1px;background:currentColor;opacity:.35}
.tm-marca{top:1px;width:24px;height:24px;margin-left:-12px;box-sizing:border-box;border-radius:50%;background:#fff;border:6px solid var(--tm-cor);box-shadow:0 2px 6px rgba(0,0,0,.35);transition:left .7s cubic-bezier(.3,1.4,.5,1),border-color .4s}
.tm-escala{display:flex;justify-content:space-between;margin-top:-6px;font-size:11px;font-weight:700;color:var(--tm-suave)}
.tm-votos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.tm-card button.tm-voto{min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;padding:8px;border:2px solid currentColor;border-radius:12px;background:transparent;font-size:14px;font-weight:850;cursor:pointer;transition:background .15s,color .15s,transform .12s}
.tm-card button.tm-voto svg{width:24px;height:24px;flex:0 0 24px}
.tm-card button.tm-cool{color:#b23c0a}.tm-card button.tm-uncool{color:#1a4fb5}
html.dark .tm-card button.tm-cool{color:#ffa36b}html.dark .tm-card button.tm-uncool{color:#8db8ff}
.tm-card button.tm-cool[aria-pressed="true"],html.dark .tm-card button.tm-cool[aria-pressed="true"]{background:#c2410c;border-color:#c2410c;color:#fff}
.tm-card button.tm-uncool[aria-pressed="true"],html.dark .tm-card button.tm-uncool[aria-pressed="true"]{background:#1f5fd6;border-color:#1f5fd6;color:#fff}
.tm-card button.tm-voto:active{transform:scale(.98)}
.tm-card button.tm-voto:disabled{cursor:default;opacity:.55;border-style:dashed}
.tm-card .tm-nota{font-size:12px;line-height:1.45;text-align:center;color:var(--tm-suave)}
.tm-card .tm-principal{box-sizing:border-box;min-height:44px;display:flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:12px;font-size:13.5px;font-weight:850;text-align:center;text-decoration:none;cursor:pointer}
.tm-card .tm-principal{border:0;background:linear-gradient(135deg,#7048a6,#c04f92);color:#fff}
.tm-card :focus-visible{outline:2px solid var(--purple,#7048a6);outline-offset:2px}
/* no proprio perfil nao aparece dentro das seccoes de edicao */
#profileModal.prf-sec .tm-card{display:none!important}
@media (prefers-reduced-motion:reduce){.tm-card *{transition:none!important}}
/* icone nas mensagens */
.msg-termo-btn{display:none;align-items:center;flex:0 0 auto;border:0;background:transparent;padding:0 3px;border-radius:6px;line-height:1;cursor:pointer}
html.tm-ativo .msg-termo-btn{display:inline-flex}
.msg-termo-btn:hover{background:#7048a61f}
.msg-termo-btn svg{width:17px!important;height:17px!important;flex:0 0 17px}
/* modal do icone */
#termoModal .info-modal-head{background:linear-gradient(135deg,#7048a6,#9c5fc5);color:#fff}
#termoModal .info-modal-head h2{color:#fff;overflow-wrap:anywhere}
#termoModal .tm-card{margin:0}
#termoModal .tm-vazio{margin:0;text-align:center;color:var(--muted,#6a6076);font-size:13.5px}
#termoModal .tm-vazio[hidden]{display:none}
