/* One header for every website page (Claude, Oct21; owner: "each pages has different settings as well").
   Same links, same order, same status on Home, Socials and Whitepaper. Loaded after each page's own stylesheet. */
.rp-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; margin: 0; padding: 0 28px; height: 60px;
  background: #030a10eb; backdrop-filter: blur(6px); border: 0; border-bottom: 1px solid #1d3b4b; font-family: "Segoe UI", system-ui, sans-serif; }
.rp-top .rp-brand { display: inline-flex; align-items: center; gap: 10px; color: #e8fbff; font-size: 19px; font-weight: 800; letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.rp-top .rp-brand img { width: 30px; height: 30px; image-rendering: pixelated; }
.rp-top .rp-brand b { color: #54e4f5; }
.rp-nav { display: flex; align-items: stretch; align-self: stretch; gap: 4px; margin-left: auto; }
.rp-nav a { display: flex; align-items: center; padding: 0 12px; color: #cfe6ef; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.rp-nav a:hover { color: #54e4f5; }
.rp-nav a[aria-current="page"] { color: #54e4f5; border-bottom-color: #54e4f5; }
.rp-nav a.js-playtest { color: #ffc266; }
.rp-nav a.js-playtest.is-locked { color: #c9a66b; opacity: 1; filter: none; }
.rp-nav a:focus-visible { outline: 2px solid #ffc266; outline-offset: -4px; }
.rp-phase { flex: none; margin: 0; padding-left: 18px; border-left: 1px solid #1d3b4b; font-size: 12px; line-height: 1.35; color: #54e4f5; text-align: left; }
.rp-phase small { display: block; color: #a6bac5; font-size: 12px; }
@media (max-width: 860px) { .rp-phase { display: none; } }
@media (max-width: 600px) {
  .rp-top { gap: 10px; padding: 0 12px; height: 54px; }
  .rp-top .rp-brand { font-size: 15px; gap: 8px; }
  .rp-top .rp-brand img { width: 26px; height: 26px; }
  .rp-nav { gap: 0; } .rp-nav a { padding: 0 7px; font-size: 13px; }
  /* Nov 2: Discord joined the menu; on phones Whitepaper lives in the footer and the row can scroll instead of widening the page */
  .rp-nav { min-width: 0; overflow-x: auto; scrollbar-width: none; } .rp-nav::-webkit-scrollbar { display: none; } .rp-nav a[href="whitepaper.html"] { display: none; }
}
@media (max-width: 440px) { .rp-top .rp-brand span { display: none; } .rp-nav { margin-left: auto; } }

/* Pilot account: header button + modal on every page (Claude, Oct22; js/account.js). Self-contained: the whitepaper
   does not load site.css, so buttons and fields are styled here too. */
.rp-acc { flex: none; display: inline-flex; align-items: center; gap: 8px; max-width: 190px; min-height: 36px; margin: 0; padding: 6px 14px;
  font: 700 13px "Segoe UI", system-ui, sans-serif; color: #e8fbff; background: #0b2433; border: 1px solid #54e4f5; border-image: none; cursor: pointer; }
.rp-acc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-acc:hover { background: #12384d; filter: none; }
.rp-acc-dot { width: 8px; height: 8px; border-radius: 50%; background: #5fe39a; box-shadow: 0 0 6px #5fe39a; flex: none; }
.rp-phase + .rp-acc, .rp-nav + .rp-acc { margin-left: 4px; }
.rp-acc-dialog { width: min(480px, calc(100vw - 24px)); max-height: calc(100svh - 24px); overflow: auto; margin: auto; padding: 0; color: #e8f6fa;
  background: #06121b; border: 1px solid #54e4f5; box-shadow: 0 0 0 1px #02060c, 0 18px 60px #000c; font: 15px/1.5 "Segoe UI", system-ui, sans-serif; }
.rp-acc-dialog::backdrop { background: #000b; }
.rp-acc-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: #0a1c28; border-bottom: 1px solid #1d3b4b; }
.rp-acc-head h2 { margin: 0; font-size: 18px; letter-spacing: .04em; color: #e8fbff; }
#rp-acc-body { padding: 16px 18px 20px; }
#rp-acc-body.is-busy { opacity: .75; }
.rp-acc-dialog h3 { margin: 0 0 6px; font-size: 16px; color: #e8fbff; }
.rp-acc-dialog p { margin: 0 0 10px; color: #c6d6df; }
.rp-acc-dialog a { color: #54e4f5; }
.rp-acc-dialog button, .rp-acc-dialog .button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 18px; font: 700 14px "Segoe UI", system-ui, sans-serif;
  color: #e8fbff; background: #124058; border: 1px solid #54e4f5; border-image: none; cursor: pointer; text-decoration: none; white-space: nowrap; }
.rp-acc-dialog button:hover, .rp-acc-dialog .button:hover { background: #18516f; filter: none; }
.rp-acc-dialog button.secondary, .rp-acc-dialog .button.secondary { background: #07141f; border-color: #2f6178; }
.rp-acc-dialog button:disabled { opacity: .55; cursor: not-allowed; }
.rp-acc-dialog .rp-acc-x { min-height: 34px; width: 34px; padding: 0; font-size: 20px; background: #07141f; border-color: #2f6178; }
.rp-acc-dialog .rp-link { min-height: 0; padding: 0; border: 0; background: none; color: #54e4f5; font-weight: 600; text-decoration: underline; }
.rp-acc-dialog .rp-link:hover { background: none; color: #9af2ff; }
.rp-acc-dialog button:focus-visible, .rp-acc-dialog a:focus-visible, .rp-acc-dialog input:focus-visible { outline: 2px solid #ffc266; outline-offset: 2px; }
.rp-acc-path { padding: 14px; margin: 0 0 12px; border: 1px solid #1d4a5e; background: linear-gradient(180deg, #0a1d29, #06121b); }
.rp-acc-path button { width: 100%; }
.rp-acc-alt { font-size: 14px; } .rp-acc-fine { font-size: 12px; color: #8fa6b2 !important; } .rp-acc-note { font-size: 14px; }
.rp-acc-form label { display: block; margin: 12px 0 6px; font-size: 14px; color: #dbe9f0; } .rp-acc-form label small { color: #8fa6b2; font-weight: 400; }
.rp-acc-form input:not([type="checkbox"]) { box-sizing: border-box; width: 100%; padding: 11px 12px; font-size: 16px; color: #eff9fb; background: #07131e; border: 1px solid #42728a; }
.rp-acc-form input:disabled { opacity: .7; }
.rp-acc-check { display: flex !important; gap: 8px; align-items: center; justify-content: flex-start; } .rp-acc-check input { width: 18px !important; height: 18px; flex: none; margin: 0; }
.rp-acc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.rp-acc-err { padding: 8px 10px; border: 1px solid #b0443f; background: #2a0c0c; color: #ffb4ad !important; }
.rp-acc-ok { padding: 8px 10px; border: 1px solid #2f8a5a; background: #0a1d17; color: #9ff0c4 !important; }
.rp-acc-dl { display: grid; gap: 0; margin: 0 0 6px; }
.rp-acc-dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid #16303e; }
.rp-acc-dl dt { color: #8fa6b2; font-size: 13px; } .rp-acc-dl dd { margin: 0; overflow-wrap: anywhere; } .rp-acc-dl code { color: #ffc266; }
.rp-acc-dl .ok { color: #5fe39a; } .rp-acc-dl .bad { color: #ff8f86; } .rp-acc-dialog .muted { color: #8fa6b2; }
.rp-acc-wallets { display: grid; gap: 8px; margin: 10px 0; }
.rp-acc-dialog .rp-acc-wallet { justify-content: flex-start; gap: 12px; width: 100%; background: #07141f; border-color: #2f6178; }
.rp-acc-wallet img { width: 28px; height: 28px; object-fit: contain; } .rp-acc-wallet small { margin-left: auto; color: #ffc266; font-weight: 600; }
@media (max-width: 600px) { .rp-acc { max-width: 120px; padding: 4px 10px; font-size: 12px; min-height: 32px; } .rp-acc-dl div { grid-template-columns: 92px minmax(0, 1fr); } }
@media (max-width: 440px) { .rp-acc { max-width: 96px; } }
/* Phones (Oct22): two rows so the account button always fits: brand + account on top, the four links below. */
@media (max-width: 600px) {
  .rp-top { flex-wrap: wrap; height: auto; row-gap: 0; padding: 6px 12px 0; }
  .rp-top .rp-brand span { display: inline; }
  .rp-top .rp-acc { order: 2; margin-left: auto; max-width: 170px; }
  .rp-nav { order: 3; flex: 1 0 100%; margin-left: 0; justify-content: space-between; height: 38px; }
  .rp-nav a { padding: 0 6px; }
}
/* Invite-only playtest (Oct29): the code box inside the Playtest row. */
.rp-acc-inline { display: flex; gap: 6px; margin-top: 6px; } .rp-acc-inline input { flex: 1 1 auto; min-width: 0; padding: 8px 10px; font-size: 15px; color: #eff9fb; background: #07131e; border: 1px solid #42728a; text-transform: uppercase; } .rp-acc-inline button { flex: none; }
.rp-acc-dl dd .rp-acc-invite { display: block; padding: 0; border: 0; width: 100%; margin-top: 6px; font-size: 13px; line-height: 1.5; color: #a6bac5; } .rp-acc-invite b { color: #ffc266; letter-spacing: .04em; }
.rp-acc-dl dd .rp-acc-inline { flex-basis: 100%; width: 100%; }

/* Invite-only playtest (Oct31): invite banner on sign-in and the one-time "You're in" window */
.rp-acc-hero { margin: 0 0 14px; padding: 14px 16px; border: 1px solid #ffc26688; border-left: 3px solid #ffc266; background: linear-gradient(180deg, #1d1608, #0b0d0c); }
.rp-acc-hero > b { display: block; color: #ffc266; font-size: 16px; margin-bottom: 4px; }
.rp-acc-hero p { margin: 6px 0 0; color: #d8e4ea; font-size: 14px; line-height: 1.5; }
.rp-acc-joined h3 { margin: 0 0 6px; font-size: 22px; color: #54e4f5; }
.rp-acc-joined > p { margin: 0 0 10px; color: #d8e4ea; line-height: 1.5; }
.rp-acc-code { margin: 10px 0 6px !important; padding: 8px 10px; background: #03080d; border: 1px dashed #54e4f5; color: #54e4f5 !important; font-family: ui-monospace, Consolas, monospace; font-size: 14px !important; overflow-wrap: anywhere; }
.rp-acc-list { margin: 8px 0 0; padding-left: 18px; color: #c3d5dd; font-size: 13px; line-height: 1.5; }
.rp-acc-list li { margin: 3px 0; }
.rp-acc-hero p b, .rp-acc-list b { color: #ffc266; }
