/* ============================================================
   VIKO CHEAT — Layout
   Brand, header, navigation, footer, page headers, scene.
   ============================================================ */

/* ── 3D scene layer ──────────────────────────────────────── */
.viko-scene {
  position: fixed;
  inset: 0;
  z-index: var(--z-scene);
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1600ms var(--ease);
}
.viko-scene.is-ready { opacity: 1; }
.scene-vignette {
  position: fixed;
  inset: 0;
  z-index: var(--z-scene);
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, transparent 40%, rgba(2,4,8,0.65) 100%),
    linear-gradient(180deg, transparent 60%, rgba(2,4,8,0.55));
}
body > main, .site-footer, .site-header, .mobile-nav { position: relative; }
main { z-index: var(--z-base); display: block; min-height: 60vh; }

/* Calm mode (checkout, payment): environment dims, motion stops */
body.is-calm .viko-scene { opacity: 0.35 !important; }

/* ── Brand / logo system ─────────────────────────────────── */
.viko-mark {
  --mark-accent: var(--c-blue);
  width: 34px;
  height: auto;
  color: var(--c-paper);
  overflow: visible;
}
.viko-mark .vm-left { fill: currentColor; }
.viko-mark .vm-right { fill: currentColor; opacity: 0.78; }
.viko-mark .vm-seam { fill: var(--mark-accent); }
.viko-mark .vm-blade { fill: var(--mark-accent); }
.viko-mark.is-light { color: var(--c-black); }
.viko-mark.is-mono { --mark-accent: currentColor; }
.viko-mark.is-mono .vm-right { opacity: 0.6; }

.viko-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--tx-strong);
  flex-shrink: 0;
}
.viko-brand .viko-mark { width: 30px; transition: transform var(--dur-3) var(--ease-out); }
.viko-brand:hover .viko-mark { transform: translateY(-1px); }
.viko-brand:hover .vm-blade, .viko-brand:hover .vm-seam { filter: drop-shadow(0 0 6px var(--c-blue)); }
.viko-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.viko-wordmark b {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: 0.14em;
  color: var(--tx-strong);
}
.viko-wordmark small {
  margin-top: 4px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--tx-muted);
}
.viko-brand-compact .viko-wordmark small { display: none; }
.viko-brand-mark .viko-wordmark { display: none; }

/* Light sweep over the mark on hover */
.viko-brand .brand-sweep {
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.viko-brand .brand-sweep::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -60%;
  width: 40%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg) translateX(0);
  opacity: 0;
}
.viko-brand:hover .brand-sweep::after { animation: brand-sweep 900ms var(--ease-out); }
@keyframes brand-sweep { 0% { opacity: 1; transform: skewX(-20deg) translateX(0); } 100% { opacity: 0; transform: skewX(-20deg) translateX(380%); } }

/* One-time reveal of the mark on first paint */
.viko-brand.is-reveal .vm-left { animation: blade-in 900ms var(--ease-out) both; }
.viko-brand.is-reveal .vm-right { animation: blade-in 900ms 120ms var(--ease-out) both; }
.viko-brand.is-reveal .vm-blade, .viko-brand.is-reveal .vm-seam { animation: blade-in 900ms 240ms var(--ease-out) both; }
@keyframes blade-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .viko-brand.is-reveal * { animation: none !important; } }

