/* The plain pages: terms, privacy, help, thank-you and not-found. */
:root { --bg: #fbf6ee; --paper: #fffaf3; --line: rgba(35, 26, 20, 0.14); --text: #231a14; --muted: #6f6257; --accent: #a83a1b; --fill: #d2502a; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
main { max-width: 720px; margin: 0 auto; padding: 56px 24px 40px; }
h1 { font: 600 40px/1.1 "New York", ui-serif, Georgia, serif; letter-spacing: -0.03em; margin: 28px 0 8px; }
h2 { font: 600 23px/1.25 "New York", ui-serif, Georgia, serif; letter-spacing: -0.01em; margin: 38px 0 8px; }
h3 { font-size: 17px; margin: 22px 0 4px; color: var(--text); }
p, li { color: var(--muted); }
li { margin-bottom: 6px; }
strong { color: var(--text); }
.back { font-size: 15px; }
.updated { font-size: 14px; }
.note { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
footer { max-width: 720px; margin: 0 auto; padding: 0 24px 60px; font-size: 14px; color: var(--muted); }
footer p { margin: 0 0 6px; }
nav.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
nav.toc a { font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--text); }
/* Thank-you page */
.key { font: 600 22px/1.3 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.02em; color: var(--text); background: rgba(35, 26, 20, 0.05); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 16px 0; word-break: break-all; user-select: all; -webkit-user-select: all; }
.button { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; background: var(--accent); color: #fff; border: 0; font-size: 16px; cursor: pointer; margin: 0 10px 10px 0; }
.button.quiet { background: transparent; color: var(--text); border: 1px solid var(--line); }
.button:hover { text-decoration: none; filter: brightness(1.08); }
[hidden] { display: none; }

/* The language picker, at the top right of each page. */
.langs { float: right; margin: 0; display: flex; gap: 2px; font-size: 14px; white-space: nowrap; }
.langs a { color: var(--muted); padding: 3px 7px; border-radius: 7px; }
.langs a:hover { color: var(--ink, var(--text)); text-decoration: none; }
html[lang="en"] .langs a[hreflang="en"], html[lang="zh-Hans"] .langs a[hreflang="zh-Hans"], html[lang="zh-Hant"] .langs a[hreflang="zh-Hant"] { color: var(--ink, var(--text)); font-weight: 600; background: rgba(35, 26, 20, 0.07); }

/* The guide's table of where a setting is on each maker's devices. */
.makers { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 16px; }
.makers th, .makers td { text-align: left; vertical-align: top; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); }
.makers th { width: 32%; padding-right: 18px; color: var(--text); font-weight: 600; }
@media (max-width: 560px) { .makers th, .makers td { display: block; width: auto; } .makers td { border-top: 0; padding-top: 0; } .makers th { padding-bottom: 4px; } }

/* Guides: comparison tables that can scroll sideways on a phone, and the list of other guides. */
.scroll { overflow-x: auto; }
.makers th[scope="col"] { width: auto; font-size: 14px; color: var(--muted); padding-right: 14px; }
.makers.wide { min-width: 640px; font-size: 15px; }
.makers.wide th[scope="row"] { width: 17%; }
.makers.wide td { padding-right: 14px; }
@media (max-width: 560px) { .makers.wide th, .makers.wide td { display: table-cell; border-top: 1px solid var(--line); padding: 10px 12px 10px 0; } }
.guides { list-style: none; padding: 0; }
.guides li { margin-bottom: 8px; }
