.raffle-dialog949 {
  width: min(94vw, 34rem);
  max-height: min(85dvh, 42rem);
  padding: 0;
  border: 1px solid #cddcd4;
  border-radius: 1.15rem;
  background: #fcfdfb;
  color: #18392e;
}

.raffle-dialog949::backdrop { background: rgb(13 48 39 / .7); }

.raffle-dialog949 header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .4rem .75rem;
  background: #e5f1e9;
  padding: 1rem 1.25rem;
}

.raffle-dialog949 h2,
.raffle-dialog949 h3,
.raffle-dialog949 p { margin: 0; }

.raffle-dialog949 h2 { font-size: clamp(1.15rem, 5vw, 1.5rem); }
.raffle-tv-status949 { grid-column: 1 / -1; font-size: .875rem; }

.raffle-body949 {
  display: grid;
  gap: .85rem;
  padding: 1rem 1.25rem .625rem;
  overflow-wrap: anywhere;
}

.raffle-count949 { display: flex; align-items: baseline; gap: .375rem .65rem; flex-wrap: wrap; }
.raffle-count949 strong { font-size: 1.85rem; font-variant-numeric: tabular-nums; }
.raffle-count949 small { color: #48685d; }
.raffle-body949 details { padding: .65rem .8rem; border: 1px solid #d3e1d8; border-radius: .6rem; }
.raffle-body949 summary { font-weight: 600; cursor: pointer; }
.raffle-entries949 { max-height: 10rem; overflow-y: auto; padding-inline-start: 1.4rem; }
.raffle-entries949 li, .raffle-history949 li { padding-block: .25rem; }
.raffle-history949 h3 { font-size: 1rem; }
.raffle-history949 ol { list-style: none; padding-left: 0; margin: .4rem 0 0; }

.raffle-winner949 {
  display: grid;
  gap: .65rem;
  padding: .75rem .85rem;
  border-radius: .75rem;
  background: #f7eccc;
  color: #503b12;
}

.raffle-winner-identity959 {
  display: grid;
  grid-template-columns: clamp(3.65rem, 17vw, 5.25rem) minmax(0, 1fr);
  align-items: start;
  gap: .75rem;
}

.raffle-winner-portrait959 {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: .65rem;
  background: #fdf8eb;
  border: 1px solid #dfcf9f;
}

.raffle-winner-portrait959 img { width: 100%; height: 100%; object-fit: contain; }
.raffle-photo-placeholder959 { display: grid; place-items: center; height: 100%; color: #76602c; }
.raffle-photo-placeholder959 svg { width: 46%; height: 46%; }
.raffle-winner-portrait959 [hidden] { display: none; }
.raffle-winner-details959 { display: grid; justify-items: start; gap: .2rem; }
.raffle-winner-details959 h3 { font-size: 1.25rem; line-height: 1.2; }
.raffle-winner-label959 { font-size: .85rem; }
.raffle-photo-status959 { padding: .2rem .45rem; border-radius: .35rem; font-size: .82rem; font-weight: 700; }
.raffle-photo-status959[data-state="present"] { background: #dceee2; color: #234d37; }
.raffle-photo-status959[data-state="missing"],
.raffle-photo-status959[data-state="unavailable"] { background: #ffdfab; color: #633811; }
.raffle-profile-link959 { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 650; }
.raffle-winner949 button { justify-self: start; }
.raffle-feedback949 { padding-inline: 1.25rem; font-size: .875rem; }
.raffle-feedback949:empty { display: none; }

.raffle-dialog949 footer {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: space-between;
  padding: .7rem 1.25rem 1rem;
  background: #fcfdfb;
}

.raffle-dialog949 footer button { flex: 1 1 auto; }
