.site-masthead {
  position: sticky;
  top: 0;
  z-index: 35;
  width: 100%;
  min-height: 68px;
  padding: 0;
  margin: 0;
  background: rgba(10, 8, 21, .96);
  border-bottom: 1px solid #382746;
  backdrop-filter: blur(14px);
}
.masthead-inner {
  width: min(100%, 1680px);
  box-sizing: border-box;
  min-height: 68px;
  margin-inline: auto;
  padding: 8px clamp(16px, 3.4vw, 62px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.masthead-brand, .masthead-nav, .masthead-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 24px);
}
.masthead-brand, .masthead-nav a, .masthead-account {
  color: #eae0f5;
  text-decoration: none;
  font: 12px ui-monospace, Consolas, monospace;
  letter-spacing: .02em;
}
.masthead-brand { gap: 10px; letter-spacing: .16em; }
.masthead-brand img { display: block; flex: none; }
.masthead-nav a, .masthead-account {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  white-space: nowrap;
}
.masthead-nav a:hover, .masthead-nav a[aria-current="page"] { color: #ffb9ef; }
.masthead-account {
  padding-inline: 12px;
  border: 1px solid #a66d9d;
  border-radius: 7px;
  background: #27162e;
  color: #ffe7fb;
}
.masthead-account:hover { background: #422044; }
.site-masthead a:focus-visible, .site-masthead button:focus-visible {
  outline: 2px solid #8af4df;
  outline-offset: 3px;
}
.gravion-intro {
  background: radial-gradient(ellipse at 50% 32%, #26143b, #0a0815 65%);
}
.gravion-intro main { padding-block: clamp(18px, 3.5vh, 42px) 44px; }
.gravion-intro .enter { border-radius: 8px; }
.gravion-explore { overflow-x: clip; }
.gravion-explore .topbar { height: auto; display: block; }
.gravion-explore .hero { padding-block-start: clamp(48px, 7vw, 110px); }
.gravion-explore .hero-visual { border-color: #583b67; box-shadow: 0 24px 90px #0008, 0 0 52px #834fc416; }
.gravion-explore .desktop-nav { gap: clamp(14px, 2vw, 34px); }
.gravion-explore .top-cta { border-radius: 7px; }
.gravion-explore .mobile-nav { top: 69px; }
.gravion-store .store-hero { border-radius: 16px; }
.gravion-store .store-panel { border-color: #42314e; }
.store-back { display:inline-flex; margin-bottom:16px; color:var(--cyan); }
@media (max-width:720px) {
  .masthead-nav, .masthead-actions { gap: 9px; }
  .masthead-nav a, .masthead-account, .masthead-brand { font-size: 11px; }
  .masthead-brand { gap: 5px; }
  .masthead-brand img { width: 27px; height: 27px; }
  .masthead-account { padding-inline: 8px; }
  .gravion-explore .top-cta { display: none; }
}
@media (max-width:400px) {
  .masthead-inner { padding-inline: 10px; gap: 6px; }
  .masthead-nav { gap: 7px; }
  .masthead-brand { letter-spacing: .06em; }
}

body:has(> .site-masthead) { overflow-x:clip; }
@media (max-width:360px) {
  .masthead-brand strong { display:none; }
}
