/* Shared, compact shell for browser tools. */
.gh-toolbar{max-width:1180px;margin:0 auto 28px;padding:18px 0;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #dce5f1;color:#172b4d;font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
.gh-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit;font-size:20px;font-weight:750;white-space:nowrap}
.gh-brand img{width:42px;height:42px;border-radius:12px;display:block}
.gh-brand small{display:block;font-size:9px;letter-spacing:3px;color:#75849b;font-weight:500;margin-top:1px}
.gh-links{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px 20px;font-size:14px}
.gh-links a{color:inherit;text-decoration:none;min-height:40px;display:inline-flex;align-items:center}
.gh-links a:hover{color:#1968ed}
.gh-skip{position:absolute;left:16px;top:-90px;background:#1968ed;color:#fff;padding:12px;z-index:999}
.gh-skip:focus{top:12px}
.gh-help{margin:32px auto;padding:28px;border:1px solid #dce5f1;border-radius:20px;background:#fff;color:#172b4d;line-height:1.9;max-width:1180px}
.gh-help h2{font-size:23px;margin-bottom:12px;line-height:1.4}
.gh-help h3{font-size:16px;margin:18px 0 6px}
.gh-help ol,.gh-help ul{padding-left:22px}
.gh-help a{color:#1968ed;text-decoration:underline;text-underline-offset:4px}
.gh-help details{border-top:1px solid #e6edf6;padding:14px 0}
.gh-help summary{cursor:pointer;font-weight:650}
.gh-help p{margin:8px 0}
.gh-help code{word-break:break-all}
.gh-tool-footer{padding:28px 12px;display:flex;justify-content:center;gap:24px;flex-wrap:wrap;color:#728198;font-size:13px}
.gh-tool-footer a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid #6da5ff!important;outline-offset:3px}
[data-theme="dark"] .gh-toolbar{color:#e2eafa;border-color:#30415b}
[data-theme="dark"] .gh-help{background:#152239;color:#d9e6f7;border-color:#30415b}
[data-theme="dark"] .gh-help details{border-color:#30415b}
.gh-storage{padding:16px 18px;border:1px solid var(--xy-line-2);border-radius:12px;margin-bottom:22px;background:var(--xy-paper-cool)}
.gh-storage label{display:flex;gap:10px;align-items:flex-start;font-size:13px;letter-spacing:0;text-transform:none;cursor:pointer}
.gh-storage input{width:17px;height:17px;flex:0 0 17px;margin-top:3px;accent-color:#1968ed}
.gh-storage p{font-size:12px;color:var(--xy-muted);margin:6px 0 10px;line-height:1.7}
.gh-storage button{font-size:12px;color:var(--xy-danger);text-decoration:underline;text-underline-offset:3px;min-height:32px}
@media(max-width:600px){.gh-toolbar{margin-bottom:18px;gap:12px;align-items:flex-start}.gh-brand{font-size:17px;gap:9px}.gh-brand img{width:36px;height:36px}.gh-brand small{font-size:8px;letter-spacing:2px}.gh-links{gap:0 14px;font-size:12px}.gh-help{padding:21px}.gh-help h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}}
