:root {
  color-scheme: dark;
  --bg: #181a1d;
  --header: #202326;
  --surface: #212428;
  --text: #edf0f2;
  --muted: #b7bfc7;
  --line: #41474e;
  --link: #a9d78b;
  --button: #34452c;
  --button-hover: #415737;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #d0edba; }
a:focus-visible { outline: 2px solid #c4e9aa; outline-offset: 4px; }
.wrap { max-width: 900px; width: calc(100% - 48px); margin-inline: auto; }
.site-header { background: var(--header); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 650; line-height: 1.5; }
.brand img { border-radius: 5px; flex: none; }
.header-inner nav { display: flex; gap: 20px; font-size: 14px; white-space: nowrap; }
.header-inner nav a { color: var(--muted); text-decoration: none; }
.header-inner nav a:hover, .header-inner nav a[aria-current] { color: var(--text); text-decoration: underline; }
main { padding-block: 32px 64px; min-height: calc(100vh - 155px); }
h1, h2, h3 { line-height: 1.45; margin: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(25px, 4vw, 32px); font-weight: 700; margin-bottom: 12px; }
h2 { font-size: 22px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 15px; }
h3 { font-size: 17px; margin: 22px 0 6px; }
p { margin: 8px 0 14px; }
ul, ol { margin: 8px 0 14px; padding-left: 1.6em; }
li { margin: 5px 0; }
section { margin-top: 38px; scroll-margin-top: 20px; }
.muted, .version, .breadcrumb { color: var(--muted); }
.version { font-size: 14px; }
.plugin-entry { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
.plugin-entry h3 { margin: 0; font-size: 21px; }
.plugin-entry p { margin: 5px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 9px 14px; color: var(--text); background: var(--button); border: 1px solid #648258; border-radius: 5px; font-size: 14px; font-weight: 600; text-decoration: none; line-height: 1.5; min-height: 42px; }
.button:hover { color: #fff; background: var(--button-hover); }
.plugin-entry .button { flex-shrink: 0; }
.breadcrumb { font-size: 13px; margin: 0 0 20px; }
.detail .intro { max-width: 740px; }
.download-main { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-block: 20px; font-size: 14px; }
.notice { background: #302b20; color: #f1e8d5; border: 1px solid #72603a; border-left: 4px solid #d7b16b; padding: 13px 16px; border-radius: 3px; font-size: 15px; line-height: 1.85; }
.notice strong { color: #ffdd9a; }
.toc { display: flex; flex-wrap: wrap; gap: 5px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.path { display: block; padding: 9px 12px; border: 1px solid var(--line); border-radius: 4px; background: #121416; color: #e1e6eb; font: 14px/1.6 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; margin: 9px 0 16px; }
kbd { font: 600 15px/1.5 ui-monospace, Consolas, monospace; background: var(--surface); border: 1px solid #59616a; border-bottom-width: 2px; border-radius: 4px; padding: 2px 7px; white-space: nowrap; }
.release { border-bottom: 1px solid var(--line); padding: 16px 0; scroll-margin-top: 16px; }
.release h3 { margin: 0 0 7px; font-size: 19px; }
.release h3 .version { font-weight: 400; }
.release ul { margin-bottom: 9px; }
.release .file { margin: 0; overflow-wrap: anywhere; font-size: 14px; }
.footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; padding-block: 17px 24px; font-size: 13px; color: var(--muted); }
.skip { position: absolute; left: 10px; top: -100px; padding: 8px; background: var(--bg); }
.skip:focus { top: 10px; }
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { flex-wrap: wrap; gap: 10px; padding: 12px 0; }
  .header-inner nav { width: 100%; gap: 22px; padding-left: 0; }
  .plugin-entry { flex-direction: column; align-items: flex-start; padding: 15px; gap: 12px; }
  .download-main { gap: 10px; align-items: flex-start; flex-direction: column; }
  main { padding-top: 24px; }
  section { margin-top: 30px; }
  h2 { font-size: 20px; }
  .footer { flex-wrap: wrap; }
}
