* { box-sizing: border-box; }
:root { color-scheme: light; --paper: #fbf8f2; --ink: #302821; --muted: #6d615a; --accent: #79483b; --line: #e5d9cd; --white: #fffdf9; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 "Source Sans 3", "PingFang SC", "Microsoft YaHei", sans-serif; }
header { background: var(--white); border-bottom: 1px solid var(--line); }
.bar { max-width: 1030px; margin: auto; min-height: 70px; padding: 12px 22px; display: flex; flex-wrap: wrap; gap: 9px 24px; align-items: center; justify-content: space-between; }
.brand { font-weight: 700; font-size: 21px; color: var(--ink); text-decoration: none; }
.brand span { color: var(--muted); font-size: 13px; margin-left: 9px; font-weight: 400; }
nav { display: flex; align-items: center; gap: 16px; font-size: 14px; }
a { color: var(--accent); text-underline-offset: 3px; }
main { max-width: 730px; margin: 28px auto 65px; padding: 0 20px; }
main.wide { max-width: 1030px; }
h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.2; margin: 0 0 24px; letter-spacing: -.035em; }
h2 { font-size: 21px; margin: 0 0 14px; }
h3 { font-size: 16px; margin: 18px 0 3px; }
.panel, details { padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin: 0 0 14px; }
.panel > :first-child { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }
form { margin: 0; }
label { display: block; font-size: 14px; margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 8px; }
input:not([type=checkbox]), textarea, select { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid #b9a99c; border-radius: 6px; background: white; color: var(--ink); font: inherit; }
textarea { min-height: 75px; resize: vertical; }
button, .button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--accent); border-radius: 7px; padding: 8px 14px; background: var(--accent); color: white; text-decoration: none; cursor: pointer; font: inherit; }
button.quiet { color: var(--accent); background: transparent; border: 0; padding: 0; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid #965e45; outline-offset: 3px; }
.muted { color: var(--muted); }
.notice { color: #703525; }
.list { padding: 0; list-style: none; }
.list li { border-bottom: 1px solid var(--line); padding: 10px 0; }
.description { white-space: pre-wrap; overflow-wrap: anywhere; }
.line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%,235px), 1fr)); }
.cards .panel { margin: 0; }
.code { font: 600 clamp(14px, 3.8vw, 23px)/1.45 ui-monospace, monospace; overflow-wrap: anywhere; }
.prism-player { background: #181510; width: 100%; }
summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 15px; }
@media (max-width: 470px) { main { margin-top: 22px; } .panel, details { padding: 15px; } .bar { padding-inline: 18px; } }
