:root {
  --titanium-shell-max-width: 1760px;
  --titanium-shell-side-padding: 48px;
  --titanium-shell-text: #f3efff;
  --titanium-shell-muted: #8d85aa;
  --titanium-shell-disabled: #5f586e;
  --titanium-shell-border: #7460d5;
  --titanium-shell-active: rgba(96, 72, 204, .52);
}

.titanium-shell-header {
  box-sizing: border-box;
  width: min(var(--titanium-shell-max-width), calc(100% - 64px));
  height: auto !important;
  min-height: 96px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 20;
  overflow: visible !important;
  font-family: Inter, Arial, sans-serif;
}

.titanium-shell-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--titanium-shell-text);
  text-decoration: none;
}

.titanium-shell-mark {
  box-sizing: border-box;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--titanium-shell-border);
  border-radius: 10px;
  color: #b59cff;
  font: 800 16px/1 Arial, sans-serif;
}

.titanium-shell-name {
  color: var(--titanium-shell-text);
  font: 900 23px/1 Arial, sans-serif;
  letter-spacing: .055em;
}

.titanium-shell-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--titanium-shell-muted);
  font: 800 10px/1 Arial, sans-serif;
  letter-spacing: .15em;
}

.titanium-shell-online i {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 50%;
  background: #b4ff64;
  box-shadow: 0 0 8px rgba(180, 255, 100, .7);
}

.titanium-shell-nav {
  box-sizing: border-box;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.titanium-shell-nav a {
  box-sizing: border-box;
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--titanium-shell-muted);
  font: 800 12px/1 Arial, sans-serif;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.titanium-shell-nav a:hover,
.titanium-shell-nav a:focus-visible,
.titanium-shell-nav a.active {
  border-color: var(--titanium-shell-border);
  background: var(--titanium-shell-active);
  box-shadow: 0 8px 20px rgba(71, 38, 184, .22);
  color: #fff;
  outline: none;
}

.titanium-shell-nav a.disabled,
.titanium-shell-nav a.disabled:hover {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: var(--titanium-shell-disabled);
  cursor: not-allowed;
  pointer-events: none;
}

.titanium-shell-footer {
  box-sizing: border-box;
  width: min(var(--titanium-shell-max-width), calc(100% - 64px));
  margin: 72px auto 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--titanium-shell-disabled);
  font: 800 10px/1.3 Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 1280px) {
  .titanium-shell-header { gap: 20px; }
  .titanium-shell-nav { gap: 2px; }
  .titanium-shell-nav a { padding: 0 10px; font-size: 11px; }
}

@media (max-width: 980px) {
  .titanium-shell-header {
    width: calc(100% - 32px);
    min-height: 0;
    padding: 18px 0 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .titanium-shell-nav {
    width: 100%;
    flex: 0 0 42px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .titanium-shell-footer {
    width: calc(100% - 32px);
    margin-top: 56px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
