/* 技术支持页：纯静态，供 App Store Support URL 使用 */
:root {
  --brand: #ff5a0b;
  --brand-soft: #fff4ee;
  --text: #1a1a1a;
  --text-muted: #666;
  --text-light: #999;
  --border: #eee;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei',
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #fff 0%, #fff9f5 55%, #fff4ee 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 72px;
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-top: var(--safe-top);
  padding-right: max(24px, var(--safe-right));
  padding-bottom: 0;
  padding-left: max(24px, var(--safe-left));
}

.brand {
  display: flex;
  align-items: center;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand__logo {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin-right: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff8a4c, var(--brand));
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.brand__name {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.brand__tag {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

.support-main {
  padding: 32px max(20px, var(--safe-right)) 24px max(20px, var(--safe-left));
}

.support-card {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 32px 28px 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(255, 90, 11, 0.08);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.support-card h1 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.3;
}

.lead {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 15px;
}

.block {
  margin-bottom: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.block h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list .label {
  flex: 0 0 96px;
  color: var(--text-light);
  font-size: 14px;
}

.contact-list .value {
  flex: 1 1 200px;
  font-size: 15px;
  font-weight: 500;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hint {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

details {
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fafafa;
  overflow: hidden;
}

details[open] {
  background: var(--brand-soft);
  border-color: #ffe0cc;
}

summary {
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: '+';
  display: inline-block;
  width: 1.2em;
  color: var(--brand);
  font-weight: 700;
}

details[open] summary::before {
  content: '–';
}

details p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--text-muted);
  font-size: 14px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 8px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

.legal-links a {
  color: var(--text-muted);
}

.legal-links .sep {
  margin: 0 8px;
  color: #ccc;
}

.updated {
  margin: 0 0 12px;
  color: var(--text-light);
  font-size: 12px;
}

.back-link {
  display: inline-block;
  color: var(--text-muted);
  font-size: 14px;
}

.site-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px max(20px, var(--safe-right)) calc(28px + var(--safe-bottom))
    max(20px, var(--safe-left));
  color: var(--text-light);
  font-size: 12px;
  text-align: center;
}

.site-footer p {
  margin: 0 0 4px;
}

.site-footer a {
  color: var(--text-light);
}

@media (max-width: 480px) {
  .support-card {
    padding: 24px 18px 22px;
  }

  .support-card h1 {
    font-size: 22px;
  }

  .contact-list .label {
    flex-basis: 100%;
    margin-bottom: 2px;
  }
}
