/* Spinner — page-specific styles */

.wheel-wrap { display: flex; justify-content: center; padding: 0.5rem 0; }

#wheel {
  cursor: pointer;
  filter: drop-shadow(0 6px 10px rgba(120, 100, 70, 0.22));
  touch-action: manipulation;
}

.result {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 8vw, 2.6rem);
  line-height: 1.15;
  color: #c4b8a2;
  min-height: 1.2em;
  overflow-wrap: anywhere;
  transition: color 0.2s, transform 0.2s;
}

.result.is-spinning { color: #c4b8a2; }
.result.is-won { color: var(--color-coral); transform: scale(1.05); }

.take-out {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.9rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  border: 2px solid #e8e2d8;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.take-out input { margin-top: 0.2rem; width: 1.1rem; height: 1.1rem; flex: 0 0 auto; }

.entries {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 2px solid #e8e2d8;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  font-family: var(--font-body, inherit);
  font-size: 1rem;
  color: var(--color-text);
  resize: vertical;
}

.entries:focus-visible { outline: none; border-color: var(--color-coral); }

@media (prefers-reduced-motion: reduce) {
  .result { transition: none; }
}
