
.wheel-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.wheel-sources button,
.wheel-person {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 2px solid var(--espresso);
  border-radius: 999px;
  background: var(--foam);
  color: var(--espresso);
  font-weight: 700;
  font-size: 0.88rem;
}

.wheel-sources button[aria-pressed="true"],
.wheel-person[aria-pressed="true"] {
  background: var(--mustard);
  box-shadow: 2px 2px 0 var(--espresso);
}

.wheel-person img {
  border-radius: 50%;
}

.wheel-person:disabled {
  opacity: 0.5;
}

.wheel-panel label {
  font-size: 0.85rem;
  font-weight: 700;
}

.wheel-people {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wheel-status {
  margin: 16px 0 8px;
  font-weight: 600;
  color: var(--mocha);
}

.wheel-all summary {
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.wheel-all ol {
  max-height: 220px;
  margin: 8px 0 0;
  overflow-y: auto;
  font-size: 0.88rem;
}

.wheel-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wheel-wrap {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
}

.wheel-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  filter: drop-shadow(5px 5px 0 var(--espresso));
}

.wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  z-index: 1;
  width: 34px;
  height: 40px;
  transform: translateX(-50%);
  background: var(--cherry);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 3px 0 var(--espresso));
}

.wheel-pointer::after {
  content: "";
  position: absolute;
  inset: 4px 7px 12px;
  background: var(--foam);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  opacity: 0.35;
}

.wheel-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-top: 20px;
  padding: 16px;
  border: 3px solid var(--espresso);
  border-radius: 14px;
  background: var(--cream);
  box-shadow: 4px 4px 0 var(--espresso);
}

.wheel-result img {
  border: 2px solid var(--espresso);
  border-radius: 8px;
  object-fit: cover;
}

.wheel-result img.is-tall { width: 92px; aspect-ratio: 2 / 3; }

.wheel-result img.is-wide { width: 200px; aspect-ratio: 460 / 215; }

.wheel-result-text {
  flex: 1;
  min-width: 200px;
}

.wheel-result-kicker {
  font-family: var(--font-script);
  color: var(--caramel);
}

.wheel-result-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.15;
}

.wheel-result-sub {
  margin: 2px 0 0;
  color: var(--mocha);
}
