.sc-wb-choice,
.sc-wb-choice__reopen {
  --sc-wb-ink: #11110f;
  --sc-wb-bone: #f2ead8;
  --sc-wb-gold: #d8b666;
  --sc-wb-muted: #c9c0ae;
  font-family: Inter, Arial, sans-serif;
}

.sc-wb-choice {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 2147482000;
  display: grid;
  place-items: end start;
  pointer-events: none;
}

.sc-wb-choice[hidden],
.sc-wb-choice__reopen[hidden] {
  display: none !important;
}

.sc-wb-choice__panel {
  box-sizing: border-box;
  width: min(320px, calc(100vw - 32px));
  padding: 14px;
  color: var(--sc-wb-bone);
  background: rgba(17, 17, 15, .98);
  border: 1px solid rgba(216, 182, 102, .6);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .38);
  pointer-events: auto;
}

.sc-wb-choice__eyebrow {
  margin: 0 0 8px;
  color: var(--sc-wb-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sc-wb-choice h2 {
  margin: 0 0 6px;
  color: var(--sc-wb-bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.2;
}

.sc-wb-choice p,
.sc-wb-choice summary {
  margin: 0;
  color: var(--sc-wb-muted);
  font-size: 13px;
  line-height: 1.4;
}

.sc-wb-choice__status {
  color: var(--sc-wb-bone) !important;
}

.sc-wb-choice details {
  margin-top: 8px;
}

.sc-wb-choice summary {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sc-wb-choice details p {
  margin-top: 7px;
}

.sc-wb-choice__actions {
  display: flex;
  flex-wrap: wrap;
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.sc-wb-choice button {
  min-height: 44px;
  border: 1px solid var(--sc-wb-gold);
  border-radius: 999px;
  box-sizing: border-box;
  width: 100%;
  padding: 9px 14px;
  color: var(--sc-wb-ink);
  background: var(--sc-wb-gold);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.sc-wb-choice .sc-wb-choice__secondary {
  color: var(--sc-wb-bone);
  background: transparent;
}

.sc-wb-choice .sc-wb-choice__close {
  min-height: 36px;
  padding: 5px 12px;
  color: var(--sc-wb-muted);
  background: transparent;
  border-color: transparent;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sc-wb-choice button:focus-visible,
.sc-wb-choice__reopen:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.sc-wb-choice__reopen {
  appearance: none;
  display: inline;
  width: auto;
  min-height: auto;
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

button.sc-wb-choice__reopen,
button.sc-wb-choice__reopen:hover,
button.sc-wb-choice__reopen:active,
button.sc-wb-choice__reopen:focus {
  color: inherit !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  font-weight: inherit !important;
}

button.sc-wb-choice__reopen::before,
button.sc-wb-choice__reopen::after {
  display: none !important;
  content: none !important;
}

.sc-wb-choice__reopen--fallback {
  display: block;
  margin: 12px 16px 16px auto;
  color: #d8b666;
  font-size: 12px;
}

@media (max-width: 560px) {
  .sc-wb-choice {
    left: 12px;
    bottom: 12px;
  }

  .sc-wb-choice__panel {
    width: calc(100vw - 24px);
    max-width: 320px;
    padding: 13px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .sc-wb-choice__panel {
    animation: sc-wb-enter .22s ease-out both;
  }
}

@keyframes sc-wb-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
