/* si-didy-stance · floating widget styles
 * Palette matches si-didy oxblood/brass/cream/void
 */

.sds-widget {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 9999;
  font-family: 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, monospace;
  background: rgba(11, 10, 15, 0.94);
  color: #c4bfb2;
  border: 1px solid rgba(184, 151, 74, 0.55);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 220px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sds-widget-inner { display: flex; flex-direction: column; gap: 6px; }

.sds-widget-title {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8974a;
  opacity: 0.85;
}

.sds-pill {
  display: flex;
  background: rgba(196, 191, 178, 0.06);
  border: 1px solid rgba(196, 191, 178, 0.14);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.sds-pill button {
  flex: 1;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: #c4bfb2;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.04em;
  border-radius: 999px;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, transform 100ms ease;
}

.sds-pill button:hover:not(.sds-active) {
  background: rgba(196, 191, 178, 0.08);
}

.sds-pill button:active { transform: scale(0.97); }

.sds-pill button.sds-active {
  background: linear-gradient(180deg, #8b1a1a 0%, #6a1414 100%);
  color: #f4efe1;
  box-shadow: inset 0 0 0 1px rgba(184, 151, 74, 0.55);
}

.sds-pill button[data-stance="private"].sds-active {
  background: linear-gradient(180deg, #262229 0%, #17141a 100%);
}
.sds-pill button[data-stance="public"].sds-active {
  background: linear-gradient(180deg, #b8974a 0%, #8a6f34 100%);
  color: #0b0a0f;
}

.sds-widget-caption {
  font-size: 10px;
  color: rgba(196, 191, 178, 0.6);
  min-height: 12px;
  padding: 2px 2px 0;
}

.sds-widget button:disabled { opacity: 0.55; cursor: wait; }

@media (max-width: 480px) {
  .sds-widget { left: 10px; right: 10px; bottom: 10px; min-width: 0; }
}
