/* source: assets/css/site/overrides/80-late-public-polish.css */
/*
 * Late public polish
 *
 * Extracted from pages/70-community.css during modular cleanup.
 * Keep this file between pages/70-community.css and overrides/90-topbar-polish.css
 * to preserve the previous cascade order.
 */

/* =========================================================
   Final home polish: top rail balance + sidebar empty states
   ========================================================= */
.monitorMetric--muted{
  color: rgba(231,237,243,.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
}

.monitorConnect{
  display: grid;
  gap: 8px;
  width: 100%;
}
.monitorConnect__buttons{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.monitorConnect__buttons .btn-primary,
.monitorConnect__buttons .btn-ghost{
  flex: 1 1 170px;
}
.monitorConnect__hint{
  color: var(--text700);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.sitePanel--monitor.is-monitor-offline .progress{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
.sitePanel--monitor.is-monitor-offline #monitor-progress-fill{
  background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
}
.sitePanel--monitor.is-monitor-offline .monitorMeta .kv{
  background: rgba(255,255,255,.025);
}
.sitePanel--monitor.is-monitor-offline .monitorMeta b{
  color: rgba(231,237,243,.74);
}

.monitorActions--state{
  display: block;
}
.monitorActions--state .state{
  width: 100%;
}

.sidebarState{
  width: 100%;
}
.sidebarState .state__title{
  line-height: 1.22;
}
.sidebarState .state__text{
  line-height: 1.42;
}
.sidebarState--monitor{
  min-height: 94px;
}

.telemetryList--state{
  overflow: hidden;
  align-content: stretch;
}
.telemetryList--state .state{
  width: 100%;
}
.telemetryList--state .sidebarState{
  min-height: 100%;
  display: flex;
  align-items: center;
}
.telemetryList--state .state__icon{
  align-self: center;
}
.telemetryList--state .state__body{
  display: grid;
  gap: 4px;
}

.sitePanel--missing{
  position: relative;
  overflow: hidden;
}
.sitePanel--missing::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at top right, rgba(211,84,0,.14), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.035), transparent 44%);
}
.pageMissingPage{
  min-height: clamp(320px, 58vh, 620px);
  display:grid;
  place-items:center;
  padding: clamp(18px, 4vw, 34px);
}
.pageMissingState{
  position: relative;
  width: min(760px, 100%);
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid rgba(211,84,0,.26);
  background:
    linear-gradient(180deg, rgba(24,24,28,.88), rgba(8,8,10,.94));
  box-shadow:
    0 26px 60px rgba(0,0,0,.26),
    inset 0 0 0 1px rgba(255,255,255,.03);
}
.pageMissingState__eyebrow{
  position:absolute;
  top: 14px;
  right: 16px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: rgba(231,237,243,.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pageMissingState .state__icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border-color: rgba(211,84,0,.24);
  background: radial-gradient(circle at center, rgba(211,84,0,.18), rgba(255,255,255,.04));
  color: rgba(255,211,170,.94);
  box-shadow: 0 10px 28px rgba(211,84,0,.12);
}
.pageMissingState__slug{
  display:inline-flex;
  align-items:center;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pageMissingState .state__title{
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.1;
}
.pageMissingState .state__text{
  max-width: 56ch;
  margin-top: 8px;
  color: rgba(231,237,243,.74);
  font-size: 14px;
  line-height: 1.6;
}
.pageMissingState .state__actions{
  margin-top: 16px;
}
html.layout-embedded .pageMissingPage{
  min-height: calc(100vh - 48px);
}
@media (max-width: 680px){
  .pageMissingState{
    padding-top: 56px;
  }
  .pageMissingState__eyebrow{
    top: 12px;
    left: 14px;
    right: auto;
  }
}

body.page-home .headerRailBasesShell{
  grid-template-columns: clamp(268px, 32%, 316px) minmax(0, 1fr);
}
body.page-home .headerRadioMini{
  padding-inline: 11px;
}
body.page-home .headerRadioMini__main{
  min-height: 0;
}
body.page-home .headerRadioMini__title{
  -webkit-line-clamp: 2;
}
body.page-home .headerRadioMini__actions{
  margin-top: auto;
}
body.page-home .headerRadioMini__status{
  -webkit-line-clamp: 1;
}
body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty{
  width: 100%;
  max-width: none;
  flex-basis: auto;
}
body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty .emptySlide__hint{
  max-width: 44ch;
}
body.page-home .sitePanel--monitor.is-monitor-offline .monitorMeta{
  opacity: .96;
}
body.page-home .monitorActions--state .sidebarState{
  min-height: 102px;
}
body.page-home .telemetryList--state .sidebarState{
  min-height: clamp(170px, 22vh, 240px);
}

@media (max-width: 560px){
  body.page-home .telemetryList--state .sidebarState{
    min-height: 150px;
  }
}

/* =========================================================
   Final home radio simplification: compact trigger + full modal
   ========================================================= */
@media (min-width: 981px){
  body.page-home .topbar{
    --topline-box-h: 118px;
  }

  body.page-home .brand,
  body.page-home .headerRailBases,
  body.page-home .headerRailPromo,
  body.page-home .profileWidget{
    border-radius: 16px;
  }

  body.page-home .headerRailBases,
  body.page-home .profileWidget{
    min-height: var(--topline-box-h);
  }

  body.page-home .headerRailBases{
    padding: 9px 12px 11px;
  }

  body.page-home .headerRailPromo{
    min-width: 0;
  }

  body.page-home .headerRailPromo .railBody{
    height: 100%;
    border-radius: 16px;
  }

  body.page-home .railHead{
    min-height: 18px;
    margin-bottom: 7px;
    align-items: flex-start;
  }

  body.page-home .railTitle{
    font-size: 15px;
    font-weight: 800;
  }

  body.page-home .railMore{
    font-size: 12px;
    line-height: 1.1;
  }

  body.page-home .headerRadioMini{
    padding: 11px 13px;
    gap: 7px;
    border-radius: 16px;
    box-shadow:
      0 14px 30px rgba(0,0,0,.26),
      inset 0 1px 0 rgba(255,255,255,.07);
  }

  body.page-home .headerRadioMini__top{
    min-height: 24px;
  }

  body.page-home .headerRadioMini__summary{
    min-height: 0;
    display: grid;
    align-content: center;
    gap: 4px;
  }

  body.page-home .headerRadioMini__title{
    font-size: 13px;
    line-height: 1.16;
  }

  body.page-home .headerRadioMini__ownerLine{
    min-height: 16px;
    gap: 5px;
  }

  body.page-home .headerRadioMini__ownerLabel{
    font-size: 9px;
    letter-spacing: .11em;
  }

  body.page-home .headerRadioMini__ownerName{
    font-size: 11px;
  }

  body.page-home .headerRailBasesStage{
    margin-left: 0;
  }

  body.page-home .headerRailBasesStage::before{
    left: -5px;
    top: 10px;
    bottom: 10px;
    opacity: .7;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railSlide{
    min-height: 100%;
    padding: 12px 14px;
    gap: 12px;
    align-items: center;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .baseInfo{
    justify-content: center;
    gap: 6px;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty{
    padding: 14px 16px;
    align-items: center;
    background:
      radial-gradient(130% 130% at 0% 0%, rgba(240,140,40,.075), rgba(240,140,40,0) 52%),
      rgba(255,255,255,.03);
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty .emptySlide{
    display: grid;
    align-content: center;
    gap: 4px;
    width: 100%;
    min-height: 100%;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty .emptySlide__title{
    font-size: 14px;
    line-height: 1.18;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty .emptySlide__hint{
    max-width: 32ch;
    line-height: 1.32;
  }

  body.page-home .railScroller--promo .railSlide--promo{
    border-radius: 16px;
  }

  body.page-home .railScroller--promo .promoOverlay{
    left: 18px;
    right: 18px;
    bottom: 16px;
  }

  body.page-home .railScroller--promo .promoTitle{
    font-size: 15px;
    line-height: 1.16;
  }

  body.page-home .profileWidget{
    padding: 10px 12px;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest){
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-areas:
      "avatar head"
      "avatar meta"
      "actions actions";
    column-gap: 12px;
    row-gap: 5px;
    align-items: start;
  }

  body.page-home .profileAvatarLarge{
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileAvatarLarge{
    grid-area: avatar;
    align-self: start;
  }

  body.page-home .profileWidgetBody{
    gap: 5px;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetBody{
    display: contents;
  }

  body.page-home .profileWidgetHeaderRow{
    align-items: flex-start;
    gap: 8px;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetHeaderRow{
    grid-area: head;
  }

  body.page-home .profileWidgetName{
    font-size: 13px;
    line-height: 1.12;
  }

  body.page-home .profileWidgetSteamId{
    font-size: 10px;
    line-height: 1.1;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetSteamId{
    grid-area: meta;
  }

  body.page-home .profileWidgetActions{
    gap: 6px;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions{
    grid-area: actions;
    width: 100%;
    margin-top: 2px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-home .profileWidgetActions > .btn,
  body.page-home .profileWidgetActions > a.btn,
  body.page-home .profileWidgetActions > .notifBell > .notifBellBtn{
    min-height: 28px;
    padding: 5px 8px;
    font-size: 11px;
  }
}

@media (min-width: 1360px){
  body.page-home .topline{
    grid-template-columns: 104px minmax(0, 1fr) minmax(288px, 304px);
    gap: 12px;
    padding: 8px var(--page-pad-x) 10px;
  }

  body.page-home .topCenter{
    grid-template-columns: minmax(0, 1.22fr) minmax(310px, .78fr);
    gap: 12px;
  }
}

body.page-home .headerRailBasesShell{
  grid-template-columns: clamp(278px, 36%, 334px) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

body.page-home .headerRadioMini{
  min-height: 0;
  padding: 11px 13px;
  gap: 7px;
  grid-template-rows: auto 1fr;
  align-content: start;
  cursor: pointer;
  user-select: none;
  background:
    radial-gradient(circle at top right, rgba(240,140,40,.14), rgba(240,140,40,0) 46%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast),
    background var(--transition-fast);
}

body.page-home .headerRadioMini:hover{
  border-color: rgba(240,140,40,.24);
  box-shadow:
    0 16px 34px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.08);
  transform: translateY(-1px);
}

body.page-home .headerRadioMini:focus-visible{
  outline: none;
  border-color: rgba(240,140,40,.34);
  box-shadow:
    0 0 0 1px rgba(240,140,40,.26),
    0 16px 34px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.08);
}

body.page-home .headerRadioMini__top{
  gap: 8px;
}

body.page-home .headerRadioMini__badge{
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: .08em;
}

body.page-home .headerRadioMini__peek{
  width: 30px;
  height: 30px;
  margin-left: auto;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.68);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

body.page-home .headerRadioMini:hover .headerRadioMini__peek,
body.page-home .headerRadioMini:focus-visible .headerRadioMini__peek{
  border-color: rgba(240,140,40,.20);
  background: rgba(240,140,40,.10);
  color: rgba(255,255,255,.86);
  transform: translateY(-1px);
}

body.page-home .headerRadioMini__summary{
  min-width: 0;
  display: grid;
  gap: 4px;
  align-content: center;
}

body.page-home .headerRadioMini__eyebrow{
  display: none;
}

body.page-home .headerRadioMini__title{
  margin: 0;
  font-size: 13px;
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -.01em;
  -webkit-line-clamp: 2;
}

body.page-home .headerRadioMini__ownerLine{
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: 16px;
  gap: 5px;
  color: rgba(255,255,255,.70);
}

body.page-home .headerRadioMini__ownerLabel{
  flex: 0 0 auto;
  color: rgba(255,255,255,.48);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 900;
}

body.page-home .headerRadioMini__ownerName{
  min-width: 0;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.page-home .headerRadioMini.is-offline{
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.06), rgba(255,255,255,0) 44%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018));
}

body.page-home .headerRadioMini.is-offline .headerRadioMini__badge{
  color: rgba(255,255,255,.76);
  background: rgba(255,255,255,.04);
}

body.page-home .headerRadioMini.is-offline .headerRadioMini__liveDot{
  background: rgba(255,255,255,.34);
  box-shadow: none;
  animation: none;
}

body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty{
  min-height: 100%;
  display: flex;
  align-items: center;
  padding: 14px 16px;
}

body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty .emptySlide{
  display: grid;
  align-content: center;
  gap: 4px;
  width: 100%;
}

body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty .emptySlide__hint{
  max-width: 32ch;
  line-height: 1.32;
}

#headerRadioModal{
  z-index: 10020;
}

#headerRadioModal .modal__backdrop{
  background: rgba(6,8,11,.72);
  backdrop-filter: blur(6px);
}

#headerRadioModal .modal__dialog.radioModalDialog{
  width: min(580px, calc(100% - 24px));
  margin: calc(var(--sticky-top) + 18px) auto 18px;
  border-color: rgba(255,255,255,.10);
  background:
    radial-gradient(circle at top right, rgba(240,140,40,.12), rgba(240,140,40,0) 36%),
    rgba(15,16,20,.97);
  box-shadow:
    0 30px 70px rgba(0,0,0,.48),
    inset 0 1px 0 rgba(255,255,255,.05);
}

#headerRadioModal .modal__head{
  padding: 16px 18px 14px;
  align-items: flex-start;
}

#headerRadioModal .modal__content.radioModal{
  padding: 0 18px 18px;
  display: grid;
  gap: 16px;
}

.radioModal__head{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.radioModal__badge{
  flex: 0 0 auto;
}

.radioModal__listeners{
  margin-left: auto;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.74);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
}

.radioModal__hero{
  display: grid;
  gap: 8px;
}

.radioModal__kicker{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255,255,255,.46);
  font-weight: 900;
}

.radioModal__title{
  margin: 0;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: .98;
  letter-spacing: -.03em;
  font-weight: 1000;
}

.radioModal__status{
  min-height: 18px;
  color: var(--text700);
  font-size: 13px;
  line-height: 1.45;
}

.radioModal__owner{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  color: inherit;
  text-decoration: none;
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast),
    transform var(--transition-fast);
}

.radioModal__owner:hover{
  border-color: rgba(240,140,40,.22);
  background: rgba(240,140,40,.06);
  transform: translateY(-1px);
}

.radioModal__ownerAvatar{
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.10);
  flex: 0 0 auto;
}

.radioModal__ownerMeta{
  min-width: 0;
  display: grid;
  gap: 4px;
}

.radioModal__ownerLabel{
  color: rgba(255,255,255,.48);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
}

.radioModal__ownerName{
  min-width: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radioModal__actions{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.radioModal__play,
.radioModal__open{
  min-height: 46px;
  padding-inline: 16px;
  border-radius: 14px;
  justify-content: center;
  font-weight: 900;
}

.radioModal__play i{
  font-size: 15px;
}

.radioModal__votes{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.radioModal__vote{
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.radioModal__vote b{
  min-width: 18px;
  text-align: right;
  font-size: 13px;
  font-weight: 900;
}

.radioModal__vote.is-active{
  border-color: rgba(240,140,40,.34);
  background: rgba(240,140,40,.12);
}

.radioModal.is-offline .radioModal__play{
  opacity: .86;
}

@media (max-width: 1180px){
  body.page-home .headerRailBasesShell{
    grid-template-columns: minmax(236px, 284px) minmax(0, 1fr);
  }
}

@media (max-width: 900px){
  body.page-home .headerRailBasesShell{
    grid-template-columns: 1fr;
  }

  body.page-home .headerRadioMini{
    min-height: auto;
  }
}

@media (max-width: 640px){
  body.page-home .headerRadioMini{
    padding: 11px 12px;
  }

  body.page-home .headerRadioMini__ownerLine{
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  #headerRadioModal .modal__dialog.radioModalDialog{
    width: calc(100% - 16px);
    margin: calc(var(--sticky-top) + 10px) auto 10px;
  }

  #headerRadioModal .modal__head{
    padding: 14px 14px 12px;
  }

  #headerRadioModal .modal__content.radioModal{
    padding: 0 14px 14px;
    gap: 14px;
  }

  .radioModal__actions,
  .radioModal__votes{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Topbar audit: shared desktop composition for all tabs
   ========================================================= */
@media (min-width: 981px){
  .topbar{
    --topline-box-h: 122px;
  }

  .topline{
    gap: 12px;
    padding: 10px var(--page-pad-x) 12px;
    align-items: stretch;
  }

  .topCenter{
    gap: 12px;
    height: auto;
    min-height: var(--topline-box-h);
  }

  .topRight{
    min-width: 0;
    display: flex;
    align-self: stretch;
  }

  .brand,
  .headerRailBases,
  .headerRailPromo,
  .profileWidget{
    border-radius: 16px;
  }

  .brand{
    width: 104px;
    min-width: 104px;
    height: auto;
    min-height: var(--topline-box-h);
  }

  .logoSmall{
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .headerRailBases,
  .headerRailPromo,
  .profileWidget{
    min-height: var(--topline-box-h);
  }

  .headerRailBases{
    padding: 9px 12px 11px;
  }

  .headerRailPromo{
    padding: 0;
    min-width: 0;
    flex: 0 0 clamp(320px, 28vw, 500px);
    max-width: 500px;
  }

  .headerRailPromo .railBody{
    height: 100%;
    border-radius: 16px;
  }

  .railHead{
    min-height: 18px;
    margin-bottom: 7px;
    align-items: flex-start;
  }

  .railTitle{
    font-size: 15px;
    font-weight: 800;
  }

  .railMore{
    font-size: 12px;
    line-height: 1.1;
  }

  .headerRailBasesShell{
    grid-template-columns: clamp(278px, 36%, 334px) minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
  }

  .headerRailBasesStage{
    margin-left: 0;
  }

  .headerRailBasesStage::before{
    left: -5px;
    top: 10px;
    bottom: 10px;
    opacity: .7;
  }

  .headerRadioMini{
    min-height: 0;
    padding: 11px 13px;
    gap: 7px;
    border-radius: 16px;
    grid-template-rows: auto 1fr;
    align-content: start;
    box-shadow:
      0 14px 30px rgba(0,0,0,.26),
      inset 0 1px 0 rgba(255,255,255,.07);
  }

  .headerRadioMini__summary{
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 4px;
  }

  .headerRadioMini__title{
    font-size: 13px;
    line-height: 1.16;
  }

  .headerRadioMini__ownerLine{
    min-height: 16px;
    gap: 5px;
  }

  .headerRadioMini__ownerLabel{
    font-size: 9px;
    letter-spacing: .11em;
  }

  .headerRadioMini__ownerName{
    font-size: 11px;
  }

  .headerRailBasesStage .railScroller--bases .railSlide{
    min-height: 100%;
    padding: 12px 14px;
    gap: 12px;
    align-items: center;
  }

  .headerRailBasesStage .railScroller--bases .baseInfo{
    justify-content: center;
    gap: 6px;
  }

  .headerRailBasesStage .railScroller--bases .railSlide--empty{
    padding: 14px 16px;
    align-items: center;
    background:
      radial-gradient(130% 130% at 0% 0%, rgba(240,140,40,.075), rgba(240,140,40,0) 52%),
      rgba(255,255,255,.03);
  }

  .headerRailBasesStage .railScroller--bases .railSlide--empty .emptySlide{
    display: grid;
    align-content: center;
    gap: 4px;
    width: 100%;
    min-height: 100%;
  }

  .headerRailBasesStage .railScroller--bases .railSlide--empty .emptySlide__title{
    font-size: 14px;
    line-height: 1.18;
  }

  .headerRailBasesStage .railScroller--bases .railSlide--empty .emptySlide__hint{
    max-width: 32ch;
    line-height: 1.32;
  }

  .railScroller--promo .railSlide--promo{
    border-radius: 16px;
  }

  .railScroller--promo .promoOverlay{
    left: 18px;
    right: 18px;
    bottom: 16px;
  }

  .railScroller--promo .promoTitle{
    font-size: 15px;
    line-height: 1.16;
  }

  .topRight .profileWidget:not(.profileWidget--guest){
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-areas:
      "avatar head"
      "avatar meta"
      "actions actions";
    column-gap: 12px;
    row-gap: 5px;
    align-items: start;
  }

  .topRight .profileWidget:not(.profileWidget--guest) .profileAvatarLarge{
    grid-area: avatar;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    align-self: start;
  }

  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetBody{
    display: contents;
  }

  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetHeaderRow{
    grid-area: head;
    align-items: flex-start;
    gap: 8px;
  }

  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetName{
    font-size: 13px;
    line-height: 1.12;
  }

  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetSteamId{
    grid-area: meta;
    font-size: 10px;
    line-height: 1.1;
  }

  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions{
    grid-area: actions;
    width: 100%;
    margin-top: 2px;
    gap: 6px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions > .btn,
  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions > a.btn,
  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions > .notifBell > .notifBellBtn{
    width: 100%;
    min-width: 0;
    min-height: 28px;
    padding: 5px 8px;
    font-size: 11px;
    justify-content: center;
  }

  .topRight .profileWidget.profileWidget--guest{
    display: flex;
    align-items: center;
    padding: 10px 12px;
  }
}

@media (min-width: 1360px){
  .topline{
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) minmax(296px, 308px);
    gap: 12px;
    padding: 10px var(--page-pad-x) 12px;
  }

  .topCenter{
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 12px;
    min-width: 0;
    margin-left: 0;
  }

  .topRight{
    margin-left: 0;
    width: auto;
  }

  .headerRailPromo{
    max-width: none;
  }
}

@media (min-width: 901px) and (max-width: 1180px){
  .headerRailBasesShell{
    grid-template-columns: minmax(236px, 284px) minmax(0, 1fr);
  }
}

/* =========================================================
   Topbar audit: unify home page with shared desktop topbar
   and suppress rich-tier overlays inside header widgets
   ========================================================= */
@media (min-width: 981px){
  .topbar .richable[data-rich-tier]::after,
  .topbar [data-rich-tier]::after{
    display: none !important;
  }

  body.page-home .topbar{
    --topline-box-h: 122px;
  }

  body.page-home .topline{
    gap: 12px;
    padding: 10px var(--page-pad-x) 12px;
    align-items: stretch;
  }

  body.page-home .topCenter{
    gap: 12px;
    height: auto;
    min-height: var(--topline-box-h);
    margin-left: 0;
  }

  body.page-home .topRight{
    min-width: 0;
    display: flex;
    align-self: stretch;
    width: auto;
    margin-left: 0;
  }

  body.page-home .brand,
  body.page-home .headerRailBases,
  body.page-home .headerRailPromo,
  body.page-home .profileWidget{
    border-radius: 16px;
    min-height: var(--topline-box-h);
  }

  body.page-home .brand{
    width: 104px;
    min-width: 104px;
    height: auto;
  }

  body.page-home .headerRailBases{
    padding: 9px 12px 11px;
  }

  body.page-home .headerRailPromo{
    padding: 0;
    min-width: 0;
    flex: 0 0 clamp(320px, 28vw, 500px);
    max-width: 500px;
  }

  body.page-home .headerRailPromo .railBody{
    height: 100%;
    border-radius: 16px;
  }

  body.page-home .headerRailBasesShell{
    grid-template-columns: clamp(278px, 36%, 334px) minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
  }

  body.page-home .headerRailBasesStage{
    margin-left: 0;
  }

  body.page-home .headerRailBasesStage::before{
    left: -5px;
    top: 10px;
    bottom: 10px;
    opacity: .7;
  }

  body.page-home .headerRadioMini{
    min-height: 0;
    padding: 11px 13px;
    gap: 7px;
    border-radius: 16px;
    grid-template-rows: auto 1fr;
    align-content: start;
    box-shadow:
      0 14px 30px rgba(0,0,0,.26),
      inset 0 1px 0 rgba(255,255,255,.07);
  }

  body.page-home .headerRadioMini__summary{
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 4px;
  }

  body.page-home .headerRadioMini__title{
    font-size: 13px;
    line-height: 1.16;
  }

  body.page-home .headerRadioMini__ownerLine{
    min-height: 16px;
    gap: 5px;
  }

  body.page-home .headerRadioMini__ownerLabel{
    font-size: 9px;
    letter-spacing: .11em;
  }

  body.page-home .headerRadioMini__ownerName{
    font-size: 11px;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railSlide{
    min-height: 100%;
    padding: 12px 14px;
    gap: 12px;
    align-items: center;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .baseInfo{
    justify-content: center;
    gap: 6px;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty{
    padding: 14px 16px;
    align-items: center;
    background:
      radial-gradient(130% 130% at 0% 0%, rgba(240,140,40,.075), rgba(240,140,40,0) 52%),
      rgba(255,255,255,.03);
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty .emptySlide{
    display: grid;
    align-content: center;
    gap: 4px;
    width: 100%;
    min-height: 100%;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty .emptySlide__title{
    font-size: 14px;
    line-height: 1.18;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty .emptySlide__hint{
    max-width: 32ch;
    line-height: 1.32;
  }

  body.page-home .railScroller--promo .railSlide--promo{
    border-radius: 16px;
  }

  body.page-home .railScroller--promo .promoOverlay{
    left: 18px;
    right: 18px;
    bottom: 16px;
  }

  body.page-home .railScroller--promo .promoTitle{
    font-size: 15px;
    line-height: 1.16;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest){
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-areas:
      "avatar head"
      "avatar meta"
      "actions actions";
    column-gap: 12px;
    row-gap: 5px;
    align-items: start;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileAvatarLarge{
    grid-area: avatar;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    align-self: start;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetBody{
    display: contents;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetHeaderRow{
    grid-area: head;
    align-items: flex-start;
    gap: 8px;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetName{
    font-size: 13px;
    line-height: 1.12;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetSteamId{
    grid-area: meta;
    font-size: 10px;
    line-height: 1.1;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions{
    grid-area: actions;
    width: 100%;
    margin-top: 2px;
    gap: 6px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions > .btn,
  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions > a.btn,
  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions > .notifBell > .notifBellBtn{
    width: 100%;
    min-width: 0;
    min-height: 28px;
    padding: 5px 8px;
    font-size: 11px;
    justify-content: center;
  }
}

@media (min-width: 1360px){
  body.page-home .topline{
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) minmax(296px, 308px);
    gap: 12px;
    padding: 10px var(--page-pad-x) 12px;
  }

  body.page-home .topCenter{
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 12px;
    min-width: 0;
  }

  body.page-home .headerRailPromo{
    max-width: none;
  }
}

@media (min-width: 901px) and (max-width: 1180px){
  body.page-home .headerRailBasesShell{
    grid-template-columns: minmax(236px, 284px) minmax(0, 1fr);
  }
}

/* source: assets/css/site/overrides/90-topbar-polish.css */
/*
 * Extracted from assets/app.css on 2026-04-06.
 * Section: Final topbar, radio and authenticated header polish overrides
 * Source lines: 25804-26904
 */

/* Final polish for the authenticated profile card in the home topbar:
   give action buttons enough room and slightly rebalance promo/profile widths. */
@media (min-width: 1180px){
  body.page-home .topline{
    grid-template-columns: 104px minmax(0, 1fr) minmax(334px, 360px);
    gap: 10px;
  }

  body.page-home .topCenter{
    grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr);
    gap: 10px;
  }

  body.page-home .headerRailPromo{
    flex: 0 0 clamp(250px, 23vw, 410px);
    max-width: 410px;
  }

  body.page-home .topRight{
    min-width: clamp(334px, 20vw, 360px);
    max-width: clamp(334px, 20vw, 360px);
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest){
    padding: 9px 11px;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 4px;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileAvatarLarge{
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetHeaderRow{
    gap: 6px;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetMetrics{
    gap: 5px;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetMetrics .metric,
  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetMetrics > .notifBell > .notifBellBtn{
    min-height: 21px;
    padding: 2px 6px;
    font-size: 10px;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-top: 1px;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions > .btn,
  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions > a.btn,
  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions > .notifBell > .notifBellBtn{
    min-height: 29px;
    padding: 4px 7px;
    font-size: 10.5px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* =========================================================
   Radio page and simplified top radio widget
   ========================================================= */
.headerRadioMini{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  height: auto;
  padding: 8px 10px;
}

.headerRadioMini__top{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
}

.headerRadioMini__badge{
  flex: 0 0 auto;
}

.headerRadioMini__summary--simple{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
}

.headerRadioMini__summary--simple .headerRadioMini__eyebrow,
.headerRadioMini__summary--simple .headerRadioMini__title,
.headerRadioMini__summary--simple .headerRadioMini__ownerLine{
  display: none;
}

.headerRadioMini__simpleTitle{
  margin: 0;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.headerRadioMini__simpleState{
  display: none;
}

.headerRadioMini__miniToggle{
  appearance: none;
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .16s ease;
}

.headerRadioMini:hover .headerRadioMini__miniToggle,
.headerRadioMini:focus-visible .headerRadioMini__miniToggle,
.headerRadioMini__miniToggle:hover{
  border-color: rgba(240,140,40,.28);
  background: rgba(240,140,40,.12);
  color: #fff;
}

.headerRadioMini.is-playing .headerRadioMini__miniToggle{
  border-color: rgba(240,140,40,.34);
  background: rgba(240,140,40,.16);
}

/* Compact top radio pill */
body.page-home .headerRailBasesShell{
  grid-template-columns: clamp(168px, 22%, 196px) minmax(0, 1fr);
}

body.page-home .headerRadioMini{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  min-height: 52px;
  padding: 8px 10px;
  gap: 8px;
  border-radius: 13px;
}

body.page-home .headerRadioMini__top{
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

body.page-home .headerRadioMini__badge{
  flex: 0 0 auto;
  padding: 4px 7px;
  font-size: 9px;
  letter-spacing: .08em;
}

body.page-home .headerRadioMini__miniToggle{
  width: 30px;
  height: 30px;
  margin-left: 0;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .16s ease;
}

body.page-home .headerRadioMini:hover .headerRadioMini__miniToggle,
body.page-home .headerRadioMini:focus-visible .headerRadioMini__miniToggle,
body.page-home .headerRadioMini__miniToggle:hover{
  border-color: rgba(240,140,40,.28);
  background: rgba(240,140,40,.12);
  color: #fff;
}

body.page-home .headerRadioMini__summary--simple{
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

body.page-home .headerRadioMini__simpleTitle{
  font-size: 12px;
  line-height: 1;
  letter-spacing: .08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.page-home .headerRadioMini__simpleState{
  display: none;
}

body.page-home .headerRadioMini.is-playing .headerRadioMini__miniToggle{
  border-color: rgba(240,140,40,.34);
  background: rgba(240,140,40,.16);
}

@media (max-width: 1180px){
  body.page-home .headerRailBasesShell{
    grid-template-columns: minmax(164px, 184px) minmax(0, 1fr);
  }
}

@media (max-width: 900px){
  body.page-home .headerRailBasesShell{
    grid-template-columns: 1fr;
  }

  body.page-home .headerRadioMini{
    min-height: 64px;
  }
}

/* Final topbar layout:
   radio lives as a separate card, bases stay independent, and the right profile
   gets a stable 2x2 action grid without button overflow. */
.headerRailBasesShell{
  display: block;
  min-height: 0;
}

@media (min-width: 1180px){
  .topline{
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) clamp(356px, 21vw, 396px);
    gap: 12px;
    align-items: stretch;
  }

  .topCenter{
    display: grid;
    grid-template-columns: clamp(172px, 14vw, 194px) minmax(0, 1fr) clamp(286px, 25vw, 350px);
    gap: 12px;
    min-width: 0;
    flex: none;
    margin-left: 0;
  }

  .topRight{
    width: 100%;
    min-width: 0;
    margin-left: 0;
    display: flex;
    align-self: stretch;
  }

  .topRight > .profileWidget{
    width: 100%;
  }

  .headerRailBases,
  .headerRailPromo,
  .topCenter > .headerRadioMini{
    min-height: var(--topline-box-h, 104px);
    border-radius: 16px;
  }

  .topCenter > .headerRadioMini{
    padding: 10px 12px;
    align-content: center;
    background:
      radial-gradient(130% 130% at 100% 0%, rgba(240,140,40,.12), rgba(240,140,40,0) 48%),
      linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
    box-shadow:
      0 14px 34px rgba(0,0,0,.24),
      inset 0 1px 0 rgba(255,255,255,.07);
  }

  .topCenter > .headerRadioMini .headerRadioMini__top{
    gap: 8px;
  }

  .topCenter > .headerRadioMini .headerRadioMini__badge{
    padding: 4px 8px;
    font-size: 10px;
  }

  .topCenter > .headerRadioMini .headerRadioMini__simpleTitle{
    font-size: 13px;
    letter-spacing: .08em;
  }

  .topCenter > .headerRadioMini .headerRadioMini__miniToggle{
    width: 32px;
    height: 32px;
  }

  .headerRailBases{
    padding: 9px 12px 11px;
  }

  .headerRailBasesStage{
    height: calc(100% - 28px);
  }

  .headerRailPromo{
    max-width: none;
  }

  .topRight .profileWidget:not(.profileWidget--guest){
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas:
      "avatar head"
      "avatar meta"
      "actions actions";
    column-gap: 11px;
    row-gap: 4px;
  }

  .topRight .profileWidget:not(.profileWidget--guest) .profileAvatarLarge{
    grid-area: avatar;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    align-self: start;
  }

  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetBody{
    display: contents;
  }

  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetHeaderRow{
    grid-area: head;
    gap: 6px;
  }

  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetName{
    font-size: 13px;
    line-height: 1.1;
  }

  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetSteamId{
    grid-area: meta;
    font-size: 10px;
    line-height: 1.1;
  }

  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetMetrics{
    gap: 5px;
  }

  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetMetrics .metric,
  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetMetrics > .notifBell > .notifBellBtn{
    min-height: 22px;
    padding: 2px 6px;
    font-size: 10px;
  }

  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions{
    grid-area: actions;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 2px;
  }

  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions > .btn,
  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions > a.btn,
  .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions > .notifBell > .notifBellBtn{
    width: 100%;
    min-width: 0;
    min-height: 30px;
    padding: 5px 9px;
    font-size: 11px;
    line-height: 1.1;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 901px) and (max-width: 1179px){
  .topCenter{
    display: grid;
    grid-template-columns: clamp(164px, 20vw, 182px) minmax(0, 1fr);
    gap: 10px;
  }

  .topCenter > .headerRadioMini{
    min-height: 88px;
  }

  .headerRailPromo{
    grid-column: 1 / -1;
    max-width: none;
  }
}

/* Home topbar final composition:
   radio is its own card; bases and promo form the second column stack;
   profile gets a little more room so action buttons do not spill out. */
@media (min-width: 1180px){
  body.page-home .topline{
    grid-template-columns: 96px minmax(0, 1fr) clamp(320px, 19.5vw, 360px);
    gap: 12px;
  }

  body.page-home .topCenter{
    display: grid;
    grid-template-columns: clamp(148px, 12vw, 168px) minmax(0, 1fr) clamp(228px, 20vw, 284px);
    gap: 8px;
    align-items: stretch;
    min-height: var(--topline-box-h, 118px);
  }

  body.page-home .topCenter > .headerRadioMini{
    min-height: var(--topline-box-h, 118px);
    height: auto;
    padding: 9px 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: start;
    align-content: start;
  }

  body.page-home .topCenter > .headerRadioMini .headerRadioMini__top{
    gap: 6px;
  }

  body.page-home .topCenter > .headerRadioMini .headerRadioMini__badge{
    padding: 4px 6px;
    font-size: 8px;
    letter-spacing: .06em;
  }

  body.page-home .topCenter > .headerRadioMini .headerRadioMini__simpleTitle{
    font-size: 11px;
    letter-spacing: .04em;
  }

  body.page-home .topCenter > .headerRadioMini .headerRadioMini__miniToggle{
    width: 28px;
    height: 28px;
  }

  body.page-home .headerRailBases{
    min-height: var(--topline-box-h, 118px);
    padding: 9px 10px 10px;
  }

  body.page-home .headerRailBasesStage{
    height: calc(100% - 28px);
    min-height: 0;
  }

  body.page-home .headerRailBasesStage .railBody,
  body.page-home .headerRailBasesStage .railScroller--bases,
  body.page-home .headerRailBasesStage .railTrack{
    height: 100%;
    min-height: 0;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railSlide{
    padding: 10px 12px;
    gap: 14px;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .baseCover{
    width: clamp(98px, 25%, 122px);
    height: 74px;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .baseInfo{
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    gap: 6px;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railTitle{
    font-size: 13px;
    line-height: 1.18;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railSub{
    font-size: 11px;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .baseCounts{
    gap: 6px 11px;
    font-size: 11px;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty{
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px 14px;
    padding: 12px 14px;
    align-items: center;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty .emptySlide{
    align-content: center;
    justify-items: start;
    text-align: left;
    gap: 3px;
    min-height: 0;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty .emptySlide__title{
    font-size: 13px;
    line-height: 1.14;
  }

  body.page-home .headerRailBasesStage .railScroller--bases .railSlide--empty .emptySlide__hint{
    max-width: none;
    font-size: 10px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.page-home .headerRailPromo{
    min-height: var(--topline-box-h, 118px);
    padding: 0;
    max-width: none;
    align-self: stretch;
  }

  body.page-home .headerRailPromo .railBody,
  body.page-home .headerRailPromo .railScroller--promo,
  body.page-home .headerRailPromo .railTrack,
  body.page-home .headerRailPromo .railSlide--promo,
  body.page-home .headerRailPromo .railSlide--promoEmpty{
    height: 100%;
    min-height: 0;
  }

  body.page-home .headerRailPromo .railBody{
    display: block;
    overflow: hidden;
  }

  body.page-home .topRight{
    min-width: 0;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest){
    padding: 10px 12px;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 11px;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions > .btn,
  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions > a.btn,
  body.page-home .topRight .profileWidget:not(.profileWidget--guest) .profileWidgetActions > .notifBell > .notifBellBtn{
    min-height: 30px;
    padding: 5px 9px;
    font-size: 11px;
  }
}

/* source: assets/css/site/overrides/97-reactive-scene.css */
body.has-site-reactive-scene{
  --site-scene-beat:0;
  --site-scene-energy:.08;
  background:#05070b;
}

body.has-site-reactive-scene:not(.page-community)::before{
  content:"";
  position:fixed;
  inset:0 0 auto 0;
  z-index:40;
  height:7.5rem;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(6,8,12,.88), rgba(6,8,12,.56) 58%, rgba(6,8,12,0) 100%);
}

body.page-community.has-site-reactive-scene::before,
body.page-community.has-site-reactive-scene .siteReactiveScene{
  content:none !important;
  display:none !important;
}

.siteReactiveScene{
  position:fixed;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
  contain:layout paint style;
}

.siteReactiveScene::before,
.siteReactiveScene::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
}

.siteReactiveScene--public::before{
  background:
    radial-gradient(circle at 14% 18%, rgba(217,124,43,.16), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(112,148,174,.12), transparent 24%),
    radial-gradient(circle at 50% 74%, rgba(217,124,43,.08), transparent 28%),
    linear-gradient(180deg, rgba(6,8,12,.08), rgba(7,10,14,.22) 44%, rgba(4,6,10,.58));
  opacity:calc(.82 + (var(--site-scene-energy) * .24));
  transform:scale(calc(1 + (var(--site-scene-beat) * .06)));
  transform-origin:center center;
}

.siteReactiveScene--public::after{
  background:
    linear-gradient(90deg, rgba(6,8,12,.58), transparent 18%, transparent 82%, rgba(6,8,12,.58)),
    linear-gradient(180deg, rgba(255,255,255,.018), transparent 18%, transparent 78%, rgba(4,6,10,.62)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.016) 0 1px, transparent 1px 72px);
  opacity:calc(.84 + (var(--site-scene-energy) * .08));
}

.siteReactiveScene__canvas{
  display:block;
  width:100vw;
  height:100vh;
  opacity:.94;
  transform:translateZ(0);
  will-change:transform, opacity;
}

.publicModeControls{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-left:10px;
  flex:0 0 auto;
}

.publicModeControls__button{
  min-height:38px;
  min-width:58px;
  justify-content:center;
  padding-inline:12px;
}

.publicModeControls__button.is-active{
  border-color:rgba(144,201,246,.58);
  background:linear-gradient(180deg, rgba(110,152,182,.28), rgba(40,58,76,.36));
  color:#fff;
  box-shadow:0 10px 24px rgba(112,166,210,.16);
}

.publicModeControls--compact .publicModeControls__button{
  min-height:36px;
}

@media (min-width: 1040px){
  html.has-site-lite-controls:not(.layout-embedded) .publicModeControls{
    position:fixed;
    top:calc(env(safe-area-inset-top, 0px) + 18px);
    right:clamp(16px, 2.4vw, 30px);
    z-index:54;
    margin-left:0;
    padding:8px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:16px;
    background:rgba(7,10,14,.74);
    box-shadow:0 18px 46px rgba(0,0,0,.28);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }
  html.has-site-lite-controls:not(.layout-embedded) .has-public-mode-controls{
    margin-right:clamp(176px, 13vw, 220px);
    padding-top:clamp(42px, 3vw, 52px);
    align-items:flex-start;
  }
  html.has-site-lite-controls:not(.layout-embedded) body.page-community .communityTopbar{
    align-items:flex-start;
  }
  html.has-site-lite-controls:not(.layout-embedded) body.page-community .communityTopbar__right{
    padding-right:clamp(176px, 13vw, 220px);
    padding-top:clamp(42px, 3vw, 52px);
    align-items:flex-start;
  }
}

html.site-lite body.has-site-reactive-scene{
  --site-scene-beat:0;
  --site-scene-energy:.04;
}

html.site-lite body.has-site-reactive-scene::before,
html.site-lite .siteReactiveScene,
html.site-lite .radioHub__scene,
html.site-lite .statsHub__backdrop,
html.site-lite .playerHub__backdrop,
html.site-lite .profileHub__backdrop,
html.site-lite .marketHub__backdrop,
html.site-lite .newsHub__backdrop,
html.site-lite .basesHub__backdrop,
html.site-lite .baseHub__backdrop,
html.site-lite .baseCreateHub__backdrop,
html.site-lite .mapHub__backdrop,
html.site-lite .votePage__backdrop,
html.site-lite .radioHub__backdrop{
  display:none !important;
}

html.site-lite body.has-site-reactive-scene .statsHub::after,
html.site-lite body.has-site-reactive-scene .playerHub::after,
html.site-lite body.has-site-reactive-scene .profileHub::after,
html.site-lite body.has-site-reactive-scene .marketHub::after,
html.site-lite body.has-site-reactive-scene .newsHub::after,
html.site-lite body.has-site-reactive-scene .basesHub::after,
html.site-lite body.has-site-reactive-scene .baseHub::after,
html.site-lite body.has-site-reactive-scene .baseCreateHub::after,
html.site-lite body.has-site-reactive-scene .mapHub::after,
html.site-lite body.has-site-reactive-scene .votePage::after,
html.site-lite body.has-site-reactive-scene .communityPublicTabs::after,
html.site-lite body.has-site-reactive-scene .webchatFront::after{
  content:none !important;
}

html.site-lite body.has-site-reactive-scene .statsHub,
html.site-lite body.has-site-reactive-scene .playerHub,
html.site-lite body.has-site-reactive-scene .profileHub,
html.site-lite body.has-site-reactive-scene .marketHub,
html.site-lite body.has-site-reactive-scene .newsHub,
html.site-lite body.has-site-reactive-scene .basesHub,
html.site-lite body.has-site-reactive-scene .baseHub,
html.site-lite body.has-site-reactive-scene .baseCreateHub,
html.site-lite body.has-site-reactive-scene .mapHub,
html.site-lite body.has-site-reactive-scene .votePage,
html.site-lite body.has-site-reactive-scene .communityPublicTabs,
html.site-lite body.has-site-reactive-scene .webchatFront,
html.site-lite .radioHub{
  background:linear-gradient(180deg, rgba(8,10,14,.92), rgba(7,10,14,.98)) !important;
}

html.site-lite body.has-site-reactive-scene .rust-panel,
html.site-lite body.has-site-reactive-scene .panel,
html.site-lite body.has-site-reactive-scene .sitePanel,
html.site-lite .radioHub__hero,
html.site-lite .mapHub__hero,
html.site-lite .mapHub__board{
  box-shadow:0 14px 32px rgba(0,0,0,.22) !important;
}

body.has-site-reactive-scene main.wrap{
  position:relative;
  z-index:1;
  background:transparent;
  isolation:isolate;
}

body.has-site-reactive-scene .statsHub,
body.has-site-reactive-scene .playerHub,
body.has-site-reactive-scene .profileHub,
body.has-site-reactive-scene .marketHub,
body.has-site-reactive-scene .newsHub,
body.has-site-reactive-scene .basesHub,
body.has-site-reactive-scene .baseHub,
body.has-site-reactive-scene .baseCreateHub,
body.has-site-reactive-scene .mapHub,
body.has-site-reactive-scene .votePage,
body.has-site-reactive-scene .communityPublicTabs,
body.has-site-reactive-scene .webchatFront{
  position:relative;
  isolation:isolate;
  background:
    radial-gradient(circle at 14% 0%, rgba(217,124,43,.12), transparent 26rem),
    radial-gradient(circle at 86% 12%, rgba(110,146,174,.08), transparent 28rem),
    linear-gradient(180deg, rgba(7,10,14,.28), rgba(7,10,14,.54) 42%, rgba(7,10,14,.78)) !important;
}

body.has-site-reactive-scene .statsHub::after,
body.has-site-reactive-scene .playerHub::after,
body.has-site-reactive-scene .profileHub::after,
body.has-site-reactive-scene .marketHub::after,
body.has-site-reactive-scene .newsHub::after,
body.has-site-reactive-scene .basesHub::after,
body.has-site-reactive-scene .baseHub::after,
body.has-site-reactive-scene .baseCreateHub::after,
body.has-site-reactive-scene .mapHub::after,
body.has-site-reactive-scene .votePage::after,
body.has-site-reactive-scene .communityPublicTabs::after,
body.has-site-reactive-scene .webchatFront::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 70px),
    linear-gradient(0deg, rgba(255,255,255,.014) 0 1px, transparent 1px 38px);
  opacity:calc(.08 + (var(--site-scene-energy) * .08));
  mix-blend-mode:screen;
}

body.has-site-reactive-scene .statsHub__shell,
body.has-site-reactive-scene .playerHub__shell,
body.has-site-reactive-scene .profileHub__shell,
body.has-site-reactive-scene .marketHub__shell,
body.has-site-reactive-scene .newsHub__shell,
body.has-site-reactive-scene .basesHub__shell,
body.has-site-reactive-scene .baseHub__shell,
body.has-site-reactive-scene .baseCreateHub__shell,
body.has-site-reactive-scene .mapHub__shell,
body.has-site-reactive-scene .votePage__shell,
body.has-site-reactive-scene .communityPublicTabs__body,
body.has-site-reactive-scene .communityPublicTabs__head,
body.has-site-reactive-scene .webchatFront__shell{
  position:relative;
  z-index:1;
}

body.has-site-reactive-scene .statsHub__backdrop,
body.has-site-reactive-scene .playerHub__backdrop,
body.has-site-reactive-scene .newsHub__backdrop,
body.has-site-reactive-scene .basesHub__backdrop,
body.has-site-reactive-scene .baseHub__backdrop,
body.has-site-reactive-scene .baseCreateHub__backdrop,
body.has-site-reactive-scene .mapHub__backdrop,
body.has-site-reactive-scene .votePage__backdrop{
  opacity:calc(.12 + (var(--site-scene-energy) * .08));
}

body.has-site-reactive-scene.is-site-reactive .rust-panel,
body.has-site-reactive-scene.is-site-reactive .panel.panel--soft,
body.has-site-reactive-scene.is-site-reactive .votePage__hero,
body.has-site-reactive-scene.is-site-reactive .votePage__card{
  box-shadow:
    0 20px 52px rgba(0,0,0,.28),
    0 0 0 1px rgba(217,124,43,.06);
}

@media (max-width: 860px){
  body.has-site-reactive-scene::before{
    height:5.25rem;
  }

  .siteReactiveScene--public::after{
    background:
      linear-gradient(90deg, rgba(6,8,12,.52), transparent 10%, transparent 90%, rgba(6,8,12,.52)),
      linear-gradient(180deg, rgba(255,255,255,.012), transparent 16%, transparent 82%, rgba(4,6,10,.6));
  }
}

@media (max-width: 640px){
  .publicModeControls{
    width:100%;
    justify-content:stretch;
  }

  .publicModeControls__button{
    flex:1 1 0;
    justify-content:center;
  }
}

/* source: assets/css/site/overrides/98-public-scale.css */
html{
  font-size:85%;
}

/* source: assets/css/site/overrides/99-scroll-performance.css */
/*
 * Public scroll performance trim.
 * Keeps the current visual style, but removes the heaviest scroll-time effects
 * on public pages: global smooth scrolling, sticky blur layers and eager layer hints.
 */

html,
html:focus-within{
  scroll-behavior:auto !important;
}

html.site-lite,
html.site-lite:focus-within{
  scroll-behavior:auto !important;
}

.topbar,
.tableScroll thead th{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

body.page-stats .grid > aside{
  will-change:auto;
}

body.page-stats .topRole,
body.page-stats .podiumCard,
body.page-stats .rankTile,
body.page-player .playerHub .playerTabs__row,
body.page-player .playerHub .accBox{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

body.page-player .playerHub .playerTabs__row{
  background:rgba(10,12,15,.92);
}

body.page-stats .topRole__list,
body.page-stats aside.stack{
  overscroll-behavior:auto;
}

body.page-player .playerHub .playerFeatured,
body.page-player .playerHub .playerGlobalSearch,
body.page-player .playerHub .playerSection,
body.page-player .playerHub .simpleSection,
body.page-player .playerHub .playerQuick .statTile,
body.page-player .playerHub .accuracyCard,
body.page-player .playerHub .buildingList,
body.page-player .playerHub .accList{
  box-shadow:0 10px 24px rgba(0,0,0,.16);
}

html.site-lite .topbar,
html.site-lite .tableScroll thead th,
html.site-lite body.page-stats .topRole,
html.site-lite body.page-stats .podiumCard,
html.site-lite body.page-stats .rankTile,
html.site-lite body.page-player .playerHub .playerTabs__row,
html.site-lite body.page-player .playerHub .accBox{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

html.site-lite body.page-player .playerHub .playerFeatured,
html.site-lite body.page-player .playerHub .playerGlobalSearch,
html.site-lite body.page-player .playerHub .playerSection,
html.site-lite body.page-player .playerHub .simpleSection,
html.site-lite body.page-player .playerHub .playerQuick .statTile,
html.site-lite body.page-player .playerHub .accuracyCard,
html.site-lite body.page-player .playerHub .buildingList,
html.site-lite body.page-player .playerHub .accList{
  box-shadow:0 8px 18px rgba(0,0,0,.14);
}

html.site-lite body.page-stats .statsHub *,
html.site-lite body.page-player .playerHub *,
html.site-lite body.page-radio .radioHub *,
html.site-lite body.page-map .mapHub *,
html.site-lite body.page-news .newsHub *,
html.site-lite body.page-market .marketHub *,
html.site-lite body.page-profile .profileHub *,
html.site-lite body.page-bases .basesHub *,
html.site-lite body.page-base .baseHub *,
html.site-lite body.page-base_create .baseCreateHub *,
html.site-lite body.page-webchat .webchatFront *,
html.site-lite body.page-vote .votePage *,
html.site-lite body.page-community .communityPublicTabs *{
  animation-duration:.001ms !important;
  animation-iteration-count:1 !important;
  transition-duration:.001ms !important;
}
