/* Shared only by the worlds, deposit and stats pages. */
.player-header {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  min-height: 68px; padding: 8px 48px;
  background: rgb(22 10 30 / 96%); box-shadow: 0 6px 24px rgb(0 0 0 / 35%);
  color: #fff6dc; font: 700 14px/1.4 "Nunito", system-ui, sans-serif;
}
.player-header a { color: inherit; text-decoration: none; }
.player-header a:hover { color: #ffe27a; text-decoration: none; }
.player-header a:focus-visible, .player-account summary:focus-visible { outline: 2px solid #ffe27a; outline-offset: 4px; border-radius: 6px; }
.player-brand { justify-self: start; }
.player-brand img { display: block; width: auto; height: 52px; max-width: 100%; }
.player-nav { display: flex; align-items: center; gap: 8px; }
.player-nav a { padding: 9px 14px; border-radius: 8px; font: 400 19px/1.4 "Lilita One", system-ui, sans-serif; letter-spacing: .3px; }
.player-nav a[aria-current="page"] { color: #ffe27a; background: rgb(255 197 74 / 12%); }
.player-account, .player-login { justify-self: end; }
.player-account { position: relative; }
.player-account summary { display: flex; align-items: center; gap: 7px; padding: 10px 0; list-style: none; cursor: pointer; white-space: nowrap; }
.player-account summary::-webkit-details-marker { display: none; }
.player-account summary > span:first-child { color: #c5b6ce; }
.player-account strong { color: #ffe27a; font-weight: 800; }
.player-account-arrow { width: 6px; height: 6px; margin: -3px 2px 0 3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.player-account[open] .player-account-arrow { transform: rotate(225deg); margin-top: 3px; }
.player-account-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 160px; padding: 6px; border: 1px solid #584164; border-radius: 10px; background: #24182f; box-shadow: 0 10px 25px #0006; }
.player-account-menu a { display: block; padding: 10px 12px; border-radius: 6px; }
.player-account-menu a:hover { background: #352337; }
.player-login { padding: 9px 12px; border: 1px solid #71582f; border-radius: 8px; white-space: nowrap; }
@media (max-width: 800px) {
  .player-header { grid-template-columns: auto 1fr; gap: 4px 16px; padding: 8px 16px; }
  .player-brand img { height: 44px; }
  .player-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
  .player-nav a { padding: 8px 16px; font-size: 18px; }
  .player-account, .player-login { grid-column: 2; grid-row: 1; font-size: 13px; }
}
@media (max-width: 360px) {
  .player-header { gap: 4px 10px; padding-inline: 12px; }
  .player-account summary > span:first-child { display: none; }
}

.player-brand img { aspect-ratio: 2127 / 689; }
.player-account, .player-login { min-width: 182px; text-align: center; }
.player-account summary { justify-content: flex-end; }
.player-login--pending { border-color: transparent; }
.player-login--pending span { display: block; height: 20px; width: 146px; margin: auto; border-radius: 5px; background: #ffffff0d; }
@media (max-width: 800px) { .player-account, .player-login { min-width: 160px; } }
@media (max-width: 360px) { .player-header .player-account, .player-header .player-login { min-width: 142px; } .player-login--pending span { width: 116px; } }
