.ss-btn {
  all: initial;
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: #1a8cff;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 12px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  line-height: 18px;
  white-space: nowrap;
  transition: background 0.15s;
  vertical-align: middle;
  flex-shrink: 0;
}

.ss-btn:hover {
  background: #1577dd !important;
}

.ss-btn svg {
  width: 14px;
  height: 14px;
  fill: #fff;
  flex-shrink: 0;
}

.ss-panel {
  all: initial;
  position: fixed !important;
  display: flex !important;
  flex-direction: column;
  width: 280px;
  background: #12141e;
  border: 1px solid #1e2030;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  z-index: 999999 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  color: #e0e0e0;
  overflow: hidden;
}

.ss-panel * {
  box-sizing: border-box;
}

.ss-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #1e2030;
}

.ss-panel-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.ss-panel-title svg {
  width: 16px;
  height: 16px;
  fill: #1a8cff;
}

.ss-panel-close {
  all: initial;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: none;
  border: none;
  color: #555;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ss-panel-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.ss-panel-body {
  padding: 12px 14px;
}

.ss-wallet-section {
  margin-bottom: 12px;
}

.ss-wallet-label {
  font-size: 10px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.ss-wallet-select {
  all: initial;
  display: block !important;
  width: 100%;
  padding: 6px 10px;
  background: #0b0b0f;
  border: 1px solid #1e2030;
  border-radius: 6px;
  color: #e0e0e0;
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 12px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.ss-wallet-select:focus {
  border-color: #1a8cff;
}

.ss-section-label {
  font-size: 10px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.ss-presets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.ss-preset-btn {
  all: initial;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  background: #0b0b0f;
  border: 1px solid #1e2030;
  border-radius: 6px;
  color: #e0e0e0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.ss-preset-btn:hover {
  border-color: #1a8cff;
  background: rgba(26, 140, 255, 0.06);
}

.ss-preset-btn.ss-loading {
  opacity: 0.5;
}

.ss-preset-btn.ss-sell {
  color: #ff6b6b;
}

.ss-preset-btn.ss-sell:hover {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.06);
}

.ss-mint-display {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 11px;
  color: #555;
  margin-bottom: 10px;
  word-break: break-all;
}

.ss-auth-msg {
  text-align: center;
  padding: 16px 8px;
  color: #666;
  font-size: 12px;
}

.ss-toast-container {
  position: fixed !important;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9999999 !important;
  pointer-events: none;
  max-width: 320px;
}

.ss-toast {
  all: initial;
  pointer-events: auto;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 500;
  background: #12141e;
  border: 1px solid #1e2030;
  color: #e0e0e0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transform: translateX(120%);
  transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.15s;
  max-width: 320px;
  word-wrap: break-word;
}

.ss-toast.ss-show {
  transform: translateX(0);
  animation: ss-toast-in 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ss-toast-in {
  from { transform: translateX(120%); }
  to { transform: translateX(0); }
}

.ss-toast.ss-toast-success {
  border-left: 3px solid #4ade80;
}

.ss-toast.ss-toast-error {
  border-left: 3px solid #ff6b6b;
}
