:root {
  --shell-bg: #05070c;
  --shell-text: #f7f8fc;
  --shell-muted: #9ca8b7;
  --shell-accent: #5eead4;
  --shell-line: rgba(255, 255, 255, .08);
}

.global-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 62px;
  padding: 11px clamp(18px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--shell-text);
  background: rgba(7, 11, 16, .88);
  border-bottom: 1px solid var(--shell-line);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.global-brand {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--shell-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.global-brand:hover { color: var(--shell-text); text-decoration: none; }
.global-brand img { width: 36px; height: 36px; display: block; border-radius: 10px; object-fit: contain; }
.global-brand b { color: var(--shell-accent); }

.global-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.global-nav a {
  min-height: 34px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  color: var(--shell-muted);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.global-nav a:hover { color: var(--shell-text); background: rgba(255, 255, 255, .055); text-decoration: none; }
.global-nav a[aria-current="page"] { color: var(--shell-accent); background: rgba(94, 234, 212, .08); }

.global-footer {
  margin-top: auto;
  color: var(--shell-muted);
  border-top: 1px solid var(--shell-line);
  font-size: 12.5px;
}

.global-footer-inner {
  width: 100%;
  padding: 18px clamp(18px, 4vw, 56px) 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.global-footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.global-footer a { color: var(--shell-muted); text-decoration: none; }
.global-footer a:hover { color: var(--shell-accent); }

@media (max-width: 560px) {
  .global-header { gap: 12px; padding-inline: 14px; }
  .global-brand { gap: 8px; font-size: 14px; }
  .global-brand img { width: 34px; height: 34px; }
  .global-nav { gap: 0; }
  .global-nav a { padding-inline: 7px; font-size: 12px; }
  .global-footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 360px) {
  .global-nav a:first-child { display: none; }
}
