/* PTuner support pages — dark palette aligned with the app theme. */

:root {
  color-scheme: dark;
  --bg: #080b10;
  --surface: #161b22;
  --surface-2: #1c222b;
  --text: #f5f8fc;
  --muted: #98a6b8;
  --accent: #4c8dff;
  --success: #35e39b;
  --line: rgba(255, 255, 255, 0.09);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: radial-gradient(circle at top, #131b28 0%, var(--bg) 52%);
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 18px 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand span { color: var(--success); }

.lang-switch { font-size: 14px; }
.lang-switch a { color: var(--muted); margin-left: 14px; }
.lang-switch a.active { color: var(--text); font-weight: 600; text-decoration: none; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

h1 {
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 6px;
}

h2 {
  font-size: 18px;
  line-height: 1.4;
  margin: 28px 0 8px;
}

h2:first-of-type { margin-top: 20px; }

p, li { color: var(--muted); }

ul, ol { padding-left: 22px; margin: 6px 0 12px; }
li { margin-bottom: 5px; }
li strong { color: var(--text); }

.updated {
  color: #6f7d8f;
  font-size: 13px;
  margin-bottom: 18px;
}

.highlight {
  margin: 18px 0;
  padding: 14px 18px;
  border: 1px solid rgba(53, 227, 155, 0.24);
  border-radius: 12px;
  background: rgba(53, 227, 155, 0.08);
}

.highlight p {
  color: #b9f5d9;
  margin: 0;
}

.footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #6f7d8f;
}

.footer a { color: var(--muted); margin-right: 14px; }
.footer a:hover { color: var(--text); }

@media (max-width: 480px) {
  .page { padding: 20px 14px 48px; }
  .card { padding: 24px 18px; border-radius: 14px; }
  h1 { font-size: 22px; }
  h2 { font-size: 17px; }
}
