:root {
  --court-sidebar-width: 272px;
  --court-header-height: 76px;
  --court-page: #08080d;
  --court-sidebar: #0b0a11;
  --court-surface: #111018;
  --court-surface-raised: #17141f;
  --court-border: rgba(224, 198, 132, 0.14);
  --court-border-strong: rgba(224, 198, 132, 0.3);
  --court-gold: #d9bd78;
  --court-gold-bright: #f0d994;
  --court-purple: #9d67df;
  --court-purple-deep: #5c2f8c;
  --court-text: #f5f0e7;
  --court-muted: #a7a0ae;
  --court-success: #5fd39b;
  --court-danger: #f06b7e;
  --court-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--court-header-height) + 22px);
}

body.court-dashboard-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--court-text);
  background: var(--court-page);
}

body.court-dashboard-page::before {
  left: var(--court-sidebar-width);
  background:
    radial-gradient(circle at 18% 8%, rgba(116, 61, 166, 0.12), transparent 32%),
    radial-gradient(circle at 84% 30%, rgba(216, 184, 109, 0.06), transparent 30%),
    #08080d;
}

.court-dashboard-page .mist {
  left: var(--court-sidebar-width);
  opacity: 0.22;
}

.court-dashboard-page .stars {
  left: var(--court-sidebar-width);
  opacity: 0.13;
}

.court-dashboard-page .site-shell,
.court-dashboard-page .reveal-item {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
  transition: none !important;
}

.court-dashboard-layout {
  min-height: 100vh;
}

.court-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: var(--court-sidebar-width);
  height: 100dvh;
  padding: 22px 16px 16px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--court-border);
  background: rgba(10, 9, 15, 0.97);
  box-shadow: 14px 0 38px rgba(0, 0, 0, 0.18);
}

.court-sidebar-brand {
  min-height: 58px;
  padding: 0 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--court-text);
  text-decoration: none;
  border-bottom: 1px solid var(--court-border);
}

.court-sidebar-brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(217, 189, 120, 0.3);
  border-radius: 12px;
  background: #15111d;
}

.court-sidebar-brand-mark img {
  width: 38px;
  height: 40px;
  object-fit: contain;
}

.court-sidebar-brand > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.court-sidebar-brand strong {
  overflow: hidden;
  color: var(--court-gold-bright);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.98rem;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.court-sidebar-brand small {
  color: var(--court-muted);
  font-size: 0.72rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.court-sidebar-nav {
  min-height: 0;
  margin: 18px -4px 12px;
  padding: 0 4px 12px;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(217, 189, 120, 0.26) transparent;
}

.court-nav-label {
  margin: 0 10px 7px;
  color: #817a89;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.court-nav-label-resources {
  margin-top: 20px;
}

.court-nav-link {
  position: relative;
  min-height: 44px;
  padding: 9px 11px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  color: #bcb5c2;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 9px;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.court-nav-link::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: -5px;
  width: 2px;
  border-radius: 99px;
  background: var(--court-gold);
  opacity: 0;
}

.court-nav-link:hover,
.court-nav-link:focus-visible {
  color: var(--court-text);
  border-color: rgba(217, 189, 120, 0.11);
  background: rgba(255, 255, 255, 0.035);
}

.court-nav-link.is-active {
  color: var(--court-gold-bright);
  border-color: rgba(217, 189, 120, 0.16);
  background: rgba(217, 189, 120, 0.075);
}

.court-nav-link.is-active::before {
  opacity: 1;
}

.court-nav-icon {
  width: 24px;
  display: inline-grid;
  place-items: center;
  color: #81788a;
  font-family: Georgia, serif;
  font-size: 1rem;
}

.court-nav-link.is-active .court-nav-icon {
  color: var(--court-gold);
}

.court-nav-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #77717f;
  box-shadow: 0 0 0 3px rgba(119, 113, 127, 0.12);
}

.court-nav-live-dot.is-live {
  background: var(--court-danger);
  box-shadow: 0 0 0 3px rgba(240, 107, 126, 0.14);
}

.court-sidebar-profile {
  min-height: 64px;
  padding: 10px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--court-border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
}

.court-sidebar-profile > img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid rgba(217, 189, 120, 0.25);
  border-radius: 9px;
  background: #15111d;
}

