:root {
  color-scheme: dark;
  --bg: #06080b;
  --panel: #0b0e12;
  --panel-soft: #10141a;
  --panel-raised: #11161d;
  --line: rgba(188, 197, 209, .16);
  --line-soft: rgba(188, 197, 209, .10);
  --text: #f2f0eb;
  --muted: #838b97;
  --muted-bright: #a9adb8;
  --orange: var(--orange);
  --orange-light: var(--orange-light);
  --orange-dark: var(--orange-dark);
  --green: #22c55e;
  --red: #ef4444;
  --font-ui: "Bahnschrift SemiCondensed", "Arial Narrow", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  padding: 24px 0 0;
  color: var(--text);
  background: radial-gradient(circle at 72% -12%, rgba(var(--accent-rgb), .065), transparent 30rem), var(--bg);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; }

.page-shell { width: 100%; max-width: 1800px; margin: 0 auto; }
.hero { padding: 0 25px; margin-bottom: 18px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; }
.logo-mark { width: clamp(82px, 9vw, 132px); height: clamp(82px, 9vw, 132px); flex: none; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 24px rgba(var(--accent-rgb), .18)); }
.wordmark { display: flex; flex-direction: column; }
.brand-name { font-size: clamp(2rem, 3.2vw, 3rem); font-style: italic; font-weight: 700; letter-spacing: .055em; line-height: .92; text-transform: uppercase; text-shadow: 0 0 24px rgba(255, 105, 0, .28); }
.product-name { margin-top: 7px; color: var(--orange); font-size: clamp(.78rem, 1.2vw, 1rem); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.subtitle { margin-top: 7px; color: #747d89; font-size: clamp(.72rem, 1vw, .86rem); letter-spacing: .04em; }

.navbar {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  min-height: 50px;
  padding: 0 28px;
  overflow-x: auto;
  border-top: 1px solid rgba(var(--accent-rgb), .30);
  border-bottom: 1px solid rgba(var(--accent-rgb), .30);
  background: linear-gradient(180deg, rgba(14, 19, 27, .98), rgba(8, 13, 20, .98));
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  scrollbar-width: none;
}
.navbar::-webkit-scrollbar { display: none; }
.navbar > a { position: relative; flex: none; color: #7f8792; font-size: .74rem; font-weight: 700; letter-spacing: .15em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.navbar > a:hover, .navbar > a:focus-visible, .navbar > a.active { color: var(--text); }
.navbar > a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 2px; background: var(--orange); }
.navbar-account { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.navbar-user-email { max-width: 260px; overflow: hidden; color: var(--muted); font-size: .72rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.navbar-account form { margin: 0; }
.navbar-logout { min-height: 30px; padding: 0 11px; border: 1px solid rgba(var(--accent-rgb), .28); border-radius: 3px; background: rgba(var(--accent-rgb), .08); color: var(--orange); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.navbar-logout:hover, .navbar-logout:focus-visible { border-color: rgba(var(--accent-rgb), .56); background: rgba(var(--accent-rgb), .16); color: #fff; }

.content-shell { padding: 25px 25px 48px; }
.dashboard-container { width: 100%; }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.eyebrow { margin: 0 0 9px; color: var(--orange); font-size: .68rem; font-weight: 800; letter-spacing: .20em; text-transform: uppercase; }
.page-header h1, .message-card h1, .auth-heading h1 { margin: 0; color: #f2f0eb; font-size: clamp(1.8rem, 3vw, 2.0rem); font-style: normal; font-weight: 300; letter-spacing: .15em; line-height: 1.05; text-transform: uppercase; }
.page-subtitle, .auth-heading > p:last-child { margin: 6px 0 0; color: #747d89; font-size: .76rem; letter-spacing: .055em; line-height: 1.5; }

.view-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 3px; background: rgba(3, 7, 12, .75); }
.view-button { min-height: 32px; padding: 0 13px; border: 0; border-radius: 2px; background: transparent; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; cursor: pointer; }
.view-button:hover { color: var(--text); }
.view-button[aria-pressed="true"] { background: rgba(var(--accent-rgb), .14); color: var(--orange-light); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .25); }

.leagues-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dashboard-alert { margin: -8px 0 22px; padding: 12px 15px; border: 1px solid; font-size: .7rem; }
.dashboard-alert.success { border-color: rgba(34, 197, 94, .3); background: rgba(34, 197, 94, .08); color: #64d991; }
.league-card, .league-card-compact {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(145deg, rgba(14, 18, 23, .98), rgba(8, 11, 15, .99));
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28), 0 0 26px rgba(var(--accent-rgb), .24), 0 0 8px rgba(var(--accent-rgb), .16);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.league-card::before, .league-card-compact::before { content: none; }
.league-card:hover, .league-card-compact:hover { border-color: rgba(var(--accent-rgb), .82); transform: translateY(-2px); box-shadow: 0 22px 48px rgba(0, 0, 0, .36), 0 0 34px rgba(var(--accent-rgb), .36), 0 0 12px rgba(var(--accent-rgb), .24); }
.league-card.inactive, .league-card-compact.inactive { opacity: .58; filter: saturate(.45); }
.league-card-link { min-height: 148px; display: flex; align-items: center; gap: 18px; padding: 24px 54px 24px 24px; color: inherit; text-decoration: none; }
.avatar-circle, .compact-card-link img { width: 68px; height: 68px; flex: none; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; background: #0a0d11; object-fit: cover; box-shadow: 0 0 0 5px rgba(255, 255, 255, .025); }
.league-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.card-label { margin-bottom: 6px; color: var(--orange); font-size: .59rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.league-copy strong { overflow: hidden; color: var(--text); font-size: clamp(1rem, 1.6vw, 1.18rem); font-weight: 600; letter-spacing: .08em; text-overflow: ellipsis; white-space: nowrap; }
.team-name { margin-top: 5px; overflow: hidden; color: var(--muted-bright); font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-overflow: ellipsis; white-space: nowrap; }
.badges { display: flex; align-items: center; gap: 7px; margin-top: 14px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 0 8px; border: 1px solid var(--line); border-radius: 2px; background: rgba(255, 255, 255, .025); color: var(--muted-bright); font-size: .58rem; font-weight: 800; letter-spacing: .10em; text-transform: uppercase; }
.badge.active { border-color: rgba(34, 197, 94, .28); background: rgba(34, 197, 94, .08); color: #6ee7a0; }
.badge.inactive { border-color: rgba(239, 68, 68, .26); background: rgba(239, 68, 68, .08); color: #f38b8b; }
.badge.draft-live { border-color: rgba(var(--accent-rgb), .32); background: rgba(var(--accent-rgb), .10); color: var(--orange-light); }
.badge.draft-live i, .trade-alert span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: status-pulse 1.7s ease-in-out infinite; }
.open-arrow { position: absolute; right: 24px; color: #59616c; font-size: 1.5rem; font-weight: 300; transition: color .2s, transform .2s; }
.league-card-link:hover .open-arrow, .compact-card-link:hover .open-arrow { color: var(--orange); transform: translateX(3px); }
.trade-alert { position: absolute; z-index: 3; top: 0; right: 0; display: inline-flex; align-items: center; gap: 6px; min-height: 27px; padding: 0 10px; border-bottom: 1px solid rgba(239, 68, 68, .35); border-left: 1px solid rgba(239, 68, 68, .35); background: rgba(90, 16, 16, .92); color: #ff9a9a; font-size: .59rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.commissioner-link { position: absolute; z-index: 3; right: 14px; bottom: 12px; color: var(--orange); font-size: .58rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.commissioner-link:hover { color: #fff; }

.create-league-card { min-height: 148px; display: flex; align-items: center; justify-content: center; gap: 17px; border: 1.5px solid rgba(var(--accent-rgb), .24); background: linear-gradient(145deg, rgba(14, 18, 23, .9), rgba(8, 11, 15, .96)); box-shadow: 0 16px 38px rgba(0, 0, 0, .24), 0 0 22px rgba(var(--accent-rgb), .12), inset 0 1px 0 rgba(255, 255, 255, .025); color: var(--muted); text-align: left; text-decoration: none; }
.create-league-card:hover { border-color: rgba(var(--accent-rgb), .58); box-shadow: 0 20px 44px rgba(0, 0, 0, .3), 0 0 30px rgba(var(--accent-rgb), .22), inset 0 1px 0 rgba(255, 255, 255, .04); }
.create-league-card::before { display: none; }
.create-league-card.full-width-banner { grid-column: 1 / -1; min-height: 190px; }
.create-league-card strong, .create-league-compact strong { display: block; color: var(--text); font-size: .92rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.create-league-card small, .create-league-compact small { display: block; margin-top: 5px; color: var(--muted); font-size: .72rem; letter-spacing: .03em; }
.create-icon { position: relative; width: 34px; height: 34px; flex: none; border: 1px solid rgba(var(--accent-rgb), .42); border-radius: 50%; background: rgba(var(--accent-rgb), .08); }
.create-icon::before, .create-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 1px; background: var(--orange); transform: translate(-50%, -50%); }
.create-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.leagues-compact { display: flex; flex-direction: column; gap: 10px; }
.league-card-compact { min-height: 90px; }
.compact-card-link { min-height: 90px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 24px; align-items: center; gap: 15px; padding: 14px 22px; color: inherit; text-decoration: none; }
.compact-card-link img { width: 48px; height: 48px; }
.compact-card-link .badges { margin: 0 56px 0 0; justify-content: flex-end; }
.create-league-compact { min-height: 78px; display: flex; align-items: center; gap: 15px; padding: 15px 22px; border: 1px dashed var(--line); border-radius: 3px; background: rgba(9, 13, 18, .62); color: inherit; text-decoration: none; }
.create-league-compact:hover { border-color: rgba(var(--accent-rgb), .34); }

.auth-shell { width: min(430px, calc(100% - 32px)); margin: 46px auto 70px; }
.auth-card, .message-card { border: 1px solid var(--line); border-top: 2px solid var(--orange); border-radius: 3px; background: linear-gradient(180deg, rgba(14, 18, 23, .99), rgba(8, 11, 15, .99)); box-shadow: 0 24px 64px rgba(0, 0, 0, .42); }
.auth-card { padding: clamp(24px, 6vw, 36px); }
.auth-heading { margin-bottom: 25px; }
.auth-form { display: grid; gap: 17px; }
.auth-form label { display: grid; gap: 7px; color: var(--muted-bright); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.auth-form input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 3px; outline: none; background: rgba(3, 7, 12, .82); color: #fff; }
.auth-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }
.primary-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 0; border-radius: 3px; background: linear-gradient(180deg, var(--orange-light), var(--orange)); color: #fff; font-size: .70rem; font-weight: 800; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.primary-button:hover, .primary-button:focus-visible { filter: brightness(1.08); transform: translateY(-1px); }
.auth-note { margin: 22px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.alert.error { margin: 0 0 18px; padding: 11px 13px; border: 1px solid rgba(239, 68, 68, .34); background: rgba(239, 68, 68, .10); color: #f38b8b; font-size: .82rem; line-height: 1.4; }

.message-card { width: min(620px, calc(100% - 32px)); margin: 58px auto; padding: clamp(28px, 6vw, 44px); text-align: left; }
.message-card > p:not(.eyebrow) { margin: 14px 0 26px; color: var(--muted); line-height: 1.65; }
.error-card { border-top-color: var(--red); }

button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
@keyframes status-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 700px) {
  body { padding-top: 18px; }
  .hero, .content-shell { padding-inline: 16px; }
  .brand-lockup { gap: 12px; }
  .logo-mark { width: 76px; height: 76px; }
  .brand-name { font-size: 1.75rem; }
  .product-name { font-size: .68rem; letter-spacing: .13em; }
  .subtitle { max-width: 250px; line-height: 1.35; }
  .navbar { padding-inline: 16px; }
  .navbar-user-email { max-width: min(34vw, 160px); }
  .page-header { align-items: center; flex-direction: column; margin-top: 32px; }
  .page-header > div { text-align: center; }
  .leagues-grid { grid-template-columns: 1fr; }
  .league-card-link { padding: 22px 46px 22px 18px; }
  .avatar-circle { width: 58px; height: 58px; }
  .compact-card-link { grid-template-columns: 44px minmax(0, 1fr) 20px; padding: 14px 17px; }
  .compact-card-link img { width: 44px; height: 44px; }
  .compact-card-link .badges { grid-column: 2 / 4; justify-content: flex-start; margin: -5px 0 0; }
  .commissioner-link { bottom: 8px; }
}

@media (max-width: 470px) {
  .hero { text-align: center; }
  .brand-lockup { width: 100%; flex-direction: column; }
  .wordmark { align-items: center; }
  .navbar { gap: 18px; }
  .navbar-account { margin-left: 0; }
  .navbar-user-email { display: none; }
  .league-card-link { align-items: flex-start; }
  .league-copy strong { white-space: normal; }
  .open-arrow { right: 17px; }
}
/* Screenshot-matched Monolith header */
body { padding-top: 0; }
.page-shell { max-width: none; }

.hero {
  height: 126px;
  display: flex;
  align-items: flex-start;
  margin: 0;
  padding: 24px 22px 0;
  background: #05070b;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  color: #f2f0eb;
  text-decoration: none;
}

.brand-line {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 48px !important;
    color: #f2f0eb;
    font-family: "Bahnschrift SemiCondensed", "Arial Narrow", "Segoe UI", sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-style: normal;
    font-weight: 300;
    letter-spacing: .31em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-line > span { display: block; }
.brand-line > span:last-child { margin-right: -.27em; }
.brand-ghost {
    width: clamp(29.333px, 2.75vw, 44px);
    height: clamp(29.333px, 2.75vw, 44px);
    margin: 0 0 0 -2px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), .16));
}

.brand-lockup .product-name {
    margin-top: 8px;
    color: var(--orange);
    font-size: clamp(.68rem, .8vw, .82rem);
    font-weight: 800;
    letter-spacing: .30em;
    line-height: 1;
    text-transform: uppercase;
}

.brand-lockup .subtitle {
    margin-top: 6px;
    color: #657080;
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .075em;
    line-height: 1;
}

.navbar {
  width: 100%;
  min-height: 57px;
  height: 57px;
  gap: 48px;
  margin-bottom: 20px;
  padding: 0 29px;
  border-top: 1px solid rgba(188, 197, 209, .13);
  border-bottom: 1px solid rgba(188, 197, 209, .13);
  background: #080b0f;
  box-shadow: none;
}

.navbar > a {
  color: #7f8998;
  font-family: "Bahnschrift SemiCondensed", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1;
}

.navbar > a:hover,
.navbar > a:focus-visible,
.navbar > a.active { color: #f2f0eb; }

.navbar > a.active::after {
  bottom: -27px;
  height: 2px;
  background: var(--orange);
}

.navbar-account { gap: 15px; }
.navbar-user-email {
  max-width: 300px;
  color: #838b97;
  font-size: .72rem;
  font-weight: 700;
}

.navbar-logout {
    min-width: 63px;
    min-height: 30px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(var(--accent-rgb), .08);
    color: var(--orange);
    font-size: .66rem;
    letter-spacing: .08em;
}

.content-shell { width: 100%; max-width: 1800px; margin: 0 auto; }

@media (max-width: 700px) {
  .hero { height: 128px; padding: 22px 16px 0; }
  .brand-line { height: 44px; gap: 8px; font-size: 31px; letter-spacing: .20em; }
  .brand-line > span:last-child { margin-right: -.20em; }
  .brand-ghost { width: 39px; height: 44px; }
  .brand-lockup .product-name { margin-top: 9px; font-size: 10px; letter-spacing: .22em; }
  .brand-lockup .subtitle { margin-top: 8px; font-size: 10px; }
  .navbar { min-height: 60px; height: 60px; gap: 27px; padding-inline: 17px; }
  .navbar > a { font-size: 11px; }
  .navbar > a.active::after { bottom: -22px; }
  .navbar-logout { min-width: 68px; min-height: 33px; font-size: 10px; }
}

@media (max-width: 470px) {
  .hero { height: 117px; align-items: flex-start; text-align: left; }
  .brand-lockup { width: auto; flex-direction: column; align-items: flex-start; }
  .brand-line { gap: 6px; font-size: 24px; letter-spacing: .14em; }
  .brand-line > span:last-child { margin-right: -.14em; }
  .brand-ghost { width: 35px; height: 40px; }
  .brand-lockup .product-name { font-size: 9px; letter-spacing: .15em; }
  .brand-lockup .subtitle { max-width: none; font-size: 9px; }
  .navbar { gap: 21px; }
}
/* Route-aware navigation location cue */
.navbar > a {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
}

.navbar > a.active::after {
  left: 0;
  right: 0;
  bottom: 7px;
  height: 1.75px;
  background: var(--orange);
}

@media (max-width: 700px) {
  .navbar > a.active::after { bottom: 0; }
}
/* Animated inverted-U grave mark */
.brand-line {
  gap: .62em;
  overflow: visible;
  letter-spacing: 0;
}

.brand-line > span:last-child { margin-right: 0; }
.brand-word {
  display: inline-flex !important;
  align-items: center;
  height: 1.08em;
  overflow: visible;
  font: inherit;
  line-height: 1;
  white-space: nowrap;
}

.brand-text-piece,
.brand-death { letter-spacing: .31em; }

.grave-letter {
  position: relative;
  isolation: isolate;
  display: inline-block !important;
  width: .72em;
  height: 1.08em;
  margin-right: .31em;
  overflow: visible;
  color: inherit;
  line-height: 1.08em;
  text-align: center;
  vertical-align: middle;
  perspective: 240px;
}

.u-glyph {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  color: var(--brand-letter-color, #f2f0eb);
  font: inherit;
  letter-spacing: 0;
  line-height: 1.08em;
  text-align: center;
  transform: rotateX(0deg);
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  backface-visibility: visible;
  animation: grave-u-cycle 14s linear infinite;
}

.grave-fill {
  position: absolute;
  z-index: 4;
  top: 43%;
  left: 37.5%;
  width: 25%;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  animation: grave-line-cycle 14s ease-in-out infinite;
}

.grave-fill-secondary {
  top: 54%;
  left: 41%;
  width: 18%;
}

.grave-ghost {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: .08em;
  width: .64em;
  height: .64em;
  object-fit: contain;
  opacity: 0;
  transform: translateX(-50%) rotate(0deg) scale(.9);
  filter: grayscale(1) saturate(0) brightness(3.4) contrast(.48) drop-shadow(0 0 8px rgba(232, 238, 245, .22));
  mix-blend-mode: screen;
  pointer-events: none;
  animation: grave-ghost-cycle 14s ease-in-out infinite;
}

@keyframes grave-u-cycle {
  0%, 7.14% { opacity: 1; transform: rotateX(0deg); }
  16.86% { opacity: 1; color: var(--brand-letter-color, #f2f0eb); transform: rotateX(82deg); }
  17.86% { opacity: 0; color: var(--brand-letter-color, #f2f0eb); transform: rotateX(90deg); }
  18.86% { opacity: 1; color: #626b77; transform: translateY(-.015em) rotateX(98deg); }
  28.57% { opacity: 1; color: #626b77; transform: translateY(-.12em) rotateX(180deg); }
  72.14% { opacity: 1; color: #626b77; transform: translateY(-.12em) rotateX(180deg); }
  81.86% { opacity: 1; color: #626b77; transform: translateY(-.015em) rotateX(98deg); }
  82.86% { opacity: 0; color: #626b77; transform: rotateX(90deg); }
  83.86% { opacity: 1; color: var(--brand-letter-color, #f2f0eb); transform: rotateX(82deg); }
  93.57%, 100% { opacity: 1; color: var(--brand-letter-color, #f2f0eb); transform: rotateX(0deg); }
}

@keyframes grave-line-cycle {
  0%, 28.57% { opacity: 0; transform: scaleX(0); }
  33.93% { opacity: 1; transform: scaleX(1); }
  68.21% { opacity: 1; transform: scaleX(1); }
  71.79%, 100% { opacity: 0; transform: scaleX(0); }
}

@keyframes grave-ghost-cycle {
  0%, 35.36% {
    bottom: .08em;
    opacity: 0;
    transform: translateX(-50%) rotate(0deg) scale(.9);
  }
  40% {
    bottom: .32em;
    opacity: .84;
    transform: translateX(-53%) rotate(-2deg) scale(.96);
  }
  52.5% {
    bottom: .88em;
    opacity: .76;
    transform: translateX(-61%) rotate(-5deg) scale(1);
  }
  61% {
    bottom: 1.52em;
    opacity: .48;
    transform: translateX(-42%) rotate(4deg) scale(1.03);
  }
  67.5%, 100% {
    bottom: 2.12em;
    opacity: 0;
    transform: translateX(-68%) rotate(-7deg) scale(1.06);
  }
}

@media (max-width: 700px) {
  .brand-line { gap: .48em; }
  .brand-text-piece,
  .brand-death { letter-spacing: .20em; }
  .grave-letter { margin-right: .20em; }
}

@media (max-width: 470px) {
  .brand-line { gap: .40em; }
  .brand-text-piece,
  .brand-death { letter-spacing: .14em; }
  .grave-letter { margin-right: .14em; }
}

@media (prefers-reduced-motion: reduce) {
  .u-glyph { animation: none; opacity: 1; transform: rotateX(0deg); }
  .grave-fill,
  .grave-fill-secondary {
  top: 54%;
  left: 41%;
  width: 18%;
}

.grave-ghost { animation: none; opacity: 0; }
}
/* Your Players navigation dropdown */
.navbar { overflow: visible; }
.nav-dropdown {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: stretch;
}

.nav-dropdown-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #7f8998;
  font-family: "Bahnschrift SemiCondensed", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible,
.nav-dropdown-trigger[aria-expanded="true"],
.nav-dropdown-trigger.active { color: var(--brand-letter-color, #f2f0eb); }

.nav-dropdown-trigger.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1.75px;
  background: var(--orange);
}

.nav-chevron {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.nav-dropdown.open .nav-chevron { margin-top: 3px; transform: rotate(225deg); }
.nav-dropdown-menu {
  position: absolute;
  z-index: 100;
  top: calc(100% + 1px);
  left: -14px;
  min-width: 170px;
  padding: 6px;
  border: 1px solid rgba(188, 197, 209, .16);
  border-top: 2px solid var(--orange);
  border-radius: 0 0 3px 3px;
  background: linear-gradient(180deg, rgba(14, 19, 27, .99), rgba(8, 13, 20, .995));
  box-shadow: 0 18px 38px rgba(0, 0, 0, .45), 0 0 18px rgba(var(--accent-rgb), .10);
}

.nav-dropdown-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 2px;
  color: #929baa;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible,
.nav-dropdown-menu a[aria-current="page"] {
  background: rgba(var(--accent-rgb), .10);
  color: #fff;
}

@media (max-width: 700px) {
  .nav-dropdown-trigger { font-size: 11px; }
  .nav-dropdown-trigger.active::after { bottom: 0; }
  .nav-dropdown-menu { left: -10px; min-width: 150px; }
}
/* Account-management email link */
.navbar-user-email { text-decoration: none; transition: color .18s ease; }
.navbar-user-email:hover,
.navbar-user-email:focus-visible { color: #f2f0eb; }