/* Legacy logo classes still used by a few templates */
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-stretch: var(--stretch-head); font-weight: 800; color: var(--tx-strong); }
.logo-image { height: 32px; width: auto; object-fit: contain; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  transition: background-color var(--dur-3) var(--ease), box-shadow var(--dur-3) var(--ease), backdrop-filter var(--dur-3) var(--ease), transform var(--dur-3) var(--ease-out);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-mid) 20%, var(--line-mid) 80%, transparent);
  opacity: 0;
  transition: opacity var(--dur-3);
}
.site-header.is-scrolled, .site-header.scrolled {
  background: rgba(2, 4, 8, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.site-header.is-scrolled::after, .site-header.scrolled::after { opacity: 1; }
.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: 100%;
  max-width: calc(var(--container-wide) + var(--gutter) * 2);
}

.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
}
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--tx);
  transition: color var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease);
}
.main-nav a:hover { color: var(--tx-strong); background: rgba(200, 210, 222, 0.05); }
.main-nav a.active { color: var(--tx-strong); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: -2px;
  height: 2px;
  background: var(--c-blue);
  box-shadow: 0 0 12px var(--c-blue);
}
.main-nav.has-indicator a.active::after { display: none; }
.nav-indicator {
  position: absolute;
  bottom: calc(50% - 20px);
  left: 0;
  height: 2px;
  width: 0;
  background: var(--c-blue);
  box-shadow: 0 0 12px var(--c-blue);
  transition: transform var(--dur-3) var(--ease-out), width var(--dur-3) var(--ease-out), opacity var(--dur-2);
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.header-auth { display: flex; align-items: center; gap: var(--space-2); margin-left: 6px; }
.cart-link { position: relative; }
.cart-count {
  position: absolute;
  top: 3px; right: 2px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--c-blue);
  color: var(--tx-on-blue);
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.cart-count:empty, .cart-count[data-count="0"] { display: none; }

.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 10px 0 4px;
  margin-left: 6px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--line-mid);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--tx-strong);
  transition: box-shadow var(--dur-2), background-color var(--dur-2);
}
.account-trigger:hover, .account-trigger[aria-expanded="true"] { box-shadow: inset 0 0 0 1px var(--line-strong); background: rgba(200,210,222,0.04); }
.account-trigger .i { width: 14px; height: 14px; color: var(--tx-muted); transition: transform var(--dur-2); }
.account-trigger[aria-expanded="true"] .i { transform: rotate(180deg); }
.account-trigger .name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(140deg, var(--c-navy-700), var(--surface-3));
  box-shadow: inset 0 0 0 1px var(--line-mid);
  color: var(--tx-strong);
  font-family: var(--font-display);
  font-stretch: var(--stretch-head);
  font-weight: 800;
  font-size: 0.8125rem;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 56px; height: 56px; font-size: 1.25rem; }
.avatar-xl { width: 80px; height: 80px; font-size: 1.75rem; }

/* Search */
.search-box { position: relative; }
.search-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: -60px;
  z-index: var(--z-dropdown);
  width: min(420px, calc(100vw - 32px));
  padding: 10px;
  border-radius: var(--radius-md);
  background: rgba(9, 18, 29, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-3), inset 0 0 0 1px var(--line-mid);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-2), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.search-panel.open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-2), transform var(--dur-2) var(--ease-out); }
.search-panel .form-control { padding-left: 40px; background-image: none; }
.search-panel .search-field { position: relative; }
.search-panel .search-field .i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--tx-muted); width: 17px; height: 17px; }
.search-results:not(:empty) { margin-top: 8px; max-height: 320px; overflow-y: auto; }
.search-results .group-label { padding: 8px 10px 4px; font-size: var(--fs-meta); font-weight: 600; color: var(--tx-muted); }
.search-results a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius-sm); font-size: var(--fs-small); color: var(--tx); }
.search-results a:hover, .search-results a:focus-visible { background: rgba(0, 175, 255, 0.08); color: var(--tx-strong); }

/* Hamburger */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: 4px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--tx-strong);
}
.hamburger:hover { background: rgba(200, 210, 222, 0.06); }
.hamburger .i { width: 22px; height: 22px; }
.hamburger .i-close { display: none; }
.hamburger[aria-expanded="true"] .i-open { display: none; }
.hamburger[aria-expanded="true"] .i-close { display: block; }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  padding: var(--space-5) var(--gutter) calc(var(--space-6) + env(safe-area-inset-bottom));
  background: rgba(2, 4, 8, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3);
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease-out); }
.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-stretch: var(--stretch-head);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--tx-strong);
}
.mobile-nav-links a .i { width: 18px; height: 18px; color: var(--tx-muted); }
.mobile-nav-links a.active { color: var(--c-cyan); }
.mobile-nav-links a.active .i { color: var(--c-cyan); }
.mobile-nav-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; margin-top: var(--space-5); }
.mobile-nav-sub a { padding: 10px 0; font-size: var(--fs-small); color: var(--tx); }
.mobile-nav .header-auth { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin: var(--space-6) 0 0; }
.mobile-nav .mobile-nav-account { margin-top: var(--space-6); }
.mobile-nav.open .mobile-nav-links a { animation: fade-up var(--dur-4) var(--ease-out) both; }
.mobile-nav.open .mobile-nav-links a:nth-child(2) { animation-delay: 40ms; }
.mobile-nav.open .mobile-nav-links a:nth-child(3) { animation-delay: 80ms; }
.mobile-nav.open .mobile-nav-links a:nth-child(4) { animation-delay: 120ms; }
.mobile-nav.open .mobile-nav-links a:nth-child(5) { animation-delay: 160ms; }
.mobile-nav.open .mobile-nav-links a:nth-child(6) { animation-delay: 200ms; }
body.nav-open { overflow: hidden; }

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: inline-flex; }
  .site-header .header-auth { display: none; }
  .account-trigger .name, .account-trigger .i { display: none; }
  .account-trigger { padding: 0 4px; }
}
@media (min-width: 1025px) { .mobile-nav { display: none; } }