.court-sidebar-profile-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.court-sidebar-profile-copy strong,
.court-sidebar-profile-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.court-sidebar-profile-copy strong {
  font-size: 0.82rem;
}

.court-sidebar-profile-copy small {
  color: var(--court-muted);
  font-size: 0.69rem;
}

.court-profile-action {
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--court-gold-bright);
  border: 1px solid rgba(217, 189, 120, 0.2);
  border-radius: 8px;
  background: rgba(217, 189, 120, 0.07);
  cursor: pointer;
}

.court-profile-action:hover,
.court-profile-action:focus-visible {
  border-color: rgba(217, 189, 120, 0.48);
  background: rgba(217, 189, 120, 0.13);
}

.court-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 44;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(3, 3, 7, 0.72);
  backdrop-filter: blur(3px);
  cursor: default;
}

.court-dashboard-main {
  min-width: 0;
  min-height: 100vh;
  margin-left: var(--court-sidebar-width);
}

.court-dashboard-header {
  position: sticky;
  top: 0;
  z-index: 35;
  min-height: var(--court-header-height);
  padding: 12px clamp(20px, 3vw, 42px);
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--court-border);
  background: rgba(8, 8, 13, 0.91);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}

.court-mobile-menu {
  width: 42px;
  height: 42px;
  padding: 10px;
  display: none;
  place-content: center;
  gap: 4px;
  color: var(--court-text);
  border: 1px solid var(--court-border);
  border-radius: 9px;
  background: var(--court-surface);
  cursor: pointer;
}

.court-mobile-menu span {
  width: 18px;
  height: 1.5px;
  display: block;
  border-radius: 99px;
  background: currentColor;
}

.court-dashboard-heading {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.court-dashboard-heading p,
.court-dashboard-heading h1 {
  margin: 0;
}

.court-dashboard-heading p {
  color: var(--court-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.court-dashboard-heading h1 {
  color: var(--court-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0.025em;
  line-height: 1.25;
}

.court-header-actions {
  min-width: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.court-header-resource,
.court-header-auth {
  min-height: 38px;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--court-text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--court-border);
  border-radius: 8px;
  background: var(--court-surface);
  cursor: pointer;
}

.court-header-auth {
  color: #170e1b;
  border-color: var(--court-gold);
  background: var(--court-gold-bright);
}

.court-header-resource:hover,
.court-header-resource:focus-visible {
  border-color: var(--court-border-strong);
  background: var(--court-surface-raised);
}

.court-header-auth:hover,
.court-header-auth:focus-visible {
  background: #ffe8a6;
}

.court-header-live {
  max-width: min(34vw, 360px);
  min-height: 38px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--court-muted);
  font-size: 0.75rem;
  border: 1px solid var(--court-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.court-header-live > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.court-header-live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #8a8490;
  box-shadow: 0 0 0 3px rgba(138, 132, 144, 0.12);
}

.court-header-live-dot.is-live {
  background: var(--court-danger);
  box-shadow: 0 0 0 3px rgba(240, 107, 126, 0.14);
}

.court-dashboard-page #mainContent {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.court-dashboard-page #mainContent > #courtOverview {
  order: 0;
}

.court-dashboard-page #mainContent > #court {
  order: 1;
}

.court-dashboard-page #mainContent > #streamFeedSection {
  order: 2;
}

.court-dashboard-page #mainContent > #courtLiveStreamSection {
  order: 3;
}

.court-dashboard-page #mainContent > #leaderboardPreview {
  order: 4;
}

.court-dashboard-page #socials,
.court-dashboard-page #support {
  display: none !important;
}

.court-overview,
.court-dashboard-page #viewerLevelingPanel,
.court-dashboard-page #twitchGoals,
.court-dashboard-page #activeStreamers,
.court-dashboard-page #streamFeedSection,
.court-dashboard-page #leaderboardPreview,
.court-dashboard-page #courtLiveStreamSection,
.court-dashboard-page #courtForgeInventorySection,
.court-dashboard-page #viewerForgeCard,
.court-dashboard-page #courtCombatSection {
  scroll-margin-top: calc(var(--court-header-height) + 22px);
}

.court-overview {
  min-width: 0;
}

