.sphere-site-header {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1184px, calc(100% - 48px));
  height: 60px;
  padding: 8px 10px 8px 18px;
  display: flex;
  align-items: center;
  gap: 26px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(238,240,248,.72);
  box-shadow: 0 18px 56px rgba(0,0,0,.22);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  color: #0B1230;
}

.sphere-site-brand,
.sphere-site-nav a,
.sphere-site-footer a { text-decoration: none; }

.sphere-site-brand { display: inline-flex; align-items: center; gap: 10px; color: #0B1230; font-weight: 800; font-size: 17px; white-space: nowrap; }
.sphere-site-brand img, .sphere-site-footer-brand img { width: 28px; height: 28px; object-fit: contain; }
.sphere-site-nav { display: flex; align-items: center; gap: 26px; margin-right: auto; }
.sphere-site-nav a { color: rgba(11,18,48,.68); font-size: 14px; font-weight: 600; }
.sphere-site-nav a:hover { color: #0B1230; }
.sphere-site-languages { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.46); }
.sphere-site-languages button { min-width: 38px; height: 36px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: rgba(11,18,48,.58); font: 600 12px/1 var(--font-body, system-ui, sans-serif); cursor: pointer; }
.sphere-site-languages button.active { background: linear-gradient(180deg,#FBB03C,#E89C28); color: #0B1230; box-shadow: 0 3px 10px rgba(251,176,60,.35); }

body > .back-link,
body > .lang-bar,
.copyright,
.doc-footer { display: none !important; }

.sphere-site-footer { position: relative; z-index: 2; padding: 64px max(24px, calc((100vw - 1184px)/2)) 26px; background: #050820; color: rgba(255,255,255,.66); font: 13px/1.8 var(--font-body, system-ui, sans-serif); }
.sphere-site-footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; padding-bottom: 42px; }
.sphere-site-footer-grid > div, .sphere-site-footer nav { display: flex; flex-direction: column; align-items: flex-start; }
.sphere-site-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #fff; font-size: 17px; }
.sphere-site-footer a { color: #FBB03C; }
.sphere-site-footer nav { text-align: right; }
.sphere-site-footer nav a { color: rgba(255,255,255,.66); }
.sphere-site-footer nav a:hover { color: #fff; }
.sphere-site-footer-bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.42); }

@media (max-width: 768px) {
  .sphere-site-header { top: 12px; width: calc(100% - 24px); height: 52px; padding: 7px 8px 7px 14px; gap: 10px; }
  .sphere-site-brand { margin-right: auto; font-size: 16px; }
  .sphere-site-brand img { width: 24px; height: 24px; }
  .sphere-site-nav { display: none; }
  .sphere-site-languages button { min-width: 34px; height: 32px; padding: 0 8px; }
  .sphere-site-footer { padding: 48px 24px 24px; }
  .sphere-site-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .sphere-site-footer nav { text-align: left; }
}
