.support-page-wrap {
  max-width: 1120px;
}

.support-page-wrap .page-hero {
  max-width: 720px;
  margin-bottom: 34px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: stretch;
}

.support-bot-mount {
  display: flex;
  min-width: 0;
}

.support-bot-mount .ask-opti-panel {
  position: relative;
  z-index: 1;
  right: auto;
  bottom: auto;
  display: flex;
  width: 100%;
  height: 100%;
  max-height: none;
  overflow: visible;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
}

.support-bot-mount .ask-opti-header {
  min-height: 68px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.support-bot-mount .ask-opti-mark {
  border-color: var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}

.support-bot-mount .ask-opti-brand-copy strong {
  color: var(--text);
}

.support-bot-mount .ask-opti-brand-copy span,
.support-bot-mount .ask-opti-intro p,
.support-bot-mount .ask-opti-not-listed {
  color: var(--muted);
}

.support-bot-mount .ask-opti-body {
  min-height: 430px;
  max-height: none;
  flex: 1;
  padding: 24px;
}

.support-bot-mount .ask-opti-field-label {
  color: var(--muted);
}

.support-bot-mount .ask-opti-category-trigger {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-soft);
  background: var(--bg-raised);
  box-shadow: none;
}

.support-bot-mount .ask-opti-category-trigger:hover,
.support-bot-mount .ask-opti-category-trigger[aria-expanded='true'] {
  border-color: var(--line-strong);
  background: var(--surface-2);
  box-shadow: none;
}

.support-bot-mount .ask-opti-category-trigger svg {
  stroke: var(--green-2);
}

.support-bot-mount .ask-opti-category-menu {
  border-color: var(--line-strong);
  border-radius: 10px;
  background: var(--bg-raised);
  box-shadow: var(--shadow);
}

.support-bot-mount .ask-opti-category-option {
  border-radius: 8px;
  color: var(--text-soft);
}

.support-bot-mount .ask-opti-category-option:hover,
.support-bot-mount .ask-opti-category-option:focus-visible,
.support-bot-mount .ask-opti-category-option.selected {
  border-color: var(--line);
  color: var(--text);
  background: var(--surface-2);
}

.support-bot-mount .ask-opti-option,
.support-bot-mount .ask-opti-action {
  border-color: var(--line);
  border-radius: 10px;
  color: var(--text-soft);
  background: var(--surface-2);
}

.support-bot-mount .ask-opti-option:hover,
.support-bot-mount .ask-opti-option:focus-visible,
.support-bot-mount .ask-opti-action:hover,
.support-bot-mount .ask-opti-action:focus-visible {
  transform: none;
  border-color: var(--line-strong);
  color: var(--text);
  background: #181b18;
}

.support-bot-mount .ask-opti-action.primary {
  border-color: var(--line-green);
  color: var(--green-2);
  background: rgba(130, 255, 79, .06);
}

.support-bot-mount .ask-opti-bubble {
  border-color: var(--line);
  border-radius: 10px;
  color: var(--text-soft);
  background: var(--surface-2);
}

.support-bot-mount .ask-opti-message.user .ask-opti-bubble {
  border-color: var(--line-green);
  color: var(--text);
  background: rgba(130, 255, 79, .055);
}

.support-bot-mount .ask-opti-not-listed {
  border-top-color: var(--line);
}

.support-bot-mount .ask-opti-not-listed a {
  color: var(--green-2);
}

.support-side-stack {
  display: grid;
  align-content: start;
  gap: 18px;
}

.support-ticket-card,
.support-donate-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.support-card-kicker {
  color: var(--green-2);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.support-ticket-card h2,
.support-donate-card h2 {
  margin: 10px 0 0;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.support-ticket-card > p,
.support-donate-card > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.support-ticket-card .button-primary,
.support-donate-card .button-primary {
  width: 100%;
  margin-top: 20px;
  justify-content: center;
}

.support-ticket-facts {
  display: grid;
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.support-ticket-fact {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.support-ticket-fact strong {
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 650;
}

.support-ticket-fact span {
  color: var(--muted-2);
  font-size: 0.68rem;
  line-height: 1.5;
}

.support-ticket-note {
  margin: 18px 0 0 !important;
  color: var(--muted-2) !important;
  font-size: 0.66rem !important;
  line-height: 1.5 !important;
}

.support-donate-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 20px;
}

.support-donate-presets button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text-soft);
  background: var(--surface-2);
  cursor: pointer;
}

.support-donate-presets button:hover,
.support-donate-presets button.active {
  border-color: var(--line-green);
  color: var(--green-2);
  background: rgba(130,255,79,.055);
}

.support-donate-custom {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}

.support-donate-custom > span {
  color: var(--muted);
  font-size: .67rem;
}

.support-donate-custom > div {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-raised);
}

.support-donate-custom b {
  color: var(--muted-2);
  font-size: .78rem;
  font-weight: 650;
}

.support-donate-custom input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
}

.support-donate-status,
.support-donate-note {
  margin: 11px 0 0 !important;
  color: var(--muted-2) !important;
  font-size: .66rem !important;
  line-height: 1.5 !important;
}

.support-donate-status.error {
  color: #ff8d8d !important;
}

@media (max-width: 860px) {
  .support-layout {
    grid-template-columns: 1fr;
  }

  .support-side-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .support-side-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .support-bot-mount .ask-opti-body {
    min-height: 390px;
    padding: 17px;
  }

  .support-ticket-card,
  .support-donate-card {
    padding: 20px;
    border-radius: 14px;
  }
}
