/* Same width on every page, with or without a scrollbar, so moving between pages never shifts them. */
html{overflow-y:scroll;scrollbar-gutter:stable}
/* Shared top bar for the BTCQ testnet sites. Values copied from the btcquantumproof.com nav so moving
   between the sites does not shift anything; the only addition is the red TESTNET flag. */
.qbar{position:sticky;top:0;z-index:50;background:color-mix(in srgb,#052a19 94%,#ffffff);backdrop-filter:blur(8px);border-bottom:1px solid rgba(255,255,255,.1);padding:12px max(5vw,16px);color:#eafff3;font:16.5px/1.6 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;box-sizing:border-box}
.qbar *{box-sizing:border-box}
.qbar .qb-in{max-width:1240px;margin:0 auto;display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:0;min-height:0}
.qbar .qb-logo{display:flex;align-items:center;gap:10px;font:700 20px/1.6 "Space Grotesk",sans-serif;text-decoration:none;margin-right:auto;color:inherit;letter-spacing:normal}
.qbar .qb-logo:hover{text-decoration:none;color:inherit}
.qbar .qb-logo svg{width:34px;height:34px;flex:none}
.qbar .qb-logo .q{color:#19c779}
.qbar .qb-flag{display:inline-flex;align-items:center;gap:6px;background:#d92d20;color:#fff;font:600 11px/1 Inter,sans-serif;letter-spacing:.09em;padding:5px 8px 5px 7px;border-radius:4px;margin-left:2px}
.qbar .qb-flag::before{content:"";border-left:6px solid #fff;border-top:3.5px solid transparent;border-bottom:3.5px solid transparent}
.qbar nav{display:flex;gap:18px;flex-wrap:wrap;margin:0}
.qbar nav a{text-decoration:none;color:#a9d9bf;font-size:15px;font-weight:400;line-height:1.6;padding:8px 0;border:0;margin:0}
.qbar nav a:hover{color:#ffffff;text-decoration:none}
.qbar nav a[aria-current]{color:#ffffff}
.qbar a:focus-visible{outline:3px solid #19c779;outline-offset:3px}
/* The homepage bar is 94% opaque over a white page (or #07130d in dark mode): same tone here. */
@media(prefers-color-scheme:dark){.qbar{background:color-mix(in srgb,#052a19 94%,#07130d)}}
@media(max-width:600px){.qbar nav{gap:14px}.qbar nav a{font-size:14px}}

/* The homepage hero background, for the top of each testnet page. */
.qhero-bg{background:radial-gradient(900px 520px at 85% 0%,#0f6e40 0%,rgba(15,110,64,0) 65%),radial-gradient(700px 400px at 0% 100%,#0a4a2c 0%,rgba(10,74,44,0) 70%),#052a19}

/* Testnet tabs, under the shared bar (the bar itself is the same as on the homepage). */
.qsub{position:sticky;top:var(--qbar-h,65px);z-index:49;background:color-mix(in srgb,#031a0e 92%,transparent);backdrop-filter:blur(8px);border-bottom:1px solid rgba(255,255,255,.08);padding:0 max(5vw,16px);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.qsub .qs-in{max-width:1240px;margin:0 auto;display:flex;gap:26px;overflow-x:auto;scrollbar-width:none}
.qsub a{display:block;padding:11px 0 10px;color:#a9d9bf;font-size:14px;font-weight:500;text-decoration:none;white-space:nowrap;box-shadow:inset 0 -2px 0 transparent}
.qsub a:hover{color:#fff;text-decoration:none}
.qsub a[aria-current]{color:#fff;box-shadow:inset 0 -2px 0 #19c779}
.qbar nav a[aria-current="true"]{box-shadow:none;color:#ffffff}
@media(max-width:760px){.qsub{position:static}}
.qbar .xf{display:inline-flex!important;align-items:center;gap:7px;background:#ffffff;color:#000000!important;font-weight:600!important;font-size:14px!important;line-height:1!important;padding:8px 14px!important;border-radius:999px;text-decoration:none!important;white-space:nowrap}.qbar .xf:hover{background:#d9f7e7;color:#000!important}.qbar .xf svg{flex:none}

/* Social icons (X, Discord) in the bar */
.qbar nav a.si{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border-radius:50%;background:rgba(255,255,255,.1);color:#eafff3;align-self:center}.qbar nav a.si:hover{background:#ffffff;color:#000000}.qbar nav a.si-dc:hover{background:#5865f2;color:#ffffff}.qbar nav a.si+a.si{margin-left:-8px}
