/*
 * DayZ Server Control permanent brand identity.
 * The DSC mark is intentionally application-owned and is not theme-configurable.
 */

/* Keep the public viewport width stable between short and long pages.
 * Without a reserved scrollbar gutter, navigating to a page that starts/stops
 * needing a vertical scrollbar nudges the centred site shell left/right. */
html.public-site{overflow-y:scroll}
@supports (scrollbar-gutter:stable){
  html.public-site{overflow-y:auto;scrollbar-gutter:stable}
}

/* Public view links intentionally jump from the shared hero to the selected
 * content panel. Reserve room for the sticky header while keeping the stable
 * scrollbar gutter that prevents left/right layout movement. */
html.public-site{scroll-behavior:smooth}
html.public-site #public-content-stage{scroll-margin-top:92px}
.dsc-system-brand{display:flex!important;align-items:center!important;gap:10px!important;text-decoration:none!important}
.dsc-system-brand .dsc-logo-mark{width:50px!important;height:50px!important;max-width:50px!important;object-fit:contain!important;flex:0 0 50px!important;filter:drop-shadow(0 3px 8px rgba(0,0,0,.28))}
.dsc-brand-lockup{display:grid!important;gap:1px!important;line-height:1!important;min-width:0}
.dsc-brand-lockup strong{display:block!important;color:var(--nav-text)!important;font-size:.86rem!important;font-weight:950!important;letter-spacing:.045em!important;white-space:nowrap}
.dsc-brand-lockup small{display:flex!important;align-items:center!important;gap:5px!important;color:var(--accent)!important;font-size:.49rem!important;font-weight:900!important;letter-spacing:.075em!important;text-transform:uppercase!important;margin-top:4px!important;white-space:nowrap!important}
.public-header .dsc-brand-lockup strong{color:var(--nav-text)!important}
.public-header .dsc-brand-lockup small{color:var(--accent)!important}
.public-brand.dsc-system-brand{min-width:245px!important}
.admin-brand.dsc-system-brand{min-width:250px!important}

.dsc-auth-brand{display:flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;margin-bottom:20px!important}
.auth-brand.dsc-auth-brand img{width:92px!important;height:92px!important;max-width:92px!important;object-fit:contain!important;filter:drop-shadow(0 8px 20px rgba(0,0,0,.35))}
.dsc-auth-wordmark{display:grid;gap:5px}.dsc-auth-wordmark strong{font-size:1rem;font-weight:950;letter-spacing:.05em;color:var(--text)}.dsc-auth-wordmark small{display:flex;align-items:center;justify-content:center;gap:6px;font-size:.54rem;font-weight:900;letter-spacing:.075em;color:var(--accent);text-transform:uppercase;white-space:nowrap}

@media(max-width:900px){
  .admin-brand.dsc-system-brand{min-width:0!important}
  .admin-header .dsc-brand-lockup{display:none!important}
}
@media(max-width:700px){
  .public-brand.dsc-system-brand{min-width:0!important}
  .public-header .dsc-brand-lockup{display:none!important}
  .dsc-system-brand .dsc-logo-mark{width:44px!important;height:44px!important;max-width:44px!important;flex-basis:44px!important}
}
@media(max-width:480px){
  .dsc-auth-brand{display:grid!important;justify-items:center!important;text-align:center!important}
}
