.trade-button {
  margin-top: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.ticket {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  box-sizing: border-box;
  max-height: 80vh;
  overflow: auto;
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: #161b25;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
  color: #e8ecf4;
  color-scheme: dark;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.ticket-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
}

.ticket input,
.ticket select {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font: inherit;
}

.ticket-hint,
.ticket-note {
  margin: 0 0 10px;
  opacity: 0.7;
  font-size: 0.9em;
}

.ticket-error {
  margin: 8px 0;
  color: #ff6b6b;
}

.ticket-warning {
  margin: 8px 0 12px;
  color: #f5b942;
}

.ticket-summary {
  margin: 0;
  font-size: 1.1em;
  font-weight: 600;
}

.ticket-detail {
  max-height: 160px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
  font-size: 0.8em;
}

.ticket-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.ticket-actions button {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.ticket-actions .ticket-primary {
  background: rgba(255, 255, 255, 0.14);
}

.ticket-actions .ticket-buy {
  border-color: #1f9d6b;
  background: #1f9d6b;
  color: #fff;
}

.ticket-actions .ticket-sell {
  border-color: #d64545;
  background: #d64545;
  color: #fff;
}
