.support-layout {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f5f6f8;
  -webkit-overflow-scrolling: touch;
  color: #1a1d26;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC",
    sans-serif;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.support-shell {
  box-sizing: border-box;
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.25rem 1rem max(2rem, env(safe-area-inset-bottom));
}

@media (min-width: 640px) {
  .support-shell {
    padding: 2rem 1.5rem 3rem;
    font-size: 1rem;
    line-height: 1.75;
  }
}

.support-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
  text-decoration: none;
  color: inherit;
}

.support-brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
}

.support-brand strong {
  font-size: 1.0625rem;
  font-weight: 600;
}

.support-hero h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .support-hero h1 {
    font-size: 1.75rem;
  }
}

.support-hero p {
  margin: 0.625rem 0 0;
  color: #5c6370;
}

.support-section {
  margin-top: 1.75rem;
}

.support-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.support-card-grid {
  display: grid;
  gap: 0.75rem;
}

.support-card {
  box-sizing: border-box;
  padding: 1rem 1.125rem;
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(26, 29, 38, 0.04);
}

.support-card h3 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.support-card p {
  margin: 0.375rem 0 0;
  color: #5c6370;
  font-size: 0.875rem;
}

.support-card a.support-action {
  display: inline-block;
  margin-top: 0.625rem;
  color: #3e62ed;
  font-weight: 500;
  text-decoration: none;
}

.support-card a.support-action:hover {
  text-decoration: underline;
}

.support-card .support-meta {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: #8b919c;
}

.support-faq {
  display: grid;
  gap: 0.5rem;
}

.support-faq details {
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
}

.support-faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}

.support-faq summary::-webkit-details-marker {
  display: none;
}

.support-faq details[open] summary {
  margin-bottom: 0.5rem;
}

.support-faq details p {
  margin: 0;
  color: #5c6370;
  font-size: 0.875rem;
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.support-links a {
  color: #3e62ed;
  text-decoration: none;
  font-size: 0.875rem;
}

.support-links a:hover {
  text-decoration: underline;
}

.support-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e8eaef;
  font-size: 0.8125rem;
  color: #8b919c;
  line-height: 1.6;
}

.support-footer p {
  margin: 0.375rem 0 0;
}
