.wsp {
  --paper: #FAF5EA;
  --paper-deep: #F1E9D8;
  --ink: #23262B;
  --ink-soft: #5B5B52;
  --brass: #C89B3C;
  --brass-deep: #A87F26;
  --teal: #2F6F5E;
  --teal-deep: #234F42;
  --tile-edge: #D8CDB8;

  background: var(--paper);
  color: var(--ink);
  font-family: 'Public Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 60px;
  border-radius: 18px;
}

.wsp * { box-sizing: border-box; }
.wsp .wsp-wrap { width: 100%; max-width: 640px; }

.wsp .wsp-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  text-align: center;
  margin-bottom: 14px;
}

.wsp h1 {
  font-family: 'Fraunces', serif !important;
  font-weight: 600;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.05;
  text-align: center;
  margin: 0 0 14px;
  color: var(--ink);
}

.wsp .wsp-sub {
  text-align: center;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto 32px;
}

.wsp .wsp-players-box {
  background: var(--paper-deep);
  border: 1px solid var(--tile-edge);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 30px;
}

.wsp .wsp-field-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.wsp .wsp-player-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.wsp .wsp-player-row {
  display: flex;
  gap: 8px;
}

.wsp input.wsp-player-input {
  flex: 1;
  height: 46px;
  border-radius: 8px;
  background: #FFFCF5;
  border: 2px solid var(--tile-edge);
  font-family: 'Public Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}
.wsp input.wsp-player-input:focus { border-color: var(--brass); }

.wsp button.wsp-remove-btn {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: 2px solid var(--tile-edge);
  background: transparent;
  color: var(--ink-soft);
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.wsp button.wsp-remove-btn:hover { border-color: #A6524A; color: #A6524A; }

.wsp .wsp-players-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wsp button.wsp-add-btn {
  background: transparent !important;
  border: 2px dashed var(--tile-edge) !important;
  color: var(--ink-soft) !important;
  font-family: 'Public Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
}
.wsp button.wsp-add-btn:hover { border-color: var(--brass) !important; color: var(--brass-deep) !important; }

.wsp .wsp-hint {
  font-size: 13px;
  color: var(--ink-soft);
}

.wsp .wsp-wheel-area {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto 30px;
}

.wsp .wsp-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid var(--ink);
  z-index: 3;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.25));
}

.wsp .wsp-wheel-svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid var(--paper);
  box-shadow: 0 0 0 4px var(--ink), 0 8px 20px rgba(35,38,43,0.25);
  transition: transform 4.5s cubic-bezier(0.17, 0.89, 0.22, 1);
}

.wsp .wsp-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 4px solid var(--ink);
  z-index: 2;
}

.wsp .wsp-btn-row {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.wsp button.wsp-spin-btn {
  background: var(--teal) !important;
  color: #FFFCF5 !important;
  border: none;
  font-family: 'Public Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 36px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--teal-deep);
}
.wsp button.wsp-spin-btn:hover:not(:disabled) { background: var(--teal-deep) !important; }
.wsp button.wsp-spin-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.wsp .wsp-result {
  margin-top: 26px;
  text-align: center;
  font-family: 'Fraunces', serif !important;
  font-weight: 700;
  font-size: 26px;
  color: var(--teal-deep);
  min-height: 40px;
}

.wsp .wsp-error {
  text-align: center;
  color: #A6524A;
  font-size: 14px;
  margin-top: 10px;
}

@media (max-width: 480px) {
  .wsp .wsp-wheel-area { width: 260px; height: 260px; }
}
