.legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.legend b.a { color: #38bdf8; }
.legend b.b { color: #4ade80; }

.tr-score {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.tr-score b { color: #fff; font-size: 1.05rem; }

.tr-seats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}
.tr-seat {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #000;
}
.tr-seat strong, .tr-seat small { display: block; }
.tr-seat strong {
  font-family: var(--font-display);
  font-style: italic;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.tr-seat small { color: var(--muted); font-size: 0.72rem; margin-top: 4px; }
.tr-seat .meta {
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tr-seat.turno { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.tr-seat.voce { border-color: #38bdf8; }
.tr-seat.vazio { opacity: 0.5; border-style: dashed; }

.tr-alert {
  display: none;
  border: 1px solid var(--accent);
  background: #000;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px;
  margin: 0 0 16px;
  text-align: center;
}
.tr-alert.show { display: block; }

.tr-mesa {
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255, 255, 255, .06), transparent 60%),
    linear-gradient(160deg, #1b7a32 0%, #146b28 45%, #0f5420 100%);
  border: 1px solid var(--line);
  padding: 20px 16px;
  margin: 0 0 16px;
  min-height: 220px;
}
.tr-mesa.turno-ativo { box-shadow: inset 0 0 0 2px var(--accent); }
.tr-vira {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}
.tr-vira-col { text-align: center; }
.tr-cartas {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  min-height: 130px;
}
.tr-slot {
  text-align: center;
}
.tr-slot span {
  display: block;
  margin-top: 6px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}
.tr-cartas.ghost .playing-card { opacity: 0.55; }
.tr-rodadas {
  margin-top: 14px;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.tr-acoes {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 16px;
}

.tr-mao {
  border: 1px solid var(--line);
  background: #000;
  padding: 16px;
  margin: 0 0 16px;
}
.tr-mao-titulo {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 10px;
}
.mao-cartas {
  display: flex;
  justify-content: center;
  min-height: 130px;
}

.btn-truco { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-aceitar { box-shadow: inset 3px 0 0 #4ade80; }
.btn-recusar { box-shadow: inset 3px 0 0 #e10600; }
