@font-face {
  font-family: "Regent Header";
  src: url("/assets/fonts/admin-condensed-bold-italic.woff") format("woff");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

.rg-header { gap: clamp(10px, 1.4vw, 24px); }
.rg-header__brand, .rg-header__online { display: flex; align-items: center; gap: 8px; }
.rg-header__brand { flex-shrink: 0; }
.rg-header__mobile-logo { display: none; }
.rg-header__online { color: #ffad53; white-space: nowrap; font: italic 700 18px "Regent Header", sans-serif; }
.rg-header__online-icon { width: 15px; height: 15px; flex: none; color: #fff; }
.rg-header__online-count { color: #fff; font-variant-numeric: tabular-nums; }
.rg-header__dot { width: 7px; height: 7px; border-radius: 50%; background: #ff9a32; box-shadow: 0 0 8px #ff9a3260; }
.rg-header .nav__link:is(:hover, :focus-visible, .is-active) { color: #ffc44f; }

@media (min-width: 993px) {
  .rg-header .nav { flex: 1; min-width: 0; justify-content: space-between; gap: 12px; }
  .header.rg-header .nav__links { position: static; transform: none; flex: 1; justify-content: center; gap: clamp(8px, 1.3vw, 24px); }
  .rg-header .nav__link { font: italic 700 clamp(14px, 1.2vw, 19px) "Regent Header", sans-serif; white-space: nowrap; }
}
@media (min-width: 1201px) {
  .header.rg-header .nav__links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .rg-header .nav { justify-content: flex-end; }
}
@media (min-width: 993px) and (max-width: 1399px) {
  .rg-header__online-label { display: none; }
}
@media (max-width: 992px) {
  .rg-header .rg-header__brand > .logo { display: none; }
  .rg-header__mobile-logo, .rg-header__mobile-logo img { display: block; width: 48px; height: 48px; object-fit: contain; }
  .rg-header__brand { position: relative; z-index: 36; margin-right: auto; }
  .rg-header .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(52px, 1fr) auto minmax(58px, 1fr);
    padding: 20px clamp(20px, 6vw, 32px) max(20px, env(safe-area-inset-bottom));
    overflow-y: auto;
    background: #121212;
  }
  .rg-header .nav__links {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    width: 100%;
    gap: clamp(14px, 3.4dvh, 28px);
    text-align: center;
  }
  .rg-header .nav .btn--cabinet {
    grid-column: 1;
    grid-row: 3;
    justify-self: center;
    width: min(100%, 320px);
    align-self: end;
    margin-top: 10px;
  }
    .rg-header .burger { flex: none; }
}
