:root { color-scheme: light; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #1c1c1c;
  background: #fff;
}
.rainbow-bar {
  height: 4px;
  background: linear-gradient(90deg,
    #1d4ed8, #2563eb, #0891b2, #06b6d4, #22d3ee, #8b5cf6);
}
.wrap { max-width: 700px; margin: 0 auto; padding: 20px 20px 56px; }
header { padding: 18px 0 14px; margin-bottom: 10px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.brand .name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #1d4ed8, #0891b2, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lang {
  position: absolute;
  top: 22px;
  right: 0;
  font-size: 0.82rem;
}
.lang a {
  color: #1a5fb4;
  text-decoration: none;
  border: 1px solid #cfe0f5;
  border-radius: 4px;
  padding: 3px 9px;
}
.lang a:hover { background: #f2f7ff; }
.tagline { color: #555; font-size: 0.92rem; margin-top: 2px; }
.updated { color: #777; font-size: 0.8rem; margin-top: 4px; }
h1 { font-size: 1.28rem; margin: 26px 0 8px; line-height: 1.35; }
h2 { font-size: 1.08rem; margin: 32px 0 8px; }
h3 { font-size: 0.95rem; margin: 18px 0 6px; }
p { margin: 10px 0; }
ul, ol { margin: 10px 0; padding-left: 22px; }
li { margin: 4px 0; }
.dl {
  color: #000;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
}
.dl:hover { color: #000; }
.meta { color: #666; font-size: 0.8rem; }
code { background: #f4f4f4; padding: 1px 5px; border-radius: 3px; font-size: 0.9em; }
.steps li { margin: 8px 0; }
.faq dt { font-weight: 600; margin-top: 14px; }
.faq dd { margin: 4px 0 0 0; }
table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 0.9rem; }
th, td { border: 1px solid #e0e0e0; padding: 6px 10px; text-align: left; }
th { background: #f7f7f7; }
td.ver { font-weight: 600; }
.notice { border: 1px solid #e6e6e6; padding: 10px 14px; font-size: 0.87rem; margin: 16px 0; border-radius: 4px; background: #fafafa; }
.notice strong { color: #111; }
pre.hash { background: #f6f8fa; border: 1px solid #e1e4e8; border-radius: 4px; padding: 10px 12px; font-size: 0.78rem; overflow-x: auto; line-height: 1.5; }
footer { border-top: 1px solid #e3e3e3; margin-top: 40px; padding-top: 14px; color: #666; font-size: 0.8rem; }
footer a { color: #1a5fb4; }
a { color: #1a5fb4; }
.crumbs { color: #777; font-size: 0.8rem; margin-top: 4px; }
.crumbs a { color: #1a5fb4; }
@media (max-width: 520px) {
  .lang { position: static; margin-top: 10px; }
}