/* ── Page header (inner pages) ───────────────────────────── */
.page-header {
  position: relative;
  padding: calc(var(--header-height) + clamp(40px, 7vw, 88px)) 0 clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center bottom;
  -webkit-mask-image: radial-gradient(70% 90% at 30% 100%, #000 10%, transparent 70%);
  mask-image: radial-gradient(70% 90% at 30% 100%, #000 10%, transparent 70%);
  opacity: 0.7;
}
.page-header::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: min(240px, 40%);
  height: 1px;
  background: linear-gradient(90deg, var(--c-blue), transparent);
}
.page-title {
  max-width: 20ch;
  margin: 0;
  font-size: var(--fs-h1);
  font-stretch: var(--stretch-display);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
}
.page-lead, .page-header .section-sub {
  max-width: 62ch;
  margin-top: var(--space-4);
  font-size: var(--fs-lead);
  color: var(--tx);
}
.page-header-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; }
.page-header-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-4); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-5);
  font-size: var(--fs-caption);
  color: var(--tx-muted);
}
.breadcrumbs a { color: var(--tx-muted); transition: color var(--dur-2); }
.breadcrumbs a:hover { color: var(--tx-strong); }
.breadcrumbs > span:not(:last-child) { color: var(--tx-faint); }
.breadcrumbs > span:last-child { color: var(--tx); }
.breadcrumbs .i { width: 13px; height: 13px; color: var(--tx-faint); }

