.support-page {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: none;
  background: #ffffff;
}

.support-page.show { display: block; }

.support-screen {
  width: 100%;
  max-width: 560px;
  height: 100dvh;
  margin: 0 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
}

.support-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 70px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.support-back {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
}

.support-back svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.7;
}

.support-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.4px;
}

.support-content { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.support-section { padding: 22px 16px 0; }
.support-section:first-child { padding-top: 18px; }
.support-section-title {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.35px;
}

.support-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(22, 38, 31, .06);
}

.support-contact-row {
  width: 100%;
  min-height: 64px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f0f3f1;
  text-align: left;
}

.support-contact-row:last-child { border-bottom: 0; }
.support-contact-row:active { background: var(--surface); }
.support-contact-left { min-width: 0; display: flex; align-items: center; gap: 12px; }
.support-contact-icon {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
}
.support-contact-icon svg { width: 20px; height: 20px; stroke-width: 2.25; }
.support-contact-copy strong { display: block; color: var(--ink); font-size: 14px; font-weight: 800; }
.support-contact-copy small { display: block; margin-top: 3px; color: var(--soft); font-size: 11px; font-weight: 600; }
.support-arrow { flex: none; color: #aab3ae; font-size: 24px; font-weight: 800; }

.support-form-card { padding: 15px; }
.support-form-group { margin-bottom: 13px; }
.support-form-group:last-of-type { margin-bottom: 0; }
.support-form-group label {
  display: block;
  margin-bottom: 6px;
  color: #46524b;
  font-size: 12px;
  font-weight: 750;
}
.support-form-card select,
.support-form-card input,
.support-form-card textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fafbfa;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  outline: 0;
  -webkit-user-select: text;
  user-select: text;
}
.support-form-card select,
.support-form-card input { height: 46px; padding: 0 12px; }
.support-form-card textarea { min-height: 108px; padding: 12px; resize: none; line-height: 1.45; }
.support-form-card select:focus,
.support-form-card input:focus,
.support-form-card textarea:focus { border-color: var(--primary); background: #fff; }
.support-submit {
  width: 100%;
  height: 48px;
  margin-top: 14px;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(31, 122, 77, .2);
}
.support-submit:active { transform: scale(.985); }

.support-faq-item { border-bottom: 1px solid #f0f3f1; }
.support-faq-item:last-child { border-bottom: 0; }
.support-faq-question {
  width: 100%;
  min-height: 60px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}
.support-faq-question span:first-child {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
}
.support-faq-plus {
  width: 24px;
  height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
  font-size: 18px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.support-faq-answer {
  display: none;
  padding: 0 14px 15px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}
.support-faq-item.open .support-faq-answer { display: block; }
.support-faq-item.open .support-faq-plus { transform: rotate(45deg); background: var(--primary); color: #fff; }

.support-safe-note {
  margin-top: 12px;
  padding: 13px;
  border-radius: 18px;
  background: #fff7e6;
  color: #6b4b00;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

.support-ticket-success {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}
.support-ticket-success.show { display: block; }

@media (prefers-reduced-motion: reduce) {
  .support-faq-plus, .support-submit { transition: none; }
}
