/* ================================================================
   Rebrand upgrade pass — feel + look. Loads last; wins ties.
   Palette discipline: red / royal blue / gold only.
   ================================================================ */

/* Background blobs: strictly the trio (kills the violet/green ghosts) */
body::before{
  background:
    radial-gradient(420px 300px at 8% 4%, rgba(212,175,55,.15), transparent 70%),
    radial-gradient(520px 380px at 95% 10%, rgba(47,95,232,.16), transparent 70%),
    radial-gradient(460px 340px at 88% 88%, rgba(210,31,44,.13), transparent 70%),
    radial-gradient(500px 360px at 4% 92%, rgba(212,175,55,.10), transparent 70%),
    radial-gradient(320px 240px at 55% 45%, rgba(47,95,232,.08), transparent 70%);
}

/* Page transitions: soft rise as each page opens */
@keyframes rstPageIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.page.on{animation:rstPageIn .38s cubic-bezier(.22,.9,.3,1) both}

/* Press feedback + calmer button motion */
.btn{transition:transform .12s ease, box-shadow .2s ease, filter .2s ease}
.btn:active,.rst-pill-action:active{transform:scale(.97)}

/* Keyboard focus: gold ring, always visible */
:focus-visible{outline:2px solid var(--rst-gold);outline-offset:2px;border-radius:6px}