.court-page-intro {
  min-width: 0;
  padding: clamp(18px, 2.5vw, 28px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid var(--court-border);
  border-radius: 12px;
  background:
    radial-gradient(circle at 92% 10%, rgba(157, 103, 223, 0.12), transparent 34%),
    rgba(17, 16, 24, 0.88);
  box-shadow: var(--court-shadow);
}

.court-page-heading {
  min-width: 0;
}

.court-page-heading h2,
.court-page-heading p {
  margin: 0;
}

.court-page-heading h2 {
  margin-top: 4px;
  color: var(--court-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  letter-spacing: 0.015em;
}

.court-page-heading > p:last-child {
  max-width: 760px;
  margin-top: 7px;
  color: var(--court-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.court-page-next {
  min-height: 42px;
  padding: 10px 14px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--court-gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(217, 189, 120, 0.22);
  border-radius: 8px;
  background: rgba(217, 189, 120, 0.06);
}

.court-page-next:hover,
.court-page-next:focus-visible {
  border-color: rgba(217, 189, 120, 0.46);
  background: rgba(217, 189, 120, 0.11);
}

.court-route-section {
  min-width: 0;
  padding: clamp(20px, 2.5vw, 30px);
  border: 1px solid var(--court-border);
  border-radius: 12px;
  background: rgba(17, 16, 24, 0.72);
  box-shadow: var(--court-shadow);
}

.court-route-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.court-route-card {
  min-width: 0;
  min-height: 164px;
  padding: 20px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: start;
  gap: 15px;
  color: var(--court-text);
  text-decoration: none;
  border: 1px solid var(--court-border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.court-route-card:hover,
.court-route-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--court-border-strong);
  background: rgba(255, 255, 255, 0.045);
}

.court-route-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--court-gold-bright);
  font-family: Georgia, serif;
  font-size: 1.2rem;
  border: 1px solid rgba(217, 189, 120, 0.24);
  border-radius: 11px;
  background: rgba(217, 189, 120, 0.07);
}

.court-route-card small,
.court-route-card strong,
.court-route-card p {
  display: block;
  margin: 0;
}

.court-route-card small {
  color: var(--court-purple);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.court-route-card strong {
  margin-top: 4px;
  color: var(--court-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.05rem;
}

.court-route-card p {
  margin-top: 7px;
  color: var(--court-muted);
  font-size: 0.8rem;
  line-height: 1.52;
}

.court-route-arrow {
  color: var(--court-gold);
  font-size: 1.1rem;
}

.court-account-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.court-account-summary > span {
  min-width: 0;
  padding: 14px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--court-border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.court-account-summary small {
  color: var(--court-muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.court-account-summary strong {
  overflow: hidden;
  color: var(--court-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.08rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.court-character-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.court-account-panel-compact .leveling-profile {
  margin-top: 14px;
}

.court-community-hall {
  width: 100%;
  margin: 0;
}

.court-combat-events {
  margin-top: 16px;
}

.court-overview-heading {
  margin-bottom: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.court-overview-heading h2,
.court-overview-heading p,
.court-attention-card h3,
.court-attention-card p {
  margin: 0;
}

.court-overview-heading h2 {
  margin-top: 4px;
  color: var(--court-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  letter-spacing: 0.015em;
}

.court-overview-heading > div > p:last-child {
  max-width: 720px;
  margin-top: 7px;
  color: var(--court-muted);
  font-size: 0.9rem;
}

.court-dashboard-kicker {
  color: var(--court-gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.court-overview-guide {
  flex: 0 0 auto;
  padding-bottom: 3px;
  color: var(--court-gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.court-overview-guide:hover,
.court-overview-guide:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.court-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.court-stat-card {
  position: relative;
  min-width: 0;
  min-height: 132px;
  padding: 18px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  overflow: hidden;
  color: var(--court-text);
  text-decoration: none;
  border: 1px solid var(--court-border);
  border-radius: 12px;
  background: rgba(17, 16, 24, 0.9);
  box-shadow: var(--court-shadow);
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.court-stat-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--court-card-accent, var(--court-gold));
  opacity: 0.7;
}

.court-stat-card:hover,
.court-stat-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--court-border-strong);
  background: var(--court-surface-raised);
}

.court-stat-level {
  --court-card-accent: #b783ef;
}

.court-stat-xp {
  --court-card-accent: #6dbbd7;
}

.court-stat-gold {
  --court-card-accent: #e0bd68;
}

.court-stat-health {
  --court-card-accent: #df6f82;
}

.court-stat-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--court-card-accent, var(--court-gold));
  font-family: Georgia, serif;
  font-size: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--court-card-accent, var(--court-gold)) 32%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--court-card-accent, var(--court-gold)) 9%, transparent);
}

.court-stat-copy {
  min-width: 0;
  display: grid;
}

.court-stat-copy small {
  color: var(--court-muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.court-stat-copy strong {
  margin: 3px 0 2px;
  overflow: hidden;
  color: var(--court-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.court-stat-copy > span {
  overflow: hidden;
  color: var(--court-muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.court-attention-card {
  position: relative;
  min-height: 118px;
  margin-top: 14px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(157, 103, 223, 0.28);
  border-radius: 12px;
  background: #15111d;
  box-shadow: var(--court-shadow);
}

.court-attention-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--court-purple);
}

.court-attention-card.is-ready {
  border-color: rgba(95, 211, 155, 0.24);
}

.court-attention-card.is-ready::before {
  background: var(--court-success);
}

.court-attention-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--court-gold-bright);
  font-size: 1.1rem;
  border: 1px solid rgba(217, 189, 120, 0.23);
  border-radius: 50%;
  background: rgba(217, 189, 120, 0.07);
}

.court-attention-card > div {
  min-width: 0;
}

.court-attention-card > div > p:first-child {
  color: var(--court-purple);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.court-attention-card.is-ready > div > p:first-child {
  color: var(--court-success);
}

.court-attention-card h3 {
  margin-top: 3px;
  color: var(--court-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.court-attention-card > div > p:last-child {
  max-width: 760px;
  margin-top: 5px;
  color: var(--court-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.court-attention-action {
  min-height: 42px;
  padding: 10px 16px;
  color: #130b18;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid var(--court-gold);
  border-radius: 8px;
  background: var(--court-gold-bright);
  cursor: pointer;
}

.court-attention-action[data-action="navigate"] {
  color: var(--court-text);
  border-color: rgba(157, 103, 223, 0.45);
  background: var(--court-purple-deep);
}

.court-dashboard-page .glass {
  border-color: var(--court-border);
  background: rgba(16, 14, 22, 0.93);
  box-shadow: var(--court-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.court-dashboard-page .court-section {
  margin: 0;
}

.court-dashboard-page .court-section-heading {
  max-width: none;
  margin: 0 0 10px;
  padding: 2px 2px 8px;
  text-align: left;
}

.court-dashboard-page .court-section-heading .eyebrow {
  justify-content: flex-start;
}

.court-dashboard-page .court-section-heading h2,
.court-dashboard-page .stream-feed-header h2,
.court-dashboard-page .card h2,
.court-dashboard-page .hall-copy h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.court-dashboard-page .goals-panel,
.court-dashboard-page .leveling-panel,
.court-dashboard-page .streamers-panel,
.court-dashboard-page .stream-feed {
  width: 100%;
  margin: 14px 0 0;
  border-radius: 12px;
}

.court-dashboard-page .leveling-panel,
.court-dashboard-page .goals-panel,
.court-dashboard-page .streamers-panel {
  padding: clamp(16px, 2.2vw, 26px);
}

.court-dashboard-page .goal-card,
.court-dashboard-page .leveling-progress-card,
.court-dashboard-page .leveling-health-card,
.court-dashboard-page .leveling-encounter-card,
.court-dashboard-page .leveling-gear-card,
.court-dashboard-page .leveling-character-card,
.court-dashboard-page .leveling-skills-card,
.court-dashboard-page .leveling-shop-card,
.court-dashboard-page .leveling-buffs-card,
.court-dashboard-page .recent-events-card {
  border-color: var(--court-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.022);
}

.court-dashboard-page .stream-feed {
  padding: clamp(16px, 2vw, 24px);
}

.court-dashboard-page .stream-frame-wrap {
  min-width: 0;
  min-height: 0;
  border-radius: 8px;
}

.court-dashboard-page .spotlight {
  width: 100%;
  margin: 0;
  gap: 14px;
}

.court-dashboard-page .spotlight .card {
  min-height: 176px;
  border-radius: 12px;
}

.court-dashboard-page .hall-of-renown {
  width: 100%;
  margin: 8px 0 0;
  gap: clamp(24px, 4vw, 52px);
}

.court-dashboard-page .hall-of-renown::before,
.court-dashboard-page .card::after {
  display: none;
}

.court-dashboard-page .hall-rankings {
  border-radius: 12px;
}

.court-dashboard-page .goal-button,
.court-dashboard-page .cta-button {
  border-radius: 8px;
}

.court-dashboard-page .site-footer {
  width: calc(100% - clamp(40px, 6vw, 84px));
  max-width: 1396px;
  margin: 12px auto 0;
  padding: 24px 0 34px;
  text-align: left;
}

.court-dashboard-page .site-footer p {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.court-dashboard-page .site-footer small {
  color: #817b86;
  font-size: 0.72rem;
}

.court-dashboard-page.modal-open .court-dashboard-header {
  pointer-events: none;
}

@media (max-width: 1240px) {
  .court-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .court-stat-card {
    min-height: 116px;
  }
}

@media (max-width: 1080px) {
  body.court-dashboard-page::before,
  .court-dashboard-page .mist,
  .court-dashboard-page .stars {
    left: 0;
  }

  .court-sidebar {
    width: min(294px, calc(100vw - 44px));
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .court-dashboard-page.court-nav-open {
    overflow: hidden;
  }

  .court-dashboard-page.court-nav-open .court-sidebar {
    transform: translateX(0);
  }

  .court-dashboard-main {
    margin-left: 0;
  }

  .court-mobile-menu {
    display: grid;
  }
}

@media (max-width: 820px) {
  .court-dashboard-header {
    min-height: 70px;
    padding-inline: 14px;
  }

  .court-header-resource {
    display: none;
  }

  .court-header-live {
    max-width: 38vw;
  }

  .court-dashboard-page #mainContent {
    padding: 20px 14px 28px;
    gap: 18px;
  }

  .court-overview-heading {
    align-items: start;
  }

  .court-page-intro {
    align-items: start;
  }

  .court-route-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .court-attention-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .court-attention-mark {
    width: 42px;
    height: 42px;
  }

  .court-attention-action {
    grid-column: 2;
    justify-self: start;
  }

  .court-dashboard-page .hall-of-renown {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .court-dashboard-heading p {
    display: none;
  }

  .court-header-live {
    max-width: none;
    width: 38px;
    padding-inline: 14px;
  }

  .court-header-live > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .court-header-auth {
    padding-inline: 11px;
  }

  .court-overview-heading {
    display: grid;
  }

  .court-page-intro {
    display: grid;
  }

  .court-page-next {
    justify-self: start;
  }

  .court-character-metrics,
  .court-account-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .court-overview-guide {
    justify-self: start;
  }

  .court-stat-grid {
    gap: 10px;
  }

  .court-stat-card {
    min-height: 108px;
    padding: 14px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .court-stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .court-stat-copy strong {
    font-size: 1.35rem;
  }

  .court-stat-copy > span {
    white-space: normal;
  }

  .court-dashboard-page .goal-grid,
  .court-dashboard-page .spotlight {
    grid-template-columns: minmax(0, 1fr);
  }

  .court-dashboard-page .streamers-panel-header,
  .court-dashboard-page .streamer-watch-meta {
    display: grid;
  }
}

@media (max-width: 460px) {
  .court-dashboard-header {
    gap: 9px;
  }

  .court-dashboard-heading h1 {
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .court-header-actions {
    gap: 6px;
  }

  .court-header-live {
    display: none;
  }

  .court-stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .court-stat-card {
    min-height: 96px;
  }

  .court-route-card {
    min-height: 0;
    padding: 16px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .court-route-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }

  .court-route-arrow {
    display: none;
  }

  .court-attention-card {
    padding: 18px;
    grid-template-columns: minmax(0, 1fr);
  }

  .court-attention-mark {
    display: none;
  }

  .court-attention-action {
    grid-column: 1;
  }

  .court-dashboard-page .site-footer {
    width: calc(100% - 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .court-sidebar,
  .court-stat-card,
  .court-nav-link {
    transition: none;
  }
}
