.sorteios-toolbar .section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sorteios-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.sorteio-item-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.sorteio-thumb {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.sorteio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 12px;
  color: var(--muted, #94a3b8);
  margin: 10px 0;
}

.sorteio-form textarea {
  min-height: 80px;
}

.sorteio-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
}

.sorteio-modal[hidden] {
  display: none !important;
}

.sorteio-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.sorteio-modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 32px));
}

.sorteio-impact {
  font-weight: 600;
  margin: 12px 0;
}

.sorteio-history-item .sorteio-history-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}

.sorteio-participants-panel {
  width: min(720px, calc(100vw - 32px));
}

.sorteio-participants-body {
  max-height: 360px;
  overflow: auto;
  margin: 12px 0;
}

.sorteio-participants-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sorteio-participants-table th,
.sorteio-participants-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.sorteio-winner-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.sorteio-celebrate.is-animated {
  font-size: 24px;
  font-weight: 800;
  margin: 12px 0;
  animation: sorteioCelebrate 1.2s ease-in-out infinite;
}

@keyframes sorteioCelebrate {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.sorteio-preview-summary {
  margin: 12px 0;
  font-size: 13px;
}

.sorteio-preview-summary ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.sorteio-preview-reasons {
  margin-top: 8px;
}