/* Selection + scrollbar in brand gold */
::selection{background:rgba(212,175,55,.85);color:#14100a}
html{scrollbar-color:#8a6d1f #0b0b0e}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:#0b0b0e}
::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#8a6d1f,#5e4a14);border-radius:99px;border:2px solid #0b0b0e}

/* Hero headline: the red→gold→blue gradient slowly sheens */
.rst-welcome h1 span{background-size:220% auto;animation:rstSheen 7s linear infinite}
@keyframes rstSheen{to{background-position:220% center}}

/* Rebrand banner: slow seal glow breathing between red and gold */
@keyframes rstSealGlow{
  0%,100%{box-shadow:0 18px 50px rgba(0,0,0,.55),0 0 0 1px rgba(212,175,55,.25),0 0 34px rgba(210,31,44,.18)}
  50%{box-shadow:0 18px 50px rgba(0,0,0,.55),0 0 0 1px rgba(212,175,55,.55),0 0 54px rgba(212,175,55,.28)}
}
.rst-rebrand-hero{animation:rstSealGlow 6s ease-in-out infinite}

/* Cards lift gently under the cursor (real pointers only) */
@media (hover:hover) and (pointer:fine){
  article.card{transition:transform .18s ease, box-shadow .25s ease, border-color .2s ease}
  article.card:hover{transform:translateY(-3px)}
}

@media (prefers-reduced-motion: reduce){
  .page.on,.rst-welcome h1 span,.rst-rebrand-hero{animation:none}
}

/* Owner quick-access bar (home, owner sessions only) */
.rst-ownerbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0 0 18px;padding:12px 14px;
  border:1px solid rgba(212,175,55,.45);border-radius:14px;
  background:linear-gradient(120deg,rgba(212,175,55,.10),rgba(47,95,232,.08))}
.rst-ownerbar-label{font-weight:900;letter-spacing:.06em;color:var(--rst-gold-bright);margin-right:4px}

/* Watch page + home band + community crew carousels */
.rst-embed{position:relative;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#000;border:1px solid rgba(212,175,55,.35)}
.rst-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.rst-embed.short{aspect-ratio:9/16;max-width:300px;margin:0 auto}
.rst-watch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}
.rst-shorts-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}
.rst-watch-cap{font-weight:700;margin:8px 0 14px}
.rst-watch-band{margin:26px 0}
.rst-watch-band-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.rst-watch-thumb{display:block;width:100%;text-align:left;background:#121218;border:1px solid rgba(212,175,55,.3);border-radius:14px;overflow:hidden;cursor:pointer;padding:0;color:inherit}
.rst-watch-thumb img{width:100%;display:block;aspect-ratio:16/9;object-fit:cover}
.rst-watch-thumb span{display:block;padding:10px 12px;font-weight:800}
.rst-crew-posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin-bottom:22px}
.rst-crew-card{background:#121218;border:1px solid rgba(212,175,55,.28);border-radius:14px;overflow:hidden}
.rst-crew-img{width:100%;display:block}
.rst-crew-body{padding:12px 14px}
.rst-crew-body h3{margin:4px 0 6px}
.rst-carousel{position:relative;overflow:hidden}
.rst-carousel-track{display:flex;transition:transform .35s ease}
.rst-carousel-track img{width:100%;flex:0 0 100%;display:block}
.rst-car-btn{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:1px solid rgba(212,175,55,.6);background:rgba(5,5,10,.72);color:#f3d27a;font-size:22px;line-height:1;cursor:pointer;z-index:2}
.rst-car-btn.prev{left:8px}.rst-car-btn.next{right:8px}
.rst-car-dots{position:absolute;bottom:8px;left:0;right:0;display:flex;gap:6px;justify-content:center;z-index:2}
.rst-car-dots span{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.35)}
.rst-car-dots span.on{background:#f3d27a}

/* === Form controls: dark theme for EVERY input (Oct 31 fix) ===
   The base form rule only matched input[type=text] etc. — the 127
   inputs with no type attribute (global search, market search,
   inventory search, listing fields...) fell back to browser-default
   WHITE boxes. This rule covers them all. */
:root{color-scheme:dark}
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
select,textarea{
  width:100%;padding:.7em .9em;font:inherit;color:var(--rst-ink);
  background:var(--rst-surface);border:2px solid var(--rst-edge);
  border-radius:var(--rst-radius-sm);
  transition:border-color var(--rst-speed),box-shadow var(--rst-speed);
}
input::placeholder,textarea::placeholder{color:var(--rst-ink-soft);opacity:.75}
input:-webkit-autofill,textarea:-webkit-autofill,select:-webkit-autofill{
  -webkit-box-shadow:0 0 0 80px var(--rst-surface) inset;
  -webkit-text-fill-color:var(--rst-ink);caret-color:var(--rst-ink);
}
/* The one light pill in the system goes dark like everything else */
.tag.gray{background:var(--rst-surface-2);color:var(--rst-ink-soft)}

/* Phone guards: wide tables scroll sideways instead of stretching the
   page, and form fields sit at 16px so iOS never auto-zooms on tap. */
@media (max-width:820px){
  table.table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  input,select,textarea{font-size:16px}
}

/* === Image containment net (Oct 31) ===
   Jahvon's report: card/inventory photos rendered WAY too big. Cause:
   .thumb was styled as an <img> class but seller cards wrap the photo
   in a <div class="thumb">, leaving the photo itself with no size
   rules at all — natural size, layout destroyed. These rules make a
   blowout structurally impossible in every card/list context. Card
   art is always shown WHOLE (contain), never cropped. */
img{max-width:100%}
.thumb:has(>img){overflow:hidden;display:grid;place-items:center;background:var(--rst-bg-soft)}
.thumb>img{width:100%;height:100%;object-fit:contain;display:block}
.seller-market-card .thumb{width:100%;height:auto;aspect-ratio:1/1.02;border-radius:12px}
.catalog-search-row img{width:52px;height:72px;object-fit:contain;border-radius:6px;flex:none}
.rst-crew-img{max-height:520px;object-fit:contain;background:var(--rst-bg-soft)}
.rst-carousel{aspect-ratio:1/1;background:var(--rst-bg-soft)}
.rst-carousel-track{height:100%}
.rst-carousel-track img{height:100%;object-fit:contain}

/* === Seal Rewards (Nov 7) — Gotya-style giveaway quests in Seal colours === */
.rst-nav-chip{color:var(--rst-gold-bright);font-weight:800}
.rst-q-prize{background:linear-gradient(180deg,#221a08,#171208);border:1px solid var(--rst-gold);border-radius:16px;padding:16px 18px;margin-bottom:14px}
.rst-q-prize-tag{color:var(--rst-gold-bright);font-weight:800;font-size:12px;letter-spacing:.06em}
.rst-q-prize h3{margin:6px 0 4px}
.rst-q-prize p{color:var(--rst-ink-soft);margin:0;line-height:1.55}
.rst-q-wallet{display:inline-block;background:var(--rst-surface-2);border:1px solid var(--rst-gold);color:var(--rst-ink);border-radius:99px;padding:6px 14px;font-weight:700;margin-bottom:14px}
.rst-q-wallet b{color:var(--rst-gold-bright)}
.rst-q-card{display:flex;align-items:center;gap:14px;background:var(--rst-surface);border:1px solid var(--rst-edge);border-radius:16px;padding:14px 16px;margin-bottom:10px}
.rst-q-ico{width:52px;height:52px;flex:none;display:grid;place-items:center;font-size:26px;background:var(--rst-surface-2);border:1px solid var(--rst-edge);border-radius:12px}
.rst-q-main{flex:1;min-width:0}
.rst-q-title{font-weight:800;font-size:17px}
.rst-q-pts{display:inline-block;background:#2a2110;color:var(--rst-gold-bright);border:1px solid var(--rst-gold);font-size:12px;font-weight:800;padding:2px 9px;border-radius:99px;margin-left:6px;vertical-align:2px;white-space:nowrap}
.rst-q-sub{color:var(--rst-ink-soft);margin-top:3px;line-height:1.45}
.rst-q-count{display:block;color:var(--rst-gold-bright);font-size:13px;margin-top:4px;font-weight:700}
.rst-q-btn{flex:none;background:linear-gradient(180deg,var(--rst-gold-bright),var(--rst-gold));color:#191203;border:none;font-weight:800;font-size:15px;padding:13px 20px;border-radius:12px;cursor:pointer;box-shadow:0 6px 22px rgba(212,175,55,.35);white-space:nowrap}
.rst-q-btn.confirm{background:linear-gradient(180deg,#3ddc84,#22b866);color:#06280f;box-shadow:0 6px 22px rgba(34,184,102,.35)}
.rst-q-btn.done{background:var(--rst-surface-2);color:var(--rst-ink-soft);border:1px solid var(--rst-edge);box-shadow:none;cursor:default}
.rst-q-earn{border:1.5px dashed var(--rst-gold);border-radius:16px;padding:14px 18px;margin:14px 0;background:rgba(212,175,55,.05);line-height:2}
.rst-q-earn-h{font-weight:800;margin-bottom:2px}
.rst-q-enter{width:100%;background:linear-gradient(180deg,var(--rst-gold-bright),var(--rst-gold));color:#191203;border:none;font-weight:800;font-size:19px;letter-spacing:.04em;padding:17px;border-radius:14px;cursor:pointer;box-shadow:0 8px 28px rgba(212,175,55,.4)}
.rst-q-enter[disabled]{opacity:.55;cursor:default;box-shadow:none}
.rst-q-enter.in{background:var(--rst-surface-2);color:var(--rst-gold-bright);border:1px solid var(--rst-gold);opacity:1}
.rst-q-note{color:var(--rst-ink-soft);text-align:center;margin:8px 0 0}
.rst-q-rules{color:var(--rst-ink-soft);font-size:13px;line-height:1.55;margin-top:12px}
.rst-q-teaser{display:flex;align-items:center;gap:14px;background:linear-gradient(90deg,#221a08,var(--rst-surface));border:1px solid var(--rst-gold);border-radius:16px;padding:14px 18px;margin:14px 0;cursor:pointer}
.rst-q-teaser-ico{font-size:30px}
.rst-q-teaser-main{flex:1;display:flex;flex-direction:column}
.rst-q-teaser-main small{color:var(--rst-ink-soft)}
.rst-q-teaser-n{background:#2a2110;color:var(--rst-gold-bright);border:1px solid var(--rst-gold);font-weight:800;padding:6px 13px;border-radius:99px}
@media (max-width:640px){.rst-q-card{flex-wrap:wrap}.rst-q-btn{width:100%}}

/* — Site intro splash (Nov 14 2026, Jahvon's request): random 1-of-3 on open — */
.rst-intro{position:fixed;inset:0;z-index:3000;background:rgba(4,4,8,.97);display:flex;align-items:center;justify-content:center;opacity:1;transition:opacity .35s ease}
.rst-intro-out{opacity:0;pointer-events:none}
.rst-intro-box{position:relative;height:min(92vh,92dvh);aspect-ratio:9/16;max-width:94vw;border:2px solid var(--seal,#d21f2c);border-radius:16px;overflow:hidden;background:#000;box-shadow:0 0 44px rgba(210,31,44,.35)}
.rst-intro-video{width:100%;height:100%;object-fit:cover;display:block;background:#000}
.rst-intro-brand{position:absolute;top:10px;left:0;right:0;text-align:center;font-weight:900;letter-spacing:.22em;font-size:12px;color:var(--gold-hi,#f3d27a);text-shadow:0 2px 10px rgba(0,0,0,.9);pointer-events:none}
.rst-intro-close{position:absolute;top:10px;right:10px;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.65);color:#fff;font-size:17px;font-weight:900;cursor:pointer;line-height:1}
.rst-intro-bar{position:absolute;left:0;right:0;bottom:0;display:flex;gap:10px;justify-content:space-between;padding:12px;background:linear-gradient(transparent,rgba(0,0,0,.85))}
.rst-intro-btn{border:1px solid var(--gold,#d4af37);background:rgba(0,0,0,.7);color:var(--gold-hi,#f3d27a);font-weight:800;font-size:13px;border-radius:999px;padding:9px 16px;cursor:pointer}
.rst-intro-btn.ghost{border-color:rgba(255,255,255,.35);color:#fff}
.rst-intro-pulse{animation:rstIntroPulse 1.1s ease-in-out infinite}
@keyframes rstIntroPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}
@media (max-width:560px){.rst-intro-box{height:min(94vh,94dvh)}}

/* === Alive pass (Nov 14 2026) — SEAL HQ LIVE ticker, debate poll, Seal Helper bot ===
   Palette discipline holds: seal red / royal blue / gold on near-black. */
.rst-ticker{display:flex;align-items:stretch;gap:0;margin:14px 0 4px;border:1px solid var(--rst-gold);border-radius:12px;background:linear-gradient(90deg,#171208,var(--rst-surface));overflow:hidden}
.rst-ticker-label{flex:none;display:flex;align-items:center;padding:9px 14px;font-weight:900;letter-spacing:.05em;font-size:13px;color:#191203;background:linear-gradient(180deg,var(--rst-gold-bright),var(--rst-gold));white-space:nowrap}
.rst-ticker-view{flex:1;overflow:hidden;display:flex;align-items:center;-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.rst-ticker-track{display:inline-flex;align-items:center;white-space:nowrap;animation-name:rstTickerMove;animation-timing-function:linear;animation-iteration-count:infinite;will-change:transform}
.rst-ticker:hover .rst-ticker-track{animation-play-state:paused}
.rst-ticker-item{color:var(--rst-gold-bright);font-weight:700;font-size:14px;padding:0 10px}
.rst-ticker-sep{color:var(--rst-seal-red);font-size:11px}
@keyframes rstTickerMove{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion: reduce){.rst-ticker-track{animation:none}}

.rst-poll{margin:14px 0;padding:16px 18px;border:1px solid var(--rst-gold);border-radius:16px;background:linear-gradient(120deg,rgba(210,31,44,.10),rgba(47,95,232,.10)),var(--rst-surface)}
.rst-poll-tag{color:var(--rst-gold-bright);font-weight:900;font-size:12px;letter-spacing:.07em}
.rst-poll-q{margin:6px 0 4px}
.rst-poll-line{color:var(--rst-ink-soft);margin:0 0 12px;line-height:1.5}
.rst-poll-btns{display:flex;gap:12px;flex-wrap:wrap}
.rst-poll-btn{flex:1;min-width:180px;border:none;border-radius:12px;padding:14px 16px;font-weight:900;font-size:16px;color:#fff;cursor:pointer;box-shadow:0 6px 22px rgba(0,0,0,.35)}
.rst-poll-btn.naruto{background:linear-gradient(180deg,#2f5fe8,#1e40c9)}
.rst-poll-btn.luffy{background:linear-gradient(180deg,#e02633,#a3121e)}
.rst-poll-btn:active{transform:scale(.98)}
.rst-poll-pick{font-size:20px;margin:6px 0 4px}
.rst-poll-pick b{color:var(--rst-gold-bright)}
.rst-poll-change{background:none;border:1px solid var(--rst-edge-strong);color:var(--rst-ink-soft);border-radius:99px;padding:6px 14px;font-weight:700;cursor:pointer}

.rst-helper-btn{position:fixed;right:18px;bottom:18px;z-index:1200;border:1px solid var(--rst-gold);background:linear-gradient(180deg,var(--rst-gold-bright),var(--rst-gold));color:#191203;font-weight:900;font-size:15px;border-radius:999px;padding:13px 20px;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.5)}
.rst-helper-panel{position:fixed;right:18px;bottom:82px;z-index:1200;width:min(370px,calc(100vw - 24px));max-height:min(72vh,640px);display:flex;flex-direction:column;background:var(--rst-surface);border:1px solid var(--rst-gold);border-radius:16px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.6)}
.rst-helper-panel[hidden]{display:none}
.rst-helper-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:#221a08;border-bottom:1px solid var(--rst-gold)}
.rst-helper-head b{font-size:16px}
.rst-helper-head small{display:block;color:var(--rst-ink-soft);font-size:12px;margin-top:2px}
.rst-helper-close{background:rgba(0,0,0,.4);border:1px solid var(--rst-edge-strong);color:#fff;width:34px;height:34px;border-radius:50%;cursor:pointer;flex:none}
.rst-helper-log{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;min-height:180px}
.rst-helper-msg{max-width:88%;padding:9px 12px;border-radius:13px;line-height:1.5;font-size:14px;overflow-wrap:anywhere}
.rst-helper-msg a{color:var(--rst-gold-bright);font-weight:700}
.rst-helper-msg.bot{align-self:flex-start;background:var(--rst-surface-2);border:1px solid var(--rst-edge)}
.rst-helper-msg.user{align-self:flex-end;background:linear-gradient(180deg,#2f5fe8,#1e40c9);color:#fff}
.rst-helper-chips{display:flex;gap:7px;flex-wrap:wrap;padding:0 12px 10px}
.rst-helper-chips button{background:var(--rst-surface-2);border:1px solid var(--rst-gold);color:var(--rst-gold-bright);border-radius:99px;padding:6px 11px;font-size:12.5px;font-weight:700;cursor:pointer}
.rst-helper-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--rst-edge);background:var(--rst-bg-soft)}
.rst-helper-form input{flex:1;min-width:0}
.rst-helper-send{flex:none;background:linear-gradient(180deg,var(--rst-gold-bright),var(--rst-gold));color:#191203;border:none;font-weight:800;border-radius:10px;padding:0 16px;cursor:pointer}
@media (max-width:640px){.rst-helper-btn{right:12px;bottom:12px}.rst-helper-panel{right:12px;bottom:74px}}

/* — Draws Board (Nov 14 2026) — multiple draws, one shared ticket balance — */
.rst-q-wallet-sub{color:var(--rst-ink-soft);font-weight:600;font-size:13px;margin-left:6px}
.rst-d-head{margin:18px 0 10px}
.rst-d-head h3{margin:0 0 4px}
.rst-d-head p{color:var(--rst-ink-soft);margin:0;line-height:1.5}
.rst-d-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;margin-bottom:6px}
.rst-d-card{background:var(--rst-surface);border:1px solid var(--rst-gold);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.rst-d-photo{aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;padding:16px;background:radial-gradient(420px 240px at 50% 0%,rgba(212,175,55,.14),transparent 70%),linear-gradient(180deg,#221a08,#120d05);border-bottom:1.5px dashed var(--rst-gold);color:var(--rst-ink-soft)}
.rst-d-photo-ico{font-size:34px}
.rst-d-photo b{color:var(--rst-gold-bright);font-size:17px;letter-spacing:.03em}
.rst-d-photo small{font-size:12.5px}
.rst-d-img{width:100%;aspect-ratio:16/9;object-fit:contain;background:var(--rst-bg-soft);display:block}
.rst-d-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:7px;flex:1}
.rst-d-tag{color:var(--rst-gold-bright);font-weight:800;font-size:11.5px;letter-spacing:.06em}
.rst-d-body h3{margin:0}
.rst-d-prize{margin:0;line-height:1.5;font-weight:700}
.rst-d-trigger{margin:0;color:var(--rst-ink-soft);line-height:1.5}
.rst-d-entries{margin-top:auto;background:var(--rst-surface-2);border:1px solid var(--rst-edge);border-radius:10px;padding:8px 12px;font-weight:700}
.rst-d-entries b{color:var(--rst-gold-bright)}
.rst-d-btns{display:flex;gap:8px;flex-wrap:wrap}
.rst-d-btn{flex:1;min-width:96px;background:linear-gradient(180deg,var(--rst-gold-bright),var(--rst-gold));color:#191203;border:none;font-weight:800;font-size:14px;padding:11px 10px;border-radius:10px;cursor:pointer;box-shadow:0 6px 22px rgba(212,175,55,.3);white-space:nowrap}
.rst-d-btn[disabled]{background:var(--rst-surface-2);color:var(--rst-ink-soft);border:1px solid var(--rst-edge);box-shadow:none;cursor:default}
.rst-d-note{color:var(--rst-ink-soft);font-size:13px;margin:0}

/* ============================================================
   MOBILE MOVEMENT FIXES (Nov 14 2026 — Jahvon: "unable to move
   around the site properly" on his iPhone)
   1) No sideways drift: nothing may stretch the page past the
      screen, so vertical scrolling never turns into panning.
      overflow-x:clip (not hidden) keeps position:sticky working.
   2) The scroll locks the JS already toggles (drawer open,
      modal open) finally have CSS — the page behind now stays
      put instead of scrolling along.
   3) The Seal Helper button/panel and back-to-top lift clear
      of the fixed bottom navigation bar on phones.
   4) The bottom bar goes dark to match the rest of the site
      (it was near-white — a leftover light-theme surface).
   ============================================================ */
html,body{overflow-x:clip}
body.rst-modal-lock,body.rst-navigation-open{overflow:hidden}
.community-post-body,.community-comment,.rst-drawer-item span{overflow-wrap:anywhere}
@media (max-width:900px){
  .rst-helper-btn{bottom:calc(98px + env(safe-area-inset-bottom));right:14px;padding:11px 16px;font-size:14px}
  .rst-helper-panel{bottom:calc(162px + env(safe-area-inset-bottom));right:12px;max-height:min(56vh,540px)}
  #rstToTop{bottom:calc(166px + env(safe-area-inset-bottom));right:14px}
  .rst-bottom-nav{background:rgba(10,10,13,.97);border-top:2px solid rgba(212,175,55,.45)}
  .rst-bottom-nav button{color:#9a9aa6}
  .rst-bottom-nav button.on{color:var(--rst-gold-bright)}
  .rst-bottom-nav .rst-nav-scan{color:#f3f3f6}
  .rst-bottom-nav .rst-nav-scan small{color:#f3f3f6}
  .rst-bottom-nav .rst-nav-scan span:first-child{border-color:#0a0a0d}
}
@media (max-width:400px){
  .rst-d-board{grid-template-columns:1fr}
  .rst-poll-btn{min-width:0}
}

/* Realtime status pill + activity toast (module 19) shipped with NO
   styles at all — they rendered as raw text at the bottom of every
   page. Give them a proper home: fixed bottom-left on desktop,
   lifted clear of the bottom nav on phones. */
#rstLiveStatus{position:fixed;left:14px;bottom:14px;z-index:80;display:flex;align-items:center;gap:7px;background:rgba(10,10,13,.92);border:1px solid var(--rst-edge-strong);color:#c9c9d4;border-radius:999px;padding:6px 12px;font-size:11px;font-weight:800;letter-spacing:.08em}
#rstLiveStatus .dot{width:8px;height:8px;border-radius:50%;background:#a1a1aa;flex:none}
#rstLiveStatus.live .dot{background:#3ddc84;box-shadow:0 0 8px rgba(61,220,132,.8)}
#rstLiveStatus.off .dot{background:#e02633}
#rstActivityToast{position:fixed;left:14px;bottom:54px;z-index:80;display:none;align-items:center;gap:10px;max-width:min(420px,calc(100vw - 28px));background:rgba(10,10,13,.96);border:1px solid var(--rst-gold);border-radius:14px;padding:10px 14px;box-shadow:0 16px 40px rgba(0,0,0,.55)}
#rstActivityToast.show{display:flex}
#rstActivityToast .rst-live-icon{font-size:18px}
#rstActivityToast .rst-live-copy{display:flex;flex-direction:column;min-width:0}
#rstActivityToast .rst-live-copy b{font-size:13.5px}
#rstActivityToast .rst-live-copy small{color:var(--rst-ink-soft);font-size:12px}
#rstActivityToast button{background:linear-gradient(180deg,var(--rst-gold-bright),var(--rst-gold));color:#191203;border:none;font-weight:800;font-size:12.5px;border-radius:99px;padding:6px 12px;cursor:pointer;flex:none}
@media (max-width:900px){
  #rstLiveStatus{bottom:calc(96px + env(safe-area-inset-bottom));left:12px}
  #rstActivityToast{bottom:calc(136px + env(safe-area-inset-bottom));left:12px;right:12px;max-width:none}
}
