/* Vynumo — settings row, cross-promotion, and effect layer.
 * Theme-agnostic: works with every palette including bloodcrimes. */

/* Sound / motion controls. Rendered under the theme chips in the "Pick your
   arena" section — deliberately NOT under the board, where it used to sit on
   top of play and duplicate the theme picker. */
.vynumo-settings {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
  margin: 12px 0 0;
  max-width: 100%;
}

.vynumo-settings__btn {
  appearance: none;
  padding: 6px 12px;
  border: 1px solid var(--surface-border, rgba(255, 255, 255, 0.12));
  border-radius: 4px;
  background: var(--ghost-button-bg, rgba(255, 255, 255, 0.04));
  color: var(--muted-color, #a3a3a3);
  font: inherit;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 34px;
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}

.vynumo-settings__btn:hover {
  color: var(--title-color, #f4f4f5);
  border-color: var(--accent, #c99a38);
}

.vynumo-settings__btn.is-active {
  color: var(--button-text, #fff6f2);
  background: linear-gradient(180deg, var(--button-gradient-start, #b51220), var(--button-gradient-end, #7e0c16));
  border-color: transparent;
}

/* ---------------------------------------------------------- cross promotion */

.bc-xpromo {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 70;
  width: min(320px, calc(100vw - 28px));
  padding: 14px 16px;
  border: 1px solid rgba(224, 189, 115, 0.32);
  border-left: 3px solid #b51220;
  border-radius: 4px;
  background: rgba(11, 12, 16, 0.97);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  font-family: 'Barlow Condensed', 'Inter', system-ui, sans-serif;
  animation: bc-xpromo-in 260ms ease-out;
}

@keyframes bc-xpromo-in {
  from { transform: translate3d(0, 12px, 0); opacity: 0; }
  to   { transform: translate3d(0, 0, 0); opacity: 1; }
}

.bc-xpromo__title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #f2f2f2;
}

.bc-xpromo__body {
  margin: 0 0 10px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: #a3a3a3;
}

.bc-xpromo__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border-radius: 3px;
  background: linear-gradient(180deg, #b51220, #7e0c16);
  color: #fff6f2;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
}

.bc-xpromo__cta:hover { background: linear-gradient(180deg, #e11d2a, #99101b); color: #fff6f2; }

.bc-xpromo__dismiss {
  appearance: none;
  margin-top: 8px;
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  background: transparent;
  color: #71717a;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
}

.bc-xpromo__dismiss:hover { color: #a3a3a3; border-color: rgba(255, 255, 255, 0.22); }

@media (max-width: 560px) {
  .bc-xpromo { right: 10px; left: 10px; bottom: 10px; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .bc-xpromo { animation: none; }
}
