.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 7px;
  color: #111318;
  background: var(--gold);
  font-weight: 750;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.global-header {
  position: relative;
  z-index: 50;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--header-bg);
}

.global-header-left,
.global-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.global-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  text-decoration: none;
  font-size: .96rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.global-brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  object-fit: cover;
}

.header-support {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 600;
}

.header-support:hover { color: var(--text-main); }
.dashboard-account { position: relative; }

.dashboard-user-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 7px 4px 4px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--text-main);
  background: transparent;
  cursor: pointer;
}

.dashboard-user-button:hover,
.dashboard-user-button[aria-expanded="true"] { border-color: var(--line-strong); background: rgba(255,255,255,.035); }

.dashboard-user-avatar {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  object-fit: cover;
  background: rgba(255,255,255,.04);
}

.dashboard-user-name {
  max-width: 160px;
  overflow: hidden;
  font-size: .82rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-user-caret {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  color: var(--text-dim);
}

.dashboard-user-button[aria-expanded="true"] .dashboard-user-caret { transform: rotate(180deg); }

.dashboard-user-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  right: 0;
  width: 210px;
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #101319;
  box-shadow: 0 18px 45px rgba(0,0,0,.4);
}

.dashboard-user-menu-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  padding: 8px;
  border-bottom: 1px solid var(--line-soft);
}

.dashboard-user-menu-profile img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.dashboard-user-menu-profile div { min-width: 0; }
.dashboard-user-menu-profile strong,
.dashboard-user-menu-profile span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-user-menu-profile strong { font-size: .82rem; }
.dashboard-user-menu-profile span { margin-top: 2px; color: var(--text-dim); font-size: .7rem; }

.dashboard-user-menu a {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: .8rem;
}

.dashboard-user-menu a:hover,
.dashboard-user-menu a:focus-visible { color: var(--text-main); background: rgba(255,255,255,.05); }
.dashboard-user-menu .menu-logout { margin-top: 5px; border-top: 1px solid var(--line-soft); border-radius: 0 0 6px 6px; color: #ff9b9b; }

.mobile-menu-button {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--text-main);
  background: transparent;
  cursor: pointer;
}

.mobile-menu-button svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
[hidden] { display: none !important; }
