/* anytuning.top page chrome (feat-045): header, text blocks, notes table, list of tunings. The tuner has its own sheet. */
:root { --ink: #1c2330; --muted: #5b6676; --line: #d7dde6; --page: #f6f7f9; --card: #ffffff; --accent: #2457d6; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 17px; line-height: 1.6; }
a { color: var(--accent); }
.site-header, .site-footer, main { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; }
.site-brand { font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.site-header nav, .site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-header nav a, .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
main { padding-top: 8px; padding-bottom: 32px; }
h1 { font-size: 30px; line-height: 1.2; margin: 12px 0 12px; }
h2 { font-size: 22px; line-height: 1.3; margin: 32px 0 10px; }
h3 { font-size: 18px; margin: 20px 0 4px; }
p { margin: 0 0 14px; }
.tuning-intro { margin: 0 0 16px; }
.tuner + .tuning-intro { margin-top: 20px; }
.tuning-notes table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-variant-numeric: tabular-nums; }
.tuning-notes th, .tuning-notes td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.tuning-notes tbody tr:last-child th, .tuning-notes tbody tr:last-child td { border-bottom: 0; }
.tuning-notes thead th { font-size: 14px; color: var(--muted); font-weight: 600; }
.tuning-notes tr.changed td:nth-child(3), .tuning-notes tr.changed td:nth-child(4) { font-weight: 700; }
.tuning-steps ol { padding-left: 22px; margin: 0; }
.tuning-steps li { margin-bottom: 8px; }
.tuning-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; }
.tuning-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.tuning-list a[aria-current="page"] { border-color: var(--accent); }
.tuning-list small { color: var(--muted); white-space: nowrap; }
.site-footer { padding-top: 16px; padding-bottom: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (min-width: 620px) { .tuning-list ul { grid-template-columns: 1fr 1fr; } h1 { font-size: 36px; } }
@media (prefers-color-scheme: dark) {
  :root { --ink: #eef1f6; --muted: #a3adbb; --line: #364152; --page: #0e1218; --card: #161b24; --accent: #8fb0ff; }
}
