/* One shared game navigation. Currency artwork stays in /duel/currencies/. */
.rv-gamebar.rv-topbar { box-sizing: border-box; display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center; gap: 16px; min-height: 76px; padding: 10px clamp(16px,2vw,34px); color: #fff4d8; background: linear-gradient(105deg,#08192eef,#102d51ef),url('/duel/hub-comic-v1/paint-blue.webp') center/cover; border-bottom: 2px solid #c99c40; box-shadow: 0 3px 16px #0410212b; font-family: 'DM Sans',sans-serif; position: relative; z-index: 40; }
.rv-topbar * { box-sizing: border-box; }
.rv-topbar .rv-game-brand { color: #fff1cf; font: 900 clamp(25px,2.4vw,38px)/.95 'Fraunces',Georgia,serif; text-decoration: none; margin: 0; white-space: nowrap; letter-spacing: -.055em; }
.rv-topbar .rv-game-brand small { color: #c7b386; font: 8px/1.2 'DM Sans',sans-serif; letter-spacing: .16em; text-transform: uppercase; margin-top: 6px; display: block; }
.rv-primary-nav { display: flex; justify-content: center; gap: 2px; min-width: 0; }
.rv-topbar .rv-primary-nav { flex-wrap: nowrap; }
.rv-primary-nav :is(a,button) { display: inline-flex; justify-content: center; align-items: center; flex: none; min-height: 40px; padding: 9px 10px; border: 1px solid transparent; border-radius: 3px; background: none; color: #e9edf5; text-decoration: none; font: 700 11px/1.2 'DM Sans',sans-serif; white-space: nowrap; cursor: pointer; transition: background .15s,color .15s,border-color .15s; }
.rv-primary-nav :is(a,button):hover { background: #ffffff0c; color: #ffdc76; }
.rv-primary-nav .active { color: #ffda71; border-color: #f3c452; box-shadow: inset 0 0 0 1px #f3c45222,0 2px 6px #0003; background: #071a31; }
.rv-topbar-account { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.rv-topbar .rv-wallet { display: flex; gap: 8px; }
.rv-topbar .rv-balance { display: flex; align-items: center; gap: 6px; padding: 3px 7px; min-width: 77px; border: 0; background: none; text-decoration: none; border-radius: 4px; color: #ffe0a1; }
.rv-topbar .rv-balance:hover { background: #ffffff0a; }
.rv-topbar .rv-balance img { flex: none; width: 30px; height: 30px; }
.rv-topbar .rv-balance small { display: block; color: #c3ccd9; font-size: 8px; }
.rv-topbar .rv-balance b { display: block; font-size: 12px; }
.rv-topbar .rv-prisms { color: #d9c4ff; }
.rv-topbar .rv-account { display: flex; align-items: center; gap: 7px; padding: 4px 0; max-width: 110px; background: none; color: #f9e5b8; border: 0; cursor: pointer; font: 700 11px 'DM Sans',sans-serif; }
.rv-topbar .rv-account img { flex: none; width: 32px; height: 32px; border: 1px solid #d4b364; border-radius: 50%; }
.rv-topbar .rv-account span { overflow: hidden; text-overflow: ellipsis; }
.rv-topbar .rv-role { display: block; font-size: 7px; margin: 4px 0 0; color: #c8bcf0; }
.rv-topbar .rv-signin { padding: 8px 10px; border: 1px solid #c8a55166; border-radius: 3px; white-space: nowrap; }
.rv-topbar .rv-admin-link { color: #ffcf73; font-size: 9px; padding: 7px 4px; text-decoration: none; white-space: nowrap; }
.rv-world-switch { display: flex; align-items: center; justify-content: center; width: 27px; height: 30px; border-left: 1px solid #c5a35d55; color: #d9c79e; text-decoration: none; font-size: 17px; }
.rv-world-switch span { display: none; }
.rv-topbar :is(a,button):focus-visible { outline: 2px solid #ffce58; outline-offset: 3px; }
.dh-premium .dh-masthead:not(:has(.dh-nav)) { justify-content: center; }
.rv-lobby .rl-nav { max-width: 1180px; margin-inline: auto; }
.rv-arena-shell { --header-h: 76px; overflow-x: clip; }
@media(max-width:1200px) {
  .rv-arena-shell { --header-h: 120px; }
  .rv-gamebar.rv-topbar { grid-template-columns: auto 1fr auto; gap: 8px 18px; padding-block: 11px 0; }
  .rv-topbar .rv-primary-nav { grid-row: 2; grid-column: 1/-1; justify-content: center; padding-bottom: 7px; }
  .rv-topbar-account { grid-column: 2; grid-row: 1; }
  .rv-world-switch { grid-column: 3; grid-row: 1; }
}
@media(max-width:620px) {
  .rv-arena-shell { --header-h: 112px; }
  .rv-gamebar.rv-topbar { padding: 12px 12px 0; gap: 9px 8px; }
  .rv-topbar .rv-game-brand { font-size: 25px; }
  .rv-topbar .rv-game-brand small { font-size: 6px; }
  .rv-topbar-account { gap: 4px; }
  .rv-topbar .rv-wallet { gap: 2px; }
  .rv-topbar .rv-balance { min-width: 55px; padding: 2px; gap: 3px; }
  .rv-topbar .rv-balance img { width: 24px; height: 24px; }
  .rv-topbar .rv-balance small { font-size: 7px; }
  .rv-topbar .rv-balance b { font-size: 10px; }
  .rv-topbar .rv-account { max-width: 31px; }
  .rv-topbar .rv-account img { width: 27px; height: 27px; }
  .rv-topbar .rv-account span { display: none; }
  .rv-topbar .rv-signin { max-width: none; font-size: 9px; padding: 7px; }
  .rv-topbar .rv-admin-link { font-size: 8px; }
  .rv-topbar .rv-primary-nav { justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; padding: 0 0 7px; }
  .rv-primary-nav :is(a,button) { min-height: 35px; padding: 7px 10px; font-size: 10px; }
  .rv-world-switch { width: 20px; font-size: 14px; }
}
@media(max-width:360px) {
  .rv-arena-shell { --header-h: 150px; }
  .rv-gamebar.rv-topbar { grid-template-columns: 1fr auto; }
  .rv-topbar-account { grid-column: 1/-1; grid-row: 2; justify-content: flex-start; gap: 10px; padding-bottom: 3px; }
  .rv-topbar .rv-primary-nav { grid-row: 3; }
  .rv-world-switch { grid-column: 2; }
  .rv-topbar .rv-account { margin-left: auto; }
}
@media(prefers-reduced-motion:reduce) { .rv-primary-nav :is(a,button) { transition: none; } }

.rv-primary-nav { scrollbar-color: #b7a069 #0b1b32; }
.rv-primary-nav::-webkit-scrollbar { height: 3px; }
.rv-primary-nav::-webkit-scrollbar-track { background: #0b1b32; }
.rv-primary-nav::-webkit-scrollbar-thumb { background: #b7a069; border-radius: 3px; }
@media(min-width:621px) and (max-width:1500px) {
  .rv-topbar .rv-primary-nav { justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain; }
}