/* ── Section heads ───────────────────────────────────────── */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head > div { max-width: 640px; }
.section-head.is-center { flex-direction: column; align-items: center; text-align: center; }
.section-head.is-center > div { margin: 0 auto; }
.section-title {
  margin: 0;
  font-size: var(--fs-h2);
  font-stretch: var(--stretch-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: var(--lh-head);
}
.section-sub { margin: var(--space-3) 0 0; font-size: 1.0625rem; color: var(--tx-muted); line-height: 1.6; }
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-4);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-blue);
}
.section-kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--space-3); font-size: var(--fs-small); font-weight: 600; color: var(--c-blue); }
.section-foot { display: flex; justify-content: center; margin-top: var(--space-7); }
.subhead { color: var(--tx-muted); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: var(--z-base);
  margin-top: var(--space-9);
  padding-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(2,4,8,0.6), var(--surface-0) 40%);
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: var(--space-6) var(--space-5);
}
.footer-about p { max-width: 34ch; margin-top: var(--space-5); font-size: var(--fs-small); color: var(--tx-muted); }
.footer-social { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px 0 12px;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px var(--line-mid);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--tx-strong);
  transition: background-color var(--dur-2), box-shadow var(--dur-2), color var(--dur-2);
}
.footer-social a .i { width: 16px; height: 16px; }
.footer-social a.is-discord:hover { background: #5865F2; box-shadow: none; }
.footer-social a.is-youtube:hover { background: #FF0000; box-shadow: none; }
.footer-col h2, .footer-col h5 {
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-stretch: var(--stretch-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--tx-muted);
}
.footer-col a { display: block; padding: 5px 0; font-size: var(--fs-small); color: var(--tx); transition: color var(--dur-2), transform var(--dur-2) var(--ease-out); }
.footer-col a:hover { color: var(--tx-strong); transform: translateX(2px); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-caption);
  color: var(--tx-faint);
}
.footer-bottom nav { display: flex; gap: var(--space-5); }
.footer-bottom a:hover { color: var(--tx-strong); }
.footer-giant {
  position: relative;
  margin-top: var(--space-6);
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(5rem, 22vw, 20rem);
  line-height: 0.78;
  letter-spacing: -0.02em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200, 210, 222, 0.16);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  background: linear-gradient(100deg, transparent 35%, rgba(0, 175, 255, 0.35) 50%, transparent 65%) no-repeat;
  background-size: 40% 100%;
  background-position: -60% 0;
  -webkit-background-clip: text;
  background-clip: text;
  animation: footer-sweep 9s var(--ease-in-out) infinite;
  margin-bottom: -0.12em;
}
@keyframes footer-sweep { 0%, 15% { background-position: -60% 0; } 65%, 100% { background-position: 160% 0; } }
@media (prefers-reduced-motion: reduce) { .footer-giant { animation: none; } }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ── Dashboard shell (account + admin share the frame) ───── */
.dashboard-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.dashboard-content { min-width: 0; }
.dashboard-content > h1 { font-size: clamp(1.75rem, 3vw, 2.375rem); font-stretch: var(--stretch-display); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 6px; }
.dashboard-content > .subhead { margin-bottom: var(--space-6); font-size: 0.9375rem; }
.dashboard-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-1);
}
.side-title { padding: 10px 10px 8px; font-size: var(--fs-meta); font-weight: 600; letter-spacing: 0.02em; color: var(--tx-faint); }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a, .side-nav button, .side-logout {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  font-weight: 550;
  color: var(--tx);
  text-align: left;
  transition: background-color var(--dur-2), color var(--dur-2);
}
.side-nav a:hover, .side-nav button:hover { background: rgba(200, 210, 222, 0.05); color: var(--tx-strong); }
.side-nav a.active { background: linear-gradient(90deg, rgba(0, 175, 255, 0.14), rgba(0, 175, 255, 0.02)); color: var(--tx-strong); }
.side-nav a.active::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 2px; border-radius: 2px; background: var(--c-blue); box-shadow: 0 0 10px var(--c-blue); }
.side-nav .ico, .side-nav .i { width: 18px; height: 18px; color: var(--tx-muted); flex-shrink: 0; }
.side-nav a.active .i { color: var(--c-blue); }
.side-nav .side-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--c-amber-bg); color: var(--c-amber); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.side-nav .ext { margin-left: auto; width: 14px; height: 14px; opacity: 0.6; }
.side-logout { color: var(--tx-muted); }
.side-logout:hover { color: #ff8892; background: var(--c-red-bg); }
.side-sep { height: 1px; margin: 10px 4px; background: var(--line); }

@media (max-width: 960px) {
  .dashboard-shell { grid-template-columns: minmax(0, 1fr); }
  .dashboard-sidebar, .dashboard-content { min-width: 0; }
  .dashboard-sidebar {
    position: sticky;
    top: var(--header-height);
    z-index: var(--z-sticky);
    padding: 8px;
    margin: 0 calc(var(--gutter) * -1);
    border-radius: 0;
    border-width: 0 0 1px;
    background: rgba(2, 4, 8, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .dashboard-sidebar .side-title, .dashboard-sidebar .side-sep, .dashboard-sidebar .account-mini-profile, .dashboard-sidebar .side-hide-mobile { display: none; }
  .dashboard-sidebar .side-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter); }
  .dashboard-sidebar .side-nav::-webkit-scrollbar { display: none; }
  .dashboard-sidebar .side-nav a, .dashboard-sidebar .side-nav button { width: auto; flex-shrink: 0; height: 36px; white-space: nowrap; }
  .dashboard-sidebar .side-nav a.active::before { left: 10px; right: 10px; top: auto; bottom: 0; width: auto; height: 2px; }
}

/* Heading row that sits above a width-limited grid (home game library) */
.section-head.is-narrow { max-width: 1120px; margin-inline: auto; }
